medh5 2.1.0

The MEDH5 format engine: a self-describing HDF5 container for one medical imaging subject and all of its ground truth
Documentation
//! Annotations: one coherent unit of ground truth per group (spec §6–§9).
//!
//! Encoders are pure --- masks, boxes or assertions in, a [`Payload`] out ---
//! so the transcoding matrix is testable without a file; the reader in
//! [`read`] opens a stored group as one [`Annotation`] whose methods dispatch
//! on its kind.

pub mod depth;
pub mod encode;
pub mod encode_geometric;
pub mod header;
pub(crate) mod labelmap_input;
pub mod layout;
pub mod payload;
pub mod read;
pub mod read_geometric;
pub mod select;

pub use encode::{encode_masks, transcode_payload, EncodeOptions, InstanceInput};
pub use encode_geometric::{Assertions, ObjectColumns, Polygon, SCOPES, SPACES};
pub use header::{geometric_kinds, kinds};
#[allow(deprecated)] // the arrays stay re-exported where 2.0 put them until 3.0
pub use header::{AnnotationHeader, ANNOTATION_KINDS, GEOMETRIC_KINDS, RESERVED_KINDS, TASKS, VOXEL_KINDS};
pub use labelmap_input::LabelValue;
pub use payload::{Masks, Payload, PayloadData};
pub use read::{Annotation, GridRef, Grids, Instance};
pub use read_geometric::Assertion;
pub use select::{analyse, select_encoding, OverlapStats};