histogram.h File Reference
#include "fvstypes.h"
#include "image.h"
Go to the source code of this file.
Typedef Documentation
|
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
|
Create a new histogram object. - Returns:
- NULL if allocation failed, otherwise a new object handle.
|
|
Destroy an existing histogram object. - Parameters:
-
histogram | pointer to the object to be deleted. |
- Returns:
- An error code
|
|
Reset an histogram to 0. - Parameters:
-
histogram | Histogram object to modify |
- Returns:
- An error code
|
|
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
|
|
Get the mean of an histogram. - Parameters:
-
histogram | Histogram object |
- Returns:
- The mean gray value
|
|
Get the variance of an histogram. - Parameters:
-
histogram | Histogram object |
- Returns:
- The histogram standard deviation
|