FAST レジストレーションのやり方
Afficher commentaires plus anciens
試したコード
% code
%%対応点の自動選択(FAST)
im1_16bit = imread('im1.tif');
im1_corners = detectFASTFeatures(im1_16bit);
im1_corners=(im1_corners.selectStrongest(2000));
im2_16bit = imread('im2.tif');
im2_corners= detectFASTFeatures(im2_16bit);
im2_corners=(im2_corners.selectStrongest(2000));
%レジスト
movingPoints=im2_corners
fixedPoints=im1_corners
mytform = fitgeotrans(movingPoints, fixedPoints, 'affine');
im2_registered = imwarp(im2_16bit, mytform);
end
このような処理をしたいのですが,movingPointsがsingle, double形式ではないので上手くできませんでした。今まではコントロールポイントで手動でmovingPointsとfixedPointsを選択していましたが、それの代わりに自動抽出されたcornerPointsを当てはめてレジストレーションをしたいです。
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Image Processing Toolbox dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



