How I can have the volume of a DICOM image
2 ビュー (過去 30 日間)
古いコメントを表示
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
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.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!