Alexander Alekhin
95d9cfb5c3
static analysis issues
6 years ago
rasmus25
394bc91e07
Merge pull request #14718 from rasmus25:3.4
...
* Revert the bad parts of b085158d59
to fix https://github.com/opencv/opencv/issues/11131
but preserve the good parts to keep https://github.com/opencv/opencv/issues/10791 fixed
* calib3d: add regression test for stereoCalibrate to fix https://github.com/opencv/opencv/issues/11131
6 years ago
catree
7ed858e38e
Fix issue with solvePnPRansac and Nx3 1-channel input when the number of points is 5. Try to uniform the input shape of projectPoints and undistortPoints.
6 years ago
Thang Tran
a1f4e65d03
calib3d: Fix calibrateCamera() misleading error
...
objectPoints and imagePoints are not checked whether they're empty and
cause checkVector() to fail, thus result in a wrong error message.
Fixes: https://github.com/opencv/opencv/issues/6002
6 years ago
Apoorv Goel
0ffc186680
Merge pull request #12731 from UnderscoreAsterisk:fix-12012
...
* fix #12012
* Replace CV_StsBadFlag with Error::StsBadFlag
6 years ago
Hamdi Sahloul
5d54def264
Add semicolons after `CV_INSTRUMENT` macros
6 years ago
Alexander Alekhin
8a3c394d6a
don't use constructors for C API structures
6 years ago
Maksim Shabunin
1da46fe6fb
Fixed issues found by static analysis (mostly DBZ)
6 years ago
Alexander Alekhin
d5951bc033
build: eliminate GCC8 warnings
6 years ago
Michael Firman
e8cb67572a
Bugfix to allow adjust3rdMatrix to be run
7 years ago
denmatfoton
b085158d59
Fix unstable work of stereoRectify function. Issue description: https://github.com/opencv/opencv/issues/10791
7 years ago
Pavel Rojtberg
203dc3bb48
Merge pull request #10667 from paroj:stereo_calib_ex
...
calib3d: add stereoCalibrateExtended (#10667 )
* cvCalibrateCamera2Internal: simplify per view error computation
* calib3d: add stereoCalibrateExtended
- allow CALIB_USE_EXTRINSIC_GUESS
- returns per view errors
* calib3d: add stereoCalibrateExtended test
7 years ago
tobycollins
f34a0a874a
Merge pull request #10522 from tobycollins:issue10519
7 years ago
KUANG Fangjun
67acfc6e25
improve doc.
7 years ago
Vladislav Sovrasov
ef7833a271
calib3d: add CALIB_FIX_TANGENT_DIST flag to stereoCalibrate
7 years ago
Tomoaki Teshima
800f656402
suppress warning message
7 years ago
Pavel Rojtberg
5ada462773
calib3d: use cpp functions in cvStereoCalibrate to make it more readable
7 years ago
Pavel Rojtberg
94fdd45b75
calib3d: rewrite reprojectImageTo3D using Matx expressions
...
about the same speed, but significatly more readable
7 years ago
Vladislav Sovrasov
fa17267e05
calib3d: fix not working CALIB_FIX_TANGENT_DIST flag
7 years ago
Maksim Shabunin
32d4af36e2
Fixing some static analysis issues
8 years ago
Vladislav Sovrasov
c0e456dee2
calib3d: use calibration flags from the new enums
8 years ago
Vladislav Sovrasov
d121d1c528
calib3d: add CALIB_FIX_TANGENT_DIST flag
8 years ago
Alexander Alekhin
ca6beb9ca8
calib3d: fix InputArray -> CvMat
8 years ago
Alexander Alekhin
cc09f5a7de
Merge pull request #7854 from alalek:backports_2016
...
(2.4) Backports from master branch (#7854 )
8 years ago
Pavel Rojtberg
01b592c8e1
calibrateCamera: mask f_x when using FIX_ASPECT_RATIO
...
this avoids a singular Jacobian such that LM converges when DECOMP_LU is
used.
8 years ago
Vladislav Sovrasov
dfe4519c07
Add QR decomposition to HAL
8 years ago
Pavel Vlasov
30a6cee2fe
Instrumentation for OpenCV API regions and IPP functions;
8 years ago
catree
a893395da8
Fix typo bug in the calculation of some derivatives (dmxdt, dmydt, dmxdr, dmydr) in cvProjectPoints2 function.
8 years ago
sourin
99374598b3
Fix modified
8 years ago
Прун Виктор
fa42a1cfc2
fix calib3d changes in #6836 plus some others
8 years ago
Vladislav Sovrasov
ee9a42e9cd
Fix calibration fail on python with CALIB_THIN_PRISM_MODEL flag
9 years ago
Vladislav Sovrasov
46fb46c54e
Add an extended version of CalibrateCamera function
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
Прун Виктор
93ff1fb2f2
Correct image borders and principal point computation in cv::stereoRectify
9 years ago
Pavel Rojtberg
ac481e6174
calib3d: port Rodrigues to cpp primitives
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
742fb559f7
use cpp functions in cvCalibrateCamera2 to make it more readable
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
Alexander Duda
def2256609
cv::stereoRectify: fix segfault in case of empty distCoeffs
...
cvStereoRectify assumes that NULL is provided in case of no distCoeffs
10 years ago
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
10 years ago
Dmitry-Me
52a8d37f11
Fix potential null pointer dereference
10 years ago
Timur Sattarov
4762728fd5
More sensible error messages
10 years ago
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
10 years ago
Adrien BAK
c5c3fd4443
modify signature of stereoCalibrate for consistency
11 years ago
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.
11 years ago
look4pritam
a430abd02e
The thin prism distortion coefficient related small bug is fixed.
11 years ago