hallo every
i want your help, i got one vtkImageStencil, want convert this to the mitk
image, use these code
mitk::Image::Pointer neu_image;
neu_image->SetSpacing(image->GetTimeSlicedGeometry()->GetGeometry3D(0)->GetSpacing());
neu_image->SetVolume(stencil->GetOutput()->GetScalarPointer());
neu_image->Initialize(stencil->GetOutput());
neu_image->Modified();
there is always the overflow from neu_image->Initialize(stencil->GetOutput());
can anybody tell me some tipps,
_________________________________________________________________
新年换新颜,快来妆扮自己的MSN给心仪的TA一个惊喜!
http://im.live.cn/emoticons/?ID=18
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users