[Insight-users] Does SignedDanielssonDistanceMapImageFilter work on 3d images?

Luis Ibanez luis.ibanez at kitware.com
Sat Jun 18 10:36:55 EDT 2005


Hi Sotiris,

Thanks for pointing this out.

This is a known bug that has already been fixed.

The fix was committed in the CVS repository
on April 17 2005:

http://www.itk.org/cgi-bin/viewcvs.cgi/Code/BasicFilters/itkSignedDanielssonDistanceMapImageFilter.h?root=Insight&r1=1.2&r2=1.3
http://www.itk.org/cgi-bin/viewcvs.cgi/Code/BasicFilters/itkSignedDanielssonDistanceMapImageFilter.txx?root=Insight&r1=1.5&r2=1.6


Please use an updates CVS checkout of ITK,
or you can simply make the same fix in your
local source code copy of ITK.


    Regards,


      Luis


---------------------------
Sotiris Dimopoulos wrote:

> Hi !
> 
> I try to use SignedDanielssonDistanceMapImageFilter on
> a 3d binary intensity image and i get 4 errors.
> 
> Has anyone faced this problem? 
>  
> The errors that i get, are shown in the end of the
> message
> 
> Thanks a lot!
> sotiris
> 
> 
> 
> C:\ITk2.0\Code\BasicFilters\itkMorphologyImageFilter.txx(62)
> : error C2664: 'void __thiscall
> itk::ImageRegion<3>::PadByRadius(unsigned long)' :
> cannot convert parameter 1 from 'const class
> itk::Size<2>' to 'unsigned long'
>         No user-defined-conversion operator available
> that can perform this conversion, or the operator
> cannot be called
>         C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\xmemory(61) : while compiling
> class-template member function 'void __thiscall
> itk::MorphologyImageFilter<class itk::Image<unsigned
> char,3>,class itk::Image<unsigned char,3>,class
> itk::Bin
> aryBallStructuringElement<unsigned char,2,class
> itk::NeighborhoodAllocator<unsigned char> >
> 
>>::GenerateInputRequestedRegion(void)'
> 
> C:\ITk2.0\Code\BasicFilters\itkMorphologyImageFilter.txx(103)
> : error C2664: '()' : cannot convert parameter 3 from
> 'const class itk::Size<2>' to 'class itk::Size<3>'
>         No constructor could take the source type, or
> constructor overload resolution was ambiguous
>         C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\xmemory(61) : while compiling
> class-template member function 'void __thiscall
> itk::MorphologyImageFilter<class itk::Image<unsigned
> char,3>,class itk::Image<unsigned char,3>,class
> itk::Bin
> aryBallStructuringElement<unsigned char,2,class
> itk::NeighborhoodAllocator<unsigned char> >
> 
>>::ThreadedGenerateData(const class
> 
> itk::ImageRegion<3> &,int)'
> C:\ITk2.0\Code\BasicFilters\itkMorphologyImageFilter.txx(103)
> : error C2064: term does not evaluate to a function
>         C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\xmemory(61) : while compiling
> class-template member function 'void __thiscall
> itk::MorphologyImageFilter<class itk::Image<unsigned
> char,3>,class itk::Image<unsigned char,3>,class
> itk::Bin
> aryBallStructuringElement<unsigned char,2,class
> itk::NeighborhoodAllocator<unsigned char> >
> 
>>::ThreadedGenerateData(const class
> 
> itk::ImageRegion<3> &,int)'
> C:\ITk2.0\Code\BasicFilters\itkMorphologyImageFilter.txx(120)
> : error C2665: 'ConstNeighborhoodIterator<class
> itk::Image<unsigned char,3>,class
> itk::ZeroFluxNeumannBoundaryCondition<class
> itk::Image<unsigned char,3> >
> 
>>::ConstNeighborhoodIterator<cl
> 
> ass itk::Image<unsigned char,3>,class
> itk::ZeroFluxNeumannBoundaryCondition<class
> itk::Image<unsigned char,3> > >' : none of the 3
> overloads can convert parameter 1 from type 'const
> class itk::Size<2>'
>         C:\Program Files\Microsoft Visual
> Studio\VC98\INCLUDE\xmemory(61) : while compiling
> class-template member function 'void __thiscall
> itk::MorphologyImageFilter<class itk::Image<unsigned
> char,3>,class itk::Image<unsigned char,3>,class
> itk::Bin
> aryBallStructuringElement<unsigned char,2,class
> itk::NeighborhoodAllocator<unsigned char> >
> 
>>::ThreadedGenerateData(const class
> 
> itk::ImageRegion<3> &,int)'
> Error executing cl.exe.
> 
> ALL_BUILD - 4 error(s), 0 warning(s)
> 
> 
> 
> 
> 
> 	
> 
> 	
> 		
> ___________________________________________________________ 
> Χρησιμοποιείτε Yahoo!; 
> Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail
> διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών
> μηνυμάτων http://gr.mail.yahoo.com 
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 
> 





More information about the Insight-users mailing list