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.26 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
    • 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.
  • 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.4.3.tar.gz (951.2 kB view details)

Uploaded Source

Built Distribution

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

gridr-0.4.3-cp310-abi3-manylinux_2_28_x86_64.whl (1.3 MB view details)

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

File details

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

File metadata

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

File hashes

Hashes for gridr-0.4.3.tar.gz
Algorithm Hash digest
SHA256 99b76206bbd5fee683f0f95c016c59b7cad1272c4ade1914a8202d6d692b09fc
MD5 6829a4f40f3f71d89fa6e3a0242c1703
BLAKE2b-256 fa3a9e3d323abd62eb770682041f1e2360202a698352de0ba9798e1a1888b646

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gridr-0.4.3-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ebcd9af30e5c70c5622be18b179ddbec9d95ec3fd350ec424401f7a332a690d6
MD5 13ff747fd152ec2be31cc3014f74b73b
BLAKE2b-256 1f9ed49221c7a522ffd29f5458c2f627b44609791df12c91a9113b082f0cd8f1

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