%dip_kuwaharaimproved   Edge perserving smoothing filter.
%    out = dip_kuwaharaimproved(in, se, filterParam, shape, threshold)
%
%   in
%      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.  

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