LEGO® MINDSTORMS® and Technic®MINDSTORMS® EV3/NXTMINDSTORMS SensorsLEGO® technical dataLDrawMiscellaneous LEGO®VEX;LEGO® & PhotographyPanoramic PhotographyPhoto GalleryHome

 

 

     

    Changing directory

    Since PTgui forwards images to PTstitcher using absolute paths (and uses absolute paths when it saves script files), it is mandatory to use the same directory structure as mine.

    If for some reason you can't, then you will have to modify the PTgui script file (name.pts). To do that, open it with Notepad - it's a simple text file - and modify the path of all images to reflect the directory you choose (see example below).

    Avoid using a directory path containing spaces (for example, don't use a subdirectory of My Documents) since it can cause problems with some versions of PTgui.

     

    December 2001 update:
    PTGui now includes a mechanism to change directories if it does't find images where script file specifies them. All problems with spaces in path are cured too.

     

    My sample (in C:\templates\fishmode1-2 directory)

    # ptGui project file
     
     
     
    #-fileversion 1
     
    # Panorama settings:
     
    p w1000 h500 f2 v360 n"JPEG"
     
     
     
    # input images:
     
    #-imgfile 448 448 "C:\templates\fishmode1-2\1.jpg"
     
    o f2 y0 r0 p0 u20 d0.000000 e0.000000 v190.771 a0.000000 b-0.077349 c0.000000 -buf
     
    #-imgfile 448 448 "C:\templates\fishmode1-2\2.jpg"
     
    o f2 y180 r0 p0 u20 d0.000000 e0.000000 v190.771 a0.000000 b-0.077349 c0.000000 +buf
     
     
     
    # Control points:
     
    #-cpinactive
     
    #-imginactive
     
     
     
    # optimizer:
     
    v y1 r1 p1
     
     

    Modified to use D:\test directory :

    # ptGui project file
     
     
     
    #-fileversion 1
     
    # Panorama settings:
     
    p w1000 h500 f2 v360 n"JPEG"
     
     
     
    # input images:
     
    #-imgfile 448 448 "D:\test\1.jpg"
     
    o f2 y0 r0 p0 u20 d0.000000 e0.000000 v190.771 a0.000000 b-0.077349 c0.000000 -buf
     
    #-imgfile 448 448 "D:\test\2.jpg"
     
    o f2 y180 r0 p0 u20 d0.000000 e0.000000 v190.771 a0.000000 b-0.077349 c0.000000 +buf
     
     
     
    # Control points:
     
    #-cpinactive
     
    #-imginactive
     
     
     
    # optimizer:
     
    v y1 r1 p1
   

LEGO® MINDSTORMS® and Technic®MINDSTORMS® EV3/NXTMINDSTORMS SensorsLEGO® technical dataLDrawMiscellaneous LEGO®VEX;LEGO® & PhotographyPanoramic PhotographyPhoto GalleryHome