[Insight-users] Automatic Junction Detection IJ 324, compile errors

zhihong hu zhihonghu21 at hotmail.com
Wed Mar 25 13:11:00 EDT 2009


Hi, Luis and All

I built the JunctionDectection project under windows. It seems all right.
But when I tried to run: itkJunctionDetectionFilter2DTest.exe, it did not
work.
The command line was:
 itkJunctionDetectionFilter2DTest.exe Neuroninput.mha out2D.mha 2.0 3.3

Did anybody make it work?

Thank you very much.

Zhihong Hu from the University of Iowa




On Tue, Mar 24, 2009 at 3:08 PM, Oleksandr Dzyubak <adzyubak at gmail.com>wrote:

>
> Dear ITKers,
>
> I just downloaded Automatic Junction Detection (IJ Paper Id: 324)
> and tried to compile it on Linux Debian with gcc version 4.3.2 (Debian
> 4.3.2-1.1).
>
> Besides "itkJunctionDetectionFilter.h:4:35: error: itkImagetoImageFilter.h:
> No such file or directory"
> which easy to correct, I got multiple errors like below.
>
> ************** Errors begin ****
>
> itkJunctionDetectionFilter.txx: In member function ‘void
> itk::JunctionDetectionFilter<TInputImage>::GenerateData()’:
> /mnt/Public/Programs/ITK_Test/Skeletons/Automatic_Junction_Detection/Src/itkJunctionDetectionFilter.txx:69:
> error: type/value mismatch at argument 1 in template parameter list for
> ‘template<class T, unsigned int NVectorDimension> class itk::Vector’
> /mnt/Public/Programs/ITK_Test/Skeletons/Automatic_Junction_Detection/Src/itkJunctionDetectionFilter.txx:69:
> error: expected a type, got ‘TInputImage::IndexType::IndexValueType’
> /mnt/Public/Programs/ITK_Test/Skeletons/Automatic_Junction_Detection/Src/itkJunctionDetectionFilter.txx:69:
> error: invalid type in declaration before ‘;’ token
>
> .........
> etc.
> ............
>
> make[2]: ***
> [CMakeFiles/itkJunctionDetectionFilter2DTest.dir/itkJunctionDetectionFilter2DTest.o]
> Error 1
> make[1]: *** [CMakeFiles/itkJunctionDetectionFilter2DTest.dir/all] Error 2
> make: *** [all] Error 2
>
> ************** Errors end ****
>
> Any ideas how to fix that?
>
> Thanks,
> Alex
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090325/6c543c0a/attachment.htm>


More information about the Insight-users mailing list