neu_vol.backends.imagestack¶
Read-only backend over a stack of 2D images or a multipage TIFF.
- Sources:
a glob / directory of ordered 2D image files (TIFF/PNG), one per Z slice, or
a single multipage TIFF.
Presents the stack as a 3D (z, y, x) volume. Read-only: an ingest source,
never a write target. v1 assumes single-channel 2D slices.
Attributes¶
Classes¶
Lazy 3D |
Module Contents¶
- class neu_vol.backends.imagestack.ImageStackBackend(spec: Mapping[str, Any])¶
Lazy 3D
(z, y, x)view over ordered 2D files or a multipage TIFF.- classmethod open(spec: Mapping[str, Any]) ImageStackBackend¶
- read_region(region: neu_vol.backends.base.Region) numpy.ndarray¶
- to_spec() dict[str, Any]¶
- write_region(region: neu_vol.backends.base.Region, data: numpy.ndarray) None¶
- property chunks: tuple[int, ...]¶
- property dtype: numpy.dtype¶
- property shape: tuple[int, ...]¶
- neu_vol.backends.imagestack.IMAGE_EXTENSIONS = ('.tif', '.tiff', '.png')¶
- neu_vol.backends.imagestack.TAG = 'image_stack'¶