Extract 3D shape information
조회 수: 8 (최근 30일)
이전 댓글 표시
I have a binary 3 dimensional matrix that represent shapes in space. For ease of understanding, imagine a box shaped element in space. I am looking for a description of its main features like breath, width, length, MajorAxisLength, MinorAxisLength, orientation and angle. The image processing toolbox is very powerful in 2D, however in 3D usinjg bwlabeln I only get area, centroid, bounding box and pixellist. I have checked on the work of David Legland (<http://www.mathworks.com/matlabcentral/fileexchange/33690-geometric-measures-in-2d-3d-images)>, which is great. But here, for example using imMeanBreadth, a mean over the three directions will be given. Therefore I am looking for an even more comprehensive description of shapes and would be happy about hints.
댓글 수: 0
채택된 답변
Image Analyst
2016년 3월 8일
You could look at image moments. I'm attaching a demo that could easily be adapted to 3D.
You can check out my attached demo that finds the two points farthest from each other, again adaptable to 3D.
Let's say that you had a set of numbers that described very well your 3D shape. What would you do with that information? Knowing what you want to do may suggest which attributes should be measured.
댓글 수: 2
Ahmet Cecen
2016년 3월 8일
If your shapes are simple enough the above should work.
I will add that if your shapes are reasonably complex, much more robust and helpful descriptors than average non-descript measures like mean length this, maxlenght that, can be obtain by using Chord Length Distributions or Spatial Correlations. These are especially useful for comparative purposes, even more so in real datasets from XCT and such, versus randomly generated digital data.
They are not straightforward concepts to write here though, so hit me up (my contact info is easy to find) if the above suggestions from ImageAnalyst doesn't work.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!