<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">If some computation is taking more than a few minutes, it is best to switch to Release mode (or RelWithDebInfo) and then run it. With ITK code, Release mode is many times faster than Debug. </div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Completely running your example 1 on my PC took 2-3 minutes in Release mode (I switched after noticing how slow it is in Debug).</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">HTH</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 13, 2016 at 5:01 PM, Yohann Tschudi <span dir="ltr"><<a href="mailto:yxt227@med.miami.edu" target="_blank">yxt227@med.miami.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you very much !<br>
I let the default min and max pixel values ...<br>
<br>
Everything is corrected and is running correctly /a priori/ (not finished<br>
but first results seem ok).<br>
I am trying now on two examples :<br>
74x60x17 pixels and 28x27x13 (short example)<br>
It takes very long for the first one (5-7hours), a lot less for the second<br>
one (around 1h30).<br>
I will test several parameters: size of the window 5x5x5 (literature),<br>
number of bins (16), fix the offset (to be determined).<br>
<br>
You can find the two input examples here :<br>
Example_DataMatrix.csv<br>
<<a href="http://itk-insight-users.2283740.n2.nabble.com/file/n7588350/Example_DataMatrix.csv" rel="noreferrer" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/file/n7588350/Example_DataMatrix.csv</a>><br>
ExampleShort_DataMatrix.csv<br>
<<a href="http://itk-insight-users.2283740.n2.nabble.com/file/n7588350/ExampleShort_DataMatrix.csv" rel="noreferrer" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/file/n7588350/ExampleShort_DataMatrix.csv</a>><br>
<br>
and the code :<br>
TextureFeatures.cxx<br>
<<a href="http://itk-insight-users.2283740.n2.nabble.com/file/n7588350/TextureFeatures.cxx" rel="noreferrer" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/file/n7588350/TextureFeatures.cxx</a>><br>
<br>
Hope this will help someone.<br>
<br>
Thank you again for your really quick answers.<br>
I ll post some results if they are ok.<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Texture-analysis-two-basics-questions-tp7588334p7588350.html" rel="noreferrer" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Texture-analysis-two-basics-questions-tp7588334p7588350.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the ITK Insight Users mailing list archive at Nabble.com.<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
</div></div></blockquote></div><br></div>