How to extract 40 points from each slice in binary image ?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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.
0 Kommentare
Antworten (1)
Azzi Abdelmalek
am 10 Jul. 2016
Bearbeitet: Azzi Abdelmalek
am 10 Jul. 2016
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)
Siehe auch
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!