org.cyberlab.recognition.local.LICOV
Class LICOVMatch
java.lang.Object
org.cyberlab.recognition.local.LocalObject<E>
org.cyberlab.recognition.local.LocalMatch<LICOVMatch>
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
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 |
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)
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.