|
a |
|
b/VOI&feature_extraction/CT.yaml |
|
|
1 |
# This is an example of settings that can be used as a starting point for analyzing CT data. This is only intended as a |
|
|
2 |
# starting point and is not likely to be the optimal settings for your dataset. Some points in determining better values |
|
|
3 |
# are added as comments where appropriate |
|
|
4 |
|
|
|
5 |
# When adapting and using these settings for an analysis, be sure to add the PyRadiomics version used to allow you to |
|
|
6 |
# easily recreate your extraction at a later timepoint: |
|
|
7 |
|
|
|
8 |
# ############################# Extracted using PyRadiomics version: <version> ###################################### |
|
|
9 |
|
|
|
10 |
imageType: |
|
|
11 |
Original: {} |
|
|
12 |
LoG: |
|
|
13 |
sigma: [1.0, 2.0, 3.0, 4.0, 5.0] # If you include sigma values >5, remember to also increase the padDistance. |
|
|
14 |
Wavelet: |
|
|
15 |
#start_level: 0 |
|
|
16 |
#level: 3 |
|
|
17 |
wavelet: 'coif1' |
|
|
18 |
#Square: {} |
|
|
19 |
#SquareRoot: {} |
|
|
20 |
#Logarithm: {} |
|
|
21 |
#Exponential: {} |
|
|
22 |
|
|
|
23 |
featureClass: |
|
|
24 |
# redundant Compactness 1, Compactness 2 an Spherical Disproportion features are disabled by default, they can be |
|
|
25 |
# enabled by specifying individual feature names (as is done for glcm) and including them in the list. |
|
|
26 |
shape: |
|
|
27 |
firstorder: |
|
|
28 |
glcm: # Disable SumAverage by specifying all other GLCM features available |
|
|
29 |
- 'Autocorrelation' |
|
|
30 |
- 'JointAverage' |
|
|
31 |
- 'ClusterProminence' |
|
|
32 |
- 'ClusterShade' |
|
|
33 |
- 'ClusterTendency' |
|
|
34 |
- 'Contrast' |
|
|
35 |
- 'Correlation' |
|
|
36 |
- 'DifferenceAverage' |
|
|
37 |
- 'DifferenceEntropy' |
|
|
38 |
- 'DifferenceVariance' |
|
|
39 |
- 'JointEnergy' |
|
|
40 |
- 'JointEntropy' |
|
|
41 |
- 'Imc1' |
|
|
42 |
- 'Imc2' |
|
|
43 |
- 'Idm' |
|
|
44 |
- 'Idmn' |
|
|
45 |
- 'Id' |
|
|
46 |
- 'Idn' |
|
|
47 |
- 'InverseVariance' |
|
|
48 |
- 'MaximumProbability' |
|
|
49 |
- 'SumEntropy' |
|
|
50 |
- 'SumSquares' |
|
|
51 |
glrlm: |
|
|
52 |
glszm: |
|
|
53 |
gldm: |
|
|
54 |
ngtdm: |
|
|
55 |
|
|
|
56 |
setting: |
|
|
57 |
# Normalization: |
|
|
58 |
# most likely not needed, CT gray values reflect absolute world values (HU) and should be comparable between scanners. |
|
|
59 |
# If analyzing using different scanners / vendors, check if the extracted features are correlated to the scanner used. |
|
|
60 |
# If so, consider enabling normalization by uncommenting settings below: |
|
|
61 |
#normalize: true |
|
|
62 |
#normalizeScale: 500 # This allows you to use more or less the same bin width. |
|
|
63 |
|
|
|
64 |
# Resampling: |
|
|
65 |
# Usual spacing for CT is often close to 1 or 2 mm, if very large slice thickness is used, |
|
|
66 |
# increase the resampled spacing. |
|
|
67 |
# On a side note: increasing the resampled spacing forces PyRadiomics to look at more coarse textures, which may or |
|
|
68 |
# may not increase accuracy and stability of your extracted features. |
|
|
69 |
interpolator: 'sitkBSpline' |
|
|
70 |
resampledPixelSpacing: [1, 1, 1] |
|
|
71 |
padDistance: 10 # Extra padding for large sigma valued LoG filtered images |
|
|
72 |
|
|
|
73 |
# Mask validation: |
|
|
74 |
# correctMask and geometryTolerance are not needed, as both image and mask are resampled, if you expect very small |
|
|
75 |
# masks, consider to enable a size constraint by uncommenting settings below: |
|
|
76 |
#minimumROIDimensions: 2 |
|
|
77 |
#minimumROISize: 50 |
|
|
78 |
|
|
|
79 |
# Image discretization: |
|
|
80 |
# The ideal number of bins is somewhere in the order of 16-128 bins. A possible way to define a good binwidt is to |
|
|
81 |
# extract firstorder:Range from the dataset to analyze, and choose a binwidth so, that range/binwidth remains approximately |
|
|
82 |
# in this range of bins. |
|
|
83 |
binWidth: 25 |
|
|
84 |
|
|
|
85 |
# first order specific settings: |
|
|
86 |
voxelArrayShift: 1000 # Minimum value in HU is -1000, shift +1000 to prevent negative values from being squared. |
|
|
87 |
|
|
|
88 |
# Misc: |
|
|
89 |
# default label value. Labels can also be defined in the call to featureextractor.execute, as a commandline argument, |
|
|
90 |
# or in a column "Label" in the input csv (batchprocessing) |
|
|
91 |
label: 1 |