OpenCV 4.12.0
開源計算機視覺
載入中...
搜尋中...
無匹配項
cv::cuda::CannyEdgeDetector 類參考abstract

Canny 邊緣檢測器的基類。:更多...

#include <opencv2/cudaimgproc.hpp>

cv::cuda::CannyEdgeDetector 的協作圖

公共成員函式

virtual void detect (InputArray dx, InputArray dy, OutputArray edges, Stream &stream=Stream::Null())=0
 
virtual void detect (InputArray image, OutputArray edges, Stream &stream=Stream::Null())=0
 使用 [49] 演算法在影像中查詢邊緣。
 
virtual int getAppertureSize () const =0
 
virtual double getHighThreshold () const =0
 
virtual bool getL2Gradient () const =0
 
virtual double getLowThreshold () const =0
 
virtual void setAppertureSize (int apperture_size)=0
 
virtual void setHighThreshold (double high_thresh)=0
 
virtual void setL2Gradient (bool L2gradient)=0
 
virtual void setLowThreshold (double low_thresh)=0
 
- 繼承自 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
 

其他繼承成員

- 繼承自 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)
 從檔案節點讀取演算法。
 
- 繼承自 cv::Algorithm 的保護成員函式
void writeFormat (FileStorage &fs) const
 

詳細描述

Canny 邊緣檢測器的基類。

成員函式文件

◆ detect() [1/2]

virtual void cv::cuda::CannyEdgeDetector::detect ( InputArray dx,
InputArray dy,
OutputArray edges,
Stream & stream = Stream::Null() )
純虛擬函式

這是一個過載成員函式,為方便起見提供。它與上述函式的區別僅在於它接受的引數。

引數
dx影像在垂直方向的一階導數。僅支援 CV_32S 型別。
dy影像在水平方向的一階導數。僅支援 CV_32S 型別。
edges輸出邊緣圖。它與影像具有相同的尺寸和型別。
用於非同步版本的

◆ detect() [2/2]

virtual void cv::cuda::CannyEdgeDetector::detect ( InputArray image,
OutputArray edges,
Stream & stream = Stream::Null() )
純虛擬函式

使用 [49] 演算法在影像中查詢邊緣。

引數
image單通道 8 位輸入影像。
edges輸出邊緣圖。它與影像具有相同的尺寸和型別。
用於非同步版本的

◆ getAppertureSize()

virtual int cv::cuda::CannyEdgeDetector::getAppertureSize ( ) const
純虛擬函式

◆ getHighThreshold()

virtual double cv::cuda::CannyEdgeDetector::getHighThreshold ( ) const
純虛擬函式

◆ getL2Gradient()

virtual bool cv::cuda::CannyEdgeDetector::getL2Gradient ( ) const
純虛擬函式

◆ getLowThreshold()

virtual double cv::cuda::CannyEdgeDetector::getLowThreshold ( ) const
純虛擬函式

◆ setAppertureSize()

virtual void cv::cuda::CannyEdgeDetector::setAppertureSize ( int apperture_size)
純虛擬函式

◆ setHighThreshold()

virtual void cv::cuda::CannyEdgeDetector::setHighThreshold ( double high_thresh)
純虛擬函式

◆ setL2Gradient()

virtual void cv::cuda::CannyEdgeDetector::setL2Gradient ( bool L2gradient)
純虛擬函式

◆ setLowThreshold()

virtual void cv::cuda::CannyEdgeDetector::setLowThreshold ( double low_thresh)
純虛擬函式

此類的文件是從以下檔案生成的