Leonardo Brás
0e9c8e2dd5
'resolves' 6898
...
I have seen that you can input a Mat_<float> on StereoBM, but the value seems the same as CV_16S.
I changed it so, only if you input a Mat_<float> it makes use of a previously truncated 4 bits, giving more resolution to Disparity Matrix. (The algorithm stays the same, it's not more precise).
If any other input Mat is given, it changes nothing.
2016-07-19 20:11:41 -03:00
Vadim Pisarevsky
5d3860703d
Merge pull request #6895 from mshabunin:check-6851
2016-07-19 12:11:23 +00:00
Vadim Pisarevsky
a86a5c798b
Merge pull request #6836 from vicproon:rectify_correct_principal_point
2016-07-18 15:53:35 +00:00
Maksim Shabunin
7d007d212c
Merge pull request #6828 from paroj:cmatvals_cpp
2016-07-14 11:31:48 +00:00
Maksim Shabunin
07b18b0e8a
Merge pull request #6863 from SorcererX:patch-1
2016-07-14 09:34:13 +00:00
Maksim Shabunin
95da5ec245
Restored check chessboard parameters
2016-07-13 16:03:47 +03:00
Maksim Shabunin
b000663a88
Cleanup
2016-07-13 15:45:48 +03:00
Maksim Shabunin
8215d20dbf
fixup! Fixed several merge issues
2016-07-13 12:11:44 +03:00
Maksim Shabunin
2a350b11dd
Fixed several merge issues
2016-07-13 11:48:28 +03:00
Oliver Schreer
74b83cfce5
Modified and improved the method for chessboard detection. It is now faster and detects chessboards under difficult lighting condition as well as when the chessboard has strong out of plane rotations
2016-07-12 15:50:49 +03:00
Vladislav Sovrasov
ee9a42e9cd
Fix calibration fail on python with CALIB_THIN_PRISM_MODEL flag
2016-07-12 15:30:02 +03:00
Alexander Alekhin
02aabcca87
Merge pull request #6829 from paroj:fixpp_fe
2016-07-11 16:34:37 +00:00
Pavel Rojtberg
c1b90a1c22
fisheye: add CALIB_FIX_PRINCIPAL_POINT
2016-07-11 16:16:37 +02:00
Tomoaki Teshima
0e380ff15d
calib3d: compare error and threshold both in square
...
* resolve #5183
2016-07-04 19:34:47 +09:00
Vladislav Sovrasov
46fb46c54e
Add an extended version of CalibrateCamera function
2016-06-07 12:31:11 +03:00
Vadim Pisarevsky
a2d8e7fa6e
Merge pull request #6485 from vagran:vagran-patch-1
2016-05-31 10:58:18 +00:00
Julien Nabet
a29c814bd8
cppcheck: fix some reports
...
All of these: (performance) Prefer prefix ++/-- operators for non-primitive types.
[modules/calib3d/src/fundam.cpp:1049] -> [modules/calib3d/src/fundam.cpp:1049]: (style) Same expression on both sides of '&&'.
2016-04-29 15:41:39 +02:00
Artyom Lebedev
8ceac4b73b
Update fisheye.cpp
...
Fix for inconsistent asserts in cv::fisheye::initUndistortRectifyMap() which prevents from passing empty matrices in debug build (which is allowed according to the code bellow the asserts and the docs).
2016-04-28 12:50:09 +03:00
Pavel Rojtberg
8ed1945ccd
calibrationMatrixValues: consider principalPoint in FOV computation
...
The FOV depends on the principal point location. Use formula of
viz::Camera.
2016-04-27 14:47:52 +02:00
Pavel Rojtberg
86959310f9
calibrationMatrixValues: bind C++ function in C instead of vice versa
2016-04-27 11:39:19 +02:00
Pavel Rojtberg
ccadad4222
fisheye: allow using transposed image and object point arrays
2016-04-25 11:16:26 +02:00
Pavel Rojtberg
8d4cebe077
fisheye: create rvecs, tvecs before writing
2016-04-25 11:16:26 +02:00
mvukad
695e33b25b
Fix missing format when writing Algorithm-based objects
...
Added a writeFormat() method to Algorithm which must be called by the
write() method of derived classes.
2016-04-07 13:49:42 -07:00
Прун Виктор
93ff1fb2f2
Correct image borders and principal point computation in cv::stereoRectify
2016-03-28 15:59:18 +03:00
Krishnaraj Bhat
9b8013d193
gcc6: fix misleading indentation warning
...
cosmetic changes to fix this warning.
real bugs not found
2016-03-07 17:06:16 +05:30
Philipp Hasper
3f1eeba39d
findHomography sets output mask to all zeros in case of no inlier
2016-02-18 17:58:28 +01:00
Josep Bosch
5384a2205a
Adapted estimateNewCameraMatrix to make it work with pincushion-like distortion.
2016-02-11 11:27:43 +01:00
Dmitry-Me
bf604f1780
Reduce variables scope
2016-02-01 11:10:13 +03:00
Alexander Alekhin
0655a2dc20
Merge pull request #5963 from KeySecure:master
2016-01-14 12:08:28 +00:00
KeySecure
e6ac2ca3c9
make Xcode 7.2 happy.
2016-01-13 20:19:19 +08:00
Alexander Karsakov
e784ea7178
Fixed getSubset method to support Nx3 1-channel matrices as input (3xN 1-channel matrices doesn't supported at all).
2016-01-12 13:26:17 +03:00
Alexander Karsakov
0c9c7d5f3b
Added test for checking that solvePnPRansac accepts vector<Point3f> and Nx3 1-channel or 1xN/Nx1 3-channel matrices as input.
2016-01-12 12:13:28 +03:00
Kai Hugo Hustoft Endresen
551b5d3e1a
StereoSGBM.cpp - use SSE2 for pass 2 using MODE_HH
...
With a test image set of 2800x1400 bytes on a Intel Core i7 5960X this improves runtime of MODE_HH with about 10%. (this particular replaced code segment is approx 3 times faster than the non-SSE2 variant). I was able to reduce runtime by 130 ms by this simple fix.
The second part of the SSE2 optimized part could probably be optimized further by using shift SSE2 operations, but I imagine this would improve performance 10-20 ms at best.
2016-01-08 00:32:52 +01:00
Pavel Rojtberg
ac481e6174
calib3d: port Rodrigues to cpp primitives
2015-12-24 21:34:34 +01:00
Maksim Shabunin
84f37d352f
HAL moved back to core
2015-12-17 12:33:23 +03:00
Thomas Dunker
6882c10b45
Extension of the camera distortion model for tilted image sensors (Scheimpflug condition) including test
2015-12-14 15:20:34 +01:00
Vadim Pisarevsky
5cdf0e3e89
Merge pull request #5351 from paroj:calibout
2015-12-11 16:21:06 +00:00
Pavel Rojtberg
60c06e551a
calibrateCamera: do not require rvec and tvec to be vector<Mat>
...
if they are not we also do not need to allocate a local copy of the rvec
and tvec
2015-12-11 11:01:57 +01:00
Pavel Rojtberg
205775ed52
calibrateCamera: only allocate and compute rvecs, tvecs when needed
...
also replace C defines with C++ enums
2015-12-11 10:58:26 +01:00
Vadim Pisarevsky
21b415f6be
Merge pull request #5691 from paroj:levmarqLU
2015-12-11 08:39:05 +00:00
Pavel Rojtberg
b5ddaae427
calib3d: add CALIB_USE_LU to use LU decomposition in solver
2015-12-10 23:26:37 +01:00
Pavel Rojtberg
4c251bd260
CvLevMarq: add solve method to interface
2015-12-10 23:02:18 +01:00
Pavel Rojtberg
22b64e2c28
CvLevMarq: remove fixed rows instead of setting them to zero
...
use the same approach like in fisheye calibration: instead of setting
masked out rows to zero, remove them from the equation system.
This way JtJ does not become singular and we can use the much faster LU
decomposition instead of SVD.
This results in a speedup of the Calibrate unit tests of 3x-10x.
2015-12-10 23:02:18 +01:00
Vadim Pisarevsky
6ead99985f
Merge pull request #4086 from IgnasD:cameraMat_five-point
2015-12-10 09:37:43 +00:00
Vadim Pisarevsky
3c8bd19e56
Merge pull request #5309 from paroj:sampsonDist
2015-12-10 07:08:18 +00:00
Vadim Pisarevsky
5d6292fc97
Merge pull request #5675 from paroj:fisheyecalib
2015-12-10 07:07:12 +00:00
Pavel Rojtberg
16fcd78f03
add sampson distance error measure
...
the first order approximation of the geometric error
2015-11-25 16:39:49 +01:00
Vadim Pisarevsky
152874eaed
Merge pull request #5620 from paroj:calibratecpp
2015-11-23 18:35:25 +00:00
Pavel Rojtberg
cefa1dc5cb
switch mask type from vector<int> to vector<uchar>
2015-11-21 00:45:45 +01:00
Pavel Rojtberg
81e814d9ed
clean up fisheye calibration code
...
improves performance by factor 1.2 to 2.0
2015-11-16 02:24:53 +01:00
Pavel Rojtberg
9233472bdd
use cpp functions in CvLevMarq::step for better readability
2015-11-12 00:20:13 +01:00
Vadim Pisarevsky
3942b1f362
Merge pull request #5340 from alalek:ocl_off
2015-11-10 16:53:36 +00:00
Pavel Rojtberg
742fb559f7
use cpp functions in cvCalibrateCamera2 to make it more readable
2015-11-08 19:25:38 +01:00
Vadim Pisarevsky
8512ca7490
Merge pull request #5484 from PolarNick239:master
2015-11-02 15:45:59 +00:00
Maksim Shabunin
6e9d0d9a0c
Visual Studio 2015 warning and test fixes
2015-10-20 12:48:37 +03:00
Nickolay Polyarniy
846e6f731a
stereoRectifyUncalibrated: assertion of input points shape fixed
...
Fix for https://github.com/Itseez/opencv/issues/4426
Documentation says that input points format is the same to input for findFundamentalMat
2015-10-10 14:00:31 +03:00
Pavel Vlasov
e837d69f8f
IPPInitSingelton was added to contain IPP related global variables;
...
OPENCV_IPP env var now allows to select IPP architecture level for IPP9+;
IPP initialization logic was unified across modules;
2015-10-01 09:58:48 +03:00
Pavel Vlasov
14b006e808
IPP_VERSION_X100 was changed to:
...
IPP_VERSION_MAJOR * 100 + IPP_VERSION_MINOR*10 + IPP_VERSION_UPDATE
to manage changes between updates more easily.
IPP_DISABLE_BLOCK was added to ease tracking of disabled IPP functions;
2015-09-25 17:50:15 +03:00
Pavel Vlasov
2177c7c5a8
Some IPP functions were encapsulated;
...
Minor changes to IPP implementations;
2015-09-25 17:30:26 +03:00
robertxwu
db78de9c3b
findChessboardCorners causes crash due to out-of-bounds memory corruption.
...
Refer to the following issue for detail:
https://github.com/Itseez/opencv/issues/5145
2015-09-24 12:59:00 +03:00
Pavel Rojtberg
f0282337e3
simplify error conditions
...
`A || !A` is `true` so write `(A && B) || !A` as `B || !A`
2015-09-18 12:12:49 +02:00
Alexander Alekhin
7213e5f68a
ocl: correct disabling of OpenCL code
2015-09-13 20:28:23 +03:00
sbokov
1ef8cf5a23
Replacing SSE with v_extract
2015-07-27 19:49:25 +03:00
Maksim Shabunin
ecd3661119
Merge pull request #4179 from sbokov:improvingStereoSGBM
2015-07-24 21:12:56 +00:00
sbokov
f40b580bb8
Fixing StereoSGBM ROI
...
Now StereoSGBM behaves similarly to StereoBM in terms of ROI handling.
2015-07-23 23:17:16 +03:00
sbokov
aea4157340
Adding new HAL-accelerated MODE_SGBM_3WAY
...
New mode is approximately 2-3 times faster than MODE_SGBM
with minimal degradation in quality and uses universal
HAL intrinsics. A performance test was added. The accuracy
test was updated to support the new mode.
2015-07-23 23:08:26 +03:00
Vadim Pisarevsky
6d3bc7c82d
Merge pull request #4183 from paroj:8point
2015-07-22 11:01:23 +00:00
Maksim Shabunin
0726c4d4ea
Merge pull request #4190 from sbokov:fixingStereoBMissue
2015-07-15 14:43:09 +00:00
sbokov
e0cea92f6e
Fixing possible invalid memory access in validateDisparity
2015-07-14 18:23:24 +03:00
Pavel Rojtberg
0688bb61ed
simplify 8point algorithm using Matx classes
2015-07-13 16:58:35 +02:00
Vadim Pisarevsky
0ed0f2953a
Merge pull request #4166 from sbokov:fixingStereoBMissue
2015-07-01 10:27:21 +00:00
sbokov
ff1687d378
Fixing uninitialized memory access problem
2015-06-30 18:16:56 +03:00
rajithr
510dec4927
Fixing resource leaks
2015-06-17 11:07:49 +05:30
Alexander Duda
def2256609
cv::stereoRectify: fix segfault in case of empty distCoeffs
...
cvStereoRectify assumes that NULL is provided in case of no distCoeffs
2015-06-12 13:50:43 +02:00
Ignas Daukšas
af62624849
Add cameraMatrix parameter to findEssentialMat and recoverPose
2015-06-03 10:50:33 +03:00
Vadim Pisarevsky
dc587992a0
Merge pull request #4053 from vpisarev:calib3d_fixes
2015-05-26 11:23:50 +00:00
Vadim Pisarevsky
a12ec66a04
fixed useExtrinsicGuess=true case with single-precision input ( http://code.opencv.org/issues/2734 )
2015-05-25 22:40:10 +03:00
Vadim Pisarevsky
9d90b0549c
fixed bug http://code.opencv.org/issues/3882
2015-05-25 22:03:25 +03:00
Vadim Pisarevsky
3bc5958c58
added tests for http://code.opencv.org/issues/4011 and http://code.opencv.org/issues/3057 ; fixed random subset generation in both methods to increase chance for a good subset
2015-05-25 21:46:05 +03:00
Aleksandr Petrikov
25b4cface0
add NEON realization for StereoBM(findCorrespondence, prefilterXSobel)
...
Conflicts:
modules/calib3d/src/stereobm.cpp
Add CV_Assert (ndisp % 8 == 0) to NEON version
2015-05-23 17:36:44 +02:00
Vadim Pisarevsky
2466ca02bf
removed cameraMatrix modification in the currently disabled uPnP algorithm for SolvePnP problem ( http://code.opencv.org/issues/3985 )
2015-05-23 14:19:55 +03:00
Vadim Pisarevsky
7fd5b3a0c5
added another triangulation test case from http://code.opencv.org/issues/3461 ; fixed partial derivative on distortion coefficients, as http://code.opencv.org/issues/4101 suggests
2015-05-23 14:15:11 +03:00
Christian Richardt
cbaf0ecaf6
Fixed triangulation bug http://code.opencv.org/issues/4334 .
2015-05-13 16:28:14 +02:00
Vadim Pisarevsky
1e90b2f51d
Merge pull request #3957 from dhood:fm-8pt-bug
2015-04-23 17:16:25 +00:00
Deanna Hood
eee210f3b5
Fix Bug #3441 , #4072 , #4173 : 8-point fundamental matrix calculation error
2015-04-23 10:09:48 -04:00
Pavel Rojtberg
78eac67a01
clean up cvTriangulatePoints by using C++ primitives directly.
...
- fixes the Calib3d_StereoCalibrate_C testcase.
update comment regarding cv::SVD::MODIFY_A
2015-04-21 11:29:26 +02:00
Maksim Shabunin
56b02331f7
Commented unused constants in the RHO algorithm
2015-03-27 14:36:27 +03:00
Maksim Shabunin
fab2a947ca
Fix build for VC10
2015-03-27 12:15:26 +03:00
Olexa Bilaniuk
8a1d8c8470
Merge remote-tracking branch 'refs/remotes/upstream/master'
2015-03-18 02:21:36 -04:00
Olexa Bilaniuk
6d27d488bf
Bugfix in n* optimization.
...
Similar to the problem in LevMarq, arg.inl was being used instead of
best.inl. This opened us up to a potential segfault.
2015-03-18 02:21:16 -04:00
Vadim Pisarevsky
b708969326
Merge pull request #3832 from Dmitry-Me:fixNullPointerDereference3
2015-03-17 10:36:52 +00:00
Dmitry-Me
52a8d37f11
Fix potential null pointer dereference
2015-03-16 18:36:12 +03:00
Vadim Pisarevsky
ca19ae8b5a
in solvePnPRansac call the solvePnP in the end with all the inliers to get more precise estimate
2015-03-16 16:56:26 +03:00
Vadim Pisarevsky
5c352c9146
temporarily use EPNP in SolvePnP instead of UPNP or DLS algorithms, since the latter two are not quite stable
2015-03-16 12:46:24 +03:00
Olexa Bilaniuk
7e3cc44738
More docs on variable accesses.
...
Listed accesses for more functions.
2015-03-14 12:41:25 -04:00
Olexa Bilaniuk
9c432f4f75
Silence Windows warnings.
2015-03-06 12:16:38 -05:00
Olexa Bilaniuk
2113636d29
Made seed a constant.
2015-03-06 09:24:45 -05:00
Olexa Bilaniuk
fcdbacdbb0
Corrected initialization of smart pointer.
2015-03-06 09:15:00 -05:00
Olexa Bilaniuk
52e67c1a29
Whitespace & Doc fixes on lower half of rho.cpp.
...
Spaced methods & functions more consistently, and started documenting
which members does each method access directly or through its callers
within RHO_HEST_REFC.
2015-03-04 05:04:52 -05:00
Olexa Bilaniuk
27fd810b6f
Silenced build warnings on Windows.
2015-03-04 02:09:59 -05:00
Olexa Bilaniuk
736b42b372
Refactorings and renamings.
...
- Deleted "RefC" from names of external-interface functions.
- Renamed rhorefc.[cpp|hpp] to rho.[cpp|hpp]
- Introduced RHO_HEST base class, from which RHO_HEST_REFC inherits.
- rhoInit() currently only returns a Ptr<RHO_HEST_REFC>, but in the
future it will be allowed to return pointers to other derived classes,
depending on the values returned by cv::checkHardwareSupport().
2015-03-04 01:43:13 -05:00
Olexa Bilaniuk
408f93340a
External interface converted to use OpenCV Ptr<> smart pointer.
2015-03-03 23:12:33 -05:00
Olexa Bilaniuk
f592321771
Internal buffers converted to use OpenCV dynamic memory allocation.
2015-03-03 22:57:40 -05:00
Olexa Bilaniuk
bb01231990
Substituted the NaN check with OpenCV's implementation.
2015-03-03 13:06:36 -05:00
Olexa Bilaniuk
16f36a5fda
Replaced division by reciprocal + multiply in a few places.
2015-03-03 11:55:36 -05:00
Olexa Bilaniuk
e1abc416cf
Changed seeding in initialization.
...
The call to rand()/random() is now a call to (unsigned)cv::theRNG().
2015-03-03 11:48:41 -05:00
Olexa Bilaniuk
0f6ea38eac
Added OPENCV_ prefix to #include guard.
2015-03-03 11:42:04 -05:00
Olexa Bilaniuk
a2affe70d9
Deleted last remnants of restrict keyword.
2015-03-03 11:40:44 -05:00
Olexa Bilaniuk
b229d6b7ac
Moved constants to cv:: namespace.
2015-03-03 08:05:52 -05:00
Olexa Bilaniuk
ed2a23768e
Merge remote-tracking branch 'refs/remotes/upstream/master'
2015-03-02 17:55:34 -05:00
Dmitry-Me
4e582b131b
Reduce veriables scope, move declaration to first use
2015-03-02 16:27:48 +03:00
Vadim Pisarevsky
e43a14ccd2
Merge pull request #3750 from Dmitry-Me:reduceVariableScope3
2015-03-02 10:55:37 +00:00
Vladislav Vinogradov
cda6fed41f
move tegra namespace out of cv to prevent conflicts
2015-02-27 12:52:11 +03:00
Olexa Bilaniuk
5748cea80d
Removed unnecessary precision in damped Cholesky decomposition.
...
Cholesky decomposition is stable; It is not necessary to carry it out
internally at double precision if the result will be truncated to single
precision when stored.
2015-02-26 21:47:29 -05:00
Vladislav Vinogradov
44e41baffe
use new functions before all tegra:: calls
2015-02-26 19:34:58 +03:00
Dmitry-Me
2311504c44
Reduce variables scope
2015-02-25 10:38:44 +03:00
Olexa Bilaniuk
f454929d9c
PRNG changes: xorshift128+ algorithm, and seeding API.
...
- Switched to the extremely fast, while simple and high-quality,
xorshift128+ PRNG algorithm by Sebastiano Vigna in "Further scramblings
of Marsaglia's xorshift generators. CoRR, abs/1402.6246, 2014" (2^128-1
period, passes BigCrush tests). Performance improved by 10% over
random().
- Added an API to allow seeding with a specified seed, rather than using
rand() or random(). This allows deterministic, reproducible results in
tests using our algorithm (although findHomography() does not yet
support passing an entropy source on its own end).
2015-02-21 12:31:55 -05:00
Olexa Bilaniuk
0ea009f611
Merge remote-tracking branch 'refs/remotes/upstream/master'
2015-02-20 08:26:04 -05:00
Olexa Bilaniuk
f148f23382
Merge remote-tracking branch 'refs/remotes/upstream/master'
2015-02-18 21:04:39 -05:00
Maksim Shabunin
da383e65e2
Remove deprecated methods from cv::Algorithm
2015-02-16 15:28:54 +03:00
Vadim Pisarevsky
edab3916aa
Merge pull request #3696 from Dmitry-Me:shouldPassByReference
2015-02-16 11:29:22 +00:00
Vladislav Vinogradov
a932d8aba1
use full qualified name for all internal namespaces to prevent ambiguous symbol errors
2015-02-16 11:31:21 +03:00
Olexa Bilaniuk
e5696bc5e6
Whitespace change reverts to minimize delta w.r.t master.
2015-02-13 08:07:15 -05:00
Hamid Bazargani
e22678018b
Fix sacCalcJacobianErrors arguments. (curr.inl replaced with best.inl)
...
Fix the issue given NULL inlMask
2015-02-13 00:30:18 -05:00
Hamid Bazargani
42176f8eb1
Fix sacCalcJacobianErrors arguments. (curr.inl replaced with best.inl)
...
Fix the issue given NULL inlMask
2015-02-13 00:09:37 -05:00
ASUS
9a555063e8
Fix sacCalcJacobianErrors arguments. (curr.inl replaced with best.inl)
...
Fix the issue given NULL inlMask
2015-02-12 23:34:48 -05:00
ASUS
6b04351ce1
Merge branch 'accuracy' of https://github.com/obilaniu/opencv into accuracy
...
Conflicts:
modules/calib3d/src/rhorefc.cpp
2015-02-12 21:27:08 -05:00
ASUS
6dbf13d7b5
saveBestModel() is modified. accuracy test is passed.
2015-02-12 21:22:52 -05:00
Dmitry-Me
c3f8fc41b7
Parameters should have been passed by reference
2015-02-12 17:32:43 +03:00
Olexa Bilaniuk
ccd33a721e
Fixed build failures related to designSPRTTest().
2015-02-07 01:19:40 -05:00
Olexa Bilaniuk
adac8c04bb
Converted to C++ style, + bugfixes.
...
The code has been refactored in response to feedback on Pull Request
Also, outputZeroH() now also zeroes the inlier set, much like
outputModel().
2015-02-07 00:56:58 -05:00
Olexa Bilaniuk
87c2b8197a
Bug fixes in mask output.
...
Previously, the output mask of inliers could remain completely
uninitialized. This fix is the first part of a solution.
2015-02-05 02:18:41 -05:00
Olexa Bilaniuk
b90800f0c7
Corrected typo in comment.
...
The inverted JtJ does not multiply itself, but rather Jte. Correct this
in the comment.
2015-02-04 12:12:14 -05:00
Olexa Bilaniuk
2609e77af7
Silence spurious loss-of-data warnings from Windows.
...
Added explicit casts to silence warnings in fundam.cpp and rhorefc.cpp.
2015-02-04 02:26:01 -05:00
Olexa Bilaniuk
ce0570b777
Splitting vectorized code into separate branch.
...
Deleted SSE code from master branch.
Slight cleanups in fundam.cpp were made as a consequence.
2015-02-03 23:33:52 -05:00
Olexa Bilaniuk
8907e6feac
Merge remote-tracking branch 'refs/remotes/upstream/master' into rho
2015-02-03 22:50:45 -05:00
Vadim Pisarevsky
bd4580a242
Merge pull request #3589 from JBosch:master
2015-01-21 10:46:53 +00:00
Olexa Bilaniuk
045f8294bb
Merge remote-tracking branch 'refs/remotes/upstream/master' into rho
2015-01-20 13:11:09 -05:00
Olexa Bilaniuk
02124f19e6
Further LevMarq improvements.
...
Implemented a damping-parameter choice strategy similar to that
described in http://www2.imm.dtu.dk/documents/ftp/tr99/tr05_99.pdf .
Removed a few debug statements.
Chosen a new starting lambda value, 0.01.
We now actually output the mask of inliers.
2015-01-15 04:21:16 -05:00
Olexa Bilaniuk
ff91af825d
LevMarq made semi-functional.
...
Replaced the complex rules OpenCV uses to select lambda with a naive but
fast heuristic. It's imperfect but produces good results. It is still
subject to the same problem as OpenCV - namely, on occasion LevMarq will
make a poor result even worse.
2015-01-14 04:22:48 -05:00
Olexa Bilaniuk
4401095b38
Optimizations to Jacobian and error calculations.
...
Deleted multiplications by zero and consequent additions of zero terms.
2015-01-12 11:33:05 -05:00
Olexa Bilaniuk
7fca146b21
More LevMarq bugfixes.
...
LevMarq now doesn't outright fail, but doesn't seem to improve things
much if at all.
2015-01-12 05:37:40 -05:00
Olexa Bilaniuk
33a3fba2d1
Work on LevMarq code.
...
Refactoring of Cholesky decomposition.
Fix for memory corruption bug.
LevMarq as a whole still non-functional.
2015-01-12 04:58:07 -05:00
Olexa Bilaniuk
c175a86cbb
Merge remote-tracking branch 'upstream/master' into rho
2015-01-12 02:11:14 -05:00
Timur Sattarov
4762728fd5
More sensible error messages
2015-01-11 03:56:07 +04:00
Josep Bosch
75c99d65a5
Fisheye calibration methods available now in python
2015-01-09 10:05:36 +01:00
Julien Nabet
2d5e3b57ea
Fix cppcheck reports warnings:
...
(performance) Possible inefficient checking for 'lmap' emptiness
(warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?
(style) Array index '<xxx>' is used before limits check
2014-12-27 10:54:34 +01:00
Olexa Bilaniuk
bcc630a8dc
Merge remote-tracking branch 'upstream/master' into rho
2014-12-15 12:31:22 -05:00
Dmitry-Me
f269828160
Reduce variables scope, move declaration to first use point
2014-12-08 18:21:17 +03:00
Dmitry-Me
cb049657e5
Prevent division by zero
2014-12-02 14:44:09 +03:00
Olexa Bilaniuk
68e59d6154
[RHO] Initial commit of RHO algorithm for rapid homography estimation.
...
Implements the RHO algorithm as presented in
Paper: Bilaniuk, Olexa, Hamid Bazargani, and Robert Laganiere. "Fast
Target Recognition on Mobile Devices: Revisiting Gaussian Elimination
for the Estimation of Planar Homographies." In Computer Vision and
Pattern Recognition Workshops (CVPRW), 2014 IEEE Conference on, pp.
119-125. IEEE, 2014.
- Complete, heavily documented reference C implementation, as well as
temporarily disabled dirty SSE2 port.
- Enabled tests for RHO in test_homography; Currently these fail
presumably due to too-stringent accuracy requirements.
- Refinement and final refinement are not yet functional; Do not pass
their corresponding flags to RHO.
2014-11-17 15:06:08 -05:00
Alexander Duda
60cacbfd66
solvePnPRansac: fix mask generation
2014-11-09 23:10:43 +01:00
Alexander Duda
ed55d13112
PnPRansacCallback::computeError: fix count in case of Nx3 matrices
2014-11-09 23:08:47 +01:00
vbystricky
21ad8e92d4
Optimize OpenCL version of StereoBM function
...
Fix problems on NVidia devices.
2014-10-23 20:18:53 +04:00
Vadim Pisarevsky
d2b9dc5530
quickly corrected the previous refactoring of features2d: moved from set(SOME_PROP, val) to setSomeProp(val)
2014-10-18 20:44:26 +04:00
Vadim Pisarevsky
4038beb67e
fixed incorrect array access in solvepnp (which affected debug builds only)
2014-10-17 17:01:39 +04:00
Vadim Pisarevsky
1a809ca89b
fixed msvc compile warning
2014-10-17 15:56:27 +04:00
Vadim Pisarevsky
1176d4ef84
fixed some more compile errors and test failures
2014-10-17 15:02:56 +04:00
Pavel Vlasov
45958eaabc
Implementation detector and selector for IPP and OpenCL;
...
IPP can be switched on and off on runtime;
Optional implementation collector was added (switched off by default in CMake). Gathers data of implementation used in functions and report this info through performance TS;
TS modifications for implementations control;
2014-10-15 14:24:41 +04:00
edgarriba
4071c4e7c9
Updating to c++ interfaces
2014-10-11 01:44:46 +02:00
edgarriba
88aed15ffa
Removing windows compilation crashes
2014-10-07 09:10:03 +02:00
edgarriba
f328f9a10d
Removing whitespaces
2014-10-06 14:53:06 +02:00
edgarriba
d6bf209bb3
Updating for N=2
2014-10-06 10:28:04 +02:00
edgarriba
7520544840
Return the estimated focal length
2014-10-02 17:05:42 +02:00
edgarriba
a5b3a205d9
Add UPNP case + Modify model_points
2014-10-02 16:45:04 +02:00
edgarriba
84475ef1de
UPNP code for N=1
2014-10-02 16:43:50 +02:00
PhilLab
e95c33dd18
PnP solver: fixed element-wise access
2014-08-25 17:06:17 +02:00
Vadim Pisarevsky
887a950243
Merge pull request #3116 from shubhra:master
2014-08-22 07:15:40 +00:00
edgarriba
deec233519
cleaned dls code
2014-08-19 00:56:13 +02:00
edgarriba
15704c384e
cleaned dls code
2014-08-19 00:52:09 +02:00
edgarriba
2653d745fd
updated sanity data
2014-08-19 00:35:22 +02:00
edgarriba
7e2bb63378
Merge branch 'master' of https://github.com/Itseez/opencv
2014-08-18 22:30:00 +02:00
edgarriba
620387fbe1
Update perf_pnp && ransac model points
2014-08-18 21:46:16 +02:00
Shubhra Pandit
6ca893be23
Adding feature 1544 and 1557
...
-cv::findHomography added a parameter for RANSAC iterations
-cv::findHomography added a parameter for RANSAC confidence
2014-08-17 13:06:06 -04:00
Adil Ibragimov
8a4a1bb018
Several type of formal refactoring:
...
1. someMatrix.data -> someMatrix.prt()
2. someMatrix.data + someMatrix.step * lineIndex -> someMatrix.ptr( lineIndex )
3. (SomeType*) someMatrix.data -> someMatrix.ptr<SomeType>()
4. someMatrix.data -> !someMatrix.empty() ( or !someMatrix.data -> someMatrix.empty() ) in logical expressions
2014-08-13 15:21:35 +04:00
edgarriba
12f8d8069d
removed old code
2014-08-12 16:49:19 +02:00
edgarriba
1dec1645e5
Merge branch 'master' of https://github.com/Itseez/opencv
2014-08-12 16:45:22 +02:00
edgarriba
de2861e7a9
DLS performance modifications
2014-08-12 16:20:22 +02:00
edgarriba
d1f4f6f4b8
DLS performance modifications
2014-08-12 16:15:19 +02:00
edgarriba
afdb67b462
SOLVEPNP_* flags
2014-08-11 16:28:09 +02:00
mshabunin
c54b8f9b00
Merge remote-tracking branch 'master' into stitch-fix
...
* 'master' of github.com:itseez/opencv: (82 commits)
moved part of video to contrib/{outflow, bgsegm}; moved matlab to contrib
added some basic functionality needed by the new face module (moved from the old "contrib")
moved to the new opencv_contrib/face module
fixed various warnings and obvious errors reported by clang compiler and the coverity tool.
Fixed review comment from Vadim Pisarevsky
modified farneback sample to use T-API
ECC patch by the author (G. Evangelidis); fixed some OCL Farneback optical flow test failures on Mac
small fix for GaussianBlur ocl test
fix binary package build
small fix for ocl_resize
fix IOS framework
fixed test ocl_MatchTemplate for sparse matrix
Fixed typos
fixing error, wrong template method param.
fixing Mac build
some formal changes (generally adding constness)
Fixed choice of kercn and rowsPerWI for non-Intel device.
fixed nDiffs for CalcBackProject
fixed tests for ocl_filter2d, ocl_matchTemplate, ocl_histogram.cpp
Fixed issue: Mat::copyTo(UMat) if device copy is obsolete. Added test.
...
Conflicts:
modules/core/include/opencv2/core/mat.inl.hpp
2014-08-11 14:50:08 +04:00
edgarriba
c7f6c0cb9f
Fixed warnings + RANSAC confidence to double
2014-08-11 10:17:42 +02:00
edgarriba
213241c06a
DLS test update
2014-08-11 09:44:24 +02:00
edgarriba
67eb6dde75
warning removed
2014-08-09 20:55:18 +02:00
edgarriba
8b732e086d
updated ransanc model
2014-08-08 13:52:15 +02:00
edgarriba
e5a91a8be8
Modification Ransac model points
2014-08-07 14:59:01 +02:00
edgarriba
3a2cf37115
fixed conflicts
2014-08-07 12:41:47 +02:00
Vadim Pisarevsky
0428ce4703
Merge pull request #3037 from PhilLab:pnpPatch
2014-08-06 20:21:05 +00:00
Alexander Alekhin
55188fe991
world fix
2014-08-05 20:12:35 +04:00
edgarriba
7b0be9cf8f
Update code
2014-08-05 17:27:20 +02:00
edgarriba
0d2bc9b0a1
Removed whitespaces
2014-08-05 17:02:06 +02:00
edgarriba
a3e74ec521
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
modules/calib3d/doc/camera_calibration_and_3d_reconstruction.rst
2014-08-05 12:59:47 +02:00
unknown
3fe4980ce1
Double precision for solvePnPRansac()
2014-08-04 14:20:32 +02:00
edgarriba
3e2a57ff35
Update for non Eigen users
2014-08-01 10:48:39 +02:00
Samson Yilma
4fe04775d1
Merge remote-tracking branch 'upstream/master' into HomographyDecomp
2014-07-30 20:36:41 -04:00
Samson Yilma
3b608fa489
added comment.
2014-07-30 19:32:37 -04:00
edgarriba
b6b0c2aa8e
MACRO for EIGEN libraries
2014-07-30 11:22:25 +02:00
edgarriba
0427b70a2f
Filtering solutions with imaginary part
2014-07-28 12:01:39 +02:00
edgarriba
5f35bed5c5
Delete Debug functions
2014-07-25 11:54:41 +02:00
edgarriba
5980613317
Update
2014-07-25 11:46:28 +02:00
edgarriba
a3f065c409
DLS working
2014-07-25 11:01:47 +02:00
edgarriba
48c4a79d2e
DLS full algorithm compiling
2014-07-23 17:26:03 +02:00
edgarriba
730fe9e582
Hessian+ cayley2rotbar
2014-07-22 17:56:25 +02:00
edgarriba
b1b9a29e48
Extracting Eigenvalues and Eigenvectors
2014-07-21 17:45:54 +02:00
edgarriba
40f6d320c2
last update
2014-07-21 09:31:45 +02:00
edgarriba
42ab7fd876
dls() no compiles
2014-07-16 00:06:29 +02:00
edgarriba
fb67ab1257
Initial DLS add
2014-07-15 09:58:49 +02:00
edgarriba
a5d40d7674
Test Run OK
2014-07-09 17:27:08 +02:00
edgarriba
ba5a8ee299
Solvepnpransac() returns boolean
2014-07-09 10:37:37 +02:00
edgarriba
b74cfe8c2c
nothing
2014-07-08 16:26:56 +02:00
edgarriba
747c6a2bd2
solvepnpransac() interface changed
2014-07-08 16:07:30 +02:00
Roman Donchenko
a3bde36c84
Merge remote-tracking branch 'origin/2.4' into merge-2.4
...
Conflicts:
modules/calib3d/include/opencv2/calib3d/calib3d.hpp
modules/contrib/doc/facerec/facerec_api.rst
modules/contrib/include/opencv2/contrib/contrib.hpp
modules/contrib/src/facerec.cpp
modules/core/include/opencv2/core/mat.hpp
modules/features2d/include/opencv2/features2d/features2d.hpp
modules/highgui/src/loadsave.cpp
modules/imgproc/src/pyramids.cpp
modules/ocl/include/opencv2/ocl/cl_runtime/cl_runtime.hpp
modules/python/src2/gen.py
modules/python/test/test.py
modules/superres/test/test_superres.cpp
samples/cpp/facerec_demo.cpp
2014-07-08 14:33:56 +04:00
edgarriba
dd52d1b526
New Ransac implementation WORKING
2014-07-04 17:20:17 +02:00
edgarriba
e0c4936c99
Input/Output Arrays (DOES NOT COMPILE)
2014-07-03 12:23:03 +02:00
edgarriba
6eb1426ea2
First version Ransac (DOESN'T COMPILE)
2014-07-02 14:53:12 +02:00
Ilya Krylov
84bb77e914
Fixed android and windows x64 build issues
2014-06-23 17:06:40 +04:00
Ilya Krylov
3678020c28
Added license to source files
2014-05-20 12:37:37 +04:00
Ilya Krylov
651b13f72a
Refactored class Fisheye to namespace fisheye
2014-05-19 17:55:32 +04:00
Hernan Badino
9a371de93b
Switched insertion of connected components in filterSpecklesImpl
2014-05-16 18:49:45 -04:00
Ilya Krylov
c30fef1f9d
Fixed build issues
2014-05-14 18:58:39 +04:00
Alexander Alekhin
eb240cc206
Merge pull request #2697 from PhilLab:master
2014-05-08 16:57:50 +04:00
PhilLab
4ffeb01cfd
Update solvepnp.cpp
...
Clarified assert message for allowed PnP flags
2014-05-05 17:44:59 +02:00
Ilya Krylov
50b291995a
Added tests for stereoCalibrate
2014-05-05 17:23:03 +04:00
Ilya Krylov
c2341fd446
Added stereoCalibrate for Fisheye camera model
2014-05-05 14:21:24 +04:00
Alexander Alekhin
b62e59aac0
icv: enable functions
2014-04-29 15:36:43 +04:00
Ilya Krylov
e6aa8ce932
Corrected notes
2014-04-29 10:24:39 +04:00
Ilya Lavrenov
59876cfb34
fixed compilation
2014-04-28 14:04:41 +04:00
Samson Yilma
de55126b69
Fixed warnings and parameter name mismatches, added #include needed in some platforms.
2014-04-27 13:02:36 -04:00
Samson Yilma
e6420bde73
Added function decomposeHomographyMat. New files added are homography_decomp.cpp and test_homography_decomp.cpp.
...
Modified files calib3d.hpp and camera_calibration_and_3d_reconstruction.rst.
2014-04-26 20:13:27 -04:00
Ilya Krylov
9c7e0bfd33
Added fisheye camera model
2014-04-25 14:49:36 +04:00
Ilya Lavrenov
51e2a8ec96
fixes
2014-04-22 14:51:39 +04:00
Ilya Lavrenov
fe644ede19
cv::multiply
2014-04-21 13:14:55 +04:00
Ilya Lavrenov
9cc80a68db
fixed warnings
2014-04-21 13:14:55 +04:00
Ilya Lavrenov
76c415ff49
cv::filterSpeckles
2014-04-21 13:14:55 +04:00
Alexander Karsakov
4ceaf44fa0
Fixed incorrect calculation of best_disp
2014-03-27 11:21:32 +04:00
Alexander Karsakov
8c39b4e8b6
Fixed stereoBM for Intel CPU.
2014-03-26 11:53:36 +04:00
Konstantin Matskevich
1a43ed9893
finalizing
2014-03-17 10:42:19 +04:00
Konstantin Matskevich
af1084eb58
speedUp
2014-03-14 18:00:13 +04:00
Konstantin Matskevich
91e4334227
temp
2014-03-14 18:00:12 +04:00
Konstantin Matskevich
18a59b48ba
fixes
2014-03-14 18:00:12 +04:00
Konstantin Matskevich
ddc235172e
new approach
2014-03-14 18:00:11 +04:00
Konstantin Matskevich
a5d989f346
new attempt
2014-03-14 18:00:11 +04:00
Konstantin Matskevich
799d7e7a50
bad experiment =(
2014-03-14 18:00:10 +04:00
Konstantin Matskevich
0904f10ab5
optimizations
2014-03-14 18:00:10 +04:00
Konstantin Matskevich
bfc843a5f5
added optimization
2014-03-14 18:00:09 +04:00
Konstantin Matskevich
b5f717b6b3
stereoBM
2014-03-14 18:00:09 +04:00
ziyangli
bbe8654c3d
cleanup
2014-03-12 18:16:54 +08:00
Ziyang LI
4f5896493e
remove a whitepace
2014-03-12 18:14:43 +08:00
Ziyang LI
786e3b9eee
Moved x = 0 into the parenthesis
...
Easier to understand
2014-03-10 17:33:13 +08:00
Andrey Pavlenko
57b6850d74
Merge pull request #2415 from vpisarev:fix_stereobm_sse
2014-02-27 09:37:04 +04:00
Vadim Pisarevsky
a3aced20c1
fixed difference between SSE2 and C branches of StereoBM; they should now produce absolutely the same results
2014-02-25 18:13:51 +04:00
Ilya Lavrenov
ce0557ebb8
fixed defects from Xcode
2014-02-25 17:33:12 +04:00
Ilya Lavrenov
32eb38ec98
fixed defects from coverity.com
2014-02-23 20:21:08 +04:00
Roman Donchenko
721d0145e0
Merge pull request #2002 from abak:stereo_calibrate
2014-02-05 17:47:27 +04:00
Ilya Lavrenov
37789f015a
deleted excess semicolons, commas
2014-01-18 01:31:33 +04:00
Adrien BAK
c5c3fd4443
modify signature of stereoCalibrate for consistency
2013-12-17 14:53:44 +09:00
Roman Donchenko
9c2272d520
Merge remote-tracking branch 'origin/2.4' into merge-2.4
...
Conflicts:
.gitignore
CMakeLists.txt
doc/CMakeLists.txt
modules/calib3d/src/stereosgbm.cpp
modules/core/include/opencv2/core/mat.hpp
modules/highgui/src/cap_openni.cpp
modules/ml/include/opencv2/ml/ml.hpp
modules/objdetect/src/hog.cpp
modules/ocl/perf/perf_color.cpp
modules/ocl/src/arithm.cpp
modules/ocl/src/filtering.cpp
modules/ocl/src/imgproc.cpp
modules/ocl/src/optical_flow_farneback.cpp
platforms/scripts/camera_build.conf
platforms/scripts/cmake_android_all_cameras.py
samples/cpp/Qt_sample/main.cpp
samples/cpp/tutorial_code/introduction/windows_visual_studio_Opencv/Test.cpp
2013-11-26 15:05:26 +04:00
huangs
f02ce90559
minX1 should be max(-maxD,0) not max(maxD,0), avoid black band at left
2013-11-12 22:37:23 +08:00
Roman Donchenko
78be4f66f7
Merge remote-tracking branch 'origin/2.4' into merge-2.4
...
Conflicts:
CMakeLists.txt
modules/calib3d/src/calibration.cpp
modules/ocl/src/cl_programcache.cpp
modules/ocl/src/filtering.cpp
modules/ocl/src/imgproc.cpp
samples/ocl/adaptive_bilateral_filter.cpp
samples/ocl/bgfg_segm.cpp
samples/ocl/clahe.cpp
samples/ocl/facedetect.cpp
samples/ocl/pyrlk_optical_flow.cpp
samples/ocl/squares.cpp
samples/ocl/surf_matcher.cpp
samples/ocl/tvl1_optical_flow.cpp
2013-10-28 13:38:25 +04:00
Kevin
8f995fac88
Change intrinsic camera matrix initialization
...
In the function cvInitIntrinsicParams2D the principal point for
normalized image coordinates is set to 0/0. This updates the function
to initialize the principal point at 0.5/0.5.
2013-10-19 02:10:20 -05:00
Vladislav Vinogradov
e675684c81
fix bug #3277 (findCirclesGrid failures):
...
findHomagraphy can return empty Mat in master branch
2013-09-24 14:45:13 +04:00
look4pritam
a430abd02e
The thin prism distortion coefficient related small bug is fixed.
2013-09-16 13:39:11 +05:30
Vadim Pisarevsky
84022b0c19
fix thin-prism coefficients at 0's in the stereo calibration function unless the flag CALIB_THIN_PRISM_MODEL is explicitly set
2013-09-13 13:32:42 +04:00
look4pritam
7fd7bbc9f1
The prism distortion coefficients are added for the stereo calibration.
2013-09-12 15:17:11 +05:30
Roman Donchenko
bd70a033fc
Boring changes - calib3d.
2013-09-05 18:26:43 +04:00
Roman Donchenko
11dcd4f4f3
Merge pull request #1356 from SpecLad:homography-uninit
2013-08-28 18:05:10 +04:00
Roman Donchenko
5e4ebf3403
Fixed incomplete matrix initialization in HomographyRefineCallback.
2013-08-28 13:20:14 +04:00
Roman Donchenko
9ed475cf52
War on Whitespace, master edition: file endings.
2013-08-27 14:23:26 +04:00
Roman Donchenko
9b92545ce6
War on Whitespace, master edition: trailing spaces.
2013-08-27 13:57:24 +04:00
Roman Donchenko
2c4bbb313c
Merge commit '43aec5ad' into merge-2.4
...
Conflicts:
cmake/OpenCVConfig.cmake
cmake/OpenCVLegacyOptions.cmake
modules/contrib/src/retina.cpp
modules/gpu/doc/camera_calibration_and_3d_reconstruction.rst
modules/gpu/doc/video.rst
modules/gpu/src/speckle_filtering.cpp
modules/python/src2/cv2.cv.hpp
modules/python/test/test2.py
samples/python/watershed.py
2013-08-27 13:26:44 +04:00
Roman Donchenko
e9a28f66ee
Normalized file endings.
2013-08-21 18:59:25 +04:00
Roman Donchenko
f76dd99299
Merge remote-tracking branch 'origin/2.4' into merge-2.4
...
Conflicts:
cmake/OpenCVModule.cmake
doc/tutorials/calib3d/camera_calibration/camera_calibration.rst
doc/tutorials/features2d/feature_detection/feature_detection.rst
doc/tutorials/features2d/feature_flann_matcher/feature_flann_matcher.rst
doc/tutorials/features2d/feature_homography/feature_homography.rst
modules/core/include/opencv2/core/operations.hpp
modules/core/src/arithm.cpp
modules/gpu/perf/perf_video.cpp
modules/imgproc/include/opencv2/imgproc/imgproc.hpp
modules/java/generator/gen_java.py
modules/java/generator/src/cpp/VideoCapture.cpp
modules/nonfree/src/opencl/surf.cl
modules/ocl/include/opencv2/ocl/ocl.hpp
modules/ocl/perf/perf_haar.cpp
modules/ocl/perf/perf_precomp.hpp
modules/ocl/src/color.cpp
modules/ocl/src/filtering.cpp
modules/ocl/test/test_color.cpp
modules/ocl/test/test_objdetect.cpp
modules/python/src2/cv2.cpp
samples/gpu/CMakeLists.txt
samples/gpu/super_resolution.cpp
2013-08-19 19:02:36 +04:00
Roman Donchenko
d9f71b762f
Deleted almost all of the precomp.cpp files.
...
Looks like we don't actually use them; when creating precompiled headers
with Visual C++, a dummy .cpp is created at build time.
2013-08-08 12:43:07 +04:00
Bo Li
27a0ed0018
removed tab in five-point.cpp
2013-07-18 10:09:50 +08:00
Bo Li
9b5eca975b
fixed a bug for the mask of recoverPose function
2013-07-18 09:55:39 +08:00
Roman Donchenko
ac39bfb4cc
Remove HAVE_CVCONFIG_H - it's always defined.
2013-07-10 16:02:07 +04:00
Roman Donchenko
bae85660da
Merge remote-tracking branch 'origin/2.4'
...
Pull requests:
#943 from jet47:cuda-5.5-support
#944 from jet47:cmake-2.8.11-cuda-fix
#912 from SpecLad:contributing
#934 from SpecLad:parallel-for
#931 from jet47:gpu-test-fixes
#932 from bitwangyaoyao:2.4_fixBFM
#918 from bitwangyaoyao:2.4_samples
#924 from pengx17:2.4_arithm_fix
#925 from pengx17:2.4_canny_tmp_fix
#927 from bitwangyaoyao:2.4_perf
#930 from pengx17:2.4_haar_ext
#928 from apavlenko:bugfix_3027
#920 from asmorkalov:android_move
#910 from pengx17:2.4_oclgfft
#913 from janm399:2.4
#916 from bitwangyaoyao:2.4_fixPyrLK
#919 from abidrahmank:2.4
#923 from pengx17:2.4_macfix
Conflicts:
modules/calib3d/src/stereobm.cpp
modules/features2d/src/detectors.cpp
modules/gpu/src/error.cpp
modules/gpu/src/precomp.hpp
modules/imgproc/src/distransform.cpp
modules/imgproc/src/morph.cpp
modules/ocl/include/opencv2/ocl/ocl.hpp
modules/ocl/perf/perf_color.cpp
modules/ocl/perf/perf_imgproc.cpp
modules/ocl/perf/perf_match_template.cpp
modules/ocl/perf/precomp.cpp
modules/ocl/perf/precomp.hpp
modules/ocl/src/arithm.cpp
modules/ocl/src/canny.cpp
modules/ocl/src/filtering.cpp
modules/ocl/src/haar.cpp
modules/ocl/src/hog.cpp
modules/ocl/src/imgproc.cpp
modules/ocl/src/opencl/haarobjectdetect.cl
modules/ocl/src/pyrlk.cpp
modules/video/src/bgfg_gaussmix2.cpp
modules/video/src/lkpyramid.cpp
platforms/linux/scripts/cmake_arm_gnueabi_hardfp.sh
platforms/linux/scripts/cmake_arm_gnueabi_softfp.sh
platforms/scripts/ABI_compat_generator.py
samples/ocl/facedetect.cpp
2013-06-05 15:42:07 +04:00
Roman Donchenko
29b13ec1de
Replaced most of the usages of parallel_for with that of parallel_for_.
...
This should allow many algorithms to take advantage of more parallelization
technologies.
2013-05-31 12:22:04 +04:00
Brian McKinnon
36745a80c3
Added #include <limits> to files that were missing it.
2013-05-06 22:45:11 -04:00
Andrey Kamaev
e5a33723fc
Move C API of opencv_calib3d to separate file
2013-04-11 21:00:17 +04:00
Andrey Kamaev
c98c246fc2
Move border type constants and Moments class to core module
2013-04-10 19:14:24 +04:00
Andrey Kamaev
d4bb421ce2
Fix findEssentialMat function
...
Also remove all usages of std::complex from OpenCV modules
2013-04-03 17:25:00 +04:00
Andrey Kamaev
940eedfb27
Finalize core headers reorganization
2013-04-03 14:10:03 +04:00
Andrey Kamaev
517062039e
Make core/internal.hpp a private header
2013-04-01 17:29:10 +04:00
Andrey Kamaev
3890a74565
Drop outdated definitions from internal.hpp
...
This also fixes few clang build errors
2013-04-01 15:24:35 +04:00
Andrey Kamaev
c886afb502
Finalize cv::Mat transition
2013-04-01 15:24:34 +04:00
Andrey Kamaev
5e7ab8baf3
Move cv::Scalar_ to types.hpp
2013-04-01 15:24:33 +04:00
Andrey Kamaev
13b31b0804
Move C++ basic structures to separate header and inverse dependency from C API
...
cv::Complex, cv::Point_ and cv::Point3_ are moved.
2013-04-01 15:24:32 +04:00
Andrey Kamaev
cc6bdfb045
Remove inline sorting algorithms from core headers
2013-03-28 17:22:50 +04:00
Andrey Kamaev
20534c9beb
Merge pull request #692 from vpisarev:refactor_calib3d_stereo
2013-03-26 18:38:16 +04:00
Vadim Pisarevsky
322d781192
avoid explicit std::string use
2013-03-26 12:55:21 +04:00
Vadim Pisarevsky
7661625c39
converter stereo correspondence algorithms to the new style
2013-03-22 01:05:30 +04:00
Andrey Kamaev
1ca8f33b4e
Merge branch '2.4'
2013-03-21 23:11:54 +04:00
Dong Nguyen
73f5697749
Fixed wrong in row index of SSE implementation in prefilterXSobel function.
2013-03-21 18:28:23 +04:00
Andrey Kamaev
2d764fe1c6
Merge pull request #665 from taka-no-me:core_utility
2013-03-21 14:47:49 +04:00
Andrey Kamaev
89356ff16d
Move non-CV functionality from core.hpp to separate utility.hpp header
2013-03-20 17:56:06 +04:00
Bo Li
94b12eae92
update five-point license
2013-03-20 09:53:44 +01:00
Bo Li
2435e59890
rewrite five-point coeff matrix.
2013-03-15 20:44:41 +01:00
Andrey Kamaev
ad5cddc007
Main module headers are moved 1 level up
...
e.g. <opencv2/core/core.hpp> become <opencv2/core.hpp>
Also renamed <opencv2/core/opengl_interop.hpp> to <opencv2/core/opengl.hpp>
2013-03-13 17:26:56 +04:00
Andrey Kamaev
6569a58518
Merge pull request #592 from vpisarev:c2cpp_calib3d_ptsetreg
2013-03-05 17:39:53 +04:00
Vadim Pisarevsky
f303de12d8
mask.create() re-converted to new style
2013-03-05 00:03:37 +04:00
Vadim Pisarevsky
0c61a8887e
reverting changes in Homography kernel function. For some reason GCC on Linux does not like it.
2013-03-05 00:00:21 +04:00
Vadim Pisarevsky
7fd1d75738
some more minor fixes
2013-03-04 16:02:15 +04:00
Vadim Pisarevsky
8a6d2bbd3d
several minor fixes proposed by Andrey
2013-03-03 00:54:46 +04:00
Vadim Pisarevsky
df89f30b4a
removed preset parameter in createStereoBM, updated stereo_match sample
2013-03-02 02:17:49 +04:00
Vadim Pisarevsky
b6efe30527
new API for StereoMatchers
2013-03-01 02:24:46 +04:00
Vadim Pisarevsky
374e3a0890
rewritten several functions from calib3d: findhomography, findfundamentalmat, findessentialmat, estimateaffine3d, computecorrespondepilines, convert points{to/from}homogeneous to C++.
2013-02-28 18:25:05 +04:00
Andrey Kamaev
7b79eaf5be
Merge pull request #511 from aritzlc:master
2013-02-27 19:33:01 +04:00
Andrey Kamaev
2a6fb2867e
Remove all using directives for STL namespace and members
...
Made all STL usages explicit to be able automatically find all usages of
particular class or function.
2013-02-25 15:04:17 +04:00
alegarda
6bf7fd997a
Indentation Ok
2013-02-21 15:48:23 +01:00
alegarda
62655b05f4
Indentation ok
2013-02-21 15:25:22 +01:00
alegarda
cb61e91023
distCoeffs0 cols to 12
2013-02-21 10:18:55 +01:00
alegarda
76d03fccb9
Added Thin Prism Distortion Model
...
Only the code.
2013-02-20 15:11:47 +01:00
Andrey Kamaev
b44b920997
Merge branch '2.4'
2013-02-12 16:30:18 +04:00
Vladislav Vinogradov
bb3b1441c5
added 8u type support to filterSpeckles function
2013-02-06 14:14:45 +04:00
Andrey Kamaev
61079547f0
Merge branch '2.4'
2013-02-01 14:59:40 +04:00
Vadim Pisarevsky
7ca38d63d9
fixed failure of the C++ test for estimateAffine3D
2013-01-31 19:44:16 +04:00
Vadim Pisarevsky
abd9675a99
fixed bugs #1718 , #2375 ; attached the new tests to test.py.
2013-01-31 15:34:09 +04:00
Andrey Kamaev
7572b4d400
Merge branch '2.4'
2013-01-30 15:12:50 +04:00
Andrey Kamaev
52b32ba8f0
Merge pull request #371 from taka-no-me:fix_build
2013-01-30 15:06:19 +04:00
Andrey Kamaev
b6de1fccc3
Merge pull request #370 from ilysenkov:bugfix_1747
2013-01-30 14:42:10 +04:00
Andrey Kamaev
62b9180c50
Merge pull request #368 from ilysenkov:checkSubset-fix
2013-01-30 14:41:37 +04:00
Ilya Lysenkov
6feade3110
Added support of different resolution in rectify3Collinear
2013-01-30 13:19:12 +04:00
Andrey Kamaev
eeb865ee8a
Fix Android build warnings
2013-01-30 13:11:33 +04:00
Ilya Lysenkov
9ce2197e9d
Added processing of trivial subsets
2013-01-30 13:03:03 +04:00
Andrey Kamaev
ab8d92e1b8
Rebase and merge pull request #342 from ilysenkov/bugfix_2470
2013-01-29 15:53:42 +04:00
Ilya Lysenkov
5021a792b1
Fixed #2470
2013-01-29 15:53:28 +04:00
Ilya Lysenkov
fe86f31f44
Added a test of CvModelEstimator2::checkSubset(...)
2013-01-29 15:53:28 +04:00
Andrey Kamaev
78a338159d
Merge branch '2.4'
2013-01-29 14:17:13 +04:00
Andrey Kamaev
63873a8393
Merge pull request #355 from asmaloney:copy_paste_cond
2013-01-29 14:13:01 +04:00
Andy Maloney
bdf189faac
{calib3d} Fix copy-paste error in conditional
2013-01-28 18:09:10 -05:00
Andy Maloney
7a6475c3f9
Check pointers before using them in var init
2013-01-28 16:51:28 -05:00
jmbuena
28a7be69ea
Fixed compile warnings on CvHomographyEstimator
2013-01-12 12:32:51 +01:00
jmbuena
6d738f6a3f
Changed RANSAC Homography estimation for speed. Each minimal set is checked for consistency before actually fit a candidate homography.
2013-01-11 01:55:56 +01:00
Andrey Kamaev
3759476b38
Merge pull request #266 from prclibo:master
2012-12-28 12:51:34 +04:00
Bo Li
956a029ede
added code, test and doc for five-point algorithm
2012-12-26 18:58:50 +01:00
Alexander Mordvintsev
20838b6f6e
fix #2643 : use SVD to solve least squares in cvStereoRectifyUncalibrated
2012-12-24 12:59:39 +04:00
OpenCV Buildbot
81f826db2b
Normalize line endings and whitespace
2012-10-17 15:57:49 +04:00
OpenCV Buildbot
04384a71e4
Normalize line endings and whitespace
2012-10-17 15:32:23 +04:00
Daniil Osokin
4500c48349
fixed 7 point mode in findFundamentalMat #1978
2012-10-12 14:38:52 +04:00
Vadim Pisarevsky
43e3b83832
fixed potential memory buffer corruption in StereoSGBM (patch #2203 )
2012-10-11 14:07:07 +04:00
Andrey Kamaev
5a5c477be6
Make performance tests for solvePnPRansec more determenistic
2012-10-09 18:41:26 +04:00
Vadim Pisarevsky
c3c49a317b
fixed outlier filtering in cvStereoRectifyUncalibrated (bug #2367 )
2012-09-19 16:51:49 +04:00
Andrey Kamaev
1a621c2916
Fix build warnings
2012-08-19 19:36:43 +04:00
Maria Dimashova
839761fa3d
fixed #2167
2012-07-16 09:00:25 +00:00
Maria Dimashova
5112d74cad
revert my incorrect fix of #2167
2012-07-16 08:02:50 +00:00
Maria Dimashova
d65920d2f7
fixed #2167
2012-07-15 19:10:52 +00:00
Vadim Pisarevsky
e918877bcf
fixed bug with uninitialized variable in cvGetOptimalNewCameraMatrix (patch #1731 by floemker)
2012-07-01 20:56:27 +00:00
Vadim Pisarevsky
b5eb318ae3
added support of homogeneous points to calcCorrespondEpilines (ticket #2055 )
2012-07-01 20:13:49 +00:00
Andrey Kamaev
6c3137a8b5
Fixed divide by zero problem in cvStereoRectify (thanks to Philip Van Valkenberg) #2099
2012-06-27 15:15:32 +00:00
Andrey Kamaev
c5aba337e9
Fixed number of warnings. Fixed mingw64 build.
2012-06-12 14:46:12 +00:00
Andrey Kamaev
f2d3b9b4a1
Warning fixes continued
2012-06-09 15:00:04 +00:00
Andrey Kamaev
f62028dc16
Fixed mingw build.
2012-06-08 03:15:08 +00:00
Andrey Kamaev
49a1ba6038
Set stricter warning rules for gcc
2012-06-07 17:21:29 +00:00
Vadim Pisarevsky
d5a0088bbe
merged 2.4 into trunk
2012-04-30 14:33:52 +00:00
Vadim Pisarevsky
2fd1e2ea57
merged all the latest changes from 2.4 to trunk
2012-04-13 21:50:59 +00:00
Vadim Pisarevsky
beb7fc3c92
a LOT of obsolete stuff has been moved to the legacy module.
2012-03-30 12:19:25 +00:00
Ilya Lysenkov
e7b4353505
Added termination criteria as a calibrateCamera() parameter
2012-03-29 17:19:15 +00:00
Ilya Lysenkov
f29912b501
Added wrappers of cvCorrectMatches ( #1350 )
2012-03-29 13:21:24 +00:00
Ilya Lysenkov
37db334f8a
Added wrappers of cvTriangulatePoints()
2012-03-29 10:39:06 +00:00
Ilya Lysenkov
8fcd0d9222
Fixed the error message in cvCorrectMatches ( fixes #1155 )
2012-03-28 17:29:49 +00:00
Vadim Pisarevsky
aed276e67d
fixed cvComputeCorrespondEpilines to handle <5 points (ticket #1635 )
2012-03-28 13:37:14 +00:00
Ilya Lysenkov
3b5b20b795
Fixed wrong computation of a reprojection matrix Q in stereoRectify ( #898 )
2012-03-27 15:02:53 +00:00
Ilya Lysenkov
3517be757b
Added checking whether aspect ratio is valid or not
2012-03-26 13:07:21 +00:00
Ilya Lysenkov
6d1f4bfba4
Added projectPoints() for 3xN objectPoints and 2xN imagePoints ( #1550 )
2012-03-26 11:10:34 +00:00
Vadim Pisarevsky
a3362864e1
removed unnecessary MIN(); bug #1578
2012-03-26 10:01:30 +00:00
Marina Kolpakova
4eaced12fe
fixed bug #1700
2012-03-19 15:59:30 +00:00
Marina Kolpakova
d10616775b
Fixed bug #1634
2012-03-18 17:28:44 +00:00
Vadim Pisarevsky
fb804cb352
fixed StereoBM crash on MacOSX 10.7
2012-03-17 11:12:24 +00:00
Vadim Pisarevsky
846e37ded5
fixed many warnings from GCC 4.6.1
2012-03-17 09:22:31 +00:00
Vadim Pisarevsky
4985c1b632
fixed hundreds of warnings from MSVC 2010.
2012-03-16 21:21:04 +00:00
Andrey Kamaev
e4307d05f3
Made dependency of features2d and calib3d from highgui optional
2012-03-13 12:33:16 +00:00
Ilya Lysenkov
207e46b425
Restored findCirclesGridDefault() for backward compatibility
2012-03-13 09:38:00 +00:00
Ilya Lysenkov
1252671c9d
Added a full Python wrapper of findCirclesGrid
2012-03-12 11:40:46 +00:00
Alexander Shishkov
11ad582250
done user requirement from yvonnic2m@gmail.com
2012-01-06 15:26:24 +00:00
Vladislav Vinogradov
92a682093a
fixed compilation error
2011-12-27 06:19:20 +00:00
Alexander Shishkov
26aef8c719
added skipped file
2011-12-26 13:08:46 +00:00
Alexander Shishkov
c11551a510
added P3P method
...
added test for solvePnP
changed test for solvePnPRansac
fixed bug with mutex solvePnPRansac
2011-12-26 12:59:07 +00:00
Alexander Shishkov
6fa936472e
fixed compilation errors in epnp with gcc
2011-12-20 12:10:12 +00:00
Alexander Shishkov
c5d8ec4ac0
first version of ePnP code
2011-12-20 11:33:12 +00:00
Andrey Kamaev
664cd5460e
Tegra-optimized cv::compare
2011-11-07 06:29:34 +00:00
Ilya Lysenkov
8483f9ce40
Fixed the new version of findCirclesGrid.
2011-09-20 13:45:46 +00:00
Ilya Lysenkov
d263fe2b25
Removed unnecessary variables.
2011-09-20 13:16:54 +00:00
Ilya Lysenkov
0ef4ff8925
Improved robustness of the findCirclesGrid() to affine distortions.
2011-09-20 12:47:24 +00:00
Andrey Kamaev
f45a886adc
Tegra optimization for CirclesGridClusterFinder::hierarchicalClustering
2011-09-19 15:14:14 +00:00
Andrey Kamaev
1554d7ab65
Removed countNonZero call from CirclesGridClusterFinder::hierarchicalClustering
2011-09-16 12:38:41 +00:00
Andrey Kamaev
6d56105b42
Removed unnecessary comparison from CirclesGridClusterFinder::hierarchicalClustering
2011-09-15 14:43:23 +00:00
Vadim Pisarevsky
dd1315b22a
fixed rank check in 8-point Fundamental Matrix algorithm (patch by F. Devernay; ticket #1273 )
2011-08-06 19:38:09 +00:00
Vadim Pisarevsky
04a4e51920
fixed parallel block matching stereo correspondence algorithm (ticket #997 ; thanks to jbieger for the patch)
2011-08-06 19:28:20 +00:00
Vadim Pisarevsky
16b0fcf083
fixed CvHomographyEstimator::runKernel (ticket #1275 )
2011-08-04 13:06:08 +00:00
Vadim Pisarevsky
c57799a877
fixed 8-point case in findFundamentalMat (ticket #1262 ). findFundamentalMat needs to be rewritten actually (as well as findHomography)
2011-08-03 14:04:14 +00:00
Vadim Pisarevsky
db19eb1586
converted part of ch12
2011-07-28 20:51:05 +00:00
Vadim Pisarevsky
eac0309324
converted live camera calibration sample
2011-07-27 13:03:59 +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
1badec0b2d
eliminated opencv_extra_api.hpp (all the functionality is moved to the regular OpenCV headers)
2011-07-18 16:31:30 +00:00
Ilya Lysenkov
2c2d7d7bbd
Fixed findCirclesGrid for the case of working with 'square' asymmetric patterns.
2011-07-13 13:05:41 +00:00
Vadim Pisarevsky
5bb8076d7d
added centerPrincipalPoint=false to getOptimalNewCameraMatrix (ticket #1199 )
2011-07-07 21:38:21 +00:00
Vadim Pisarevsky
f4dc4b43e4
fixed calibrateCamera API (ticket #1143 )
2011-06-17 21:21:01 +00:00
Vadim Pisarevsky
6229af93d6
corrected estimateAffine3D parameter name: outliers=>inliers (ticket #1141 )
2011-06-17 19:12:21 +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