Copy polygonal subset of an image
For a project, I need to copy a polygonal subset of an image. I have eight points of panoramic image, and I want to copy this subset onto another panoramic image.
I find ways to do this with PIL but only with a box mask. And I need a polygonal subset from the eight points...
I'm new in python and I don't know how to do this... maybe with numpy and Pil?
I apreciate some help...
Thank you very much and best regards!