DMD ROI Image Registration Correct Procedure

25 views (last 30 days)
Samuel
Samuel on 7 Dec 2025 at 20:50
Edited: Samuel on 15 Dec 2025 at 17:14
I fixed the problem. I was kind of sheepish about the question and don't want to leave it posted.

Answers (1)

Anumeha
Anumeha on 15 Dec 2025 at 9:58
Hi Samuel,
I understand that imresize is not a good option for you while working with multiple sized images and transformation matrices. In most image processing problems, imresize is not used due to resolution differences and other issues. The solution to your problem is to use tranformation on ROI coordinates, and not on the mask. Check out this documentation page:
using "tform" within this function "transfromPointForward" would help transform your ROI points and it wouldn’t depend on the size of the image, so you can remove the imresize lines.
Hope this helps!

Community Treasure Hunt

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

Start Hunting!