Main Page | Class Hierarchy | Class List | File List | Class Members

LIBCP::Histogram Class Reference

a class with histogram related static functions More...

#include <histogram.h>

List of all members.

Static Public Member Functions

void makeHistogram (Image *img, histo *histogram)
int negativeImage (Image *dst, Image *src)
int markLevelRange (Image *dst, Image *src, int markStart, int markEnd, Color *col, bool background=true)
int stretchContrast (Image *dst, Image *src)
int logarithmOperator (Image *dst, Image *src)
int binarize (Image *dst, Image *src, int threshold)
int hysteresisThreshold (Image *dst, Image *src, const int low, const int up)
int falseColoring (Image *dst, Image *src)
int gammaCorrection (Image *dst, Image *src, float r=2.2f)
int localThreshold (Image *dst, Image *src)


Detailed Description

a class with histogram related static functions


Member Function Documentation

int LIBCP::Histogram::binarize Image dst,
Image src,
int  threshold
[static]
 

Binarize image using a local hysteresis threshold

int LIBCP::Histogram::gammaCorrection Image dst,
Image src,
float  r = 2.2f
[static]
 

Gamma correction of the input image

int LIBCP::Histogram::hysteresisThreshold Image dst,
Image src,
const int  low,
const int  up
[static]
 

Performs a hysteresis thresholding over the input image.

void LIBCP::Histogram::makeHistogram Image img,
histo *  histogram
[static]
 

Compute the histogram of an image

int LIBCP::Histogram::markLevelRange Image dst,
Image src,
int  rangeStart,
int  rangeStop,
Color *  col,
bool  background = true
[static]
 

Mark a level range in the image with a selected color. The background may be cleared or it may retain the orginal image

int LIBCP::Histogram::negativeImage Image dst,
Image src
[static]
 

Compute the negative image

int LIBCP::Histogram::stretchContrast Image dst,
Image src
[static]
 

Automatic full range stretching of the input image


The documentation for this class was generated from the following files:
Generated on Wed May 26 16:43:53 2004 for libcp by doxygen 1.3.7