Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
fea43960
Commit
fea43960
authored
May 13, 2014
by
StevenPuttemans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added more info on the data input variable of kmeans
parent
5e47aa63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
clustering.rst
modules/core/doc/clustering.rst
+9
-1
No files found.
modules/core/doc/clustering.rst
View file @
fea43960
...
...
@@ -17,7 +17,15 @@ Finds centers of clusters and groups input samples around the clusters.
:param samples: Floating-point matrix of input samples, one row per sample.
:param data: Data for clustering.
:param data: Data for clustering. An array of N-Dimensional points with float coordinates is needed. Examples of this array can be:
* ``Mat points(count, 2, CV_32F);``
* ``Mat points(count, 1, CV_32FC2);``
* ``Mat points(1, count, CV_32FC2);``
* ``std::vector<cv::Point2f> points(sampleCount);``
:param cluster_count: Number of clusters to split the set by.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment