[−][src]Function opencv::ximgproc::read_gt
pub fn read_gt(src_path: &str, dst: &mut dyn ToOutputArray) -> Result<i32>
Function for reading ground truth disparity maps. Supports basic Middlebury and MPI-Sintel formats. Note that the resulting disparity map is scaled by 16.
Parameters
-
src_path: path to the image, containing ground-truth disparity map
-
dst: output disparity map, CV_16S depth
@result returns zero if successfully read the ground truth