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
9 years ago
Vladislav Sovrasov
ee9a42e9cd
Fix calibration fail on python with CALIB_THIN_PRISM_MODEL flag
9 years ago
Pavel Rojtberg
c1b90a1c22
fisheye: add CALIB_FIX_PRINCIPAL_POINT
9 years ago
Tomoaki Teshima
0e380ff15d
calib3d: compare error and threshold both in square
...
* resolve #5183
9 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
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
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
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
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
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
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
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
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
9 years ago
Elena Shipunova
e539a9632d
Fix in fisheye calibrate function: #5389
9 years ago
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;
9 years ago
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;
9 years ago
Pavel Vlasov
2177c7c5a8
Some IPP functions were encapsulated;
...
Minor changes to IPP implementations;
9 years ago
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
9 years ago
robertxwu
4a68cc1675
re-submit
9 years ago
Pavel Rojtberg
f0282337e3
simplify error conditions
...
`A || !A` is `true` so write `(A && B) || !A` as `B || !A`
9 years ago
Alexander Alekhin
7213e5f68a
ocl: correct disabling of OpenCL code
9 years ago