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)
Value
contextualMF returns a matrix object with the same
dimensions of X.
Arguments
X
A numeric matrix object used for apply filters.
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.
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 (tools:::Rd_expr_doi("http://dx.doi.org/10.1016/j.jmarsys.2008.11.018")).