- 27
- 0
- 约1.78千字
- 约 17页
- 2021-01-23 发布于广东
- 举报
图像、窗口基础操作部分
基础操作
dev_close_window();dev_open_window( : : Row, Column, Width, Height,
Background : WindowHandle);Row,Column:文字坐标,默认 12
Color:文字颜色,默认black,可选, black, blue, yellow, red, green, cyan, magenta, forest green, lime green, coral, slate blue
Box:是否包含在一个背景框内,默认true,可选true, false;decompose3(MultiChannelImage : Image1, Image2, Image3 : : );区域处理部分
基础操作
threshold(Image : Region : MinGray, MaxGray : );difference(Region, Sub : RegionDifference : : );阈值分割
threshold(Image : Region : MinGray, MaxGray : );dual_threshold(Image : RegionCrossings : MinSize, MinGray,
Threshold : );dilation_rectangle1(Region : RegionDilation : Width, Height : );Mode:生成方式,默认’border’,可输入范围区域:border, border_holes, center;转换操作
shape_trans_xld(XLD : XLDTrans : Type : );RowEnd,ColEnd:拟合后得到的直线结束点坐标 Nr,Nc:直线的法向量
Dist:原点到直线的距离;fit_rectangle2_contour_xld(Contours : : Algorithm,
MaxNumPoints, MaxClosureDist, ClippingEndPoints, Iterations,
ClippingFactor : Row, Column, Phi, Length1, Length2, PointOrder);Int1 Int2
Uint2 Int4
Int8
Byte:最常见的灰度图像,8 位,一个字节,0~255 Real
Direction Cyclic Complex;area_holes:所有洞的面积 max_diameter:最大直径 orientate:区域方向
euler_number:欧拉数,即连通数和洞数的差 rect2_phi:最小外接矩形的方向
rect2_len1:最小外接矩形长度的一半?? rect2_len2: 最小外接矩形宽度的一半 moments_m11:几何矩
moments_m20:几何矩
moments_m02:几何矩 moments_ia:几何矩 moments_ib:几何矩
moments_m11_invar:几何矩 moments_m20_invar:几何矩 moments_m02_invar:几何矩
moments_phi1:几何矩 moments_phi2:几何矩 moments_m21:几何矩 moments_m12:几何矩 moments_m03:几何矩 moments_m30:几何矩 moments_m21_invar:几何矩 moments_m12_invar:几何矩 moments_m03_invar:几何矩 moments_m30_invar:几何矩 moments_i1:几何矩
moments_i2:几何矩 moments_i3:几何矩
moments_i4:几何矩 moments_psi1:几何矩 moments_psi2:几何矩 moments_psi3:几何矩
moments_psi4:几何矩;XLD 轮廓的转化类型说明
Convex:凸壳(貌似是去除表面凹处);轮廓拟合算法说明
拟合直线
原创力文档

文档评论(0)