wiki:icp

Version 2 (modified by pborissow, 14 years ago) ( diff )

--

icp

Image copy. Converts images from one format to another. Can also be used to chip or crop existing images If you wish to resample or reproject your data, use orthoigen instead.

The iView GUI application operates as a viewer and a way to set up parameters for icp. icp can be called from the command line or from an application - e.g. iView.

Usage

icp [options] <output_type> <input_file> <output_file>

Options

  --disable-elev               Will disable the elevation
  --disable-notify             Takes an argument. Arguments are ALL, WARN,
                               NOTICE, INFO, FATAL, DEBUG.  If you want multiple
                               disables then just do multiple --disable-notify
                               on the command line.  All argument are case
                               insensitive.  Default is all are enabled.
  --ossim-logfile              takes a logfile as an argument.  All output
                               messages are redirected to the specified log
                               file.  By default there is no log file and all
                               messages are enabled.
  -K                           specify individual keywords to add to the
                               preferences keyword list: name=value
  -L or --end-line             Which end line do you wish to copy from the
                               input.  If none is given then max line is used
  -P                           specify a preference file to load
  -T                           specify the classes to trace, ex:
                               ossimInit|ossimImage.* 
                               will trace ossimInit and all ossimImage classes
  -a or --use-scalar-remapper  Uses scalar remapper, transforms to 8-bit
  -b or --bands                uses the specified bands: ex. "1, 2, 4" will
                               select bands 1 2 and 4 of the input image.  Note:
                               it is 1 based
  -c or --compression-type     Uses compression.  Currently valid for only tiff
                               output -c jpeg will use jpeg compression
  -e or --entry                For multi image handlers which entry do you wish
                               to extract
  -h or --help                 Display this information
  -l or --start-line           Which start line do you wish to copy from the
                               input. If none is given then 0 is used
  -o or --create-overview      Creates and overview for the output image
  -p or --end-sample           Which end sample do you wish to copy from the
                               input.  If none is given then max sample is used
  -q or --compression-quality  Uses compression.  Valid for jpeg type. default
                               is 75 where 100 is the best and 1 is the worst
  -r or --res-level            Which res level to extract from the input: ex -r
                               1 will get res level 1
  -s or --start-sample         Which start sample do you wish to copy from the
                               input.  If none is given then 0 is used
  -t or --create-thumbnail     Takes an argument which is the maximum pixel
                               dimension desired.
                               Create thumbnail flag is enabled
  -w or --tile-width           Defines the tile width for the handlers that
                               support tiled output

NOTES:

 Valid output writer types:
 tiff_strip
 tiff_strip_band_separate
 tiff_tiled
 tiff_tiled_band_separate
 jpeg
 general_raster_bip
 general_raster_bil
 general_raster_bsq
 general_raster_bip_envi
 general_raster_bil_envi
 general_raster_bsq_envi
 nitf_block_band_separate
 nitf_block_band_sequential
Note: See TracWiki for help on using the wiki.