【问题标题】:How to compute curvature from chain code in image processing?如何在图像处理中从链码计算曲率?
【发布时间】:2017-04-10 03:27:32
【问题描述】:

如何从图表 a(链码)到图表 b(曲率)?

0, 0, 2, 0, 1, 0, 7, 6, 0, 0 --> 0, 2, -2, 1, -1, -1, -1, 2, 0

【问题讨论】:

    标签: image-processing computer-vision discrete-mathematics vision


    【解决方案1】:

    从图(a);链码出来如下:

    根据 [2] - 第 186 页;曲率是通过toe计算的,下面的伪代码:

    c = d - di
    
    for all di such that d remains within a limit of ±2 (critical point of a chain code)
    
    if c < 2 then c+7
    if c > 2 then c-7
    

    所以这给出了所需的结果 (b)。

    参考:Google Books

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-09-28
      • 2018-08-21
      • 2011-06-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多