LibCapy - colorHisto

Class to manipulate image's color histogram.

Macros:

Number of buckets in the histogram

Enumerations:

Histogram types

Typedefs:

None.

Struct CapyColorHisto :

Struct CapyColorHisto's properties:

Histogram values

Histogram cumulative values

Struct CapyColorHisto's methods:

Destructor

Extract the color histograms from an image

Input argument(s):

img: the image

Correct an image to match the histogram for a given type

Input argument(s):

img: the image
type: the type of histogram to be matched

Functions:

Create a CapyColorHisto

Output and side effect(s):

Return a CapyColorHisto

Allocate memory for a new CapyColorHisto and create it

Output and side effect(s):

Return a CapyColorHisto

Exception(s):

May raise CapyExc_MallocFailed.

Create a CapyColorHisto with uniform distribution

Output and side effect(s):

Return a CapyColorHisto

Allocate memory for a new CapyColorHisto wit uniform distribution and create it

Output and side effect(s):

Return a CapyColorHisto

Exception(s):

May raise CapyExc_MallocFailed.

Free the memory used by a CapyColorHisto* and reset '*that' to NULL

Input argument(s):

that: a pointer to the CapyColorHisto to free

2022-03-06
in LibCapy,
40 views
Copyright 2021-2024 Baillehache Pascal