Class BoofCVSparseFlow
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.flow.transformer.objecttracker.AbstractObjectTracker
-
- adams.flow.transformer.objecttracker.AbstractSimpleReportBasedObjectTracker
-
- adams.flow.transformer.objecttracker.AbstractBoofCVObjectTracker
-
- adams.flow.transformer.objecttracker.BoofCVSparseFlow
-
- All Implemented Interfaces:
adams.core.Destroyable
,adams.core.GlobalInfoSupporter
,adams.core.logging.LoggingLevelHandler
,adams.core.logging.LoggingSupporter
,adams.core.option.OptionHandler
,adams.core.QuickInfoSupporter
,adams.core.SizeOfHandler
,ObjectTracker
,Serializable
public class BoofCVSparseFlow extends AbstractBoofCVObjectTracker
Uses a pyramidal KLT tracker to track features inside the user selected region. The motion of the region is found robustly using LeastMedianOfSquares and a translation + rotation model. Drift is a problem since motion is estimated relative to the previous frame and it will eventually drift away from the original target. When it works well it is very smooth and can handle partially obscured objects. Can't recover after the target has been lost. Runs very fast.
-logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel) The logging level for outputting errors and debugging output. default: WARNING
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.flow.transformer.objecttracker.AbstractBoofCVObjectTracker
m_ImageType, m_Tracker
-
Fields inherited from class adams.flow.transformer.objecttracker.AbstractSimpleReportBasedObjectTracker
m_Current, m_Init
-
Fields inherited from class adams.flow.transformer.objecttracker.AbstractObjectTracker
m_Initialized, m_LastLocations
-
-
Constructor Summary
Constructors Constructor Description BoofCVSparseFlow()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
globalInfo()
Returns a string describing the object.protected boofcv.abst.tracker.TrackerObjectQuad
newTracker()
Instantiates a new tracker.-
Methods inherited from class adams.flow.transformer.objecttracker.AbstractBoofCVObjectTracker
defineOptions, doInitTracking, doTrackObjects, getImageType, imageTypeTipText, setImageType
-
Methods inherited from class adams.flow.transformer.objecttracker.AbstractSimpleReportBasedObjectTracker
currentTipText, getCurrent, getInit, getInitialLocations, getQuickInfo, initTipText, postProcessTrackedObjects, setCurrent, setInit
-
Methods inherited from class adams.flow.transformer.objecttracker.AbstractObjectTracker
checkInitTracking, checkTrackObjects, initTracking, isInitialized, reset, trackObjects
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfo
in interfaceadams.core.GlobalInfoSupporter
- Specified by:
globalInfo
in classadams.core.option.AbstractOptionHandler
- Returns:
- a description suitable for displaying in the gui
-
newTracker
protected boofcv.abst.tracker.TrackerObjectQuad newTracker()
Instantiates a new tracker.- Specified by:
newTracker
in classAbstractBoofCVObjectTracker
- Returns:
- the tracker
-
-