KuwaharaFilter
KuwaharaFilter[data,r]
computes for each element p in data the variance of the values in the four (r+1)×(r+1) squares that have p as a corner, and replaces p with the mean of the values of the square with least variance.
Details
- KuwaharaFilter is a nonlinear local filter typically used for edge-preserving smoothing.
- The data can be any of the following:
-
list arbitrary-rank numerical array tseries temporal data such as TimeSeries, TemporalData, … image arbitrary Image or Image3D object audio an Audio object - For multi-channel data, KuwaharaFilter computes the sum of the variances in each channel.
- KuwaharaFilter[data,{r1,r2,…}] uses blocks.
- KuwaharaFilter assumes the index coordinate system for lists and images.
- At the data boundaries, KuwaharaFilter uses smaller neighborhoods.
Examples
open allclose allScope (7)
Data (5)
Applications (4)
Properties & Relations (2)
Neat Examples (1)
Repeatedly apply KuwaharaFilter to an image:
Text
Wolfram Research (2010), KuwaharaFilter, Wolfram Language function, https://reference.wolfram.com/language/ref/KuwaharaFilter.html (updated 2016).
CMS
Wolfram Language. 2010. "KuwaharaFilter." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2016. https://reference.wolfram.com/language/ref/KuwaharaFilter.html.
APA
Wolfram Language. (2010). KuwaharaFilter. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/KuwaharaFilter.html