mitk::Image::Initialize(vtkImageData* vtkimagedata) incorrectly initialized the origin of the mitk::Image for origins != (0,0,0)
Description
Description
Related Objects
Related Objects
Event Timeline
Comment Actions
To fix this issue add
slicedGeometry->SetOrigin(origin);
after
// re-initialize SlicedGeometry3D
to
mitkImage.cpp in mitk::Image::Initialize(vtkImageData* ...).
Comment Actions
[SVN revision 24680]
FIX (#4734): corrected mitk::Image::Initialize(vtkImageData*) for vtkImageData with origin != (0,0,0); added test code for this