How to divide a binary skeletonized image into 6 rectangular segments?
이전 댓글 표시
Hi Everyone I am doing a project on offline signature verification and recognition ,in which i need to find out the texture feature of an image.for which i have to divide the skeletonized image into 6 rectangular segments. Can any body suggest me the code to divide a binary skeletonized image into 6 rectangular segments.
답변 (2개)
Sean de Wolski
2012년 4월 26일
0 개 추천
mat2cell()?
댓글 수: 4
Jyoti
2012년 4월 26일
Sean de Wolski
2012년 4월 26일
mat2cell will do this for you if you feed it the matrix and to vectors with how many elements to place in each of 2x3 cells.
http://www.mathworks.com/help/techdoc/ref/mat2cell.html
Image Analyst
2012년 4월 26일
Where did you post your image?
Walter Roberson
2012년 4월 26일
6 segments of 2 rows and 3 columns would be at most 12 rows or 18 columns. What do you want to do with the rest of the 19 x 61 matrix?
Image Analyst
2012년 4월 26일
0 개 추천
How do you want to split it up? Are there any branchpoints? bwmorph() has a options to detect branchpoints and that could let you split the skeleton up into a bunch of separate line segments, basically because it removes the branchpoints that connect them.
카테고리
도움말 센터 및 File Exchange에서 Morphological Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!