Alexander Alekhin
95d9cfb5c3
static analysis issues
6 years ago
Kang Yifei
ba0ed79635
Merge pull request #14800 from FanaticsKang:add_undistortPoint_test
...
Test request by #14583 (#14800 )
* add test to show the undistort bug
* move test to calib3d
6 years ago
Alexander Alekhin
1e9ad5476d
core(intrin): drop hasSIMD128 checks
...
- use compile-time checks instead (`#if CV_SIMD128`)
- runtime checks are useless
6 years ago
Ahmed Ashour
5c56b8ce92
java: generated code to have javadoc
6 years ago
Ahmed Ashour
1aca1d582e
Fix some typos
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
Alexander Alekhin
483f28723c
calib3d: initialize local vars, fix indentation in for loops
6 years ago
utibenkei
898cf70210
Merge pull request #14597 from utibenkei:fix_java_missing_consts
...
* java: fix java missing_consts
* java: test Calib3d constants
6 years ago
Ahmed Ashour
f9564e053d
java: test: use assertNotNull and assertFalse
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
catree
33cb9c5ca5
Add SOLVEPNP_IPPE for planar pose estimation. Add solvePnPGeneric function that returns all the pose solutions and the reprojection errors.
6 years ago
Daniel Ingram
962d57b4d6
Merge pull request #14559 from daniel-s-ingram:master
...
* Fix typo: 'divisble' -> 'divisible'
* Fix typo: 'One of arguments' -> 'One of the arguments'
6 years ago
Alexander Alekhin
68012bfbf9
calib3d: fix uninitialized fields in ctors
6 years ago
catree
dac31e84fb
Add solvePnPRefineLM to refine a pose according to a Levenberg-Marquardt iterative minimization process. Add solvePnPRefineVVS to refine a pose using a virtual visual servoing scheme.
6 years ago
ostarling
643d9df42d
Merge pull request #14411 from ostarling:3.4_fix_for_14242
...
* Fix for Homogenous precision #14242 :
- moved scale computation to an inline function
- use std::numeric_limits<float>::epsilon() instead of != 0.0
* Fix for Homogenous precision #14242 :
- fixed warnings for type conversion
* Fix for Homogenous precision #14242 :
- use float epsilon() for truncation of doubles
6 years ago
Thang Tran
2f7fc1a598
calib3d: add find4QuadCornerSubpix java wrapper
...
Fixes: https://github.com/opencv/opencv/issues/14169
6 years ago
Alexander Alekhin
78384d8923
build: avoid highgui dependency
6 years ago
Alexander Alekhin
a0a1fb5fec
python: discover tests from module/misc/python/test paths
6 years ago
Alexander Alekhin
b5961cc5d1
calib3d: don't change input data
...
- estimateAffine2D/estimateAffinePartial2D() calls
6 years ago
Bharat123Rox
ea68f7ea1e
Remove dead link in calib3d.hpp
6 years ago
Alexander Alekhin
8c8715c4dd
fix static analysis issues
6 years ago
catree
bbf39b0964
Add Hand-Eye calibration methods (Tsai, Park, Horaud, Andreff, Daniilidis).
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
klemens
5d9c6723ee
spelling fixes
...
backport 997b7b18af
6 years ago
Suleyman TURKMEN
794c14b29a
code clean up
6 years ago
Jim Zhou
78bd55c8df
Merge pull request #13601 from JimZhou-001:JimZhou-001
...
* Fix the bug in case determinant of rotation matrix is -1
* calib3d(test): check det(R) == 1
6 years ago
Alexander Alekhin
b74b05d1b3
Revert CV_TRY/CV_CATCH macros
...
This reverts commit 7349b8f5ce
(partially).
6 years ago
fegorsch
ce00d38bd9
Add test for symmetric circles with clustering
6 years ago
fegorsch
30bf4a5e34
CircleGridClusterFinder: map circle pattern width and height correctly
...
During the cluster-based detection of circle grids, the detected circle
pattern has to be mapped to 3D-points. When doing this the width (i.e.
more circles) and height (i.e. less circles) of the pattern need to
be identified in image coordinates.
Until now this was done by assuming that the shorter side in image
coordinates (length in pixels) corresponds to the height in 3D.
This assumption does not hold if we look at the pattern from
a perspective where the projection of the width is shorter
than the projection of the height. This in turn lead to misdetections in
although the circle pattern was clearly visible.
Instead count how many circles have been detected along two edges of the
projected quadrangle and use the one with more circles as width and the
one with less as height.
6 years ago
catree
d37164bab6
Fix distortion figure in calib3d. Positive radial distortion corresponds to pincushion distortion and negative to barrel distortion. Add another figure that illustrates the influence of k1 in the distortion effect.
6 years ago
kamino410
3972c526ce
fix document about camera distortion parameters
6 years ago
catree
644846c702
Add a function that draws frame axes. Useful for debugging purpose and to check the correctness of the output of a pose estimation method.
6 years ago
tompollok
0b77600718
change area() emptiness checks to empty()
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
Hamdi Sahloul
03b3be0f51
MSVC: Slience external/meaningless warnings
6 years ago
Hamdi Sahloul
a39e0daacf
Utilize CV_UNUSED macro
6 years ago
Vadim Pisarevsky
54279523a3
Merge pull request #12437 from vpisarev:avx2_fixes
...
* trying to fix the custom AVX2 builder test failures (false alarms)
* fixed compile error with CPU_BASELINE=AVX2 on x86; raised tolerance thresholds in a couple of tests
* fixed compile error with CPU_BASELINE=AVX2 on x86; raised tolerance thresholds in a couple of tests
* fixed compile error with CPU_BASELINE=AVX2 on x86; raised tolerance thresholds in a couple of tests
* seemingly disabled false alarm warning in surf.cpp; increased tolerance thresholds in the tests for SolvePnP and in DNN/ENet
6 years ago
Alexander Alekhin
8a3c394d6a
don't use constructors for C API structures
6 years ago
Alexander Alekhin
701760dbeb
calib3d: use `Mat::reserveBuffer()` instead of `.create()`
...
to allocate memory >2Gb
6 years ago
Suleyman TURKMEN
c61bc3a0cb
Update documentation and samples
6 years ago
Tomoaki Teshima
f0c46a4c74
fix typo
6 years ago
luz.paz
2003eb1b9b
Misc. typos
...
Found via `codespell -q 3 -I ../opencv-whitelist.txt --skip="./3rdparty"`
6 years ago
Maksim Shabunin
cbb1e867e5
More issues found by static analysis
6 years ago
Maksim Shabunin
1da46fe6fb
Fixed issues found by static analysis (mostly DBZ)
6 years ago
Dmitry Kurtaev
f38808a39f
Add Java overloads for each default argument ( #11940 )
...
* Add Java overloads for each default argument
* Add "fisheye_" prefix for cv::fisheye:: functions and enums
6 years ago
Kuang Fangjun
84f2f37680
remove a useless statement.
6 years ago
Alexander Alekhin
d5951bc033
build: eliminate GCC8 warnings
6 years ago
Alexander Alekhin
c7fc563dc0
calib3d: chessboard detector - replace OpenCV C API
6 years ago
Alexander Alekhin
b09a4a98d4
opencv: Use cv::AutoBuffer<>::data()
7 years ago