Skip to main content

Simple Attribute Profiles (SAP)

build status codecov Documentation Status Pypi version Pypi python

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 codecov Documentation Status

Release files for sap 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sap 1.0.0
File Size Uploaded
sap-1.0.0.tar.gz 28.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sap 1.0.0
File Interpreter ABI Platform
sap-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 60.4 kB

Release files / sap-1.0.0.tar.gz

Download URL sap-1.0.0.tar.gz
Size 28.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a2d50c9c253791cefe1bce7509cee8a54f770fb14527a38f89b906d22ef2addd
BLAKE2b-256 checksum
How to use checksums
1110b361c9924e1268ecc9c6e738f14ff47ac96a693539bd1f19d614552d8244
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.8

Release files / sap-1.0.0-py3-none-any.whl

Download URL sap-1.0.0-py3-none-any.whl
Size 31.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
254e2c2e2c2f4af48dcafd1cab10a2a559ae5b79a88ab91ca5e02103e853dd5d
BLAKE2b-256 checksum
How to use checksums
bed2fb7aa508b9f0414c16ef7612a7cf9a48bc92d1273960194bc3455bff3a75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.8

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.15

2 release files

0.0.13

2 release files

0.0.11

2 release files

0.0.9

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page