public class VisualClassificationOperator extends BaseOperator
ParametrizedOperation.ValueType| Constructor and Description |
|---|
VisualClassificationOperator() |
VisualClassificationOperator(java.lang.String trainFile,
int classIndex) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(AreaTree atree)
Applies the operation to the given tree.
|
void |
apply(AreaTree atree,
Area root)
Applies the operation to the given subtree of the tree.
|
int |
getClassIndex() |
java.lang.String |
getDescription()
Obtains a longer description of the service.
|
FeatureExtractor |
getFeatures() |
java.lang.String |
getId()
Obtains a unique ID of the service
|
java.lang.String |
getName()
Obtains a descriptive name of the service that may be presented to the user.
|
java.lang.String[] |
getParamNames()
Obtains a list of available parameter names of the operation.
|
ParametrizedOperation.ValueType[] |
getParamTypes()
Obtains a list of available parameter value types.
|
java.lang.String |
getTrainFile() |
VisualClassifier |
getVisualClassifier() |
void |
setClassIndex(int classIndex) |
void |
setFeatures(FeatureExtractor features) |
void |
setTrainFile(java.lang.String trainFile) |
toStringgetParam, getParamRange, setParamclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetParam, getParamRange, setParampublic VisualClassificationOperator()
public VisualClassificationOperator(java.lang.String trainFile,
int classIndex)
public java.lang.String getId()
Servicepublic java.lang.String getName()
Servicepublic java.lang.String getDescription()
Servicepublic java.lang.String[] getParamNames()
ParametrizedOperationpublic ParametrizedOperation.ValueType[] getParamTypes()
ParametrizedOperationpublic java.lang.String getTrainFile()
public void setTrainFile(java.lang.String trainFile)
public int getClassIndex()
public void setClassIndex(int classIndex)
public FeatureExtractor getFeatures()
public void setFeatures(FeatureExtractor features)
public VisualClassifier getVisualClassifier()
public void apply(AreaTree atree)
AreaTreeOperatoratree - the area tree to be modified.public void apply(AreaTree atree, Area root)
AreaTreeOperatoratree - the area tree to be modified.root - the root node of the affected subtree.