<HTML>
<FONT style="FONT-SIZE: 10pt; FONT-FAMILY: tahoma">
<DIV>Hi, Kent,</DIV>
<DIV> </DIV>
<DIV>I also tested using current CVS and it failed in VC6 Service Pack6, so
I think it is vc6 compiler</DIV>
<DIV>specific. </DIV>
<DIV> </DIV>
<DIV>Thanks!</DIV>
<DIV> </DIV>
<DIV>Fucang<BR> </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 <kent@psychiatry.uiowa.edu><BR>To:
jiafucang <jiafucang@asisz.com><BR>Cc: Tatiana Al-Chueyr Pereira
Martin <tati.alchueyr@gmail.com>, insight-users
<insight-users@itk.org><BR>Date: Mon, 23 Oct 2006 14:51:32 -0500<BR>
Subject: Re: [Insight-users] Problem on
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>> Hi, Tatiana,<BR>> This is a problem after Kent
refactored SetPixelType code from macro<BR>> to template.<BR>> <A
href="http://www.itk.org/cgi-bin/viewcvs.cgi/Code/IO/itkImageIOBase.cxx?rev=1.58&root=Insight&view=log"
target=_blank>
http://www.itk.org/cgi-bin/viewcvs.cgi/Code/IO/itkImageIOBase.cxx?rev=1.58&root=Insight&view=log</A>
<BR>> <<A
href="http://www.itk.org/cgi-bin/viewcvs.cgi/Code/IO/itkImageIOBase.cxx?rev=1.58&root=Insight&view=log"
target=_blank>
http://www.itk.org/cgi-bin/viewcvs.cgi/Code/IO/itkImageIOBase.cxx?rev=1.58&root=Insight&view=log</A>
>,<BR>> so if you use the itkImageIOBase.cxx revision 1.57,<BR>>
you can not see the error.<BR>> Hope this helps.<BR>> Fucang<BR>>
------------------------------------------------------------------------<BR>
> *发件人:* Tatiana Al-Chueyr Pereira Martins<BR>>
*发送时间:* 2006-10-18 02:26:26<BR>> *收件人:*
insight-users@itk.org<BR>> *抄送:*<BR>> *主题:*
[Insight-users] Problem on<BR>>
runningHoughTransform2DLinesImageFilter.exe (ERROR: PNGImageIO)<BR>> Hi
everyone,<BR>> I'm newbie to itk. I couldn`t find any related
error/problem on<BR>> google, so I decided posting my problem.. Hope
someone might help.<BR>> While running *.exe examples generated for
testing itk, I managed to<BR>> run several examples successfully (such as
FourierDescriptor1.exe) but<BR>> when I tried to run
HoughTransform2DLinesImageFilter.exe using<BR>>
HoughTransformTwoLines.png , teste.png and 2 as params, I got the<BR>>
following error:<BR>> <ERROR MSG><BR>>
C:\Insight_bin\bin\Release>HoughTransform2DLinesImageFilter.exe<BR>>
../../../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 !<BR>
> 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<BR>>
not supported. typeid.name <<A href="http://typeid.name" target=_blank>
http://typeid.name</A>> = unsigned char<BR>> </ERROR MSG><BR>
> Does anyone knows why this error is occuring?<BR>> Currently
using...<BR>> --------------------------------------<BR>> Windows XP
Professional<BR>> ITK 2.8<BR>> CMake 2.4<BR>> Visual C++ 6.0<BR>
> ------------------------------------<BR>> Thanks in advance,<BR>>
Tatiana<BR>>
------------------------------------------------------------------------<BR>
><BR>> _______________________________________________<BR>>
Insight-users mailing list<BR>> Insight-users@itk.org<BR>> <A
href="http://www.itk.org/mailman/listinfo/insight-users" target=_blank>
http://www.itk.org/mailman/listinfo/insight-users</A><BR>> <BR><BR>
</DIV></BLOCKQUOTE>
</HTML>