EasyImage::Area
This method is deprecated: Use EImageStatisticsBW8::NumberOfPixelsAboveHighThreshold
or EImageStatisticsBW16::NumberOfPixelsAboveHighThreshold
instead.
Counts the pixels whose values are above (or on) a threshold.
Namespace: Euresys::Open_eVision
[C++]
[[deprecated("Use EImageStatisticsBW8::NumberOfPixelsAboveHighThreshold
or EImageStatisticsBW16::NumberOfPixelsAboveHighThreshold
instead.")]]
static void Area(
const EROIBW8
* sourceImage,
EBW8
threshold,
int& numberOfPixelsAboveThreshold
)
[[deprecated("Use EImageStatisticsBW8::NumberOfPixelsAboveHighThreshold
or EImageStatisticsBW16::NumberOfPixelsAboveHighThreshold
instead.")]]
static void Area(
const EROIBW16
* sourceImage,
EBW16
threshold,
int& numberOfPixelsAboveThreshold
)
[[deprecated("Use EImageStatisticsBW8::NumberOfPixelsAboveHighThreshold
or EImageStatisticsBW16::NumberOfPixelsAboveHighThreshold
instead.")]]
static void Area(
const EROIBW8
* sourceImage,
const ERegion
& region,
EBW8
threshold,
int& numberOfPixelsAboveThreshold
)
[[deprecated("Use EImageStatisticsBW8::NumberOfPixelsAboveHighThreshold
or EImageStatisticsBW16::NumberOfPixelsAboveHighThreshold
instead.")]]
static void Area(
const EROIBW16
* sourceImage,
const ERegion
& region,
EBW16
threshold,
int& numberOfPixelsAboveThreshold
)
[[deprecated("Use EImageStatisticsBW8::NumberOfPixelsAboveHighThreshold
or EImageStatisticsBW16::NumberOfPixelsAboveHighThreshold
instead.")]]
static void Area(
const EROIBW8
* sourceImage,
const EROIBW8
* mask,
EBW8
threshold,
int& numberOfPixelsAboveThreshold
)
[[deprecated("Use EImageStatisticsBW8::NumberOfPixelsAboveHighThreshold
or EImageStatisticsBW16::NumberOfPixelsAboveHighThreshold
instead.")]]
static void Area(
const EROIBW16
* sourceImage,
const EROIBW8
* mask,
EBW16
threshold,
int& numberOfPixelsAboveThreshold
)
Parameters
sourceImage
Pointer to the source image/ROI.
threshold
The pixel thresholding value used to count the pixels
numberOfPixelsAboveThreshold
Reference to the count of pixels above or equal to the threshold.
region
Optional reference to a region to apply the function only on a particular region in the image.
mask
Pointer to a mask to apply the function only on a particular region in the image. Note: the mask must have the same size as the source image.
EasyImage.Area
This method is deprecated: Use EImageStatisticsBW8.NumberOfPixelsAboveHighThreshold
or EImageStatisticsBW16.NumberOfPixelsAboveHighThreshold
instead.
Counts the pixels whose values are above (or on) a threshold.
Namespace: Euresys.Open_eVision
[C#]
[Obsolete("Use EImageStatisticsBW8.NumberOfPixelsAboveHighThreshold
or EImageStatisticsBW16.NumberOfPixelsAboveHighThreshold
instead.")]
static void Area(
EROIBW8
sourceImage,
EBW8
threshold,
out int numberOfPixelsAboveThreshold
)
[Obsolete("Use EImageStatisticsBW8.NumberOfPixelsAboveHighThreshold
or EImageStatisticsBW16.NumberOfPixelsAboveHighThreshold
instead.")]
static void Area(
EROIBW16
sourceImage,
EBW16
threshold,
out int numberOfPixelsAboveThreshold
)
[Obsolete("Use EImageStatisticsBW8.NumberOfPixelsAboveHighThreshold
or EImageStatisticsBW16.NumberOfPixelsAboveHighThreshold
instead.")]
static void Area(
EROIBW8
sourceImage,
ERegion
region,
EBW8
threshold,
out int numberOfPixelsAboveThreshold
)
[Obsolete("Use EImageStatisticsBW8.NumberOfPixelsAboveHighThreshold
or EImageStatisticsBW16.NumberOfPixelsAboveHighThreshold
instead.")]
static void Area(
EROIBW16
sourceImage,
ERegion
region,
EBW16
threshold,
out int numberOfPixelsAboveThreshold
)
[Obsolete("Use EImageStatisticsBW8.NumberOfPixelsAboveHighThreshold
or EImageStatisticsBW16.NumberOfPixelsAboveHighThreshold
instead.")]
static void Area(
EROIBW8
sourceImage,
EROIBW8
mask,
EBW8
threshold,
out int numberOfPixelsAboveThreshold
)
[Obsolete("Use EImageStatisticsBW8.NumberOfPixelsAboveHighThreshold
or EImageStatisticsBW16.NumberOfPixelsAboveHighThreshold
instead.")]
static void Area(
EROIBW16
sourceImage,
EROIBW8
mask,
EBW16
threshold,
out int numberOfPixelsAboveThreshold
)
Parameters
sourceImage
Pointer to the source image/ROI.
threshold
The pixel thresholding value used to count the pixels
numberOfPixelsAboveThreshold
Reference to the count of pixels above or equal to the threshold.
region
Optional reference to a region to apply the function only on a particular region in the image.
mask
Pointer to a mask to apply the function only on a particular region in the image. Note: the mask must have the same size as the source image.
Area
Sorry, this function does not exist in Python.