Updated by Kirill Kornyakov over 11 years ago

<pre>
vector<Mat> images = PrepareImages();
vector<Mat> masks = PrepareMasks();
vector<vector<KeyPoint>> keypoints;
Feature2D * detector = new BRISK(30, 0, 1.0f);
detector->detect(images, keypoints, masks);
</pre>


The heap is now corrupt. Deleting keypoints will trigger a messagebox and fatal error, at least under VS2010 with the debug heap.

x64 libraries, in case that matters.

Back