OpenCV453
クラス | 公開メンバ関数 | 静的限定公開メンバ関数 | 全メンバ一覧
cv::linemod::QuantizedPyramid クラスabstract

Represents a modality operating over an image pyramid. [詳解]

#include <linemod.hpp>

クラス

struct  Candidate
 Candidate feature with a score [詳解]
 

公開メンバ関数

virtual CV_WRAP void quantize (CV_OUT Mat &dst) const =0
 Compute quantized image at current pyramid level for online detection. [詳解]
 
virtual CV_WRAP bool extractTemplate (CV_OUT Template &templ) const =0
 Extract most discriminant features at current pyramid level to form a new template. [詳解]
 
virtual CV_WRAP void pyrDown ()=0
 Go to the next pyramid level. [詳解]
 

静的限定公開メンバ関数

static void selectScatteredFeatures (const std::vector< Candidate > &candidates, std::vector< Feature > &features, size_t num_features, float distance)
 Choose candidate features so that they are not bunched together. [詳解]
 

詳解

Represents a modality operating over an image pyramid.

関数詳解

◆ extractTemplate()

virtual CV_WRAP bool cv::linemod::QuantizedPyramid::extractTemplate ( CV_OUT Template templ) const
pure virtual

Extract most discriminant features at current pyramid level to form a new template.

引数
[out]templThe new template.

◆ pyrDown()

virtual CV_WRAP void cv::linemod::QuantizedPyramid::pyrDown ( )
pure virtual

Go to the next pyramid level.

todo:
Allow pyramid scale factor other than 2

◆ quantize()

virtual CV_WRAP void cv::linemod::QuantizedPyramid::quantize ( CV_OUT Mat dst) const
pure virtual

Compute quantized image at current pyramid level for online detection.

引数
[out]dstThe destination 8-bit image. For each pixel at most one bit is set, representing its classification.

◆ selectScatteredFeatures()

static void cv::linemod::QuantizedPyramid::selectScatteredFeatures ( const std::vector< Candidate > &  candidates,
std::vector< Feature > &  features,
size_t  num_features,
float  distance 
)
staticprotected

Choose candidate features so that they are not bunched together.

引数
[in]candidatesCandidate features sorted by score.
[out]featuresDestination vector of selected features.
[in]num_featuresNumber of candidates to select.
[in]distanceHint for desired distance between features.

このクラス詳解は次のファイルから抽出されました: