EasyImage::Histogram
Computes the histogram of an image (count of each gray-level value).
Namespace: Euresys::Open_eVision_2_10
[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 (
numberOfSignificantBits
Number of significant bits; the histogram will possess 2numberOfSignificantBits entries.
saturate
Boolean indicating if values larger than 2mostSignificantBit-1 are saturated (default
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_2_10
[C#]
void Histogram(
Euresys.Open_eVision_2_10.EROIBW8 sourceImage,
Euresys.Open_eVision_2_10.EBWHistogramVector histogram
)
void Histogram(
Euresys.Open_eVision_2_10.EROIBW8 sourceImage,
Euresys.Open_eVision_2_10.ERegion region,
Euresys.Open_eVision_2_10.EBWHistogramVector histogram
)
void Histogram(
Euresys.Open_eVision_2_10.EROIBW16 sourceImage,
Euresys.Open_eVision_2_10.EBWHistogramVector histogram,
uint mostSignificantBit,
uint numberOfSignificantBits,
bool saturate
)
void Histogram(
Euresys.Open_eVision_2_10.EROIBW16 sourceImage,
Euresys.Open_eVision_2_10.ERegion region,
Euresys.Open_eVision_2_10.EBWHistogramVector histogram,
uint mostSignificantBit,
uint numberOfSignificantBits,
bool saturate
)
void Histogram(
Euresys.Open_eVision_2_10.EROIBW32 sourceImage,
Euresys.Open_eVision_2_10.EBWHistogramVector histogram,
uint mostSignificantBit,
uint numberOfSignificantBits,
bool saturate
)
void Histogram(
Euresys.Open_eVision_2_10.EROIBW8 sourceImage,
Euresys.Open_eVision_2_10.EROIBW8 mask,
Euresys.Open_eVision_2_10.EBWHistogramVector histogram
)
void Histogram(
Euresys.Open_eVision_2_10.EROIBW16 sourceImage,
Euresys.Open_eVision_2_10.EROIBW8 mask,
Euresys.Open_eVision_2_10.EBWHistogramVector histogram,
uint mostSignificantBit,
uint numberOfSignificantBits,
bool saturate
)
void Histogram(
Euresys.Open_eVision_2_10.EROIBW32 sourceImage,
Euresys.Open_eVision_2_10.EROIBW8 mask,
Euresys.Open_eVision_2_10.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 (
numberOfSignificantBits
Number of significant bits; the histogram will possess 2numberOfSignificantBits entries.
saturate
Boolean indicating if values larger than 2mostSignificantBit-1 are saturated (default
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.