EasyImage::Histogram

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

Namespace: Euresys::Open_eVision

[C++]

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

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

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

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

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

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

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

static 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

Optional reference 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#]

static void Histogram(
   EROIBW8 sourceImage,
   EBWHistogramVector histogram
)

static void Histogram(
   EROIBW8 sourceImage,
   ERegion region,
   EBWHistogramVector histogram
)

static void Histogram(
   EROIBW16 sourceImage,
   EBWHistogramVector histogram,
   uint mostSignificantBit,
   uint numberOfSignificantBits,
   bool saturate
)

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

static void Histogram(
   EROIBW32 sourceImage,
   EBWHistogramVector histogram,
   uint mostSignificantBit,
   uint numberOfSignificantBits,
   bool saturate
)

static void Histogram(
   EROIBW8 sourceImage,
   EROIBW8 mask,
   EBWHistogramVector histogram
)

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

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

Parameters

sourceImage

Pointer to the source image/ROI.

histogram

Pointer to the destination vector.

region

Optional reference 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).

Module: open_evision

[Python]

@staticmethod
Histogram(
    sourceImage: EROIBW8
    histogram: EBWHistogramVector
) -> None

@staticmethod
Histogram(
    sourceImage: EROIBW8
    region: ERegion
    histogram: EBWHistogramVector
) -> None

@staticmethod
Histogram(
    sourceImage: EROIBW16
    histogram: EBWHistogramVector
    mostSignificantBit: int
    numberOfSignificantBits: int
    saturate: bool
) -> None

@staticmethod
Histogram(
    sourceImage: EROIBW16
    histogram: EBWHistogramVector
    mostSignificantBit: int
    numberOfSignificantBits: int
) -> None

@staticmethod
Histogram(
    sourceImage: EROIBW16
    region: ERegion
    histogram: EBWHistogramVector
    mostSignificantBit: int
    numberOfSignificantBits: int
    saturate: bool
) -> None

@staticmethod
Histogram(
    sourceImage: EROIBW16
    region: ERegion
    histogram: EBWHistogramVector
    mostSignificantBit: int
    numberOfSignificantBits: int
) -> None

@staticmethod
Histogram(
    sourceImage: EROIBW32
    histogram: EBWHistogramVector
    mostSignificantBit: int
    numberOfSignificantBits: int
    saturate: bool
) -> None

@staticmethod
Histogram(
    sourceImage: EROIBW32
    histogram: EBWHistogramVector
    mostSignificantBit: int
    numberOfSignificantBits: int
) -> None

@staticmethod
Histogram(
    sourceImage: EROIBW8
    mask: EROIBW8
    histogram: EBWHistogramVector
) -> None

@staticmethod
Histogram(
    sourceImage: EROIBW16
    mask: EROIBW8
    histogram: EBWHistogramVector
    mostSignificantBit: int
    numberOfSignificantBits: int
    saturate: bool
) -> None

@staticmethod
Histogram(
    sourceImage: EROIBW16
    mask: EROIBW8
    histogram: EBWHistogramVector
    mostSignificantBit: int
    numberOfSignificantBits: int
) -> None

@staticmethod
Histogram(
    sourceImage: EROIBW32
    mask: EROIBW8
    histogram: EBWHistogramVector
    mostSignificantBit: int
    numberOfSignificantBits: int
    saturate: bool
) -> None

@staticmethod
Histogram(
    sourceImage: EROIBW32
    mask: EROIBW8
    histogram: EBWHistogramVector
    mostSignificantBit: int
    numberOfSignificantBits: int
) -> None

Parameters

sourceImage

Pointer to the source image/ROI.

histogram

Pointer to the destination vector.

region

Optional reference 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.