标签: image-processing computer-vision discrete-mathematics vision
如何从图表a(链码)到图表b(曲率)?
0,0,2,0,1,0,7,6,0,0-> 0,2,-2,1,-1,-1,-1,2,0
答案 0 :(得分:1)
从图(a);链码出现如下:
根据[2] - 第186页;曲率是按照psuedo代码的脚趾计算的:
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