public class BOWKMeansTrainer extends BOWTrainer
nativeObj
Modifier | Constructor and Description |
---|---|
|
BOWKMeansTrainer(int clusterCount) |
|
BOWKMeansTrainer(int clusterCount,
TermCriteria termcrit,
int attempts,
int flags) |
protected |
BOWKMeansTrainer(long addr) |
Modifier and Type | Method and Description |
---|---|
Mat |
cluster() |
Mat |
cluster(Mat descriptors) |
protected void |
finalize() |
add, clear, descriptorsCount, getDescriptors
protected BOWKMeansTrainer(long addr)
public BOWKMeansTrainer(int clusterCount, TermCriteria termcrit, int attempts, int flags)
public BOWKMeansTrainer(int clusterCount)
public Mat cluster(Mat descriptors)
cluster
in class BOWTrainer
public Mat cluster()
cluster
in class BOWTrainer
protected void finalize() throws java.lang.Throwable
finalize
in class BOWTrainer
java.lang.Throwable