Skip to main content

equalize_histogram_gpu_profiled

Function equalize_histogram_gpu_profiled 

Source
pub fn equalize_histogram_gpu_profiled(
    runtime: &WgpuRuntime,
    source: &GpuImage,
    profiler: &mut GpuStageProfiler,
) -> SpatialResult<GpuImage>
Expand description

Equalizes a grayscale image while recording exactly five GPU pass timestamps. Requires five unused stages on the same runtime before allocating work.