vectorPeak

[ XITE Reference Manual | XITE home ]

Name

vectorPeak, rowMaxBand, colMaxBand, rowMinBand, colMinBand, rowMax, colMax, rowMin, colMin - Maximum and minimum of BIFF band row or column

Syntax

 #include <xite/arithmetic.h>

 double rowMaxBand( IBAND band, int y );
 double colMaxBand( IBAND band, int x );
 double rowMinBand( IBAND band, int y );
 double colMinBand( IBAND band, int x );

 double rowMax( IMAGE img, int bandno, int y );
 double colMax( IMAGE img, int bandno, int x );
 double rowMin( IMAGE img, int bandno, int y );
 double colMin( IMAGE img, int bandno, int x );

Description

rowMaxBand returns the maximum value among the pixels in row number y of band.

rowMax behaves like rowMaxBand, except on band number bandno in image img.

The image versions of these functions are macros calling the band versions. The image versions are retained for compatibility with previous XITE versions.

All pixeltypes are accepted. If a band is of type Icomplex_typ or Id_complex_typ, the absolute values are used.

Return value

The returning value is a double.

See also

crossSection(3), crossSection(1)

Author

Svein Bøe, BLAB, Ifi, UiO