OpenCV 4.12.0
开源计算机视觉
加载中...
搜索中...
无匹配项
cv::ximgproc::EdgeDrawing::Params 结构体参考

#include <opencv2/ximgproc/edge_drawing.hpp>

cv::ximgproc::EdgeDrawing::Params 的协作图

公共成员函数

 Params ()
 
void read (const FileNode &fn)
 
void write (FileStorage &fs) const
 

公共属性

int AnchorThresholdValue
 用于选择锚点的阈值。默认值为 0
 
int EdgeDetectionOperator
 指示用于梯度计算的算子。
 
int GradientThresholdValue
 像素间梯度差的阈值。用于创建梯度图像。默认值为 20
 
double LineFitErrorThreshold
 默认值为 1.0。
 
double MaxDistanceBetweenTwoLines
 默认值为 6.0。
 
double MaxErrorThreshold
 默认值为 1.3。
 
int MinLineLength
 要检测的最小线段长度。
 
int MinPathLength
 处理以创建边缘段的最小连接像素长度。
 
bool NFAValidation
 默认值为 true。指示是否将 NFA (Number of False Alarms) 算法用于线段和椭圆验证。
 
bool PFmode
 当此值设置为 true 时,将激活无参数模式。默认值为 false。
 
int ScanInterval
 默认值为 1。
 
float Sigma
 内部 GaussianBlur() 函数的 sigma 值。默认值为 1.0
 
bool SumFlag
 

构造函数 & 析构函数文档

◆ Params()

cv::ximgproc::EdgeDrawing::Params::Params ( )

成员函数文档

◆ read()

void cv::ximgproc::EdgeDrawing::Params::read ( const FileNode & fn)

◆ write()

void cv::ximgproc::EdgeDrawing::Params::write ( FileStorage & fs) const

成员数据文档

◆ AnchorThresholdValue

int cv::ximgproc::EdgeDrawing::Params::AnchorThresholdValue

用于选择锚点的阈值。默认值为 0

◆ EdgeDetectionOperator

int cv::ximgproc::EdgeDrawing::Params::EdgeDetectionOperator

指示用于梯度计算的算子。

标志 cv::ximgproc::EdgeDrawing::GradientOperator 之一。默认值为 PREWITT

◆ GradientThresholdValue

int cv::ximgproc::EdgeDrawing::Params::GradientThresholdValue

像素间梯度差的阈值。用于创建梯度图像。默认值为 20

◆ LineFitErrorThreshold

double cv::ximgproc::EdgeDrawing::Params::LineFitErrorThreshold

默认值为 1.0。

◆ MaxDistanceBetweenTwoLines

double cv::ximgproc::EdgeDrawing::Params::MaxDistanceBetweenTwoLines

默认值为 6.0。

◆ MaxErrorThreshold

double cv::ximgproc::EdgeDrawing::Params::MaxErrorThreshold

默认值为 1.3。

◆ MinLineLength

int cv::ximgproc::EdgeDrawing::Params::MinLineLength

要检测的最小线段长度。

◆ MinPathLength

int cv::ximgproc::EdgeDrawing::Params::MinPathLength

处理以创建边缘段的最小连接像素长度。

在梯度图像中,处理以创建边缘段的最小连接像素长度。将处理具有高于 GradientThresholdValue 值的像素。默认值为 10

◆ NFAValidation

bool cv::ximgproc::EdgeDrawing::Params::NFAValidation

默认值为 true。指示是否将 NFA (Number of False Alarms) 算法用于线段和椭圆验证。

◆ PFmode

bool cv::ximgproc::EdgeDrawing::Params::PFmode

当此值设置为 true 时,将激活无参数模式。默认值为 false。

◆ ScanInterval

int cv::ximgproc::EdgeDrawing::Params::ScanInterval

默认值为 1。

◆ Sigma

float cv::ximgproc::EdgeDrawing::Params::Sigma

内部 GaussianBlur() 函数的 sigma 值。默认值为 1.0

◆ SumFlag

bool cv::ximgproc::EdgeDrawing::Params::SumFlag

此结构体的文档由以下文件生成