public static class opencv_ml.EM extends opencv_core.Algorithm
opencv_core.Algorithm.Constructor, opencv_core.Algorithm.Getter, opencv_core.Algorithm.SetterPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Modifier and Type | Field and Description |
|---|---|
static int |
COV_MAT_DEFAULT
enum cv::EM::
|
static int |
COV_MAT_DIAGONAL
enum cv::EM::
|
static int |
COV_MAT_GENERIC
enum cv::EM::
|
static int |
COV_MAT_SPHERICAL
enum cv::EM::
|
static int |
DEFAULT_MAX_ITERS
enum cv::EM::
|
static int |
DEFAULT_NCLUSTERS
enum cv::EM::
|
static int |
START_AUTO_STEP
enum cv::EM::
|
static int |
START_E_STEP
enum cv::EM::
|
static int |
START_M_STEP
enum cv::EM::
|
| Constructor and Description |
|---|
opencv_ml.EM() |
opencv_ml.EM(int size) |
opencv_ml.EM(int nclusters,
int covMatType,
opencv_core.TermCriteria termCrit) |
opencv_ml.EM(Pointer p) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
opencv_core.AlgorithmInfo |
info() |
boolean |
isTrained() |
opencv_ml.EM |
position(int position) |
opencv_core.Point2d |
predict(opencv_core.Mat sample) |
opencv_core.Point2d |
predict(opencv_core.Mat sample,
opencv_core.Mat probs) |
void |
read(opencv_core.FileNode fn) |
boolean |
train(opencv_core.Mat samples) |
boolean |
train(opencv_core.Mat samples,
opencv_core.Mat logLikelihoods,
opencv_core.Mat labels,
opencv_core.Mat probs) |
boolean |
trainE(opencv_core.Mat samples,
opencv_core.Mat means0) |
boolean |
trainE(opencv_core.Mat samples,
opencv_core.Mat means0,
opencv_core.Mat covs0,
opencv_core.Mat weights0,
opencv_core.Mat logLikelihoods,
opencv_core.Mat labels,
opencv_core.Mat probs) |
boolean |
trainM(opencv_core.Mat samples,
opencv_core.Mat probs0) |
boolean |
trainM(opencv_core.Mat samples,
opencv_core.Mat probs0,
opencv_core.Mat logLikelihoods,
opencv_core.Mat labels,
opencv_core.Mat probs) |
_create, _create, getAlgorithm, getAlgorithm, getBool, getBool, getDouble, getDouble, getInt, getInt, getList, getMat, getMat, getMatVector, getMatVector, getParams, getString, getString, name, paramHelp, paramHelp, paramType, paramType, set, set, set, set, set, set, set, set, set, set, set, set, set, set, setAlgorithm, setAlgorithm, setBool, setBool, setDouble, setDouble, setInt, setInt, setMat, setMat, setMatVector, setMatVector, setString, setString, writeaddress, asBuffer, asByteBuffer, capacity, capacity, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, hashCode, isNull, limit, limit, memchr, memcmp, memcpy, memmove, memset, offsetof, position, put, setNull, sizeof, toString, withDeallocator, zeropublic static final int COV_MAT_SPHERICAL
public static final int COV_MAT_DIAGONAL
public static final int COV_MAT_GENERIC
public static final int COV_MAT_DEFAULT
public static final int DEFAULT_NCLUSTERS
public static final int DEFAULT_MAX_ITERS
public static final int START_E_STEP
public static final int START_M_STEP
public static final int START_AUTO_STEP
public opencv_ml.EM(Pointer p)
public opencv_ml.EM(int size)
public opencv_ml.EM(int nclusters,
int covMatType,
opencv_core.TermCriteria termCrit)
public opencv_ml.EM()
public opencv_ml.EM position(int position)
position in class opencv_core.Algorithmpublic void clear()
public boolean train(opencv_core.Mat samples, opencv_core.Mat logLikelihoods, opencv_core.Mat labels, opencv_core.Mat probs)
public boolean train(opencv_core.Mat samples)
public boolean trainE(opencv_core.Mat samples, opencv_core.Mat means0, opencv_core.Mat covs0, opencv_core.Mat weights0, opencv_core.Mat logLikelihoods, opencv_core.Mat labels, opencv_core.Mat probs)
public boolean trainE(opencv_core.Mat samples, opencv_core.Mat means0)
public boolean trainM(opencv_core.Mat samples, opencv_core.Mat probs0, opencv_core.Mat logLikelihoods, opencv_core.Mat labels, opencv_core.Mat probs)
public boolean trainM(opencv_core.Mat samples, opencv_core.Mat probs0)
public opencv_core.Point2d predict(opencv_core.Mat sample, opencv_core.Mat probs)
public opencv_core.Point2d predict(opencv_core.Mat sample)
public boolean isTrained()
public opencv_core.AlgorithmInfo info()
info in class opencv_core.Algorithmpublic void read(opencv_core.FileNode fn)
read in class opencv_core.AlgorithmCopyright © 2014. All Rights Reserved.