mirror of
https://github.com/opencv/opencv.git
synced 2024-11-27 20:50:25 +08:00
minor
This commit is contained in:
parent
7fe4fbfc68
commit
7192bf951c
@ -442,9 +442,9 @@ struct SURFInvoker
|
||||
int maxSize = 0;
|
||||
|
||||
for( k = k1; k < k2; k++ )
|
||||
{
|
||||
{
|
||||
maxSize = std::max(maxSize, ((CvSURFPoint*)cvGetSeqElem( keypoints, k ))->size);
|
||||
}
|
||||
}
|
||||
|
||||
maxSize = cvCeil((PATCH_SZ+1)*maxSize*1.2f/9.0f);
|
||||
Ptr<CvMat> winbuf = cvCreateMat( 1, maxSize > 0 ? maxSize*maxSize : 1, CV_8U );
|
||||
|
Loading…
Reference in New Issue
Block a user