Hi,Ivo,
thank you for your answer,this overflow  is not any more.before i asked you 
about the mitkSurfaceToImageFilter, i want to use the surface to cut  parts of 
mitkImage, but it works not. now i use the intern code from 
mitkSurfaceToImageFilter to finish my job, it works, but the answer is not 100% 
correct. now i have one surface, and it should cut about 10 slices image in 
horizontal or vertical , but my solution can get only 4 slices from the image, 
do you know, how about this question?
 
 

 
Guo,Yanmin
Darmstadt  Deutschland
Phone(handy):0179-4820889
 > Date: Fri, 5 Sep 2008 15:48:22 +0200> From: [EMAIL PROTECTED]> To: [EMAIL 
 > PROTECTED]> CC: [email protected]> Subject: Re: [mitk-users] 
 > stencil to mitkimage> > Do you call stencil->Update() before you pass it to 
 > Initialize()?> > guoyanmin wrote:> >> > 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,> >> >> >> >> > 
 > ------------------------------------------------------------------------> > 
 > “七件武器,七种完美” 立刻体验! <http://get.live.cn>> > 
 > ----------------------------------------------------
 --------------------> >> > 
-------------------------------------------------------------------------> > 
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> > > > > -- > 
----------------------------------------------------------------------> Dr. Ivo 
Wolf, Dipl.-Phys. Phone: (+49) 6221/42-2327> Deutsches Krebsforschungszentrum 
Fax: (+49) 6221/42-2345> Div. Medical and Biological Informatics (E130)> Im 
Neuenheimer Feld 280 email: [EMAIL PROTECTED]> D-69120 Heidelberg, Germany 
http://mbi.dkf
 z-heidelberg.de> 
----------------------------------------------------------------------> 
Confidentiality Note: This message is intended only for the use of the> named> 
recipient(s) and may obtain confidential and/or privileged information.> If 
you> are not the intended recipient, please contact the sender and delete the> 
message.> Any unauthorized use of the information contained in this message is> 
prohibited.> 
_________________________________________________________________
多个邮箱同步管理,live mail客户端万人抢用中
http://get.live.cn/product/mail.html
-------------------------------------------------------------------------
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

Reply via email to