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

Uploaded Source

Built Distribution

sap-0.1.5-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sap-0.1.5.tar.gz
  • Upload date:
  • Size: 13.2 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.5.tar.gz
Algorithm Hash digest
SHA256 8328ca68d5af0c683d15c4d05ae3804a3dc9fc4f16c99aa76690bb9ca4e81f4c
MD5 f4f5ab8282f47cdb237bd267eaa5716e
BLAKE2b-256 31638ce7c0484c69bb77b519284f6b28bd7e5c4090c137580cf5284f7f044920

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sap-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 19.1 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 aa04d76b59a9078f22a2d0ae7b5f746eff739589e1d60daf28712cf07a29e465
MD5 998751eb1164f171fb759a58cc81df17
BLAKE2b-256 ecc2edf1fd106e9b931a57da7398b0da235f2d42515fde478ba981dbc31d81a6

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