Skip to main content

fast morphology using kernel subdivision

Project description

[license GPL] [versions] [downloads] [documentation]

Useful links: Binary Installers | Source Repository | Online Documentation |

Description

This module enables efficient morphological erosion and dilatation. It uses the kernel subdivision algorithm implemented in C, with multithreading.

Example of kernel decomposition

Features

  1. Works for any tensor dimension, 2d for images, 3d for videos…

  2. The morphological structuring element decomposition logarithmically reduces temporal complexity.

  3. Functions can be parallelized to take advantage of all the CPU threads, in exchange of higher edge effects.

  4. Functions can be compiled dynamically in C to reduce side-effects and overhead, in exchange for a longer loading time.

Examples

import morphomath
import numpy as np

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

morphomath-0.0.dev1.tar.gz (50.5 kB view details)

Uploaded Source

Built Distribution

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

morphomath-0.0.dev1-py3-none-any.whl (38.8 kB view details)

Uploaded Python 3

File details

Details for the file morphomath-0.0.dev1.tar.gz.

File metadata

  • Download URL: morphomath-0.0.dev1.tar.gz
  • Upload date:
  • Size: 50.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for morphomath-0.0.dev1.tar.gz
Algorithm Hash digest
SHA256 8817eafb169c4f7de65fb57e86273d8282dd2659db2d5ca1c7ded60a080c2273
MD5 6c98e7c9d93b40fe8fc877bf56feac5d
BLAKE2b-256 69be8db9cebb8e45166de74f99045c32244d2dc08c6756c7484f99cef894076b

See more details on using hashes here.

File details

Details for the file morphomath-0.0.dev1-py3-none-any.whl.

File metadata

  • Download URL: morphomath-0.0.dev1-py3-none-any.whl
  • Upload date:
  • Size: 38.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for morphomath-0.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 f0556ee0551315d5f74cdc3700b91d9fcd13b86e045e39574d662a053eb9a83b
MD5 f66ada2e4160d92e737ca7872e565987
BLAKE2b-256 b3b2b33a134c7c468e162ab481f903fd31d509dd08a03c7d1446b1e2aa2e7276

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