cv::ORB assertation (Bug #1832)


Added by Adam Babinec almost 13 years ago. Updated almost 13 years ago.


Status:Cancelled Start date:2012-04-21
Priority:Normal Due date:
Assignee:Maria Dimashova % Done:

0%

Category:features2d
Target version:2.4.0
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

Detection of features in image fails when calling:
void operator()( InputArray image, InputArray mask, vector<KeyPoint>& keypoints,
OutputArray descriptors, bool useProvidedKeypoints=false ) const;
(with mask)
with an assertion at modules/core/src/stat.cpp, line 1680.

I use the algoritm with these parameters:
ORB\scaleFactor=1.5
ORB\numOfLevels=5
ORB\edgeThreshold=40
ORB\firstLevel=0
ORB\numOfPoints=800
ORB\WTA_K=2
ORB\scoreType=1
ORB\patchSize=31

I am using rebuild version 2.3.3, revision 7785.


Related issues

related to Bug #1835: Documentation of ORB Done 2012-04-22

History

Updated by Adam Babinec almost 13 years ago

After the further inspection I found out, that the assertion is in fact caused by BFMatcher with Hamming distance and crosschecking...

Updated by Adam Babinec almost 13 years ago

Well, so, finally I found the bug. It was in my program, as I was using BFMatcher with crosschecking, but I called knnMatch with k = 2. I did not realize, it is not possible to cross check that. You can cancel the issue.

Updated by Andrey Kamaev almost 13 years ago

  • Status changed from Open to Cancelled
  • Target version set to 2.4.0

Also available in: Atom PDF