<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">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="Apple-style-span" style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; border-collapse: collapse; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">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></table><br>