how to open nrrd format using matlab

66 ビュー (過去 30 日間)
mohd akmal masud
mohd akmal masud 2022 年 8 月 2 日
コメント済み: mohd akmal masud 2022 年 8 月 9 日
Dear all,
I have nrrd format images (Segmentation.nrrd as attached).
How to open it?
I have download the nrrd format file reader (as attached)
But got error
g = nrrdread('Segmentation.nrrd');
Error using assert
Missing required metadata fields.
Error in nrrdread (line 76)
assert(isfield(meta, 'sizes') && ...
Anyone can help me?

採用された回答

yanqi liu
yanqi liu 2022 年 8 月 9 日
yes,sir,may be just modify the function,such as
g = nrrdread('Segmentation.nrrd');
figure; imshow(g(:,:,100), [])

その他の回答 (0 件)

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by