<div dir="ltr"><span style="font-size:13px">Hi! thanks for your answer...</span><div style="font-size:13px"><br></div><div style="font-size:13px">I use images of RIRE BD (<a href="http://www.insight-journal.org/rire/" target="_blank">http://www.insight-journal.org/rire/</a>), my initial tests I make with package training_001 (CT - MR_PD). Following recommendation here is my configuration:</div><div style="font-size:13px"><br></div><div style="font-size:13px"><br></div><div style="font-size:13px"><div> metric->SetNumberOfHistogramBins( 50 );</div><div> double samplingPercentage = 0.002;</div><div> registration->SetMetricSamplingPercentage( samplingPercentage );</div><div> RegistrationType::MetricSamplingStrategyType samplingStrategy =</div><div> RegistrationType::REGULAR;</div></div><div style="font-size:13px"><br></div><div style="font-size:13px">Unfortunately, the results were not good ... the average execution time remains the same (25 ~ 30 seconds). With a population size equal to 50, the execution time of an iteration is in the order of 25 minutes, very slow for me ...<br></div><div style="font-size:13px"><br></div><div style="font-size:13px">These are the image data:<br></div><div style="font-size:13px"><br></div><blockquote style="font-size:13px;margin:0px 0px 0px 40px;border:none;padding:0px">Fixed Image:</blockquote><blockquote style="font-size:13px;margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">ObjectType = Image</blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">NDims = 3</blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">BinaryDataByteOrderMSB = True</blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">AnatomicalOrientation = LPH</blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">ElementSpacing = 0.653595 0.653595 4.000000</blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><b>DimSize = 512 512 29</b></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">ElementType = MET_SHORT</blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">ElementDataFile = image.bin</blockquote></blockquote><div style="font-size:13px"><br></div><div style="font-size:13px">Moving Image:</div><blockquote style="font-size:13px;margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">ObjectType = Image</blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">NDims = 3</blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">BinaryDataByteOrderMSB = True</blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">AnatomicalOrientation = LPH</blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">ElementSpacing = 1.250000 1.250000 4.000000</blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><b>DimSize = 256 256 26</b></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">ElementType = MET_SHORT</blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">ElementDataFile = image.bin</blockquote></blockquote><div style="font-size:13px"><br></div><div style="font-size:13px"><br></div><div style="font-size:13px">Thanks and regards!</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-03-10 9:59 GMT-03:00 Bradley Lowekamp <span dir="ltr"><<a href="mailto:blowekamp@mail.nih.gov" target="_blank">blowekamp@mail.nih.gov</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
Unfortunately, I can help much because of lack of information.<br>
<br>
I can tell you I just wrote SimpleITK registration code which uses Mattes Mutual Information, Versor Rigid Transform, with a Regular Step Gradient Descent optimizer . The sampling percentage for the metric is 0.2, and the volumes are about 60^3 each. This is able to do the registration in about 8 iterations in 0.3 seconds.<br>
<br>
Brad<br>
<div class="HOEnZb"><div class="h5"><br>
On Mar 9, 2015, at 7:02 PM, Gabriel A. Giménez <<a href="mailto:gabrielgimenez85@gmail.com">gabrielgimenez85@gmail.com</a>> wrote:<br>
<br>
> Hello everyone...<br>
><br>
> I'm working on a genetic optimizer for Rigid 3D Registration.<br>
><br>
> The fitness of each individual is calculated using Mattes Mutual<br>
> Information, the execution time of the metric is high ... (30 seconds on<br>
> average). This makes the registration too slow.<br>
><br>
> Any recommendations? could improve the performance metrics? otherwise most<br>
> appropriate metric?<br>
><br>
> Regards!<br>
><br>
><br>
><br>
> --<br>
> View this message in context: <a href="http://itk-insight-users.2283740.n2.nabble.com/Mattes-Mutual-Information-Speed-with-3D-Images-tp7586971.html" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/Mattes-Mutual-Information-Speed-with-3D-Images-tp7586971.html</a><br>
> Sent from the ITK Insight Users mailing list archive at Nabble.com.<br>
> _____________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Kitware offers ITK Training Courses, for more information visit:<br>
> <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
><br>
> Please keep messages on-topic and check the ITK FAQ at:<br>
> <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/insight-users" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
</div></div><div class="HOEnZb"><div class="h5">> _______________________________________________<br>
> Community mailing list<br>
> <a href="mailto:Community@itk.org">Community@itk.org</a><br>
> <a href="http://public.kitware.com/mailman/listinfo/community" target="_blank">http://public.kitware.com/mailman/listinfo/community</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><font color="#666666" size="1"><i><b>Gabriel Alberto Giménez.</b></i></font></div></div>
</div>