This function performs the Contextual Median Filter (CMF) algorithm proposed by Belkin & O'Reilly (2009), based on the pseudo-code written on the paper.
contextualMF(X)
contextualMF
returns a matrix
object with the same
dimensions of X
.
A numeric matrix
object used for apply filters.
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.
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")).