generate chain code
조회 수: 5 (최근 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!