Changes between Version 1 and Version 2 of pixelflip


Ignore:
Timestamp:
Oct 17, 2010, 2:57:06 PM (14 years ago)
Author:
pborissow
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pixelflip

    v1 v2  
    11= pixelflip =
    22converts pixel values
     3
     4== Usage ==
    35{{{
    4 Usage: pixelflip [options] <output_type> <input_file> <output_file> <target_value> <replacement_value>
    5 Options:
     6pixelflip [options] <output_type> <input_file> <output_file> <target_value> <replacement_value>
     7}}}
     8
     9== Options ==
     10{{{
    611  --disable-elev           Will disable the elevation
    712  --disable-notify         Takes an argument. Arguments are ALL, WARN,
     
    2530  -w                       output tile width(only valid with tiled output
    2631                           types).  Must be a multiply of 16
     32}}}
    2733
     34== Replacement Mode ==
    2835
    29 NOTES:
    30 -m Replacement mode option explanation:
    31    Valid modes = "all", "partial", and "full"  (default=all)
     36-m Replacement mode option explanation. Valid modes = "all", "partial", and "full"  (default=all)
    3237
    33 If mode is "all" (default):
    34 Any pixel with dn of target will be replaced.
    35 
    36 If mode is "partial":
    37 Target will be replaced only at least one subpixel(band) does
    38 not have the target.
    39 
    40 If mode is "full":
    41 Target will be repaced only if all subpixels(bands) have the target.
     38 * '''all'' Any pixel with dn of target will be replaced.
     39 * '''partial''' Target will be replaced only at least one subpixel(band) does not have the target.
     40 * '''full''' Target will be repaced only if all subpixels(bands) have the target.
    4241
    4342 Example:
     43{{{
    4444 target      = 0
    4545 replacement = 1
     
    5858 Pixel at (0, 0) becomes  r=1, g=1,  b=1
    5959 Pixel at (0, 1) remains  r=0, g=30, b=21
    60 
    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
    7560}}}