Bugfix: clear input vector of key points for detection stage
This commit is contained in:
parent
33b9e4b4a3
commit
3e24822fff
@ -331,6 +331,8 @@ void KAZEFeatures::Feature_Detection(std::vector<cv::KeyPoint>& kpts) {
|
|||||||
double t2 = 0.0, t1 = 0.0;
|
double t2 = 0.0, t1 = 0.0;
|
||||||
t1 = getTickCount();
|
t1 = getTickCount();
|
||||||
|
|
||||||
|
kpts.clear();
|
||||||
|
|
||||||
// Firstly compute the detector response for each pixel and scale level
|
// Firstly compute the detector response for each pixel and scale level
|
||||||
Compute_Detector_Response();
|
Compute_Detector_Response();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user