Kuwahara Filter
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
Parameter Details
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.
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.
ERROR: Variable not found: {message-affected-channels}
Inputs
Parameter | Details |
---|---|
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. |
Mode | The filter mode to use:
|
Radius | The radius of the filter. |
ERROR: Variable not found: {message-affected-channels}
Name | Description | Typical Input |
---|---|---|
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. | Envelope Modifier |