%dip_localminima   Local minima detection.
%    out = dip_localminima(in, mask, connectivity, max_depth, max_size, binaryOutput)
%
%   in
%      Image.
%   mask
%      Optional mask image.
%   connectivity
%      Integer number (1 to n, for nD image).
%   max_depth
%      Real number: a region of this depth or less can be merged.
%   max_size
%      Integer number. a region of this size or less can be merged.
%   binaryOutput
%      Boolean number (1 or 0).


% (C) Copyright 1999-2005               Pattern Recognition Group
%     All rights reserved               Faculty of Applied Physics
%                                       Delft University of Technology
%                                       Lorentzweg 1
%                                       2628 CJ Delft
%                                       The Netherlands
%
% Cris Luengo, March 2002.
