Eyeon:Manual/Tool Reference/Filter/Rank Filter

From VFXPedia

Jump to: navigation, search

Filter Tools

Tool Reference

Custom Filter

Erode Dilate

Filter

Rank Filter

Rank Filter [RFlt]

Image:Icon_RankFilter.png

The Rank Filter is a very simple tool. This filter examines nearby pixels, sorts the pixels by value, and then replaces the color of all the pixels examined by the color of the pixel with the specified rank. The well known median filter is simply a linear rank filter that selects the median, or middle value from the list of sorted values.

Contents


For example, a rank filter with a size of 1 will sample 9 adjacent pixels for their values. The following shows some example values, sorted by value.

 0.0
 0.4
 0.4
 0.5
 0.5
 0.7
 0.7
 0.7

A blur filter with the same size would average these values together to produce a value of 3.9. A rank filter lets you choose a value from the list to select. For example, a rank of four would select the fourth item in the list, producing a value of.5


Controls Tab

Size

This control determines the Size in pixels of the area sampled by the filter. A value of 1 will sample only the pixels immediately adjacent to the center pixel, while larger values sample from a larger area.

Small values are excellent for removing salt and pepper style noise, while larger values produce an effect similar to water color paintings.

Rank

The Rank determines which value from the sampled values will be chosen, where 0 is the lowest value and 1 is the brightest. If the value is .5, the pixel in the middle of the list will be sampled for the value.



The contents of this page are copyright by eyeon Software.



Tips for Rank Filter (edit)

EyeonTips:Manual/Tool Reference/Filter/Rank Filter