3Dデータ中の球体カウント

3 Ansichten (letzte 30 Tage)
VAMOU
VAMOU am 19 Jan. 2018
Kommentiert: VAMOU am 25 Jan. 2018
医用画像のテクスチャ解析のために、3Dデータ中の球をカウントする方法を知りたいです。
対象の3Dデータは添付画像をイメージしています。
  5 Kommentare
VAMOU
VAMOU am 19 Jan. 2018
仰るように3つの球体はそれぞれ小さな球体で構成されたかたまりとして、元データは3次元点群座標データ(x,y,z)です。 MATLAB内のヘルプにありました例「球内の乱数」に輝度値をランダムに与えて作成しております。
michio
michio am 19 Jan. 2018
詳細ありがとうございます。

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

michio
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
Takuji Fukumoto am 19 Jan. 2018
Volume画像で数の測定だけでなく、形状の解析もされる場合には regionprops3 も便利ですので、よろしければご利用ください。 https://www.mathworks.com/help/releases/R2017b/images/ref/regionprops3.html
VAMOU
VAMOU am 25 Jan. 2018
Fukumotoさん
参考に致します。ありがとうございます。

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!