%dip_morphologicalreconstruction   Morphological grey-value reconstruction.
%    out = dip_morphologicalreconstruction(marker,mask,connectivity)
%
%   marker
%      Image.
%   mask
%      Image.
%   connectivity
%      Integer

% (C) Copyright 1999-2008               Pattern Recognition Group
%     All rights reserved               Faculty of Applied Physics
%                                       Delft University of Technology
%                                       Lorentzweg 1
%                                       2628 CJ Delft
%                                       The Netherlands
%
% Bernd Rieger,March 2002.
% 1 July 2008 - Added connectivity parameter. (CL)
