Skip to main content

Feature Extraction and Zoning for Remote Sensing (FEZrs)

Project description

DOI

FEZrs v0.2.6

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.2.7.tar.gz (10.4 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.2.7-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fezrs-0.2.7.tar.gz
Algorithm Hash digest
SHA256 fd6b472758e78f2104620ea618c0c91a0fe91b6f3eb3ade93259d898ecb7952e
MD5 7a36d04810147742362494dfc1f4271b
BLAKE2b-256 f76498a3f50026113c0fdd56331c0b13276f3cdedab0f1279a666b14c4c6d0ce

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fezrs-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 14.0 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.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 89dd5306f2351f844c6586755f9ee7f0a0765db798a79cd57887f1f47eaa42b4
MD5 65742f9abfa52ec62305728f796b5583
BLAKE2b-256 a0089d15c10f13e88c3b1ed8a812f1d500f4d71407948065bc63939c80b9191d

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