Commit ea670600 authored by Dmitry Kurtaev's avatar Dmitry Kurtaev
parent 2dfaad32
......@@ -542,14 +542,16 @@ void CV_CameraCalibrationTest::run( int start_from )
values_read = fscanf(file, "%lf", goodStdDevs + i);
CV_Assert(values_read == 1);
}
if( releaseObject )
{
for( i = CV_CALIB_NINTRINSIC + numImages*6; i < CV_CALIB_NINTRINSIC + numImages*6
+ numbers[0]*3; i++ )
{
if( releaseObject )
{
values_read = fscanf(file, "%lf", goodStdDevs + i);
CV_Assert(values_read == 1);
}
else
goodStdDevs[i] = 0.0;
}
memset( cameraMatrix, 0, 9*sizeof(cameraMatrix[0]) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment