Changes between Version 1 and Version 2 of band-merge


Ignore:
Timestamp:
Oct 14, 2010, 4:21:55 PM (14 years ago)
Author:
pborissow
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • band-merge

    v1 v2  
    11= band_merge =
    22
    3 band-merge
    43Merges multiple image files into a single band merged file.
    5 Usage:
    6 Options:
     4
     5== Usage ==
     6{{{
     7band_merge [-h][-o][-w tile_width] <output_type> <input_file1> <input_file2> ... <output_file>
     8}}}
     9
     10== Options ==
    711{{{
    812  --disable-elev    Will disable the elevation
     
    2630                          tiled output
    2731}}}
    28 band_merge: Band Merge
    29 Usage:
     32
    3033{{{
    31 band_merge [-h][-o][-w tile_width] <output_type> <input_file1> <input_file2> ... <output_file>
    32 
    33 Optional argument list:
    34  -h  -- display Usage/Help
    35  -o  -- create an ossim overview file with output file
    36  -w  -- tile width (default = 32)
    37 
    3834NOTES:
    3935"-w" option only valid with tiff type.
     
    4945        jpeg
    5046}}}
     47
     48
     49This is a "how to" on using ossim-band-merge command line application to merge image files that represent individual bands into a single file.
     50
     51Prerequisite: Typically all images have the same dimensions and are relative to the same projection.
     52
     53Given you have band1.tif, band2.tif and band3.tif you can do:
     54
     55ossim-band-merge tiff_tiled_band_separate band1.tif band2.tif band3.tif rgb.tif
     56
     57Where "tiff_tiled_band_separate" is the output file type. You can do: ossim-band-merge by itself to get the usage with valid output image types.
     58
     59NOTE: The ossim library likes "tiled" image types as ossim is tiled in nature. So if you are going to feed the output file to another ossim application you should choose a tiled output format for speed.