Sure,
I have tried a few different ways. But basically they involve creating
a script for PTStitcher. Something like:
#Start of file (say its called "script.txt")
p v100 w2000 h1500 f0 nTIFF
i n"Image1.jpg"
i n"Image2.jpg"
o f0 r2 p-3 y180 v80 d0 e0
o f0 r2 p-3.5 y181 v80 d500 e2000
#End of file.
I generated this file with Matlab because that is where I deal with
the aircraft data. But I guess you could do the same in any language,
or even excel. You could then just drag the file onto the PTStitcher
icon, then it will ask you for a file name to save it under. But for
reasons I will explain this was no good to me. So instead you can use
the command line: i.e.
PTStitcher -o "OUTPUT_PANO_FILE_NAME" "script.txt"
To get this command to run (on a windows machine you can:
1) Click start>run and type it in there
2) Create a batch file. i.e. open notepad, type in the line and then
save it as a ".bat" file. (i.e. in notepad, save-as>save-as type =
allfiles>give it a name ending in ".bat". Then to run the file ,
double click it.
3)run the command in Matlab. to do this put a ! in front of the line.
i.e. !PTStitcher -o "OUTPUT_PANO_FILE_NAME" "script.txt"
Note that with some of these methods you have to be careful where you
put your scripts/image etc, so that they can be found...
The last two methods are nice as the allow you to run many instances
of PTSticher sequentially. This is especially good for me as I had to
do the pitch and yaw correction on the image, run PTStitcher. Do the
scale and roll correction, run PTStitcher, THEN run the final
PTStitcher on those images. I have several thousand images I need to
do this for, and using Matlab and looping the ! command I can leave it
doing it's own thing (currently taking +4days!!!)
Hope this helps...
------------------------------------
--
<*> Wiki: http://wiki.panotools.org
<*> User Guidelines: http://wiki.panotools.org/User_Guidelines
<*> Nabble (Web) http://www.nabble.com/PanoToolsNG-f15658.html
<*> NG Member Map http://www.panomaps.com/ng
<*> Moderators/List Admins: #removed#
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/PanoToolsNG/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/PanoToolsNG/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:#removed#
mailto:#removed#
<*> To unsubscribe from this group, send an email to:
#removed#
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Next message:
Previous message: