Joint Bilateral filter

所属分类:图形图像处理
开发工具:matlab
文件大小:1610KB
下载次数:6
上传日期:2020-04-22 21:26:32
上 传 者坐忘含光
说明:  双边滤波器是一种在去噪的同时能很好地保留图像边缘等细节信息的非线 性滤波技术。
(Bilateral filter is a kind of nonlinear filtering technology which can keep the details of image edge while denoising.)

文件列表:
Joint Bilateral filter\Demo.m (482, 2020-02-27)
Joint Bilateral filter\bfilter2.m (3826, 2017-11-10)
Joint Bilateral filter\demo.jpg (300166, 2017-04-07)
Joint Bilateral filter\image1.jpg (636620, 2017-04-07)
Joint Bilateral filter\image2.jpg (647883, 2017-04-07)
Joint Bilateral filter\result2.jpg (101877, 2020-02-27)
Joint Bilateral filter (0, 2020-02-27)

bfilter2 function perfroms two dimensional bilateral gaussian filtering. The standard deviations of the bilateral filter are given by sigma1 and sigma2, where the standard deviation of spatial-domain is given by sigma1 and the standard deviation intensity-domain is given by sigma2. This function presents both bilateral filter and joint-bilateral filter. If you use the same image as image1 and image2, it is the normal bilateral filter; however, if you use different images in image1 and image2, you can use it as joint-bilateral filter, where the intensity-domain (range weight) calculations are performed using image2 and the spatial-domain (space weight) calculations are performed using image1. Author: Mahmoud Afifi, York University. Usage: %Example1: normal bilateral filter using 5x5 kernel, spatial-sigma=6, and %intensity-sigma= 0.25: image=bfilter2(I1,I1,5,1.2,0.25); %Example2: joint-bilateral filter using 5x5 kernel, spatial-sigma=1.2, %and range-sigma= 0.25, the spatial-domain calculations are performed %using image (I1) and the intensity-domain calulcations (range weight) %are performed using image (I2): image=bfilter2(I1,I2,5,1.2,0.25); %Example3: use the default values for n, sigma1, and sigma2 image=bfilter2(I1); Input: -image1: the spatial-domain image -image2: the intensity-domain (range weight) image (use the same image for the normal bilateral filter. Use different images for joint-bilateral filter. (default, use the same image; i.e. image2=image1) -n: kernel (window) size [nxn], should be odd number (default=5) -sigma1: the standard deviation of spatial-domain (default=1.2) sigma2: the standard deviation of intensity-domain (default=0.25)

近期下载者

相关文件


收藏者