{ site.title | default: site.github.repository_name }

Quantitative Image Analysis in C++, MATLAB and Python

8 December 2022

Release 3.4.0

DIPlib 3.4.0 was released today. It includes some new functionality, and some assorted improvements and bug fixes. Please see the change log for details. This blog post shows off one of the more important changes to the Python bindings.

We recommend that all users upgrade to the new release.


For use from Python

Install through PyPI using

pip install diplib

We support Python 3.8 through 3.11, on Windows, Linux and macOS.

All of these are 64-bit versions only. If you use a different platform, or a different version of Python, you will need to build from source. This is not complicated. We have simple and clear instructions available.

For use from MATLAB

Get a DIPimage installer on GitHub.

If there is no installer for your platform or your version of MATLAB, you will need to build from source. This is not complicated. We have simple and clear instructions available.

For use from C++

Please build from source. This should be a lot easier for you than messing with pre-compiled libraries and their linker compatibility issues. We recommend that you use CMake to build a project using DIPlib, either using the DIPlib repository as a sub-project, or following this example CMake file. If you don’t want to use CMake for your project, then see here for instructions on which preprocessor macros to define.

Though there should not need to change any of your code to use the new version of library, you will have to re-compile it, since some function signatures were changed in backwards-compatible ways.