cpp_cleanse {IFC} | R Documentation |
Matrix Cleanser
Description
Replaces values in matrix mat according to mask msk.
Depending of 'add_noise'
parameter, values of 'mat'
will be replaced with noise or not.
Arguments
mat |
a NumericMatrix. |
msk |
a IntegerMatrix. |
add_noise |
bool, whether to add normal noise or not, |
bg |
double, mean value of the background added if |
sd |
double, standard deviation of the background added if |
Value
a NumericMatrix cleansed according to 'msk'
.
[Package IFC version 0.2.1 Index]