FAST cornerPointsを使ってのレジストレーションの方法を教えてください
Show older comments
試したコード
% 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
More Answers (0)
Categories
Find more on Read, Write, and Modify Image in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!