Rotating RAW

411 views
Skip to first unread message

bergw

unread,
May 9, 2016, 2:09:56 PM5/9/16
to PTGui Support
Hello, 
I am looking for a way to rotate one image of a serie 90 -90 degr. 
This is caused by the camera on a repro stand exact horizontal to stitch series of images, where the camera is trying to level the image to landscape or portrait.
(Camera auto rotate is switched off)

When I use the PTUI rotate option under the "Crop" or "Mask" tab PTGUI gets completely confused. 

Dcraw has the commandline option to rotate   -t [0-7]  Flip image (0=none, 3=180, 5=90CCW, 6=90CW) 
But I found no way to access this.

Please advice

bergw

Erik Krause

unread,
May 9, 2016, 3:08:10 PM5/9/16
to pt...@googlegroups.com
Am 09.05.2016 um 20:09 schrieb bergw:
> I am looking for a way to rotate one image of a serie 90 -90 degr.
> This is caused by the camera on a repro stand exact horizontal to stitch
> series of images, where the camera is trying to level the image to
> landscape or portrait.

Use a decent raw converter and rotate there. Id you Use raw directly in
PTGui you loose almost all benefits of shooting raw, including chromatic
aberration correction, highlight recovery etc. You might even get better
results using camera jpg.

> (Camera auto rotate is switched off)

Some cameras have two auto rotates: One for display and one for EXIF.
You should disable both. What is your camera?

--
Erik Krause
http://www.erik-krause.de

John Houghton

unread,
May 9, 2016, 4:28:15 PM5/9/16
to PTGui Support

On Monday, May 9, 2016 at 7:09:56 PM UTC+1, bergw wrote:
When I use the PTUI rotate option under the "Crop" or "Mask" tab PTGUI gets completely confused.

Rotating the images in the Crop, Mask and Control Points tabs using the rotate buttons does not affect the output panorama in any way.  That rotate feature is provided purely for your viewing convenience.  It's nice to be able to turn the images right way up; and comparing images in the two windows is much easier when one or other image is rotated to give a more similar appearance.  It will not confuse PTGui at all, but it might confuse you!  Note also that the orientations of the images as they appear on the Project Assistant tab simply reflect the current orientation of each image in the output panorama.  The image thumbnails on the Source Images tab show their orientation as opened by PTGui, and these never change during the processing.  The horizontal fov parameter refers to the horizontal angle of view in the orientation of the images as presented there and is usually the same for each image, in which case global lens parameters will be used.  However, PTGui can, when necessary, cope with mixed orientations by the use of individual lens parameters on the Lens Settings tab, though this is best avoided whenever possible to keep the processing simple.

I hope that helps.

John   

bergw

unread,
May 10, 2016, 1:35:37 PM5/10/16
to PTGui Support
@Erik, 
Using PTGUI as a Raw convertor is a workflow decision based upon speed of processing and the type of work.
It would be to much detail to explain here why I cannot use Capture One with my Nikon D810. 
Thanks for the rotation tip. 

@John, 
Agree, avoiding is the best. But the rotation is an issue caused by the remote camera control software which is based on the level setting.
With the camera at exact horizontal level this tends to switch between landscape and portrait instantly per shot. 
The mixed rotation setting as mentioned Works.  Thanks


Willem



Op maandag 9 mei 2016 20:09:56 UTC+2 schreef bergw:

Keith

unread,
May 13, 2016, 5:55:16 PM5/13/16
to PTGui Support
I had this same problem in the past (now I convert raw to tiff to set white balance, etc before stitching). What I was finding is my raw images all had the same orientation except for the ones where I was pointing upwards or downwards for the zenith and nadir.

To stitch the raw images with PTGui they all have to be in the same orientation. I was able to rotate the individual raw images first in my camera's native raw editor (Viewer 3 for Olympus in my case). All I did was rotate the thumbnail in Viewer, no need to save or anything. Somehow this was enough to correct the orientation before loading into PTGui. Trying the same with any other raw setting had no effect. For example, if I corrected the white balance in the raw images, without exporting, the changes to raw are written to a sidecar file, which PTGui does not read. I'm guessing orientation is somehow written back to the raw file which PTGui can read?

Hope that helps?

Reply all
Reply to author
Forward
0 new messages