How I can have the volume of a DICOM image

2 visualizaciones (últimos 30 días)
Vania krm
Vania krm el 4 de Jul. de 2018
Comentada: Vania krm el 4 de Jul. de 2018
dose this line of this code is correct to heve the sum of all voxels in image?
if(exist('filename','var')==0) [filename, pathname] = uigetfile('*.nii', 'Read nii-file'); filename = [pathname filename]; end s1=sum(filename(:))
  6 comentarios
Rik
Rik el 4 de Jul. de 2018
If you use that function to read your data, and that function has no bugs, then S=sum(V(:)); will give you the sum.
To correctly format code on this forum, select all the code you pasted and the click the {}Code button.
Vania krm
Vania krm el 4 de Jul. de 2018
Rik you really help me. very very thanks and wish you best.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by