-
Notifications
You must be signed in to change notification settings - Fork 102
First order statistics
First order statistics describe the grey-level intensity distribution within the region of interest (ROI). These features have been implemented in accordance with the IBSI Sec 4.3.
Note: Discretization is not required. However, intensity-based statistical features are not meaningful if the intensity scale is arbitrary. Hence normalization of intensities to standard units is required for modalities such as MR.
Let Xk be the intensity of kth voxel within the region of interest.
-
Min : The lowest intensity in X.
-
Max : The highest intensity in X.
-
10th percentile : The 10th percentile of X. This is more robust to outliers than the minimum grey level.
-
90th percentile : The 90th percentile of X. This is more robust to outliers than the maximum grey level.
-
Median , M : The sample median of X.
-
where P25 and P75 are the 25th and 75th percentiles of X, respectively -
for the set of grey levels Xgl = {Xgl,1, Xgl,2, . . . , Xgl,Nv} of Nv voxels in the region of interest. X is discretized into bins of uniform width specified by the
binWidth
parameter. The smallest bin includes 0 and the largest bin includes Xmax.
% planC object
global planC
% Structure index
structNum = 1;
% Intensity offset for the Energy feature. For example, 1000 for CT scans, 0 for PET SUVs.
ctOffset = 1000;
% Bin-width for Entropy feature. For example, 25 HU for CT scans, 0.2 for PET SUVs.
binWidth = 25;
% Call the first order feature calculation function
statsFeatureS = radiomics_first_order_stats(planC,structNum,ctOffset,binWidth);