ImageEn, unit ievision

TIEVisionImage.setValue

TIEVisionImage.setValue


Declaration

procedure setValue(value: TIEVisionScalar; mask: TIEVisionImage); overload; safecall;
procedure setValue(value: TIEVisionScalar); overload; safecall;


Description

Sets all or some of the image pixels to the specified value.

Parameter Description
value Scalar value to set (in B:G:R orientation).
mask Operation mask (set only when > 0).


Example

// fills with BGR = (200, 100, 0)
image1.setValue(IEVisionScalar(200, 100, 0));