Python package providing spatial smoothing methods for probability maps.
Bayesian Smoothing: Bayes smoothing method using the C++ functions from the sits R package.
To install the package, you must have Armadillo installed, then you can use pip:
pip install git+https://github.com/m3nin0-labs/smoother.py
The smoother.py
package is designed for simplicity. It is simple to get started with it. Here's a quick example:
import smoother
smoothed_data = smoother.bayes(your_numpy_array)
The smoothing methods implemented in this package uses the approach described in the sits documentation. This method helps in refining the probability maps by considering the spatial context of each pixel.
We would like to thank the developers and contributors of the sits
R package for their work on spatial smoothing methods for Earth observation data. Their comprehensive documentation and methodologies have been invaluable in the development of smoother.py
.
We welcome contributions! If you have suggestions for improvements or bug fixes, please feel free to fork the repository and submit a pull request.
smoother.py
is distributed under the MIT license. See LICENSE for more details.