Skip to main content

Geometric and Radiometric Image Data Resampling

Project description

GRIDR

Geometric and Radiometric Image Data Resampling

Python minimum rustc 1.80 minimum pyo3 0.27.2 Contributions welcome License Documentation

GRIDR is a library for resampling and filtering raster image data, designed for efficiency in both in-memory processing and I/O operations.

Functional Scope & Features

Core Capabilities

  • Grid-based Resampling
    • Adapt raster data to a target geometry defined by a grid containing the coordinates of each target pixel in the source image geometry.
    • Supports both full-resolution and under-sampled resolution grids.
    • Interpolation Methods : Nearest neighbor, Linear, Cubic, Cardinal B-Spline
    • Mask Support:
      • Grid Masks: Raster or sentinel values.
      • Source Image Masks: Raster, sentinel values, or vectorized geometry.
      • Target Mask Production: Generate masks for the target raster geometry.
    • Boundary Condition: extrapolation of edge missing data for interpolation within the source image domain.
    • Standalone mode: user-friendly automatic input checks and preprocessings
  • Filtering: Apply spatial filters in the frequency domain (e.g., low-pass filtering).
  • Mask Rasterization: Convert vectorized geometry masks into a regular target raster geometry.
  • Optimized Workflows: Reduce I/O overhead for large-scale processing.

Function Types

  1. Elemental (Core) Functions
    • Standalone operations for direct manipulation of in-memory data.
    • Ideal for custom processing pipelines and fine-grained control.
  2. Chained Functions
    • Optimized sequences of operations to minimize I/O overhead.
    • Efficiently manage memory and CPU usage for large-scale processing.

Technical Implementation

Architecture

  • Python: Core functionality and interface (not just for bindings).
  • Rust: Performance-critical algorithms and heavy computations.
  • PyO3: Used for seamless Python-Rust bindings.

Key Technical Aspects

  • Rust Core Library: Can be used independently in other Rust projects.
  • Python Integration: Full-featured methods available in Python, not just bindings.
  • Optimized I/O: Designed to handle large datasets efficiently.

Getting Started

To install and use GRIDR, refer to the online documentation

Project details


Download files

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

Source Distribution

gridr-0.5.0.tar.gz (1.0 MB view details)

Uploaded Source

Built Distribution

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

gridr-0.5.0-cp310-abi3-manylinux_2_28_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ x86-64

File details

Details for the file gridr-0.5.0.tar.gz.

File metadata

  • Download URL: gridr-0.5.0.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.10

File hashes

Hashes for gridr-0.5.0.tar.gz
Algorithm Hash digest
SHA256 c7e62de6de1b7f6eb61cd36bec2fb610bf9eeb9cb0bb0a51a7fa5ae5b015e921
MD5 25e37bc5d3afa6cefeb44431c00795f8
BLAKE2b-256 74e77911a0e6944b7b1b53f08d84d4bcd72c74e3455060a4f5c7cdfcd95df1d5

See more details on using hashes here.

File details

Details for the file gridr-0.5.0-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gridr-0.5.0-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a1c41807c3f0043e9eba09a0c82324620774b9195b8695ea8e6aa07b4af3bd8c
MD5 e7eb232cccab39025e75a051d07d4dc6
BLAKE2b-256 498349db643b92ae70ec7c6457a1fee4bb197b79a9fc21ddb3f72abfa479fcbf

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