how to open .nhdr file

2 views (last 30 days)
mohd akmal masud
mohd akmal masud on 16 Jul 2023
Commented: DGM on 16 Jul 2023
Dear all,
I have .nhdr file. as attched
Anyone can help me to open it?

Accepted Answer

DGM
DGM on 16 Jul 2023
It's just text, but there's already tools to read these files specifically, either with or without the associated data file.
headerInfo = nhdr_nrrd_read('res.nhdr',false) % read the header by itself
  4 Comments
mohd akmal masud
mohd akmal masud on 16 Jul 2023
Dear @DGM,
But I got error
headerInfo = nhdr_nrrd_read('res.nhdr',true) % read the data also
Error using nhdr_nrrd_read
While reading detached header file res.nhdr:
detached data file number 1/1 (data.raw) could not be opened.
DGM
DGM on 16 Jul 2023
I don't know why it can't read the file. I'm not familiar with these tools, and the error message doesn't say why it failed.

Sign in to comment.

More Answers (0)

Categories

Find more on Data Import and Analysis in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!