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

Uploaded Source

Built Distribution

sap-0.0.13-py3-none-any.whl (15.4 kB view hashes)

Uploaded Python 3

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