20 April 2011

Multi-Layer TIFFs from Hugin

I have been wanting to make a panorama or mosaic image, but without actually blending the remapped images. The way to do this, I have discovered, is first to use Hugin to do the image alignment. Then, on the Stitcher tab, choose only the "Remapped images" option. Select TIFF for the "Normal Output" type and then press "Stitch now!". The result will be a number of .tif files:

$ ls -l shipwreck????.tif | head
-rw-r--r-- 1 colliera colliera 29079978 2011-04-20 19:34 shipwreck0000.tif
-rw-r--r-- 1 colliera colliera 29079978 2011-04-20 19:35 shipwreck0001.tif
-rw-r--r-- 1 colliera colliera 29073626 2011-04-20 19:35 shipwreck0002.tif
-rw-r--r-- 1 colliera colliera 29670722 2011-04-20 19:35 shipwreck0003.tif
-rw-r--r-- 1 colliera colliera 30548878 2011-04-20 19:35 shipwreck0004.tif
-rw-r--r-- 1 colliera colliera 29670722 2011-04-20 19:35 shipwreck0005.tif
-rw-r--r-- 1 colliera colliera 29073626 2011-04-20 19:35 shipwreck0006.tif
-rw-r--r-- 1 colliera colliera 29073626 2011-04-20 19:36 shipwreck0007.tif
-rw-r--r-- 1 colliera colliera 29073626 2011-04-20 19:36 shipwreck0008.tif
-rw-r--r-- 1 colliera colliera 29670722 2011-04-20 19:36 shipwreck0009.tif
$ ls -l shipwreck????.tif | tail
-rw-r--r-- 1 colliera colliera 29670722 2011-04-20 19:43 shipwreck0053.tif
-rw-r--r-- 1 colliera colliera 30548878 2011-04-20 19:44 shipwreck0054.tif
-rw-r--r-- 1 colliera colliera 29670722 2011-04-20 19:44 shipwreck0055.tif
-rw-r--r-- 1 colliera colliera 29073626 2011-04-20 19:44 shipwreck0056.tif
-rw-r--r-- 1 colliera colliera 29073626 2011-04-20 19:44 shipwreck0057.tif
-rw-r--r-- 1 colliera colliera 29073626 2011-04-20 19:44 shipwreck0058.tif
-rw-r--r-- 1 colliera colliera 29670722 2011-04-20 19:44 shipwreck0059.tif
-rw-r--r-- 1 colliera colliera 32043210 2011-04-20 19:45 shipwreck0060.tif
-rw-r--r-- 1 colliera colliera 29680064 2011-04-20 19:45 shipwreck0061.tif
-rw-r--r-- 1 colliera colliera 31147570 2011-04-20 19:45 shipwreck0062.tif


Now these need to be combined into a single multi-layer TIFF file as follows:

$ tiffcp shipwreck????.tif shipwreck-layers.tif

The resulting file, shipwreck-layers.tif, can then be opened in GIMP.

So this is the basic idea of what I am after:


It still needs some work though. I want to go back in the morning so that the Sun is on the right side. And I need to get closer and move along the ship, so it will be more of a mosaic than a panorama. And I also want to include a special extra bit of interest.

No comments:

Post a Comment