Install the package BioFormatsLink to access the Bio-Formats library, a community-driven software tool for reading and writing over 140 file formats and their metadata. Then load the package:
In[1]:=
Needs["BioFormatsLink`"]
Import a NIfTI test file, a format developed by NIH (National Institutes of Health):
In[2]:=
data=Import
url
,"BioImageFormat"1,1;
Build a 3D volume from the imported series:
In[3]:=
ImageRotate[Image3D[data],180°]
Out[63]=
Download and unpack a ZIP-archived Leica LIF file of a mouse kidney section as provided by Jean-Yves Tinevez of the PFID Imagopole at the Institut Pasteur, Paris:
Image metainformation such as the modality, the recording device, exposure time, etc. is usually stored in the metadata of an image file. Extract the plain metainformation as a list of rules:
A lot of information can be extracted from the metainformation, e.g. microscope and filter specifications, acquisition dates, data and channel encodings, etc. Extract voxel-related information of the first image series as a list of replacement rules: