When saving a 4D image in NRRD format, it is split up into multiple 3D volumes. NRRD should be capable of saving 4D information into one file.
As a standard format, it must be capable!
For a sample 4D file, please check T:\temp\4d.pic
graser | |
May 25 2011, 4:56 PM |
F682: mini_4DalsNed_S0_E1_T0.nrrd | |
Jun 29 2011, 1:44 PM |
F681: NRRD_ImageWriting.patch | |
Jun 24 2011, 5:28 PM |
When saving a 4D image in NRRD format, it is split up into multiple 3D volumes. NRRD should be capable of saving 4D information into one file.
As a standard format, it must be capable!
For a sample 4D file, please check T:\temp\4d.pic
Status | Assigned | Task | ||
---|---|---|---|---|
Wontfix | None | T4181 Dynamic file extension retriever for ITK supported formats | ||
Wontfix | None | T8000 GIPL image file format unsuitable for multiple component images | ||
Wontfix | kislinsk | T8092 Cannot save RGB images in specific formats | ||
Resolved | None | T8211 NRRD format does not save 4D images |
apparently it is saved as multiple indentical 4D images... same problem goes for ".nii" format
Jan + Clerance: now the nrrd format is treated specially to solve this issue in the mitkImageWriter.
TODO: verify this
the proposed modification (see the attached patch) works on Windows platform.
Tested scenario: load an 4D image, save as NRRD (using the patched source) and load the saved image again.
[9b54e3]: Merge branch 'bug-8211-NRRD_Format'
2011-06-27 10:00:55 Jan Hering [0cc1ae]
Added code for writing .nrrd images separately
in mitk::ImageWriter