private CvStereoSGBMFindCorrespondence ( IntPtr disparitySolver, IntPtr left, IntPtr right, IntPtr disparity ) : void | ||
disparitySolver | IntPtr | |
left | IntPtr | |
right | IntPtr | |
disparity | IntPtr | |
return | void |
/// <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 output single-channel 16-bit signed disparity map of the same size as input images. Its elements will be the computed disparities, multiplied by 16 and rounded to integer's</param> /// <remarks>Invalid pixels (for which disparity can not be computed) are set to (state->minDisparity-1)*16</remarks> public void FindStereoCorrespondence(Image <Gray, Byte> left, Image <Gray, Byte> right, Image <Gray, Int16> disparity) { CvInvoke.CvStereoSGBMFindCorrespondence(_ptr, left, right, disparity); }