I want to take a sub-image from a bigger image, but I have the 4 corners of the image and I want to get the resulting image, independently of the orientation it may have.
Is there a Matlab function to make this? I can't seem to find one.
There is a similar question for opencv
and python
, check for more clarity-> How to straighten a rotated rectangle area of an image using opencv in python?