How to combine different fitgeotrans methods

3 views (last 30 days)
Hi everyone!
I would like to combine two or three different Fit geometric transformation methods. Currently I only use fitgeotrans with the affine transformation type selected. The alignment of my two images is not good enough, since this are the images of two different(but quite similar) objects. I would like to transform the shape of one image to as close as possible to the other. I was thinking of adding another transformation (does anyone have any other suggestions ?).
I was thinking of adding another fitgeotrans with different transformation type selected. I would like to see where my moving points were moved after imwarp, since I would like to avoid selecting the points with cpselect on transformed image.
If there is another simpler solution I would be happy if you share it with me.
[selectedMovingPoints,selectedFixedPoints]=cpselect(Test3,Test1,koordinate2,koordinate,'Wait',true)
tform = fitgeotrans(selectedMovingPoints,selectedFixedPoints,'affine'); %probaj več različnih
Test3registered = imwarp(Test3,tform,'OutputView',imref2d(size(Test1)));
imshowpair(Test1,Test3registered)

Answers (0)

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!