[Insight-users] ITK writing problems

Rodolfo Palacios rpalacios75 at hotmail.com
Mon Feb 14 11:23:42 EST 2005


Hi Luis,

I tried the ImageReadWrite.cxx example as you told me to and I got the same 
error message:

The instruction at "xxxxxxxx" referenced memory at "xxxxxxx". The memory 
could not be "written".

I think that this is an IO problem for sure.

Thank you.

Rodolfo Palacios.



>Hi Rodolfo,
>
>Please try first the example:
>
>    Insight/Examples/IO/
>               ImageReadWrite.cxx
>
>
>Execute it with a command line like:
>
>      ImageReadWrite   in.png  out.png
>
>and let us know if it works (or if it
>give you an error message).
>
>
>That will help to identify if you have
>an IO problem or a watershed problem.
>
>
>
>     Thanks
>
>
>
>         Luis
>
>
>-----------------------
>Rodolfo Palacios wrote:
>
> > Hello,
> >
> > I've recompiled ITK several times with different configurations and
> > still can't make it work properly!
> >
> > I am using:
> >
> > Borland 5.5.1 c++ compiler
> > windows 2000 profesional
> > vtk 4.4.2
> > ITK 2.0 and 1.8
> >
> > vtk works fine and ITK compiles with no errors or anything, but when I
> > try to run the compiled examples, only the ones that do NOT write
> > information to the hard drive work fine. When I try to run any of the
> > examples that do write to the hard drive I keep getting messages of the
> > form:
> >
> > WatershedSegmentation1.exe - Application Error
> > The instruction at "0x325506f6" refereced memory at "0x01157972". The
> > memory could not be "written".
> > Click OK to terminate the program
> >
> > The example with parameters that I'm trying to run is:
> >
> > WatershedSegmentation1 in.png out.png 2 10 0 0.05 1
> >
> > Thank you.
> >
> > Rodolfo Palacios.




More information about the Insight-users mailing list