How to convert nrrd file to xml+hdr
    15 views (last 30 days)
  
       Show older comments
    
Dear Expert,
I have nrrd file after done segmentation using 3D Slicer. I want convert it to xml and hdr file. The example of xml and hdr file as attached. The original file (dicom) also I have as attached. you can get all the data in this link. 
Anyone can help me to convert nrrd file to xml+hdr
Please help me
0 Comments
Answers (1)
  vidyesh
      
 on 27 Oct 2025 at 7:23
        Hello Mohd,
I have not taken a look at your files yet, but the below functions should help you achieve te conversion:
1) NNRD Format File Reader: https://www.mathworks.com/matlabcentral/fileexchange/50830-nrrd-format-file-reader?s_tid=ta_fx_results
2) There are multiple ways to create an XML file, I feel this would be the best in your case:
0 Comments
See Also
Categories
				Find more on Convert Image Type in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
