DPChallenge: A Digital Photography Contest You are not logged in. (log in or register
 

DPChallenge Forums >> Tips, Tricks, and Q&A >> Remember trigonometry?
Pages:  
Showing posts 1 - 6 of 6, (reverse)
AuthorThread
11/27/2003 10:55:56 PM · #1
I figured out a way to use some lessons from the past. If you have to rotate a photograph, just find a line that should be either horizontal or verticle. Crop the image so that the line goes from one corner to the next and remember the pixel width and height of the crop. Then simple take the arctan of the width/height to get the number of degrees you need to rotate (depending on how you cropped, you may have to subtract your answer from 90, it should be pretty obvious unless you are tilted by ~45 degrees)

Also, if you have Excel, just enter

=DEGREES(ATAN(w/h))

where w and h are the width and height respectively.

Then you can apply the rotation precisely.
11/27/2003 11:40:14 PM · #2
Try this one...
Select the "measure" tool (Rigth-click on the eyedropper, select the ruler), then drag along the line that should be vertical or horizontal. Now immediately select image/rotate canvas/arbitrary and voila, the correct rotation is entered for you.
11/27/2003 11:48:34 PM · #3
LOL. Right after I posted that, I thought to myself, "I bet there is a way to do this automatically in photoshop, given what they charge for it."

I guess there is. Thanks kirbic.

Time to take some lessons, I wonder what else photoshop can do besides border, rotating, cropping, and levels. ;)
11/28/2003 12:23:39 AM · #4
I usually just draw out the cropping rectangle, put one edge next to the element I'm aligning with, and rotate the crop box until that side is parallel to the specified element. I then drag out the crop box to cover the area I want.

One advantage of this method is I can choose to under- or over-correct the rotation if I see another important element will be lost in the crop if rotated "properly."

Message edited by author 2003-11-28 00:23:59.
11/28/2003 05:46:27 AM · #5
In PSP Ctrl+Alt+G puts up a grid, then you just rotate to match the grid. Might take a couple of attempts and undoings, but still quicker than the maths approach.

Ed
11/28/2003 01:11:46 PM · #6
Originally posted by GeneralE:

I usually just draw out the cropping rectangle, put one edge next to the element I'm aligning with, and rotate the crop box until that side is parallel to the specified element. I then drag out the crop box to cover the area I want.

One advantage of this method is I can choose to under- or over-correct the rotation if I see another important element will be lost in the crop if rotated "properly."


Paul, thanks for that! Can you believe I never knew you could rotate the crop box??!! LOL, you learn something new every day.
Pages:  
Current Server Time: 08/29/2025 02:23:24 PM

Please log in or register to post to the forums.


Home - Challenges - Community - League - Photos - Cameras - Lenses - Learn - Help - Terms of Use - Privacy - Top ^
DPChallenge, and website content and design, Copyright © 2001-2025 Challenging Technologies, LLC.
All digital photo copyrights belong to the photographers and may not be used without permission.
Current Server Time: 08/29/2025 02:23:24 PM EDT.