Ovidiu Parvu
9902affae6
Added some assert statements to constrain the type of the input and output parameters. Convert the input set of points to vector<Point2f> before passing it to the findMinimumAreaEnclosingTriangle function.
2013-09-12 14:34:08 +01:00
Ovidiu Parvu
4fce8e6b0e
Changed the semantics of the minEnclosingTriangle function such that:
...
1. The function receives a set of points as input instead of a convex polygon with more than three vertices
2. The convex hull P is computed inside the function
3.1. If the number of vertices of P is greater than three then the algorithm which was implemented before executes
3.2. Otherwise the vertices of the triangle are picked from the vertices of the given polygon and the area computed
2013-09-12 13:29:10 +01:00
Ovidiu Parvu
510ad8e779
- Changed the type of the minEnclosingTriangle function parameters by using proxy classes InputArray/OutputArray instead of std::vector<T>
...
- Adapted the source code to accommodate this change
2013-09-12 10:11:38 +01:00
Ovidiu Parvu
e6b58c4e79
- Added the minEnclosingTriangle function declaration to the imgproc header
...
- Added the source code for the function in the separate file min_enclosing_triangle.cpp
2013-09-11 18:07:19 +01:00
Roman Donchenko
77a2529eb7
Merge pull request #1408 from jet47:new-ptr-fixes
2013-09-09 12:27:27 +04:00
Roman Donchenko
74578f56a9
Merge pull request #1403 from lluisgomez:scene_text_detection_NM_fix
2013-09-09 12:05:57 +04:00
Vladislav Vinogradov
6ad72bfcb4
removed detail:: prefix int video_reader
...
it conflicts with cv::detail
2013-09-09 10:57:51 +04:00
Vladislav Vinogradov
a0771630b0
restored original behaviour or release functions for (Buffer and Texture)
2013-09-09 10:57:45 +04:00
lluis
cd33ca0009
changed default parameters in CreateERFiltersNM{1,2} functions. They are not needed now in the sample example.
2013-09-06 19:10:53 +02:00
lluis
6ef1d456dd
fixed rebase conflicts
2013-09-06 14:00:11 +02:00
Vladislav Vinogradov
b7eff94137
fixed compilation issues with new Ptr
2013-09-06 15:52:07 +04:00
Roman Donchenko
f88d8b9545
Merge pull request #1405 from SpecLad:retina-ocl-warn
2013-09-06 15:10:06 +04:00
lluis
512111af9c
removed blank line at EOF
2013-09-06 12:32:10 +02:00
lluis
1cc6502db3
removed unnecessary commented block
2013-09-06 12:32:10 +02:00
lluis
04913f5af7
removed trailing whitespaces
2013-09-06 12:32:10 +02:00
lluis
b9a5e919e2
better parameter settings for the ERFilter sample
2013-09-06 12:31:49 +02:00
lluis
15511bff40
better classifiers performance by training them with a new dataset of "manually" selected regions
2013-09-06 12:31:49 +02:00
lluis
f4d01175b8
fixed a bug in the calculation of the number of inflexion points feature
2013-09-06 12:31:49 +02:00
lluis
765921cc25
fixed a typo error in the default min_Probability param of CreateERFilterNM2
2013-09-06 12:30:22 +02:00
lluis
dba336c0e3
fixed a bug in the non-max-suppression filter procedure
2013-09-06 12:27:19 +02:00
Roman Donchenko
439e90f4f4
retina_ocl.cpp: removed two unused arrays.
2013-09-06 12:34:37 +04:00
Roman Donchenko
af594c8e44
retina_ocl.hpp: switched BasicRetinaFilter's members around to fix a -Wreorder warning.
2013-09-06 12:33:54 +04:00
Roman Donchenko
bad927325f
Merge pull request #1281 from SpecLad:the-smartest-pointer
2013-09-06 11:53:34 +04:00
Roman Donchenko
86b841563b
Added tests for Ptr.
2013-09-05 19:03:00 +04:00
Roman Donchenko
c7d2fdc4b2
Fixed some dubious uses of tbb::task_scheduler_init.
2013-09-05 19:03:00 +04:00
Roman Donchenko
a97ffe6513
Rewrote the documentation for Ptr to fit the new implementation.
2013-09-05 19:03:00 +04:00
Roman Donchenko
a50d75d362
Made Filestorage able to not own its CvFileStorage instance.
...
This allows to get rid of the last remaining Ptr<T>::addref calls.
2013-09-05 19:03:00 +04:00
Roman Donchenko
3e189a2b41
Replaced calls to Ptr<T>::ptr to ::dynamicCast.
2013-09-05 19:03:00 +04:00
Roman Donchenko
24dee16b12
Added to CV_INIT_ALGORITHM a Ptr creation function, for convenience.
...
Also changed the static functions to inline, to stop GCC complaining
about unused functions.
2013-09-05 19:03:00 +04:00
Roman Donchenko
dadee3752c
Adapt Python bindings to the new Ptr.
2013-09-05 19:03:00 +04:00
Roman Donchenko
2f942efdf7
Java: removed usages of Ptr<T>::addref().
...
Now the features2d class wrappers use composition instead of inheritance.
2013-09-05 19:03:00 +04:00
Roman Donchenko
2a2c21bb63
Replace an incorrect usage of Ptr with a simple vector.
2013-09-05 19:02:59 +04:00
Roman Donchenko
62353b7980
Boring changes - samples.
2013-09-05 19:02:59 +04:00
Roman Donchenko
34af7eeb84
Boring changes - apps.
2013-09-05 19:02:59 +04:00
Roman Donchenko
eaa7fcc3e6
Boring changes - legacy.
2013-09-05 19:02:59 +04:00
Roman Donchenko
34127ba80f
Boring changes - contrib.
2013-09-05 19:02:59 +04:00
Roman Donchenko
3bca57ac25
Boring changes - ocl.
2013-09-05 19:02:59 +04:00
Roman Donchenko
fc0e835762
Boring changes - gpuwarping.
2013-09-05 19:02:59 +04:00
Roman Donchenko
d33ff4bb11
Boring changes - gpustereo.
2013-09-05 19:02:59 +04:00
Roman Donchenko
d6146e9543
Boring changes - gpulegacy.
2013-09-05 19:02:59 +04:00
Roman Donchenko
a007c7b980
Boring changes - gpuimgproc.
2013-09-05 19:02:58 +04:00
Roman Donchenko
b165016ba7
Boring changes - gpufilters.
2013-09-05 19:02:58 +04:00
Roman Donchenko
a57f93ee92
Boring changes - gpucodec.
2013-09-05 19:02:58 +04:00
Roman Donchenko
2c033251db
Boring changes - gpubgsegm.
2013-09-05 19:02:58 +04:00
Roman Donchenko
f8f0685397
Boring changes - gpuarithm.
2013-09-05 19:02:58 +04:00
Roman Donchenko
57595a8308
Boring changes - gpu.
2013-09-05 19:02:58 +04:00
Roman Donchenko
0dcb4f1f66
Boring changes - videostab.
2013-09-05 19:02:58 +04:00
Roman Donchenko
808e0cf10b
Boring changes - video.
2013-09-05 19:02:58 +04:00
Roman Donchenko
93f757f8a2
Boring changes - superres.
2013-09-05 19:02:58 +04:00
Roman Donchenko
f21851f0f4
Boring changes - stitching.
2013-09-05 19:02:58 +04:00