First order statistics - cerr/CERR GitHub Wiki

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.

List of available features

Let Xk be the intensity of kth voxel within the region of interest.

  1. Min : The lowest intensity in X.

  2. Max : The highest intensity in X.

  3. 10th percentile : The 10th percentile of X. This is more robust to outliers than the minimum grey level.

  4. 90th percentile : The 90th percentile of X. This is more robust to outliers than the maximum grey level.

  5. Median , M : The sample median of X.


  6. where P25 and P75 are the 25th and 75th percentiles of X, respectively

  7. 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.

Sample function call

% 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);
⚠️ **GitHub.com Fallback** ⚠️