Image Filtering: Difference between revisions
No edit summary |
|||
Line 17: | Line 17: | ||
{{ main | Wikipedia: Bilateral filtering }} | {{ main | Wikipedia: Bilateral filtering }} | ||
A bilateral filter is a gaussian filter but pixels are additionally weighted by the gaussian of the intensity difference. Hence, edges are preserved since adjacent pixels which have significantly different intensity are weighted much less. | A bilateral filter is a gaussian filter but pixels are additionally weighted by the gaussian of the intensity difference. Hence, edges are preserved since adjacent pixels which have significantly different intensity are weighted much less. | ||
This can be used for upsampling lower resolution depth maps or tone maps using [https://johanneskopf.de/publications/jbu/paper/FinalPaper_0185.pdf joint bilateral upscaling]. E.g. if you have a low-resolution image, low-resolution depth, and a high-resolution reference, you can upscale the depth while keeping the edges from the high-resolution reference. | |||
==Upfiltering== | ==Upfiltering== |