Learn R Programming

MRIaggr (version 1.1.5)

filtrage2Dmed_cpp: 2D median filtering

Description

C++ function call by calcFilter that performs two dimensional median filtering. For internal use.

Usage

filtrage2Dmed_cpp(M_data, M_operateur, index_data, na_rm)

Arguments

M_data
matrix to which the filter will be applied.
M_operateur
the filter to be applied.
index_data
index of the non NA data.
na_rm
should the observations with missing values in their neighbourhood be removed ? Otherwise the ponderation is adjusted.