FastSurferCNN.quick_qc¶
- FastSurferCNN.quick_qc.check_volume(asegdkt_segfile, voxvol, thres=0.7)[source]¶
Check if total volume is bigger or smaller than threshold.
- Parameters:
- asegdkt_segfile
np.ndarray
The segmentation file.
- voxvol
float
The volume of a voxel.
- thres
float
, default=0.7 The threshold for the total volume (Default value = 0.70).
- asegdkt_segfile
- Returns:
bool
Whether or not total volume is bigger or smaller than threshold.
- FastSurferCNN.quick_qc.get_ventricle_bg_intersection_volume(seg_array, voxvol)[source]¶
Return a volume estimate for the intersection of ventricle voxels with background voxels.
- Parameters:
- seg_array
numpy.ndarray
Segmentation array.
- voxvol
float
Voxel volume.
- seg_array
- Returns:
- intersection_volume
float
Estimated volume of voxels in ventricle and background intersection.
- intersection_volume