OpenCV  4.5.1
Open Source Computer Vision
Public Member Functions | List of all members
cv::detail::tracking::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::detail::tracking::tbm::IImageDescriptor:
cv::detail::tracking::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::detail::tracking::tbm::IImageDescriptor::~IImageDescriptor ( )
inlinevirtual

Member Function Documentation

◆ compute() [1/2]

virtual void cv::detail::tracking::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::detail::tracking::tbm::ResizedImageDescriptor.

◆ compute() [2/2]

virtual void cv::detail::tracking::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::detail::tracking::tbm::ResizedImageDescriptor.

◆ size()

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

Descriptor size getter.

Returns
Descriptor size.

Implemented in cv::detail::tracking::tbm::ResizedImageDescriptor.


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