MatImage

A collection of functions for image processing and analysis that complement and extend the Image Processing Toolbox
241 Downloads
Updated 6 Feb 2026
MatImage is a Matlab library for analysis and processing of digital images.
It contains functions for processing, analysis, and exploration of 2D, 3D,
grayscale or color images. It is built as a complement to the Image Processing
Toolbox (IPT), and provides additional features as well as integration of IPT
functions into more elaborate functions.
Official homepage for the MatImage project is http://github.com/mattools/matImage.
A [user manual](https://github.com/mattools/matImage/releases/download/v1.2.4/matImage-manual-1.2.4.pdf) is available.
A wiki is also provided in the [MatImage wiki](https://github.com/mattools/matImage/wiki "MatImage Wiki homepage") (work in progress...).
Installation
---
To install the library, with all sub-directories, run the script 'installMatImage.m'.
This will add all required directories to the current path variable.
Some functions need the "MatGeom" library, also available on GitHub
(http://github.com/mattools/matGeom)
Library organization
---
The library is organised into several modules.
* [imFilters](https://github.com/mattools/matImage/wiki/imFilters "imFilters Wiki page") - Image filtering (smooth, enhance, gradient...)
* [imMeasures](https://github.com/mattools/matImage/wiki/imMeasures "imMeasures Wiki page") - Measurement of various parameters in digital images
* [imStacks](https://github.com/mattools/matImage/wiki/imStacks "imStacks Wiki page") - Functions for manipulation and display of 3D images. Contains also the functions "readstack" and "savestack" for import/export of 3D image data.
* [imRegions](https://github.com/mattools/matImage/wiki/imRegions "imRegions Wiki page") - Processing and analysis of regions within 2D/3D label maps
* [imMinkowski](https://github.com/mattools/matImage/wiki/imMinkowski "imMinkowski Wiki page") - Geometric measures (Surface area, Perimeter...) in 2D or 3D
* [imGeodesics](https://github.com/mattools/matImage/wiki/imGeodesics "imGeodesics Wiki page") - Geodesic distance transform for 2D/3D binary images
* [imGranulometry](https://github.com/mattools/matImage/wiki/imGranulometry "imGranulometry Wiki page") - Computation of gray-level granulometry curves with mathematical morphology
* [imShapes](https://github.com/mattools/matImage/wiki/imShapes "imShapes Wiki page") - Generation of phantom images representing geometric shapes
A more specific help is provided in each module directory.

Cite As

David Legland (2026). MatImage (https://github.com/mattools/matImage/releases/tag/v1.2.5), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2022b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.2.5

See release notes for this release on GitHub: https://github.com/mattools/matImage/releases/tag/v1.2.5

1.2.4.0

See release notes for this release on GitHub: https://github.com/mattools/matImage/releases/tag/v1.2.4

1.2.3

See release notes for this release on GitHub: https://github.com/mattools/matImage/releases/tag/v1.2.3

1.2.2

See release notes for this release on GitHub: https://github.com/mattools/matImage/releases/tag/v1.2.2

1.1.0.0

See release notes for this release on GitHub: https://github.com/mattools/matImage/releases/tag/v1.1

1.0.0.0

See release notes for this release on GitHub: https://github.com/mattools/matImage/releases/tag/v1.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.