<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Consider making a <a href="https://yangsu.github.io/pull-request-tutorial/">pull request</a> with your fixes.</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 class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Dženan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 7, 2016 at 2:04 PM, Wei Liu <span dir="ltr"><<a href="mailto:weiliu620@gmail.com" target="_blank">weiliu620@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Oops, I incorrectly used another ITK build...After I fixed it, my project can find the external module. <div><br></div><div>Sorry about the noise. (often found the true reason *after* sending email to community!)</div><div><br></div><div>The filter has a few small build error that can be easily fixed (add namespace, etc). </div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 7, 2016 at 1:53 PM, Wei Liu <span dir="ltr"><<a href="mailto:weiliu620@gmail.com" target="_blank">weiliu620@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Bill, I want to apply the filter to a 3D image that I read from file. Here is the related code:<div><br></div><div>------------ code ----------------------</div><div><div> typedef float InputPixelType;</div><div> typedef itk::Image< InputPixelType, 3 > InputImageType;</div><div> typedef itk::SymmetricSecondRankTensor<wbr>< float, 3 > TensorType;</div><div> typedef itk::Image< TensorType, 3 > TensorImageType;</div><div> typedef itk::CovariantVector<float, 3> EigenvalueType;</div><div> typedef itk::Image< EigenvalueType, 3 > EigenvalueImageType;</div><div><br></div><div> typedef itk::ImageFileReader< InputImageType > ReaderType;</div><div> ReaderType::Pointer reader = ReaderType::New();</div><div> std::string in_file = "unknown.nrrd";</div><div> bool retm = parser->GetCommandLineArgument<wbr>( "-i", in_file);</div><div> reader->SetFileName( in_file );</div><div> reader->Update();</div><div><br></div><div> // Structure tensor. </div><div> typedef itk::StructureTensorImageFilte<wbr>r<InputImageType, TensorImageType> StructureTensorFilterType;</div><div> StructureTensorFilterType::Po<wbr>inter struct_tensor_filter = StructureTensorFilterType::New<wbr>();</div><div> struct_tensor_filter->SetInpu<wbr>t(reader->GetOutput() );</div></div><div>---------- end of code ------------------------</div><div><br></div><div>I just copied the file .h and .hxx file from the itk source folder into my project folder and cmake compiles with no error. So, at least this is one solution. </div><div><br></div><div>Thanks,</div><div><br></div><div><br></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 7, 2016 at 12:13 PM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">How are you using it?<br>
<div><div><br>
On Wed, Sep 7, 2016 at 11:55 AM, Wei Liu <<a href="mailto:weiliu620@gmail.com" target="_blank">weiliu620@gmail.com</a>> wrote:<br>
> Hi communities,<br>
><br>
> When I try to use a remote module (anisotropic diffusion LBR) in my code, I<br>
> got error that the 'itkstructureTensorImageFilter<wbr>.h' no such file...<br>
><br>
> I have turned on the cmake flag when building ITK. Do I need to do anything<br>
> specific to use remote module's code?<br>
><br>
> I probably can manually copy the .h file, but think it's not the optimal<br>
> approach.<br>
><br>
> Thanks,<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> Community mailing list<br>
> <a href="mailto:Community@itk.org" target="_blank">Community@itk.org</a><br>
> <a href="http://public.kitware.com/mailman/listinfo/community" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/community</a><br>
><br>
<span><font color="#888888"><br>
<br>
<br>
--<br>
Unpaid intern in BillsBasement at noware dot com<br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/community</a><br>
<br></blockquote></div><br></div>