MRIaggr-calcContro_cpp: Compute contralateral normalization

Description Usage Arguments

Description

C++ function called by calcContralateral to seek the contralateral voxel and the contralateral values. For internal use.

Usage

1
2
calcContro_cpp(contrast, coords_px, index_k, index_k_contro, d_lim, 
         lambda, param_ref, var_ref, type_moy, type_med, type_NN, verbose)

Arguments

contrast

the contrast value of each voxel on a given slice. matrix.

coords_px

the coordinates of the observations. matrix.

index_k

the index of the observations on the hemisphere of interest. integer vector.

index_k_contro

the index of the observations on the contralateral hemisphere. integer vector.

d_lim

the distance within which the contralateral values are considered. numeric.

lambda

the importance of the penalization by the distance. numeric.

param_ref

the parameter to be used as a reference to identify the contralateral voxel. character.

var_ref

the variance of the reference parameter. numeric.

type_moy

should the mean contralateral value be used ? logical.

type_med

should the median contralateral value be used ? logical.

type_NN

should the closest contralateral voxel according to the reference parameter be used ? logical.

verbose

should the execution of the function be traced ? logical.


bozenne/MRIaggr documentation built on May 13, 2019, 1:39 a.m.