Merge branch '2.4'
This commit is contained in:
@@ -429,10 +429,11 @@ void CvBlobTrackerAuto1::Process(IplImage* pImg, IplImage* pMask)
|
||||
for(i=0; i<NewBlobList.GetBlobNum(); ++i)
|
||||
{
|
||||
CvBlob* pBN = NewBlobList.GetBlob(i);
|
||||
pBN->ID = m_NextBlobID;
|
||||
|
||||
if(pBN && pBN->w >= CV_BLOB_MINW && pBN->h >= CV_BLOB_MINH)
|
||||
{
|
||||
pBN->ID = m_NextBlobID;
|
||||
|
||||
CvBlob* pB = m_pBT->AddBlob(pBN, pImg, pmask );
|
||||
if(pB)
|
||||
{
|
||||
|
@@ -235,7 +235,7 @@ void CvCalibFilter::SetCameraCount( int count )
|
||||
cvReleaseMat( &rectMap[i][1] );
|
||||
}
|
||||
|
||||
memset( latestCounts, 0, sizeof(latestPoints) );
|
||||
memset( latestCounts, 0, sizeof(latestCounts) );
|
||||
maxPoints = 0;
|
||||
cameraCount = count;
|
||||
}
|
||||
|
@@ -2115,7 +2115,7 @@ CV_IMPL IplImage* icvCreateIsometricImage( IplImage* src, IplImage* dst,
|
||||
if( !dst || dst->depth != desired_depth ||
|
||||
dst->nChannels != desired_num_channels ||
|
||||
dst_size.width != src_size.width ||
|
||||
dst_size.height != dst_size.height )
|
||||
dst_size.height != src_size.height )
|
||||
{
|
||||
cvReleaseImage( &dst );
|
||||
dst = cvCreateImage( src_size, desired_depth, desired_num_channels );
|
||||
|
Reference in New Issue
Block a user