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

Interface for modalities that plug into the LINE template matching representation. [詳解]

#include <linemod.hpp>

cv::linemod::ColorGradient, cv::linemod::DepthNormalに継承されています。

公開メンバ関数

CV_WRAP Ptr< QuantizedPyramidprocess (const Mat &src, const Mat &mask=Mat()) const
 Form a quantized image pyramid from a source image. [詳解]
 
virtual CV_WRAP String name () const =0
 
virtual CV_WRAP void read (const FileNode &fn)=0
 
virtual void write (FileStorage &fs) const =0
 

静的公開メンバ関数

static CV_WRAP Ptr< Modalitycreate (const String &modality_type)
 Create modality by name. [詳解]
 
static CV_WRAP Ptr< Modalitycreate (const FileNode &fn)
 Load a modality from file.
 

限定公開メンバ関数

virtual Ptr< QuantizedPyramidprocessImpl (const Mat &src, const Mat &mask) const =0
 

詳解

Interface for modalities that plug into the LINE template matching representation.

todo:
Max response, to allow optimization of summing (255/MAX) features as uint8

関数詳解

◆ create()

static CV_WRAP Ptr< Modality > cv::linemod::Modality::create ( const String &  modality_type)
static

Create modality by name.

The following modality types are supported:

  • "ColorGradient"
  • "DepthNormal"

◆ process()

CV_WRAP Ptr< QuantizedPyramid > cv::linemod::Modality::process ( const Mat src,
const Mat mask = Mat() 
) const
inline

Form a quantized image pyramid from a source image.

引数
[in]srcThe source image. Type depends on the modality.
[in]maskOptional mask. If not empty, unmasked pixels are set to zero in quantized image and cannot be extracted as features.

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