how to apply imregister and imwarp on resized image

4 views (last 30 days)
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!

Answers (1)

Image Analyst
Image Analyst on 3 Apr 2017
Try multiplying tform by 10.

Community Treasure Hunt

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

Start Hunting!