<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->SetFixedImageRegion(fixedImageReader->GetOutput()->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 <Massinissa.Bandou@USherbrooke.ca><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> .....<br> .....<br> typedef itk::ImageFileReader< FixedImageType > FixedImageReaderType;<br> typedef itk::ImageFileReader< MovingImageType > MovingImageReaderType;<br> FixedImageReaderType::Pointer fixedImageReader =<br>FixedImageReaderType::New();<br> MovingImageReaderType::Pointer movingImageReader =<br>MovingImageReaderType::New();<br> <br> fixedImageReader->SetFileName(FixedImage);<br> movingImageReader->SetFileName(MovingImage);<br> <br> registration->SetFixedImage(fixedImageReader->GetOutput());<br>
registration->SetMovingImage(movingImageReader->GetOutput());<br> <br> fixedImageReader->Update();<br> <br>registration->SetFixedImageRegion(fixedImageReader->GetOutput()->*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>