Method ReadGT
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
ReadGT(string, OutputArray)
Function for reading ground truth disparity maps. Supports basic Middlebury and MPI-Sintel formats. Note that the resulting disparity map is scaled by 16.
public static int ReadGT(string srcPath, OutputArray dst)
Parameters
srcPathstringpath to the image, containing ground-truth disparity map.
dstOutputArrayoutput disparity map, CV_16S depth.
Returns
- int
returns zero if successfully read the ground truth.