Skip to main content

Module streaming

Module streaming 

Source

Re-exports§

pub use chunk::Chunk;
pub use chunk::InMemoryRasterSource;
pub use chunk::RasterError;
pub use chunk::RasterSource;
pub use iter::ChunkIterator;

Modules§

chunk
Streaming chunked raster processing.
iter

Structs§

ChunkedRaster
A tiled view of a RasterSource that yields overlapping chunks with halo (ghost / border) cells for seamless neighbourhood processing.

Functions§

extract_inner
Extracts the inner sub-region from a 2-D output array, stripping off halo rows/columns on each side.
process_streaming
Applies a kernel function chunk-by-chunk and stitches the results into a full Vec<f32> output raster.
streaming_focal_mean
Processes focal mean in a streaming (chunk-by-chunk) fashion using a circular window of the given radius.
streaming_hillshade
Processes hillshade in a streaming (chunk-by-chunk) fashion.
streaming_slope
Processes slope in a streaming (chunk-by-chunk) fashion.