EROIBW1::SetPixel
Allows writing a single pixel value in the ROI or image.
Namespace: Euresys::Open_eVision_2_6
[C++]
void SetPixel(
EBW1 value,
OEV_INT32 x,
OEV_INT32 y
)
Parameters
value
-
x
-
y
-
Remarks
Although coordinates outside of the ROI can be supplied, this function will raise an error condition if the coordinates are outside of the top parent image. It should be noted that calling this function several thousand times can be slow. The recommended way to access pixel content in an image or ROI is to use the EROIBW1 and EROIBW1 functions. For BW8 images/ROIs, using the C++ API only, it is possible to access pixels data faster through an intermediate object: EBW8PixelAccessor.
EROIBW1.SetPixel
Allows writing a single pixel value in the ROI or image.
Namespace: Euresys.Open_eVision_2_6
[C#]
void SetPixel(
Euresys.Open_eVision_2_6.EBW1 value,
int x,
int y
)
Parameters
value
-
x
-
y
-
Remarks
Although coordinates outside of the ROI can be supplied, this function will raise an error condition if the coordinates are outside of the top parent image. It should be noted that calling this function several thousand times can be slow. The recommended way to access pixel content in an image or ROI is to use the EROIBW1 and EROIBW1 functions. For BW8 images/ROIs, using the C++ API only, it is possible to access pixels data faster through an intermediate object: EBW8PixelAccessor.