HI All <br>
<br>
<div>This is the second time I am writing this message but still couldnt found the solution fo it ....<br>
</div>

<div>&nbsp;</div>

<div>I am trying to read a png image and wrtie it as analyze format. I have done this many times but </div>

<div>I have installed the newest version of ITK 2.4 and build it with
sucess. When try to run the same program for imagereadwrite&nbsp; I am
getting an error like memory could&nbsp; not be read<br>
<br>
<br>
Exact error<br>
ImageReadWrite.exe has encountered a problem and needs to close.&nbsp; We are sorry for the inconvenience.<br>
ppName: imagereadwrite.exe&nbsp;&nbsp;&nbsp; &nbsp;AppVer: <a href="http://0.0.0.0">0.0.0.0</a>&nbsp;&nbsp;&nbsp; &nbsp;ModName: imagereadwrite.exe<br>
ModVer: <a href="http://0.0.0.0">0.0.0.0</a>&nbsp;&nbsp;&nbsp; &nbsp;Offset: 0008a367<br>
<br>
cmake file:<br>
<br>
<br>
PROJECT( ImageReadWrite )<br>
<br>
FIND_PACKAGE ( ITK )<br>
IF ( ITK_FOUND )<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; INCLUDE( ${USE_ITK_FILE} )<br>
ENDIF( ITK_FOUND )<br>
<br>
<br>
ADD_EXECUTABLE(ImageReadWrite ImageReadWrite.cxx )<br>
TARGET_LINK_LIBRARIES(ImageReadWrite ITKCommon ITKIO)<br>
<br>
imagereadwrite.exe is exactly the same as in the examples<br>
I have also tried d t ochange the image type to float signed short<br>
</div>

<div>&nbsp;</div>

<div>Can someone explain me this? I cannot understand the reason why its notworking?</div>

<div>&nbsp;</div>

<div>Cheers</div>

ilker<br clear="all"><br>-- <br>------------------------------------------------------------------<br><br>'.....ich möchte mir eine ader öffnen, die mir die ewige freiheit schaffte....'<br><br>--------------------------------------------------------------------