imread for multiple life science image file formats

imports images and metadata using the LOCI Bioformats package
4.6K Downloads
Updated 13 Sep 2013

View License

Detailed tutorial of imreadBF:

http://imageprocessingblog.com/importing-generic-bioimage-files-to-matlab/

Imports formats from Zeiss, Leica, Nikon, Olympus, MetaMorph and others via BioFormats

Amongst others, following formats are supported:
lsm, zvi, ics, nd2, pic, dv, img, tif,

imreadBF loads multiple user-defined image slices at once.
[imageStack]=imreadBF(datname,zplanes,tframes,channel)

You can load multiple z and t slices at once, e.g. zplanes=[1 2 5] loads first,second and fifth z-slice in a 3D-Stack.

imreadBFmeta returns corresponding metadata.

To use the functions, you have to download loci_tools.jar here: http://www.loci.wisc.edu/bio-formats/downloads

make sure to have copied the file loci_tools.jar, in the folder where the
function is placed

modified from bfopen.m

More information about BioFormats:
http://www.loci.wisc.edu/software/bio-formats

Cite As

Christoph Moehl (2024). imread for multiple life science image file formats (https://www.mathworks.com/matlabcentral/fileexchange/32920-imread-for-multiple-life-science-image-file-formats), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.7.0.0

added link to tutorial on image processing blog

1.6.0.0

updated metadata import

1.2.0.0

files were completed

1.1.0.0

path of loci_tools.jar is now added automatically (code was copied from bfopen.m)

1.0.0.0