Declaration
procedure inRange(lower: TIEVisionScalar; upper: TIEVisionScalar; dest: TIEVisionImage); overload; safecall;
procedure inRange(lower: TIEVisionImage; upper: TIEVisionImage; dest: TIEVisionImage); overload; safecall;
Description
Returns true if image pixels lie between the specified values.
First overload checks a range of two scalar values.
Second overload checks a matrix (image) of lower and upper values.
Parameter | Description |
lower | Lower value or matrix of values |
upper | Upper value or matrix of value |
dest | Container used to store results. Contains 255 if related pixel is inside the range |