天天看点

HALCON学习之select_shape的Feature详解

   'area':

Area of the object

目标的面积

'row':

Row index of the center

中心行的索引

'column':

Column index of the center

中心列的索引

'width':

Width of the region

区域的宽度

'height':

Height of the region

区域的高度

'row1':

Row index of upper left corner

左上角的行索引

'column1':

Column index of upper left corner

左上角的列索引

'row2':

Row index of lower right corner

右下角的行索引

'column2':

Column index of lower right corner

右下角的列索引

'circularity':

Circularity (seecircularity)

圆度,与圆的相似程度,圆度=区域面积/((中心到区域边界的最大距离)^2*PI),其实就是利用区域面积和以最大距离作为半径的圆的面积做比较,越接近圆,这个比值就会越接近1,否则小于1。圆度对于大的凸起、孔洞和不相连的区域敏感。

'compactness':

Compactness (seecompactness)

紧凑度,紧凑度=轮廓的长度^2/(4*区域的面积*PI)。一个圆的紧凑度是1。如果区域是长条或有孔,则紧凑度大于1。紧凑度对粗糙度贺孔洞敏感。

'contlength':

Total length of contour (see operatorcontlength)

轮廓长度

'convexity':

Convexity (seeconvexity)

凸性,又称凸度,凸性=凸包面积/原区域面积,如果是矩形、圆,凸性为1,如果区域含有缺口或孔洞,凸性小于1

'rectangularity':

Rectangularity (seerectangularity)

矩形相似度,越接近矩形,就越接近1,否则小于1

'ra':

Main radius of the equivalent ellipse (seeelliptic_axis)

等效椭圆的主半径

'rb':

Secondary radius of the equivalent ellipse (seeelliptic_axis)

等效椭圆的副半径

'phi':

Orientation of the equivalent ellipse (seeelliptic_axis)

等效椭圆的方向

'anisometry:'

Anisometry (seeeccentricity)

等距=等效椭圆主轴/副轴

'bulkiness:'

Bulkiness (see operatoreccentricity)

蓬松性=PI*主轴*副轴/区域面积

'struct_factor:'

Structur Factor (see operatoreccentricity)

结构元素

'outer_radius':

Radius of smallest surrounding circle (seesmallest_circle)

最小外接圆的半径

'inner_radius':

Radius of largest inner circle (seeinner_circle)

最小内接圆的半径

'inner_width':

Width of the largest axis-parallel rectangle that fits into the region (seeinner_rectangle1)

区域最大内接矩形的宽度

'inner_height':

Height of the largest axis-parallel rectangle that fits into the region (seeinner_rectangle1)

区域最大内接矩形的高度

'dist_mean':

Mean distance from the region border to the center (see operatorroundness)

从区域边界到中心的平均距离

'dist_deviation:'

Deviation of the distance from the region border from the center (see operatorroundness)

从区域边界到中心的偏差

'roundness':

Roundness (see operatorroundness)

圆度

'num_sides':

Number of polygon sides (see operatorroundness)

多边形的边的数量

'connect_num':

Number of connection components (see operatorconnect_and_holes)

连接区域的数量

'holes_num':

Number of holes (see operatorconnect_and_holes)

孔洞数

'area_holes':

Area of the holes of the object (see operatorarea_holes)

目标的孔洞面积

'max_diameter':

Maximum diameter of the region (see operatordiameter_region)

区域最大直径

'orientation':

Orientation of the region (see operatororientation_region)

区域方向

'euler_number':

Euler number (see operatoreuler_number)

欧拉数

'rect2_phi':

Orientation of the smallest surrounding rectangle (see operatorsmallest_rectangle2)

最小外接矩形的方向

'rect2_len1':

Half the length of the smallest surrounding rectangle (see operatorsmallest_rectangle2)

最小外接矩形的长度的一半

'rect2_len2':

Half the width of the smallest surrounding rectangle (see operatorsmallest_rectangle2)

最小外接矩形的宽度的一半

'moments_m11':

Geometric moments of the region (see operatormoments_region_2nd)

区域的几何矩

'moments_m20':

Geometric moments of the region (see operatormoments_region_2nd)

区域的几何矩

'moments_m02':

Geometric moments of the region (see operatormoments_region_2nd)

区域的几何矩

'moments_ia':

Geometric moments of the region (see operatormoments_region_2nd)

区域的几何矩

'moments_ib':

Geometric moments of the region (see operatormoments_region_2nd)

区域的几何矩

'moments_m11_invar':

Geometric moments of the region (see operatormoments_region_2nd_invar)

区域的几何矩

'moments_m20_invar':

Geometric moments of the region (see operatormoments_region_2nd_invar)

区域的几何矩

'moments_m02_invar':

Geometric moments of the region (see operatormoments_region_2nd_invar)

区域的几何矩

'moments_phi1':

Geometric moments of the region (see operatormoments_region_2nd_rel_invar)

区域的几何矩

'moments_phi2':

Geometric moments of the region (see operatormoments_region_2nd_rel_invar)

区域的几何矩

'moments_m21':

Geometric moments of the region (see operatormoments_region_3rd)

区域的几何矩

'moments_m12':

Geometric moments of the region (see operatormoments_region_3rd)

区域的几何矩

'moments_m03':

Geometric moments of the region (see operatormoments_region_3rd)

区域的几何矩

'moments_m30':

Geometric moments of the region (see operatormoments_region_3rd)

区域的几何矩

'moments_m21_invar':

Geometric moments of the region (see operatormoments_region_3rd_invar)

区域的几何矩

'moments_m12_invar':

Geometric moments of the region (see operatormoments_region_3rd_invar)

区域的几何矩

'moments_m03_invar':

Geometric moments of the region (see operatormoments_region_3rd_invar)

区域的几何矩

'moments_m30_invar':

Geometric moments of the region (see operatormoments_region_3rd_invar)

区域的几何矩

'moments_i1':

Geometric moments of the region (see operatormoments_region_central)

区域的几何矩

'moments_i2':

Geometric moments of the region (see operatormoments_region_central)

区域的几何矩

'moments_i3':

Geometric moments of the region (see operatormoments_region_central)

区域的几何矩

'moments_i4':

Geometric moments of the region (see operatormoments_region_central)

区域的几何矩

'moments_psi1':

Geometric moments of the region (see operatormoments_region_central_invar)

区域的几何矩

'moments_psi2':

Geometric moments of the region (see operatormoments_region_central_invar)

区域的几何矩

'moments_psi3':

Geometric moments of the region (see operatormoments_region_central_invar)

区域的几何矩

'moments_psi4':

Geometric moments of the region (see operatormoments_region_central_invar)

区域的几何矩 

继续阅读