Skip to main content
Participant
April 6, 2024
Question

How do you straighten angled lines?

  • April 6, 2024
  • 2 replies
  • 1818 views

How do you straighten lines without changing their angle? I only know how to use perspective warp, but that makes all the lines either vertical or horizontal. I'm doing architectural photography and some lines need to be at an angle. 

Thanks! 

This topic has been closed for replies.

2 replies

Trevor.Dennis
Community Expert
Community Expert
April 6, 2024

Reading your post again, I am thinking you are talking about straightening curved, or bent lines.  Is that closer to what you are after?  If this is a building, then Camera RAW > Geommetry is your forst step.  Actually it is your second step, because Optics > Lens Profile is the first.

 

They have moved Geommetry to the Crop tool now, and it is not as I remember it from when I used to work as a photographer.  For iinstance there used to be a Barrel distortion correction, which I am not seeing.  Is this closer to what you need?

Participant
April 7, 2024

I would like to straighten curved lines that are at an angle while preserving their angle. I don't want to make them vertical or horizontal. How would I achieve this? 

for example if there are 2 converging lines, but both are slightly bent, how do I straighten them while making sure they still converge at the same angle? 

Participant
April 7, 2024
quote

for example if there are 2 converging lines, but both are slightly bent, how do I straighten them while making sure they still converge at the same angle? 

By @deng33380809f27o

 

Without being able to see a sample image, I'm guessing that you are really dealing with lens distortion bending lines that should be rectilinear. If that’s what’s going on, your first stop is the Distortion option in either the Optics panel of Adobe Camera Raw (which is what is shown in the demo below), or Filter > Lens Correction in Photoshop. In both of those, lens distortion can either be corrected automatically by a lens profile (if available) in the Profile tab, or you can do it yourself in the Manual tab.

 

 

If you are working with an extreme wide-angle lens, then these Distortion options won’t provide enough compensation. In that case you will want to use the Adaptive Wide Angle filter, on the Filter menu in Photoshop.


In my image, the pole is a little bent. How would I make it straight? 

Trevor.Dennis
Community Expert
Community Expert
April 6, 2024

Can you show us an example image and describe exactly what you want to acheive?
Do you know about using the ruler and straighten layer?

Do you want to rotate an entire layer, or an element on that layer?

Or do you want to skew an element?

 

Bottom line is we need a lot more information, and screen shots, but I am sure we can help with that information.

Do you know about the Geometry tools in the Camera RAW filter?