Measuring Binary Image Data
이전 댓글 표시
See attached file for my binary image. I have two questions:
Do any of you know how I can measure the more linear "body"? Right now my program is measuring the bottom cluster of pixels when I want it to measure the linear body.
My code for this:
labeledImage = bwlabel(binaryImage);
measurements = regionprops(labeledImage, 'all');
% Crop it to the bounding box.
bb = measurements.BoundingBox;
My other question is is it possible to just measure the right hand side of the linear portion of pixels and ignore the "tail end" on the left hand side where it makes a 90 degree angle?
If you need further details please let me know. Thanks!
채택된 답변
추가 답변 (1개)
Coulton
2012년 10월 4일
0 개 추천
댓글 수: 2
Image Analyst
2012년 10월 4일
Was this supposed to be a comment to my Answer?
Coulton
2012년 10월 4일
카테고리
도움말 센터 및 File Exchange에서 Region and Image Properties에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!