[Insight-users] Problem on runningHoughTransform2DLinesImageFilter.exe (ERROR: PNGImageIO)

jiafucang jiafucang at asisz.com
Tue Oct 24 04:40:46 EDT 2006


Hi, Kent,

I also tested using current CVS and it failed in VC6 Service Pack6, so I 
think it is vc6 compiler
specific. 

Thanks!

Fucang
 


-----Original Message-----
From: Kent Williams <kent at psychiatry.uiowa.edu>
To: jiafucang <jiafucang at asisz.com>
Cc: Tatiana Al-Chueyr Pereira Martin <tati.alchueyr at gmail.com>, 
insight-users <insight-users at itk.org>
Date: Mon, 23 Oct 2006 14:51:32 -0500
Subject: Re: [Insight-users] Problem on   
runningHoughTransform2DLinesImageFilter.exe (ERROR: PNGImageIO)


Actually, with the current CVS version of Insight, I don't see this
error at all.

jiafucang wrote:
> Hi, Tatiana,
> This is a problem after Kent refactored SetPixelType code from macro
> to template.
> 
http://www.itk.org/cgi-bin/viewcvs.cgi/Code/IO/itkImageIOBase.cxx?rev=1.58&root=Insight&view=log
> 
<http://www.itk.org/cgi-bin/viewcvs.cgi/Code/IO/itkImageIOBase.cxx?rev=1.58&root=Insight&view=log>,
> so if you use the itkImageIOBase.cxx revision 1.57,
> you can not see the error.
> Hope this helps.
> Fucang
> ------------------------------------------------------------------------
> *发件人:* Tatiana Al-Chueyr Pereira Martins
> *发送时间:* 2006-10-18 02:26:26
> *收件人:* insight-users at itk.org
> *抄送:*
> *主题:* [Insight-users] Problem on
> runningHoughTransform2DLinesImageFilter.exe (ERROR: PNGImageIO)
> Hi everyone,
> 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.
> 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:
> <ERROR MSG>
> C:\Insight_bin\bin\Release>HoughTransform2DLinesImageFilter.exe
> ../../../Insight/Examples/Data/HoughTransformTwoLines.png teste.png 2
> Applying gradient magnitude filter
> Thresholding
> Computing Hough Map
> Found 2 line(s).
> Exception caught !
> itk::ExceptionObject (010FF894)
> Location: "unknown"
> File: C:\Insight\Code\IO\itkImageIOBase.cxx
> Line: 361
> Description: itk::ERROR: PNGImageIO(015DE250): Pixel type currently
> not supported. typeid.name <http://typeid.name> = unsigned char
> </ERROR MSG>
> Does anyone knows why this error is occuring?
> Currently using...
> --------------------------------------
> Windows XP Professional
> ITK 2.8
> CMake 2.4
> Visual C++ 6.0
> ------------------------------------
> Thanks in advance,
> Tatiana
> ------------------------------------------------------------------------
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20061024/b082c29a/attachment.htm


More information about the Insight-users mailing list