You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|| Ozan Caglayan on 2014-11-24 14:27
|| Priority: Normal
|| Affected: branch 'master' (3.0-dev)
|| Category: features2d
|| Tracker: Bug
|| Difficulty:
|| PR:
|| Platform: Any / Any
No windowedMatchingMask() function in opencv3
Hi,
I was trying to port an existing OpenCV code to the 3.0-beta but figured out that the function windowedMatchingMask() which was defined in modules/features2d/src/matchers.cpp in OpenCV 2.x no longer exists in OpenCV 3.
I think it was actually moved into the contrib repository's xfeatures2d module with the following commit:
commit d4a77fc42858fc3711e156115c76318d93b7ccb0
Author: Vadim Pisarevsky <vadim.pisarevsky@gmail.com>
Date: Mon Aug 11 23:25:30 2014 +0400
added xfeatures2d (made of opencv/nonfree and a part of opencv/features2d)
But apparently the above commit didn't bring that function into opencv_contrib and commented out the single call to windowedMatchingMask():
modules/xfeatures2d/samples/video_homography.cpp: //Mat mask = windowedMatchingMask(test_kpts, train_kpts, 25, 25);
So maybe the function was dropped completely but I couldn't find any clue about this on Google.
History
Maksim Shabunin on 2015-04-27 09:12
- Target version changed from 3.0-beta to 3.0
The text was updated successfully, but these errors were encountered:
It seems like there is no replacement in OpenCV3 for windowedMatchingMask. A workaround this issues is to add the following OpenCV 2.4 source code in your code:
Transferred from http://code.opencv.org/issues/4022
No windowedMatchingMask() function in opencv3
History
Maksim Shabunin on 2015-04-27 09:12
The text was updated successfully, but these errors were encountered: