Understand Body Stats Prediction Models
masterTotalSegmentator provides two methods for predicting body size, weight, age, and sex from CT or MR images:
- CNN Model (Default): A Convolutional Neural Network using 2D EfficientNetV2-S. It uses 5 axial slices sampled along the z-axis as input. It is faster and more accurate than the XGBoost model.
- XGBoost Model: A secondary model that uses TotalSegmentator features (organ volumes, median intensities, and tissue types) as inputs for an XGBoost classifier. This is slower and less accurate; it is recommended only as a baseline or if the CNN model fails.
Note on Tissue Types: The XGBoost model requires the tissue_types model, which is only available with a license. You can obtain a license and apply it using the -l <license_number> flag.