<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">I am using ".dicom" files, and have provided the full path for it. Anyway, I will check for it again. <br><br>Thank you for your reply. <br><br>--- On <b>Wed, 2/23/11, Dawood Masslawi <i>&lt;davoud_zzz@yahoo.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Dawood Masslawi &lt;davoud_zzz@yahoo.com&gt;<br>Subject: RE: How to write registration output of dicom series files?<br>To: "akbarjan bayiz" &lt;abayiz@yahoo.com&gt;<br>Cc: insight-users@itk.org<br>Date: Wednesday, February 23, 2011, 11:55 AM<br><br><div id="yiv154023420"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font: inherit;" valign="top">What type of writer (or reader) information do you printout to verify your data pipeline?<div><br></div><div>Check if you have provided the image format in
 the end of the image path (e.g. ".dcm" for</div><div><br></div><div>DICOM), but then again make sure your pipeline is getting the right arguments (input and</div><div><br></div><div>output).</div><div><br></div><div>Hope this helps,</div><div><br></div><div>Dawood</div><div><br></div><div><br>--- On <b>Wed, 2/23/11, akbarjan bayiz <i>&lt;abayiz@yahoo.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: akbarjan bayiz &lt;abayiz@yahoo.com&gt;<br>Subject: RE: How to write registration output of dicom series files?<br>To: "Dawood Masslawi" &lt;davoud_zzz@yahoo.com&gt;<br>Cc: insight-users@itk.org<br>Date: Wednesday, February 23,
 2011, 12:45 PM<br><br><div id="yiv154023420"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font: inherit;" valign="top">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>&lt;davoud_zzz@yahoo.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Dawood Masslawi &lt;davoud_zzz@yahoo.com&gt;<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="yiv154023420"><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&nbsp;writer&nbsp;</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>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;</div><div><br></div><div>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;</div><div><br></div><div><br></div><div><span class="yiv154023420Apple-style-span" style="font-family: Verdana,Geneva,Helvetica,Arial,sans-serif; border-collapse: collapse;">Hello all!&nbsp;<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:&nbsp;<br>===================================================&nbsp;<br>terminate called after throwing an instance of 'itk::ImageFileReaderException'&nbsp;<br>what(): &nbsp;/usr/local/include/InsightToolkit/IO/itkImageFileReader.txx:100:&nbsp;<br>FileName must be specified&nbsp;<br>Aborted&nbsp;<br>===================================================&nbsp;<br><br>How can I solve this? Can I get the registration output file(s)?&nbsp;<br><br>Thank you in advance!&nbsp;</span></div></td></tr></tbody></table><br>







      </div></blockquote></td></tr></tbody></table><br>







      </div></blockquote></div></td></tr></tbody></table><br>







      </div></blockquote></td></tr></table><br>