21 May 2022

Release 3.3.0

DIPlib 3.3.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 discusses a few 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:

OS Python 3.6 Python 3.7 Python 3.8 Python 3.9 Python 3.10
Windows   x x x x
Linux x x x x x
macOS (Intel)   x x x x
macOS (Apple Silicon)     x x x

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.

Note that there is a change that could break your existing code, but this can be easily fixed. See the change log linked above before upgrading.

For use from MATLAB

We haven’t created any pre-built installers for this version of DIPlib. 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 be no need to change any of your code to use the new version of library, you might have to re-compile it, since some header files have changed.