<div>Thanks Fucang!</div>
<div>Now it is working properly. You&nbsp;helped me a lot.</div>
<div>Regards,</div>
<div>Tatiana<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 10/17/06, <b class="gmail_sendername">jiafucang</b> &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:jiafucang@asisz.com" target="_blank">jiafucang@asisz.com</a>
&gt; wrote:</span> 
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div><font face="Verdana" color="#000000" size="2">Hi, Tatiana,</font></div>
<div><font face="Verdana" color="#0000ff" size="2"></font>&nbsp;</div>
<div><font face="Verdana" color="#000000" size="2">This is a problem after Kent refactored SetPixelType code from macro to template.</font></div>
<div><font face="Verdana" size="2"><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.itk.org/cgi-bin/viewcvs.cgi/Code/IO/itkImageIOBase.cxx?rev=1.58&amp;root=Insight&amp;view=log" target="_blank">
<font color="#000000">http://www.itk.org/cgi-bin/viewcvs.cgi/Code/IO/itkImageIOBase.cxx?rev=1.58&amp;root=Insight&amp;view=log</font></a><font color="#000000">, so if you use the itkImageIOBase.cxx revision 1.57,</font></font>
 </div>
<div><font face="Verdana" color="#000000" size="2">you can not see the error.</font></div>
<div><font face="Verdana" color="#000000" size="2"></font>&nbsp;</div>
<div><font face="Verdana" color="#000000" size="2">Hope this helps.</font></div>
<div><font face="Verdana" color="#000000" size="2"></font>&nbsp;</div>
<div><font face="Verdana" color="#000000" size="2">Fucang</font></div>
<div><font face="Verdana" size="2"></font>&nbsp;</div>
<div align="left"><font face="Verdana" size="2">
<hr>
</font></div>
<div><font face="Verdana"><font size="2"><strong>发件人:</strong> Tatiana Al-Chueyr Pereira Martins</font></font></div>
<div><font face="Verdana"><font size="2"><strong>发送时间:</strong> 2006-10-18&nbsp;02:26:26</font></font></div>
<div><font face="Verdana"><font size="2"><strong>收件人:</strong> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a></font></font></div>
<div><font face="Verdana"><font size="2"><strong>抄送:</strong> </font></font></div>
<div><font face="Verdana"><font size="2"><strong>主题:</strong> [Insight-users] Problem on runningHoughTransform2DLinesImageFilter.exe (ERROR: PNGImageIO)</font></font></div>
<div><span>
<div><font face="Verdana" size="2"></font>&nbsp;</div>
<div><font face="Verdana" size="2">
<div>Hi everyone,</div>
<div>&nbsp;</div>
<div>I'm newbie to itk. I couldn`t find any related error/problem on google, so I decided posting my problem.. Hope someone might help.</div>
<div>&nbsp;</div>
<div>While running *.exe examples generated for testing itk, I managed to run several examples successfully (such as FourierDescriptor1.exe)&nbsp; but when I tried to run HoughTransform2DLinesImageFilter.exe using HoughTransformTwoLines.png
 , teste.png and 2 as params, I got the following error:</div>
<div>&nbsp;</div>
<div>&lt;ERROR MSG&gt;</div>
<div>&nbsp;</div>
<div>C:\Insight_bin\bin\Release&gt;HoughTransform2DLinesImageFilter.exe ../../../Insight/Examples/Data/HoughTransformTwoLines.png teste.png 2<br>Applying gradient magnitude filter<br>Thresholding<br>Computing Hough Map<br>
Found 2 line(s).<br>Exception caught !</div>
<div>&nbsp;</div>
<div>itk::ExceptionObject (010FF894)<br>Location: &quot;unknown&quot;<br>File: C:\Insight\Code\IO\itkImageIOBase.cxx<br>Line: 361<br>Description: itk::ERROR: PNGImageIO(015DE250): Pixel type currently not supported. <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://typeid.name/" target="_blank">
typeid.name</a> = unsigned char</div>
<div>&nbsp;</div>
<div>&lt;/ERROR MSG&gt;</div>
<div>&nbsp;</div>
<div>Does anyone knows why this error is occuring?</div>
<div>&nbsp;</div>
<div>Currently using...</div>
<div>
<div>--------------------------------------</div>
<div>Windows XP Professional</div>
<div>ITK 2.8</div>
<div>CMake 2.4</div>
<div>Visual C++ 6.0</div>
<div>------------------------------------</div></div>
<div>&nbsp;</div>
<div>Thanks in advance,</div>
<div>&nbsp;</div>
<div>Tatiana</div></font></div></span></div></div></blockquote></div><br>