mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 09:25:45 +08:00
keep the SURFPoint.laplacian as KeyPoint.class_id (ticket #341)
This commit is contained in:
parent
6cd01dc6ca
commit
6eb36a5569
@ -899,7 +899,8 @@ void SURF::operator()(const Mat& img, const Mat& mask,
|
||||
{
|
||||
const CvSURFPoint& kpt = *it;
|
||||
keypoints[i] = KeyPoint(kpt.pt, (float)kpt.size, kpt.dir,
|
||||
kpt.hessian, getPointOctave(kpt, *this));
|
||||
kpt.hessian, getPointOctave(kpt, *this),
|
||||
kpt.laplacian);
|
||||
}
|
||||
}
|
||||
descriptors.resize(d ? d->total*d->elem_size/sizeof(float) : 0);
|
||||
|
Loading…
Reference in New Issue
Block a user