mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
Merge pull request #3488 from jeremyhu:PR-4048
This commit is contained in:
commit
3481c1caec
@ -95,11 +95,8 @@ bool CvCalibFilter::SetEtalon( CvCalibEtalonType type, double* params,
|
||||
|
||||
Stop();
|
||||
|
||||
if (latestPoints != NULL)
|
||||
{
|
||||
for( i = 0; i < MAX_CAMERAS; i++ )
|
||||
cvFree( latestPoints + i );
|
||||
}
|
||||
|
||||
if( type == CV_CALIB_ETALON_USER || type != etalonType )
|
||||
{
|
||||
@ -523,8 +520,6 @@ void CvCalibFilter::DrawPoints( CvMat** dstarr )
|
||||
return;
|
||||
}
|
||||
|
||||
if( latestCounts )
|
||||
{
|
||||
for( i = 0; i < cameraCount; i++ )
|
||||
{
|
||||
if( dstarr[i] && latestCounts[i] )
|
||||
@ -583,7 +578,6 @@ void CvCalibFilter::DrawPoints( CvMat** dstarr )
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user