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.2.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.2-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.2.tar.gz.

File metadata

  • Download URL: gridr-0.5.2.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.2.tar.gz
Algorithm Hash digest
SHA256 707e191afe169a21dda7644226ba0487e265afee7a929fb0e1a91fcfda4dc8dd
MD5 bfc99c37e341dd846bd5d5a9f1aa847b
BLAKE2b-256 3fc027ca4b34fc8632025919bc76d9d1973cd33eb789be88678493035eaa5463

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gridr-0.5.2-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d7ecbc6fce5202e8fc75363775ccf07a31c7c8e123c305556d074233f2ca1812
MD5 c8b2db15e1902bd281a915c3d5e6be7f
BLAKE2b-256 6bdba27a4ee2b84d7a9e87bea72901343aae73029619e875e7d82a31ca9634e3

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