Skip to main content

A package for image processing using the heat semigroup.

Project description

Heatdiff

The aim of this initial release is to demonstrate how the heat semigroup can be used as a lossy compression tool for image processing, in particular, for image corruption and restoration.

We also demonstrate that the heat semigroup can be used for image compression, via its use as a kernel in a weighted K-Means algorithm.

In addition, we will demonstrate that explicit diffusion equations can also be used as lossy compression for images. One can view this method as a 'learning free' denoising diffusion model. We replicate the experiments for the heat semigroup with diffusion equations, using their appropriate analogues.

You can visualise the heat semigroup and the diffusion process and examples can be found in the visualisation notebooks.

In the future, we aim to investigate further topics such as: regularised image restoration; lossless compression; and the integration of machine learning tools amongst others.

Installation

pip install heatdiff

Examples

The following notebooks demonstrate the most relevant features:

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

heatdiff-0.1.1.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

heatdiff-0.1.1-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file heatdiff-0.1.1.tar.gz.

File metadata

  • Download URL: heatdiff-0.1.1.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.5

File hashes

Hashes for heatdiff-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5cd44320ec40f00f3a043ec8ecc11b3c9e03bdbead207bad982217292272c1a0
MD5 85cb1dcaa27f4b80ba3da1ac4d447fe6
BLAKE2b-256 6f6c7c8ae70600c6a7d7de38c64d0512a9ce8c37e9fe76c67d44b0dcfdfd1992

See more details on using hashes here.

File details

Details for the file heatdiff-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: heatdiff-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.5

File hashes

Hashes for heatdiff-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 51e5bf64427feb6808b6b9ec0429eb6384622bf6704df8a574e175ce54c0feee
MD5 7320235730973f42260af50bc5794b08
BLAKE2b-256 8ffa3f4572f60fe977b352aeee32135121146fff43b82fed0e71d885f33c6977

See more details on using hashes here.

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