Overview
A Bilateral Filter averages nearby pixels with weights based on both spatial closeness and intensity similarity.
Smooths images while preserving edges by considering distance and color similarity.
Compact metadata for implementation and discovery.
A Bilateral Filter averages nearby pixels with weights based on both spatial closeness and intensity similarity.
Quick facts
Runtime and memory behavior at a glance.
Best
O(w h k)
Average
O(w h k)
Worst
O(w h k)
Space
O(w h)
weight = spatial_weight(distance) * range_weight(value_difference)Blends nearby pixels while reducing influence from pixels with very different intensity.
Show flat regions smoothing while edges remain sharp.
Bilateral Filter operates in O(w h k) time and O(w h) space within the Edge-Preserving Filter family. Key governing relation: weight = spatial_weight(distance) * range_weight(value_difference). Often compared with Gaussian Blur and Median Filter.
What each reference supports for this entry.
Reference for edge-preserving filtering using spatial and range-domain weights.
Open sourceImage-processing textbook support for Bilateral Filter filter, diffusion, thresholding, or restoration mechanism.
Good next jumps from the relationship graph, ranked for useful discovery.
Bilateral filtering smooths images while preserving edges better than plain Gaussian blur.