yuki takehara
a6277370ca
Merge pull request #21107 from take1014:remove_assert_21038
...
resolves #21038
* remove C assert
* revert C header
* fix several points in review
* fix test_ds.cpp
3 years ago
Wehzie
f9e747dbc6
Fixed typo in CV_Error message
...
Error was "Input parameters must be a matrices!", but "matrices" is plural and doesn't allow the unspecific article "a".
3 years ago
Alexander Alekhin
1f2c83845d
backport: checks and fixes from static code analyzers results
...
original commit: 71f665bd8c
4 years ago
Alexander Alekhin
523f081923
core(check): add Size_<int>
5 years ago
Brian Wignall
f9c514b391
Fix spelling typos
...
backport commit 659ffaddb4
5 years ago
catree
badd0d1ff4
Add explicit size check for Rodrigues() function to prevent issue like https://stackoverflow.com/questions/58969553
5 years ago
Alexander Alekhin
13bc55a015
calib3d: clarify error messages in collectCalibrationData()
5 years ago
Alexander Alekhin
9a4404276a
calib3d: revert stereoRectify() changes from PRs: 6836, 6972, 6955
...
(1/4) Revert "Correct image borders and principal point computation in cv::stereoRectify"
This reverts commit 93ff1fb2f2
.
(2/4) Revert "fix calib3d changes in 6836 plus some others"
This reverts commit fa42a1cfc2
.
(3/4) Revert "fix compiler warning"
This reverts commit b3d55489d3
.
(4/4) Revert "add test for 6836"
This reverts commit d06b8c4ea9
.
5 years ago
luz.paz
fcc7d8dd4e
Fix modules/ typos
...
Found using `codespell -q 3 -S ./3rdparty -L activ,amin,ang,atleast,childs,dof,endwhile,halfs,hist,iff,nd,od,uint`
backporting of commit: ec43292e1e
5 years ago
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