Jump to content

How to transform image to remove perspective distortion?


Recommended Posts

I often take photographs of screens from conference presentations.  Because it is not possible to take the photos from directly in front of the screen, the image has a perspective distortion. The screen image in the photo is a trapezoid or quadrilateral rather than a rectangle.

 

I was unable to find a transform function in Paint.net, so I searched plugins and found the dpy perspective plugin.  I thought it would do the right thing, but in practice I found it was impossible to find the necessary settings to apply the necessary correction. Every transformation to remove one edge's distortion introduced another distortion of a different edge.

 

I think dpy created the plugin to introduce a perspective effect to an existing flat image, not remove it from an image shot off-axis.

 

IMHO, the ideal approach for my correction task would be to draw a quadrilateral with the vertices corresponding to four corners of the distorted image. The algorithm would apply the necessary transformation to the image to make the quadrilateral into a rectangle with 90 degree corners.

 

Is anyone aware of any plugin or approach to accomplish this?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...