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

Uploaded Source

Built Distribution

sap-0.1.4-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sap-0.1.4.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for sap-0.1.4.tar.gz
Algorithm Hash digest
SHA256 cf7cb5be6d5b2493b03b6c058f9b805d9a316014f1b6279ad40d7918e3d3978f
MD5 c58f34daf95b60e3e3974c8b6fe696d9
BLAKE2b-256 c47c354027a43705bf1e818f5906c8d9dc4cbe8d6a98ef3c0beccc362951a73a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sap-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for sap-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 afdab3a6117a17dc4c7093e08f748c81f51613ea96815991105a82954ce3dfc7
MD5 ea8adfe8caaaf778ec627ea2de7b37d5
BLAKE2b-256 48a9dec4fe93223c27af2e3588c0c5786af6ee79816606c2904e6d0af8c5a15e

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