Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

generic_descriptor_match

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 not 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?

generic_descriptor_match

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 not 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?