[Insight-developers] re-using ImageFileWriter

Stephen R. Aylward aylward at unc . edu
Wed, 28 May 2003 23:08:35 -0400


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