wasserth / TotalSegmentator

Tool for robust segmentation of >100 important anatomical structures in CT and MR images
Apache License 2.0
1.55k stars 256 forks source link

Unjustified resampling in radiomics feature extraction? #176

Closed fedorov closed 1 year ago

fedorov commented 1 year ago

It appears that the image is resampled to 3x3x3 prior to the extraction of the radiomics features:

https://github.com/wasserth/TotalSegmentator/blob/master/totalsegmentator/statistics.py#L29

I do not see why this would be needed. I think resampling to a uniform matrix is important while extracting texture features, but here only shape and firstorder are extracted.

wasserth commented 1 year ago

This 3x3x3 resampling is only done if you use the --fast option. This greatly increases runtime and the resulting volume. Otherwise the original resolution is used.