[Insight-users] Writing images to files

chris harris chrisharrisgod at yahoo.com
Tue Sep 7 12:46:40 EDT 2004


Hi.
    Iam trying to write an Image to a file
outputFilename with the following lines

WriterType::Pointer writer = WriterType::New();

writer->SetFileName(outputFilename);

writer->SetInput(image);

but Iam getting an error 

Image1.cxx:51:`outputFilename'
   undeclared (first use this function)

Can any one help me out in figuring out the problem?


=====
Thanks
Chris harris


		
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail 


More information about the Insight-users mailing list