zoukankan      html  css  js  c++  java
  • Halcon常用算子02

    threshold:阈值分割       minGray<=g<=maxGray

    select_shape:选取特定区域(Region)

    regiongrowing:区域生长法分割图像获得region     

      regiongrowing(Image : Regions : Row, Column, Tolerance, MinSize : )

      Image:单通道图像

      Regions:获得Region

      Row,Column:掩模的宽和高

      Tolerance:掩模内灰度值差小于这个值认为同一个region

      MinSize:单个region最小面积值

    area_center:计算Region面积和中心   如果是Regions,面积和中心坐标会是数组

    **********************************************************************************************************************************************************

    并  union1(Region:RegionUnion::):联合有连通性质的区域

       union2(reg1,reg2:RegionUnion::):把reg1和reg2合并为一个Region

    交     intersection:计算两个区域的共有region

    差  difference:计算区域差

    非  complement:计算一个区域的补(非)

    **********************************************************************************************************************************************************

    shape_trans(Region:RegionTrans:Type:):输入区域Region的Type特征转换为RegionTrans

        eg.   shape_trans(reg1,reg2,“outer_circle”):reg1的外接圆是reg2

  • 相关阅读:
    hdu 4707 Pet
    hdu 3584 Cube (三维树状数组)
    poj 2155 Matrix (树状数组)
    poj 1195 Mobile phones (树状数组)
    工厂方法模式
    简单工厂模式
    关于设计模式
    UML类图
    UML
    【转载】UML用例图
  • 原文地址:https://www.cnblogs.com/yangmengke2018/p/8747475.html
Copyright © 2011-2022 走看看