org.cyberlab.local.recognition.LICOV
Class LICOVModel

java.lang.Object
  extended by org.cyberlab.local.recognition.LocalObject<E>
      extended by org.cyberlab.local.recognition.LocalModel<LICOVModel>
          extended by 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

Field Summary
 org.opencv.core.Mat mAvgFeatureVectors
           
 org.opencv.core.Mat mPositionMatrix
           
 
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
 

Field Detail

mPositionMatrix

public final org.opencv.core.Mat mPositionMatrix

mAvgFeatureVectors

public final org.opencv.core.Mat mAvgFeatureVectors
Constructor Detail

LICOVModel

public LICOVModel(long modelType,
                  org.opencv.core.Mat postitionMatrix,
                  org.opencv.core.Mat AverageFeatureVectors)
Method Detail

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: