| OpenCV 4.3.0 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:

## 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 | ( |  | ) |
| inline virtual

## 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] | mat | Color image.
  [out] | descr | Computed 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] | mats | Images of interest.
  [out] | descrs | Matrices 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:

- opencv2/tracking/tracking_by_matching.hpp