An efficient parallel Tiff reader/writer that utilizes LibTIFF and OpenMP.
- Currently RGB tiffs are not supported but support may be added in the future
- None! The parallel reader and writer mex files will work with the most recent version of Matlab.
- Download the latest release for your OS from here: https://github.com/abcucberkeley/cpp-tiff/releases
- Unzip the folder
- You can now put the mex files wherever you'd like and add them to your path if needed
- Note for Mac Users: You may need to restart Matlab before using the Mex files if you have an open session
size = getImageSizeMex('path/to/file.tif');
im = parallelReadTiff('path/to/file.tif');
im = rand(100,100,100);
parallelWriteTiff('path/to/file.tif',im);
The C++ library can be compiled using the CMakeLists.txt file
- Dependencies are included in the dependencies folder
- Currently the only officially supported compiler is gcc on Linux and Mac and MinGW on Windows but others may work
git clone https://github.com/abcucberkeley/cpp-zarr
cd cpp-zarr
mkdir build
cd build
cmake ..
make -j
make install
Please cite our software if you find it useful in your work:
Xiongtao Ruan, Matthew Mueller, Gaoxiang Liu, Frederik Görlitz, Tian-Ming Fu, Daniel E. Milkie, Joshua L. Lillvis, Alexander Kuhn, Chu Yi Aaron Herr, Wilmene Hercule, Marc Nienhaus, Alison N. Killilea, Eric Betzig, Srigokul Upadhyayula. Image processing tools for petabyte-scale light sheet microscopy data. Nature Methods (2024). https://doi.org/10.1038/s41592-024-02475-4