Ok, i solved the rendering problem with mitk::Surface (i made Verts instead of
Polys, lol).
But i cannot explain me the offset between my image and my segmentation, has
anyone an idea?
________________________________
Von: Lodron, Gerald [mailto:[email protected]]
Gesendet: Dienstag, 13. Juli 2010 19:05
An: '[email protected]'
Betreff: [mitk-users] Bug with mitk::Image::Initialize(vtkImageData)?
Hi
I have an vtkImageData and a corresponding segmentation (vtkPolyData) which i
want to display with mitk. I use mitk::Image::Initialize(vtkImageData) to get a
mitk image from vtk and mitk::Surface to convert the segmentation.
My problem:
my vtkimage has Origin (-350,-358.203, -1363.5) and the mitk::Image has an
origin at (-478.45, -489,664, -2727, from Details View in AppExt->DataManager)
The Spacing (1.367, 1.367, 2) was set correctly
The problem is that when i display both they were not registered (but in my own
VTK visualization they were registered)...
Any suggestions?
Another strange behaviour is that my mitk::Surface is only displayed in the 3D
Widget, not in the 2D Slices. Can anyone say me why?
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users