Skip to main content

sobel_gpu

Function sobel_gpu 

Source
pub fn sobel_gpu(
    runtime: &WgpuRuntime,
    source: &GpuImage,
) -> SpatialResult<GpuImage>
Expand description

Computes clamped L1 Sobel magnitude on a single-channel device image.

Runtime, dimensions and device limits are validated before work allocation or pipeline initialization. Output bytes and explicit transfers are unchanged.