how to open nrrd format using matlab

27 Ansichten (letzte 30 Tage)
mohd akmal masud
mohd akmal masud am 2 Aug. 2022
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?

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Data Import and Analysis finden Sie in Help Center und File Exchange

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by