TrackerFeature based on HAAR features, used by TrackerMIL and many others algorithms.  
 More...
#include <opencv2/tracking/tracker.hpp>
TrackerFeature based on HAAR features, used by TrackerMIL and many others algorithms. 
- Note
- HAAR features implementation is copied from apps/traincascade and modified according to MIL 
◆ TrackerFeatureHAAR()
◆ ~TrackerFeatureHAAR()
      
        
          | cv::TrackerFeatureHAAR::~TrackerFeatureHAAR | ( |  | ) |  | 
      
 
 
◆ computeImpl()
  
  | 
        
          | bool cv::TrackerFeatureHAAR::computeImpl | ( | const std::vector< Mat > & | images, |  
          |  |  | Mat & | response |  
          |  | ) |  |  |  | protectedvirtual | 
 
 
◆ extractSelected()
      
        
          | bool cv::TrackerFeatureHAAR::extractSelected | ( | const std::vector< int > | selFeatures, | 
        
          |  |  | const std::vector< Mat > & | images, | 
        
          |  |  | Mat & | response | 
        
          |  | ) |  |  | 
      
 
Compute the features only for the selected indices in the images collection. 
- Parameters
- 
  
    | selFeatures | indices of selected features |  | images | The images |  | response | Collection of response for the specific TrackerFeature |  
 
 
 
◆ getFeatureAt()
Get the feature in position id. 
- Parameters
- 
  
  
 
 
◆ selection()
  
  | 
        
          | void cv::TrackerFeatureHAAR::selection | ( | Mat & | response, |  
          |  |  | int | npoints |  
          |  | ) |  |  |  | virtual | 
 
Identify most effective features. 
- Parameters
- 
  
    | response | Collection of response for the specific TrackerFeature |  | npoints | Max number of features |  
 
- Note
- This method modifies the response parameter 
Implements cv::TrackerFeature.
 
 
◆ swapFeature() [1/2]
      
        
          | bool cv::TrackerFeatureHAAR::swapFeature | ( | int | source, | 
        
          |  |  | int | target | 
        
          |  | ) |  |  | 
      
 
Swap the feature in position source with the feature in position target. 
- Parameters
- 
  
    | source | The source position |  | target | The target position |  
 
 
 
◆ swapFeature() [2/2]
Swap the feature in position id with the feature input. 
- Parameters
- 
  
    | id | The position |  | feature | The feature |  
 
 
 
The documentation for this class was generated from the following file: