Python bindings for DIPlib, the quantitative image analysis library
Project description
Python bindings to DIPlib 3 (a.k.a. PyDIP)
Introduction
The purpose of the DIPlib project is to provide a one-stop library and development environment for quantitative image analysis, be it applied to microscopy, radiology, astronomy, or anything in between.
As oposed to all other image processing/analysis libraries and packages out there, DIPlib focuses on quantification. The first priority is precision, all other principles have a lower priority. Our principles are:
-
Precision:
We implement the most precise known methods, and output often defaults to floating-point samples. The purpose of these algorithms is quantification, not approximation.
-
Ease of use
Although our Python bindings are still quite rudimentary, and not much more than a thin wrapper of the C++ library functionality, the image analysis functionality is always easy to use. For example, the user does not, in general, need to be aware of the data type of the image to use these algorithms effectively.
-
Efficiency
We implement the most efficient known algorithms, as long as they don't compromise precision. Ease-of-use features might also incur a slight overhead in execution times. The library can be used in high-throughput quantitative analysis pipelines, but is not designed for real-time video processing.
Besides an extensive collection of image processing and analysis algorithms, this package contains DIPviewer, an interactive multi-dimensional image viewer, and DIPjavaio, an interface to the OME Bio-Formats library. The package is compatible with NumPy and any image processing package that uses a NumPy-compatible way of representing images.
See the DIPlib website for more information.
Installation
To install, simply type
pip install diplib
Windows users might need to install the Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019. To read images through the Bio-Formats library, you will need to download it separately:
python -m diplib download_bioformats
Usage
The interface only has automatically generated docstrings that show the names of each of the parameters. Use the DIPlib reference to learn how to use each function. Get started by reading the User Manual.
These Jupyter notebooks give a short introduction:
License
Copyright 2014-2020 Cris Luengo and contributors
Copyright 1995-2014 Delft University of Technology
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this library except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
(or see the LICENSE.txt
file in this distribution)
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for diplib-3.0.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24d95c1e4546c94d86dd10fc528c76ad223edcb20895c1c17e3ba1ef8747fe77 |
|
MD5 | 885545ae9b4b17eaabe8eef1430ede15 |
|
BLAKE2b-256 | 9f4c26c8d21d5a9e46be219b95d4787208174a9acd424c92ce4c5432f0836498 |
Hashes for diplib-3.0.0-cp39-cp39-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99a943031647d6c774f6de10f65c13ba9b403420eae26dcb31c062bc0127a687 |
|
MD5 | 6d76e3284149254e5764c6ccf9dfc6ed |
|
BLAKE2b-256 | b82da4a4cb6492c0a3d2a0f47c24d45f5995ec048f8de195d2c60fc172a19b5d |
Hashes for diplib-3.0.0-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe1d8a2ff619642d2f7d163c9a3612e726a11dc67873cc8d0c8d4f32024ae491 |
|
MD5 | 531f29425262aaa32f14ec4f57324d5b |
|
BLAKE2b-256 | ca19727e7107d61f2ee1e2720bab290a60795b926c70371cfe962f84cca6ac94 |
Hashes for diplib-3.0.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67257053de189bf0740c949221c02472ded14bce25a7a4844b5fcabd206ac83c |
|
MD5 | 17616a7178115311f3e3b864f4e41aa0 |
|
BLAKE2b-256 | 2a014184d8539e2d802374cd7e1f1c0d3e71e3305d39a48402638529488b1a4a |
Hashes for diplib-3.0.0-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8816fe1243a81c03511959a46f0b805e9b00ae803f971dc025a4e14ab321bf26 |
|
MD5 | 5d635efb3e3f14dc4c81cc5b2024aed5 |
|
BLAKE2b-256 | 6267422a0340c984c17c562e2207ebacf8b226c0c5b2da4e428c185287a92a6c |
Hashes for diplib-3.0.0-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2304ff05ba7eaec9f8b89a1b68bc2776eaaf0acc4b5a6c9bffcf1d2a3f11b4b |
|
MD5 | 08f4b8aaff95ceb9fe6a820850b4cc0e |
|
BLAKE2b-256 | 18bbbb496f55803b94461e63b7cdc73f4958ca3850717e1750bb4a1f89511b36 |
Hashes for diplib-3.0.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d310f153ddfd6335f7a63f6de8f13324a926cfe8178143eebb2e19af876e8d3b |
|
MD5 | e3a164df37d00a259651db02db10d65d |
|
BLAKE2b-256 | c95f4bc7e6b45134a93dd154b95759a2d097485536abf9c4625aea406e736938 |
Hashes for diplib-3.0.0-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76e1f6c01678389e2cd0bdea17776b9a600a21b52fa8d167474d94ac5fc80851 |
|
MD5 | f6380b389049a5ed4f7ffe42963d8b7c |
|
BLAKE2b-256 | f25c298b6305ac050e347c38e8dc34f559cb4429e188f3d6c0c7d0d121afd36b |
Hashes for diplib-3.0.0-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 791546d34b6db67cf39465532522b282aabc15fd5724094dab15b89f527061e1 |
|
MD5 | 837512af0e6e6979fc0c0ff885ede780 |
|
BLAKE2b-256 | 71a8f7183833c1e220c1fe608528c223a59bb6fd24a46d233d4cdfd559351b14 |
Hashes for diplib-3.0.0-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d5beeb3c3759618506d48d38a0e289d5c6056682b4e91ee905a638acf21e836 |
|
MD5 | 6fefe56c328016e18f6d33f248d771f8 |
|
BLAKE2b-256 | b4d1ab1bd383d70f8c01aa26065cfe40a0eb2c3ce272af5988b180ab1f4690e7 |