%
% [ZK97] J.X. Zhang and R.P. Kirby: "An evaluation of fuzzy approaches to% mapping land cover from aerial photographs", ISPRS Journal of
% Photogrammetry and Remote Sensing, 52(5):193-201, 1997. %
%% [Bur96] P.A. Burrough: "Natural objects with indeterminate boundaries",
% in Geographic Objects with Indeterminate Boundaries, P.A. Burrough and% A.U. Frank eds., Taylor & Francis (London, UK), pp.3-28, 1996.
% %
% [ZK00] J. Zhang and R.P. Kirby: "A comparison of alternative criteria% for defining fuzzy boundaries on fuzzy categorical maps", Geo-spatial
% Information Science, 3(2):26-34, 2000.%
%%% Credit
% (ISR-2/LANL)%
%% See also% Requires:
% .
%% Function implementationfunction fmap = fuzzbound(fmemb,varargin)
%%
% parsing parameters
error(nargchk(1, 3, nargin, 'struct'));error(nargoutchk(1, 1, nargout, 'struct'));
% mandatory parameter
if ~isnumeric(fmemb) error('fuzzbound:inputerror','a matrix is required in input');
end
% optional parametersp = createParser('FUZZBOUND');
% principal optional parametersp.addParamValue('thmax', [], @(x)isempty(x) || (isscalar(x) && x>=0. && x<=1));
p.addParamValue('thcon', [], @(x)isempty(x) || (isscalar(x) && x>=0. && x<=1));p.addParamValue('thent', [], @(x)isempty(x) || (isscalar(x) && x>=0. && x<=1));
% parse and validate all input arguments
p.parse(varargin{:}); p = getvarParser(p);
%%
% main calculation
fmap = fuzzbound_base(fmemb, p.thmax, p.thcon, p.thent);
end % end of fuzzbound
##### SOURCE END #####-->