fixed the case of scale != 1 in stereo_match.cpp (patch #1936)

This commit is contained in:
Vadim Pisarevsky 2012-10-08 22:39:11 +04:00
parent a63669f819
commit a310e2f027

View File

@ -189,6 +189,9 @@ int main(int argc, char** argv)
fs["D1"] >> D1;
fs["M2"] >> M2;
fs["D2"] >> D2;
M1 *= scale;
M2 *= scale;
fs.open(extrinsic_filename, CV_STORAGE_READ);
if(!fs.isOpened())