Halcon算子edges_sub_pix (Operator)翻译整理详解
edges_sub_pix (Operator)
Name
edges_sub_pix — Extract sub-pixel precise edges using Deriche, Lanser, Shen, or Canny filters.
Signature
edges_sub_pix(Image : Edges : Filter, Alpha, Low, High : )
Description
edges_sub_pix detects step edges using recursively implemented filters (according to Deriche, Lanser and Shen) or the conventionally implemented “derivative of Gaussian” filter (using filter masks) proposed by Canny. Thus, the following edge operators are available:
描述
edge_sub_pix使用递归实现的滤波器(根据Deriche,Lanser和Shen)或Canny提出的传统实现的“高斯导数”滤波器(使用滤波器)检测台阶边缘。因此,可以使用以下边缘运算符:
‘deriche1’, ‘lanser1’, ‘deriche2’, ‘lanser2’, ‘shen’, ‘mshen’, ‘canny’, ‘sobel’, and ‘sobel_fast’
(parameter Filter).
The extracted edges are returned as sub-pixel precise XLD contours in Edges. For all edge operators except ‘sobel_fast’, the following attributes are defined for each edge point (see get_contour_attrib_xld for further details):
提取的边缘作为“边缘”中的亚像素精确XLD轮廓返回。对于除“ sobel_fast”以外的所有边缘运算符,为每个边缘点定义了以下属性(有关更多详细信息,请参见get_contour_attrib_xld):
‘edge_direction’:
Gives the direction of the edge (not of the XLD contour), calculated from the image gradients in horizontal and vertical direction. The angles [rad] are given with respect to the column axis of the image.
给出边缘的方向(不是XLD轮廓),该方向是根据