ImageEn, unit ievision




procedure inRange(lower: TIEVisionScalar; upper: TIEVisionScalar; dest: TIEVisionImage); overload; safecall;
procedure inRange(lower: TIEVisionImage; upper: TIEVisionImage; dest: TIEVisionImage); overload; safecall;


Checks if image pixels lie between the specified values.
First overload gets a range of two scalar values.
Second overload gets an 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.