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
Maksim Shabunin
32d4af36e2
Fixing some static analysis issues
2017-06-27 14:30:26 +03:00
Pavel Vlasov
30a6cee2fe
Instrumentation for OpenCV API regions and IPP functions;
2016-08-19 18:10:03 +03:00
songyuncen
9d8118dee5
build failed, trailing whitespace.
2015-12-09 08:00:42 +08:00
songyuncen
e0b7389dc3
remove compile warnings in shapedescr.cpp
2015-12-08 22:23:23 +08:00
songyuncen
a69eeb6b1f
change the algorithm of minimum enclosing circle with EMO Welzl's method
2015-12-08 21:38:59 +08:00
songyuncen
b81598bc03
try to fix : enclosing circle always larger than 1.0
...
issue #5745
2015-12-05 10:57:29 +08:00
Bovaz
7be3d3ab2c
sqrtf to std::sqrt
2015-10-14 18:57:33 -07:00
Matteo Piovanelli
216baf5b11
Speedup of arcLength
...
By my tests, this version of cv::arcLength is almost 10% faster than the
one using a buffer it replaces.
2015-10-14 13:37:48 -07:00
Deanna Hood
37f77e7397
Change condition on parallel ellipse case so can only calculate t if necessary
2015-04-18 13:51:32 -04:00
Deanna Hood
103336c76e
Fix Bug #3989 : correctly identify ellipse with its axes parallel to x-y axes during semi-major axis calculation
2015-04-16 11:59:05 -04:00
Julien Nabet
2d5e3b57ea
Fix cppcheck reports warnings:
...
(performance) Possible inefficient checking for 'lmap' emptiness
(warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?
(style) Array index '<xxx>' is used before limits check
2014-12-27 10:54:34 +01:00
Adil Ibragimov
8a4a1bb018
Several type of formal refactoring:
...
1. someMatrix.data -> someMatrix.prt()
2. someMatrix.data + someMatrix.step * lineIndex -> someMatrix.ptr( lineIndex )
3. (SomeType*) someMatrix.data -> someMatrix.ptr<SomeType>()
4. someMatrix.data -> !someMatrix.empty() ( or !someMatrix.data -> someMatrix.empty() ) in logical expressions
2014-08-13 15:21:35 +04:00
Roman Donchenko
3939d78336
Merge remote-tracking branch 'origin/2.4' into merge-2.4
...
Conflicts:
modules/core/include/opencv2/core/types_c.h
modules/gpu/src/cuda/imgproc.cu
modules/gpu/src/cuda/safe_call.hpp
modules/gpu/src/error.cpp
modules/gpu/src/imgproc.cpp
modules/imgproc/src/distransform.cpp
modules/imgproc/src/shapedescr.cpp
modules/python/src2/cv2.cpp
modules/python/src2/cv2.cv.hpp
2013-07-22 18:38:57 +04:00
StevenPuttemans
27ed32f833
Applied bugfix #3165 : Changed min_eps value
2013-07-19 14:11:04 +02:00
Andrey Kamaev
62adc01980
Move cv::Rect_
2013-04-01 15:24:33 +04:00
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.
2013-02-25 15:04:17 +04:00
Vadim Pisarevsky
efd00238e2
fixed warnings; restored fixed_size parameter in AutoBuffer
2013-01-23 21:47:58 +04:00
Vadim Pisarevsky
dc4d0398f3
converted few more comp. geometry functions to C++
2013-01-22 16:54:31 +04:00
OpenCV Buildbot
81f826db2b
Normalize line endings and whitespace
2012-10-17 15:57:49 +04:00
OpenCV Buildbot
04384a71e4
Normalize line endings and whitespace
2012-10-17 15:32:23 +04:00
Vadim Pisarevsky
fac3d9994c
integrated another portion of SSE optimizations from Grigory Frolov
2012-07-31 19:07:55 +04:00
Andrey Kamaev
f2d3b9b4a1
Warning fixes continued
2012-06-09 15:00:04 +00:00
Vadim Pisarevsky
4eda1662aa
switched back to FitEllipse algorithm by Dr. Daniel Weiss; improved its accuracy in some cases. It fixes #1638
2012-03-29 10:47:08 +00:00
Vadim Pisarevsky
903c05db1a
added another contour perimeter test and fixed bug #216
2012-03-26 17:00:48 +00:00
Vadim Pisarevsky
7a59d6c77e
improved convergence of minEnclosingCircle algorithm, patch #947 (thanks to Hannes Sommer)
2012-03-26 13:45:49 +00:00
Vadim Pisarevsky
ce2edd137d
fixed typo in fitellipse err message (ticket #365 )
2011-05-02 22:37:21 +00:00
Vadim Pisarevsky
127d6649a1
"atomic bomb" commit. Reorganized OpenCV directory structure
2010-05-11 17:44:00 +00:00