%dip_maximumpixel   Gets the value and position of the maximum.
%    [position,max] = dip_maximumpixel(in, mask, first)
%
%   in
%      Image.
%   mask
%      Mask image. Can be [] for no mask.
%   first
%      Boolean number (1 or 0).
%
%   position
%      Integer array.
%   max
%      Real number.

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

