org.cyberlab.local.recognition
Class LocalMatch<E>
java.lang.Object
org.cyberlab.local.recognition.LocalObject<E>
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
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 |
objectBitmap
public final Bitmap objectBitmap
score
public final double score
LocalMatch
public LocalMatch(long modelType,
double score,
Bitmap objectBitmap)
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.