Learn R Programming

MRIaggr (version 1.1.5)

filtrage3Dmed_cpp: 3D median filtering

Description

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

Usage

filtrage3Dmed_cpp (Vec_data, p_data, Vec_operateur, p_operateur, index_data, na_rm)

Arguments

Vec_data
vector of data to which the filter will be applied.
p_data
spatial dimensions of the data.
Vec_operateur
vector representing the filter to be applied.
p_operateur
spatial dimensions of the filter.
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.