Martin Ueding
9e29762838
Add example data types for calibrateCamera call
...
It took me a while to figure out what was meant with
OpenCV Error: Assertion failed (i < 0) in getMat
While searching for this error message I found [a list of error
messages](https://adventuresandwhathaveyou.wordpress.com/2014/03/14/opencv-error-messages-suck/ )
which also explained what the problem was: The data type for `rvecs` was
not a simple `cv::Mat` but a `std::vector<cv::Mat>`.
After I fixed that, I got the next error message:
OpenCV Error: Assertion failed (ni > 0 && ni == ni1) in
collectCalibrationData, file
/build/buildd/opencv-2.4.9+dfsg/modules/calib3d/src/calibration.cpp,
line 3193
The problem here was that my data type for the `objectPoints` was just
`vector<Vec3f>` and not `vector<vector<Vec3f>>`.
In order to save other people the time looking for this, I added
explicit examples of the needed data types into the documentation of the
function. I had to re-read the current version a couple of times until I
can read the needed levels of `vector<>`. Having this example would have
really helped me there.
Conflicts:
modules/calib3d/include/opencv2/calib3d.hpp
2015-04-28 17:24:37 +02:00
Vadim Pisarevsky
da229cce9a
Merge pull request #3946 from zjulujia:bugfix_for_hog_detectMultiScale_with_weights
2015-04-28 10:54:45 +00:00
Vadim Pisarevsky
36af97d00c
Merge pull request #3959 from jet47:gpu-fixes
2015-04-28 10:49:06 +00:00
Vadim Pisarevsky
d705c651f2
Merge pull request #3960 from ilya-lavrenov:aarch64_test_fixes
2015-04-28 10:48:33 +00:00
Vadim Pisarevsky
08848c56b7
Merge pull request #3965 from Dikay900:2_4_diff_to_master_2
2015-04-28 10:47:05 +00:00
Vadim Pisarevsky
ebe979090e
Merge pull request #3963 from Dikay900:2_4_diff_to_master
2015-04-28 10:41:42 +00:00
Pierre Moulon
901d4995e3
Fix a typo error
...
Fix a typo error
Conflicts:
modules/features2d/include/opencv2/features2d.hpp
2015-04-25 15:07:17 +02:00
Adi Shavit
aad95c7d8c
Added call to clone() to avoid unexpected change to external data.
...
- Fix both stitching_detailed.cpp sample and cv::Stitcher.
2015-04-25 14:54:35 +02:00
Dikay900
d9b7b300b4
fix qt example on 2.4 with vs2010 and higher
2015-04-25 14:46:17 +02:00
Brian Park
044de4105e
add input paramter checking that verifies the existance of the input files to stero_match example
...
remove the unnecessary header file
check input paramter by checking the image size
2015-04-25 14:46:17 +02:00
Chris Mayo
7a5aa06b9e
Act on INSTALL_PYTHON_EXAMPLES
...
Conflicts:
samples/CMakeLists.txt
2015-04-25 14:46:16 +02:00
Ben Hagen
a21fb63c28
store user-provided data in PlaneTracker class
2015-04-25 11:22:18 +02:00
Yang Fan
eaa9b78121
ENH: explicitly declared outputFilename to surpress error C2668
...
Conflicts:
samples/gpu/video_writer.cpp
2015-04-25 10:58:01 +02:00
Abhijit Kundu
fd4df0f67d
Added suuport for finding Intel TBB for Visual Studio 2013
2015-04-25 10:23:34 +02:00
Simon Heinen
6decc2596d
squashed #3729
...
Update android+AsyncServiceHelper.java
Update android+AsyncServiceHelper.java
changed tabs in last commit to spaces
Update android+AsyncServiceHelper.java
small formatting fixes
2015-04-24 23:02:10 +02:00
Eric Sommerlade
41b920344d
added support for uncompressed parameters to tiff image format as described here: expertland.net/question/b6o3n6p9a72341db823b48nl98m91dx8n1/detail.html
...
Conflicts:
modules/imgcodecs/src/grfmt_tiff.cpp
2015-04-24 22:59:08 +02:00
Ying Xiong
82668e06d4
Silence cmake 3.0+ warnings about MACOSX_RPATH
2015-04-24 22:39:49 +02:00
ttagu99
a81374c1d7
findcontour_example check image empty
2015-04-24 21:58:31 +02:00
侯骥
66fc6126d2
Update MatchTemplate_Demo.cpp
2015-04-24 21:58:31 +02:00
Jay Bosamiya
8b58b59df4
Fix typo
2015-04-24 21:58:30 +02:00
RafaRuiz
f0595b8254
Update lkdemo.cpp because of memory leak
...
In MacOSx x64 it was getting a memory leak even without initializing points:
http://code.opencv.org/issues/4250
2015-04-24 21:58:29 +02:00
Pastafarianist
1e01441767
Fixed typo
2015-04-24 21:58:29 +02:00
Dikay900
c797746b6e
use constant instead of value backported from #785
2015-04-24 21:58:28 +02:00
Dikay900
1bf4427a5c
filename correction from #3217
2015-04-24 21:58:28 +02:00
Kevin Hughes
ac3ec0d96d
squashed #823
...
removed separate example for reading image sequences and modified starter_video.cpp to better explain the functionality of VideoCapture. I also added a bit more explanation in the documentation of the VideoCapture interface
Conflicts:
modules/highgui/doc/reading_and_writing_images_and_video.rst
samples/cpp/starter_video.cpp
starter_video.cpp changed CV WINDOW KEEPRATIO to just WINDOW KEEPTATIO to fix build error
starter_video.cpp hid local functions
2015-04-24 21:58:14 +02:00
Maximilien Cuony
5c6c537044
Fix typo in error for extrinsic parameters
2015-04-24 18:39:34 +02:00
Dikay900
f8c82fc214
update openni sample comments referring #81
2015-04-24 18:25:23 +02:00
Ilya Lavrenov
89e3c508d8
fixed tests for aarch64
2015-04-24 13:56:20 +03:00
Vladislav Vinogradov
cbdddb473c
disable several heavy performance tests
2015-04-23 19:09:03 +03:00
Vladislav Vinogradov
b4c2891ef3
disable Video_PyrLKOpticalFlowDense performance test
...
sanity fails on Maxwell and CUDA 7.0 due to unknow reason
2015-04-23 19:08:40 +03:00
Vladislav Vinogradov
1325213303
use border extrapolation for central pixel in pyrDown
...
in case if image has odd dimension
2015-04-23 17:21:42 +03:00
Vladislav Vinogradov
fb15bdfb21
fix racecheck warning in scanRows kernel
2015-04-23 17:21:42 +03:00
Vladislav Vinogradov
9d2d173485
increase epsilon for solvePnPRansac function
2015-04-23 17:21:42 +03:00
Vadim Pisarevsky
26e3bcb9de
Merge pull request #3956 from ilya-lavrenov:cuda_aarch64
2015-04-23 13:49:33 +00:00
Vadim Pisarevsky
960dee8ab8
Merge pull request #3953 from ilya-lavrenov:cuda_unused
2015-04-23 12:26:07 +00:00
Ilya Lavrenov
847976de4e
fixed find cuda for aarch64
2015-04-23 14:49:12 +03:00
Ilya Lavrenov
ceec0eb33a
rmeoved unused functions
2015-04-23 12:48:50 +03:00
Vadim Pisarevsky
4840c4ae6f
Merge pull request #3949 from ilya-lavrenov:clobbered_warning
2015-04-22 19:07:46 +00:00
Ilya Lavrenov
02e29fc99c
suppress -Wclobbered warning
2015-04-22 16:42:03 +03:00
lujia
7ce116695d
bugfix_for_hog_detectMultiScale_with_weights
2015-04-21 02:32:27 -04:00
Vadim Pisarevsky
c879b1ab09
Merge pull request #3940 from sergarrido:fix-gen_pattern.py-2.4
2015-04-20 19:47:55 +00:00
Alexander Smorkalov
de8d8720a2
Merge pull request #3924 from jet47:gpu-fixes
2015-04-19 11:04:55 +00:00
S. Garrido
a855d230ec
completing and fixing gen_pattern.py for 2.4 branch
2015-04-18 22:13:22 +02:00
Vladislav Vinogradov
6a6619ec1e
increase epsilons for some sanity tests
2015-04-14 10:12:56 +03:00
Alexander Alekhin
8c2bde2af4
Merge pull request #3923 from ilya-lavrenov:typo
2015-04-13 16:57:13 +00:00
Vladislav Vinogradov
d22516872c
fix BruteForceMatcher resource distribution
...
added launch bounds attributes for all CUDA kernels
2015-04-13 17:12:04 +03:00
Vladislav Vinogradov
17608f7ade
make NVIDIA tests verbose by default
2015-04-13 17:11:19 +03:00
Vladislav Vinogradov
81ebe28c24
fixed a bug in scanRows CUDA kernel (part of nppStIntegral)
...
uninitialized value
2015-04-13 17:09:59 +03:00
Vadim Pisarevsky
f7792f0be2
Merge pull request #3908 from jet47:gpu-wrap-border-mode
2015-04-07 11:44:51 +00:00
Vladislav Vinogradov
27302c367c
fix GPU WARP border mode in CUDA 7.0 and Maxwell architecture
2015-04-07 13:04:31 +03:00