/// <summary> /// Computes disparity map for the input rectified stereo pair. /// </summary> /// <param name="left">The left single-channel, 8-bit image</param> /// <param name="right">The right image of the same size and the same type</param> /// <param name="disparity">The 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 FindStereoCorrespondence(GpuImage <Gray, Byte> left, GpuImage <Gray, Byte> right, GpuImage <Gray, Byte> disparity, Stream stream) { GpuInvoke.GpuStereoBMFindStereoCorrespondence(_ptr, left, right, disparity, stream); }