generate chain code
4 次查看(过去 30 天)
显示 更早的评论
hi sir, is that matlab function that can be used to generate a 3 by 3 logical matrix using chain code..?for example the code is useful in shape representation.pls advice.cud u explain how to used the chain code in matlab
0 个评论
采纳的回答
Shree Nath
2012-6-9
you mean freeman chain codes? use bwboundaries() to get the boundary coordinates and the assuming 8 directions (1,1)(1,0),(0,1),(1,-1)(-1,-1),(0,-1) etc.. for (∆x,∆y).. generate the code in string format..
更多回答(1 个)
Shree Nath
2012-6-25
these may be used as an alternate for..lets say the function which the boudry coordinates are following.. many a times .. the type of curves and turns are unique for a particular character, like inner region of the Q,the G, and the outer boundries of A...etc etc
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!