DIPlib Documentation - ©1995-2008 Quantitative Imaging Group, Delft University of Technology.

GetMaximumAndMinimum

statistics function

SYNOPSIS

#include "dip_math.h"

dip_Error dip_GetMaximumAndMinimum ( in, mask, max, min )

DATA TYPES

integer, float

FUNCTION

This function gets both the maximum and minimum of all the pixel values in the in image. Optionally, a mask image can be specified to exclude pixels from this search.

ARGUMENTS

Data typeNameDescription
dip_ImageinInput image
dip_Imagemask (0)Mask image
dip_float*maxPointer to maximum variable
dip_float*minPointer to minimum variable

SEE ALSO

Maximum, Minimum

DIPlib on-line documentation | Function reference | Global function index