Irregular region of interest - ROI
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
Thank you, maybe jit.mxform2d it's my friend, but I have to study, never used.