<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR>
<STYLE>
<!--
/* Font Definitions */
@font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Verdana;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
/* Page Definitions */
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        layout-grid:15.6pt;}
div.Section1
        {page:Section1;}
-->
</STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Verdana color=#000000 size=2>Hi, Tatiana,</FONT></DIV>
<DIV><FONT face=Verdana color=#0000ff size=2></FONT> </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
href="http://www.itk.org/cgi-bin/viewcvs.cgi/Code/IO/itkImageIOBase.cxx?rev=1.58&root=Insight&view=log"><FONT
color=#000000>http://www.itk.org/cgi-bin/viewcvs.cgi/Code/IO/itkImageIOBase.cxx?rev=1.58&root=Insight&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> </DIV>
<DIV><FONT face=Verdana color=#000000 size=2>Hope this helps.</FONT></DIV>
<DIV><FONT face=Verdana color=#000000 size=2></FONT> </DIV>
<DIV><FONT face=Verdana color=#000000 size=2>Fucang</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </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 02:26:26</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>收件人:</STRONG>
insight-users@itk.org</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><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>
<DIV>Hi everyone,</DIV>
<DIV> </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> </DIV>
<DIV>While running *.exe examples generated for testing itk, I managed to run
several examples successfully (such as FourierDescriptor1.exe) but when I
tried to run HoughTransform2DLinesImageFilter.exe using
HoughTransformTwoLines.png , teste.png and 2 as params, I got the following
error:</DIV>
<DIV> </DIV>
<DIV><ERROR MSG></DIV>
<DIV> </DIV>
<DIV>C:\Insight_bin\bin\Release>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> </DIV>
<DIV>itk::ExceptionObject (010FF894)<BR>Location: "unknown"<BR>File:
C:\Insight\Code\IO\itkImageIOBase.cxx<BR>Line: 361<BR>Description: itk::ERROR:
PNGImageIO(015DE250): Pixel type currently not supported. <A
href="http://typeid.name">typeid.name</A> = unsigned char</DIV>
<DIV> </DIV>
<DIV></ERROR MSG></DIV>
<DIV> </DIV>
<DIV>Does anyone knows why this error is occuring?</DIV>
<DIV> </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> </DIV>
<DIV>Thanks in advance,</DIV>
<DIV> </DIV>
<DIV>Tatiana</DIV></FONT></DIV></BODY></HTML>