<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hello,<div><br></div><div>Did you compile TextureFeatureImage in Release mode?</div><div><br></div><div>1) The filter does not scale well with a large radius. And given by your initial report of print a very large number of offset you, it sounds like you are using a large radius with many offsets. I created a 224x224x300 unsigned short image and ran with the default offset and a radius of 2 in 5 minutes on my laptop. When I wrote this filter is was ~10x faster than this example... things change though...</div><div><br></div><div><br></div><div>2) I sounds like the boundaries/limits of the histogram may be clipping you values. I would inspect the co-occurance matrix.</div><div><br></div><div><br></div><div>HTH,</div><div>Brad</div><div><br><div><div>On Sep 30, 2015, at 3:28 AM, Francisco Lopez de la Franca <<a href="mailto:franciscolopezdelafranca@gmail.com">franciscolopezdelafranca@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><div><div><div>I've tested with itkTextureFeatureImageFilter, with itk::ScalarImageToTextureFeaturesFilter and also with the <a href="http://itk.org/Wiki/ITK/Examples/Statistics/TextureFeatures">http://itk.org/Wiki/ITK/Examples/Statistics/TextureFeatures</a> example, for a 3D image and here are my comments:<br><br><br></div>1. I had to interrupt the test after several hours and it kept on calculating. And this is for only a 3D image (224x224x300). I need to process around 35 images.<br></div>2. The result (texture features: entropy, energy, correlation, LH, inertia, CS and CP) for every voxel was: [1, 0, 1, 0, 0, 0, 7.83083e+247]. These values were not what I expected based on my experience on another application I developed, but in that case, I calculated the texture features for an image as a whole, not voxel by voxel.<br><br></div>Regards.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-09-30 8:46 GMT+02:00 vis <span dir="ltr"><<a href="mailto:itkhelpacc@gmail.com" target="_blank">itkhelpacc@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">i yes i have tried radius = 3;<br>
still no luck<br>
<span class=""><br>
On Wed, Sep 30, 2015 at 12:06 PM, Francisco López-Franca [via ITK Insight<br>
Users] <<a href="mailto:ml-node%2Bs2283740n7587961h47@n2.nabble.com">ml-node+s2283740n7587961h47@n2.nabble.com</a>> wrote:<br>
<br>
> Have you tried with a radius of 3 instead of 1?<br>
><br>
</span>> 2015-09-30 8:26 GMT+02:00 vis <[hidden email]<br>
> <<a href="http:///user/SendEmail.jtp?type=node&node=7587961&i=0">http:///user/SendEmail.jtp?type=node&node=7587961&i=0</a>>>:<br>
<span class="">><br>
>> hey Matt,<br>
>> thanks for ur advice.. it did build successfully... but im not able to run<br>
>> the code for 2D png image... i tried to change the dimension to 2 and<br>
>> build<br>
>> it which it did.. but when i run the code using the command<br>
>> line itkTextureFeatureImageFilterTest.exe cthead.png putput.png 1... i see<br>
>> this output<br>
>><br>
>> offset: [-1, -1] [0, -1]<br>
>> offset: [0, -1] [1, -1]<br>
>> offset: [-1, 0] [0, 0]<br>
>> offset: [0, 0] [1, 0]<br>
>> offset: [-1, 1] [0, 1]<br>
>> offset: [0, 1] [1, 1] and it asks for abort the program... if pls tel me<br>
>> how can i modify this code to work wid 2d image... forgive me if my ques<br>
>> are really silly im trying to learn something..<br>
>> regards<br>
>> Vis<br>
>><br>
>> On Wed, Sep 30, 2015 at 2:56 AM, Matt McCormick-2 [via ITK Insight Users]<br>
>> <<br>
</span>>> [hidden email] <<a href="http:///user/SendEmail.jtp?type=node&node=7587961&i=1">http:///user/SendEmail.jtp?type=node&node=7587961&i=1</a>>><br>
<div><div class="h5">>> wrote:<br>
>><br>
>> > Hi,<br>
>> ><br>
>> > The function:<br>
>> ><br>
>> >   itkTextureFeatureImageFilterTest(int argc, char *argv[])<br>
>> ><br>
>> > must be renamed to<br>
>> ><br>
>> >   main(int argc, char* argv[])<br>
>> ><br>
>> > HTH,<br>
>> > Matt<br>
>> ><br>
>> > On Tue, Sep 29, 2015 at 6:08 AM, vis <[hidden email]<br>
>> > <<a href="http:///user/SendEmail.jtp?type=node&node=7587952&i=0">http:///user/SendEmail.jtp?type=node&node=7587952&i=0</a>>> wrote:<br>
>> ><br>
>> > > hi all,<br>
>> > > im trying to build the itkTextureFeatureImageFilterTest.cxx code but<br>
>> im<br>
>> > not<br>
>> > > able to it is showing the following error<br>
>> > > 1>------ Rebuild All started: Project: ZERO_CHECK, Configuration:<br>
>> Debug<br>
>> > x64<br>
>> > > ------<br>
>> > > 1>  Checking Build System<br>
>> > > 1>  CMake does not need to re-run because<br>
>> > > D:/ITK_VTK_EX/My_ITK_Ex/seg/Texture/test/bin/CMakeFiles/generate.stamp<br>
>> > is<br>
>> > > up-to-date.<br>
>> > > 2>------ Rebuild All started: Project:<br>
>> itkTextureFeatureImageFilterTest,<br>
>> > > Configuration: Debug x64 ------<br>
>> > > 2>  Building Custom Rule<br>
>> > > D:/ITK_VTK_EX/My_ITK_Ex/seg/Texture/test/CMakeLists.txt<br>
>> > > 2>  CMake does not need to re-run because<br>
>> > > D:\ITK_VTK_EX\My_ITK_Ex\seg\Texture\test\bin\CMakeFiles\generate.stamp<br>
>> > is<br>
>> > > up-to-date.<br>
>> > > 2>  itkTextureFeatureImageFilterTest.cxx<br>
>> > > 2>C:\Program Files (x86)\Microsoft Visual Studio<br>
>> > > 11.0\VC\include\xutility(2176): warning C4996: 'std::_Copy_impl':<br>
>> > Function<br>
>> > > call with parameters that may be unsafe - this call relies on the<br>
>> caller<br>
>> > to<br>
>> > > check that the passed values are correct. To disable this warning, use<br>
>> > > -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++<br>
>> > > 'Checked Iterators'<br>
>> > > 2>          C:\Program Files (x86)\Microsoft Visual Studio<br>
>> > > 11.0\VC\include\xutility(2157) : see declaration of 'std::_Copy_impl'<br>
>> > > 2><br>
>> > ><br>
>> c:\itk\source\modules\io\imagebase\include\itkImageFileReader.hxx(439) :<br>
>> > see<br>
>> > > reference to function template instantiation '_OutIt std::copy<const<br>
>> > > unsigned char*,unsigned char*>(_InIt,_InIt,_OutIt)' being compiled<br>
>> > > 2>          with<br>
>> > > 2>          [<br>
>> > > 2>              _OutIt=unsigned char *,<br>
>> > > 2>              _InIt=const unsigned char *<br>
>> > > 2>          ]<br>
>> > > 2><br>
>> > ><br>
>> c:\itk\source\modules\io\imagebase\include\itkImageFileReader.hxx(353) :<br>
>> > > while compiling class template member function 'void<br>
>> > > itk::ImageFileReader<TOutputImage>::GenerateData(void)'<br>
>> > > 2>          with<br>
>> > > 2>          [<br>
>> > > 2>              TOutputImage=InputImageType<br>
>> > > 2>          ]<br>
>> > > 2><br>
>> > ><br>
>> ><br>
>> D:\ITK_VTK_EX\My_ITK_Ex\seg\Texture\test\itkTextureFeatureImageFilterTest.cxx(47)<br>
>> ><br>
>> > > : see reference to class template instantiation<br>
>> > > 'itk::ImageFileReader<TOutputImage>' being compiled<br>
>> > > 2>          with<br>
>> > > 2>          [<br>
>> > > 2>              TOutputImage=InputImageType<br>
>> > > 2>          ]<br>
>> > > 2>          C:\Program Files (x86)\Microsoft Visual Studio<br>
>> > > 11.0\VC\include\xutility(2157) : see declaration of 'std::_Copy_impl'<br>
>> > > 2>          C:\Program Files (x86)\Microsoft Visual Studio<br>
>> > > 11.0\VC\include\xutility(2157) : see declaration of 'std::_Copy_impl'<br>
>> > > 2>          C:\Program Files (x86)\Microsoft Visual Studio<br>
>> > > 11.0\VC\include\xutility(2157) : see declaration of 'std::_Copy_impl'<br>
>> > > 2>     Creating library<br>
>> > ><br>
>> ><br>
>> D:/ITK_VTK_EX/My_ITK_Ex/seg/Texture/test/bin/Debug/itkTextureFeatureImageFilterTest.lib<br>
>> ><br>
>> > > and object<br>
>> > ><br>
>> ><br>
>> D:/ITK_VTK_EX/My_ITK_Ex/seg/Texture/test/bin/Debug/itkTextureFeatureImageFilterTest.exp<br>
>> ><br>
>> > > 2>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol<br>
>> > main<br>
>> > > referenced in function __tmainCRTStartup<br>
>> > ><br>
>> ><br>
>> 2>D:\ITK_VTK_EX\My_ITK_Ex\seg\Texture\test\bin\Debug\itkTextureFeatureImageFilterTest.exe<br>
>> ><br>
>> > > : fatal error LNK1120: 1 unresolved externals<br>
>> > > 3>------ Rebuild All started: Project: ALL_BUILD, Configuration: Debug<br>
>> > x64<br>
>> > > ------<br>
>> > > 3>  Building Custom Rule<br>
>> > > D:/ITK_VTK_EX/My_ITK_Ex/seg/Texture/test/CMakeLists.txt<br>
>> > > 3>  CMake does not need to re-run because<br>
>> > > D:\ITK_VTK_EX\My_ITK_Ex\seg\Texture\test\bin\CMakeFiles\generate.stamp<br>
>> > is<br>
>> > > up-to-date.<br>
>> > > ========== Rebuild All: 2 succeeded, 1 failed, 0 skipped ==========<br>
>> > > im using the follwing CMakeList.txt<br>
>> > > # This is the root ITK CMakeLists file.<br>
>> > > cmake_minimum_required(VERSION 2.4)<br>
>> > > if(COMMAND CMAKE_POLICY)<br>
>> > >   cmake_policy(SET CMP0003 NEW)<br>
>> > > endif()<br>
>> > ><br>
>> > ><br>
>> > > # This project is designed to be built outside the Insight source<br>
>> tree.<br>
>> > > project(HelloWorld)<br>
>> > ><br>
>> > > # Find ITK.<br>
>> > > find_package(ITK REQUIRED)<br>
>> > > include(${ITK_USE_FILE})<br>
>> > ><br>
>> > > add_executable(itkTextureFeatureImageFilterTest<br>
>> > > itkTextureFeatureImageFilterTest.cxx )<br>
>> > ><br>
>> > > target_link_libraries(itkTextureFeatureImageFilterTest<br>
>> ${ITK_LIBRARIES})<br>
>> > ><br>
>> > > please tel me wat the error is??<br>
>> > ><br>
>> > ><br>
>> > ><br>
>> > > --<br>
>> > > View this message in context:<br>
>> ><br>
>> <a href="http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Texture-pixel-by-pixel-tp7587867p7587935.html" rel="noreferrer" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Texture-pixel-by-pixel-tp7587867p7587935.html</a><br>
>> > > Sent from the ITK Insight Users mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<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>
>> > _____________________________________<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>
>> ><br>
>> ><br>
>> > ------------------------------<br>
>> > If you reply to this email, your message will be added to the discussion<br>
>> > below:<br>
>> ><br>
>> ><br>
>> <a href="http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Texture-pixel-by-pixel-tp7587867p7587952.html" rel="noreferrer" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Texture-pixel-by-pixel-tp7587867p7587952.html</a><br>
>> > To unsubscribe from [ITK-users] Texture pixel by pixel, click here<br>
</div></div><span class="">>> > < > .<br>
>> > NAML<br>
>> > <<br>
>> <a href="http://itk-insight-users.2283740.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="noreferrer" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml</a><br>
>> ><br>
>> ><br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> View this message in context:<br>
>> <a href="http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Texture-pixel-by-pixel-tp7587867p7587960.html" rel="noreferrer" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Texture-pixel-by-pixel-tp7587867p7587960.html</a><br>
>> Sent from the ITK Insight Users mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<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>
>><br>
><br>
><br>
</span><span class="">> _____________________________________<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>
><br>
><br>
> ------------------------------<br>
> If you reply to this email, your message will be added to the discussion<br>
> below:<br>
><br>
</span>> <a href="http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Texture-pixel-by-pixel-tp7587867p7587961.html" rel="noreferrer" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Texture-pixel-by-pixel-tp7587867p7587961.html</a><br>
<span class="">> To unsubscribe from [ITK-users] Texture pixel by pixel, click here<br>
> <<a href="http://itk-insight-users.2283740.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7587867&code=aXRraGVscGFjY0BnbWFpbC5jb218NzU4Nzg2N3wzNzEzNjYzNzk=" rel="noreferrer" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7587867&code=aXRraGVscGFjY0BnbWFpbC5jb218NzU4Nzg2N3wzNzEzNjYzNzk=</a>><br>
> .<br>
> NAML<br>
> <<a href="http://itk-insight-users.2283740.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="noreferrer" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml</a>><br>
><br>
<br>
<br>
<br>
<br>
--<br>
</span>View this message in context: <a href="http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Texture-pixel-by-pixel-tp7587867p7587963.html" rel="noreferrer" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Texture-pixel-by-pixel-tp7587867p7587963.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the ITK Insight Users mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<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>
_____________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><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://public.kitware.com/mailman/listinfo/insight-users<br></blockquote></div><br></div></body></html>