Image registration with imwarp without scaling?

6 visualizaciones (últimos 30 días)
THAI CAM LINH HOANG
THAI CAM LINH HOANG el 21 de Jun. de 2021
Respondida: millercommamatt el 24 de Jun. de 2021
I want to align two images of different slices of a tissue. I want only rotation and translation, but the simplest option in control point registration workflow includes rescaling of the image. Right now I have
% estimate transformation
tform = fitgeotrans(movePts,fixedPts,'nonreflectivesimilarity');
% get original image size
Roriginal = imref2d(size(moving));
% perform transformation, reshape to original image size
movetform = imwarp(moving,tform,'OutputView',Roriginal);
and it rescales the moving image like below (left is fixed image, center is original moving image, right is the warped moving image):
I want the moving image NOT to be scaled. Is there any way to register the images without scaling?

Respuestas (1)

millercommamatt
millercommamatt el 24 de Jun. de 2021
Try using imregtform with transformType set to rigid.

Categorías

Más información sobre Geometric Transformation and Image Registration en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by