euprima
Euler (characteristic) profiles for image analysis.
Disclaimer
This project was started as a prototype implementation for my bachelors thesis on the efficient computation of Euler characteristic profiles for three-channel digital images. Once the thesis has been accepted, it will also be linked to from this README.
At the moment this repository is still very much a work in progress and hence very unorganized and messy. Once I finally come up with a better (i.e. more organized) folder structure, this repository will be reorganized accordingly.
Installing the Python package
You can find the Python interface on PyPI as the euprima package.
It can be installed using
pip install euprima
For the installation you will need a C++ compiler, cmake and pybind11.
Closing the repository
This repository uses the eulearning repository by Hacquard and Lebovici as a Git submodule for benchmarking.
Clone the repository using the --recursive flag to pull down the benchmark files automatically:
git clone --recursive https://github.com/mazmap/euprima.git
In case you forgot the --recursive flag, you can execute
git submodule update --init --recursive
after cloning
Testing and Benchmarks
For executing the tests and benchmarks in tests/ you will need various Python packages such as numpy and pandas.
To install all required packages, you can use the uv package/project manager.
All dependencies are listed in tests/pyproject.toml (including the euprima package).
For the benchmarks against the eulearning implementation by Hacquard and Lebovici, you have to clone the eulearning/ folder from their repository into tests/eulearning/ or clone it as a submodule as described above.
Documentation
I am working on a documentation with clear usage examples for the functions we provide via the pybind11 interface.
For now, consult the test and benchmark files in tests/ to get an idea of how the functions are supposed to be used.
Metadata
Release files for euprima 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| euprima-0.1.1.tar.gz | 27.1 MB | Without provenance | Details for euprima-0.1.1.tar.gz |
Release files / euprima-0.1.1.tar.gz
| Download URL | euprima-0.1.1.tar.gz |
|---|---|
| Size | 27.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6da275a4eaaf2badf31b9cc729473929ec359696adda915186fb7f7348cc6323
|
|
BLAKE2b-256 checksum How to use checksums |
bcea677670f4d0afd071d041394f0210fed2e69222d6b3b5c13facf3d3001a3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.14
|
Security for euprima 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.