Changes between Version 2 and Version 3 of icp
- Timestamp:
- Oct 14, 2010, 4:30:09 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
icp
v2 v3 1 1 = icp = 2 2 3 Image copy. Converts images from one format to another. Can also be used to chip or crop existing imagesIf you wish to resample or reproject your data, use [wiki:orthoigen] instead.3 The 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. 4 4 5 5 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. … … 12 12 == Options == 13 13 {{{ 14 14 15 --disable-elev Will disable the elevation 15 16 --disable-notify Takes an argument. Arguments are ALL, WARN, … … 18 19 on the command line. All argument are case 19 20 insensitive. Default is all are enabled. 21 --disable-plugin Will disable the plugin loader 20 22 --ossim-logfile takes a logfile as an argument. All output 21 23 messages are redirected to the specified log 22 24 file. By default there is no log file and all 23 25 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 24 33 -K specify individual keywords to add to the 25 34 preferences keyword list: name=value … … 56 65 support tiled output 57 66 67 58 68 }}} 59 NOTES: 69 70 == Valid output writer types == 71 60 72 {{{ 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 73 tiff_strip 74 tiff_strip_band_separate 75 tiff_tiled 76 tiff_tiled_band_separate 77 jpeg 78 general_raster_bip 79 general_raster_bil 80 general_raster_bsq 81 general_raster_bip_envi 82 general_raster_bil_envi 83 general_raster_bsq_envi 84 nitf_block_band_separate 85 nitf_block_band_sequential 86 nitf20_block_band_separate 87 nitf20_block_band_sequential 88 ossim_png 89 ossim_kakadu_nitf_j2k 90 ossim_kakadu_jp2 91 gdal_VRT 92 gdal_GTiff 93 gdal_NITF 94 gdal_HFA 95 gdal_ELAS 96 gdal_AAIGrid 97 gdal_DTED 98 gdal_PNG 99 gdal_JPEG 100 gdal_MEM 101 gdal_GIF 102 gdal_XPM 103 gdal_BMP 104 gdal_PCIDSK 105 gdal_PCRaster 106 gdal_ILWIS 107 gdal_SGI 108 gdal_SRTMHGT 109 gdal_Leveller 110 gdal_Terragen 111 gdal_ERS 112 gdal_FIT 113 gdal_RMF 114 gdal_RST 115 gdal_INGR 116 gdal_GSAG 117 gdal_GSBG 118 gdal_R 119 gdal_PNM 120 gdal_ENVI 121 gdal_EHdr 122 gdal_PAux 123 gdal_MFF 124 gdal_MFF2 125 gdal_BT 126 gdal_IDA 127 gdal_USGSDEM 128 gdal_ADRG 129 gdal_BLX 75 130 }}} 131 132 == Examples == 133 134 This will convert input.ntf to a tiled tiff output.tif:[[BR]] 135 ''ossim-icp tiff_tiled_band_separate input.ntf output.tif''[[BR]] 136 137 Conversion to J2K currently requires either the gdal plugin with j2k support or the kakadu plugin. 138 139 Using kakadu plugin: 140 141 Note 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 143 This 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 147 This 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 151 This 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 154 This 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 157 Actual 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 }}}