Pavel Rojtberg
c1b90a1c22
fisheye: add CALIB_FIX_PRINCIPAL_POINT
8 years ago
Tomoaki Teshima
0e380ff15d
calib3d: compare error and threshold both in square
...
* resolve #5183
8 years ago
S. Garrido
e5d12502c5
Fix useExtrinsicGuess in solvePnP
9 years ago
Vladislav Sovrasov
46fb46c54e
Add an extended version of CalibrateCamera function
9 years ago
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 '&&'.
9 years ago
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).
9 years ago
Pavel Rojtberg
8ed1945ccd
calibrationMatrixValues: consider principalPoint in FOV computation
...
The FOV depends on the principal point location. Use formula of
viz::Camera.
9 years ago
Pavel Rojtberg
86959310f9
calibrationMatrixValues: bind C++ function in C instead of vice versa
9 years ago
Pavel Rojtberg
ccadad4222
fisheye: allow using transposed image and object point arrays
9 years ago
Pavel Rojtberg
8d4cebe077
fisheye: create rvecs, tvecs before writing
9 years ago
Vitaly Tuzov
13858cd561
Cost estimation boundaries description updated
9 years ago
Vitaly Tuzov
772d9689e9
Backport of StereoBM uninitialized memory access problem fix from master branch
9 years ago
Vitaly Tuzov
a7ce9a176b
Fixed uninitialized memory errors in stereoBM
9 years ago
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.
9 years ago
Прун Виктор
93ff1fb2f2
Correct image borders and principal point computation in cv::stereoRectify
9 years ago
Krishnaraj Bhat
9b8013d193
gcc6: fix misleading indentation warning
...
cosmetic changes to fix this warning.
real bugs not found
9 years ago
Pavel Rojtberg
bb605279b6
clarify how to use fisheye::distortPoints
9 years ago
aravind
7ad849718c
Fixed Fisheye Camera model documentation.
9 years ago
Philipp Hasper
3f1eeba39d
findHomography sets output mask to all zeros in case of no inlier
9 years ago
Josep Bosch
5384a2205a
Adapted estimateNewCameraMatrix to make it work with pincushion-like distortion.
9 years ago
Dmitry-Me
bf604f1780
Reduce variables scope
9 years ago
KeySecure
e6ac2ca3c9
make Xcode 7.2 happy.
9 years ago
Matěj Šmíd
3e176bbfa0
fisheye documentation typo
9 years ago
Alexander Karsakov
e784ea7178
Fixed getSubset method to support Nx3 1-channel matrices as input (3xN 1-channel matrices doesn't supported at all).
9 years ago
Alexander Karsakov
0c9c7d5f3b
Added test for checking that solvePnPRansac accepts vector<Point3f> and Nx3 1-channel or 1xN/Nx1 3-channel matrices as input.
9 years ago
Alexander Karsakov
6e22020dad
Fixed pnpTask: don't copy inliers vector in case it's empty.
9 years ago
Emanuel Jöbstl
4e469f2866
Changed parameter order in documentation
...
Changed parameter order in documentation of findEssentialMat, because threshold and probability were switched.
9 years ago
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.
9 years ago
Pavel Rojtberg
ac481e6174
calib3d: port Rodrigues to cpp primitives
9 years ago
Alexander Alekhin
323e24e3ef
change links from samples/python2 to samples/python
9 years ago
Maksim Shabunin
84f37d352f
HAL moved back to core
9 years ago
Thomas Dunker
6882c10b45
Extension of the camera distortion model for tilted image sensors (Scheimpflug condition) including test
9 years ago
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
9 years ago
Pavel Rojtberg
205775ed52
calibrateCamera: only allocate and compute rvecs, tvecs when needed
...
also replace C defines with C++ enums
9 years ago
Pavel Rojtberg
b5ddaae427
calib3d: add CALIB_USE_LU to use LU decomposition in solver
9 years ago
Pavel Rojtberg
4c251bd260
CvLevMarq: add solve method to interface
9 years ago
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.
9 years ago
Pavel Rojtberg
9d89c369f8
update SOLVEPNP documentation
9 years ago
emiswelt
2e9ef3f9e3
Changed parameter order of cv::stereoRectify in documentation,
...
so it matches the code.
9 years ago
Pavel Rojtberg
16fcd78f03
add sampson distance error measure
...
the first order approximation of the geometric error
9 years ago
Pavel Rojtberg
cefa1dc5cb
switch mask type from vector<int> to vector<uchar>
9 years ago
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!)
9 years ago
Maksim Shabunin
eebd4cad66
Fix compilation problems with XCode 7.1.1 and cmake 3.3.2
9 years ago
Pavel Rojtberg
81e814d9ed
clean up fisheye calibration code
...
improves performance by factor 1.2 to 2.0
9 years ago
Pavel Rojtberg
9233472bdd
use cpp functions in CvLevMarq::step for better readability
9 years ago
Pavel Rojtberg
742fb559f7
use cpp functions in cvCalibrateCamera2 to make it more readable
9 years ago
Maksim Shabunin
f49936a849
Fixed cmake and build issues when using Visual Studio 2015
9 years ago
Ilya Lavrenov
15b313ce4b
fixed memory leak in findHomography tests
...
(cherry picked from commit ec5244a73a
)
9 years ago
robertxwu
33cd7f38a8
re-submit
...
(cherry picked from commit 4a68cc1675
)
9 years ago
Maksim Shabunin
6e9d0d9a0c
Visual Studio 2015 warning and test fixes
9 years ago