OpenCV 4.13.0
Open Source Computer Vision
読み込み中...
検索中...
見つかりません
🤖 AIによる機械翻訳(非公式) — これは OpenCV 4.13.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
cv::GeneralizedHough クラスabstract

一般化ハフ変換を用いて、グレースケール画像中の任意のテンプレートを検出する 続き...

#include <opencv2/imgproc.hpp>

Collaboration diagram for cv::GeneralizedHough:

公開メンバ関数

virtual void detect (InputArray edges, InputArray dx, InputArray dy, OutputArray positions, OutputArray votes=noArray())=0
 
virtual void detect (InputArray image, OutputArray positions, OutputArray votes=noArray())=0
 画像上でテンプレートを探す
 
virtual int getCannyHighThresh () const =0
 
virtual int getCannyLowThresh () const =0
 
virtual double getDp () const =0
 
virtual int getMaxBufferSize () const =0
 
virtual double getMinDist () const =0
 
virtual void setCannyHighThresh (int cannyHighThresh)=0
 Canny の高いしきい値。
 
virtual void setCannyLowThresh (int cannyLowThresh)=0
 Canny の低いしきい値。
 
virtual void setDp (double dp)=0
 画像の解像度に対するアキュムレータの解像度の逆比。
 
virtual void setMaxBufferSize (int maxBufferSize)=0
 内部バッファの最大サイズ。
 
virtual void setMinDist (double minDist)=0
 検出されたオブジェクトの中心間の最小距離。
 
virtual void setTemplate (InputArray edges, InputArray dx, InputArray dy, Point templCenter=Point(-1, -1))=0
 
virtual void setTemplate (InputArray templ, Point templCenter=Point(-1, -1))=0
 検索するテンプレートを設定する
 
- Public Member Functions inherited from cv::Algorithm
 Algorithm ()
 
virtual ~Algorithm ()
 
virtual void clear ()
 アルゴリズムの状態をクリアする。
 
virtual bool empty () const
 Algorithm が空の場合(たとえば開始直後や読み込みに失敗した後)に true を返す。
 
virtual String getDefaultName () const
 
virtual void read (const FileNode &fn)
 ファイルストレージからアルゴリズムの引数を読み込む。
 
virtual void save (const String &filename) const
 
void write (const Ptr< FileStorage > &fs, const String &name=String()) const
 
virtual void write (FileStorage &fs) const
 アルゴリズムの引数をファイルストレージに保存する。
 
void write (FileStorage &fs, const String &name) const
 

Additional Inherited Members

- Static Public Member Functions inherited from cv::Algorithm
template<typename _Tp >
static Ptr< _Tpload (const String &filename, const String &objname=String())
 ファイルからアルゴリズムを読み込む。
 
template<typename _Tp >
static Ptr< _TploadFromString (const String &strModel, const String &objname=String())
 文字列からアルゴリズムを読み込む。
 
template<typename _Tp >
static Ptr< _Tpread (const FileNode &fn)
 ファイルノードからアルゴリズムを読み込む。
 
- Protected Member Functions inherited from cv::Algorithm
void writeFormat (FileStorage &fs) const
 

詳細説明

一般化ハフ変換を用いて、グレースケール画像中の任意のテンプレートを検出する

メンバ関数詳解

◆ detect() [1/2]

virtual void cv::GeneralizedHough::detect ( InputArray edges,
InputArray dx,
InputArray dy,
OutputArray positions,
OutputArray votes = noArray() )
pure virtual
Python:
cv.GeneralizedHough.detect(image[, positions[, votes]]) -> positions, votes
cv.GeneralizedHough.detect(edges, dx, dy[, positions[, votes]]) -> positions, votes
この関数の呼び出しグラフ:

◆ detect() [2/2]

virtual void cv::GeneralizedHough::detect ( InputArray image,
OutputArray positions,
OutputArray votes = noArray() )
pure virtual
Python:
cv.GeneralizedHough.detect(image[, positions[, votes]]) -> positions, votes
cv.GeneralizedHough.detect(edges, dx, dy[, positions[, votes]]) -> positions, votes

画像上でテンプレートを探す

この関数の呼び出しグラフ:

◆ getCannyHighThresh()

virtual int cv::GeneralizedHough::getCannyHighThresh ( ) const
pure virtual
Python:
cv.GeneralizedHough.getCannyHighThresh() -> retval

◆ getCannyLowThresh()

virtual int cv::GeneralizedHough::getCannyLowThresh ( ) const
pure virtual
Python:
cv.GeneralizedHough.getCannyLowThresh() -> retval

◆ getDp()

virtual double cv::GeneralizedHough::getDp ( ) const
pure virtual
Python:
cv.GeneralizedHough.getDp() -> retval

◆ getMaxBufferSize()

virtual int cv::GeneralizedHough::getMaxBufferSize ( ) const
pure virtual
Python:
cv.GeneralizedHough.getMaxBufferSize() -> retval

◆ getMinDist()

virtual double cv::GeneralizedHough::getMinDist ( ) const
pure virtual
Python:
cv.GeneralizedHough.getMinDist() -> retval

◆ setCannyHighThresh()

virtual void cv::GeneralizedHough::setCannyHighThresh ( int cannyHighThresh)
pure virtual
Python:
cv.GeneralizedHough.setCannyHighThresh(cannyHighThresh) -> None

Cannyの高しきい値。

◆ setCannyLowThresh()

virtual void cv::GeneralizedHough::setCannyLowThresh ( int cannyLowThresh)
pure virtual
Python:
cv.GeneralizedHough.setCannyLowThresh(cannyLowThresh) -> None

Cannyの低しきい値。

◆ setDp()

virtual void cv::GeneralizedHough::setDp ( double dp)
pure virtual
Python:
cv.GeneralizedHough.setDp(dp) -> None

アキュムレータ解像度の画像解像度に対する逆比。

◆ setMaxBufferSize()

virtual void cv::GeneralizedHough::setMaxBufferSize ( int maxBufferSize)
pure virtual
Python:
cv.GeneralizedHough.setMaxBufferSize(maxBufferSize) -> None

内部バッファの最大サイズ。

◆ setMinDist()

virtual void cv::GeneralizedHough::setMinDist ( double minDist)
pure virtual
Python:
cv.GeneralizedHough.setMinDist(minDist) -> None

検出されたオブジェクトの中心間の最小距離。

◆ setTemplate() [1/2]

virtual void cv::GeneralizedHough::setTemplate ( InputArray edges,
InputArray dx,
InputArray dy,
Point templCenter = Point(-1, -1) )
pure virtual
Python:
cv.GeneralizedHough.setTemplate(templ[, templCenter]) -> None
cv.GeneralizedHough.setTemplate(edges, dx, dy[, templCenter]) -> None

◆ setTemplate() [2/2]

virtual void cv::GeneralizedHough::setTemplate ( InputArray templ,
Point templCenter = Point(-1, -1) )
pure virtual
Python:
cv.GeneralizedHough.setTemplate(templ[, templCenter]) -> None
cv.GeneralizedHough.setTemplate(edges, dx, dy[, templCenter]) -> None

検索するテンプレートを設定する


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