FAST cornerPointsを使ってのレジストレーションの方法を教えてください
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形式ではないので上手くできませんでした。cornerPointsを使ってのレジストレーションのやり方、もしくはsingle, double形式に変更し方を教えてください
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Read, Write, and Modify Image 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!