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.6.0.tar.gz (1.1 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.6.0-cp310-abi3-manylinux_2_28_x86_64.whl (1.8 MB view details)

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

File details

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

File metadata

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

File hashes

Hashes for gridr-0.6.0.tar.gz
Algorithm Hash digest
SHA256 be287d2bd70b7c05bae009c12e09f9d69e86c66d127f8ccd54288ed80d85d3c3
MD5 816e22b2c42ff019b9ffae8fd3392905
BLAKE2b-256 72a2cdccf51db097ee693fad9b06aa11541ed8e4b31759526d16af0a0995150c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gridr-0.6.0-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5ce9d5c8933c299d1e048929181fed437218cbdf2a9c7dd704398c9e4eab711a
MD5 86c31e4ec1d1fd5855237868919dd331
BLAKE2b-256 a2682a1edccbdbfc336be894bc1c7a288b57df201df2c30871184743c544efac

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