Page 1 of 1

DrawGdPictureImageSkewing Method

Posted: Fri Mar 27, 2020 8:27 pm
by KurtInCali
Hello!

What does this do?
How do the destination points correspond to points in the source image?

I'm trying to correct some microfilm images with a perspective problem caused by a combination of skewed paper and a camera that was not centered and perpendicular to the paper it filmed (see below illustration).
gdPicturePictureImageSkewing.png
I'm guessing the DrawGdPictureImageSkewing Method essentially does the exact opposite of what I need, but I'm (over optimistically?) hoping I can coopt it.

Thanks in advance,

Kurt

Re: DrawGdPictureImageSkewing Method

Posted: Tue Mar 31, 2020 3:48 pm
by Hugo
Hi Kurt,

If you mean you need to deskew and remove black borders from your image you can do so in our software. please use these methods:
https://www.gdpicture.com/guides/gdpicture/Gd ... eskew.html
https://www.gdpicture.com/guides/gdpicture/Gd ... rders.html

Let me know if this solves your issue.

Regards

Re: DrawGdPictureImageSkewing Method

Posted: Tue Apr 07, 2020 2:55 am
by KurtInCali
Thank you,

Yes, the auto deskew works really well. My problem is some (thousands of) documents that were filmed off angle and skewed causing irregular trapezoids instead of rectangles. Basically needing a 3D transform. I wouldn't expect a ready made solution to be readily available. But, I'm an optimist :)

Kurt