Module imagery.analysis.raster_adapters
Read image regions from a raster-d view.
Use these helpers when an image operation expects a dense plane but the source is a raster view.
Example
float[] tile = new float[](256 * 256);
auto status = tryReadPlane(source, 0, Region2D(0, 0, 256, 256), tile);
Functions
| Name | Description |
|---|---|
tryReadPlane(source, plane, roi, destination)
|
Copies one raster plane ROI into a dense row-major buffer. The view owns all physical layout and lifetime; the caller owns the destination buffer. |
tryReadValidity(source, roi, destination)
|
Reads a validity plane and converts raster-d's nonzero convention into a compact boolean-like byte mask. This keeps NoData policy explicit. |