Skip to main content

Feature Extraction and Zoning for Remote Sensing (FEZrs)

Project description

FEZrs

DOI PyPI Conda License PyPI - Downloads GitHub stars

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.

Features

✅ 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

Installation

To install FEZrs and its dependencies, use:

pip install fezrs

Usage

Example 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()

Modules

  • contrast.py – Contrast enhancement
  • gaussian.py – Gaussian filter
  • laplacian.py – Laplacian edge detection
  • mean.py – Mean filter
  • median.py – Median filter
  • sobel.py – Sobel edge detection
  • file_handler.py – File management for TIFF images
  • OException.py – Custom exception handling

Contributing

We welcome contributions! To contribute:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature-name)
  3. Commit your changes (git commit -m "Add new feature")
  4. Push to your branch (git push origin feature-name)
  5. Open a Pull Request

Acknowledgment

Special thanks to Chakad Cafe for the coffee that kept us fueled during development! ☕

License

This project is licensed under the Apache-2.0 license.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fezrs-0.4.21.tar.gz (17.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fezrs-0.4.21-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file fezrs-0.4.21.tar.gz.

File metadata

  • Download URL: fezrs-0.4.21.tar.gz
  • Upload date:
  • Size: 17.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.18

File hashes

Hashes for fezrs-0.4.21.tar.gz
Algorithm Hash digest
SHA256 f1671596b3e7f76ee7031ce7e2bd9d5f6b95587439cce4fcb49d290d7852c639
MD5 af7bf797dda76f948a34cfc3890183cf
BLAKE2b-256 f7f40b55e4cc8cbe3c6c2b8998adb4f99a004d8b8396320f14be222a29a2254a

See more details on using hashes here.

File details

Details for the file fezrs-0.4.21-py3-none-any.whl.

File metadata

  • Download URL: fezrs-0.4.21-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.18

File hashes

Hashes for fezrs-0.4.21-py3-none-any.whl
Algorithm Hash digest
SHA256 8f04e495aac5de2784deb8b4a5b56bd39f1802803103ced586717dc7ec38caff
MD5 06dc524195a8a87f8bce5a12c6ed0375
BLAKE2b-256 efab1cde268d800cc12c051c4f48e8749104132402ce211a8eccf76200feef2c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page