Colors\Bilateral filter

From CloudCompare wiki
Jump to navigation Jump to search

This tool is accessible via the 'Edit > Colors > Bilateral filter' menu.

Description

Smooths a colors by applying a bilateral filter to the color components individually using the active scalar field as well.

parameters

  • spatial sigma: the Normal distribution variance for the spatial part of the filter
  • scalar sigma: the Normal distribution variance for the scalar part of the filter
  • color threshold: if all 3 color components of a point are below the threshold value or above '255 - threshold value', then this color will not be used in the computation.
    • Example: if threshold = 2, rgb(0,0,0) is excluded, rgb(2,2,2) is excluded, rgb(253,253,253) is excluded, rgb(255,255,255) is excluded, but rgb(100,255,255) is included.


No filter Gaussian filter Bilateral filter Mean filter Median filter
No Filter Edit > colors > Gaussian filter Edit > colors > Bilateral filter Edit > colors > Mean filter Edit > colors > Median filter

Note: the original colors will be overwritten. If you want to preserve original colors, use Edit > Colors > Convert to scalar field