Commit Graph

315 Commits

Author SHA1 Message Date
Vadim Pisarevsky
2e9f5c434b added improved ORB implementation, convex-convex polygon intersection, eigen2x2 low-level function ... 2011-11-08 12:01:49 +00:00
Andrey Kamaev
21a4a06d8a Fixed bug in KeyPointsFilter::runByImageBorder; added ROI adjustment to ORB 2011-10-21 08:38:47 +00:00
Vadim Pisarevsky
b74116e694 unified norm computing; added generalized Hamming distance 2011-10-11 15:13:53 +00:00
Vadim Pisarevsky
f947c2eb96 new, much simpler and SSE2-optimized implementation of FAST 2011-10-09 18:15:13 +00:00
Alexander Mordvintsev
0ad1d0afac fixed problem with incorrect distance values returned by FlannBasedMatcher for hamming metric (int's were interpreted as floats) 2011-09-22 08:52:40 +00:00
Vadim Pisarevsky
d3d55f3234 fixed crashes in parallel HOG detector; avoid use of new POPCNT instruction in ORB (to make it compatible with older CPUs). 2011-08-16 13:52:02 +00:00
Vadim Pisarevsky
a51a8ad577 fixed tickets #1301, #1303, #1305 2011-08-14 19:46:39 +00:00
Maria Dimashova
81cb7b2c5e added read/write methods for SimpleBlobDetector and DenseFeatureDetector; added their creation to FeatureDetector::create method (#1290) 2011-08-10 09:17:37 +00:00
Maria Dimashova
999481273e fixed memory leak in SIFT wrapper (#1288) 2011-08-10 07:02:50 +00:00
Maria Dimashova
fcd999ae6e added SL2 (squared L2 distance) and implemented the descriptors matching in L2 using SL2 2011-08-08 13:18:12 +00:00
Maria Dimashova
dc14b45617 minor changes 2011-08-08 12:47:04 +00:00
Vadim Pisarevsky
3f40a1d8c3 fixed KeyPoint::convert(keypoints,point2f) (ticket #1282; thanks to cooperz for the patch) 2011-08-06 19:42:29 +00:00
Maria Dimashova
0d55ccac74 added check of output image in drawKeypoints() 2011-08-05 14:04:38 +00:00
Andrey Kamaev
874196e384 Implemented read/write methods for FlannBasedMatcher; fixed features2d wrappers for java 2011-08-04 14:13:07 +00:00
Andrey Kamaev
13185ad8f7 Implemented read/write methods for BriefDescriptorExtractor class 2011-08-04 09:56:10 +00:00
Andrey Kamaev
be5328178f Fixed reading/writing parameters for OrbDescriptorExtractor 2011-08-04 06:18:24 +00:00
Vadim Pisarevsky
ff5e97c8e4 added COVAR_ and SORT_ enums to core.hpp; fixed many, many VS2005, VS2010 and MinGW (GCC 4.5.2) warnings 2011-07-19 12:27:07 +00:00
Vadim Pisarevsky
562914e33b upgraded to FLANN 1.6. Added miniflann interface, which is now used in the rest of OpenCV. Added Python bindings for FLANN. 2011-07-13 23:04:39 +00:00
Maria Dimashova
0b1575c485 fixed SIFT when keypoints vector is empty (#1162) 2011-07-08 15:54:57 +00:00
Maria Dimashova
370130e464 fixed PyramidAdaptedFeatureDetector (when mask is not empty) (#1206) 2011-07-08 14:41:43 +00:00
Vincent Rabaud
3e1b0186fe - make sure we don't crash for an empty image 2011-07-01 01:28:14 +00:00
Vadim Pisarevsky
b204e73d9a propagated some more fixes from 2.3 branch to the trunk 2011-06-29 22:06:42 +00:00
Vincent Rabaud
b5754550ab fix #1169 2011-06-29 17:01:23 +00:00
Vincent Rabaud
7c2e74b649 - fix a bug if the descriptor is used for images of different size 2011-06-24 23:21:39 +00:00
Maria Dimashova
e95f8194e2 uncommented Opponent descriptors test, fixed descriptors mat size 2011-06-17 10:47:35 +00:00
Vladimir Dudnik
6e38b6aaed removed trailing backspaces, reduced number of warnings (under MSVC2010 x64) for size_t to int conversion, added handling of samples launch without parameters (should not have abnormal termination if there was no paramaters supplied) 2011-06-17 06:31:54 +00:00
Maria Dimashova
35aa133d9a minor formating 2011-06-15 13:30:26 +00:00
Alexander Shishkov
db85928e7f fixed compilation error on MCVS in descriptors.cpp 2011-06-15 13:26:46 +00:00
Maria Dimashova
1932942924 fixed OpponentColorDescriptorExtractor (#1109) 2011-06-15 12:51:54 +00:00
Maria Dimashova
ada3e6e624 fixed erasing class_id and response members in sift (#1130) 2011-06-15 10:15:05 +00:00
Anatoly Baksheev
8f4c7db3f6 ~40 warnings under VS2008
HAVE_CONFIG_H -> HAVE_CVCONFIG_H
2011-06-11 17:24:09 +00:00
Ilya Lysenkov
2beae4d30b Minor change of SimpleBlobDetector 2011-06-09 12:49:23 +00:00
Ilya Lysenkov
f60d7fdfef Simplified SimpleBlobDetector to make it simple) 2011-06-09 11:07:08 +00:00
Maria Dimashova
b5163291dd added upright mode to SURF (#825) 2011-06-08 09:23:33 +00:00
Maria Dimashova
ca551ab9ae added one more SIFT::CommonParams constructor 2011-06-07 07:41:59 +00:00
Vadim Pisarevsky
fcd2a0c3d3 fixed VS2010 compile warnings and errors 2011-06-06 15:15:30 +00:00
Maria Dimashova
cd2f3786f0 removed duplicated check 2011-06-06 12:07:15 +00:00
Vincent Rabaud
aa6c2bfbbb - fixed the grayscale case 2011-06-02 23:12:52 +00:00
Vincent Rabaud
3ed829af71 - make sure we deal with a grayscale image 2011-06-02 22:58:52 +00:00
Vincent Rabaud
ff13c9f818 - fix potential crash if the first scale level is not 0 2011-06-02 18:08:30 +00:00
Vincent Rabaud
fc19e856a6 - fix a memory leak 2011-06-01 18:24:53 +00:00
Andrey Kamaev
25213d88a8 fixed compilation problems with new SIFT on Android 2011-06-01 12:42:44 +00:00
Anatoly Baksheev
68a94665e5 compilation for windows 2011-06-01 08:19:21 +00:00
Vincent Rabaud
f21fadfa49 - serialize/deserialize the edge threshold too 2011-06-01 03:26:08 +00:00
Vincent Rabaud
7ca26c040f - make sure we rescale the input keypoints 2011-06-01 03:25:53 +00:00
Vincent Rabaud
211c112b91 - hide the patch size from the user (only one is used now as training was only done at that scale)
- enable a border_threshold just like for SIFt so that calling ORB, or descriptor after feature gives the same number of features
2011-06-01 02:09:31 +00:00
Ethan Rublee
ce94e4a994 Fix # of features in orb. 2011-06-01 00:25:32 +00:00
Alexander Shishkov
b644505bdf fixed compilation problems with new SIFT on Windows 2011-05-31 22:51:16 +00:00
Alexander Shishkov
389bd146c4 fixed compilation problems with new SIFT on MacOs 2011-05-31 22:03:55 +00:00
Maria Dimashova
035fd0019b replaced SIFT implementation (Some default parameters can be changed in the near future) 2011-05-31 18:18:02 +00:00
Vadim Pisarevsky
af2af3af9b added KeyPoint::hash() (ticket #1100) 2011-05-31 14:24:45 +00:00
Maria Dimashova
8a61375875 fixed drawKeypoints (keypoint orientation) 2011-05-30 09:11:27 +00:00
Ilya Lysenkov
5a3e7d041f Added drawing of a new image for debugging of the SimpleBlobDetector class. 2011-05-30 06:54:59 +00:00
Maria Dimashova
0b0baa0cf5 removed test output 2011-05-27 12:18:44 +00:00
Maria Dimashova
33493f4e19 renamed WITH(HAVE)_EIGEN2 to WITH(HAVE)_EIGEN, fixed compilation error if eigen3 is used (#805) 2011-05-27 12:15:36 +00:00
Vincent Rabaud
909e484e74 - fix a possible crash when only asking for features and not descriptors 2011-05-25 00:33:50 +00:00
Leonid Beynenson
555e9c64bc Small change in the SURF algorithm to be sure that without TBB the template parallel_for is not used
(the reason: the parallelization in the SURF algorithm conflicts with ThreadingFramework, which is a temporary substitute of TBB for ARMs)
2011-05-24 16:13:55 +00:00
Vadim Pisarevsky
76e4c2007b fixed vector resize in the ORB detector 2011-05-24 13:31:50 +00:00
Vincent Rabaud
974799acd8 - fix possible crash introduced by cvRound 2011-05-23 20:03:16 +00:00
Vadim Pisarevsky
145a76faf4 fixed features2d (ORB) compile errors on Windows 2011-05-23 07:58:35 +00:00
Vadim Pisarevsky
23768b1826 replaced #include <some_opencv_hdr> with #include "some_opencv_hdr" (ticket #719) 2011-05-21 18:32:34 +00:00
Vincent Rabaud
9170ff6f5e - assign some members outside the header (fixes #1081) 2011-05-21 17:27:38 +00:00
Kirill Kornyakov
92d1262f87 bugfix for Windows x64, Visual Studio 10 2011-05-21 15:09:54 +00:00
Vincent Rabaud
dc37ad803e - add missing tests for ORB
- remove useless code for 2.3
2011-05-20 23:53:22 +00:00
Vincent Rabaud
4b1f183bcd - adding ORB 2011-05-20 22:25:53 +00:00
Maria Dimashova
983f4f1621 minor changes of recall-precision output 2011-05-20 12:14:35 +00:00
Vadim Pisarevsky
62569f6926 fixed a few warnings on Windows; fixed critical bugs in cvMixChannels and AutoBuffer<>. 2011-05-17 15:44:01 +00:00
Maria Dimashova
8acce4e31f some renames 2011-05-15 09:19:05 +00:00
Maria Dimashova
c46b510f4c restored 2 methods (for backward compatibility) 2011-05-11 12:59:36 +00:00
Maria Dimashova
af28d19b3a extended the constructor parameters of AdjusterAdapter's inheritors 2011-05-11 12:13:58 +00:00
Maria Dimashova
c98c87d545 fixed DynamicAdaptedFeatureDetector 2011-05-11 11:53:53 +00:00
Anatoly Baksheev
1c18e5fef9 fixed ~300 warnings under windows (had to hack gtest a bit) 2011-05-06 21:45:48 +00:00
Andrey Kamaev
9f29506d2c Refactored NEON optimization usage 2011-05-06 12:24:56 +00:00
Maria Dimashova
66c116ec6a fixed #1044 2011-05-05 10:10:46 +00:00
Maria Dimashova
b9662e099c added the filtering of keypoints having zero size (#877) 2011-05-01 17:38:52 +00:00
Maria Dimashova
e7ef84b2c2 fixed #932 2011-04-29 17:12:55 +00:00
Maria Dimashova
fa6400843e fixed #982 2011-04-29 16:42:38 +00:00
Maria Dimashova
34a18f79e1 fixed #832 2011-04-29 14:37:02 +00:00
Maria Dimashova
e202b13069 fixed bug in knnMatch method 2011-04-29 14:12:17 +00:00
Alexander Shishkov
de93fdb1af fixed bug in knnMatch method 2011-04-29 13:23:22 +00:00
Andrey Kamaev
cc1c613313 Fixed #998 and #999: OpponentSIFT and OpponentSURF regression tests failure on Android 2011-04-20 07:33:05 +00:00
Vladimir Dudnik
8e7768379f minor changes: removed trailing spaces in some files 2011-04-18 19:34:51 +00:00
Vadim Pisarevsky
abeeb40d46 a big patch; use special proxy types (Input/OutputArray, Input/OutputArrayOfArrays) for passing in vectors, matrices etc. 2011-04-17 13:14:45 +00:00
Vincent Rabaud
3ac48de183 - speed up the Hamming distance 2011-03-28 04:36:39 +00:00
Ethan Rublee
6c2cdb6772 Applying fix described in ticket #910. sift was not being built for arm... 2011-03-15 16:31:53 +00:00
Vincent Rabaud
28c2d3b89f - replace the linear search in a sorted list by the appropriate algorithm 2011-03-13 00:31:17 +00:00
Vadim Pisarevsky
d7b3e254dd removed duplicated SIFT points (reported by Luca Del Tongo) 2011-02-25 11:14:00 +00:00
Vadim Pisarevsky
65a7f13af3 replaced alloca() (a.k.a. cvStackAlloc) with AutoBuffer or vector() everywhere. cvStackAlloc() is still defined, but we do not need alloca() anymore to compile and run OpenCV (fixes #889 and may be some others) 2011-02-18 10:29:57 +00:00
Vadim Pisarevsky
d9ab1d2b92 fixed build on Windows with MSVC2010 2011-02-09 22:45:45 +00:00
Ilya Lysenkov
f8e9f65ea8 Added detection of asymmetric circles' pattern 2011-02-07 07:57:32 +00:00
Ethan Rublee
885cef7660 Minor fix to pop count based hamming distance. Being consistent with type. 2011-02-07 05:10:14 +00:00
Maria Dimashova
c562d79121 changed border type to float 2011-01-31 16:45:12 +00:00
Maria Dimashova
fd1f644e39 fixed #772 (added empty implementation of SIFT class methods throwing exception if ARM) 2011-01-31 16:23:26 +00:00
Maria Dimashova
79d8d50cbe forgot to commit in the last time 2011-01-31 14:48:15 +00:00
Maria Dimashova
9b4c682623 added empty() method to common features2d classes; fixed #831 2011-01-31 14:18:50 +00:00
Maria Dimashova
1748f65f54 fixed ticket #823 2011-01-31 09:51:17 +00:00
Ethan Rublee
a47b6c23f5 revert the hamming distance to use unsigned long, on 64bit machines, using size_t
with __build_popcountl doesn't return correct number of bits. the ll version should work, but for simplicity,
locking it down to long for now.  TODO add a unit test for the Hamming distance.
2011-01-24 16:59:14 +00:00
Maria Dimashova
b63b3df522 minor fixed 2011-01-21 16:07:28 +00:00
Ethan Rublee
1e1a139270 fixing bug related to using the hamming distance on descriptors whose length is not divisible by sizeof(size_t). 2011-01-20 02:36:46 +00:00
Maria Dimashova
a16d304d52 fixed compile error 2011-01-12 12:46:26 +00:00
Maria Dimashova
96d88f0673 fixed FernDescriptorMatcher (#765) 2011-01-12 12:03:03 +00:00
Maria Dimashova
655120febc fixed collisions between std::transform() and cv::transform() (#781) 2011-01-12 06:39:08 +00:00
Ilya Lysenkov
2d5a984c28 Moved BlobDetector to features2d 2010-12-27 09:15:08 +00:00
Ilya Lysenkov
dc9e5eda19 Moved PlanarObjectDetector to the objdetect module 2010-12-27 08:25:31 +00:00
Vladimir Dudnik
8511c9fcb8 cosmetic changes, removed trailing spaces 2010-12-23 23:03:15 +00:00
Vadim Pisarevsky
196d45bc3e undo the latest change in SURF 2010-11-30 16:36:26 +00:00
Vadim Pisarevsky
2c0015e765 temporarily turn off TBB threading when computing SURF descriptors (as the parallel version seems to produce different descriptors on each run) 2010-11-30 16:27:12 +00:00
Maria Dimashova
7c4cff994c fixed sift descriptor 2010-11-29 13:44:10 +00:00
Ethan Rublee
64f9f7f23c Adding optimization for brief and android using NEON SIMD intrinsics 2010-11-28 05:41:50 +00:00
Maria Dimashova
5802ea39b1 fixed warnings of gcc 2010-11-26 12:15:08 +00:00
Maria Dimashova
354be115f2 made MaskPredicate safer (#419) 2010-11-26 10:57:01 +00:00
Maria Dimashova
dfe4af9e1d fixed warnings under win32 2010-11-26 10:35:48 +00:00
Vadim Pisarevsky
1286c1db45 fixed multiple warnings from VS2010. 2010-11-25 16:55:46 +00:00
Maria Dimashova
7e5c11a920 added tests for some detectors; made features2d object create functions as static classes methods; fixed OpponentColorDescriptorExtractor, BriefDescriptorExtractor (on rgb); renamed DynamicDetector 2010-11-25 15:59:37 +00:00
Maria Dimashova
0a2881adcd added to DetectorExtractor test the check of compute() on empty data. Added test for BRIEF. 2010-11-24 16:03:11 +00:00
Ethan Rublee
6a689d82a3 Continue to refeactor the dynamic stuff - may have broken build on last commit.
Fairly certain that it builds now.
2010-11-23 22:45:49 +00:00
Ethan Rublee
f6b0818996 refactoring dynamic detectors 2010-11-23 22:26:36 +00:00
Maria Dimashova
c6e43c385d updated documentation on features2d; minor features2d changes 2010-11-23 17:00:55 +00:00
Vladislav Vinogradov
35e8d700c6 fixed compile errors 2010-11-23 09:00:32 +00:00
Ethan Rublee
da05e6609a Adding some dynamic feature detectors... 2010-11-22 23:59:25 +00:00
Maria Dimashova
e406dfee44 refactored features2d and sample on matching to many images 2010-11-22 18:27:08 +00:00
Vadim Pisarevsky
17a5e02eca integrated multi-threaded version of SURF (thanks to imahon and yvo2m for the patch; see ticket #275) 2010-11-22 17:02:51 +00:00
Maria Dimashova
0ad9edfbd5 removed unnecessary fix 2010-11-16 15:27:40 +00:00
Vadim Pisarevsky
6eb36a5569 keep the SURFPoint.laplacian as KeyPoint.class_id (ticket #341) 2010-11-15 21:08:28 +00:00
Vadim Pisarevsky
e20994d41c added range check in the keypoint interpolation in SURF algorithm (ticket #497) 2010-11-15 20:26:21 +00:00
Ethan Rublee
d84931e456 small brief edit, was trying to allow user to pass integral image but this introduced some bugs, so no longer doing this...
for now.
2010-11-15 18:14:14 +00:00
Vadim Pisarevsky
08b7855edc extended out << mat/vec operators; added opencv license 2010-11-15 17:40:57 +00:00
Ethan Rublee
d84b970bf2 adding the Brief descriptor, associated hamming distance functors for bruteforce matching. Also adding cout << cv::Mat functions in core. 2010-11-14 06:27:48 +00:00
Maria Dimashova
7192bf951c minor 2010-11-12 14:04:35 +00:00
Maria Dimashova
cb3711d51d fixed SURF::operator() (#423) 2010-11-11 16:06:22 +00:00
Maria Dimashova
b12588f702 fixed MserFeatureDetector 2010-11-11 15:45:54 +00:00
Maria Dimashova
d7c86bbcdc minor change of BOW 2010-11-08 15:21:56 +00:00
Maria Dimashova
4a43041309 minor changes 2010-11-03 10:00:24 +00:00
Maria Dimashova
69e329c9fd modified features2d interface; added algorithmic test for DescriptorMatcher; added sample on matching to many images 2010-10-29 08:44:42 +00:00
Victor Erukhimov
094a63c838 Fixing a problem with SURF detector crash due to large keypoint sizes 2010-10-24 12:36:47 +00:00
Anatoly Baksheev
c09254cf67 fixed some warning under VS2008 2010-10-11 15:46:12 +00:00
Maria Dimashova
a22f74c362 fixed area computing 2010-10-09 10:01:19 +00:00
Ethan Rublee
244a537d54 _S happens to be a bad variable name for android 2010-10-09 02:15:08 +00:00
Maria Dimashova
ef6a79244d fixed compile error (with TBB) 2010-10-08 16:49:34 +00:00
Maria Dimashova
9f934363e5 added sample on BOW usage to image classification (training and testing is on Pascal VOC dataset) 2010-10-08 13:17:34 +00:00
Maria Dimashova
89935fc59b fixed FernDescriptorMatch; optimized keypoint regions matching in detector/descriptor evaluation; added CalonderDescriptorExtractor to evaluation tests 2010-10-04 14:12:36 +00:00
Maria Dimashova
d511e62021 fixed detector evaluation test 2010-10-01 09:02:54 +00:00
Maria Dimashova
1061fc6589 back to previous default params 2010-09-30 15:47:10 +00:00
Maria Dimashova
13b535ac19 added BOWTrainer::add() 2010-09-30 14:21:22 +00:00
Maria Dimashova
98763247d9 added DenseFeatureDetector 2010-09-24 16:55:12 +00:00
Maria Dimashova
26dbbcc070 added bag of words; did some renaming 2010-09-23 16:17:48 +00:00
Maria Dimashova
8462deed30 split descriptors.cpp 2010-09-23 13:44:23 +00:00
Maria Dimashova
9e9d4b9e49 added OpponentColorDescriptorExtractor 2010-09-23 10:53:36 +00:00
Ethan Rublee
8ee50c422b adding some small changes to support android build,
mainly cmake stuff, but in persistance the wcstombs
is not supported on android, and in
sift.cpp there was and ifdef that affected arm and this
causes undefined symbols on android.
2010-09-22 02:16:33 +00:00
Maria Dimashova
97f2972fc0 uncommented fix of write/read keypoints 2010-09-17 12:32:57 +00:00