Full API information for OSDxImaging DLL

ImagingFxCountWhite Method

Categorises pixels in an image into three - white, black and fill colour (red)

Definition

Namespace: OSDx
Assembly: OSDxImaging (in OSDxImaging.dll) Version: 3.0.0.0 (3.0.0.0)
C#
public ImagingFxMGValues CountWhite(
	Bitmap BMP,
	int threshold = 225
)

Parameters

BMP  Bitmap
Image to be processed
threshold  Int32  (Optional)
Threshold of grey value above which it is regarded as white

Return Value

ImagingFxMGValues
A MGValues structure

See Also