Skip to content

Tags: MIC-DKFZ/napari-mlarray

Tags

v0.0.4

Toggle v0.0.4's commit message
fix: strip non-spatial axes before passing array to MedVol

MedVol expects a spatial-only array, but MLArray files may have a channel
or component axis (e.g. shape (1, 344, 512, 512) with axis_labels
[channel, spatial_z, spatial_y, spatial_x]). Passing a 4-D array caused
MedVol to misinterpret the geometry or error out.

The fix takes index 0 along each non-spatial axis (identified from
meta.spatial.axis_labels) before constructing MedVol. ndim for the
scale/translate loop is derived from the actual display array shape
rather than mlarray.ndim to avoid phantom scale entries.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

v0.0.3

Toggle v0.0.3's commit message
feat: Added 3D bbox support

Adds a napari reader plugin for .mla files, enabling the loading of
image and labels data, as well as bounding box annotations.

The reader utilizes `napari-bbox-fix` to correctly display bounding boxes
with dimension 3 or higher, leveraging it's custom layer type. For 2D
bounding boxes, it converts them to napari shapes.

Fixes an issue where bounding boxes were not correctly displayed in napari.

v0.0.2

Toggle v0.0.2's commit message
feat: Added bbox handling

v0.0.1

Toggle v0.0.1's commit message
doc: Updated project description