Fast Bilateral Filter for 3D Images

Fast bilateral filter for 3D images
2.9K Downloads
Updated 7 Apr 2011

View License

This is an implementation of fast bilateral filtering for 3D images. This filter smoothes the image while preserving edges, but in its most straightforward implementation is very computationally demanding, especially with large 3D images. Fast bilateral filtering (S. Paris and F. Durand, MIT[1]) is an approximation technique which drastically improves the speed of computation. My implementation closely follows the Matlab version of the fast 2D filter[2] with some modifications.

The core function allows to control all of the parameters of the filter (4 for the Gaussian kernel, 4 for the subsampling), and a wrapper function makes some simplifications for ease of use.

To perform the separable 4D convolution, I used my own function submitted separately to File Exchange (27957).

[1] http://people.csail.mit.edu/sparis/bf/
[2] http://people.csail.mit.edu/jiawen/software/bilateralFilter.m

Cite As

Igor Solovey (2024). Fast Bilateral Filter for 3D Images (https://www.mathworks.com/matlabcentral/fileexchange/30833-fast-bilateral-filter-for-3d-images), MATLAB Central File Exchange. Retrieved .

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

Inspired by: Separable N-Dimensional Convolution

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

Removed dependency on the Statistics Toolbox (range.m).

1.0.0.0