Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt
hiddentrue

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

Descriptions - colorrat.exe

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

...

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:

...

-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.

-imagewidth <w>
Specify the width of the whole image. Normally it can be determined from the file, but this option is provided as an override.

-imageheight <h>
Specify the height of the whole image. Normally it can be determined from the file, but this option is provided as an override.

-imagedepth <d>
Specify the depth, in bits, of the image. Normally it can be determined from the file, but this option is provided as an override.

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

...