prior2024_voxel_extract_params

Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the Habitat Guide and Python API guide (v2.0) for usage.

prior2024_voxel_extract_params(params: Dict[str, Any] | None, bin_width: float) → Dict[str, Any][source]

Overlay Prior 2024 ROI_R*B*.yaml extract settings on a params dict.

Their GitHub feature_extraction/ROI_R3B12.yaml (and the R1/B25 siblings) set binWidth, B-spline interpolation, isotropic 1 mm resampling, correctMask: True, maskedKernel: true, and initValue: nan. The YAML omits voxelArrayShift, so this overlay writes 0 (PyRadiomics default) and overrides a HABIT voxel preset that still ships 300. GLCM MCC / Imc1 / Imc2 stay whatever the caller already listed (the paper extracts them and drops MCC only at ICC).

Parameters:
  • params – Existing PyRadiomics mapping; None starts empty.

  • bin_width – Discretisation bin width in HU.

Returns:

A new mapping with the paper extract settings merged in.