public class DetectDescribeAssociateTwoPass<I extends boofcv.struct.image.ImageGray,Desc extends boofcv.struct.feature.TupleDesc> extends DetectDescribeAssociate<I,Desc> implements PointTrackerTwoPass<I>
DetectDescribeAssociate so that it conforms to the PointTrackerTwoPass interface.
It can now take hints for where tracks might appear in the image. If possible
AssociateDescription2D.setSource(org.ddogleg.struct.FastQueue, org.ddogleg.struct.FastQueue) will only be called once
on the second pass.associate, featDst, featSrc, featureID, isAssociated, locDst, locSrc, manager, matches, tracksActive, tracksAll, tracksDropped, tracksInactive, tracksNew, unused| Constructor and Description |
|---|
DetectDescribeAssociateTwoPass(DdaFeatureManager<I,Desc> manager,
boofcv.abst.feature.associate.AssociateDescription2D<Desc> associate,
boofcv.abst.feature.associate.AssociateDescription2D<Desc> associate2,
boolean updateDescription)
Configure the tracker.
|
| Modifier and Type | Method and Description |
|---|---|
void |
finishTracking()
Finishes tracking and updates the track's description, updates inactive and drop track lists.
|
void |
performSecondPass()
Updates spacial information for each track and active list.
|
void |
process(I input)
Process input image and perform tracking.
|
void |
setHint(double pixelX,
double pixelY,
PointTrack track)
Provides a hint for where the
|
protected void |
updateTrackLocation(org.ddogleg.struct.FastQueue<boofcv.struct.feature.AssociatedIndex> matches)
Update each track's location only and not its description.
|
addNewTrack, checkValidSpawn, dropAllTracks, dropTrack, getActiveTracks, getAllTracks, getDroppedTracks, getInactiveTracks, getNewTracks, getUnused, isUpdateDescription, performTracking, putIntoSrcList, reset, setUpdateDescription, spawnTracks, updateTrackStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdropAllTracks, dropTrack, getActiveTracks, getAllTracks, getDroppedTracks, getInactiveTracks, getNewTracks, reset, spawnTrackspublic DetectDescribeAssociateTwoPass(DdaFeatureManager<I,Desc> manager, boofcv.abst.feature.associate.AssociateDescription2D<Desc> associate, boofcv.abst.feature.associate.AssociateDescription2D<Desc> associate2, boolean updateDescription)
manager - Feature managerassociate - Association algorithm for the first passassociate2 - Association algorithm for the second passupdateDescription - Should descriptions be updated? Typically falsepublic void process(I input)
PointTrackerprocess in interface PointTracker<I extends boofcv.struct.image.ImageGray>process in interface PointTrackerTwoPass<I extends boofcv.struct.image.ImageGray>process in class DetectDescribeAssociate<I extends boofcv.struct.image.ImageGray,Desc extends boofcv.struct.feature.TupleDesc>input - Next image in the sequencepublic void performSecondPass()
PointTrackerTwoPassperformSecondPass in interface PointTrackerTwoPass<I extends boofcv.struct.image.ImageGray>public void finishTracking()
PointTrackerTwoPassfinishTracking in interface PointTrackerTwoPass<I extends boofcv.struct.image.ImageGray>protected void updateTrackLocation(org.ddogleg.struct.FastQueue<boofcv.struct.feature.AssociatedIndex> matches)
public void setHint(double pixelX,
double pixelY,
PointTrack track)
PointTrackerTwoPasssetHint in interface PointTrackerTwoPass<I extends boofcv.struct.image.ImageGray>pixelX - x-coordinate hint for where the track is in the imagepixelY - y-coordinate hint for where the track is in the imagetrack - The track for which the hint is being provided for