Rotating A Picture In Three Dimensions

Moderator: jsachs

Post Reply
Darius
Posts: 20
Joined: January 28th, 2010, 6:55 am

Rotating A Picture In Three Dimensions

Post by Darius »

cart-1-1.jpg
cart-1-1.jpg (19.54 KiB) Viewed 4835 times
Is it possible (within Picture Window Pro 5.0, or do I need to use something, like Photoshop) to rotate this photo in three dimensions, such that, it would look as if the camera were directly over top of the subject. If it's possible, can someone please tell me how to use this software to do it, or if this has already been covered, can I please be directed to the relevant posts, on this board, that would accommodate this chore. If PWP isn't suited to this task, are there any recommendations, on what I could use to get the task done?

Thanks for Assistance!

Darius
tomczak
Posts: 1431
Joined: April 25th, 2009, 12:56 am
What is the make/model of your primary camera?: Fuji X-E2
Contact:

Re: Rotating A Picture In Three Dimensions

Post by tomczak »

Darius,

Use Warp transformation to do that (Transformations/Geometry/Warp...). With the mouse, drag the four corners of the gridded rectangle so that they align with the corners of your object in the picture. making the sides of the gridded rectangle parallel to the sides of your object in the picture. Watch in the preview what the transformation will produce. Adjust Proportions and Scale Factor sliders, if necessary, to minimize distortions. Hit OK.
Attachments
Untitled.jpg
Untitled.jpg (26.18 KiB) Viewed 4808 times
Maciej Tomczak
Phototramp.com
couman
Posts: 82
Joined: April 25th, 2009, 8:44 am

Re: Rotating A Picture In Three Dimensions

Post by couman »

As with many adjustments, there are several equivalent “ways to skin the cat”.
1. Open the image
2. Create a new canvas. (File/new)
3. Composite the portion of the original onto the blank canvas using the “perspective warp” option. [adjust the corners of the object by moving the control points]
Bob Coutant
Darius
Posts: 20
Joined: January 28th, 2010, 6:55 am

Re: Rotating A Picture In Three Dimensions

Post by Darius »

Thanks so much guys, for the reply. I have yet to try the technique of the second poster, but the first technique seems to work very well.
While I'm at it, I tried to apply the first technique to scanned papers, meant for a fax, which were rotated (not always easy to set the pages on the scan bed, such that they are perfectly straight). The 'side effect' is that, sometimes, when the rotating is done, there may be a black corner left, and how do I get rid of it, or avoid it altogether.

Again, Thanks!
jsachs
Posts: 4455
Joined: January 22nd, 2009, 11:03 pm

Re: Rotating A Picture In Three Dimensions

Post by jsachs »

The black corner can occur if one of the corners of the quadrilateral is placed outside of the input image. You can either shrink the quadrilateral so it fits on the image of clone a little of the result image over the missing corner.
Jonathan Sachs
Digital Light & Color
tomczak
Posts: 1431
Joined: April 25th, 2009, 12:56 am
What is the make/model of your primary camera?: Fuji X-E2
Contact:

Re: Rotating A Picture In Three Dimensions

Post by tomczak »

If curvilinear stretching is necessary, Bob's method of Composite wrapping may be taken up one notch by using 'Multi-point' alignment option: one of four different 2D interpolation methods can be used to stretch the image up to 61 user-selectable control points.

This is an overkill for simple perspective correction (such as misaligned scans).

With scans requiring rotation only, you may want to try the Level tool: the default setting (Crop to trim border) will prevent the black/white corners from occurring.
Maciej Tomczak
Phototramp.com
Charles2
Posts: 227
Joined: November 24th, 2009, 2:00 am
What is the make/model of your primary camera?: Fuji X-Pro 2
Contact:

Re: Rotating A Picture In Three Dimensions

Post by Charles2 »

The sample image shows a fairly flat scene, so it minimizes the problem with 3-D rotation: such rotation brings new things into view, but the camera did not capture pixels for them. Imagine a photo showing the earth from a camera in a fairly low orbit satellite over Chicago, Illinois. Now rotate so the satellite looks down from over New York City - where is the Atlantic Ocean? If software worked, the Dept. of Defense wasted a lot of money on unnecessary satellites, and Digital Light & Color missed the most lucrative sale it could imagine.
Post Reply