Skip to main content

(Adaptive) Histogram Equalization library for Python, written in Rust

Project description

ahe

PyPI

uv

A minimalist Python library for Adaptive Histogram Equalization, combining the expressiveness of a user-friendly Python interface with the raw power of a low-level implementation.

Development status

[!WARNING] ahe is pre-alpha software

ahe is developed in the open, but currently unstable.

  • essential features are missing:
    • boundary conditions
    • contrast limitations
  • documentation, examples and references are currently lacking
  • binaries are not published

Installation

[!WARNING] pre-built binaries (wheels) are not published at this stage. A rust compiler toolchain is needed in order to install this package.

$ python -m pip install ahe

Usage

[!IMPORTANT] TODO

Migrating from scikit-image

Why

Put simply, if all your project needs from scikit-image is skimage.exposure.equalize_(adapt)hist, ahe provides a much more lightweight and portable replacement.

ahe has no runtime dependencies beyond numpy. Additionally, its binaries are orders of magnitude lighter than scikit-image's, as well as future-compatible with yet-unreleased versions of Python.

Shows a bar chart comparing wheel sizes

(*: numpy itself, as the common dependency to ahe and scikit-image is excluded from this graph)

[!IMPORTANT] TODO

  • better performance
  • improved guarantees on transformation invariants

How

[!IMPORTANT] TODO

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ahe-0.0.2.tar.gz (46.0 kB view details)

Uploaded Source

File details

Details for the file ahe-0.0.2.tar.gz.

File metadata

  • Download URL: ahe-0.0.2.tar.gz
  • Upload date:
  • Size: 46.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ahe-0.0.2.tar.gz
Algorithm Hash digest
SHA256 bfa645f69d151dbe968a609119ddcae5dcdbdaa7464a8ac2c4652242bcedeaf7
MD5 2708376991392496652a9d33ac38b155
BLAKE2b-256 1fd0d8b93d82d1be1a7b7665d8ef52db9ba000ab570616f5e093eda654136c5b

See more details on using hashes here.

Provenance

The following attestation bundles were made for ahe-0.0.2.tar.gz:

Publisher: cd.yml on neutrinoceros/ahe

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page