實現 ED (EdgeDrawing) [275], EDLines [4], EDPF [5], EDCircles [6] 和 ColorED [7] 演算法的類。 更多...
#include <opencv2/ximgproc/edge_drawing.hpp>
實現 ED (EdgeDrawing) [275], EDLines [4], EDPF [5], EDCircles [6] 和 ColorED [7] 演算法的類。
◆ GradientOperator
| 列舉器 |
|---|
| PREWITT | |
| SOBEL | |
| SCHARR | |
| LSD | |
◆ ~EdgeDrawing()
| virtual cv::ximgproc::EdgeDrawing::~EdgeDrawing |
( |
| ) |
|
|
inlinevirtual |
◆ detectEdges()
| virtual void cv::ximgproc::EdgeDrawing::detectEdges |
( |
InputArray | src | ) |
|
|
純虛擬函式 |
| Python |
|---|
| cv.ximgproc.EdgeDrawing.detectEdges( | src | ) -> | 無 |
檢測灰度或彩色影像中的邊緣,並準備它們以檢測直線和橢圓。
- 引數
-
| src | 8 位單通道 (CV_8UC1) 或彩色 (CV_8UC3, CV_8UC4) 輸入影像。 |
◆ detectEllipses()
| virtual void cv::ximgproc::EdgeDrawing::detectEllipses |
( |
OutputArray | ellipses | ) |
|
|
純虛擬函式 |
| Python |
|---|
| cv.ximgproc.EdgeDrawing.detectEllipses( | [, ellipses] | ) -> | ellipses |
檢測圓和橢圓。
- 引數
-
| ellipses | 輸出 Vec<6d> 包含圓的中心點和周長,以及橢圓的中心點、軸和角度。 |
- 注意
- 您應該在呼叫此函式之前呼叫 detectEdges()。
◆ detectLines()
| virtual void cv::ximgproc::EdgeDrawing::detectLines |
( |
OutputArray | 輸出向量,包含與另一影像中點對應的對極線。每條線\(ax + by + c=0\)由3個數字\((a, b, c)\)編碼。 | ) |
|
|
純虛擬函式 |
| Python |
|---|
| cv.ximgproc.EdgeDrawing.detectLines( | [, lines] | ) -> | 輸出向量,包含與另一影像中點對應的對極線。每條線\(ax + by + c=0\)由3個數字\((a, b, c)\)編碼。 |
檢測直線。
- 引數
-
| 輸出向量,包含與另一影像中點對應的對極線。每條線\(ax + by + c=0\)由3個數字\((a, b, c)\)編碼。 | 輸出 Vec<4f> 包含檢測到的直線的起點和終點。 |
- 注意
- 您應該在呼叫此函式之前呼叫 detectEdges()。
◆ getEdgeImage()
| virtual void cv::ximgproc::EdgeDrawing::getEdgeImage |
( |
OutputArray | dst | ) |
|
|
純虛擬函式 |
| Python |
|---|
| cv.ximgproc.EdgeDrawing.getEdgeImage( | [, dst] | ) -> | dst |
◆ getGradientImage()
| virtual void cv::ximgproc::EdgeDrawing::getGradientImage |
( |
OutputArray | dst | ) |
|
|
純虛擬函式 |
| Python |
|---|
| cv.ximgproc.EdgeDrawing.getGradientImage( | [, dst] | ) -> | dst |
◆ getSegmentIndicesOfLines()
| virtual std::vector< int > cv::ximgproc::EdgeDrawing::getSegmentIndicesOfLines |
( |
| ) |
const |
|
純虛擬函式 |
| Python |
|---|
| cv.ximgproc.EdgeDrawing.getSegmentIndicesOfLines( | | ) -> | retval |
◆ getSegments()
| virtual std::vector< std::vector< Point > > cv::ximgproc::EdgeDrawing::getSegments |
( |
| ) |
|
|
純虛擬函式 |
| Python |
|---|
| cv.ximgproc.EdgeDrawing.getSegments( | | ) -> | retval |
◆ setParams()
| Python |
|---|
| cv.ximgproc.EdgeDrawing.setParams( | parameters | ) -> | 無 |
設定引數。
此函式旨在用於在 C++ 以外的其他語言(如 Python)中設定引數。
- 引數
-
◆ params
| Params cv::ximgproc::EdgeDrawing::params |
此類文件是從以下檔案生成的