voxel_radiomics_cache_key
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.
- voxel_radiomics_cache_key(subject_id: str, *, kernel_radius: int, roi: str | None, modalities: Any, params: Mapping[str, Any] | None, params_file: str | None, output_float32: bool, crop_to_roi: bool, modality: str | None = None, as_: str | None = None, volume_fingerprint: str | None = None) str[source]
Hash the settings that change voxel-radiomics numbers.
- Parameters:
subject_id – Subject whose ROI was extracted.
kernel_radius – Sliding-window radius in voxels.
roi – Mask key, or
Nonefor the subject’s only mask.modalities – Requested modality list (may be empty before resolve).
params – Inline PyRadiomics mapping, or
None.params_file – Parameter YAML path, or
None.output_float32 – Whether values were stored as float32.
crop_to_roi – Whether the extractor cropped to the ROI bbox.
modality – Singular modality form, when used.
as – Column alias, when used.
volume_fingerprint – Digest from
voxel_volume_fingerprint(). Required to keep original and perturbed images apart.
- Returns:
Hex SHA-256 digest of the canonical payload.