


% -*- texinfo -*-
% @deftypefn {Function File} @var{B} = imclose (@var{A}, @var{se})
% Perform morphological closing on a given image.
% The image @var{A} must be a grayscale or binary image, and @var{se} must be a
% structuring element.
%
% The closing corresponds to a dilation followed by an erosion of the image, i.e.
% @example
% B = imerode(imdilate(A, se), se);
% @end example
% @seealso{imdilate, imerode, imclose}
% @end deftypefn