FEZrs is an advanced Python library developed by FEZtool for remote sensing applications. It provides a set of powerful tools for image processing, feature extraction, and analysis of geospatial data.
✅ Apply various image filtering techniques (Gaussian, Laplacian, Sobel, Median, Mean)
✅ Contrast enhancement and edge detection
✅ Support for geospatial raster data (TIFF)
✅ Designed for remote sensing and satellite imagery analysis
✅ Easy integration with FastAPI for web-based processing
To install FEZrs and its dependencies, use:
pip install fezrsExample of applying a Gaussian filter to an image:
from pathlib import Path
from fezrs.file_handler import OpenFiles
from fezrs.gaussian import GAUSSIANCalculator
import matplotlib.pyplot as plt
tif_file = Path("path/to/your/image.tif")
calculator = GAUSSIANCalculator(OpenFiles(tif_file=tif_file))
gaussian_image = calculator.calculate()
plt.imshow(gaussian_image, cmap="gray")
plt.title("Gaussian Filter")
plt.axis("off")
plt.show()contrast.py– Contrast enhancementgaussian.py– Gaussian filterlaplacian.py– Laplacian edge detectionmean.py– Mean filtermedian.py– Median filtersobel.py– Sobel edge detectionfile_handler.py– File management for TIFF imagesOException.py– Custom exception handling
We welcome contributions! To contribute:
- Fork the repository
- Create a new branch (
git checkout -b feature-name) - Commit your changes (
git commit -m "Add new feature") - Push to your branch (
git push origin feature-name) - Open a Pull Request
Special thanks to Chakad Cafe for the coffee that kept us fueled during development! ☕
This project is licensed under the Apache-2.0 license.