Add read/write functions to xfeatures2d and normalize naming convention#2997
Add read/write functions to xfeatures2d and normalize naming convention#2997augustinmanecy wants to merge 2 commits intoopencv:masterfrom
Conversation
modules/xfeatures2d/src/surf.hpp
Outdated
|
|
||
| void read( const FileNode& fn) | ||
| { | ||
| fn["extended"] >> extended; |
There was a problem hiding this comment.
what about hessianThreshold ?
|
you'll have to fix the java tests which currently expect either empty files, or a different layout and there's a small general problem. |
|
@berak I think I corrected the java tests which failed in your link (TestCase Features2dTest.TestPTOD, and tests for BRIEF and SURF) |
|
Build target: |
…ult value in case of missing parameter.
|
Hi, I just pushed a new commit which fix Java tests. I also added additionnal check in read methods in order to avoid erasing current value of parameters which are not in the configuration file (if a paramater was missing in the configuration file, it was replaced by 0). |
|
replaced by #3003 |
Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.