Filterluminancevalue – Adept AdeptSight Reference Guide User Manual

Page 212

Advertising
background image

FilterLuminanceValue

VPARAMETER

5715

Value of the Luminance component, in the HSL colorspace, for the selected filter. This value may be

modified if any changes are made to the RGB values of the filter.

Luminance is perceived as the brightness of the color, or the amount of white contained in the color.

When FilterLuminanceValue = 0, the color is completely black (RGB= 0,0,0). When FilterLuminanceValue

= 255, the color is almost completely white.

Syntax

Micro V+

VPARAMETER (sequence_id, tool_id, 5715, index_id, object_id) = value

value = VPARAMETER (sequence_id, tool_id, 5715, filter_id, object_id)

V+

VPARAMETER (sequence_id, tool_id, 5715, filter_id, object_id) $ip = value

value = VPARAMETER ($ip, sequence_id, tool_id, 5715, filter_id, object_id)

Remarks

The value of a filter can be configured either by its HSL values or its RGB values. The Tolerance in a color

filter can only be expressed in HSL values.

HSL values are defined by properties: FilterHueValue, FilterLuminanceValue, and

FilterSaturationValue.

Type

Long

Range

Minimum: 0

Maximum: 255

Parameters

FilterLuminanceValue

AdeptSight Reference Guide, v3.2.x, Updated: 5/8/2012

Page 212

Advertising