%dip_generalisedkuwaharaimproved   Generalised Kuwahara filter.
%    out = dip_generalisedkuwaharaimproved(in, selection, se, filterParam, shape, threshold, minimum)
%
%   in
%      Image.
%   selection
%      Image.
%   se
%      Image.
%   filterParam
%      Real array.
%   shape
%      Filter shape. String containing one of the following values:
%      'rectangular', 'elliptic', 'diamond', 'parabolic', 'user_defined'.
%   threshold
%      Real number.  
%   minimum
%      Boolean number (1 or 0).

% (c)2010, Cris Luengo, Centre for Image Analysis, Uppsala, Sweden.
