Hi Habir

Thanks for the post - I think the problem is that I need to create
control points and stuff them in a file to be processed by the
malefile.

If there were a process flow I could follow  . . .

There is a batch command that will pick up everything in a directory
and stitch them - but with a thousand images, I would need to make
several hundres directories, and then move everything back  . . .

Best

bob


On Jun 2, 8:05 am, rfrank5356 <robert_frank...@aerialservices.org>
wrote:
> Hi - I take thousands of aerial images, and generally we process the
> data without rectifying the photos. However, stitching sevaral images
> together would reduce our workload a lot. I have tested Hugein and it
> works great for this - 3 images @ 22MP is about right. My thought is
> to generate a set of scripts to do this based upon aircraft flightline
> direction. I took the 1E3V4275-1E3V4277.pto.mk file from a successful
> stitch session and using makefilelib, and created a
> 1E3V4278-1E3V4280.pto.mk - thinking that replacing the image names in
> the script wouod give me a new sample sctipt - and I could than
> generate the script set using a .net program that accesses that image
> database.
>
> Well - when I use the Make command - I get a 'Nothibng to do' message
> - And I am at a loss - Do I need to do something else,outside of this
> script, such as generate control points? Any help would be appreciated
> - as I have just taked about 1200 images of beautiful Las Vegas!
>
> Here is the test maklefile
>
> # makefile for panorama stitching, created by hugin using the new
> makefilelib# Force using cmd.exeSHELL="C:/WINDOWS/system32/cmd.exe"#
> Tool configurationNONA="C:/Program Files/Hugin/bin/
> nona"PTSTITCHER="PTStitcher"PTMENDER="C:/Program Files/Hugin/bin/
> PTmender"PTBLENDER="C:/Program Files/Hugin/bin/PTblender"PTMASKER="C:/
> Program Files/Hugin/bin/PTmasker"PTROLLER="C:/Program Files/Hugin/bin/
> PTroller"ENBLEND="C:/Program Files/Hugin/bin/enblend"ENFUSE="C:/
> Program Files/Hugin/bin/enfuse"SMARTBLEND="smartblend.exe"HDRMERGE="C:/
> Program Files/Hugin/bin/hugin_hdrmerge"RM=delEXIFTOOL="C:/Program
> Files/Hugin/bin/exiftool"# Project
> parametersHUGIN_PROJECTION=0HUGIN_HFOV=66HUGIN_WIDTH=10208HUGIN_HEIGHT=6999­#
> options for the programsNONA_LDR_REMAPPED_COMP=-z LZW
> NONA_OPTS=ENBLEND_OPTS= -f9726x5752+185+57ENBLEND_LDR_COMP=--
> compression=100ENBLEND_HDR_COMP=HDRMERGE_OPTS=-m avg -
> cENFUSE_OPTS=EXIFTOOL_COPY_ARGS=-ImageDescription -Make -Model -Artist
> -WhitePoint -Copyright -GPS:all -DateTimeOriginal -CreateDate -
> UserComment -ColorSpace -OwnerName -SerialNumber# the output
> panoramaLDR_REMAPPED_PREFIX=1E3V4278-1E3V4280LDR_REMAPPED_PREFIX_SHELL="1E3­V4278-1E3V4280"HDR_STACK_REMAPPED_PREFIX=1E3V4278-1E3V4280_hdr_HDR_STACK_RE­MAPPED_PREFIX_SHELL="1E3V4278-1E3V4280_hdr_"LDR_EXPOSURE_REMAPPED_PREFIX=1E­3V4278-1E3V4280_exposure_layers_LDR_EXPOSURE_REMAPPED_PREFIX_SHELL="1E3V427­8-1E3V4280_exposure_layers_"PROJECT_FILE=M:/
> Test/Images/Images/HugeinTest/
> 1E3V4278-1E3V4280.ptoPROJECT_FILE_SHELL="M:/Test/Images/Images/
> HugeinTest/
> 1E3V4278-1E3V4280.pto"LDR_BLENDED=1E3V4278-1E3V4280.jpgLDR_BLENDED_SHELL="1­E3V4278-1E3V4280.jpg"LDR_STACKED_BLENDED=1E3V4278-1E3V4280_fused.jpgLDR_STA­CKED_BLENDED_SHELL="1E3V4278-1E3V4280_fused.jpg"LDR_EXPOSURE_LAYERS_FUSED=1­E3V4278-1E3V4280_blended_fused.jpgLDR_EXPOSURE_LAYERS_FUSED_SHELL="1E3V4278­-1E3V4280_blended_fused.jpg"HDR_BLENDED=1E3V4278-1E3V4280_hdr.exrHDR_BLENDE­D_SHELL="1E3V4278-1E3V4280_hdr.exr"#
> first input imageINPUT_IMAGE_1=M:/Test/Images/Images/HugeinTest/
> 1E3V4278.JPGINPUT_IMAGE_1_SHELL="M:/Test/Images/Images/HugeinTest/
> 1E3V4278.JPG"# all input imagesINPUT_IMAGES=M:/Test/Images/Images/
> HugeinTest/1E3V4278.JPG\M:/Test/Images/Images/HugeinTest/1E3V4279.JPG
> \M:/Test/Images/Images/HugeinTest/1E3V4280.JPGINPUT_IMAGES_SHELL="M:/
> Test/Images/Images/HugeinTest/1E3V4278.JPG"\"M:/Test/Images/Images/
> HugeinTest/1E3V4279.JPG"\"M:/Test/Images/Images/HugeinTest/
> 1E3V4280.JPG"# remapped imagesLDR_LAYERS=1E3V4278-1E3V42800000.tif
> \1E3V4278-1E3V42800001.tif
> \1E3V4278-1E3V42800002.tifLDR_LAYERS_SHELL="1E3V4278-1E3V42800000.tif"\"1E3­V4278-1E3V42800001.tif"\"1E3V4278-1E3V42800002.tif"#
> remapped images (hdr)HDR_LAYERS=1E3V4278-1E3V4280_hdr_0000.exr
> \1E3V4278-1E3V4280_hdr_0001.exr
> \1E3V4278-1E3V4280_hdr_0002.exrHDR_LAYERS_SHELL="1E3V4278-1E3V4280_hdr_0000­.exr"\"1E3V4278-1E3V4280_hdr_0001.exr"\"1E3V4278-1E3V4280_hdr_0002.exr"#
> remapped maxval
> imagesHDR_LAYERS_WEIGHTS=1E3V4278-1E3V4280_hdr_0000_gray.pgm
> \1E3V4278-1E3V4280_hdr_0001_gray.pgm
> \1E3V4278-1E3V4280_hdr_0002_gray.pgmHDR_LAYERS_WEIGHTS_SHELL="1E3V4278-1E3V­4280_hdr_0000_gray.pgm"\"1E3V4278-1E3V4280_hdr_0001_gray.pgm"\"1E3V4278-1E3­V4280_hdr_0002_gray.pgm"#
> stacked hdr
> imagesHDR_STACK_0=1E3V4278-1E3V4280_stack_hdr_0000.exrHDR_STACK_0_SHELL="1E­3V4278-1E3V4280_stack_hdr_0000.exr"HDR_STACK_0_INPUT=1E3V4278-1E3V4280_hdr_­0000.exrHDR_STACK_0_INPUT_SHELL="1E3V4278-1E3V4280_hdr_0000.exr"HDR_STACK_1­=1E3V4278-1E3V4280_stack_hdr_0001.exrHDR_STACK_1_SHELL="1E3V4278-1E3V4280_s­tack_hdr_0001.exr"HDR_STACK_1_INPUT=1E3V4278-1E3V4280_hdr_0001.exrHDR_STACK­_1_INPUT_SHELL="1E3V4278-1E3V4280_hdr_0001.exr"HDR_STACK_2=1E3V4278-1E3V428­0_stack_hdr_0002.exrHDR_STACK_2_SHELL="1E3V4278-1E3V4280_stack_hdr_0002.exr­"HDR_STACK_2_INPUT=1E3V4278-1E3V4280_hdr_0002.exrHDR_STACK_2_INPUT_SHELL="1­E3V4278-1E3V4280_hdr_0002.exr"HDR_STACKS_NUMBERS=0
> 1 2 HDR_STACKS=$(HDR_STACK_0) $(HDR_STACK_1) $(HDR_STACK_2)
> HDR_STACKS_SHELL=$(HDR_STACK_0_SHELL) $(HDR_STACK_1_SHELL) $
> (HDR_STACK_2_SHELL) # number of image sets with similar
> exposureLDR_EXPOSURE_LAYER_0=1E3V4278-1E3V4280_exposure_0000.tifLDR_EXPOSUR­E_LAYER_0_SHELL="1E3V4278-1E3V4280_exposure_0000.tif"LDR_EXPOSURE_LAYER_0_I­NPUT=1E3V4278-1E3V4280_exposure_layers_0000.tif
> \1E3V4278-1E3V4280_exposure_layers_0001.tif
> \1E3V4278-1E3V4280_exposure_layers_0002.tifLDR_EXPOSURE_LAYER_0_INPUT_SHELL­="1E3V4278-1E3V4280_exposure_layers_0000.tif"\"1E3V4278-1E3V4280_exposure_l­ayers_0001.tif"\"1E3V4278-1E3V4280_exposure_layers_0002.tif"LDR_EXPOSURE_LA­YER_0_INPUT_PTMENDER=1E3V4278-1E3V42800000.tif
> \1E3V4278-1E3V42800001.tif
> \1E3V4278-1E3V42800002.tifLDR_EXPOSURE_LAYER_0_INPUT_PTMENDER_SHELL="1E3V42­78-1E3V42800000.tif"\"1E3V4278-1E3V42800001.tif"\"1E3V4278-1E3V42800002.tif­"LDR_EXPOSURE_LAYER_0_EXPOSURE=15.59LDR_EXPOSURE_LAYERS_NUMBERS=0
> LDR_EXPOSURE_LAYERS=$(LDR_EXPOSURE_LAYER_0) LDR_EXPOSURE_LAYERS_SHELL=$
> (LDR_EXPOSURE_LAYER_0_SHELL)
> LDR_EXPOSURE_LAYERS_REMAPPED=1E3V4278-1E3V4280_exposure_layers_0000.tif
> \1E3V4278-1E3V4280_exposure_layers_0001.tif
> \1E3V4278-1E3V4280_exposure_layers_0002.tifLDR_EXPOSURE_LAYERS_REMAPPED_SHE­LL="1E3V4278-1E3V4280_exposure_layers_0000.tif"\"1E3V4278-1E3V4280_exposure­_layers_0001.tif"\"1E3V4278-1E3V4280_exposure_layers_0002.tif"#
> stacked ldr
> imagesLDR_STACK_0=1E3V4278-1E3V4280_stack_ldr_0000.tifLDR_STACK_0_SHELL="1E­3V4278-1E3V4280_stack_ldr_0000.tif"LDR_STACK_0_INPUT=1E3V4278-1E3V4280_expo­sure_layers_0000.tifLDR_STACK_0_INPUT_SHELL="1E3V4278-1E3V4280_exposure_lay­ers_0000.tif"LDR_STACK_1=1E3V4278-1E3V4280_stack_ldr_0001.tifLDR_STACK_1_SH­ELL="1E3V4278-1E3V4280_stack_ldr_0001.tif"LDR_STACK_1_INPUT=1E3V4278-1E3V42­80_exposure_layers_0001.tifLDR_STACK_1_INPUT_SHELL="1E3V4278-1E3V4280_expos­ure_layers_0001.tif"LDR_STACK_2=1E3V4278-1E3V4280_stack_ldr_0002.tifLDR_STA­CK_2_SHELL="1E3V4278-1E3V4280_stack_ldr_0002.tif"LDR_STACK_2_INPUT=1E3V4278­-1E3V4280_exposure_layers_0002.tifLDR_STACK_2_INPUT_SHELL="1E3V4278-1E3V428­0_exposure_layers_0002.tif"LDR_STACKS_NUMBERS=0
> 1 2 LDR_STACKS=$(LDR_STACK_0) $(LDR_STACK_1) $(LDR_STACK_2)
> LDR_STACKS_SHELL=$(LDR_STACK_0_SHELL) $(LDR_STACK_1_SHELL) $
> (LDR_STACK_2_SHELL) DO_LDR_BLENDED=1all : startStitching $
> (LDR_BLENDED) startStitching :  @echo
> ===========================================================================
> @echo Stitching panorama        @echo
> ===========================================================================­clean
>  :
>         @echo
> ===========================================================================
> @echo Remove temporary files    @echo
> ===========================================================================   
>   -
> $(RM) $(LDR_LAYERS_SHELL) test :        @echo
> ===========================================================================
> @echo Testing programs  @echo
> ===========================================================================
> @echo Checking nona...  @-$(NONA) --help > NUL 2>&1 && echo nona is ok
> || echo nona failed     @echo Checking enblend...       @-$(ENBLEND) -h > NUL
> 2>&1 && echo enblend is ok || echo enblend failed        @echo Checking
> enfuse...       @-$(ENFUSE) -h > NUL 2>&1 && echo enfuse is ok || echo
> enfuse failed   @echo Checking hugin_hdrmerge...        @-$(HDRMERGE) -h > NUL
> 2>&1 && echo hugin_hdrmerge is ok || echo hugin_hdrmerge failed  @echo
> Checking exiftool...    @-$(EXIFTOOL) -ver > NUL 2>&1 && echo exiftool is
> ok || echo exiftool failedinfo :        @echo
> ===========================================================================
> @echo ***************  Panorama makefile generated by Hugin
> *************** @echo
> ===========================================================================
> @echo System information        @echo
> ===========================================================================
> @echo Operating System: Windows XP (5.1 Service Pack 3) @echo
> Architecture: x86       @echo Number of logical processors: 2   @echo Physical
> memory: 3668964 kiB (35%% occupied)     @echo Free space on disc: 1294976
> MiB     @echo Active codepage: 1252 (Western European Windows)  @echo
> ===========================================================================
> @echo Output options    @echo
> ===========================================================================
> @echo Hugin Version: 2010.4.0.854952d82c8f built by Matthew Petroff
> @echo Project file: M:\Test\Images\Images\HugeinTest
> \1E3V4278-1E3V4280.pto  @echo Output prefix: 1E3V4278-1E3V4280  @echo
> Projection: Rectilinear (0)     @echo Field of view: 66 x 48    @echo Canvas
> dimensions: 10208 x 6999        @echo Crop area: (185,57) - (9911,5809) @echo
> Output exposure value: 15.59    @echo Selected outputs  @echo Normal
> panorama        @echo * Blended panorama        @echo
> ===========================================================================
> @echo Input images      @echo
> ===========================================================================
> @echo Number of images in project file: 3       @echo Number of active
> images: 3       @echo Image 0: M:\Test\Images\Images\HugeinTest\1E3V4278.JPG
> @echo Image 0: Size 3744x5616, Exposure: 15.64  @echo Image 1: M:\Test
> ...
>
> read more »

-- 
You received this message because you are subscribed to the Google Groups 
"Hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx

Reply via email to