Function tryReadValidity

Reads a validity plane and converts raster-d's nonzero convention into a compact boolean-like byte mask. This keeps NoData policy explicit.

imagery.analysis.raster_adapters.RasterAdapterError tryReadValidity(
  scope raster.view.RasterView!(ubyte) source,
  raster.region.Region2D roi,
  ref ubyte[] destination
) @safe;