[Insight-users] imagereadwrite error!!!!!

ilker hacıhaliloğlu hacihaliloglu at gmail.com
Fri Mar 10 00:58:13 EST 2006


HI All

This is the second time I am writing this message but still couldnt found
the solution fo it ....

I am trying to read a png image and wrtie it as analyze format. I have done
this many times but
I have installed the newest version of ITK 2.4 and build it with sucess.
When try to run the same program for imagereadwrite  I am getting an error
like memory could  not be read


Exact error
ImageReadWrite.exe has encountered a problem and needs to close.  We are
sorry for the inconvenience.
ppName: imagereadwrite.exe     AppVer: 0.0.0.0     ModName:
imagereadwrite.exe
ModVer: 0.0.0.0     Offset: 0008a367

cmake file:


PROJECT( ImageReadWrite )

FIND_PACKAGE ( ITK )
IF ( ITK_FOUND )
         INCLUDE( ${USE_ITK_FILE} )
ENDIF( ITK_FOUND )


ADD_EXECUTABLE(ImageReadWrite ImageReadWrite.cxx )
TARGET_LINK_LIBRARIES(ImageReadWrite ITKCommon ITKIO)

imagereadwrite.exe is exactly the same as in the examples
I have also tried d t ochange the image type to float signed short

Can someone explain me this? I cannot understand the reason why its
notworking?

Cheers
ilker

--
------------------------------------------------------------------

'.....ich möchte mir eine ader öffnen, die mir die ewige freiheit
schaffte....'

--------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20060309/fc39aee0/attachment.html


More information about the Insight-users mailing list