MaxFilter
MaxFilter[data,r]
filters data by replacing every value by the maximum value in its range-r neighborhood.
MaxFilter[data,{r1,r2,…}]
uses ri for filtering the dimension in data.
Details
- MaxFilter is a nonlinear filter commonly used to locally smooth data and diminish pepper-like noise, where the amount of smoothing is dependent on the value of r.
- The function applied to each range-r neighborhood is Max.
- 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 multichannel images, MaxFilter replaces each pixel by a pixel in its neighborhood that has the maximum total intensity, averaged over all channels.
- MaxFilter[data,{r1,r2,…}] computes the maximum value in blocks centered on each sample.
- MaxFilter assumes the index coordinate system for lists and images.
- At the data boundaries, MaxFilter uses smaller neighborhoods.
Examples
open allclose allBasic Examples (3)
Scope (12)
Applications (4)
Wolfram Research (2008), MaxFilter, Wolfram Language function, https://reference.wolfram.com/language/ref/MaxFilter.html (updated 2016).
Text
Wolfram Research (2008), MaxFilter, Wolfram Language function, https://reference.wolfram.com/language/ref/MaxFilter.html (updated 2016).
CMS
Wolfram Language. 2008. "MaxFilter." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2016. https://reference.wolfram.com/language/ref/MaxFilter.html.
APA
Wolfram Language. (2008). MaxFilter. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MaxFilter.html