org.cyberlab.local.recognition.LICOV
Class LICOVModel
java.lang.Object
org.cyberlab.local.recognition.LocalObject<E>
org.cyberlab.local.recognition.LocalModel<LICOVModel>
org.cyberlab.local.recognition.LICOV.LICOVModel
public class LICOVModel
- extends LocalModel<LICOVModel>
LICOV - LInear COmbination of Views
The model consists of a type which is generated by the LocalFeaturesExtractor
. This type is generated by a linear
combination of the unique FeatureDetector.Type and DescriptorExtractor.Type.
- Author:
- matsgora
Fields inherited from class org.cyberlab.local.recognition.LocalObject |
type |
Constructor Summary |
LICOVModel(long modelType,
org.opencv.core.Mat postitionMatrix,
org.opencv.core.Mat AverageFeatureVectors)
|
Method Summary |
int |
size()
Returns the number of model keypoints |
byte[] |
toBytes()
Converts the object into an byte array. |
boolean |
write(java.io.File theFile)
Stores the LICOVModel to file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mPositionMatrix
public final org.opencv.core.Mat mPositionMatrix
mAvgFeatureVectors
public final org.opencv.core.Mat mAvgFeatureVectors
LICOVModel
public LICOVModel(long modelType,
org.opencv.core.Mat postitionMatrix,
org.opencv.core.Mat AverageFeatureVectors)
write
public boolean write(java.io.File theFile)
- Stores the
LICOVModel
to file.
- Specified by:
write
in class LocalModel<LICOVModel>
- Parameters:
theFile
- The file.
- Returns:
- Write success status
size
public int size()
- Returns the number of model keypoints
- Returns:
toBytes
public byte[] toBytes()
- Description copied from class:
LocalModel
- Converts the object into an byte array.
- Specified by:
toBytes
in class LocalModel<LICOVModel>
- Returns: