Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented workaround enabling new Gadgetron to read old ISMRMRD acq…
…uisition data (#1021) * implemented workaround enabling new Gadgetron to read old ISMRMRD acquisition data * added error and warning messages in cases of xml headers versions mismatch * more verbose error and warning messages in MRAcquisitionData::read * Fix MR Geometry (#980) * Added test in python for iamge geometry * Modified tests to write the nii files correctly * Added test for reorientation of mr images * Calculates MR geometry less wrong for stacks of 2D slices This is not correct yet since it is not well-defined what happens if there are larger gaps between different slices * Changed GeometricalInfo::operator==() to allow flaot comparison * Changed reorient and set_up_geom_info Now the first voxel center is shifted in the 2D case to -FOV/2 which is one slice spacing every next slice is then displaced by the slice spacing between neighboring slices. for the 3D case this does not have any effect * Added 3D reorientation test with bad test data path * Revert "Added 3D reorientation test with bad test data path" This reverts commit 21809e4. * Forgot to save before commit merge * Edited some comments * Added random parameters for reorientation test * Changed input files for python reorientation test * Updated comment * Reordered setup steps for 2D mr image * Modified output data path * Updated test to store data incorrect location * Fixed position computation of 2D MR images This contains two changes. * The images are now sorted wrt to their projection onto the slice direction. * The image position of a 2D image now contains the correct offset for each slice Comments detail the individual changes and their reason * Cleaned mr cpp tests [ci skip] * Modified MR dicom python test * Scales output image before writing dicom in test * Deleted obsolete test * Updated comment * Added check for float tolerance instead of == comparison * Updated comment * Updated changes.md * implemented workaround enabling new Gadgetron to read old ISMRMRD acquisition data * minor edits (trailing blanks etc) [ci skip] * reworded XML version error message [ci skip] Co-authored-by: Johannes Mayer <[email protected]>
- Loading branch information