Changes between Version 15 and Version 16 of img2rr
- Timestamp:
- Oct 16, 2010, 7:11:32 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
img2rr
v15 v16 77 77 == Overview Types == 78 78 Valid overview types include: 79 * ossim_tiff_box 79 * ossim_tiff_box* 80 80 * ossim_tiff_nearest 81 81 * gdal_tiff_nearest … … 84 84 * gdal_hfa_average 85 85 * ossim_kakadu_nitf_j2k 86 87 ''* default'' 86 88 87 89 == Compression Options == … … 100 102 }}} 101 103 * '''ERDAS Imagine compression''' With gdal_hfa_nearest and gdal_hfa_average, users have the option to create overviews in ERDAS Imagine format. 104 {{{ 105 ossim-img2rr -t gdal_hfa_nearest image.tif 106 }}} 102 107 108 == Stop Dimension == 109 Users can control how many layers will be create by specifying a stop dimension. The stop dimension is set using the -s argument. If set to 64 then the builder will stop when height and width for current level are less than or equal to 64. If set to 1 then the builder will stop when height and width for current level are less than or equal to 1. Examples: 110 111 Build overviews, specifying to stop when both width and height are less than or equal to 64: 112 {{{ 113 ossim-img2rr -s 64 <your-file> 114 }}} 115 Build overviews, specifying to stop when both width and height are less than or equal to 32: 116 {{{ 117 ossim-img2rr -s 32 <your-file> 118 }}} 119 120 Note a default can be set in the ossim preferences file, setting the keyword "overview_stop_dimension". 103 121 104 122 == Histogram Operations == … … 123 141 }}} 124 142 125 Build overviews, specifying to stop when both width and height are less than or equal to 64:[[BR]] 126 {{{ 127 ossim-img2rr -s 64 <your-file> 128 }}} 129 Build overviews, specifying to stop when both width and height are less than or equal to 32: 130 {{{ 131 ossim-img2rr -s 32 <your-file> 132 }}} 143 133 144 Build overviews forcing a rebuild if already present with -r option: 134 145 {{{ … … 167 178 ossim-img2rr -t ossim_kakadu_nitf_j2k --set-property reversible:false <your-file> 168 179 }}} 169 Build overviews specifying the type, gdal hfa (erdas imagine) (requires gdal plugin): 180 181 182 Build overviews copy r0 (full res layer) (ossim_tiff types only) 170 183 {{{ 171 ossim-img2rr -t gdal_hfa_nearest <your-file>172 }}}173 Build overviews copy r0 (full res layer) (ossim_tiff types only){{{174 184 ossim-img2rr -a <your-file> 175 185 }}}