Extract 3D shape information
4 次查看(过去 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 Processing and Computer Vision 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!