find the tform of the image first and then translate it
Raj cRaze (2021). Translation on images (https://www.mathworks.com/matlabcentral/fileexchange/39831-translation-on-images), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
This is an example of how to use imtransform to translate the onion.png image in x and y. It may serve as a useful example to others, but it has no comments. It is not a general-purpose function that does anything useful and appears to be a homework assignment.