Alexander Alekhin
53944cbebb
samples: avoid using of legacy code constructions in viz sample
2018-04-03 16:05:43 +03:00
Alexander Nesterov
7252319966
Added gstreamer pipeline sample
2018-03-29 23:44:42 +03:00
Alexander Alekhin
d800a0bd32
samples: suppress vtk warnings
2018-03-28 18:43:28 +03:00
Alexander Alekhin
cfdffdd519
samples: apply CV_OVERRIDE/CV_FINAL
2018-03-28 18:43:28 +03:00
Alexander Alekhin
d7e9201434
misc: apply CV_OVERRIDE/CV_FINAL
2018-03-28 18:43:28 +03:00
Alexander Alekhin
7f9253ea0a
samples: avoid using of legacy C-like API
...
- CV_RGB() macro is moved into opencv2/imgproc.hpp from imgproc_c.h
- samples/cpp/filestorage_base64.cpp is dropped
2018-03-26 13:42:35 +03:00
Alexander Alekhin
70b6c1f29e
Merge pull request #11069 from berak:fix_samples_beta
2018-03-16 19:30:20 +00:00
berak
182b52d23d
fix some samples colliding with std::beta
...
also add comments explaining the change
2018-03-15 12:40:49 +01:00
Maksim Shabunin
1ae02c0cc4
Minor refactoring in several C++ samples:
...
- bgfg_segm
- peopledetect
- opencv_version
- dnn/colorization
- tapi/opencl_custom_kernel
- tapi/dense_optical_flow (renamed tvl1_optical_flow)
2018-03-06 14:23:20 +03:00
Maksim Shabunin
aa7a964139
Merge pull request #10868 from mshabunin:sample-bgsegm
...
* Samples: reworked bgfg_bgsegm
* fixup! Samples: reworked bgfg_bgsegm
2018-02-17 15:04:14 +03:00
Steven
6f4e35cc0e
fix tutorial on real time pose estimation
2018-02-15 15:48:52 +01:00
Maksim Shabunin
f78b9468dd
Samples: fixed samples build in case the viz module is disabled
2018-02-14 12:45:10 +03:00
Maksim Shabunin
c63092781a
Samples: fixed viz tutorials building with enabled opencv_world
2018-02-12 18:42:36 +03:00
Maksim Shabunin
2200e13c71
cmake: refactored scripts with samples building:
...
- allow installing samples sources on all platforms
even if BUILD_EXAMPLES is disabled, fixed minor
issues in sources installation process
- use 'example_<group>_<name>' scheme for target and binary file naming
- use single function for sample executable creation
2018-02-12 18:42:36 +03:00
Maksim Shabunin
633b0e56a5
Fixed compilation warnings in samples:
...
- use per-module includes instead of "opencv.hpp"
- unused function warnings
- undefined macro warning
2018-02-12 18:42:36 +03:00
take1014
03407a9da0
Merge pull request #10646 from take1014:master
...
* Add a new interface for hough transform
* Fixed warning code
* Fix HoughLinesUsingSetOfPoints based on HoughLinesStandard
* Delete memset
* Rename HoughLinesUsingSetOfPoints and add common function
* Fix test error
* Change static function name
* Change using CV_Assert instead of if-block and add integer test case
* I solve the conflict and delete 'std :: tr1' and changed it to use 'tuple'
* I deleted std::tr1::get and changed int to use 'get'
* Fixed sample code
* revert test_main.cpp
* Delete sample code in comment and add snippets
* Change file name
* Delete static function
* Fixed build error
2018-02-08 22:54:43 +03:00
luz.paz
dbb57cd0ae
Misc. ./samples typos
...
Found via `codespell -q 3 --skip="./3rdparty" -I ../opencv-whitelist.txt`
2018-02-08 05:52:08 -05:00
Alexander Alekhin
44d7435a48
build: eliminate calls of removed functionality from C++17
...
Most part is deprecated since C++11
2018-02-07 12:00:33 +03:00
Alexander Alekhin
35738bcadd
samples: remove orphan documentation snippet: SBM_Sample.cpp
2018-01-31 18:54:08 +00:00
Fangjun Kuang
8efe7bafaa
Improve the doc for cv::Mat::checkVector.
2018-01-18 16:48:59 +01:00
Suleyman TURKMEN
dcd4f8f5db
Update documentation
2018-01-12 22:21:14 +03:00
victor-ludorum
914d9662d3
Merge pull request #10469 from victor-ludorum:stichingbranch
...
Updating stiching.cpp to resolve new line issue #10461 (#10469 )
2017-12-30 21:22:02 +03:00
Alexander Alekhin
289a8da39e
ml: simplify interfaces of SimulatedAnnealingSolver
2017-12-22 16:35:48 +03:00
catree
87160cb297
Add Demo 5: Basic panorama stitching from a rotating camera in the homography tutorial.
2017-12-19 22:45:35 +01:00
Suleyman TURKMEN
1654dfe3a9
Update samples ( #10333 )
...
* Update samples
* Update calib3d.hpp
* Update calib3d.hpp
* Update calib3d.hpp
* Update calib3d.hpp
2017-12-18 13:44:11 +03:00
Alexander Alekhin
70e1b4ddf0
Merge pull request #10319 from catree:move_SimulatedAnnealingSolver_Impl_cpp
...
Move SimulatedAnnealingSolver::Impl in cpp file
2017-12-15 23:06:48 +03:00
Rostislav Vasilikhin
bab86d65cb
Merge pull request #10258 from savuor:fix/kmeans_channels
...
* kmeans: number of channels in _centers fixed
* fixedType() is checked now
2017-12-15 21:48:48 +03:00
Alexander Alekhin
aef3019152
ml: fix SimulatedAnnealingSolver interface
2017-12-15 21:44:32 +03:00
Alexander Alekhin
28b19d6e3e
Merge pull request #10313 from alalek:rename_fix
...
Fix file names
2017-12-15 21:40:22 +03:00
Alexander Alekhin
d5f152494b
fix file names
2017-12-15 14:59:35 +03:00
LaurentBerger
7ad308ea47
Simulated Annealing for ANN_MLP training method ( #10213 )
...
* Simulated Annealing for ANN_MLP training method
* EXPECT_LT
* just to test new data
* manage RNG
* Try again
* Just run buildbot with new data
* try to understand
* Test layer
* New data- new test
* Force RNG in backprop
* Use Impl to avoid virtual method
* reset all weights
* try to solve ABI
* retry
* ABI solved?
* till problem with dynamic_cast
* Something is wrong
* Solved?
* disable backprop test
* remove ANN_MLP_ANNEALImpl
* Disable weight in varmap
* Add example for SimulatedAnnealing
2017-12-15 13:57:39 +03:00
catree
b417fb0939
Add tutorial and codes for the homography tutorial.
2017-12-14 15:40:10 +01:00
Vitaly Tuzov
51cb56ef2c
Implementation of bit-exact resize. Internal calls to linear resize updated to use bit-exact version. ( #9468 )
2017-12-13 15:00:38 +03:00
Suleyman TURKMEN
2aa380752c
Update train_HOG.cpp
2017-12-03 23:47:54 +03:00
Suleyman TURKMEN
63fb79b519
updates documentation and samples
2017-11-07 19:21:21 +03:00
Vadim Pisarevsky
e955bcb872
Merge pull request #9824 from sturkmen72:upd_minEnclosingTriangle
2017-10-11 17:11:15 +00:00
Suleyman TURKMEN
af9c8377eb
Update minarea.cpp
2017-10-11 17:52:23 +03:00
Suleyman TURKMEN
b2673a19cf
Updates min_enclosing_triangle.cpp
2017-10-10 23:23:36 +03:00
Vadim Pisarevsky
0739f28e56
Merge pull request #9786 from LaurentBerger:Histo3d
2017-10-10 10:58:34 +00:00
LaurentBerger
0a19b07055
Use @snippet
2017-10-09 10:59:30 +02:00
LaurentBerger
421c5dee12
3D histogram
2017-10-06 18:10:38 +02:00
Vadim Pisarevsky
d25ee8a273
Merge pull request #9761 from Jazmann:ellipseFitAMS&Direct
2017-10-06 14:35:42 +00:00
tribta
9a2317e063
Tutorial Hough Lines
2017-10-05 14:17:38 +03:00
tribta
d99ced6ec8
Tutorial Hough Circles
2017-10-05 14:17:38 +03:00
tribta
9ff33dacfc
Tutorial Make Border
2017-10-05 14:17:38 +03:00
tribta
a6f5e1f0ca
Tutorial Filter2D
2017-10-05 14:17:38 +03:00
tribta
08515281b9
Tutorial Image Pyramids
2017-10-05 14:17:38 +03:00
tribta
f7d85bfed8
Tutorial Sobel Derivatives
2017-10-05 14:17:36 +03:00
tribta
3250f11f0c
Tutorial Laplace Operator
2017-10-05 14:14:04 +03:00
tribta
d068e27420
Tutorial Morph Lines Detection
2017-10-05 14:14:04 +03:00
tribta
18bc4db75c
Tutorial Hit-or-Miss
2017-10-05 14:14:04 +03:00
tribta
bc18fb481f
Tutorial Smoothing Images
2017-10-05 14:14:03 +03:00
Jasper Shemilt
800da724a3
Fix Transposed eigenvals and vecs. Didn't notice at first
2017-10-02 17:56:08 +01:00
Jasper Shemilt
0136711cf4
Adds fitEllipseAMS to imgproc: The Approximate Mean Square (AMS) proposed by Taubin 1991.
...
Adds fitEllipseDirect to imgproc: The Direct least square (Direct) method by Fitzgibbon1999.
New Tests are included for the methods.
fitEllipseAMS Tests
fitEllipseDirect Tests
Comparative examples are added to fitEllipse.cpp in Samples.
2017-10-02 16:38:41 +01:00
vipinanand4
39e742765a
Merge pull request #9618 from vipinanand4:goodFeaturesToTrack_added_gradiantSize
...
Added gradiantSize param into goodFeaturesToTrack API (#9618 )
* Added gradiantSize param into goodFeaturesToTrack API
Removed hardcode value 3 in goodFeaturesToTrack API, and
added new param 'gradinatSize' in this API so that user can
pass any gradiant size as 3, 5 or 7.
Signed-off-by: Vipin Anand <anand.vipin@gmail.com>
Signed-off-by: Nilaykumar Patel<nilay.nilpat@gmail.com>
Signed-off-by: Prashanth Voora <prashanthx85@gmail.com>
* fixed compilation error for java test
Signed-off-by: Vipin Anand <anand.vipin@gmail.com>
* Modifying code for previous binary compatibility and fixing other warnings
fixed ABI break issue
resolved merged conflict
compilation error fix
Signed-off-by: Vipin Anand <anand.vipin@gmail.com>
Signed-off-by: Patel, Nilaykumar K <nilay.nilpat@gmail.com>
2017-09-22 14:04:43 +00:00
Suleyman TURKMEN
50aa4f8887
Merge pull request #9686 from sturkmen72:patch-1
...
Update planar_tracking.cpp (#9686 )
2017-09-22 14:02:12 +00:00
Vadim Pisarevsky
63584bc4d0
Merge pull request #9444 from hrnr:akaze_tutorial
2017-09-18 10:27:07 +00:00
Alexander Alekhin
9dea296241
Merge pull request #9458 from csukuangfj:fix-doc
2017-09-15 19:35:01 +00:00
Alexander Alekhin
2566ef3515
Merge pull request #9526 from sturkmen72:update_documentation
2017-09-15 18:47:06 +00:00
Suleyman TURKMEN
d547c6b1a2
documentation improvement
2017-09-13 17:24:59 +03:00
Vadim Pisarevsky
bc09d1ba3b
Merge pull request #9406 from Cartucho:update_core_tutorials
2017-09-13 14:09:39 +00:00
Vadim Pisarevsky
da257f3397
Merge pull request #9541 from sturkmen72:patch-15
2017-09-13 13:47:27 +00:00
Suleyman TURKMEN
f6daaccccf
Update train_HOG.cpp
2017-09-12 20:07:37 +03:00
tribta
954e2f9b9c
Tutorial Discrete Fourier Transform
2017-09-09 15:10:18 +01:00
tribta
13317bdfda
Tutorial Basic Geometric Drawing
2017-09-09 15:02:51 +01:00
tribta
c4c1e94088
Tutorial Adding Images
2017-09-09 15:02:51 +01:00
Suleyman TURKMEN
efa0e75eac
Update stitching.cpp
2017-08-30 15:09:33 +03:00
KUANG Fangjun
11fa0094ff
Improve the documentation.
...
Add demo code for cv::reduce, cv::merge and cv::split.
2017-08-28 12:36:23 +02:00
Adi Shavit
8a094a5f54
Merge pull request #9445 from adishavit:master
...
* Adds cv::resizeWindow() overload taking a single cv::Size argument.
* Replaces copied documentaion with Doxygen @overload command.
2017-08-25 11:37:50 +00:00
Jiri Horner
f6deaf5f2a
tracking tutorial: add fps to stats
2017-08-23 10:40:17 +02:00
Alexander Alekhin
89172c08a2
Merge pull request #9049 from Cartucho:improve_mask_tutorial_codes
2017-08-21 07:14:46 +00:00
Alexander Alekhin
9e239c7a1e
highgui: refactor GTK backend
...
- eliminate legacy C code, used fields
- fix mutex synchronization issues
- set trackbar min/max without unnecessary truncation; allow negative values
2017-08-14 19:33:00 +00:00
Suleyman TURKMEN
8bb3863f52
New example - warpPerspective_demo.cpp
...
An example program shows using cv::findHomography and cv::warpPerspective for image warping
2017-08-10 15:08:13 +03:00
Alexander Alekhin
c95a97389d
Merge pull request #9235 from sturkmen72:patch-3
2017-08-03 17:04:28 +00:00
Ryan Pavlik
5d699e9ba5
Honor fixing principal point in camera calib tutorial.
2017-08-01 10:35:18 -05:00
Suleyman TURKMEN
89480801b8
some improvements on tutorials
2017-07-29 20:08:19 +03:00
Alexander Alekhin
602f047fe8
build: replace WIN32 => _WIN32
2017-07-25 13:30:48 +03:00
Vladislav Sovrasov
e5fbb4f5d2
Merge pull request #9034 from sovrasov:mats_from_initializer_list
...
Add constructors taking initializer_list for some of OpenCV data types (#9034 )
* Add a constructor taking initializer_list for Matx
* Add a constructor taking initializer list for Mat and Mat_
* Add one more method to initialize Mat to the corresponding tutorial
* Add a note how to initialize Matx
* CV_CXX_11->CV_CXX11
2017-07-14 17:17:09 +00:00
Alexander Alekhin
639e7367a7
Merge pull request #9081 from catree:fix_tutorial_pca_intro
...
Fix wrong mat access in introduction_to_pca.cpp
2017-07-03 16:18:15 +00:00
Tony Lian
c8783f3e23
Merge pull request #9075 from TonyLianLong:master
...
Remove unnecessary Non-ASCII characters from source code (#9075 )
* Remove unnecessary Non-ASCII characters from source code
Remove unnecessary Non-ASCII characters and replace them with ASCII
characters
* Remove dashes in the @param statement
Remove dashes and place single space in the @param statement to keep
coding style
* misc: more fixes for non-ASCII symbols
* misc: fix non-ASCII symbol in CMake file
2017-07-03 16:14:17 +00:00
catree
8b7cb8a3f1
Fix wrong mat access.
2017-07-03 16:56:53 +02:00
tribta
d53a5210a8
Improving codes of the tutorial: mat_mask_oprations
...
*Fixing typos;
*Making codes more similar to the main one, in C++;
*Adding Grayscale option to the Python and Java codes;
*Fixing python identation, whitespaces and redundancies.
2017-06-30 12:38:24 +01:00
Vladislav Sovrasov
08db55fb62
core: add CV_CXX_11 flag to cvdef.h
2017-06-28 16:17:53 +03:00
Vladislav Sovrasov
3c748ccf10
core: add an ability to use cxx11 lambda as a parallel_for_ body
2017-06-28 16:16:05 +03:00
Alexander Alekhin
006966e629
trace: initial support for code trace
2017-06-26 17:07:13 +03:00
Vadim Pisarevsky
9734ee13e5
Merge pull request #7865 from LaurentBerger:UserColormap
2017-05-24 12:43:55 +00:00
Cartucho
2055bcc807
Extending template_matching tutorial with Java ( #8043 )
...
* Extending template_matching tutorial with Java
* adding mask to java version of the tutorial
* adding the python toggle and code
* updating table of content
* adding py and java to table of content
* adding mask to python
* going back to markdown with duplicated text
* non duplicated text
2017-05-12 00:42:04 +03:00
Vladislav Sovrasov
ad7cf58450
highgui: add ROI selector
2017-04-21 13:29:35 +03:00
Alexander Alekhin
9d593e7779
Merge pull request #8324 from sturkmen72:update_objectDetection_cpp
2017-03-07 09:39:02 +00:00
Suleyman TURKMEN
50bda8adfe
Update objectDetection.cpp
2017-03-06 16:51:29 +03:00
Vadim Pisarevsky
8e8da3f5b0
Merge pull request #8282 from vskarlsruhe:patch-3
2017-03-02 11:18:26 +00:00
Vadim Pisarevsky
38abc61de5
Merge pull request #8289 from vskarlsruhe:patch-4
2017-03-02 05:52:05 +00:00
Alexander Alekhin
78784040aa
Merge pull request #8249 from vskarlsruhe:patch-1
2017-02-28 14:25:50 +00:00
umbraclet16
17ece5861a
Solve issue #8264
...
Fix bug in camera_calibration.cpp that the program tries to
parse input of type VIDEO_FILE as IMAGE_LIST which causes the
program to crash.
2017-02-28 13:31:24 +03:00
vskarlsruhe
6e12391c91
Code cleanup, removed cv:: because using namespace cv is already used.
2017-02-28 10:03:09 +01:00
vskarlsruhe
ed9c924102
Code easier to read now
...
Increase readability by using namespace std
2017-02-27 11:29:00 +01:00
vskarlsruhe
56cedfc4d2
Update AddingImages.cpp
...
If-condition was always true (alpha = 0.5 is set in Line 19).
Now the user input is checked to be between 0 and 1.
This is correct in the tutorial code for OpenCV 2.4.
2017-02-23 11:43:30 +01:00
LaurentBerger
8638bba670
Merge pull request #8220 from LaurentBerger:Issue5035
2017-02-19 13:15:58 +03:00
Maksim Shabunin
b417b4dbee
KMeans improvement
...
- fixed returned compactness value
- added centers drawing to the example app
- added compactness test
2017-01-31 12:05:08 +03:00
LaurentBerger
48e2d38be7
Merge branch 'master' of git://github.com/Opencv/opencv into UserColormap
2017-01-28 11:25:11 +01:00