org.cyberlab.recognition.local.LICOV
Class LICOVMatch

java.lang.Object
  extended by org.cyberlab.recognition.local.LocalObject<E>
      extended by org.cyberlab.recognition.local.LocalMatch<LICOVMatch>
          extended by org.cyberlab.recognition.local.LICOV.LICOVMatch

public class LICOVMatch
extends LocalMatch<LICOVMatch>

The LICOVmatch object created after matching an Unknown with a LICOVmodel using match in LICOVrecognitionTools.

Author:
Mats-Gøran Karlsen

Field Summary
 
Fields inherited from class org.cyberlab.recognition.local.LocalMatch
objectBitmap, score
 
Fields inherited from class org.cyberlab.recognition.local.LocalObject
type
 
Constructor Summary
LICOVMatch(long modelType, double score, Bitmap bm, org.opencv.core.Mat xS, org.opencv.core.Mat yS, org.opencv.core.Mat x_hat, org.opencv.core.Mat y_hat)
           
 
Method Summary
 Bitmap drawBoundingBox()
          Draws bounding box around matched keypoints to indicate object location
 Bitmap drawMatchedModelpoints()
          Draws model keypoints(green), matched image keypoints(red) and a line between the matched keypoints onto the image
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LICOVMatch

public LICOVMatch(long modelType,
                  double score,
                  Bitmap bm,
                  org.opencv.core.Mat xS,
                  org.opencv.core.Mat yS,
                  org.opencv.core.Mat x_hat,
                  org.opencv.core.Mat y_hat)
Method Detail

drawBoundingBox

public Bitmap drawBoundingBox()
Draws bounding box around matched keypoints to indicate object location

Specified by:
drawBoundingBox in class LocalMatch<LICOVMatch>
Returns:
Bitmap with the box drawn
See Also:
LocalMatch.drawBoundingBox()

drawMatchedModelpoints

public Bitmap drawMatchedModelpoints()
Draws model keypoints(green), matched image keypoints(red) and a line between the matched keypoints onto the image

Specified by:
drawMatchedModelpoints in class LocalMatch<LICOVMatch>
Parameters:
detected - The data structure that holds the results from the matching
Returns:
Bitmap with the result.