boofcv.alg.tracker.tld
Class TldDetection<T extends ImageGray>
- java.lang.Object
-
- boofcv.alg.tracker.tld.TldDetection<T>
-
public class TldDetection<T extends ImageGray> extends java.lang.ObjectRuns a detection cascade for each region. The cascade is composed of a variance test, Fern classifier, and finally the template classifier. The next test in the cascade is only considered if the previous passes. Several changes have been made in how the cascade operates compared to the original paper. See code for comments.
-
-
Constructor Summary
Constructors Constructor and Description TldDetection(TldFernClassifier<T> fern, TldTemplateMatching<T> template, TldVarianceFilter<T> variance, TldParameters config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.util.List<ImageRectangle>getAmbiguousRegions()TldRegiongetBest()FastQueue<TldRegion>getCandidateDetections()FastQueue<TldRegionFernInfo>getFernInfo()FastQueue<TldRegion>getLocalMaximums()TldNonMaximalSuppressiongetNonmax()java.util.List<ImageRectangle>getSelectedFernRectangles()Rectangles selected by the fern classifier as candidatesGrowQueue_F64getStorageMetric()java.util.List<ImageRectangle>getStorageRect()booleanisAmbiguous()booleanisSuccess()TldRegionselectBest()
-
-
-
Constructor Detail
-
TldDetection
public TldDetection(TldFernClassifier<T> fern, TldTemplateMatching<T> template, TldVarianceFilter<T> variance, TldParameters config)
-
-
Method Detail
-
selectBest
public TldRegion selectBest()
-
getBest
public TldRegion getBest()
-
isAmbiguous
public boolean isAmbiguous()
-
getNonmax
public TldNonMaximalSuppression getNonmax()
-
getStorageMetric
public GrowQueue_F64 getStorageMetric()
-
getStorageRect
public java.util.List<ImageRectangle> getStorageRect()
-
getAmbiguousRegions
public java.util.List<ImageRectangle> getAmbiguousRegions()
-
getFernInfo
public FastQueue<TldRegionFernInfo> getFernInfo()
-
getSelectedFernRectangles
public java.util.List<ImageRectangle> getSelectedFernRectangles()
Rectangles selected by the fern classifier as candidates- Returns:
- List of rectangles
-
isSuccess
public boolean isSuccess()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG