Notch Notch
Manual 1.0 Manual 0.9.23
 Light | Dark
Kuwahara Filter

Kuwahara Filter

Updated: 20 Feb 2025

This node performs a Kuwahara filter kernel operation on the input image, which can result in a painting-like effect.

image

Example .dfx

Method #

This node performs a Kuwahara filter kernel operation on the input image, which can result in a painting-like effect.

The algorithm works by calculating the average and standard deviation for four regions centered around an input pixel. The average colour of the region with the lowest standard deviation is then used as the resulting output colour. See https://en.wikipedia.org/wiki/Kuwahara_filter for more information. There are two modes: Standard and Directional. The directional mode is slower but attempts to preserve details and maintain edges.

This node is resolution dependent.

Parameters

These properties control the core behaviours of the node.

ParameterDetails
Active Enables or disables the effect. Disabling the effect means it will no longer compute, so disabling a node when not in use can improve performance.
Blend Amount Changes the opacity of the new effect over the original image.
Blend Mode (RGB) Change how the generated effect blends with the parent image RGB.
Blend Mode (Alpha) Change how the generated effect blends with the parent image alpha.
Affected Channels Toggle which of the RGBA channels are affected by the effect.
Mode The filter mode to use:
  • Standard : Use a standard kuwahara filter. Faster than directional mode.
  • Directional : Use a directional based Kuwahara filter, which attempts to preserve detail and maintain edges. This mode is slower than the standard mode.
Radius The radius of the filter.

The properties control the time at which the node is active. See Timeline for editing time segments.

ParameterDetails
Duration Control the duration of the node’s time segment.
  • Composition Duration : Use the length of the composition for the node’s time segment duration.
  • Custom : Set a custom duration for the node’s time segment.
Node Time The custom start and end time for the node.
Duration (Timecode) The length of the node’s time segment (in time).
Duration (Frames) The length of the node’s time segment (in frames).
Time Segment Enabled Set whether the node’s time segment is enabled or not in the Timeline.

Inputs

This node has no inputs.