| 1 | = cmm = |
| 2 | cmm |
| 3 | Compute min/max pixel values from within a file. Important to run this on radiometries other than 8 bit. |
| 4 | {{{ |
| 5 | Usage: cmm <image_file> |
| 6 | This program will force a recompute of Min/Max Pixel Values. |
| 7 | |
| 8 | Options: |
| 9 | --disable-elev Will disable the elevation |
| 10 | --disable-notify Takes an argument. Arguments are ALL, WARN, |
| 11 | NOTICE, INFO, FATAL, DEBUG. If you want multiple |
| 12 | disables then just do multiple --disable-notify on the |
| 13 | command line. |
| 14 | All arguments are case insensitive. Default is all are |
| 15 | enabled. |
| 16 | --ossim-logfile takes a logfile as an argument. All output messages are |
| 17 | redirected to the specified log file. By default there |
| 18 | is no log file and all messages are enabled. |
| 19 | -K specify individual keywords to add to the preferences |
| 20 | keyword list: name=value |
| 21 | -P specify a preference file to load |
| 22 | -T specify the classes to trace, ex: ossimInit|ossimImage.* |
| 23 | |
| 24 | will trace ossimInit and all ossimImage classes- |
| 25 | -e or --entry Give the entry(zero based) to compute min / max for. |
| 26 | NOTE: Option only valid with a single file. |
| 27 | -h or --help Display this information |
| 28 | -l or --list-entries Lists the entries within the image and returns without |
| 29 | doing anything else. |
| 30 | -p print values to standard output |
| 31 | |
| 32 | |
| 33 | NOTES: |
| 34 | - Default output is to a ".omd" file so if the image was "foo.tif" you |
| 35 | will get a "foo.omd". |
| 36 | - If the .omd file exists already this will open it and add |
| 37 | or, overwrite the min, max keywords only. |
| 38 | - If the -p option is used no .omd file will be written. |
| 39 | }}} |