# Kuwahara

## **Overview**

The Kuwahara filter applies a Kuwahara blur to the terrain, which is a different type of blur algorithm that tries to preserve edges lines and high frequency detail. With this it can be used to flatten low frequency areas and create overall more painterly looking straighter shapes.

## **Parameters**

<table><thead><tr><th width="179.699951171875">Properties</th><th>Description</th></tr></thead><tbody><tr><td><strong>Kernel Size</strong></td><td>The distance of the kernel the filter uses. Higher values means the region for each pixel it operates on is larger.</td></tr><tr><td><strong>Passes</strong></td><td>The number of iterations the filter runs for each step. Higher values result in a stronger effect.</td></tr><tr><td><strong>Anisotropy</strong></td><td>Uses edge aligned normals for the sampling algorithm, leading to better edge preservation.</td></tr><tr><td><strong>Sharpness</strong></td><td>Controls the sharpness of the edge preservation.</td></tr><tr><td><strong>Hardness</strong></td><td>Controls the hardness between different blurring zones.</td></tr><tr><td><strong>Length</strong></td><td>Scales the length of the individual edge splats.</td></tr><tr><td><strong>Uniformness</strong></td><td>Creates more differences between blurring zones.</td></tr><tr><td><strong>Zeta</strong></td><td>Additional controls for scaling the blurring zones.</td></tr></tbody></table>

## **Results**

<div><figure><img src="https://2837684122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM6zsxw2jbMYEZbKqEwpa%2Fuploads%2FRX1WgVP3Qumw6Noyvb9G%2Freference_filters_effect_kuwahara_01.webp?alt=media&#x26;token=e7d812aa-6638-4db2-b87e-3a27870c2d7d" alt=""><figcaption></figcaption></figure> <figure><img src="https://2837684122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM6zsxw2jbMYEZbKqEwpa%2Fuploads%2F14IJgSt4LZfKEiDEXbKQ%2Freference_filters_effect_kuwahara_02.webp?alt=media&#x26;token=9b420ade-6bbc-41ea-9889-f06cbc3114f4" alt=""><figcaption></figcaption></figure></div>
