contextualMF {imagine} | R Documentation |
Performs Contextual Median Filter
Description
This function implements the Contextual Median Filter (CMF) algorithm, which was first described by Belkin & O'Reilly (2009), following the pseudocode provided in their paper.
Usage
contextualMF(X)
Arguments
X |
A numeric |
Details
Following the definition of CMF, since imagine v.2.0.0, times
argument will not be available anymore.
imagine offers the CMF algorithm but for the using to find out oceanographic fronts, it is recommended to see and use the functions of the grec package.
Value
contextualMF
returns a matrix
object with the same
dimensions of X
.
References
Belkin, I. M., & O'Reilly, J. E. (2009). An algorithm for oceanic front detection in chlorophyll and SST satellite imagery. Journal of Marine Systems, 78(3), 319-326 (doi:10.1016/j.jmarsys.2008.11.018).
Examples
data(wbImage)
# Agenbag, gradient algorithm 1
cmdOut <- agenbagFilters(X = wbImage, algorithm = 1)
# image(cmdOut)
[Package imagine version 2.1.0 Index]