Hi. I searched everywhere but cannot find an EASY way to make perspective correction on a photo.
I would like to:
1) visualize the original snapshot of a building (distorted because taken from ground level)
2) pinpoint the 4 corner points of the facade (assuming it is rectangular in reality)
3) transform the facade quadrilateral to a rectangle. I only need the facade, I can crop whatever is outside the quadrilateral.
As the snapshot is taken from afar only little correction is necessary. Final image quality is not a big issue. Lenses distortion are not so visible and a little "curved" border wall is also acceptable (no need to work on this).
Could you tell me what to use (possibly a library)?
I tried JHLabs' PerspectiveFilter but it works reversed to what I need: it takes the original snapshot and converts it to the quadrilateral defined by the 4 points...
Thank you for any help
Alex
1