Forum: Q & A

Thread: Using PTeditor to remove a tripod/pano head?

Search the forums:
Author  Message 
William Allard

Posts: 8
Location: Dorset, United Kingdom
Registered: 9 Jun 2008
Using PTeditor to remove a tripod/pano head?
Posted: 1 Oct 2008 at 18:16 GMT
reply
Hello everybody. I would like to use the PTeditor method to remove my tripod/pano head on a 6000 x 3000 pano. However, reading Martin Shakeshaft flash tutorial: www.docphot.org/pteditor.htm.

I do not understand how you create a batch file and command to assign more memory to make the insert view work? How do you create the file pted.bat and the command, java -jar -Xmx450m pteditor.jar?

Any thoughts appreciated!

William
alert moderator
John Houghton

Posts: 2317
Location: Hitchin, United Kingdom
Registered: 17 Jan 2005
Re: Using PTeditor to remove a tripod/pano head?
Posted: 1 Oct 2008 at 18:28 GMT
reply
To create the batch file, launch a text editor such as MS Notepad or WordPad (Start->Programs->Accessories). Type in the command: java -jar -X...... Then use File->Save As and browse to the folder you want to save the file in and enter its name as pted.bat. Job done.

John
alert moderator
mhc1

Posts: 193
Location: Hamburg, Germany
Registered: 29 Dec 2005
Re: Using PTeditor to remove a tripod/pano head?
Posted: 1 Oct 2008 at 21:52 GMT
reply
Yes ,
and save the BAT file where the pteditor.jar is locted so it finds the pteditor.
I am working with this workflow.
If your TIF get really big - 400MB or more - you have to look how to handle this. Sometime I get an error when IMPORTING (when all the work is already done !!) "Error allocating xxx MB of RAM".

As far as I´ve read, there are effort to increase JAVA RAM by SUN. But have no idea if this would help- special under XP.


ciao
mike
www.360de.de
alert moderator
halflife

Posts: 145
Location: Romania
Registered: 3 May 2006
Re: Using PTeditor to remove a tripod/pano head?
Posted: 2 Oct 2008 at 4:16 GMT
reply

mhc1 said:

Yes ,
and save the BAT file where the pteditor.jar is locted so it finds the pteditor.


and make a shortcut of it on the desktop for easier access. Also you can put 400Mb or more IF you have...
alert moderator
William Allard

Posts: 8
Location: Dorset, United Kingdom
Registered: 9 Jun 2008
Re: Using PTeditor to remove a tripod/pano head?
Posted: 2 Oct 2008 at 9:42 GMT
reply
Thank you John, job done!
alert moderator
William Allard

Posts: 8
Location: Dorset, United Kingdom
Registered: 9 Jun 2008
Re: Using PTeditor to remove a tripod/pano head?
Posted: 2 Oct 2008 at 9:43 GMT
reply
Thank you halflife, job done
alert moderator
William Allard

Posts: 8
Location: Dorset, United Kingdom
Registered: 9 Jun 2008
Re: Using PTeditor to remove a tripod/pano head?
Posted: 2 Oct 2008 at 9:44 GMT
reply
Thank you mike, job done!
alert moderator
Tim Eastman

Posts: 70
Location:
Registered: 15 Nov 2006
Re: Using PTeditor to remove a tripod/pano head?
Posted: 3 Oct 2008 at 2:10 GMT
reply
In my effort to thoroughly confuse myself I want to try PTeditor and compare it to Rune Spaans' converter. I created the pted.bat file per directions ( java -jar -Xmx450m pteditor.jar ) and placed it in the Panorama tools file where the PTEditr.jar is located. Pteditor opens, but when I try opening one of my equirectangular images nothing happens. Any tips?
alert moderator
John Houghton

Posts: 2317
Location: Hitchin, United Kingdom
Registered: 17 Jan 2005
Re: Using PTeditor to remove a tripod/pano head?
Posted: 3 Oct 2008 at 6:14 GMT
reply
Have you tried opening a small equirectangular file? Even loading PTEditor directly, you should be able to process a 4000x2000 file. With the .bat file, the maximum practical size is around 8000x4000. Is your Java installation up-to-date? Mine (from Sun) is Version 6 Update 7 (from Java on the windows control panel). I'm using the Jim Watters' Pano Tools installation, but I tried with the original V2.6b1 and that works fine too. Other than reinstalling relevant packages, I can't think of anything else to try.

John
alert moderator
Tim Eastman

Posts: 70
Location:
Registered: 15 Nov 2006
Re: Using PTeditor to remove a tripod/pano head?
Posted: 3 Oct 2008 at 21:45 GMT
reply
I finally figured out that the .bat file is the one to open and not the jar file. I guess the .bat file is the jar file tweaked to accept large equis.

Thanks.
alert moderator
Ken Warner

Posts: 369
Location: Mammoth Lakes, United States
Registered: 14 Aug 2004
Re: Using PTeditor to remove a tripod/pano head?
Posted: 4 Oct 2008 at 1:12 GMT
reply

Tim Eastman said:

I finally figured out that the .bat file is the one to open and not the jar file. I guess the .bat file is the jar file tweaked to accept large equis.

Thanks.


The .bat file is just a script that executes the command line:
java -jar -Xmx450m pteditor.jar

Which is just a Windows command to run a Java application
that is contained in pteditor.jar

If you open a command window (dos window) and type "java"
you will see a list of options that can be put on the command
line. Look for the one that says "-classpath" If you use that option and put the full path to the pteditor.jar, you can execute the .bat file from anywhere.

Also, a more correct command line would be:
java -Xmx450m -jar pteditor.jar

With the classpath option:
java -cp <the path to pteditor.jar> -Xmx450m -jar pteditor.jar

I think those are correct. You can use another number like 512 or 384 -- it doesn't have to be 450.
alert moderator