eigenstrapping.geometry.normalize_vtk
- eigenstrapping.geometry.normalize_vtk(tet, nifti_input_filename, normalization_type='none', normalization_factor=1)[source]
Normalize tetrahedral surface.
- Parameters:
tet (lapy compatible object) – Loaded vtk object corresponding to a surface tetrahedral mesh
nifti_input_filename (str) – Filename of input volume where the relevant ROI have voxel values = 1
normalization_type (str (default: 'none')) – Type of normalization number - normalization with respect to the total number of non-zero voxels volume - normalization with respect to the total volume of non-zero voxels in physical dimensions constant - normalization with respect to a chosen constant others - no normalization
normalization_factor (float (default: 1)) – Factor to be used in a constant normalization
- Returns:
tet_norm – Loaded vtk object corresponding to the normalized surface tetrahedral mesh
- Return type:
lapy compatible object