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.
8 years ago
Sergei Nosov
d06b8c4ea9
add test for #6836
8 years ago
Maksim Shabunin
95da5ec245
Restored check chessboard parameters
9 years ago
Maksim Shabunin
3bfe76e24c
Ported PR #4187 to master
9 years ago
Maksim Shabunin
b000663a88
Cleanup
9 years ago
Maksim Shabunin
8215d20dbf
fixup! Fixed several merge issues
9 years ago
Maksim Shabunin
2a350b11dd
Fixed several merge issues
9 years ago
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
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