I have a multi-page 3D tiff image (ie a stack of tiffs) of type uint16
and LZW compressed. I would like to convert the stack to the nrrd
format, preferably in Python.
Does anyone how this is done please? Which tools are appropriate for something like this
Asked
Active
Viewed 250 times
0

Aenaon
- 3,169
- 4
- 32
- 60
-
1Try [pynrrd](https://pypi.org/project/pynrrd/) and [tifffile](https://pypi.org/project/tifffile/): `nrrd.write(filename+'.nrrd', tifffile.imread(filename))` β cgohlke Nov 03 '21 at 02:06
1 Answers
0
Check the Insight Toolkit (ITK) they have Convert3d function that could help you. the below link is the manual of the mentioned function. https://sourceforge.net/p/c3d/git/ci/master/tree/doc/c3d.md

Amer
- 1
- 3
-
-
1As itβs currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). β Community Nov 03 '21 at 05:52