Expand description
ndic-zarr — Zarr v3 codecs and the codec-series builder.
nd-image-codecs contributes two registered Zarr v3 codecs and composes a third family from existing codecs:
| Codec | Kind | Crate |
|---|---|---|
ndic_lift::CODEC_NAME (nd_lift) | array → array | ndic-lift |
HTJ2K_CODEC_NAME (htj2k) | array → bytes | ndic-htj2k + ndic-codestream |
ndic_zfp::CODEC_NAME (zfp) | array → bytes | ndic-zfp |
The series module builds complete codec pipelines (“series”) from
axis metadata — transpose → decorrelation → plane/block codec — for the
three families nd-delta, nd-lift-ht, and nd-zfp. See
docs/architecture/codec-series.md.
Codecs register into the zarrs plugin registry via inventory when the
zarrs feature is enabled: nd_lift in lift_codec, htj2k in
htj2k_codec, nd_zfp in zfp_codec, and — for the nd-delta family,
which zarrs cannot otherwise run — numcodecs.delta in
[delta_codec].
Modules§
- htj2k
- The
htj2kchunk codec core: chunk bytes ⇄[header | coefficient-plane index | codestreams…]. - lift
- The
nd_liftchunk transform core: element bytes ⇄ coefficient-plane bytes. - series
- Codec-series builder: axis metadata → a complete Zarr v3 codec pipeline.
Constants§
- HTJ2K_
CODEC_ NAME - The registered Zarr v3 array-to-bytes codec identifier for the HTJ2K coefficient-plane codec (independent Part 1 / Part 15 codestreams per trailing 2D plane, plus a coefficient-plane byte index for range access).
- ND_
LIFT_ CODEC_ NAME - The registered Zarr v3 array-to-array codec identifier.
- ND_
ZFP_ LEGACY_ CODEC_ NAME - The deprecated pre-registration codec name, kept as a read alias so
stores written before the
zfpadoption keep decoding. Configurations under this name may carry the legacydimsmember. - ZFP_
CODEC_ NAME - The Zarr v3 array-to-bytes codec identifier: the name registered in zarr-extensions, whose streams this codec reads and writes.