band_minmax
[ XITE Reference Manual | XITE home ]
Name
band_minmax, band_minmax_disp - find minimum and maximum in
a BIFF image band
Syntax
#include <xite/statistics.h>
int band_minmax( IBAND band, double* minval,
double* maxval );
int band_minmax_disp( IBAND band, double *minval,
double *maxval );
Description
band_minmax searches through the band and returns minval
(minimum value) and maxval (maximum value) in the band.
band_minmax_disp is a wrapper around band_minmax.
It returns minval and maxval so that they may be used
as XtNminval and XtNmaxval resources for the Image and
ImageOverlay widgets.
Return value
0 - Ok
2 - Wrong Pixeltype
Restrictions
Does not work on complex band.
Author
Otto Milvang