Home > freetb4matlab > image > medfilt2.m

medfilt2

PURPOSE ^

% Two dimensional median filtering.

SYNOPSIS ^

function retval = medfilt2(A, varargin)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} medfilt2(@var{A}, [@var{domain}, @var{padding}])
% Two dimensional median filtering.
%
% Replaces elements of @var{A} with the median of their neighbours defined 
% by true elements of logical matrix @var{domain}. The default @var{domain} 
% is a 3 by 3 matrix with all elements equal to 1. If @var{domain} is 1 by 2
% row vector, the domain matrix will be 
% logical(ones(@var{domain}(2), @var{domain}(1))).
%
% Optional variable @var{padding} defines the padding used in augmenting 
% the borders of @var{A}. See impad for details.
%
% @seealso{ordfilt2}
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sat 16-May-2009 00:04:49 by m2html © 2003