Image overlap while performing image transformation
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have two images as defined below.
![Screen Shot 2018-11-13 at 6.36.42 PM.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/194861/Screen%20Shot%202018-11-13%20at%206.36.42%20PM.png)
I took 6 distinct points from each image and from pseudo inverse, I created a transformation matrix T as
T = [X(1) X(4) 0;
X(2) X(5) 0;
X(3) X(6) 1
];
Now, I want to apply this transformation on image and overlap it on original image. I am reading imwarp. I cam apply transformation but I am not sure how can I overlap it on the original image where it originally belongs. I have also tried
tform = maketform('affine',[X(1) X(4) 0; X(2) X(5) 0; X(3) X(6) 1]);
imageRegistered = imtransform(handles.mainImageSec ,tform, 'XData',[1 W], 'YData', [1 H]);
But results are extremely weird.
What I want is something like this
![Screen Shot 2018-11-13 at 6.40.16 PM.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/194862/Screen%20Shot%202018-11-13%20at%206.40.16%20PM.png)
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Geometric Transformation and Image Registration en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!