HistgramModel
Registers histogram model
int HistgramModel(
const IMAGE *image,
const FIG_HEADER *figure,
int *num,
BYTE *model
)
Parameters
*image
|
Image data structure address
|
*figure
|
Figure data structure address
|
*num
|
Number of histogram arrays
|
*model
|
Model data
|
Return Value
NORMAL(0): Successful completion
ERROR(-1): Unsuccessful completion
Description
Gets the model data of histogram.
When you call this library, you need to allocate the model data storage space in advance.
"num" stores the number of arrays which must be allocated in advance when calculating histogram. Currently, this value is fixed at 256.
Notes