EasyImage::AdaptiveThreshold
Performs a locally adaptive threshold on the source image.
Namespace: Euresys::Open_eVision
[C++]
static void AdaptiveThreshold(
const EROIBW8
* src,
EROIBW8
* dst,
EAdaptiveThresholdMethod
method,
int halfKernelSize,
int constant
)
static void AdaptiveThreshold(
const EROIBW16
* src,
EROIBW16
* dst,
EAdaptiveThresholdMethod
method,
int halfKernelSize,
int constant
)
static void AdaptiveThreshold(
const EROIBW8
* src,
const ERegion
& region,
EROIBW8
* dst,
EAdaptiveThresholdMethod
method,
int halfKernelSize,
int constant
)
static void AdaptiveThreshold(
const EROIBW16
* src,
const ERegion
& region,
EROIBW16
* dst,
EAdaptiveThresholdMethod
method,
int halfKernelSize,
int constant
)
Parameters
src
Pointer to the source image/ROI.
dst
Pointer to the destination image/ROI.
method
The thresholding mode, as defined by the enumeration EAdaptiveThresholdMethod
.
halfKernelSize
Half of the kernel width, rounded down. The kernel size is always odd.
constant
Optional constant offset applied to the threshold value. Defaults to 0 if omitted.
region
Optional reference to a region to apply the function only on a particular region in the image.
EasyImage.AdaptiveThreshold
Performs a locally adaptive threshold on the source image.
Namespace: Euresys.Open_eVision
[C#]
static void AdaptiveThreshold(
EROIBW8
src,
EROIBW8
dst,
EAdaptiveThresholdMethod
method,
int halfKernelSize,
int constant
)
static void AdaptiveThreshold(
EROIBW16
src,
EROIBW16
dst,
EAdaptiveThresholdMethod
method,
int halfKernelSize,
int constant
)
static void AdaptiveThreshold(
EROIBW8
src,
ERegion
region,
EROIBW8
dst,
EAdaptiveThresholdMethod
method,
int halfKernelSize,
int constant
)
static void AdaptiveThreshold(
EROIBW16
src,
ERegion
region,
EROIBW16
dst,
EAdaptiveThresholdMethod
method,
int halfKernelSize,
int constant
)
Parameters
src
Pointer to the source image/ROI.
dst
Pointer to the destination image/ROI.
method
The thresholding mode, as defined by the enumeration EAdaptiveThresholdMethod
.
halfKernelSize
Half of the kernel width, rounded down. The kernel size is always odd.
constant
Optional constant offset applied to the threshold value. Defaults to 0 if omitted.
region
Optional reference to a region to apply the function only on a particular region in the image.
EasyImage.AdaptiveThreshold
Performs a locally adaptive threshold on the source image.
Module: open_evision
[Python]
@staticmethod
AdaptiveThreshold(
src: EROIBW8
dst: EROIBW8
method: EAdaptiveThresholdMethod
halfKernelSize: int
constant: int
) -> None
@staticmethod
AdaptiveThreshold(
src: EROIBW8
dst: EROIBW8
method: EAdaptiveThresholdMethod
halfKernelSize: int
) -> None
@staticmethod
AdaptiveThreshold(
src: EROIBW16
dst: EROIBW16
method: EAdaptiveThresholdMethod
halfKernelSize: int
constant: int
) -> None
@staticmethod
AdaptiveThreshold(
src: EROIBW16
dst: EROIBW16
method: EAdaptiveThresholdMethod
halfKernelSize: int
) -> None
@staticmethod
AdaptiveThreshold(
src: EROIBW8
region: ERegion
dst: EROIBW8
method: EAdaptiveThresholdMethod
halfKernelSize: int
constant: int
) -> None
@staticmethod
AdaptiveThreshold(
src: EROIBW8
region: ERegion
dst: EROIBW8
method: EAdaptiveThresholdMethod
halfKernelSize: int
) -> None
@staticmethod
AdaptiveThreshold(
src: EROIBW16
region: ERegion
dst: EROIBW16
method: EAdaptiveThresholdMethod
halfKernelSize: int
constant: int
) -> None
@staticmethod
AdaptiveThreshold(
src: EROIBW16
region: ERegion
dst: EROIBW16
method: EAdaptiveThresholdMethod
halfKernelSize: int
) -> None
Parameters
src
Pointer to the source image/ROI.
dst
Pointer to the destination image/ROI.
method
The thresholding mode, as defined by the enumeration EAdaptiveThresholdMethod
.
halfKernelSize
Half of the kernel width, rounded down. The kernel size is always odd.
constant
Optional constant offset applied to the threshold value. Defaults to 0 if omitted.
region
Optional reference to a region to apply the function only on a particular region in the image.