TRVMotionDetector.MinChangeAreaSize, PixelColorThreshold

Top  Previous  Next

The properties specify the parameters used to compare video frames.

property PixelColorThreshold: Integer;

The motion detector compares two images (usually video frames).

If the first pixel is (R1 G1 B1), the second pixel is (R2 G2 B2), they are treated as different if (|R1-R2| + |G1-G2| + |B1-B2|)/3>PixelColorThreshold.

The component calculates rectangles covering changed pixels optimally. Rectangles containing less than MinChangeAreaSize changed pixels are ignored.

Default values

MinChangeAreaSize: 10

PixelColorThreshold: 15

Default value


See also

TRVCamSender.MinChangeAreaSize, PixelColorThreshold