Colors\Median filter
Jump to navigation
Jump to search
Menu / Icon
This tool is accessible via the 'Edit > Colors > Median filter' menu.
Description
Smooths Colors by applying a spatial Median filter to each color component (Red,Green,Blue) individually.
parameters
- kernel size: radius of a sphere around each point inside which nearest neighbors will be extracted to compute the mean value. The bigger this radius, the stronger the filter will be (and the slower the computation...).
- color threshold: if all 3 color components of a point are below the threshold value or above '255 - threshold', 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 | 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