Resampling for Radiomics

Hello there, I’ve been trying Radiomics module for a little bit. I’m trying to analize T2 weighted images, but unfortunately they are not equally spaced. So I was thinking, it would be best to resample the entire scan before (or maybe after segmentation) and then extract features, or it would be better to just extract features from the segmentation as it is and use the resampling built in the module? And what parameters would be best to set?
Hope that wasn’t too confusing, I’m not sure I’m getting it all right.

@J_C there is no one simple answer to what is the best way to configure extraction of features for your data. I suggest you read the studies done for similar applications in the literature to learn about best practices.

To your question about resampling and sample parameter settings, please consider reading this post: Do we need to create an isotropic image in radiomics study?.

I read some works, however often it’s not stated if they resampled and how. Moreover it is harder to understand if resampling was made with the resample module, in this case I suppose it’s not necessary to resample with the Radiomics module feature extractor, or if it was made as part of the feature extraction procedure.
In the post you suggest it’s not so specific… Maybe I could force a 2d extraction (I would easily have a bidimensional isotropy), but can’t figure how to force it.

Yes, this is unfortunately often true.

You can use force2D setting in the configuration file, which you can supply to the Radiomics module. See example settings here: pyradiomics/examples/exampleSettings/exampleMR_NoResampling.yaml at master · AIM-Harvard/pyradiomics · GitHub.

Thank you for the link, pretty useful; there’s even an example for normalization, though I assume you can either get adjusting binwidth in radiomics module, right?
Gonna try this evening.

Just a question: let’s assume that my axial slices are not pure but slightly oblique, should I (and how) reformat so that slicer goes parallale to them? Don’t know if I’m clear.

Yes, you can definitely adjust binwidth in the user interface. You should use settings file only if there are settings that are not exposed in the interface.

You can use the Reformat button in the slice viewer menu to rotate the view to the slice plane. Is this what you were looking for?

image

Yeah… was that easy?
I didn’t found that button and was trying with reformat and transformation module

You might want to go over the GUI overview here, may save you time down the road: https://www.slicer.org/wiki/Documentation/Nightly/SlicerApplication/MainApplicationGUI

Ok, thanks.
Let’s assume that I’d like to normalize gray level, should I only set the Binwidth or should force normalization along with 2D extraction (there’s normalization too in the script).

I am afraid I don’t have the answer here. Indeed, normalization of gray level and binning are interrelated, but I don’t think there is a clear recommendation in the community. In this recent paper below we explored a variety of normalizations to better understand MR feature repeatability in the prostate:

Schwier, M., van Griethuysen, J., Vangel, M. G., Pieper, S., Peled, S., Tempany, C., Hugo J W, Kikinis, R., Fennessy, F. M. & Fedorov, A. Repeatability of Multiparametric Prostate MRI Radiomics Features. Sci. Rep. 9, 9441 (2019). Repeatability of Multiparametric Prostate MRI Radiomics Features | Scientific Reports

If you have a similar test-retest dataset for your application, experimentation with achieving improved repeatability could be one approach to fine-tuning feature extraction parameters.