Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Descriptions

Colorrat.exe calculates the ratios of red/green2, green1/green2 and blue/green2 over an area in the center of an image.

Command line parameters

Integer parameters can be given in decimal or hex with 0x prefix.

-input <filename>
Specify a filename or wildcard for input image(s). Any number of filenames and/or wildcards may be supplied.

-bayer <pattern>
Indicates the input image is a Bayer pattern and specifies the pattern. (Default is Gr)
The <pattern> can be one of:

  • gr (default)
  • r (or rg)
  • b (or bg)
  • gb

-width <w>
Specify the width of the area to analyze. Centered in the image.

-height <w>
Specify the height of the area to analyze. Centered in the image.

-black <n>
Specify the black level in the input image. Default 42 (on a 10-bit scale) for Bayer and 0 for RGB image data.

-output <filename>
File name of the output data, a comma-separated data table.

The "-input" and "-output" prefixing the filenames are optional. You can just list all the filenames on the command line. The last filename is taken to be the output file, all the rest are inputs.

  • No labels