<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18812"></HEAD>
<BODY>
<DIV><FONT face=Verdana><FONT size=2>
<DIV><FONT color=#0000ff size=2 face=Verdana>I have problem with
that</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Verdana></FONT> </DIV>
<DIV>itkPixelType Pixel=new itkPixelType
(itkPixelTypeEnum.SignedShort);<BR>
itkImage ImageType = itkImage.New(Pixel, 3);<BR>
itkImageSeriesReader reader =
itkImageSeriesReader.New(ImageType);<BR>
itkGDCMImageIO <SPAN class=t_tag onclick=tagshow(event)
href="tag.php?name=DICOM">DICOM</SPAN>IO = itkGDCMImageIO.New();
<BR><BR> itkImageTo<SPAN class=t_tag onclick=tagshow(event)
href="tag.php?name=VTK">VTK</SPAN>ImageFilter connector =
itkImageToVTKImageFilter.New(ImageType);<BR><BR><BR>reader ->SetInput(
connector->GetOutput() ); (in C++) it works well.</DIV>
<DIV>reader .SetInput(connector.GetOutput());(in C#)
error: cannot convert from 'System.IntPtr' to 'itk.itkDataObject'</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>using </DIV>
<DIV>ManagedITK-VTK-bin-x86-3.10.0.1</DIV>
<DIV>ManagedITK-bin-x86-3.10.0.1</DIV>
<DIV> </DIV>
<DIV>thanks!</DIV></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV align=left><FONT size=2>
<HR style="WIDTH: 122px; HEIGHT: 2px" SIZE=2>
</FONT></DIV>
<DIV><FONT color=#c0c0c0><FONT size=2>钱天翼</FONT></FONT></DIV>
<DIV><FONT color=#c0c0c0 size=2></FONT> </DIV><FONT color=#c0c0c0>
<DIV>
<DIV><FONT size=2>清华大学医学院 </FONT><FONT size=2>生物医学工程系 </FONT><FONT
size=2>神经工程实验室</FONT> </DIV>
<DIV><FONT size=2>地址:清华大学医学院 C253</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>TianYi Qian Ph.D. Candidate</FONT></DIV>
<DIV><FONT size=2>Laboratory of Neuro Engineering,</FONT></DIV>
<DIV><FONT size=2>Department of Biomedical Engineering,</FONT><FONT
size=2><BR>Address: Room C253,Medical School.Tsinghua University<BR>Email:
</FONT><A href="mailto:aphroidteala@gmail.com" target=_blank><FONT
size=2>aphroidteala@gmail.com</FONT></A><BR><FONT size=2>MSN:<A
href="mailto:qiantianyi@hotmail.com">qiantianyi@hotmail.com</A></FONT></DIV>
<DIV><FONT size=2>QQ: 80913284</FONT></DIV>
<DIV><FONT size=2>Office: +86-10-62795904<BR>Mobile:+86-13811337821</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV></DIV>
<DIV><FONT size=2>2009-11-27</FONT></FONT></DIV></FONT></BODY></HTML>