3Dデータ中の球体カウント
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
医用画像のテクスチャ解析のために、3Dデータ中の球をカウントする方法を知りたいです。
対象の3Dデータは添付画像をイメージしています。
5 comentarios
Respuesta aceptada
michio
el 19 de En. de 2018
Editada: michio
el 19 de En. de 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 comentarios
Takuji Fukumoto
el 19 de En. de 2018
Volume画像で数の測定だけでなく、形状の解析もされる場合には regionprops3 も便利ですので、よろしければご利用ください。 https://www.mathworks.com/help/releases/R2017b/images/ref/regionprops3.html
Más respuestas (0)
Ver también
Categorías
Más información sobre 領域とイメージのプロパティ en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!