StandardDeviationFilter[data,r]
filters data by replacing every value by the standard deviations of the values in its range-r neighborhood.
StandardDeviationFilter[data,{r1,r2,…}]
uses ri for filtering the dimension in data.


StandardDeviationFilter
StandardDeviationFilter[data,r]
filters data by replacing every value by the standard deviations of the values in its range-r neighborhood.
StandardDeviationFilter[data,{r1,r2,…}]
uses ri for filtering the dimension in data.
Details

- StandardDeviationFilter is used to filter data by returning the local dispersion of data, where the extent of the effect is dependent on the value of r.
- The function applied to each range-r neighborhood is StandardDeviation.
- 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 video a Video object - For multichannel images and audio signals, StandardDeviationFilter operates separately on each channel.
- StandardDeviationFilter[data,{r1,r2,…}] computes the standard deviation of the values in
blocks centered on each sample.
- StandardDeviationFilter assumes the index coordinate system for lists and images.
- At the data boundaries, StandardDeviationFilter uses smaller neighborhoods.


Examples
open all close allBasic Examples (3)
Moving standard deviation of a list:
Filter a TimeSeries:
Scope (12)
Data (7)
Parameters (5)
Specify one radius to be used in all directions:
Increasing the radius will result in larger image streaks and patches:
Standard deviation filtering just in the first direction:
Standard deviation filtering just in the second direction:
Standard deviation filtering of a 3D image in the vertical direction only:
Related Guides
History
Introduced in 2008 (7.0) | Updated in 2012 (9.0) ▪ 2015 (10.2) ▪ 2016 (11.0) ▪ 2025 (14.3)
Text
Wolfram Research (2008), StandardDeviationFilter, Wolfram Language function, https://reference.wolfram.com/language/ref/StandardDeviationFilter.html (updated 2025).
CMS
Wolfram Language. 2008. "StandardDeviationFilter." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2025. https://reference.wolfram.com/language/ref/StandardDeviationFilter.html.
APA
Wolfram Language. (2008). StandardDeviationFilter. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/StandardDeviationFilter.html
BibTeX
@misc{reference.wolfram_2025_standarddeviationfilter, author="Wolfram Research", title="{StandardDeviationFilter}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/StandardDeviationFilter.html}", note=[Accessed: 16-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_standarddeviationfilter, organization={Wolfram Research}, title={StandardDeviationFilter}, year={2025}, url={https://reference.wolfram.com/language/ref/StandardDeviationFilter.html}, note=[Accessed: 16-August-2025]}