Ovidiu Parvu
0ed2f6201d
Optimised one assert statement in the min_enclosing_triangle.cpp file. Added the minEnclosingTriangle functionality to the existing minarea.cpp sample file.
11 years ago
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
Roman Donchenko
4f109d1292
Fixed a memory access error in CV_Remap_Test::generate_test_data.
...
begin_x[1] is not the second component of the element, but the element
after the one pointed to begin_x. When begin_x points to the last
element, that line overwrites data past the end of the allocation, which,
during my tests, happened to contain the reference count for the matrix.
Hilarity ensues.
11 years ago
Roman Donchenko
2de8487e58
Fixed a few tests that use uninitialized inputs.
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
24e916059f
Added LineSegmentDetector documentation and an output image.
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
abidrahmank
1b93ecfae8
docs changes
11 years ago
abidrahmank
96c1df14f4
CLAHE Python bindings
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.
12 years ago
StevenPuttemans
fd056235d3
Added bugfix 3209 : anchor point (-1,1) changed to (-1,-1)
12 years ago
StevenPuttemans
1a42dd905c
Added fixes mentioned in #3205 : changing uint to unsigned literals for compilation on Mingw 4.7.2
12 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.
12 years ago
kdrobnyh
7da5fa01d4
Removed extra {} in erosion and dilation functions
12 years ago
Nghia Ho
95ee02ba8e
Added extra comment to test buildbot
12 years ago
StevenPuttemans
ed76b2f98f
Like mentioned by Andrei Pavlenko after merging pullrequest #1206 , a wrong
...
ReST directive was used. Also fixed some other ReST directives that were
not correct and removed some warnings during buildbot checks.
12 years ago
Nghia
18e7aa5d19
Update intersection.cpp
...
Added #ifdef _WIN32 for finite number testing
12 years ago
Vadim Pisarevsky
10fde1ca5c
disabled 64f IPP DFT; added IPP Gaussian filter; added IPP GetRectSubPix; added IPP BilateralFilter (temporarily disabled)
12 years ago
StevenPuttemans
f28496c628
Added sample links in documentation for python2, ocl and gpu
12 years ago
kdrobnyh
c1ad6a9ffb
Add IPP support in cvtColor function
12 years ago
Nghia Ho
bc3dd2452f
Added test cpp
12 years ago
Nghia Ho
c0bbdde8ba
Added test cpp
12 years ago
Nghia Ho
00f63fa8f7
Finished test code, added image to the doc
12 years ago
StevenPuttemans
0c5244103f
Added all *.cpp samples reference to the 2.4.6 documentation as discussed in feature #3169
...
- Used lunix style slashes - works on most systems
- Removed all trailing whitespaces
12 years ago
berak
03c4a6299b
expanded the CV_Assert in pyrdown_ to check for empty mats
12 years ago
Andrey Pavlenko
eb0d26b5be
fixing warning on shadowing local var (TEST_CYCLE_MULTIRUN uses 'r')
12 years ago