zoukankan      html  css  js  c++  java
  • Halcon阈值分割

    threshold(Image : Region : MinGray, MaxGray : )

    全局阈值分割,用户指定硬阈值

    binary_threshold(Image : Region : Method, LightDark : UsedThreshold)

    全局阈值分割,指定计算阈值

    fast_threshold(Image : Region : MinGray, MaxGray, MinSize : )

    使用全局阈值快速分割

    auto_threshold(Image : Regions : Sigma : )

    先通过高斯滤波对灰度直方图进行平滑,然后计算出极小值点,然后在极小值点处对图像进行分割,Regions数目为minima+1

    dyn_threshold(OrigImage, ThresholdImage : RegionDynThresh : Offset, LightDark : )

    使用局部阈值对图像进行分割,一般ThresholdImage由OrigImage进行平滑滤波得到,滤波模板尺寸越大,则找到的区域越大,一般设置模板尺寸为要提取目标的直径值的2倍。

    local_threshold(Image : Region : Method, LightDark, GenParamName, GenParamValue : )

    局部阈值分割,基于局部的均值和标准差

    watersheds(Image : Basins, Watersheds : : )

    分水岭分割,适用于目标物体具有蜂窝状结构,一般阈值分割前先进行滤波

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

    区域生长阈值分割,适用于目标物具有一致的灰度值,一般阈值分割前先进行滤波

  • 相关阅读:
    fstat、stat和lstat 区别
    listen()函数中的SOMAXCONN含义
    #ifndef#define#endif的用法(整理)
    stdin和STDIN_FILENO的区别(转)
    S_ISREG等几个常见的宏
    *_t 数据类型
    IO模式精细讲解: MSG_DONTWAIT 、 MSG_WAITALL
    c标准函数库(查阅使用)
    stdint.h
    C# RichTextBox控件常用屬性和事件
  • 原文地址:https://www.cnblogs.com/larry-xia/p/12095174.html
Copyright © 2011-2022 走看看