Min Max Filter

 
 
 

Grows dark areas into light areas, or vice versa, by creating a box of a user-defined size around each pixel, sorting all of the pixels in that box into order of intensity, determining the minimum or maximum pixel, and replacing the initial pixel with that color. Useful for shrinking masks; use a larger box size to create artistic effects. The Min Max Filter is a sub-set of the Rank Filter.

Requires an Input (Any).

Produces an Output (Any).

Filter

Width, Height

Sets the size of the box. Set a pixel values using the slider.

Tolerance

Protects areas where the change in intensity is small. If the minimum or maximum value determined within the box falls within the set Tolerance from the initial pixel value in any component, the pixel will not be replaced. Set a value between 0 and 1 using the slider.

MinMax

Sets the type of filter. Select Minimum to grow dark areas into light areas (erode), or Maximum to grow light areas into dark areas (dilate).

Search Mode

Sets the criteria on which the pixels are sorted. Select Red, Green, Blue, Alpha or Luminance.

Mask

Controls this operator's Mask Options.

Output

Controls this operator's Output Options.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License