NAME
histogram_unit -- create unit to compute histogram
PROTOTYPE
unitptr histogram_unit( int iDim, int iNum, float fMin, float fMax, unitptr uHost)
ARGUMENTS
- int iDim
- dimension of input vector
- int iNum
- nr of bins
- float fMin
- lower limit of binned interval
- float fMax
- upper limit of binned interval
- unitptr uHost
- host unit
RETURN VALUE:
A pointer to the created unit or NULL in the case of an error.
INTERFACE OF CREATED UNIT:
- X_in[iDim]:
- (input field 0) input vector. iDim=0 yields dynamic input.
- Y_in[2]:
- (input field 1) lower and upper limit of binned range
- CTL_in[]:
- (control field)
- X_out[iNum]:
- (packed output field 0) histogram vector
- Y_out[3]:
- (output field 1) minimal, most frequent and maximal value
in input vector X_in.
- Z_out[3]:
- (output field 2) minimal, most frequent and maximal
bin index.
EXECUTION OF CREATED UNIT:
INITIALIZATION:
DESCRIPTION:
CONTROL MODES:
EXAMPLES:
STATUS:
Preliminary.
SEE ALSO:
FILE
/homes/jontrup/nst5/man/../o.sol2//../foldersrc/nst_pixel.c