您的位置:首页 > 其它

Halcon算子--区域特征

2016-05-29 14:14 357 查看
当我们想要提取Region时,图像处理后,往往存在几个类似的Region,此时,需要根据Region的一些特殊特征,来选择指定的Region。

求Region指定特征值:region_features(Regions : : Features : Value)

根据特征值选择区域:select_shape(Regions : SelectedRegions : Features, Operation, Min, Max : )

Region特征一览:

特征备注
areaArea of the object对象的面积 
rowRow index of the center中心点的行坐标 
columnColumn index of the center中心点的列坐标 
widthWidth of the region区域的宽度 
heightHeight of the region区域的高度 
row1Row index of upper left corner左上角行坐标 
column1Column index of upper left corner左上角列坐标 
row2Row index of lower right corner右下角行坐标 
column2Column index of lower right corner右下角列坐标 
circularityCircularity圆度0~1
compactnessCompactness紧密度0~1
contlengthTotal length of contour轮廓线总长 
convexityConvexity凸性 
rectangularityRectangularity矩形度0~1
raMain radius of the equivalent ellipse等效椭圆长轴半径长度 
rbSecondary radius of the equivalent ellipse等效椭圆短轴半径长度 
phiOrientation of the equivalent ellipse等效椭圆方向 
anisometryAnisometry椭圆参数,Ra/Rb长轴与短轴的比值 
bulkinessBulkiness椭圆参数,蓬松度π*Ra*Rb/A 
struct_factorStructur Factor 椭圆参数,Anisometry*Bulkiness-1 
outer_radiusRadius of smallest surrounding circle最小外接圆半径 
inner_radiusRadius of largest inner circle最大内接圆半径 
inner_widthWidth of the largest axis-parallel rectangle that fits into the region最大内接矩形宽度 
inner_heightHeight of the largest axis-parallel rectangle that fits into the region最大内接矩形高度 
dist_meanMean distance from the region border to the center区域边界到中心的平均距离 
dist_deviationDeviation of the distance from the region border from the center区域边界到中心距离的偏差 
roundnessRoundness圆度,与circularity计算方法不同 
num_sidesNumber of polygon sides多边形边数 
connect_numNumber of connection components连通数 
holes_numNumber of holes区域内洞数 
area_holesArea of the holes of the object所有洞的面积 
max_diameterMaximum diameter of the region最大直径 
orientationOrientation of the region区域方向 
euler_numberEuler number欧拉数,即连通数和洞数的差 
rect2_phiOrientation of the smallest surrounding rectangle最小外接矩形的方向 
rect2_len1Half the length of the smallest surrounding rectangle最小外接矩形长度的一半??smallest_rectangle2
rect2_len2Half the width of the smallest surrounding rectangle最小外接矩形宽度的一半 
moments_m11Geometric moments of the region几何矩 
moments_m20Geometric moments of the region几何矩 
moments_m02Geometric moments of the region几何矩 
moments_iaGeometric moments of the region几何矩 
moments_ibGeometric moments of the region几何矩 
moments_m11_invarGeometric moments of the region几何矩 
moments_m20_invarGeometric moments of the region几何矩 
moments_m02_invarGeometric moments of the region几何矩 
moments_phi1Geometric moments of the region几何矩 
moments_phi2Geometric moments of the region几何矩 
moments_m21Geometric moments of the region几何矩 
moments_m12Geometric moments of the region几何矩 
moments_m03Geometric moments of the region几何矩 
moments_m30Geometric moments of the region几何矩 
moments_m21_invarGeometric moments of the region几何矩 
moments_m12_invarGeometric moments of the region几何矩 
moments_m03_invarGeometric moments of the region几何矩 
moments_m30_invarGeometric moments of the region几何矩 
moments_i1Geometric moments of the region几何矩 
moments_i2Geometric moments of the region几何矩 
moments_i3Geometric moments of the region几何矩 
moments_i4Geometric moments of the region几何矩 
moments_psi1Geometric moments of the region几何矩 
moments_psi2Geometric moments of the region几何矩 
moments_psi3Geometric moments of the region几何矩 
moments_psi4Geometric moments of the region几何矩 
转载自:http://www.cnblogs.com/iluzhiyong/p/4857877.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: