IntensityHistogramFeatures#

class zrad.radiomics.intensity.IntensityHistogramFeatures[source]#

Histogram-based first-order statistics for discretized ROI intensities.

This feature family applies first-order summary statistics to discretized grey levels and adds histogram entropy, uniformity, and gradient measures.

This class has no constructor parameters.

Methods

calculate_features(discretized_image_array)

Calculate histogram-based statistics for a prepared discretized intensity array.

get_feature_names()

Return the intensity histogram feature names produced by this calculator.

get_params()

Return the configuration parameters of this intensity histogram calculator.

IntensityHistogramFeatures.calculate_features(discretized_image_array)[source]#

Calculate histogram-based statistics for a prepared discretized intensity array.

Parameters:

discretized_image_array (numpy.ndarray) – Prepared discretized intensity array with voxels outside the ROI set to NaN.

Returns:

Mapping of intensity histogram feature names to calculated values.

Return type:

dict

IntensityHistogramFeatures.get_feature_names()[source]#

Return the intensity histogram feature names produced by this calculator.

Returns:

Feature names defined for the intensity histogram family.

Return type:

list of str

IntensityHistogramFeatures.get_params()[source]#

Return the configuration parameters of this intensity histogram calculator.

Returns:

Parameter names mapped to their configured values.

Return type:

dict