FAST corne​rPointsを使っ​てのレジストレーショ​ンの方法を教えてくだ​さい

試したコード
% 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形式に変更し方を教えてください

 Accepted Answer

Tohru Kikawada
Tohru Kikawada on 13 Jan 2017

2 votes

こちら をご参考ください。

More Answers (0)

Categories

Find more on Read, Write, and Modify Image in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!