<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hello Dawood,<br><br>Thank you very much for your reply.<br><br>I have given the full address of the images, and by outputing the reader value to the screen, I can tell that the reader is working well. But when outputing the writer to the screen simply by "cout", it puts out the relevant writer information quite well, but among them, I found a sentence saying "The output file does not exist". <br><br>This really confuses me. Hope to receive further help. Thank you again in advance! <br><br>--- On <b>Wed, 2/23/11, Dawood Masslawi <i><davoud_zzz@yahoo.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Dawood Masslawi <davoud_zzz@yahoo.com><br>Subject: RE: How to write registration output of dicom series files?<br>To: abayiz@yahoo.com<br>Cc: insight-users@itk.org<br>Date:
Wednesday, February 23, 2011, 8:58 AM<br><br><div id="yiv152026264"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font: inherit;" valign="top">Hi Akbarjan,<div><br></div><div>You have to provide the full path of the images (not necessary for images in the same</div><div><br></div><div>folder as the binary file). Also, make sure that the arguments are passed to the writer </div><div><br></div><div>and reader filters
properly.</div><div><br></div><div>Regards,</div><div><br></div><div>Dawood</div><div><br></div><div><br></div><div>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<</div><div><br></div><div>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<</div><div><br></div><div><br></div><div><span class="yiv152026264Apple-style-span" style="font-family: Verdana,Geneva,Helvetica,Arial,sans-serif; border-collapse: collapse;">Hello all! <br><br>I am running a code about
registering dicom images in two different folders using Demons algorithm. But when I try to write out the registration output as file(s), I cannot get it correctly. It compiles quite well, but when running it, it gives this message: <br>=================================================== <br>terminate called after throwing an instance of 'itk::ImageFileReaderException' <br>what(): /usr/local/include/InsightToolkit/IO/itkImageFileReader.txx:100: <br>FileName must be specified <br>Aborted <br>=================================================== <br><br>How can I solve this? Can I get the registration output file(s)? <br><br>Thank you in advance! </span></div></td></tr></tbody></table><br>
</div></blockquote></td></tr></table><br>