org.cyberlab.local.recognition
Class LocalMatch<E>

java.lang.Object
  extended by org.cyberlab.local.recognition.LocalObject<E>
      extended by org.cyberlab.local.recognition.LocalMatch<E>
Type Parameters:
E - The class type of the specific LocalMatch object.
Direct Known Subclasses:
LICOVMatch

public abstract class LocalMatch<E>
extends LocalObject<E>

Abstract class for all LocalMatch objects. Class is Generic allowing for common framework handling of different LocalMatch objects.

Author:
Mats-Gøran Karlsen

Field Summary
 Bitmap objectBitmap
           
 double score
           
 
Fields inherited from class org.cyberlab.local.recognition.LocalObject
type
 
Constructor Summary
LocalMatch(long modelType, double score, Bitmap objectBitmap)
           
 
Method Summary
abstract  Bitmap drawBoundingBox()
          Draws a bounding box around the detected object.
abstract  Bitmap drawMatchedModelpoints()
          Draws the model keypoints translated into scene.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

objectBitmap

public final Bitmap objectBitmap

score

public final double score
Constructor Detail

LocalMatch

public LocalMatch(long modelType,
                  double score,
                  Bitmap objectBitmap)
Method Detail

drawBoundingBox

public abstract Bitmap drawBoundingBox()
Draws a bounding box around the detected object.

Returns:
Bitmap with the box drawn

drawMatchedModelpoints

public abstract Bitmap drawMatchedModelpoints()
Draws the model keypoints translated into scene.

Returns:
Bitmap with the keypoints drawn.