GetHistParameter
Gets histogram parameter
int GetHistParameter(
const int *histgram,
const int num,
const int nep,
int *max,
int *min,
int *mid
)
Parameters
*histgram
|
Histogram
|
num
|
Number of histogram arrays
|
nep
|
Number of valid pixels
|
*max
|
Maximum value storage space (output)
|
*min
|
Minimum value storage space (output)
|
*mid
|
Middle value storage space (output)
|
Return Value
NORMAL(0): Successful completion
ERROR(-1): Unsuccessful completion
Description
Calculates the maximum/minimum/middle value from the histogram array.
The histogram array is a single dimensional array consisting of the numbers specified by "num".
Notes