EasyImage::Histogram

Computes the histogram of an image (count of each gray-level value).

Namespace: Euresys::Open_eVision

[C++]

void Histogram(
   const EROIBW8* sourceImage,
   EBWHistogramVector* histogram
)

void Histogram(
   const EROIBW8* sourceImage,
   const ERegion& region,
   EBWHistogramVector* histogram
)

void Histogram(
   const EROIBW16* sourceImage,
   EBWHistogramVector* histogram,
   OEV_UINT32 mostSignificantBit,
   OEV_UINT32 numberOfSignificantBits,
   bool saturate
)

void Histogram(
   const EROIBW16* sourceImage,
   const ERegion& region,
   EBWHistogramVector* histogram,
   OEV_UINT32 mostSignificantBit,
   OEV_UINT32 numberOfSignificantBits,
   bool saturate
)

void Histogram(
   const EROIBW32* sourceImage,
   EBWHistogramVector* histogram,
   OEV_UINT32 mostSignificantBit,
   OEV_UINT32 numberOfSignificantBits,
   bool saturate
)

void Histogram(
   const EROIBW8* sourceImage,
   const EROIBW8* mask,
   EBWHistogramVector* histogram
)

void Histogram(
   const EROIBW16* sourceImage,
   const EROIBW8* mask,
   EBWHistogramVector* histogram,
   OEV_UINT32 mostSignificantBit,
   OEV_UINT32 numberOfSignificantBits,
   bool saturate
)

void Histogram(
   const EROIBW32* sourceImage,
   const EROIBW8* mask,
   EBWHistogramVector* histogram,
   OEV_UINT32 mostSignificantBit,
   OEV_UINT32 numberOfSignificantBits,
   bool saturate
)

Parameters

sourceImage

Pointer to the source image/ROI.

histogram

Pointer to the destination vector.

region

Pointer to a region to apply the function only on a particular region in the image.

mostSignificantBit

Index of the most significant bit of the pixels (0 has weight 1).

numberOfSignificantBits

Number of significant bits; the histogram will possess 2numberOfSignificantBits entries.

saturate

Boolean indicating if values larger than 2mostSignificantBit-1 are saturated (default true) or not (false).

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.Histogram

Computes the histogram of an image (count of each gray-level value).

Namespace: Euresys.Open_eVision

[C#]

void Histogram(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   Euresys.Open_eVision.EBWHistogramVector histogram
)

void Histogram(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   Euresys.Open_eVision.ERegion region,
   Euresys.Open_eVision.EBWHistogramVector histogram
)

void Histogram(
   Euresys.Open_eVision.EROIBW16 sourceImage,
   Euresys.Open_eVision.EBWHistogramVector histogram,
   uint mostSignificantBit,
   uint numberOfSignificantBits,
   bool saturate
)

void Histogram(
   Euresys.Open_eVision.EROIBW16 sourceImage,
   Euresys.Open_eVision.ERegion region,
   Euresys.Open_eVision.EBWHistogramVector histogram,
   uint mostSignificantBit,
   uint numberOfSignificantBits,
   bool saturate
)

void Histogram(
   Euresys.Open_eVision.EROIBW32 sourceImage,
   Euresys.Open_eVision.EBWHistogramVector histogram,
   uint mostSignificantBit,
   uint numberOfSignificantBits,
   bool saturate
)

void Histogram(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   Euresys.Open_eVision.EROIBW8 mask,
   Euresys.Open_eVision.EBWHistogramVector histogram
)

void Histogram(
   Euresys.Open_eVision.EROIBW16 sourceImage,
   Euresys.Open_eVision.EROIBW8 mask,
   Euresys.Open_eVision.EBWHistogramVector histogram,
   uint mostSignificantBit,
   uint numberOfSignificantBits,
   bool saturate
)

void Histogram(
   Euresys.Open_eVision.EROIBW32 sourceImage,
   Euresys.Open_eVision.EROIBW8 mask,
   Euresys.Open_eVision.EBWHistogramVector histogram,
   uint mostSignificantBit,
   uint numberOfSignificantBits,
   bool saturate
)

Parameters

sourceImage

Pointer to the source image/ROI.

histogram

Pointer to the destination vector.

region

Pointer to a region to apply the function only on a particular region in the image.

mostSignificantBit

Index of the most significant bit of the pixels (0 has weight 1).

numberOfSignificantBits

Number of significant bits; the histogram will possess 2numberOfSignificantBits entries.

saturate

Boolean indicating if values larger than 2mostSignificantBit-1 are saturated (default true) or not (false).

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.