Skip to main content

Simple Attribute Profiles

Project description

Simple Attribute Profiles (SAP)

build status coverage report Documentation Status Pypi version

SAP is a Python package to easily compute morphological attribute profiles (AP) of images.

Installation

pip install sap

Documentation

Documentation is available on https://python-sap.rtfd.io.

Notebooks

TODO:

Code examples

import sap
import numpy as np
import matplotlib.pyplot as plt

image = np.random.random((512, 512))

t = sap.MaxTree(image)
area = t.get_attribute('area')
filtered_image = t.reconstruct(area < 100)

plt.imshow(filtered_image)
plt.show()

Develop status

build status coverage report Documentation Status

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

sap-0.0.6.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

sap-0.0.6-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file sap-0.0.6.tar.gz.

File metadata

  • Download URL: sap-0.0.6.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for sap-0.0.6.tar.gz
Algorithm Hash digest
SHA256 6cc3291d9ca7a7683e6457c305a83e5f0bd63c19026a3e029e65abc30b0583de
MD5 54cc0a04b01126f299312437d4f79c5f
BLAKE2b-256 af55ac95a665afbb5ca9a5207f8f02cc2e7950f0dd9566210263c8524f393af1

See more details on using hashes here.

File details

Details for the file sap-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: sap-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for sap-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 773e4fa401a84279ea7f1da9a59a3f024ad80b9cec6079f1ed49dea76cdb3b4e
MD5 70c9e0052ace1ca4c8efc296f7d330dd
BLAKE2b-256 5b6b1837e4581a37205c4d8f2193f950c96325730989924f8eee91e1c1792fd0

See more details on using hashes here.

Supported by

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