[Insight-developers] re-using ImageFileWriter

Julien Jomier jjomier at cs . unc . edu
Thu, 29 May 2003 15:26:36 -0400


Lydia,

I just checked in a fix.
Let me know if you have any more problems.

Thanks for the bug report :)

Julien

> -----Original Message-----
> From: insight-developers-admin at public . kitware . com 
> [mailto:insight-developers-admin at public . kitware . com] On 
> Behalf Of Stephen R. Aylward
> Sent: Wednesday, May 28, 2003 11:09 PM
> To: Lydia Ng
> Cc: insight-dev-list
> Subject: Re: [Insight-developers] re-using ImageFileWriter
> 
> 
> It is a known problem - the good news is that Julien is now on it :)
> 
> Should be fixed in no time.... :)
> 
> s
> 
> Lydia Ng wrote:
> > I apologize if this issue was raised before.
> > 
> > A colleague was having problems writing out meta image files. After 
> > successfully writing out one meta (.mhd) file he wanted to 
> reuse the 
> > writer to write out another file and got an access violation at 
> > MetaImage::ElementDataFileName().
> > 
> > As a workaround I got him just to instantiate a new writer.
> > 
> > Is it possible to re-use the writer/metaIO object?
> > If not, can we get it to throw some sort of exception?
> > 
> > - Lydia
> > 
> > _______________________________________________
> > Insight-developers mailing list 
> Insight-developers at public . kitware . com
> > http://public . kitware . com/mailman/listinfo/insight-developers
> 
> 
> -- 
> ===========================================================
> Dr. Stephen R. Aylward
> Associate Professor of Radiology
> Adjunct Associate Professor of Computer Science and Surgery 
http://caddlab . rad . unc . edu aylward at unc . edu
(919) 966-9695

_______________________________________________
Insight-developers mailing list Insight-developers at public . kitware . com
http://public . kitware . com/mailman/listinfo/insight-developers