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.
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
Vadim Pisarevsky
61f2107829
added IPP optimization of separable 32f filters; fixed IPP version check in DFT; fixed conditions in IPP optimization of norm functions.
11 years ago
Vladislav Vinogradov
0c7663eb3b
Merge branch 'master' into gpu-cuda-rename
...
Conflicts:
modules/core/include/opencv2/core/cuda.hpp
modules/cudacodec/src/thread.cpp
modules/cudacodec/src/thread.hpp
modules/superres/perf/perf_superres.cpp
modules/superres/src/btv_l1_cuda.cpp
modules/superres/src/optical_flow.cpp
modules/videostab/src/global_motion.cpp
modules/videostab/src/inpainting.cpp
samples/cpp/stitching_detailed.cpp
samples/cpp/videostab.cpp
samples/gpu/stereo_multi.cpp
11 years ago
Ilya Lavrenov
be98cd2f7f
replaced explicit __stdcall by CV_STDCALL
11 years ago
Roman Donchenko
254d4ae429
Boring changes - imgproc.
11 years ago
Daniel Angelov
25c0d5978c
Update on the compare lines method.
11 years ago
Roman Donchenko
6ebfa87181
Delete a bunch more trailing whitespace that slipped through the cracks.
11 years ago
Daniel Angelov
b5e1eb7d48
Removed IOArray constness.
11 years ago
Vadim Pisarevsky
e85e4d3ab9
fixed bug in IPP-accelerated morphology; added several IPP imgwarp functions (by Klim)
11 years ago
kdrobnyh
e6ec3dd17f
Add IPP support in resize, warpAffine, warpPerspective functions
11 years ago
Daniel Angelov
9d78b8003e
Update on LSD no to use any Mat* (IOArrays instead).
...
Updated to new license.
11 years ago
yao
26b5eb3e39
add adaptive bilateral filter (cpp and ocl version)
11 years ago
Vadim Pisarevsky
f12702be24
fixed bugs in rectangular morphology case
11 years ago
Vadim Pisarevsky
771feb61c2
fixed building OpenCV with IPP 6.x (different DFT API); added Canny and rectangular morphology (based on Alex Kapustin patches)
11 years ago
Roman Donchenko
9ed475cf52
War on Whitespace, master edition: file endings.
11 years ago
Roman Donchenko
9b92545ce6
War on Whitespace, master edition: trailing spaces.
11 years ago
Jason Newton
affab4f156
correct range computations, it is difficult to do the more efficient single pass 3N/2 implementations correctly in this particular setting without costing more than they save
11 years ago
Roman Donchenko
3c137f7a04
Converted tabs to spaces.
11 years ago
Roman Donchenko
e9a28f66ee
Normalized file endings.
11 years ago
Roman Donchenko
f55740da70
Deleted all trailing whitespace.
11 years ago
kdrobnyh
c1de14c27a
Fix bilateralFilter function
11 years ago
kdrobnyh
3c9f307193
macros -> template in IPP support cvtColor
11 years ago
Dmitry Retinskiy
4eb85189e5
bug #3094 : added CV_Assert to PyrDown_ to check if source matrix is not empty
11 years ago
Nghia Ho
79965c9ee9
Replaced isfinite() with cvIsInf and cvIsNan
11 years ago
kocheganovvm
086db9d6db
Introduce CV_COMP_CHISQR_ALT, an alternative method to calculate ChiSquare Histogram comparison
...
There's some disagreement about the correct formula.
has its supporters, however, for texture analysis, the newly introduced formula became
standard. The commit enables both uses without breaking backward compatibility.
First contributor of this commit was sperrholz.
11 years ago
Roman Donchenko
d9f71b762f
Deleted almost all of the precomp.cpp files.
...
Looks like we don't actually use them; when creating precompiled headers
with Visual C++, a dummy .cpp is created at build time.
11 years ago
kdrobnyh
7da5fa01d4
Removed extra {} in erosion and dilation functions
11 years ago
Nghia Ho
95ee02ba8e
Added extra comment to test buildbot
11 years ago
Nghia
18e7aa5d19
Update intersection.cpp
...
Added #ifdef _WIN32 for finite number testing
11 years ago
Vadim Pisarevsky
10fde1ca5c
disabled 64f IPP DFT; added IPP Gaussian filter; added IPP GetRectSubPix; added IPP BilateralFilter (temporarily disabled)
11 years ago
kdrobnyh
c1ad6a9ffb
Add IPP support in cvtColor function
12 years ago
Nghia Ho
00f63fa8f7
Finished test code, added image to the doc
12 years ago
berak
03c4a6299b
expanded the CV_Assert in pyrdown_ to check for empty mats
12 years ago
kdrobnyh
94bc4c4429
Some changes in erosion and dilation functions
12 years ago
Nghia Ho
cb16f733b9
Added C interface
12 years ago
Nghia Ho
a40f217a38
changed from isnormal to isfinite, the prev ignored zero
12 years ago
Nghia Ho
a0576d7b2a
Fixed ret
12 years ago
Nghia Ho
e2f00ce846
New intersection function for rotated rectangles
12 years ago
Dmitry Retinskiy
1d571b1eaa
bugfix #3121 : corrected calculation of blue channel index
12 years ago
Roman Donchenko
31de2833b4
Replace "const InputArray" with "InputArray".
...
InputArray is a reference, and references are always constant anyway. Making
it const even causes a GCC warning.
12 years ago
Vadim Pisarevsky
8b6afd697d
added call to IPP's ippiDistanceTransform_5x5_8u32f_C1R (by Alexander Kapustin)
12 years ago
Daniel Angelov
6fa4834f31
Update on the class. Edited tests and samples.
12 years ago
Daniel Angelov
68e348f960
Added private operator=.
12 years ago
Daniel Angelov
cedd768397
Fixed the M_PI to CV_PI
12 years ago
Daniel Angelov
965b3759b1
Update on the class to reflect the review. Split the class into virtual and implementation. change of name to LineSegmentDetector, using Input/Output-Arrays, general clean ups.
12 years ago
StevenPuttemans
27ed32f833
Applied bugfix #3165 : Changed min_eps value
12 years ago
Andrey Pavlenko
6b047ca0eb
minor improvement (consistency, readability)
12 years ago