How I can have the volume of a DICOM image

2 ビュー (過去 30 日間)
Vania krm
Vania krm 2018 年 7 月 4 日
コメント済み: Vania krm 2018 年 7 月 4 日
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 件のコメント
Rik
Rik 2018 年 7 月 4 日
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 2018 年 7 月 4 日
Rik you really help me. very very thanks and wish you best.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by