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

Kent Williams kent at psychiatry.uiowa.edu
Mon Oct 23 15:51:32 EDT 2006


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
>   



More information about the Insight-users mailing list