MRIaggr-calcHemi_cpp: Mid-saggital plan search

Description Usage Arguments

Description

C++ function called by calcHemisphere to compute the objective function that evaluates the consistency of the mid-sagittal plan. For internal use.

Usage

1
2
3
calcHemi_cpp(coordsI, coordsJ, ls_indexK, n_num, value, n,
         i_pos, j_pos, angle_pos,
         penaltyNA, sd_data, p, symetrie) 

Arguments

coordsI

the coordinates of each voxel along the first coordinate. integer vector.

coordsJ

the coordinates of each voxel along the second coordinate. integer vector.

ls_indexK

the index of the voxels on each slice. list.

n_num

the number of slices. integer.

value

the contrast parameter value for each voxel. numeric vector.

n

the number of voxels. integer.

i_pos

the first coordinate of the center of the mid-sagittal plane. numeric.

j_pos

the second coordinate of the center of the mid-sagittal plane. numeric.

angle_pos

the angle between the axis of the second coordinate and the mid-sagittal plane. numeric.

penaltyNA

a penalty factor for the percent of voxel without controlateral correspondant. numeric.

sd_data

the standard deviation of the parameter. numeric.

p

the penalization factor. positive numeric.

symetrie

the type of objective function. TRUE correspond to "symmetry" and FALSE to "asymmetry".


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