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 - 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 allclose allBasic Examples (3)
Scope (13)
Data (5)
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:
Text
Wolfram Research (2010), DerivativeFilter, Wolfram Language function, https://reference.wolfram.com/language/ref/DerivativeFilter.html (updated 2016).
CMS
Wolfram Language. 2010. "DerivativeFilter." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2016. 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