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.1.0.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: sap-0.1.0.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.1.0.tar.gz
Algorithm Hash digest
SHA256 62f603aaa1404c9abe20eedb0ca12f27b75ccfe786d3e4cb1841ae3155b06c1d
MD5 f0e11613963a960195960fe3b267446e
BLAKE2b-256 27d1d330942c832333f3f0a79c9e105dfd6a524786d85b1fd488892b35496e64

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sap-0.1.0-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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f20c0bbf9dd8910f5ae1b45dc1d11a9335ee95594739cd0e6e590e910bbf0aed
MD5 c81e4f7e1695c12a0940388b0beb4564
BLAKE2b-256 3d8575b0864574badd037286bf3426d0005f6f24dd372285494b0ecca9d771a7

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