How to extract 40 points from each slice in binary image ?

조회 수: 5 (최근 30일)
agatte
agatte 2016년 7월 10일
댓글: agatte 2016년 7월 10일
Hello,
I have a small question. I have 3D binary image. I would like to extract 40 points/voxels from each slices. Is it possible in matlab ? Maybe someone has any idea ? I would be appreciate for any help please.

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2016년 7월 10일
편집: Azzi Abdelmalek 2016년 7월 10일
You didn't specify what 40 points?
A=rand(10,10,10)>0.5 % Example
n=size(A,3)
out=arrayfun(@(x) A(1:4,1:10,x),1:n,'un',0)
  댓글 수: 1
agatte
agatte 2016년 7월 10일
I need to extract 40 voxels from contour of binary image. From each slice 40 contour voxels ?

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by