zoukankan      html  css  js  c++  java
  • Halcon 获取XLD轮廓全局属性值

    使用算子:get_contour_global_attrib_xld(Contour : : Name : Attrib)

    query_contour_global_attribs_xld 可用于查询特定的轮廓设置了哪些全局属性

     'bright_dark'

     每个输出XLD轮廓的转换类型存储在属性“bright_dark”中。如果连接线形成明暗转换(从左到右,从起点到终点),则将其设置为1.0,否则将其设置为0.0。

    示例性XLD轮廓(红色和绿色)沿着整流网格的边缘(从起点到终点的方向由箭头指示)。转换类型存储在属性“bright_dark”中,红色轮廓为1.0,绿色轮廓为0.0。

    The attribute 'bright_dark' is added by the following operator:

    connect_grid_points

     'cont_approx'

    轮廓的最佳近似方法由属性'cont_approx'表示:对于'cont_approx'=-1,轮廓的最佳近似方法是用一条线段表示,对于'cont_approx'=0,用一条椭圆曲线表示,对于'cont_approx'=1,用一条圆弧表示。

    The attribute 'cont_approx' is added by the following operator:

    segment_contours_xld

     'is_hole'  对于包含孔的边界,将全局轮廓属性'is_hole'设置为1,否则设置为0。
     'regr_dev_dist'

    轮廓线点与回归线之间(欧几里得)距离的标准差。

    The attribute 'regr_dev_dist' is added by the following operator:

    regress_contours_xld

     'regr_dist'

    回归线到图像坐标系统原点的最小距离。

    The attribute 'regr_dev_dist' is added by the following operator:

    regress_contours_xld

     'regr_mean_dist'

    包含每个等高线点到回归线之间的欧式距离的平均值。

    The attribute 'regr_dev_dist' is added by the following operator:

    regress_contours_xld

     'regr_norm_col'

     回归线单位法向量的列坐标,法向量从原点指向该线。

    The attribute 'regr_dev_dist' is added by the following operator:

    regress_contours_xld

     'regr_norm_row'

     回归线单位法向量的行坐标,法向量从原点指向该线。

    The attribute 'regr_dev_dist' is added by the following operator:

    regress_contours_xld

     

    绘制属性“regr_dist”、“regr_norm_col”、“regr_norm_row”的草图,用于回归XLD轮廓(红色)。'regr_mean_dist'和'regr_dev_dist'是从轮廓线点到回归线(实心黑线)的距离(黑色箭头)计算得到的。

  • 相关阅读:
    python,os操作文件,文件路径(上一级目录)
    python屏幕的交互(读取输出信息)input,raw_input的区别
    Shell script 传参数处理(默认变量)
    python 2.4 的字符串转时间(日期减法取间隔时间)
    java的hashcode(结合hashset讲解)
    μCOS-II系统之事件(event)的使用规则及Semaphore的相互排斥量使用方法
    HDU 1079 Calendar Game (博弈论-sg)
    flume MemoryChannel 源代码解析
    MySQL查询时强制区分大写和小写
    蓝桥杯——真题训练之李白打酒
  • 原文地址:https://www.cnblogs.com/zhengzc/p/12871347.html
Copyright © 2011-2022 走看看