[Insight-users] Pipeline for ITK to VTK

Beck y_h_young at hotmail.com
Wed, 17 Mar 2004 21:09:21 +0800


This is a multi-part message in MIME format.

------=_NextPart_000_000B_01C40C64.1E7C1DD0
Content-Type: text/plain;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

Dear all:
    I want to test the pipeline for ITK to VTK so I open a jpeg file =
using ITK and display it using VTK.
I use pipeline below:


ImageFileReader---->ImageToVTKImageFilter---->vtkPolyDataMapper---->vtkAc=
tor--->vtkRenderer->Render();=20

but it will fail.Can somebody help me?

another question : Can VTK deal with full color jpeg image?

Thanks for any help.

Best Regard
Beck
 
------=_NextPart_000_000B_01C40C64.1E7C1DD0
Content-Type: text/html;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dbig5">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D4>Dear all:</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; </FONT><FONT size=3D4>I want to =
test the=20
pipeline for ITK to VTK so I open a jpeg file using ITK and display it =
using=20
VTK.</FONT></DIV>
<DIV><FONT size=3D4>I use pipeline below:</FONT></DIV>
<DIV><FONT size=3D4></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT=20
color=3D#800000>ImageFileReader----&gt;ImageToVTKImageFilter----&gt;vtkPo=
lyDataMapper----&gt;vtkActor---&gt;vtkRenderer-&gt;Render();</FONT>&nbsp;=
</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D4>but it will fail.Can somebody help me?</FONT></DIV>
<DIV><FONT size=3D4></FONT>&nbsp;</DIV>
<DIV><FONT size=3D4>another question : Can VTK deal with full color jpeg =

image?</FONT></DIV>
<DIV><FONT size=3D4></FONT>&nbsp;</DIV>
<DIV><FONT size=3D4>Thanks for any help.</FONT></DIV>
<DIV><FONT size=3D4></FONT>&nbsp;</DIV>
<DIV><FONT size=3D4>Best Regard</FONT></DIV>
<DIV><FONT size=3D4>Beck</FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_000B_01C40C64.1E7C1DD0--