DerivativeFilter[data,{n1,n2,…}]
computes the ni derivative of data at level i.
DerivativeFilter[data,{n1,n2,…},σ]
computes the derivative at a Gaussian scale of standard deviation σ.
DerivativeFilter[data,{der1,der2,…},…]
computes several derivatives der1, der2, ….


DerivativeFilter
DerivativeFilter[data,{n1,n2,…}]
computes the ni derivative of data at level i.
DerivativeFilter[data,{n1,n2,…},σ]
computes the derivative at a Gaussian scale of standard deviation σ.
DerivativeFilter[data,{der1,der2,…},…]
computes several derivatives der1, der2, ….
Details and Options

- DerivativeFilter is a linear filter that computes the derivatives of data based on a spline interpolation model. Regularization with a Gaussian kernel of standard deviation σ (defaults to 0) can be used to reduce susceptibility to noise.
- 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 - DerivativeFilter operates separately on each level of data.
- DerivativeFilter[image,…] uses the array coordinate system, where the first coordinate runs from the top to the bottom of image, and the second coordinate increases from left to right.
- DerivativeFilter gives a result with the same dimensions as data.
- DerivativeFilter can take the following options:
-
InterpolationOrder Automatic interpolation order up to 9 Padding "Fixed" padding method - With Padding->{pad1,pad2,…}, different padding schemes can be used for every dimension of data.
- The derivative order has to be smaller than the specified interpolation order.

Examples
open all close allBasic Examples (3)
Scope (14)
Data (6)
First-order derivatives of a 2D array:
Obtain the first derivative of a TimeSeries object:
Filter an Audio signal:
Options (3)
InterpolationOrder (1)
Filtering an array using different InterpolationOrder values:
Applications (5)
Properties & Relations (4)
For larger values of , the results of GaussianFilter and DerivativeFilter converge:
DerivativeFilter and the corresponding derivatives of a spline interpolation return the same values:
Plot the result of the filter on top of the derivative of the interpolating function:
Derivative filtering of a binary image gives a grayscale image of a real type:
DerivativeFilter is a linear filter:
See Also
GaussianFilter Derivative RidgeFilter DifferentiatorFilter
Function Repository: NormalTexture
History
Introduced in 2010 (8.0) | Updated in 2014 (10.0) ▪ 2016 (11.0) ▪ 2025 (14.3)
Text
Wolfram Research (2010), DerivativeFilter, Wolfram Language function, https://reference.wolfram.com/language/ref/DerivativeFilter.html (updated 2025).
CMS
Wolfram Language. 2010. "DerivativeFilter." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2025. https://reference.wolfram.com/language/ref/DerivativeFilter.html.
APA
Wolfram Language. (2010). DerivativeFilter. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DerivativeFilter.html
BibTeX
@misc{reference.wolfram_2025_derivativefilter, author="Wolfram Research", title="{DerivativeFilter}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/DerivativeFilter.html}", note=[Accessed: 10-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_derivativefilter, organization={Wolfram Research}, title={DerivativeFilter}, year={2025}, url={https://reference.wolfram.com/language/ref/DerivativeFilter.html}, note=[Accessed: 10-August-2025]}