Image registration with imwarp without scaling?

조회 수: 7 (최근 30일)
THAI CAM LINH HOANG
THAI CAM LINH HOANG 2021년 6월 21일
답변: millercommamatt 2021년 6월 24일
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?

답변 (1개)

millercommamatt
millercommamatt 2021년 6월 24일
Try using imregtform with transformType set to rigid.

카테고리

Help CenterFile Exchange에서 Geometric Transformation and Image Registration에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by