EasyImage::AdaptiveThreshold

Performs a locally adaptive threshold on the source image.

Namespace: Euresys::Open_eVision

[C++]

void AdaptiveThreshold(
   const EROIBW8* src,
   EROIBW8* dst,
   Euresys::Open_eVision::EAdaptiveThresholdMethod method,
   int halfKernelSize,
   int constant
)

Parameters

src

-

dst

-

method

The thresholding mode, as defined by the enumeration EAdaptiveThresholdMethod.

halfKernelSize

Half width of the kernel rounded down

constant

Constant offset applied to the threshold value. By default (argument omitted) 0, i.e. no change.

Remarks

Kernel size is always odd.

EasyImage.AdaptiveThreshold

Performs a locally adaptive threshold on the source image.

Namespace: Euresys.Open_eVision

[C#]

void AdaptiveThreshold(
   Euresys.Open_eVision.EROIBW8 src,
   Euresys.Open_eVision.EROIBW8 dst,
   Euresys.Open_eVision.EAdaptiveThresholdMethod method,
   int halfKernelSize,
   int constant
)

Parameters

src

-

dst

-

method

The thresholding mode, as defined by the enumeration EAdaptiveThresholdMethod.

halfKernelSize

Half width of the kernel rounded down

constant

Constant offset applied to the threshold value. By default (argument omitted) 0, i.e. no change.

Remarks

Kernel size is always odd.