3Dデータ中の球体カウント
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
医用画像のテクスチャ解析のために、3Dデータ中の球をカウントする方法を知りたいです。
対象の3Dデータは添付画像をイメージしています。
5 Kommentare
Akzeptierte Antwort
michio
am 19 Jan. 2018
Bearbeitet: michio
am 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 Kommentare
Takuji Fukumoto
am 19 Jan. 2018
Volume画像で数の測定だけでなく、形状の解析もされる場合には regionprops3 も便利ですので、よろしければご利用ください。 https://www.mathworks.com/help/releases/R2017b/images/ref/regionprops3.html
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu 領域とイメージのプロパティ finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!