wiki:create_histo

Version 2 (modified by pborissow, 14 years ago) ( diff )

--

create-histo

Used to create a histogram file for an image. Outputs a *.his file.

Usage

ossim-create-histo [options] <input_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 argument
                    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
  -h or --help      Display this information
  -i                <image_file> Creates a histogram from the image_file.
  -l                <res_level> Output the specified number of res levels (not
                    supported for import histogram -i option
  -o                <output_file> Output the histogram to the indicated file.
  -p                <histogram_file> Imports imagelinks proprietary
                    histogram_file.

examples:
 create_histo foo.tif
            Will create a histogram for the input image and call
            it foo.his

 create_histo -i foo.tif -o foo.his
            this will compute a histogram from the input foo.tif
            and write it to foo.his

 create_histo -p foo2.his -o foo.his
            will import the proprietary histogram file and output
            an ossim histogram file to foo.his

NOTE:  If no output is given it will default to output.his
       unless the special case of a single input image is given

Note: See TracWiki for help on using the wiki.