EasyImage::Area
Counts the pixels whose values are above (or on) a threshold.
Namespace: Euresys::Open_eVision_2_10
[C++]
void Area(
const EROIBW8* sourceImage,
EBW8 threshold,
OEV_INT32& numberOfPixelsAboveThreshold
)
void Area(
const EROIBW16* sourceImage,
EBW16 threshold,
OEV_INT32& numberOfPixelsAboveThreshold
)
void Area(
const EROIBW8* sourceImage,
const ERegion& region,
EBW8 threshold,
OEV_INT32& numberOfPixelsAboveThreshold
)
void Area(
const EROIBW16* sourceImage,
const ERegion& region,
EBW16 threshold,
OEV_INT32& numberOfPixelsAboveThreshold
)
void Area(
const EROIBW8* sourceImage,
const EROIBW8* mask,
EBW8 threshold,
OEV_INT32& numberOfPixelsAboveThreshold
)
void Area(
const EROIBW16* sourceImage,
const EROIBW8* mask,
EBW16 threshold,
OEV_INT32& 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
Pointer 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
Counts the pixels whose values are above (or on) a threshold.
Namespace: Euresys.Open_eVision_2_10
[C#]
void Area(
Euresys.Open_eVision_2_10.EROIBW8 sourceImage,
Euresys.Open_eVision_2_10.EBW8 threshold,
out int numberOfPixelsAboveThreshold
)
void Area(
Euresys.Open_eVision_2_10.EROIBW16 sourceImage,
Euresys.Open_eVision_2_10.EBW16 threshold,
out int numberOfPixelsAboveThreshold
)
void Area(
Euresys.Open_eVision_2_10.EROIBW8 sourceImage,
Euresys.Open_eVision_2_10.ERegion region,
Euresys.Open_eVision_2_10.EBW8 threshold,
out int numberOfPixelsAboveThreshold
)
void Area(
Euresys.Open_eVision_2_10.EROIBW16 sourceImage,
Euresys.Open_eVision_2_10.ERegion region,
Euresys.Open_eVision_2_10.EBW16 threshold,
out int numberOfPixelsAboveThreshold
)
void Area(
Euresys.Open_eVision_2_10.EROIBW8 sourceImage,
Euresys.Open_eVision_2_10.EROIBW8 mask,
Euresys.Open_eVision_2_10.EBW8 threshold,
out int numberOfPixelsAboveThreshold
)
void Area(
Euresys.Open_eVision_2_10.EROIBW16 sourceImage,
Euresys.Open_eVision_2_10.EROIBW8 mask,
Euresys.Open_eVision_2_10.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
Pointer 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.