Maksim Shabunin
|
b417b4dbee
|
KMeans improvement
- fixed returned compactness value
- added centers drawing to the example app
- added compactness test
|
8 years ago |
Vadim Pisarevsky
|
9a5aa4b23c
|
trying to solve compile problems; temporarily disabled some tests for just added optimization algo's
|
10 years ago |
Vladislav Vinogradov
|
55a714c83b
|
fix cv::kmeans function
reshape input matrix, since the function works with data
as with [N x dims] matrix
|
11 years ago |
Nghia Ho
|
7c13d3277c
|
Fixed a valgrind 'Conditional jump or move depends on uninitialised value(s)' on cv::kmeans(...). The original code used points(sampleCount, 1, CV_32FC2), which confused generateCentersPP into thinking it is a 1 dimensional center, instead of 2. As a result it would set only the x variable and leave y unitialised.
(cherry picked from commit 601b7d1dd3 )
|
11 years ago |
Nghia Ho
|
bf4994554d
|
Removed unecessary initialisation of Mat centers.
|
11 years ago |
Nghia Ho
|
601b7d1dd3
|
Fixed a valgrind 'Conditional jump or move depends on uninitialised value(s)' on cv::kmeans(...). The original code used points(sampleCount, 1, CV_32FC2), which confused generateCentersPP into thinking it is a 1 dimensional center, instead of 2. As a result it would set only the x variable and leave y unitialised.
|
11 years ago |
Andrey Kamaev
|
0738ea7d0f
|
Make highgui.hpp independent from C API
|
12 years ago |
Andrey Kamaev
|
bd0e0b5800
|
Merged the trunk r8589:8653 - all changes related to build warnings
|
13 years ago |
Andrey Kamaev
|
49a1ba6038
|
Set stricter warning rules for gcc
|
13 years ago |
Vadim Pisarevsky
|
9a991a2e10
|
fixed build problems on Windows
|
14 years ago |
Anatoly Baksheev
|
998fab0ef5
|
warningx fixed under vs2008
|
14 years ago |
Gary Bradski
|
c268a98b0c
|
revamped
|
14 years ago |
Vadim Pisarevsky
|
ee3618243d
|
converted some OpenCV C samples to C++
|
14 years ago |