zoukankan      html  css  js  c++  java
  • IM hole

    函数im.AnalyzeMeasureHoles

    (image: imImage, connect: number, [region_count: number])
    -> counter: boolean, holes_count: number, holes_area: table of numbers, holes_perim: table of numbers 

    connectRegions can be 4 connected or 8 connected

    自Function Documentation下的第一个函数(imAnalyzeFindRegions)的参数(connect)的说明。

    region_count:The number of regions found

    自..同上。

    im.AnalyzeFindRegionsNew-im.AnalyzeMeasureHoles

    本栏(Image Analysis)下都/多是基于im.AnalyzeFindRegions

    area使用:

    [const] int* area [in C], area: table of numbers [in Lua]
    aera是数组

    area是子区域(Region)是区域的集合。
    int region_count: number

    • polygonal area
    • area of Regions.
    • 无areas
    • holes in regions/area are not included

    Regions使用:

      • Find white regions in binary image.
      • Regions can be 4 connected or 8 connected.
      • The number of regions found.
      • Measure the actual area of all regions.
      • Measure the number of holes of all regions.
      • the perimeter line of all regions
      • number of pixels of each region
        (region->pixel)s
  • 相关阅读:
    hangfire 本地可以正常打开hangfire页面,发布后报401
    core 引用webservice
    ABP自带原框架生成使用
    ABP框架问题排查记录
    转-image js binary
    贪心算法
    动态规划-练习
    分治算法-快速,归并
    ECMAScript5的新特性
    css-动画
  • 原文地址:https://www.cnblogs.com/RobertL/p/15268252.html
Copyright © 2011-2022 走看看