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

The IImageDescriptor class declares base class for image descriptor. More...

#include <opencv2/tracking/tracking_by_matching.hpp>

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

Public Member Functions

virtual ~IImageDescriptor ()
 
virtual void compute (const cv::Mat &mat, cv::Mat &descr)=0
 Computes image descriptor. More...
 
virtual void compute (const std::vector< cv::Mat > &mats, std::vector< cv::Mat > &descrs)=0
 Computes image descriptors in batches. More...
 
virtual cv::Size size () const =0
 Descriptor size getter. More...
 

Detailed Description

The IImageDescriptor class declares base class for image descriptor.

Constructor & Destructor Documentation

§ ~IImageDescriptor()

virtual cv::tbm::IImageDescriptor::~IImageDescriptor ( )
inlinevirtual

Member Function Documentation

§ compute() [1/2]

virtual void cv::tbm::IImageDescriptor::compute ( const cv::Mat mat,
cv::Mat descr 
)
pure virtual

Computes image descriptor.

Parameters
[in]matColor image.
[out]descrComputed descriptor.

Implemented in cv::tbm::ResizedImageDescriptor.

§ compute() [2/2]

virtual void cv::tbm::IImageDescriptor::compute ( const std::vector< cv::Mat > &  mats,
std::vector< cv::Mat > &  descrs 
)
pure virtual

Computes image descriptors in batches.

Parameters
[in]matsImages of interest.
[out]descrsMatrices to store the computed descriptors.

Implemented in cv::tbm::ResizedImageDescriptor.

§ size()

virtual cv::Size cv::tbm::IImageDescriptor::size ( ) const
pure virtual

Descriptor size getter.

Returns
Descriptor size.

Implemented in cv::tbm::ResizedImageDescriptor.


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