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

jiafucang jiafucang at asisz.com
Tue Oct 17 21:42:42 EDT 2006


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, 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 = 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20061018/31f2c4b2/attachment.htm


More information about the Insight-users mailing list