Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

Where is the extrinsics file for the aloe plant for reprojection?

$
0
0
Hi community, I was just tracking the samples shipped with OpenCV created the disparity map for the aloe plant but cannot reproject3d as i cannot find the extrinsics file in the samples directory. I know this is a loser question :) maybe someone can point out a better example data set? The example file is ; **/opencv\sources\samples\cpp\stereo_match.cpp** ..but this is a console program and expects the file names as the parameters which i do not know where to get. I'm assuming the right intrinsics file is the 'intrinsics.yml' file found in /opencv\sources\samples\data, but it is impossible without having the extrinsics to reproject3d. The disparity map settings is as follows for those who might be interested: sStereo->alg = StereoCameraRig::STEREO_SGBM; sStereo->SADWindowSize = 11; sStereo->numberOfDisparities = 192; sStereo->preFilterCap = 4; sStereo->minDisparity = -64; sStereo->uniquenessRatio = 1; sStereo->speckleWindowSize = 150; sStereo->speckleRange = 1; sStereo->disp12MaxDiff = 1; sStereo->P1 = 600; sStereo->P2 = 2400; sStereo->textureThreshold = 500; stRig.CreateUpdateStereoMatcher(); stRig.getDisparityMap(viewL, viewR, dispMap, false); normalize(dispMap, disp8, 0, 255, CV_MINMAX, CV_8U); showImage(disp8, true); Thank you very much! (This is my first post (hope will not be the last!) and it is my pleasure to be here in such a great library's forum with you.)

Viewing all articles
Browse latest Browse all 19555

Trending Articles