Skip to content

Color intensity

Color intensity of a cell

It is possible to retrieve the average color intensity of a cell by invoking MotionDetector_CellColorIntensity (RGBSelector , x, y).

The function returns the average intensity for the specified color in the specified cell.

The value returned is in the [0.255] range.

Global intensity of a color

The MotionDetector_GlobalColorIntensity (RGBSelector ) function returns the global average intensity for the specified color, in the [0.255] range.