[Insight-users] Errors in Read/Write examples...msVC_6.0_sp6

vic roc victorxstc at yahoo.com
Tue Jun 20 18:18:12 EDT 2006


Hi all dear friends
{
After making itk(2.6) , (using cMake 2.2) , and
building it by msVC_6.0 without any error, .exe files
(examples) about image reading and writing , generated
such errors :
(for all kinds of images) :
.................................................
F:\newITK\bin\Debug>imagereadwrite.exe c:\SomePic.jpg
c:\someOtherPic.jpg

ExceptionObject caught !

itk::ExceptionObject (0117F3AC)
Location: "unknown"
File:
F:\InsightToolkit-2.6.0\Code\IO\itkJPEGImageIO.cxx
Line: 404
Description: itk::ERROR: JPEGImageIO(016DDF00): JPEG
supports unsigned char/int
only

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

F:\newITK\bin\Debug>imagereadwrite.exe c:\16_color.bmp
c:\somepic.bmp

Only BMP depths of (8,24) are supported. Not 4
ExceptionObject caught !

itk::ExceptionObject (0117F124)
Location: "unknown"
File:
F:\InsightToolkit-2.6.0\Code\IO\itkBMPImageIO.cxx
Line: 536
Description: itk::ERROR: BMPImageIO(016DD3C0):
BMPImageIO supports unsigned char
 only

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

F:\newITK\bin\Debug>imagereadwrite.exe
c:\256_color.bmp c:\somepic.bmp

ExceptionObject caught !

itk::ExceptionObject (0117F124)
Location: "unknown"
File:
F:\InsightToolkit-2.6.0\Code\IO\itkBMPImageIO.cxx
Line: 536
Description: itk::ERROR: BMPImageIO(016DD3C0):
BMPImageIO supports unsigned char
 only

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

F:\newITK\bin\Debug>imagereadwrite.exe c:\24_bit.bmp
c:\somepic.bmp

ExceptionObject caught !

itk::ExceptionObject (0117F124)
Location: "unknown"
File:
F:\InsightToolkit-2.6.0\Code\IO\itkBMPImageIO.cxx
Line: 536
Description: itk::ERROR: BMPImageIO(016DD3C0):
BMPImageIO supports unsigned char
 only

.............................................
can anybody please help me about reading and writing
images in ITK?
thanks alot in advance
}


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Insight-users mailing list