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, getDescriptorsprotected 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 BOWTrainerpublic Mat cluster()
cluster in class BOWTrainerprotected void finalize()
throws java.lang.Throwable
finalize in class BOWTrainerjava.lang.Throwable