ImageMaskPair

Note

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

class ImageMaskPair(image: ImageVolume, mask: MaskVolume, geometry_report: GeometryReport | None = None)[source]

Bases: object

Pair one image and mask with the geometry result used by downstream code.

__init__(image: ImageVolume, mask: MaskVolume, geometry_report: GeometryReport | None = None) → None

Examples using habit.image.ImageMaskPair

Load from NIfTI files

Load from NIfTI files