Irregular region of interest - ROI

Rajan Craveri - micron's icon

Hi all,
can someone help me to understand how transform an irregular area of an image into a standard rectangular matrix?
The follow picture shows the problem.
Thank you
micron

4521.roi.jpg
jpg
esnho's icon

I really don't know but it's a sort of homography what are you tryng to do.

try h.jit.homography

this is the discussion where I've found this.
https://cycling74.com/forums/topic.php?id=18017

Rajan Craveri - micron's icon

Thank you, maybe jit.mxform2d it's my friend, but I have to study, never used.