EasyImage::AreaDoubleThreshold

Counts the pixels whose values are comprised between (or on) two thresholds.

Namespace: Euresys::Open_eVision

[C++]

void AreaDoubleThreshold(
   const EROIBW8* sourceImage,
   EBW8 lowThreshold,
   EBW8 highThreshold,
   int& numberOfPixelsBetweenThresholds
)

void AreaDoubleThreshold(
   const EROIBW16* sourceImage,
   EBW16 lowThreshold,
   EBW16 highThreshold,
   int& numberOfPixelsBetweenThresholds
)

void AreaDoubleThreshold(
   const EROIBW8* sourceImage,
   const ERegion& region,
   EBW8 lowThreshold,
   EBW8 highThreshold,
   int& numberOfPixelsBetweenThresholds
)

void AreaDoubleThreshold(
   const EROIBW16* sourceImage,
   const ERegion& region,
   EBW16 lowThreshold,
   EBW16 highThreshold,
   int& numberOfPixelsBetweenThresholds
)

void AreaDoubleThreshold(
   const EROIBW8* sourceImage,
   const EROIBW8* mask,
   EBW8 lowThreshold,
   EBW8 highThreshold,
   int& numberOfPixelsBetweenThresholds
)

void AreaDoubleThreshold(
   const EROIBW16* sourceImage,
   const EROIBW8* mask,
   EBW16 lowThreshold,
   EBW16 highThreshold,
   int& numberOfPixelsBetweenThresholds
)

Parameters

sourceImage

Pointer to the source image/ROI.

lowThreshold

Inferior threshold.

highThreshold

Superior threshold.

numberOfPixelsBetweenThresholds

Reference to the count of pixels that are above or equal to the inferior threshold, and strictly below the superior 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.AreaDoubleThreshold

Counts the pixels whose values are comprised between (or on) two thresholds.

Namespace: Euresys.Open_eVision

[C#]

void AreaDoubleThreshold(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   Euresys.Open_eVision.EBW8 lowThreshold,
   Euresys.Open_eVision.EBW8 highThreshold,
   out int numberOfPixelsBetweenThresholds
)

void AreaDoubleThreshold(
   Euresys.Open_eVision.EROIBW16 sourceImage,
   Euresys.Open_eVision.EBW16 lowThreshold,
   Euresys.Open_eVision.EBW16 highThreshold,
   out int numberOfPixelsBetweenThresholds
)

void AreaDoubleThreshold(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   Euresys.Open_eVision.ERegion region,
   Euresys.Open_eVision.EBW8 lowThreshold,
   Euresys.Open_eVision.EBW8 highThreshold,
   out int numberOfPixelsBetweenThresholds
)

void AreaDoubleThreshold(
   Euresys.Open_eVision.EROIBW16 sourceImage,
   Euresys.Open_eVision.ERegion region,
   Euresys.Open_eVision.EBW16 lowThreshold,
   Euresys.Open_eVision.EBW16 highThreshold,
   out int numberOfPixelsBetweenThresholds
)

void AreaDoubleThreshold(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   Euresys.Open_eVision.EROIBW8 mask,
   Euresys.Open_eVision.EBW8 lowThreshold,
   Euresys.Open_eVision.EBW8 highThreshold,
   out int numberOfPixelsBetweenThresholds
)

void AreaDoubleThreshold(
   Euresys.Open_eVision.EROIBW16 sourceImage,
   Euresys.Open_eVision.EROIBW8 mask,
   Euresys.Open_eVision.EBW16 lowThreshold,
   Euresys.Open_eVision.EBW16 highThreshold,
   out int numberOfPixelsBetweenThresholds
)

Parameters

sourceImage

Pointer to the source image/ROI.

lowThreshold

Inferior threshold.

highThreshold

Superior threshold.

numberOfPixelsBetweenThresholds

Reference to the count of pixels that are above or equal to the inferior threshold, and strictly below the superior 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.