Compounds | |
class | Histogram |
Functions | |
Histogram (Image< T > &input, int no_bins=100) | |
Histogram (Image< T > &input, int no_bins, T min, T max) | |
void | equalize (Image< T > &output) |
void | showHistogram () |
void | writeHistogram (char *type, char *file_name) |
void | closeWindow () |
|
Constructor - It computes the gray level histogram for those pixels in the input image whose gray levels are in the range [min; max] using the indicated number of bins. Definition at line 45 of file Histogram.cpp. |
|
Constructor - It computes the gray level histogram of the input image using the indicated number of bins. It takes in consideration all gray levels in the input image. Definition at line 10 of file Histogram.cpp. |
|
Function related to the drawing methods (i.e. showHistogram() and writeHistogram()). It is available only if Plotutils package with libplotter class library is installed (see instalation notes). It closes the window opened by showHistogram(). Referenced by Histogram::~Histogram().
|
|
Performs histogram equalization of the image img and stores the result in the output image. If in the constructor a range was specified for which the histogram to be computed, then the equalization is applied only to those values inside the specified range. Definition at line 97 of file Histogram.cpp. |
|
Drawing method available only if Plotutils package with libplotter class library is installed (see instalation notes). It opens a window and plots in it the histogram or parts of it. The way of plotting the histogram as well as which part of it is plotted are determined by a number of parameters, which can be adjusted using methods provided by the Histogram class (we call these methods "methods related to the drawing subroutines"). |
|
Drawing method available only if Plotutils package with libplotter class library is installed (see instalation notes). It plots the histogram or parts of it in the file indicated by the parameter file_name, in a format given by the parameter type. The allowed types are: gif, PS, fig, and bmp. The way of plotting the histogram as well as which part of it is plotted are determined by a number of parameters, which can be adjusted using methods provided by the Histogram class (we call these methods "methods related to the drawing subroutines"). |