OpenCV  4.1.2
Open Source Computer Vision
Public Member Functions | List of all members
cv::tbm::ResizedImageDescriptor Class Reference

Uses resized image as descriptor. More...

#include <opencv2/tracking/tracking_by_matching.hpp>

Inheritance diagram for cv::tbm::ResizedImageDescriptor:
cv::tbm::IImageDescriptor

Public Member Functions

 ResizedImageDescriptor (const cv::Size &descr_size, const cv::InterpolationFlags interpolation)
 Constructor. More...
 
void compute (const cv::Mat &mat, cv::Mat &descr) override
 Computes image descriptor. More...
 
void compute (const std::vector< cv::Mat > &mats, std::vector< cv::Mat > &descrs) override
 Computes images descriptors. More...
 
cv::Size size () const override
 Returns descriptor size. More...
 
- Public Member Functions inherited from cv::tbm::IImageDescriptor
virtual ~IImageDescriptor ()
 

Detailed Description

Uses resized image as descriptor.

Constructor & Destructor Documentation

§ ResizedImageDescriptor()

cv::tbm::ResizedImageDescriptor::ResizedImageDescriptor ( const cv::Size descr_size,
const cv::InterpolationFlags  interpolation 
)
inlineexplicit

Constructor.

Parameters
[in]descr_sizeSize of the descriptor (resized image).
[in]interpolationInterpolation algorithm.

Member Function Documentation

§ compute() [1/2]

void cv::tbm::ResizedImageDescriptor::compute ( const cv::Mat mat,
cv::Mat descr 
)
inlineoverridevirtual

Computes image descriptor.

Parameters
[in]matFrame containing the image of interest.
[out]descrMatrix to store the computed descriptor.

Implements cv::tbm::IImageDescriptor.

§ compute() [2/2]

void cv::tbm::ResizedImageDescriptor::compute ( const std::vector< cv::Mat > &  mats,
std::vector< cv::Mat > &  descrs 
)
inlineoverridevirtual

Computes images descriptors.

Parameters
[in]matsFrames containing images of interest.
[out]descrsMatrices to store the computed descriptors.

Implements cv::tbm::IImageDescriptor.

§ size()

cv::Size cv::tbm::ResizedImageDescriptor::size ( ) const
inlineoverridevirtual

Returns descriptor size.

Returns
Number of elements in the descriptor.

Implements cv::tbm::IImageDescriptor.


The documentation for this class was generated from the following file: