X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2Ffpa%2FImage%2FDefaultTraits.h;h=9ce95eb67a718b9f707b02501270945fb6a792cb;hb=c9542e420b94b0bfc1f285599f7816eab1191519;hp=c2b829530d9915e369c4a5184ea179b980750750;hpb=5bf766068f54d061d3816f4950a076c3cf3a4d8b;p=FrontAlgorithms.git diff --git a/lib/fpa/Image/DefaultTraits.h b/lib/fpa/Image/DefaultTraits.h index c2b8295..9ce95eb 100644 --- a/lib/fpa/Image/DefaultTraits.h +++ b/lib/fpa/Image/DefaultTraits.h @@ -10,9 +10,6 @@ #include #include -#include -#include - namespace fpa { namespace Image @@ -37,19 +34,15 @@ namespace fpa typedef std::vector< TVertex > TNeighborhood; - typedef fpa::Base::SeedsInterface< TVertex, TPoint, TInputValue, TOutputValue, TFrontId, TCompare > TSeedsInterface; - typedef fpa::Base::MarksInterfaceWithCollisions< TVertex > TMarksInterface; - typedef itk::ImageToImageFilter< TInputImage, TOutputImage > TFilter; - typedef typename TSeedsInterface::TNode TNode; typedef typename TSeedsInterface::TNodes TNodes; typedef typename TSeedsInterface::TSeed TSeed; typedef typename TSeedsInterface::TSeeds TSeeds; - public: + private: itkConceptMacro( Check_SameDimension, - ( itk::Concept::SameDimension< TInputImage::ImageDimension, TOutputImage::ImageDimension > ) + ( itk::Concept::SameDimension< Self::Dimension, TOutputImage::ImageDimension > ) ); private: