Last active
April 20, 2019 18:26
-
-
Save ctrueden/cfd4b42c49767b55b2d351c8b886bedf to your computer and use it in GitHub Desktop.
Open an image with Bio-Formats as a numpy array via pyimagej
For NIFTI specifically, there are much easier ways:
import nibabel as nib
img = nib.load(filename)
data = img.get_fdata()
But the above notebook should work for nearly all the Bio-Formats-supported formats, including ones without convenient Python libraries.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For more, see https://pypi.org/project/pyimagej/