Multi slice
linc_convert.modalities.df.multi_slice ¶
Convert JPEG2000 files generated by MBF-Neurolucida into a OME-ZARR pyramid.
We do not recompute the image pyramid but instead reuse the JPEG2000 levels (obtained by wavelet transform).
convert ¶
convert(inp, *, thickness=None, general_config=None, zarr_config=None, nii_config=None)
Convert JPEG2000 files generated by MBF-Neurolucida into a Zarr pyramid.
It does not recompute the image pyramid but instead reuse the JPEG2000 levels (obtained by wavelet transform).
This command converts a batch of slices and stacks them together into a single 3D Zarr.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
inp
|
list[str]
|
Path to the input slices |
required |
thickness
|
float | None
|
Slice thickness |
None
|
general_config
|
GeneralConfig
|
General configuration |
None
|
zarr_config
|
ZarrConfig
|
Zarr related configuration |
None
|
nii_config
|
NiftiConfig
|
NIfTI header related configuration |
None
|