3Dデータ中の球体カウント
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
医用画像のテクスチャ解析のために、3Dデータ中の球をカウントする方法を知りたいです。
対象の3Dデータは添付画像をイメージしています。
5 commentaires
Réponse acceptée
michio
le 19 Jan 2018
Modifié(e) : michio
le 19 Jan 2018
もし画像のように綺麗に分離している球体の形をしている点群のみであれば MATLAB の alphaShape オブジェクトでうまくいくかもしれません。いろんな形の塊が存在しその中から球体を見つける、という場合には別の方法を考える必要があります。
[x1, y1, z1] = sphere(24);
x1 = x1(:);
y1 = y1(:);
z1 = z1(:);
x2 = x1+5;
P = [x1 y1 z1; x2 y1 z1];
P = unique(P,'rows');
plot3(P(:,1),P(:,2),P(:,3),'.')
axis equal
grid on
shp = alphaShape(x,y,z);
numRegions(shp)
3 commentaires
Takuji Fukumoto
le 19 Jan 2018
Volume画像で数の測定だけでなく、形状の解析もされる場合には regionprops3 も便利ですので、よろしければご利用ください。 https://www.mathworks.com/help/releases/R2017b/images/ref/regionprops3.html
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur 領域とイメージのプロパティ dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!