how to open nrrd format using matlab

27 visualizaciones (últimos 30 días)
mohd akmal masud
mohd akmal masud el 2 de Ag. de 2022
Comentada: mohd akmal masud el 9 de Ag. de 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?

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Data Import and Analysis en Help Center y File Exchange.

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by