<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi,</span></div><div><br><span></span></div><div><span>Please try to omit the asterisk, it should be:</span></div><div><span><br></span></div><div><span> </span>registration-&gt;SetFixedImageRegion(fixedImageReader-&gt;GetOutput()-&gt;GetBufferedRegion() );</div><div><br></div><div>Abayiz<br></div><div><br></div>  <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight: bold;">From:</span></b> Massi &lt;Massinissa.Bandou@USherbrooke.ca&gt;<br> <b><span style="font-weight: bold;">To:</span></b> insight-users@itk.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, May 24, 2012 6:13 PM<br> <b><span
 style="font-weight: bold;">Subject:</span></b> [Insight-users] ImageRegistration1<br> </font> </div> <br>
Hi <br>I tried to compile a registration between two images using<br>ImageRegistration1.cxx example. When it comes to set the fixed image, I<br>can't find any member or object *GetBufferedRegion()*<br>&nbsp; &nbsp; .....<br>&nbsp; &nbsp; .....<br>&nbsp; &nbsp; typedef itk::ImageFileReader&lt; FixedImageType&nbsp; &gt; FixedImageReaderType;<br>&nbsp; &nbsp; typedef itk::ImageFileReader&lt; MovingImageType &gt; MovingImageReaderType;<br>&nbsp; &nbsp; FixedImageReaderType::Pointer&nbsp; fixedImageReader&nbsp; =<br>FixedImageReaderType::New();<br>&nbsp; &nbsp; MovingImageReaderType::Pointer movingImageReader =<br>MovingImageReaderType::New();<br>&nbsp; &nbsp; <br>&nbsp; &nbsp; fixedImageReader-&gt;SetFileName(FixedImage);<br>&nbsp; &nbsp; movingImageReader-&gt;SetFileName(MovingImage);<br>&nbsp; <br>&nbsp; &nbsp; registration-&gt;SetFixedImage(fixedImageReader-&gt;GetOutput());<br>&nbsp; &nbsp;
 registration-&gt;SetMovingImage(movingImageReader-&gt;GetOutput());<br>&nbsp; &nbsp; <br>&nbsp; &nbsp; fixedImageReader-&gt;Update();<br>&nbsp;  <br>registration-&gt;SetFixedImageRegion(fixedImageReader-&gt;GetOutput()-&gt;*GetBufferedRegion()*);<br><br>Why this problem?<br><br>Thank you<br><br>Massi<br><br>--<br>View this message in context: http://itk-insight-users.2283740.n2.nabble.com/ImageRegistration1-tp7575198.html<br>Sent from the ITK Insight Users mailing list archive at <a target="_blank" href="http://Nabble.com">Nabble.com</a>.<br>_____________________________________<br>Powered by <a target="_blank" href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br>http://www.kitware.com/opensource/opensource.html<br><br>Kitware offers ITK Training Courses, for more information visit:<br>http://www.kitware.com/products/protraining.php<br><br>Please keep messages on-topic and check the ITK FAQ
 at:<br>http://www.itk.org/Wiki/ITK_FAQ<br><br>Follow this link to subscribe/unsubscribe:<br>http://www.itk.org/mailman/listinfo/insight-users<br><br><br> </div> </div>  </div></body></html>