FVS Fingerprint Verification System API Documentation

histogram.h File Reference

#include "fvstypes.h"
#include "image.h"

Go to the source code of this file.

Typedefs

typedef FvsHandle_t FvsHistogram_t

Functions

FvsHistogram_t HistogramCreate (void)
void HistogramDestroy (FvsHistogram_t histogram)
FvsError_t HistogramReset (FvsHistogram_t histogram)
FvsError_t HistogramCompute (FvsHistogram_t histogram, const FvsImage_t image)
FvsByte_t HistogramGetMean (const FvsHistogram_t histogram)
FvsUint_t HistogramGetVariance (const FvsHistogram_t histogram)


Typedef Documentation

typedef FvsHandle_t FvsHistogram_t
 

The implementation of the object is private and must not be known by the user. Use this handle to manipulate the file through the functions provided hereunder.


Function Documentation

FvsHistogram_t HistogramCreate void   
 

Create a new histogram object.

Returns:
NULL if allocation failed, otherwise a new object handle.

void HistogramDestroy FvsHistogram_t    histogram
 

Destroy an existing histogram object.

Parameters:
histogram pointer to the object to be deleted.
Returns:
An error code

FvsError_t HistogramReset FvsHistogram_t    histogram
 

Reset an histogram to 0.

Parameters:
histogram Histogram object to modify
Returns:
An error code

FvsError_t HistogramCompute FvsHistogram_t    histogram,
const FvsImage_t    image
 

Compute the histogram of an 8bit image.

Parameters:
histogram Histogram object to modify
image Image grom which the histogram will be computed
Returns:
An error code

FvsByte_t HistogramGetMean const FvsHistogram_t    histogram
 

Get the mean of an histogram.

Parameters:
histogram Histogram object
Returns:
The mean gray value

FvsUint_t HistogramGetVariance const FvsHistogram_t    histogram
 

Get the variance of an histogram.

Parameters:
histogram Histogram object
Returns:
The histogram standard deviation


Generated on Sat May 31 20:07:30 2003 for FVS Fingerprint Verification System by doxygen 1.3-rc3 Jaap de Haan (BinaryMan)