<div><span class="Apple-style-span" style="font-family: 'lucida Grande', Verdana; line-height: 23px; "><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; ">hi;</div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; ">excuse me;</div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; ">Recently, I use the code folded in &nbsp; *:\*\ITK\src\InsightToolkit-3.20.0\Examples\Registration\DeformableRegistration1.cxx;</div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; ">the relative configuration file folded in &nbsp;*:\*\ITK\src\InsightToolkit3.20.0\Examples\Data\FiniteElementRegistrationParameters1.txt;</div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; ">when I build the solution,it works well.</div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; "><br></div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; ">It &nbsp;deal with 2D image, Seen in &nbsp;FiniteElementRegistrationParameters1.txt,we can proof it from the follow information,</div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; ">the first is,</div><div style="color: rgb(0, 0, 0); ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1 1 &nbsp; &nbsp;<span class="Apple-tab-span" style="white-space: pre; ">        </span>% Scaling at lowest level of pyramid</div><div style="color: rgb(0, 0, 0); ">the second is,</div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; "><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;../../Insight/Examples/Data/RatLungSlice1.mha &nbsp;% ReferenceFileName</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;../../Insight/Examples/Data/RatLungSlice2.mha &nbsp;% TargetFileName</div></div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; "><br></div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; "><br></div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; ">Now,I want to deal with 3D images, so I just do changes &nbsp;as follow:</div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; "><div style="line-height: 1.5; color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; ">the first is,</div><div style="line-height: 1.5; ">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1 1 1 &nbsp;&nbsp;<span class="Apple-tab-span" style="white-space: pre; ">        </span>% Scaling at lowest level of pyramid</div><div style="line-height: 1.5; ">the second is,</div></div><div style="font-family: Verdana; font-size: 14px; "><div style="color: rgb(0, 0, 0); "><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;F:/Tangtang/artery/zeng_yu_lan/zeng_yu_lan_10846_5_.hdr</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;F:/Tangtang/vein/zeng_yu_lan/zeng_yu_lan_10846_8_.hdr</div></div><div style="color: rgb(0, 0, 0); "><br></div><div style="color: rgb(0, 0, 0); ">after done this, I build the solution, and then debug. But the win32 console desk shows:</div><div style="color: rgb(0, 0, 0); "><br></div><div><font class="Apple-style-span" color="#FF0000">Reading config file...*:\*\ITK\src\InsightToolkit3.20.0\Examples\Data\FiniteElementRegistrationParameters1.txt</font></div><div><font class="Apple-style-span" color="#FF0000">Example configured. E 4 rho 10000</font></div><div><font class="Apple-style-span" color="#FF0000">reading moving</font></div><div><font class="Apple-style-span" color="#FF0000">reading fixed&nbsp;</font></div><div><font class="Apple-style-span" color="#FF0000">Exception caught during reference file reading</font></div><div><font class="Apple-style-span" color="#FF0000"><br></font></div><div><font class="Apple-style-span" color="#FF0000">itk::ImageFileReaderException &lt;00ADF8a0&gt;</font></div><div><font class="Apple-style-span" color="#FF0000">location: "void __this call itk::ImageFileReader&lt;class itk:: unsigned char,2&gt;,class itk::DefaultConvertPixelTraits&lt;unsigned char&gt;&gt;::GenerateOutputInforamtion&lt;Void&gt;"</font></div><div><font class="Apple-style-span" color="#FF0000">File: d:\home\itk\src\insighttoolkit-3.20.0\code\itkImageReader.txx</font></div><div><font class="Apple-style-span" color="#FF0000">line:100</font></div><div><font class="Apple-style-span" color="#FF0000">Description:FileName must be specified</font></div><div style="color: rgb(0, 0, 0); "><br></div><div style="color: rgb(0, 0, 0); "><br></div><div style="color: rgb(0, 0, 0); ">I don't know how to solve this problem.</div><div style="color: rgb(0, 0, 0); ">hoping you can help me.</div><div style="color: rgb(0, 0, 0); ">thx.</div><div style="color: rgb(0, 0, 0); "><br></div><div style="color: rgb(0, 0, 0); ">Juan</div></div></span></div>