双边滤波原理:
http://scien.stanford.edu/pages/labsite/2006/psych221/projects/06/imagescaling/bilati.html
双边滤波matlab程序
双边滤波原理:
http://scien.stanford.edu/pages/labsite/2006/psych221/projects/06/imagescaling/bilati.html
双边滤波matlab程序
函数help说明,当在command窗口输入help bfilter2时会显示这些说明文字。这些说明文字在m文档中以注释形式出现,在遇到第一个空行(这行什么也么有)或者没有注释的语句结束。
% BFILTER2 Twodimensional bilateral filtering.
% This function implements 2-D bilateralfiltering using
% the method outlined in:
%
% C. Tomasi and R. Manduchi. BilateralFiltering for
% Gray and Color Images. In Proceedings ofthe IEEE
% International Conference on ComputerVision, 1998.
%
% B = bfilter2(A,W,SIGMA) performs 2-Dbilateral filtering
% for the grayscale or color image A. Ashould be a double
% precision matrix of size NxMx1 or NxMx3(i.e., grayscale
% or color images, respectively) withnormalized values in
% the closed interval [0,1]. The half-size ofthe Gaussian
% bilateral filter window is defined by W.The standard
% deviations of the bilateral filter aregiven by SIGMA,
% whe