Table of Contents

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

srcPath string

path to the image, containing ground-truth disparity map.

dst OutputArray

output disparity map, CV_16S depth.

Returns

int

returns zero if successfully read the ground truth.