/// <summary> /// Apply the filter to the disparity image /// </summary> /// <param name="disparity">The input disparity map</param> /// <param name="image">The image</param> /// <param name="dst">The output disparity map, should have the same size as the input disparity map</param> /// <param name="stream">Use a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).</param> public void Apply(GpuImage <Gray, Byte> disparity, GpuImage <Gray, Byte> image, GpuImage <Gray, byte> dst, Stream stream) { GpuInvoke.GpuDisparityBilateralFilterApply(_ptr, disparity, image, dst, stream); }