Fork me on GitHub

Mahotas-imread: Reads images into numpy arrays

This project is a spin off of mahotas (for reasons of maintainability, I felt it was better to not emcumber mahotas with all the IO code that imread contains).

This is a simple module, which has two main functions

reads an image from a file
saves an image to a file

It currently works on PNG, JPEG, and TIFF (including some TIFF variations such as STK or LSM).

If you are using mahotas-imread in a scientific publication, please cite the mahotas paper (imread is an off-shoot and does not, currently, have its own paper):

Coelho, L.P. 2013. Mahotas: Open source software for scriptable computer vision. Journal of Open Research Software 1(1):e3, DOI:

In BibTeX format:

    title = {Mahotas: Open source software for scriptable computer vision},
    author = {Luis Pedro Coelho},
    journal = {Journal of Open Research Software},
    year = {2013},
    volume = {1},
    doi = {10.5334/},
    url = {}

Where can I get it?

Github as usual.

Article filed in categories: Software Python