extended cv.KMeans2 API in Python (ticket #414; thanks to hogelog). fixed failures in the opencv python tests.

This commit is contained in:
Vadim Pisarevsky
2010-11-30 10:11:38 +00:00
parent 53e362e403
commit 8754cafffb
4 changed files with 83 additions and 32 deletions

View File

@@ -766,11 +766,14 @@ CheckArr int
int flags 0
double min_val 0
double max_val 0
KMeans2
KMeans2 double
CvArr samples
int nclusters
CvArr labels
CvTermCriteria termcrit
CvTermCriteria termcrit
int attempts 1
int flags 0
CvArr centers NULL
# Gradients, Edges, Corners and Features
Sobel
@@ -1648,7 +1651,7 @@ HOGDetectMultiScale CvSeq*
int nbins 9
int gammaCorrection 1
grabCut
GrabCut
CvArr image
CvArr mask
CvRect rect
@@ -1700,11 +1703,11 @@ CreateHist CvHistogram /doconly
ranges ranges None
int uniform 1
CreateImageHeader IplImage* /doconly
int size
CvSize size
int depth
int channels
CreateImage IplImage* /doconly
int size
CvSize size
int depth
int channels
CreateMatHeader CvMat /doconly