<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Hi Francisco,</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">do you mind attaching the modified files or pointing to your fork of it on GitHub?</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">Regards</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 11, 2016 at 12:08 PM, Francisco López-Franca <span dir="ltr"><<a href="mailto:franciscolopezdelafranca@gmail.com" target="_blank">franciscolopezdelafranca@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Hi Dzenan,<br>
The original class is here:<br>
<br>
<a href="https://github.com/blowekamp/itkTextureAnalysis/blob/master/include/itkTextureFeatureImageFilter.h" rel="noreferrer" target="_blank">https://github.com/blowekamp/itkTextureAnalysis/blob/master/include/itkTextureFeatureImageFilter.h</a><br>
<a href="https://github.com/blowekamp/itkTextureAnalysis/blob/b3911a8ab891859c50c7e3c8819d1a9fa0eaf4af/include/itkTextureFeatureImageFilter.hxx" rel="noreferrer" target="_blank">https://github.com/blowekamp/itkTextureAnalysis/blob/b3911a8ab891859c50c7e3c8819d1a9fa0eaf4af/include/itkTextureFeatureImageFilter.hxx</a><br>
<br>
I've just added setInput and setMaskImage methods and modify some lines in<br>
the original class as I indicated in the yesterday mail within this thread.<br>
I'm running it on Windows, and there is no error at all, just a crash. I<br>
may have to include exceptions management.<br>
The crash occurs just when calling p3 = maskIter.GetPixel(iter->first)<br>
<br>
If you know why it could be or if you need more clarification, please let<br>
me know.<br>
Many thanks<br>
<br>
2016-02-11 17:16 GMT+01:00 dzenanz [via ITK Insight Users] <<br>
<a href="mailto:ml-node%2Bs2283740n7588477h22@n2.nabble.com">ml-node+s2283740n7588477h22@n2.nabble.com</a>>:<br>
<br>
</span><span class="">> Hi Francisco,<br>
><br>
> "THE CODE PRINTS TWICE "BEFORE P3" AND CRASHES." What is the error message<br>
> that goes along with the crash? In which file and line does it crash?<br>
><br>
> Regards<br>
><br>
</span><span class="">> On Thu, Feb 11, 2016 at 4:55 AM, Francisco Lopez de la Franca <[hidden<br>
> email] <http:///user/SendEmail.jtp?type=node&node=7588477&i=0>> wrote:<br>
><br>
>> Hi,<br>
>> Please, someone that could help me. I'm working in a pre-doctorate<br>
>> project and I need this class to work.<br>
>> I've read the chapter 13 in the ITK Software Guide on how to write a<br>
>> filter and now I see the fact of the threads due to inheritance of<br>
>> ImageToImageFilter.<br>
>> But, I keep on without understanding why the code crashes just when<br>
>> calling<br>
</span>>> *const PixelType p3 = maskIter.GetPixel(iter->first);*<br>
<span class="">>> It is just a call to read data, not to write.<br>
>><br>
>> I guess somebody that had worked with creation of filters might see<br>
>> "easily" the problem, but not me.<br>
>><br>
>> So, again, please, I need someone to help me with this because I'm stuck<br>
>> on this point.<br>
>><br>
>> Thank you very much.<br>
>> KR.<br>
>> /Francisco<br>
>><br>
</span>>> 2016-02-10 12:53 GMT+01:00 Francisco Lopez de la Franca <[hidden email]<br>
>> <http:///user/SendEmail.jtp?type=node&node=7588477&i=1>>:<br>
<span class="">>><br>
>>> Hi Bradley again.<br>
>>> I'm modifying your class in order to be able to set a mask image (a<br>
>>> binary image) to be used as a limit in the histogram calculations, I mean,<br>
>>> I set an input, a mask and the class should take into account to calculate<br>
>>> the histograms only the voxels that belong to the input and to the mask<br>
>>> image and having the value 1 in the mask image.<br>
>>> The changes seem to be easy but I don´t know why my tests are not<br>
>>> working. It seems that 2 threads are working at the same time and when I<br>
>>> added my mask iterator, the code crashes.<br>
>>><br>
>>> *** Consider that the input and mask images are the same origin, spacing<br>
>>> and size.<br>
>>><br>
>>> I attach the main changes I've done, and I would thank you a lot if you<br>
>>> don't mind having a look and help me to find what I'm doing wrong:<br>
>>><br>
>>> template< class TImageType, class TOutputImage ><br>
>>> void<br>
</span>>>> TextureFeatureImageFilterV2< TImageType, TOutputImage >::*SetInput*(InputImageType<br>
<span class="">>>> *image)<br>
>>> {<br>
>>>   // Process object is not const-correct so the const_cast is required<br>
>>> here<br>
>>>   this->ProcessObject::SetNthInput( 0,<br>
>>>                                     const_cast< InputImageType * >(<br>
>>> image ) );<br>
>>> }<br>
>>><br>
>>> template< class TImageType, class TOutputImage ><br>
>>> void<br>
</span>>>> TextureFeatureImageFilterV2< TImageType, TOutputImage >::*SetMaskImage*(InputImageType<br>
<span class="">>>> *image)<br>
>>> {<br>
>>>   // Process object is not const-correct so the const_cast is required<br>
>>> here<br>
>>>   this->ProcessObject::SetNthInput( 1, const_cast< InputImageType * >(<br>
>>> image ) );<br>
>>><br>
>>>   _maskImage = image; // _maskImage is a private member<br>
>>> }<br>
>>><br>
</span>>>> In the *ThreadedGenerateData*(const RegionType& outputRegionForThread,<br>
<span class="">>>> ThreadIdType threadId ) method:<br>
>>> {<br>
>>><br>
>>> ...<br>
>>><br>
>>>   for ( fit = faceList.begin(); fit != faceList.end(); ++fit )<br>
>>>     {<br>
>>>     NeighborhoodIteratorType nIter( radius, input, *fit );<br>
</span>>>>     *NeighborhoodIteratorType maskIter( radius, _maskImage, *fit);*<br>
<span class="">>>>     OutputIterator           outIter(output, *fit);<br>
>>><br>
>>>     OutputPixelType out;<br>
>>>     NumericTraits<OutputPixelType>::SetLength( out,<br>
>>> this->GetNumberOfOutputComponents() );<br>
>>><br>
>>>     while( !nIter.IsAtEnd() )<br>
>>>       {<br>
</span>>>>       this->FillHistogram( *histogram, nIter, *maskIter *);<br>
>>><br>
>>>       ...<br>
>>><br>
>>>       ++nIter;<br>
>>>       ++outIter;<br>
>>>      * ++maskIter;*<br>
>>>     ...<br>
>>><br>
>>> In the *FillHistogram *method:<br>
<span class="">>>> {<br>
>>><br>
>>> ...<br>
>>><br>
>>>   while( iter != m_CooccurenceOffsetVector.end() )<br>
>>>     {<br>
>>><br>
>>>     const PixelType p1 = niter.GetPixel(iter->first);<br>
>>>     const PixelType p2 = niter.GetPixel(iter->second);<br>
>>>     std::cout << "Before p3" << std::endl;<br>
>>><br>
</span>>>> *    const PixelType p3 = maskIter.GetPixel(iter->first);    *std::cout<br>
<span class="">>>> << "After p3: " << p3 << std::endl;<br>
>>><br>
</span>>>> *    const PixelType p4 = maskIter.GetPixel(iter->second);   *<br>
<span class="">>>> std::cout << "After p4: " << p4 << std::endl;<br>
>>><br>
>>>     if (    p1 >= m_Min && p2 >= m_Min && p1 <= m_Max && p2 <= m_Max<br>
</span>>>>             *&& p3 == _insidePixelValue && p4 == _insidePixelValue* )<br>
>>> // The point<br>
>>>       {<br>
>>><br>
>>> ...<br>
>>><br>
>>><br>
>>> *THE CODE PRINTS TWICE "BEFORE P3" AND CRASHES.*<br>
<span class="">>>><br>
>>> Thank you so much.<br>
>>> My kind regards.<br>
>>> /Paco<br>
>>><br>
</span>>>> 2016-01-25 12:50 GMT+01:00 Francisco Lopez de la Franca <[hidden email]<br>
>>> <http:///user/SendEmail.jtp?type=node&node=7588477&i=2>>:<br>
<span class="">>>><br>
>>>> Hello Bradley again.<br>
>>>> Sorry but I'd like to re-open this issue because I need your class but<br>
>>>> with some modification.<br>
>>>> I pass to tell you.<br>
>>>><br>
>>>> As my tests with your external class were not good taking into account<br>
>>>> the performance, I wonder if you could create a variant of it, but in which<br>
>>>> I can set a mask image and your class just return the VectorImage with all<br>
>>>> the features for that region (the masked locations) as<br>
>>>> itk::ScalarImageToTextureFeaturesFilter class does.<br>
>>>> I mean, to get the vector image with all the features but just<br>
>>>> calculate it for the regions belonging to the mask image. Positions not<br>
>>>> belonging to the mask region could have a pixel value of 0, for instance.<br>
>>>><br>
>>>> I don´t know if it is very costly for you,  but I would thank you so<br>
>>>> much. Otherwise, I could try it but I'd need your suggestions on how to do<br>
>>>> it.<br>
>>>><br>
>>>> Thanks a lot.<br>
>>>> Best regards.<br>
>>>><br>
</span>>>>> 2015-09-30 23:38 GMT+02:00 Francisco Lopez de la Franca <[hidden email]<br>
>>>> <http:///user/SendEmail.jtp?type=node&node=7588477&i=3>>:<br>
<span class="">>>>><br>
>>>>> Hello Bradley again,<br>
>>>>> I would like to ask you for a couple of favours. In the one hand,<br>
>>>>> could you please send me your 3D image so that I can test on it? And on the<br>
>>>>> other hand, could you test the example I have referenced in the previous<br>
>>>>> email with your image, not changing anything in the code, such as it is,<br>
>>>>> and tell me if the execution time is normal?<br>
>>>>> Thank you very much.<br>
>>>>> Regards,<br>
>>>>> /Francisco<br>
>>>>><br>
>>>>> PS: All my application trace is printed via standard 'cout' command,<br>
>>>>> not due to a debugging compilation mode.<br>
>>>>><br>
>>>>><br>
</span>>>>>> El miércoles, 30 de septiembre de 2015, Bradley Lowekamp <[hidden<br>
>>>>> email] <http:///user/SendEmail.jtp?type=node&node=7588477&i=4>><br>
<span class="">>>>>> escribió:<br>
>>>>><br>
>>>>>> Hello,<br>
>>>>>><br>
>>>>>> Did you compile TextureFeatureImage in Release mode?<br>
>>>>>><br>
>>>>>> 1) The filter does not scale well with a large radius. And given by<br>
>>>>>> your initial report of print a very large number of offset you, it sounds<br>
>>>>>> like you are using a large radius with many offsets. I created a<br>
>>>>>> 224x224x300 unsigned short image and ran with the default offset and a<br>
>>>>>> radius of 2 in 5 minutes on my laptop. When I wrote this filter is was ~10x<br>
>>>>>> faster than this example... things change though...<br>
>>>>>><br>
>>>>>><br>
>>>>>> 2) I sounds like the boundaries/limits of the histogram may be<br>
>>>>>> clipping you values. I would inspect the co-occurance matrix.<br>
>>>>>><br>
>>>>>><br>
>>>>>> HTH,<br>
>>>>>> Brad<br>
>>>>>><br>
</span>>>>>>> On Sep 30, 2015, at 3:28 AM, Francisco Lopez de la Franca <[hidden<br>
>>>>>> email] <http:///user/SendEmail.jtp?type=node&node=7588477&i=5>><br>
<span class="">>>>>>> wrote:<br>
>>>>>><br>
>>>>>> I've tested with itkTextureFeatureImageFilter, with<br>
>>>>>> itk::ScalarImageToTextureFeaturesFilter and also with the<br>
>>>>>> <a href="http://itk.org/Wiki/ITK/Examples/Statistics/TextureFeatures" rel="noreferrer" target="_blank">http://itk.org/Wiki/ITK/Examples/Statistics/TextureFeatures</a> example,<br>
>>>>>> for a 3D image and here are my comments:<br>
>>>>>><br>
>>>>>><br>
>>>>>> 1. I had to interrupt the test after several hours and it kept on<br>
>>>>>> calculating. And this is for only a 3D image (224x224x300). I need to<br>
>>>>>> process around 35 images.<br>
>>>>>> 2. The result (texture features: entropy, energy, correlation, LH,<br>
>>>>>> inertia, CS and CP) for every voxel was: [1, 0, 1, 0, 0, 0, 7.83083e+247].<br>
>>>>>> These values were not what I expected based on my experience on another<br>
>>>>>> application I developed, but in that case, I calculated the texture<br>
>>>>>> features for an image as a whole, not voxel by voxel.<br>
>>>>>><br>
>>>>>> Regards.<br>
>>>>>><br>
</span>>>>>>> 2015-09-30 8:46 GMT+02:00 vis <[hidden email]<br>
>>>>>> <http:///user/SendEmail.jtp?type=node&node=7588477&i=6>>:<br>
<span class="">>>>>>><br>
>>>>>>> i yes i have tried radius = 3;<br>
>>>>>>> still no luck<br>
>>>>>>><br>
>>>>>>> On Wed, Sep 30, 2015 at 12:06 PM, Francisco López-Franca [via ITK<br>
>>>>>>> Insight<br>
</span>>>>>>>> Users] <[hidden email]<br>
<div><div class="h5">>>>>>>> <http:///user/SendEmail.jtp?type=node&node=7588477&i=7>> wrote:<br>
>>>>>>><br>
>>>>>>> > Have you tried with a radius of 3 instead of 1?<br>
>>>>>>> ><br>
>>>>>>> > 2015-09-30 8:26 GMT+02:00 vis <[hidden email]<br>
>>>>>>> > <http:///user/SendEmail.jtp?type=node&node=7587961&i=0>>:<br>
>>>>>>> ><br>
>>>>>>> >> hey Matt,<br>
>>>>>>> >> thanks for ur advice.. it did build successfully... but im not<br>
>>>>>>> able to run<br>
>>>>>>> >> the code for 2D png image... i tried to change the dimension to 2<br>
>>>>>>> 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<br>
>>>>>>> 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<br>
>>>>>>> tel me<br>
>>>>>>> >> how can i modify this code to work wid 2d image... forgive me if<br>
>>>>>>> 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<br>
>>>>>>> Insight Users]<br>
>>>>>>> >> <<br>
>>>>>>> >> [hidden email] <<br>
>>>>>>> http:///user/SendEmail.jtp?type=node&node=7587961&i=1>><br>
>>>>>>> >> 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>
>>>>>>> >> > <http:///user/SendEmail.jtp?type=node&node=7587952&i=0>> wrote:<br>
>>>>>>> >> ><br>
>>>>>>> >> > > hi all,<br>
>>>>>>> >> > > im trying to build the itkTextureFeatureImageFilterTest.cxx<br>
>>>>>>> code but<br>
>>>>>>> >> im<br>
>>>>>>> >> > not<br>
>>>>>>> >> > > able to it is showing the following error<br>
>>>>>>> >> > > 1>------ Rebuild All started: Project: ZERO_CHECK,<br>
>>>>>>> Configuration:<br>
>>>>>>> >> Debug<br>
>>>>>>> >> > x64<br>
>>>>>>> >> > > ------<br>
>>>>>>> >> > > 1>  Checking Build System<br>
>>>>>>> >> > > 1>  CMake does not need to re-run because<br>
>>>>>>> >> > ><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>
>>>>>>> >> > ><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:<br>
>>>>>>> 'std::_Copy_impl':<br>
>>>>>>> >> > Function<br>
>>>>>>> >> > > call with parameters that may be unsafe - this call relies on<br>
>>>>>>> the<br>
>>>>>>> >> caller<br>
>>>>>>> >> > to<br>
>>>>>>> >> > > check that the passed values are correct. To disable this<br>
>>>>>>> warning, use<br>
>>>>>>> >> > > -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use<br>
>>>>>>> Visual C++<br>
>>>>>>> >> > > 'Checked Iterators'<br>
>>>>>>> >> > > 2>          C:\Program Files (x86)\Microsoft Visual Studio<br>
>>>>>>> >> > > 11.0\VC\include\xutility(2157) : see declaration of<br>
>>>>>>> 'std::_Copy_impl'<br>
>>>>>>> >> > > 2><br>
>>>>>>> >> > ><br>
>>>>>>> >><br>
>>>>>>> c:\itk\source\modules\io\imagebase\include\itkImageFileReader.hxx(439) :<br>
>>>>>>> >> > see<br>
>>>>>>> >> > > reference to function template instantiation '_OutIt<br>
>>>>>>> std::copy<const<br>
>>>>>>> >> > > unsigned char*,unsigned char*>(_InIt,_InIt,_OutIt)' being<br>
>>>>>>> compiled<br>
>>>>>>> >> > > 2>          with<br>
>>>>>>> >> > > 2>          [<br>
>>>>>>> >> > > 2>              _OutIt=unsigned char *,<br>
>>>>>>> >> > > 2>              _InIt=const unsigned char *<br>
>>>>>>> >> > > 2>          ]<br>
>>>>>>> >> > > 2><br>
>>>>>>> >> > ><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>
>>>>>>> >><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<br>
>>>>>>> 'std::_Copy_impl'<br>
>>>>>>> >> > > 2>          C:\Program Files (x86)\Microsoft Visual Studio<br>
>>>>>>> >> > > 11.0\VC\include\xutility(2157) : see declaration of<br>
>>>>>>> 'std::_Copy_impl'<br>
>>>>>>> >> > > 2>          C:\Program Files (x86)\Microsoft Visual Studio<br>
>>>>>>> >> > > 11.0\VC\include\xutility(2157) : see declaration of<br>
>>>>>>> 'std::_Copy_impl'<br>
>>>>>>> >> > > 2>     Creating library<br>
>>>>>>> >> > ><br>
>>>>>>> >> ><br>
>>>>>>> >><br>
>>>>>>> D:/ITK_VTK_EX/My_ITK_Ex/seg/Texture/test/bin/Debug/itkTextureFeatureImageFilterTest.lib<br>
>>>>>>> >> ><br>
>>>>>>> >> > > and object<br>
>>>>>>> >> > ><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<br>
>>>>>>> external symbol<br>
>>>>>>> >> > main<br>
>>>>>>> >> > > referenced in function __tmainCRTStartup<br>
>>>>>>> >> > ><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,<br>
>>>>>>> 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>
>>>>>>> >> > ><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>
>>>>>>> ==========<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<br>
>>>>>>> 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>
>>>>>>> >><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<br>
>>>>>>> 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<br>
>>>>>>> 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<br>
>>>>>>> discussion<br>
>>>>>>> >> > below:<br>
>>>>>>> >> ><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<br>
>>>>>>> here<br>
>>>>>>> >> > < > .<br>
>>>>>>> >> > NAML<br>
>>>>>>> >> > <<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>
>>>>>>> >><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<br>
>>>>>>> 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>
>>>>>>> >><br>
>>>>>>> ><br>
>>>>>>> ><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<br>
>>>>>>> discussion<br>
>>>>>>> > below:<br>
>>>>>>> ><br>
>>>>>>> ><br>
>>>>>>> <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>
>>>>>>> > To unsubscribe from [ITK-users] Texture pixel by pixel, click here<br>
</div></div><div><div class="h5">>>>>>>> > < > .<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-tp7587867p7587963.html" rel="noreferrer" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Texture-pixel-by-pixel-tp7587867p7587963.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" 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>
>>>>>> 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>
>>>><br>
>>><br>
>><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>
</div></div><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><span class="">> <a href="http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Texture-pixel-by-pixel-tp7587867p7588477.html" rel="noreferrer" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Texture-pixel-by-pixel-tp7587867p7588477.html</a><br>
> To start a new topic under ITK Insight Users, email<br>
> <a href="mailto:ml-node%2Bs2283740n2283740h75@n2.nabble.com">ml-node+s2283740n2283740h75@n2.nabble.com</a><br>
> To unsubscribe from ITK Insight Users, click here<br>
</span>> <<a href="http://itk-insight-users.2283740.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2283740&code=ZnJhbmNpc2NvbG9wZXpkZWxhZnJhbmNhQGdtYWlsLmNvbXwyMjgzNzQwfC05OTI2MzcxNg==" rel="noreferrer" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2283740&code=ZnJhbmNpc2NvbG9wZXpkZWxhZnJhbmNhQGdtYWlsLmNvbXwyMjgzNzQwfC05OTI2MzcxNg==</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.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-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.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-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>
View this message in context: <a href="http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Texture-pixel-by-pixel-tp7587867p7588483.html" rel="noreferrer" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Texture-pixel-by-pixel-tp7587867p7588483.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>