how to apply imregister and imwarp on resized image

9 ビュー (過去 30 日間)
khcy82dyc
khcy82dyc 2017 年 4 月 3 日
回答済み: Image Analyst 2017 年 4 月 3 日
I have two very large image 6000*4000 pixels and I've resized them by 10 times to speed things up and managed to get a really nice alignment with the following
newimage = imwarp(oldimage,Rmoving,tform,'OutputView',Rfixed, 'SmoothEdges', false);
oldimage is 600*400, tform was the output from imregtform.
However when I try to apply the same geometric transformation on the original image with the following lines
newimage2 =imwarp(oldimage2,tform,'OutputView',Rfixed2);
oldimage2 is 6000*4000, I got Rfixed2 from
imref2d(size(largeimage));
The alignment is not correct.
Please let me know what's the correct way to apply this on the resized image as it takes forever to implement image registration on large images. Thanks a lot!

回答 (1 件)

Image Analyst
Image Analyst 2017 年 4 月 3 日
Try multiplying tform by 10.

カテゴリ

Help Center および File ExchangeGeometric Transformation and Image Registration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by