Geometric and Radiometric Image Data Resampling
Project description
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
- Elemental (Core) Functions
- Standalone operations for direct manipulation of in-memory data.
- Ideal for custom processing pipelines and fine-grained control.
- 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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7e62de6de1b7f6eb61cd36bec2fb610bf9eeb9cb0bb0a51a7fa5ae5b015e921
|
|
| MD5 |
25e37bc5d3afa6cefeb44431c00795f8
|
|
| BLAKE2b-256 |
74e77911a0e6944b7b1b53f08d84d4bcd72c74e3455060a4f5c7cdfcd95df1d5
|
File details
Details for the file gridr-0.5.0-cp310-abi3-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: gridr-0.5.0-cp310-abi3-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.10+, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1c41807c3f0043e9eba09a0c82324620774b9195b8695ea8e6aa07b4af3bd8c
|
|
| MD5 |
e7eb232cccab39025e75a051d07d4dc6
|
|
| BLAKE2b-256 |
498349db643b92ae70ec7c6457a1fee4bb197b79a9fc21ddb3f72abfa479fcbf
|