Ask Your Question
0

generic_descriptor_match

asked 2013-01-09 09:17:58 -0500

Bomber19 gravatar image

updated 2013-01-15 03:00:14 -0500

Hello, i try to get the generic_desciptor_match.cpp file run with the FernDescriptorMatcher. I call it like this:

generic_descriptor_match.exe image.bmp ref_image.bmp FERN params.xml

The problem that i've got is, that it can't create the descriptor and i don't know why. The XML-file with the params looks like this:

  • < ?xml version="1.0"?>
  • < opencv_storage>
  • < nclasses>50</nclasses>
  • < patchSize>31</patchsize>
  • < signatureSize>2147483647</signaturesize>
  • < nstructs>50</nstructs>
  • < structSize>9</structsize>
  • < nviews>1000</nviews>
  • < compressionMethod>0</compressionmethod>
  • < /opencv_storage>*

The created descriptorMatcher is always null. Why doesn't it work?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-01-15 04:58:23 -0500

It is OpenCV problem. I create a ticket on OpenCV issue tracker. As alternative you can try ORB algorithm. Also you can use descriptor_extractor_matcher.cpp sample. It works normally.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-01-09 09:17:58 -0500

Seen: 237 times

Last updated: Jan 15 '13