extract_batch
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.
- extract_batch(pairs: Sequence[ImageMaskPair], params: Mapping[str, Any] | str | Path | None = None, *, label: int = 1, backend: str = 'pyradiomics', geometry_policy: GeometryPolicy = GeometryPolicy.STRICT, geometry_tolerance: float = 1e-06, fail_fast: bool = True) FeatureTableResult[source]
Extract radiomics features deterministically for an ordered image/mask batch.
extract_batchis intentionally sequential in its first stable release. Process isolation, GPU scheduling, and retry semantics belong to the workflow layer and will be introduced only with one shared structured failure contract.