matlab 双边滤波

本文介绍了MATLAB中实现双边滤波的原理和程序,包括bfilter2函数的详细说明,该函数根据输入参数进行预处理,并应用于灰度或彩色图像,通过高斯距离权重和强度权重计算双边滤波响应。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

双边滤波原理:

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值