IntensityVolumeHistogramFeatures#

class zrad.radiomics.intensity.IntensityVolumeHistogramFeatures(min_intensity, max_intensity, discr=1)[source]#

Intensity-volume histogram features computed from discretized intensities.

IVH features quantify the relationship between intensity thresholds and the fraction of ROI volume above those thresholds. They are commonly used for dose or intensity-volume summaries.

Parameters:
  • min_intensity (int or float) – Lower bound of the discretized intensity range.

  • max_intensity (int or float) – Upper bound of the discretized intensity range.

  • discr (int or float, default=1) – Discretization step used to sample the intensity-volume histogram.

Methods

calculate_features(ivh_image_array)

Calculate IVH features for a prepared IVH intensity array.

get_feature_names()

Return the IVH feature names produced by this calculator.

get_params()

Return the configuration parameters of this IVH calculator.

IntensityVolumeHistogramFeatures.calculate_features(ivh_image_array)[source]#

Calculate IVH features for a prepared IVH intensity array.

Parameters:

ivh_image_array (numpy.ndarray) – Prepared intensity array used to compute the intensity-volume histogram.

Returns:

Mapping of IVH feature names to calculated values.

Return type:

dict

IntensityVolumeHistogramFeatures.get_feature_names()[source]#

Return the IVH feature names produced by this calculator.

Returns:

Feature names defined for the IVH family.

Return type:

list of str

IntensityVolumeHistogramFeatures.get_params()[source]#

Return the configuration parameters of this IVH calculator.

Returns:

Parameter names mapped to their configured values.

Return type:

dict