<HTML>
<FONT style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma">
<DIV>Hi, Kent,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I also tested using current CVS and it failed in VC6 Service Pack6, so 
I think&nbsp;it&nbsp;is vc6 compiler</DIV>
<DIV>specific. </DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks!</DIV>
<DIV>&nbsp;</DIV>
<DIV>Fucang<BR>&nbsp;</DIV></FONT><BR>
<BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; 
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">-----Original 
Message-----<BR>From: Kent Williams &lt;kent@psychiatry.uiowa.edu&gt;<BR>To: 
jiafucang &lt;jiafucang@asisz.com&gt;<BR>Cc: Tatiana Al-Chueyr Pereira 
Martin &lt;tati.alchueyr@gmail.com&gt;, insight-users 
&lt;insight-users@itk.org&gt;<BR>Date: Mon, 23 Oct 2006 14:51:32 -0500<BR>
Subject: Re: [Insight-users] Problem on&nbsp; 
&nbsp;runningHoughTransform2DLinesImageFilter.exe (ERROR: PNGImageIO)<BR><BR>

<DIV style="FONT-FAMILY: monospace, courier new, courier">Actually, with the 
current CVS version of Insight, I don't see this<BR>error at all.<BR><BR>
jiafucang wrote:<BR>&gt; Hi, Tatiana,<BR>&gt; This is a problem after Kent 
refactored SetPixelType code from macro<BR>&gt; to template.<BR>&gt; <A 
href="http://www.itk.org/cgi-bin/viewcvs.cgi/Code/IO/itkImageIOBase.cxx?rev=1.58&amp;root=Insight&amp;view=log" 
target=_blank>
http://www.itk.org/cgi-bin/viewcvs.cgi/Code/IO/itkImageIOBase.cxx?rev=1.58&amp;root=Insight&amp;view=log</A>
<BR>&gt; &lt;<A 
href="http://www.itk.org/cgi-bin/viewcvs.cgi/Code/IO/itkImageIOBase.cxx?rev=1.58&amp;root=Insight&amp;view=log" 
target=_blank>
http://www.itk.org/cgi-bin/viewcvs.cgi/Code/IO/itkImageIOBase.cxx?rev=1.58&amp;root=Insight&amp;view=log</A>
&gt;,<BR>&gt; so if you use the itkImageIOBase.cxx revision 1.57,<BR>&gt; 
you can not see the error.<BR>&gt; Hope this helps.<BR>&gt; Fucang<BR>&gt; 
------------------------------------------------------------------------<BR>
&gt; *发件人:* Tatiana Al-Chueyr Pereira Martins<BR>&gt; 
*发送时间:* 2006-10-18 02:26:26<BR>&gt; *收件人:* 
insight-users@itk.org<BR>&gt; *抄送:*<BR>&gt; *主题:* 
[Insight-users] Problem on<BR>&gt; 
runningHoughTransform2DLinesImageFilter.exe (ERROR: PNGImageIO)<BR>&gt; Hi 
everyone,<BR>&gt; I'm newbie to itk. I couldn`t find any related 
error/problem on<BR>&gt; google, so I decided posting my problem.. Hope 
someone might help.<BR>&gt; While running *.exe examples generated for 
testing itk, I managed to<BR>&gt; run several examples successfully (such as 
FourierDescriptor1.exe) but<BR>&gt; when I tried to run 
HoughTransform2DLinesImageFilter.exe using<BR>&gt; 
HoughTransformTwoLines.png , teste.png and 2 as params, I got the<BR>&gt; 
following error:<BR>&gt; &lt;ERROR MSG&gt;<BR>&gt; 
C:\Insight_bin\bin\Release&gt;HoughTransform2DLinesImageFilter.exe<BR>&gt; 
../../../Insight/Examples/Data/HoughTransformTwoLines.png teste.png 2<BR>
&gt; Applying gradient magnitude filter<BR>&gt; Thresholding<BR>&gt; 
Computing Hough Map<BR>&gt; Found 2 line(s).<BR>&gt; Exception caught !<BR>
&gt; itk::ExceptionObject (010FF894)<BR>&gt; Location: "unknown"<BR>&gt; 
File: C:\Insight\Code\IO\itkImageIOBase.cxx<BR>&gt; Line: 361<BR>&gt; 
Description: itk::ERROR: PNGImageIO(015DE250): Pixel type currently<BR>&gt; 
not supported. typeid.name &lt;<A href="http://typeid.name" target=_blank>
http://typeid.name</A>&gt; = unsigned char<BR>&gt; &lt;/ERROR MSG&gt;<BR>
&gt; Does anyone knows why this error is occuring?<BR>&gt; Currently 
using...<BR>&gt; --------------------------------------<BR>&gt; Windows XP 
Professional<BR>&gt; ITK 2.8<BR>&gt; CMake 2.4<BR>&gt; Visual C++ 6.0<BR>
&gt; ------------------------------------<BR>&gt; Thanks in advance,<BR>&gt; 
Tatiana<BR>&gt; 
------------------------------------------------------------------------<BR>
&gt;<BR>&gt; _______________________________________________<BR>&gt; 
Insight-users mailing list<BR>&gt; Insight-users@itk.org<BR>&gt; <A 
href="http://www.itk.org/mailman/listinfo/insight-users" target=_blank>
http://www.itk.org/mailman/listinfo/insight-users</A><BR>&gt; &nbsp; <BR><BR>
</DIV></BLOCKQUOTE>
</HTML>