voxel_volume_fingerprint

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_volume_fingerprint(subject: Subject, *, modalities: Sequence[str], roi: str | None) → str[source]

Hash the image and mask arrays that enter voxel radiomics.

subject_id alone is not enough: original vs perturbed CT of the same person share an id. A miss here used to return the other map and produced ICC = 1.0.

Parameters:
  • subject – Subject already on the extract grid.

  • modalities – Image keys that will be extracted.

  • roi – Mask key, or None for the subject’s only mask.

Returns:

Hex SHA-256 digest of geometry plus voxel bytes.