Can't use BRIEF descriptor in BOW unless.... (Feature #1451)
Description
commenting the line 2455 in features2d.hpp CV_Assert( DataType<ValueType>::type matcher.trainDescCollection[iIdx].type() || matcher.trainDescCollection[iIdx].empty() );
and line 351 in matchers.cpp CV_Assert( queryDescriptors.type() CV_32FC1 || queryDescriptors.empty() );
This happens because the brief descriptor results in integers, and BOW is expecting to use floats.
Associated revisions
Merge pull request #1451 from adrians:neon-pull2
History
Updated by Alexander Shishkov about 13 years ago
- Description changed from commenting the line 2455 in features2d.hpp CV_Assert( [[DataType]]<ValueTy... to commenting the line 2455 in features2d.hpp CV_Assert( DataType<ValueType&g... More
Updated by Alexander Shishkov almost 13 years ago
- Target version deleted ()
Updated by Alexander Shishkov almost 13 years ago
- Target version deleted ()
Updated by Maksim Shabunin over 9 years ago
Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4309