回答

1

從圖(a)可以看出,鏈式碼出來是如下:

Chain Code of figure (a)

根據[2] - 186頁;曲率通過以下僞代碼計算出來:

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