Changes between Version 2 and Version 3 of icp


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

--

Legend:

Unmodified
Added
Removed
Modified
  • icp

    v2 v3  
    11= icp =
    22
    3 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 [wiki:orthoigen] instead.
     3The ossim-icp application is an image conversion tool used to copy any supported input image to any supported output image format.  It can also crop by start/stop line/sample, band select and convert scalar type. If you wish to resample or reproject your data, use [wiki:orthoigen] instead.
    44
    55The 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.
     
    1212== Options ==
    1313{{{
     14
    1415  --disable-elev               Will disable the elevation
    1516  --disable-notify             Takes an argument. Arguments are ALL, WARN,
     
    1819                               on the command line.  All argument are case
    1920                               insensitive.  Default is all are enabled.
     21  --disable-plugin             Will disable the plugin loader
    2022  --ossim-logfile              takes a logfile as an argument.  All output
    2123                               messages are redirected to the specified log
    2224                               file.  By default there is no log file and all
    2325                               messages are enabled.
     26  --pixel-type                 Valid values: area or point, this will determine
     27                               if the tie point is upper left corner of the
     28                               upper left pixel (area) or the center of the
     29                               upper left corner (point), default=point.  NOTE:
     30                               This option will only affect the tiff writer.
     31  --writer-prop                adds a property to send to the writer. format is
     32                               name=value
    2433  -K                           specify individual keywords to add to the
    2534                               preferences keyword list: name=value
     
    5665                               support tiled output
    5766
     67
    5868}}}
    59 NOTES:
     69
     70== Valid output writer types ==
     71
    6072{{{
    61  Valid output writer types:
    62  tiff_strip
    63  tiff_strip_band_separate
    64  tiff_tiled
    65  tiff_tiled_band_separate
    66  jpeg
    67  general_raster_bip
    68  general_raster_bil
    69  general_raster_bsq
    70  general_raster_bip_envi
    71  general_raster_bil_envi
    72  general_raster_bsq_envi
    73  nitf_block_band_separate
    74  nitf_block_band_sequential
     73tiff_strip
     74tiff_strip_band_separate
     75tiff_tiled
     76tiff_tiled_band_separate
     77jpeg
     78general_raster_bip
     79general_raster_bil
     80general_raster_bsq
     81general_raster_bip_envi
     82general_raster_bil_envi
     83general_raster_bsq_envi
     84nitf_block_band_separate
     85nitf_block_band_sequential
     86nitf20_block_band_separate
     87nitf20_block_band_sequential
     88ossim_png
     89ossim_kakadu_nitf_j2k
     90ossim_kakadu_jp2
     91gdal_VRT
     92gdal_GTiff
     93gdal_NITF
     94gdal_HFA
     95gdal_ELAS
     96gdal_AAIGrid
     97gdal_DTED
     98gdal_PNG
     99gdal_JPEG
     100gdal_MEM
     101gdal_GIF
     102gdal_XPM
     103gdal_BMP
     104gdal_PCIDSK
     105gdal_PCRaster
     106gdal_ILWIS
     107gdal_SGI
     108gdal_SRTMHGT
     109gdal_Leveller
     110gdal_Terragen
     111gdal_ERS
     112gdal_FIT
     113gdal_RMF
     114gdal_RST
     115gdal_INGR
     116gdal_GSAG
     117gdal_GSBG
     118gdal_R
     119gdal_PNM
     120gdal_ENVI
     121gdal_EHdr
     122gdal_PAux
     123gdal_MFF
     124gdal_MFF2
     125gdal_BT
     126gdal_IDA
     127gdal_USGSDEM
     128gdal_ADRG
     129gdal_BLX
    75130}}}
     131
     132== Examples ==
     133
     134This will convert input.ntf to a tiled tiff output.tif:[[BR]]
     135''ossim-icp tiff_tiled_band_separate input.ntf output.tif''[[BR]]
     136
     137Conversion to J2K currently requires either the gdal plugin with j2k support or the kakadu plugin.
     138
     139Using kakadu plugin:
     140
     141Note the default kakadu writer is numerically lossless. The number of reduced res sets are control by setting the preferences keyword "overview_stop_dimension".  If that is not found it will use "tile_size".  If that is not found it will default to five.
     142
     143This will convert point.tif to a JP2 file (using default numerically_lossless).[[BR]]
     144''ossim-icp ossim_kakadu_jp2 point.tif t1.jp2''[[BR]]
     145
     146
     147This will convert point.tif to a numerically lossless jp2 file.[[BR]]
     148''ossim-icp --writer-prop compression_quality=numerically_lossless ossim_kakadu_jp2 point.tif t1.jp2''[[BR]]
     149
     150
     151This will convert point.tif to a visually lossless jp2 file.[[BR]]
     152''ossim-icp --writer-prop compression_quality=visually_lossless ossim_kakadu_jp2 point.tif t2.jp2''[[BR]]
     153
     154This will convert point.tif to a lossyjp2 file.[[BR]]
     155''ossim-icp --writer-prop compression_quality=lossy ossim_kakadu_jp2 point.tif t3.jp2''[[BR]]
     156
     157Actual sizes from the last three examples:
     158
     159{{{
     160$ ls -l point.tif t1.jp2 t2.jp2 t3.jp2
     161 3152350 point.tif
     162 1938374 t1.jp2
     163  437769 t2.jp2
     164  125399 t3.jp2
     165}}}