mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-22 16:08:41 +08:00

misc and pics folders removed Modified doc to achieve the automatic generation of UML diagrams with plantuml Removed debug prints in TLD Tracker Added perf test for TLD tracker Added test OPE-SRE-TRE for TLD tracker Fix tab in tracking.rst Fixed builder warning Fixed warnings
61 lines
1.8 KiB
ReStructuredText
61 lines
1.8 KiB
ReStructuredText
TrackerFeatureSet diagram
|
|
=========================
|
|
|
|
.. uml::
|
|
|
|
..@startuml
|
|
package "TrackerFeature package" #DDDDDD {
|
|
|
|
class TrackerFeatureSet{
|
|
-vector<pair<string, Ptr<TrackerFeature> > > features
|
|
-vector<Mat> responses
|
|
...
|
|
TrackerFeatureSet();
|
|
~TrackerFeatureSet();
|
|
--
|
|
+extraction(const std::vector<Mat>& images);
|
|
+selection();
|
|
+removeOutliers();
|
|
+vector<Mat> response getResponses();
|
|
+vector<pair<string TrackerFeatureType, Ptr<TrackerFeature> > > getTrackerFeatures();
|
|
+bool addTrackerFeature(string trackerFeatureType);
|
|
+bool addTrackerFeature(Ptr<TrackerFeature>& feature);
|
|
-clearResponses();
|
|
}
|
|
|
|
class TrackerFeature <<virtual>>{
|
|
static Ptr<TrackerFeature> = create(const string& trackerFeatureType);
|
|
compute(const std::vector<Mat>& images, Mat& response);
|
|
selection(Mat& response, int npoints);
|
|
}
|
|
note bottom: Can be specialized as in table II\nA tracker can use more types of features
|
|
|
|
class TrackerFeatureFeature2D{
|
|
-vector<Keypoints> keypoints
|
|
---
|
|
TrackerFeatureFeature2D(string detectorType, string descriptorType);
|
|
~TrackerFeatureFeature2D();
|
|
---
|
|
compute(const std::vector<Mat>& images, Mat& response);
|
|
selection( Mat& response, int npoints);
|
|
}
|
|
class TrackerFeatureHOG{
|
|
TrackerFeatureHOG();
|
|
~TrackerFeatureHOG();
|
|
---
|
|
compute(const std::vector<Mat>& images, Mat& response);
|
|
selection(Mat& response, int npoints);
|
|
}
|
|
|
|
TrackerFeatureSet *-- TrackerFeature
|
|
TrackerFeature <|-- TrackerFeatureHOG
|
|
TrackerFeature <|-- TrackerFeatureFeature2D
|
|
|
|
|
|
note "Per readability and simplicity in this diagram\n there are only two TrackerFeature but you\n can considering the implementation of the other TrackerFeature" as N1
|
|
TrackerFeatureHOG .. N1
|
|
TrackerFeatureFeature2D .. N1
|
|
}
|
|
|
|
..@enduml
|