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

Uploaded Source

Built Distribution

sap-0.1.1-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sap-0.1.1.tar.gz
  • Upload date:
  • Size: 9.7 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.1.tar.gz
Algorithm Hash digest
SHA256 6e2d304de4138cb356c0289e28aea98f4229ceee0d21dfdd84a3900330c16dd1
MD5 30da67eb89694de8ac93ba27055b3c65
BLAKE2b-256 665e2d7b2e6bb406ef05c1cea495d1781a3ae466bfbb9fb7bd141ab11ed318cd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sap-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 16.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 002eb146d7230a06a8d75925e36c7c4661f3189040cbab2603c19c12fcdd21b5
MD5 d86393925c6a727bdb6dbb04ddd58630
BLAKE2b-256 c75339ab5ab348dc2d8130502f8f4188c814c9aa53342e9b10bef972a25c9536

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