how to apply imregister and imwarp on resized image
4 次查看(过去 30 天)
显示 更早的评论
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!
0 个评论
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!