Median
Input image pixels within the filter area, defined by the size control, are sorted into order and the median pixel is output to the Viewer. Median filter are very good at removing single pixel noise, with only a slight loss of sharpness as a side effect.
Inputs and Controls
Connection Type |
Connection Name |
Function |
Input |
unnamed |
The image to apply the median filter to. |
Control (UI) |
Knob (Scripting) |
Default Value |
Function |
Median Tab |
|||
channels |
channels |
all |
The effect is only applied to these channels. If you set this to something other than all or none, you can use the checkboxes on the right to select individual channels. |
size |
size |
3 |
Defines the filter area, in pixels, to apply the median across. |
ignore top line |
ignore_top_line |
disabled |
When enabled, the top line of pixels is ignored within the filter box to account for different area calculation methods. Note: Enable this control for backward compatibility to pre 6.2v1 versions of Nuke. |
mask |
N/A |
disabled |
Enables the associated mask channel to the right. Disabling this checkbox is the same as setting the channel to none. |
maskChannelInput |
none |
The channel to use as a mask. By default, the effect is limited to the non-black areas of this channel. |
|
inject |
inject |
disabled |
Copies the mask input to the predefined mask.a channel. Injecting the mask allows you to use the same mask further downstream. |
invert |
invert_mask |
disabled |
Inverts the use of the mask channel, so that the effect is limited to the non-white areas of the mask. |
fringe |
fringe |
disabled |
When enabled, only apply the effect to the edge of the mask. When disabled, the effect is applied to the entire mask. |
mix |
mix |
1 |
Dissolves between the original image at 0 and the full effect at 1. |