OpenCV453
クラス | 公開型 | 公開メンバ関数 | 公開変数類 | 全メンバ一覧
cv::ximgproc::EdgeDrawing クラスabstract

Class implementing the ED (EdgeDrawing) [topal2012edge], EDLines [akinlar2011edlines], EDPF [akinlar2012edpf] and EDCircles [akinlar2013edcircles] algorithms [詳解]

#include <edge_drawing.hpp>

cv::Algorithmを継承しています。

クラス

struct  Params
 

公開型

enum  GradientOperator { PREWITT = 0 , SOBEL = 1 , SCHARR = 2 , LSD = 3 }
 

公開メンバ関数

virtual CV_WRAP void detectEdges (InputArray src)=0
 Detects edges and prepares them to detect lines and ellipses. [詳解]
 
virtual CV_WRAP void getEdgeImage (OutputArray dst)=0
 
virtual CV_WRAP void getGradientImage (OutputArray dst)=0
 
virtual CV_WRAP std::vector< std::vector< Point > > getSegments ()=0
 
virtual CV_WRAP void detectLines (OutputArray lines)=0
 Detects lines. [詳解]
 
virtual CV_WRAP void detectEllipses (OutputArray ellipses)=0
 Detects circles and ellipses. [詳解]
 
CV_WRAP void setParams (const EdgeDrawing::Params &parameters)
 sets parameters. [詳解]
 
- 基底クラス cv::Algorithm に属する継承公開メンバ関数
virtual CV_WRAP void clear ()
 Clears the algorithm state [詳解]
 
virtual void write (FileStorage &fs) const
 Stores algorithm parameters in a file storage [詳解]
 
CV_WRAP void write (const Ptr< FileStorage > &fs, const String &name=String()) const
 simplified API for language bindings これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。
 
virtual CV_WRAP void read (const FileNode &fn)
 Reads algorithm parameters from a file storage [詳解]
 
virtual CV_WRAP bool empty () const
 Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read [詳解]
 
virtual CV_WRAP void save (const String &filename) const
 
virtual CV_WRAP String getDefaultName () const
 

公開変数類

CV_WRAP Params params
 

その他の継承メンバ

- 基底クラス cv::Algorithm に属する継承静的公開メンバ関数
template<typename _Tp >
static Ptr< _Tp > read (const FileNode &fn)
 Reads algorithm from the file node [詳解]
 
template<typename _Tp >
static Ptr< _Tp > load (const String &filename, const String &objname=String())
 Loads algorithm from the file [詳解]
 
template<typename _Tp >
static Ptr< _Tp > loadFromString (const String &strModel, const String &objname=String())
 Loads algorithm from a String [詳解]
 
- 基底クラス cv::Algorithm に属する継承限定公開メンバ関数
void writeFormat (FileStorage &fs) const
 

詳解

Class implementing the ED (EdgeDrawing) [topal2012edge], EDLines [akinlar2011edlines], EDPF [akinlar2012edpf] and EDCircles [akinlar2013edcircles] algorithms

関数詳解

◆ detectEdges()

virtual CV_WRAP void cv::ximgproc::EdgeDrawing::detectEdges ( InputArray  src)
pure virtual

Detects edges and prepares them to detect lines and ellipses.

引数
srcinput image

◆ detectEllipses()

virtual CV_WRAP void cv::ximgproc::EdgeDrawing::detectEllipses ( OutputArray  ellipses)
pure virtual

Detects circles and ellipses.

引数
ellipsesoutput Vec<6d> contains center point and perimeter for circles.
覚え書き
you should call detectEdges() method before call this.

◆ detectLines()

virtual CV_WRAP void cv::ximgproc::EdgeDrawing::detectLines ( OutputArray  lines)
pure virtual

Detects lines.

引数
linesoutput Vec<4f> contains start point and end point of detected lines.
覚え書き
you should call detectEdges() method before call this.

◆ setParams()

CV_WRAP void cv::ximgproc::EdgeDrawing::setParams ( const EdgeDrawing::Params parameters)

sets parameters.

this function is meant to be used for parameter setting in other languages than c++.


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