ossim-cmm
Command line application used to compute min/max pixel values for an image. Outputs an ".omd" file. An omd file can help radiometric processing of images greater than 8 bits per pixel. Note that omd files are also generated by ossim-img2rr.
Usage
ossim-cmm [options] <image_file>
Options
--disable-elev Will disable the elevation
--disable-notify Takes an argument. Arguments are ALL, WARN,
NOTICE, INFO, FATAL, DEBUG. If you want multiple
disables then just do multiple --disable-notify on the
command line.
All arguments are case insensitive. Default is all are
enabled.
--ossim-logfile takes a logfile as an argument. All output messages are
redirected to the specified log file. By default there
is no log file and all messages are enabled.
-K specify individual keywords to add to the preferences
keyword list: name=value
-P specify a preference file to load
-T specify the classes to trace, ex: ossimInit|ossimImage.*
will trace ossimInit and all ossimImage classes-
-e or --entry Give the entry(zero based) to compute min / max for.
NOTE: Option only valid with a single file.
-h or --help Display this information
-l or --list-entries Lists the entries within the image and returns without
doing anything else.
-p print values to standard output
NOTES
- Default output is to a ".omd" file so if the image was "foo.tif" you will get a "foo.omd".
- If the .omd file exists already this will open it and add or, overwrite the min, max keywords only.
- If the -p option is used no .omd file will be written.

