Jump to content

How to straighten an image?


Recommended Posts

I tried both Distort This! and Quadrilateral Correction without much success.

 

Here's a method that works pretty well, but the values I used were obtained more or less by trial and error.

 

Run my Perspective Transformation plugin on the linked-to image with the following settings:

Upper Left:       -0.801, -1.057

Upper Right:     1.2689, -1.103

Lower Right:     0.798, 1.009

Lower Left:       -0.751, 0.857

Scale:                 1.400       

XY Proportion:  0.010

X Offset:             0.000

Y Offset:             -0.055

Antialias:            Checked

 

I got the values by drawing a square Shape on a transparent higher layer. I then selected the the original image layer, and moved the Perspective Transformation nodes so that the corners of the record jacket were on the corners of the square. Then I adjusted the XY Proportion to make the record circular instead of elliptical.

 

Another method that works okay is to make a duplicate of the image layer, and zoom in with Layers>Rotate/Zoom so that the record jacket is bigger than the original record. Run Quadrilateral Correction on the enlarged record jacket to make it square. Then switch to the original image and rerun Quadrilateral Correction, adjusting the Height and Width to produce a circular record. Enlarging the jacket in necessary because Quadrilateral Correction crops to the quadrilateral, so the quadrilateral must be large enough to contain to record.

Link to comment
Share on other sites

  • toe_head2001 changed the title to How to straighten an image?

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.

×
×
  • Create New...