Changes between Version 15 and Version 16 of img2rr


Ignore:
Timestamp:
Oct 16, 2010, 7:11:32 AM (14 years ago)
Author:
pborissow
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • img2rr

    v15 v16  
    7777== Overview Types ==
    7878Valid overview types include:
    79  * ossim_tiff_box
     79 * ossim_tiff_box*
    8080 * ossim_tiff_nearest
    8181 * gdal_tiff_nearest
     
    8484 * gdal_hfa_average
    8585 * ossim_kakadu_nitf_j2k
     86
     87''* default''
    8688
    8789== Compression Options ==
     
    100102}}}
    101103 * '''ERDAS Imagine compression''' With gdal_hfa_nearest and gdal_hfa_average, users have the option to create overviews in ERDAS Imagine format.
     104{{{
     105ossim-img2rr -t gdal_hfa_nearest image.tif
     106}}}
    102107
     108== Stop Dimension ==
     109Users 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
     111Build overviews, specifying to stop when both width and height are less than or equal to 64:
     112{{{
     113ossim-img2rr -s 64 <your-file>
     114}}}
     115Build overviews, specifying to stop when both width and height are less than or equal to 32:
     116{{{
     117ossim-img2rr -s 32 <your-file>
     118}}}
     119
     120Note a default can be set in the ossim preferences file, setting the keyword "overview_stop_dimension".
    103121
    104122== Histogram Operations ==
     
    123141}}}
    124142
    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
    133144Build overviews forcing a rebuild if already present with -r option:
    134145{{{
     
    167178ossim-img2rr -t ossim_kakadu_nitf_j2k --set-property reversible:false <your-file>
    168179}}}
    169 Build overviews specifying the type, gdal hfa (erdas imagine) (requires gdal plugin):
     180
     181
     182Build overviews copy r0 (full res layer) (ossim_tiff types only)
    170183{{{
    171 ossim-img2rr -t gdal_hfa_nearest <your-file>
    172 }}}
    173 Build overviews copy r0 (full res layer) (ossim_tiff types only){{{
    174184ossim-img2rr -a <your-file>
    175185}}}