Ovidiu Parvu
8bada4c751
Overloaded the minEnclosingTriangle function such that there is an alternative function with the same name which does not require the output parameter ``area''.
...
Changed the sample source file minarea.cpp to use the overloaded version of the function.
Updated some comments in the min_enclosing_triangle.cpp source file.
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
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
Roman Donchenko
254d4ae429
Boring changes - imgproc.
11 years ago
Daniel Angelov
b5e1eb7d48
Removed IOArray constness.
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
Roman Donchenko
f55740da70
Deleted all trailing whitespace.
11 years ago
abidrahmank
96c1df14f4
CLAHE Python bindings
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
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
e2f00ce846
New intersection function for rotated rectangles
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
Daniel Angelov
6fa4834f31
Update on the class. Edited tests and samples.
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
Vladislav Vinogradov
7b87d72d80
refactored generalized hough (both CPU and GPU):
...
removed set/get methods from Algorithm (implement owns)
removed GHT_* enumeration
12 years ago
Daniel Angelov
694d9ff2eb
LSD enum now anonymous.
12 years ago
Daniel Angelov
d35601209e
Added define guard for ln10. Fixed some warnings.
12 years ago
Daniel Angelov
22c8010b2d
Added needed header, changed macro name.
12 years ago
Daniel Angelov
6bd5e12be3
Added a sample to show usage of the class.
12 years ago
Daniel Angelov
e51e00ac5f
Added LSD accuracy tests.
12 years ago
Daniel Angelov
5350a2f1d9
Added Line Segmen Detector.
12 years ago
abidrahmank
37f4e400e4
Added cv2.boxPoints() functionality to Python bindings (Feature #2023 )
...
http://www.code.opencv.org/issues/2023
eg:
In [3]: box = ((10,10),(5,5),0)
In [4]: cv2.boxPoints(box)
Out[4]:
array([[ 7.5, 12.5],
[ 7.5, 7.5],
[ 12.5, 7.5],
[ 12.5, 12.5]], dtype=float32)
12 years ago
Andrey Kamaev
8f32902ce6
Minimize usages of legacy C API inside the library
12 years ago
Andrey Kamaev
c98c246fc2
Move border type constants and Moments class to core module
12 years ago
Andrey Kamaev
288a0634c2
Make imgproc.hpp independent from C API
12 years ago
Andrey Kamaev
2b1ef95415
Completely separate C and C++ API of OpenCV core
12 years ago
Vladislav Vinogradov
5810a73d30
CPU implementation of CLAHE
12 years ago
Daniil Osokin
e153f0631c
Added missing enums for cvtColor RGB to YUV420p
12 years ago
Andrey Kamaev
a1c456b7c3
Extract common base header for C and C++ APIs
12 years ago
Andrey Kamaev
a42a0f5fca
Added compatibility headers
12 years ago
Andrey Kamaev
ad5cddc007
Main module headers are moved 1 level up
...
e.g. <opencv2/core/core.hpp> become <opencv2/core.hpp>
Also renamed <opencv2/core/opengl_interop.hpp> to <opencv2/core/opengl.hpp>
12 years ago
Andrey Kamaev
2a6fb2867e
Remove all using directives for STL namespace and members
...
Made all STL usages explicit to be able automatically find all usages of
particular class or function.
12 years ago
Daniil Osokin
7255ede3af
Added implementation for RGB to YUV420p color conversion
12 years ago
Jason Newton
4cb25e9584
update documentation to latest connected components interface
12 years ago
Vadim Pisarevsky
1eae455acb
fixed build warnings from VS; hopefully, fixes Android build too
12 years ago
Jason Newton
e70b3ef598
use a ltype parameter to determine result Label image type; export stats with differening types over different outputarrays
12 years ago
Jason Newton
00bdca7684
A few changes to comply with upstream requirements for merge.
...
-Change input/output order from (out Labeled, in Image) -> (in Image, Out Labeled) and convert
to Input/OutputArrays in the process.
-Adopt OutputArray for statistics export so that the algorithm is "wrapper friendly" and not requiring a new struct in
language bindings at the expense of using doubles for everything and slowing statistics computation down..
12 years ago
Ilya Lavrenov
5225672dc0
added edge-aware demosaicing and bayer to bgra conversion
12 years ago
Jason Newton
d5aa679d3f
adjust output type to return int32... it should at least be unsigned but this breaks python bindings;
...
remove non-8bit input type support, not worth the binary size
12 years ago
Jason Newton
85880397c4
connectedcomponents: use opencv integral types, add to docs, fix up things for a python export
12 years ago
Jason Newton
4c0cb2576d
connectedComponents: peep-hole optimizations, mostly surrouding the fact that cv::Mat::at is expensive in a tight-loop -also added a "blobstats" version
12 years ago
Jason Newton
45b4f4f32b
connectedComponents: warning free version
12 years ago
OpenCV Buildbot
81f826db2b
Normalize line endings and whitespace
12 years ago
OpenCV Buildbot
04384a71e4
Normalize line endings and whitespace
12 years ago
Andrey Kamaev
ed51162568
Fix binary compatibility of Java wrappers
12 years ago
Andrey Kamaev
0442bca235
Revert "partially recovered binary compatibility (ticket #2415 )"
...
This reverts commit 94b97b7a63
.
12 years ago