DorinDXN
Posts: 2800
Location: Timisoara, Romania
Registered: 14 Nov 2006
|
Rotate an equirectangular without loss
Posted: 29 Jun 2009 at 17:08 GMT updated: 29 Jun 2009 at 17:14 GMT
|
|
Hi all, as you know, the equirectangular format has some interesting particularities, one is , if you cut a selection from left and paste it to the right you've done a lossless rotation with certain degrees of yaw.
My questions are, 1) is any freeware which can do this kind of offset? (not by cut and paste, of course) 2) Does have PT Gui (the latest pro releases) this kind of rotation after yaw without lost?
I can write a simple application to do that but I rather not if there already is.
thanks, Dorin
|
|
alert moderator
|
|
Hans Nyberg
Posts: 2760
Location: Denmark
Registered: 28 Aug 2005
|
Re: Rotate an equirectangular without loss
Posted: 29 Jun 2009 at 17:24 GMT
|
|
Why would you need PTGui Pro for that? It has been there since I started to use it with the first Mac version. I just checked 7.8 which I still have. Just use numerical transform and set the yaw. Or simply use the crosshair to click exactly on the horizontal line in the editor.
Hans
|
|
alert moderator
|
|
DorinDXN
Posts: 2800
Location: Timisoara, Romania
Registered: 14 Nov 2006
|
Re: Rotate an equirectangular without loss
Posted: 29 Jun 2009 at 17:31 GMT updated: 29 Jun 2009 at 17:32 GMT
|
|
Thank you Hans, of course I'm aware of that is a basic feature of PTgui, my question is if afterward, when produces that pano rotated by yaw, it does a losless rotation without using remmaping nor any interpolator? The source image is, of course, an equirectangular, so no stitch is need nor blend, only a simple losless rotation.
sorry that I was not precise in asking,
Thank again, Dorin
|
|
alert moderator
|
|
NYCreate
Posts: 495
Location: North Yorkshire & Northern England, United Kingdom
Registered: 21 Aug 2005
|
Re: Rotate an equirectangular without loss
Posted: 29 Jun 2009 at 17:57 GMT updated: 29 Jun 2009 at 17:59 GMT
|
|
Try offset in PS.
Filter - Other - Offset. Perfect for X-shift
|
|
alert moderator
|
|
DorinDXN
Posts: 2800
Location: Timisoara, Romania
Registered: 14 Nov 2006
|
Re: Rotate an equirectangular without loss
Posted: 29 Jun 2009 at 18:18 GMT updated: 29 Jun 2009 at 18:20 GMT
|
|
Yes, I'm pretty sure that PS should have such, I guess PS Elements too.
Maybe can be speciffied by some switch to nona. The actual shift must take way less than a second, only the time save to tiff should actually be needed.
@Fiero maybe could be saved from DevalVR standalone player when the source is equirectangular?
thanks, Dorin
|
|
alert moderator
|
|
janmartin
Posts: 73
Location: Frankfurt am Main, Germany
Registered: 28 Apr 2009
|
Re: Rotate an equirectangular without loss
Posted: 30 Jun 2009 at 9:28 GMT
|
|
Hi Dorin,
this can easily be done using free imagemagick: www.imagemagick.org
There are various GUI (Graphical User Interfaces) available.
The command line command (tested with Ubuntu Linux) would look like this: convert infile.jpg -roll +260+0 outfile.jpg
This "scrolls" the image by 260 pixels to the left.
Batch processing (All panos in a directory): cd /directory/with/panos
ls *.jpg | xargs -I FILE convert FILE -roll +260+0 /out/FILE
I am sure it works for other file types than jpeg.
Jan
|
|
alert moderator
|
|
DorinDXN
Posts: 2800
Location: Timisoara, Romania
Registered: 14 Nov 2006
|
Re: Rotate an equirectangular without loss
Posted: 30 Jun 2009 at 20:46 GMT
|
|
Thank you Jan 
Dorin
|
|
alert moderator
|
|