Metadata-Version: 2.1
Name: sap
Version: 0.2.4
Summary: Simple Attribute Profiles
Home-page: https://gitlab.inria.fr/fguiotte/sap
Author: Florent Guiotte
Author-email: florent.guiotte@irisa.fr
License: UNKNOWN
Description: # Simple Attribute Profiles (SAP)
        
        
        [![build status](https://gitlab.inria.fr/fguiotte/sap/badges/master/pipeline.svg)](https://gitlab.inria.fr/fguiotte/sap/pipelines/latest)
        [![coverage report](https://gitlab.inria.fr/fguiotte/sap/badges/master/coverage.svg)](https://gitlab.inria.fr/fguiotte/sap/commits/master)
        [![Documentation Status](https://readthedocs.org/projects/python-sap/badge/?version=master)](https://python-sap.readthedocs.io/en/master)
        [![Pypi version](https://img.shields.io/pypi/v/sap.svg)](https://pypi.org/project/sap/)
        
        
        SAP is a Python package to easily compute morphological attribute
        profiles (AP) of images.
        
        ## Installation
        
        ```shell
        pip install sap
        ```
        
        ## Documentation
        
        Documentation is available on <https://python-sap.rtfd.io>.
        
        ### Notebooks
        
        **TODO:**
        
        ### Code examples
        
        ```python
        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](https://gitlab.inria.fr/fguiotte/sap/badges/develop/pipeline.svg)](https://gitlab.inria.fr/fguiotte/sap/pipelines?scope=branches)
        [![coverage report](https://gitlab.inria.fr/fguiotte/sap/badges/develop/coverage.svg)](https://gitlab.inria.fr/fguiotte/sap/commits/develop)
        [![Documentation Status](https://readthedocs.org/projects/python-sap/badge/?version=develop)](https://python-sap.readthedocs.io/en/develop)
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
