Vladislav Sovrasov
dfe4519c07
Add QR decomposition to HAL
2016-09-05 18:20:04 +03:00
Matthew Self
7de2e1e795
Improve perfomance of median calculation in LMedS algorithm
...
* Use `nth_element()` to find the median instead of `sort()` in `LMeDSPointSetRegistrator::run()`
* Improves performance of this part of LMedS from `n log(n)` to `n` by avoiding doing a full sort.
* Makes LMedS 2x faster for 100 points, 4x faster for 5,000 points in `EstimateAffine2D()`.
* LMedS is now never more than 2x slower than RANSAC and is faster in some cases.
2016-08-26 20:39:38 -07:00
Suleyman TURKMEN
fcc28fecb6
Make Up
2016-08-23 22:17:30 +03:00
Pavel Vlasov
30a6cee2fe
Instrumentation for OpenCV API regions and IPP functions;
2016-08-19 18:10:03 +03:00
Alexander Alekhin
241df6c6a8
Merge pull request #6972 from vicproon:fix_6836_other_places
2016-08-18 09:33:07 +00:00
Maksim Shabunin
48aa1234d9
Merge pull request #7082 from souch55:Fixmerge
2016-08-16 09:30:39 +00:00
Vadim Pisarevsky
8b155b1c6d
Merge pull request #6955 from snosov1:fix-6836
2016-08-10 09:26:51 +00:00
sourin
99374598b3
Fix modified
2016-08-10 14:38:32 +05:30
catree
74b899d8b0
Modify the figure of the pinhole camera model with pixels starting from the uv axis.
2016-08-08 03:31:31 +02:00
Vadim Pisarevsky
7eee5cb724
Merge pull request #7026 from sovrasov:calib_points_number
2016-08-04 09:14:03 +00:00
Vadim Pisarevsky
fc742da6e3
Merge pull request #6959 from LeoBras:Better_StereoBM
2016-08-02 14:30:02 +00:00
Jeff McBride
562c15cbe9
Don't assume all images have the same number of calibration points
...
Cast to (int) to avoid warnings
Add test for different points number case in fisheye calibration function
2016-08-02 17:21:17 +03:00
catree
6e931aaab7
Add pinhole camera model illustration in calib3d documentation.
2016-08-01 02:25:45 +02:00
Your Name
718891d937
Tabs -> Whitespaces.
2016-07-26 23:46:58 -03:00
Your Name
c6f790ce12
Fixed using local variable instead of global var.
...
- Still need to change SSE_2
2016-07-26 23:29:05 -03:00
Tomoaki Teshima
ce66de8e3d
calib3d: fix typo
2016-07-26 12:56:10 +09:00
Прун Виктор
fa42a1cfc2
fix calib3d changes in #6836 plus some others
2016-07-22 19:02:53 +03:00
Sergei Nosov
b3d55489d3
fix compiler warning
2016-07-21 10:57:58 +03:00
Your Name
440ba2e4a7
Passing Disparity Shift as a parameter.
2016-07-20 22:57:55 -03:00
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
Sergei Nosov
d06b8c4ea9
add test for #6836
2016-07-19 17:05:30 +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
3bfe76e24c
Ported PR #4187 to master
2016-07-13 15:46:48 +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
Vadim Pisarevsky
7f4a1bcac7
Merge pull request #6160 from paroj:fe_distort
2016-03-02 13:34:32 +00:00
Alexander Alekhin
81f21e6e6c
Merge pull request #6139 from ioxp:master
2016-02-25 11:41:49 +00:00
Pavel Rojtberg
bb605279b6
clarify how to use fisheye::distortPoints
2016-02-24 16:18:13 +01:00
aravind
7ad849718c
Fixed Fisheye Camera model documentation.
2016-02-19 01:17:39 +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
Alexander Alekhin
cda8e449ec
Merge pull request #5954 from smidm:patch-1
2016-01-14 12:07:37 +00:00
KeySecure
e6ac2ca3c9
make Xcode 7.2 happy.
2016-01-13 20:19:19 +08:00
Matěj Šmíd
3e176bbfa0
fisheye documentation typo
2016-01-12 16:33:34 +01: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
Emanuel Jöbstl
4e469f2866
Changed parameter order in documentation
...
Changed parameter order in documentation of findEssentialMat, because threshold and probability were switched.
2016-01-08 14:46:17 +00: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
Alexander Alekhin
323e24e3ef
change links from samples/python2 to samples/python
2015-12-18 11:00:30 +03: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
Pavel Rojtberg
9d89c369f8
update SOLVEPNP documentation
2015-12-10 23:02:17 +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
emiswelt
2e9ef3f9e3
Changed parameter order of cv::stereoRectify in documentation,
...
so it matches the code.
2015-12-08 22:28:32 +00:00
Alexander Alekhin
d86d8ed909
Merge 2.4 into master
...
PR #2968 : cce2d99
8578f9c
Fixed bug which caused crash of GPU version of feature matcher in stitcher
The bug caused crash of GPU version of feature matcher in stitcher when
we use ORB features.
PR #3236 : 5947519
Check sure that we're not already below required leaf false alarm rate before continuing to get negative samples.
PR #3190
fix blobdetector
PR #3562 (part): 82bd82e
TBB updated to 4.3u2. Fix for aarch64 support.
PR #3604 (part): 091c7a3
OpenGL interop sample reworked not ot use cvconfig.h
PR #3792 : afdf319
Add -L for CUDA libs path to pkg-config
Add all dirs from CUDA_LIBS_PATH as -L linker options to
OPENCV_LINKER_LIBS. These will end up in opencv.pc.
PR #3893 : 122b9f8
Turn ocv_convert_to_lib_name into a function
PR #5490 : ec5244a
fixed memory leak in findHomography tests
PR #5491 : 0d5b739
delete video readers
PR #5574
PR #5202
2015-12-08 10:24:54 +03: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
Rok Mandeljc
980d84e4a2
calib3d: improve documentation of reprojectImageTo3D
...
Make a note about 16-bit signed format - the function assumes that
values have no fractional bits (so 16-bit disparity from StereoBM
and StereoSGBM cannot be directly used!)
2015-11-19 11:05:13 +01:00
Maksim Shabunin
eebd4cad66
Fix compilation problems with XCode 7.1.1 and cmake 3.3.2
2015-11-17 18:52:55 +03: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
33dc41056f
Merge pull request #5392 from elenash:fisheye_fix
2015-11-03 10:57:36 +00:00
Vadim Pisarevsky
8512ca7490
Merge pull request #5484 from PolarNick239:master
2015-11-02 15:45:59 +00:00
Maksim Shabunin
f49936a849
Fixed cmake and build issues when using Visual Studio 2015
2015-10-29 11:50:48 +03:00
Maksim Shabunin
6e9d0d9a0c
Visual Studio 2015 warning and test fixes
2015-10-20 12:48:37 +03:00
Suleyman TURKMEN
73240b736b
Update camera_calibration_and_3d_reconstruction.rst
2015-10-16 22:30:00 +03:00
Ilya Lavrenov
ec5244a73a
fixed memory leak in findHomography tests
2015-10-12 00:11:45 +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
Elena Shipunova
e539a9632d
Fix in fisheye calibrate function: #5389
2015-10-01 19:03:26 +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
robertxwu
4a68cc1675
re-submit
2015-09-21 13:57:25 -07:00