LuminanceCorrection Property

Applies To
Vision Object: DefectFinder

Description
Sets the use of luminance correction preprocessing.

Usage

VGet  Sequence.Object.LuminanceCorrection, var
VSet  Sequence.Object.LuminanceCorrection, value
Sequence
Name of a sequence or string variable containing a sequence name.
Object
Name of an object or string variable containing an object name. The object must exist in the specified sequence.
var
Integer variable that will contain the value of the property.
value
Integer value or expression for the new value of the property.

Values

  • 1 - None
    • Vision constant: VISION_ LUMINANCECORRECTION_NONE
    • No pre-processing
  • 2 - Histgram
    • Vision constant: VISION_ LUMINANCECORRECTION_HISTGRAM
    • Luminance correction preprocessing using histogram mapping

Default: 1 - None

Remarks
The LuminanceCorrection property sets the use of DefectFinder preprocessing.

When set to 1 - None, the detection process is performed without preprocessing.

When set to 2 - Histgram, brightness correcting preprocessing is performed by means of luminance correction preprocessing using histogram mapping. When set to 2 - Histgram to prevent fluctuations in brightness from being treated as defects.

See Also
DefectFinder Object