I would like to ask what is the default slicer radiomics extension parameter settings for resampling? I mean to ask does it use sitkBspline or nearest neighbour or other ones cause I can’t specify that in the slicer but would like to know what it uses.
By default, it uses sitkBSpline interpolation for the image. Interpolation for the mask is hardcoded to nearest-neighbor in PyRadiomics (and therefore also in SlicerRadiomics).
You can change this if you want, as SlicerRadiomics allows you to choose between manual (via the GUI, limited options) customization and customization via parameter file (the same one you use in PyRadiomics, exposes all customization options). So if you use option 2, you can set the interpolator for resampling.
thank you so much, i would like to ask if any of the available function is bicupic interpolation function or bilinear interpolation function? I am not sure what name it corresponds to in the pyradiomics key words.
Bilinear is linear interpolation in 2 dimensions, with trilinear being in 3 dimensions. In SimpleITK (and hence, in PyRadiomics) no distinction is made in dimensionality (so it’s determined by dimensionality of input). For bi/trilinear, you’ll need ‘sitkLinear’. for bi/tricubic I think you are best off using the SimpleITK B-Spline interpolator: sitkBSpline. A full list of the possible interpolators is found here.