Changes between Version 1 and Version 2 of pixelflip
- Timestamp:
- Oct 17, 2010, 2:57:06 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pixelflip
v1 v2 1 1 = pixelflip = 2 2 converts pixel values 3 4 == Usage == 3 5 {{{ 4 Usage: pixelflip [options] <output_type> <input_file> <output_file> <target_value> <replacement_value> 5 Options: 6 pixelflip [options] <output_type> <input_file> <output_file> <target_value> <replacement_value> 7 }}} 8 9 == Options == 10 {{{ 6 11 --disable-elev Will disable the elevation 7 12 --disable-notify Takes an argument. Arguments are ALL, WARN, … … 25 30 -w output tile width(only valid with tiled output 26 31 types). Must be a multiply of 16 32 }}} 27 33 34 == Replacement Mode == 28 35 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) 32 37 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. 42 41 43 42 Example: 43 {{{ 44 44 target = 0 45 45 replacement = 1 … … 58 58 Pixel at (0, 0) becomes r=1, g=1, b=1 59 59 Pixel at (0, 1) remains r=0, g=30, b=21 60 61 Valid output writer types:62 tiff_strip63 tiff_strip_band_separate64 tiff_tiled65 tiff_tiled_band_separate66 jpeg67 general_raster_bip68 general_raster_bil69 general_raster_bsq70 general_raster_bip_envi71 general_raster_bil_envi72 general_raster_bsq_envi73 nitf_block_band_separate74 nitf_block_band_sequential75 60 }}}