Functions | |
| fprintf (fid, '#Complete NRRD file format specification at:\n') | |
| end | fprintf (fid, 'NRRD0004\n') |
| if (~strcmp(upper(ext), '.NHDR')) nhdrFileName | |
| end save data in raw format Also saves a minimal going to overwrite later | nrrdSave (nhdrFileName, nrrdStructure.data) fid |
Variables | |
| function [] | |
| end save data in raw format Also saves a minimal | header = fileparts( nhdrFileName ) |
| if(fid==-1) fprintf('ABORT | return |
| fprintf | ( | fid | , | |
| '#Complete NRRD file format specification at:\n' | ||||
| ) |
| end fprintf | ( | fid | , | |
| 'NRRD0004\n' | ||||
| ) |
| if | ( | ~ | strcmpupper(ext), '.NHDR' | ) |
| end save data in raw format Also saves a minimal going to overwrite later nrrdSave | ( | nhdrFileName | , | |
| nrrdStructure. | data | |||
| ) |
Referenced by itk::CommandIO::Write(), and vtkNRRDWriter::WriteData().
| function[] |
saveNrrdStructure( nhdrFileName, nrrdStructure ) % writes a nhdr file structure to a nhdr file % can only write raw data for now % % writeNrrdStructure( nhdrFileName, nrrdStructure ) % % marc@bwh.harvard.edu % kquintus@bwh.harvard.edu [pathstr,matFileName,ext,versn] = fileparts( nhdrFileName )
| if (fid == -1) fprintf('ABORT return |
1.6.1