MIN = 0 | Minimal value of the ranking matrix is used. |
MAX = 1 | Maximum value of the ranking matrix is used. |
MEDIAN = 2 | Median value of the ranking matrix is used. Note Since to find a median then values need to be sorted then this method can be slow as each channel for every pixels surrounding matrix needs to be sorted. |