how to open nrrd format using matlab

51 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Data Import and Analysis 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by