File Exchange

image thumbnail

Joint Bilateral filter

version (1.59 MB) by Mahmoud Afifi
bfilter2 function performs two dimensional bilateral Gaussian filtering.


Updated 04 Jan 2019

View License

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 a 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.

Cite As

Mahmoud Afifi (2019). Joint Bilateral filter (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (4)

@Law lingling: No, this is the regular joint Bilateral filter. For fast bilateral filter, you can check this Matlab func

Is this the O(1) JBF?

Yu Chi




MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Joint Bilateral filter