A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.arrayfire.org/docs/group__image__func__histequal.htm below:

ArrayFire: histequal

Histogram equalization of input image. More...

Histogram equalization of input image.

Histogram equalization is a method in image processing of contrast adjustment using the image's histogram.

Data normalization via histogram equalization

◆ af_hist_equal()

C Interface for histogram equalization.

Parameters
[out] out is an array with data that has histogram approximately equal to histogram [in] in is the input array, non-normalized input (!! assumes values [0-255] !!) [in] hist target histogram to approximate in output (based on number of bins)
Returns
AF_SUCCESS if the color transformation is successful, otherwise an appropriate error code is returned.
Note
in must be two dimensional.
◆ histequal()

C++ Interface for histogram equalization.

float input[] = {1, 2, 1, 1, 3, 6, 7, 8, 3};

int nbins = 10;

size_t nElems = sizeof(input) / sizeof(float);

array hist_in(nElems, input);

array eq_out =

histEqual

(hist_in, hist_out);

AFAPI array histEqual(const array &in, const array &hist)

C++ Interface for histogram equalization.

AFAPI array histogram(const array &in, const unsigned nbins, const double minval, const double maxval)

C++ Interface for histogram.

Parameters
[in] in is the input array, non-normalized input (!! assumes values [0-255] !!) [in] hist target histogram to approximate in output (based on number of bins)
Returns
data with histogram approximately equal to histogram
Note
in must be two dimensional.
Deprecated:
Use histEqual instead
◆ histEqual()

C++ Interface for histogram equalization.

float input[] = {1, 2, 1, 1, 3, 6, 7, 8, 3};

int nbins = 10;

size_t nElems = sizeof(input) / sizeof(float);

array hist_in(nElems, input);

array eq_out =

histEqual

(hist_in, hist_out);

Parameters
[in] in is the input array, non-normalized input (!! assumes values [0-255] !!) [in] hist target histogram to approximate in output (based on number of bins)
Returns
data with histogram approximately equal to histogram
Note
in must be two dimensional.

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4