Skip to content

BUG: Copy direction cosines to exported image data

Copy direction cosines (DirectionMatrix) from vtkMRMLVolumeNode to the extracted vtkImageData before exporting. This is in concurrence with other grid related metadata such as origin and spacing, that need to be copied before exporting vtkImageData.

Refer to discussion here [1] for the necessity to do this. [1] https://github.com/Slicer/Slicer/blob/d010e8c075a9a66ce21a38ed549a20296ab7669d/Libs/MRML/Core/vtkMRMLVolumeNode.h#L174

Addresses issue aeva#273 (closed)

Before After
before after
Edited by Shreeraj Jadhav

Merge request reports