]> Creatis software - clitk.git/blobdiff - common/clitkImageCommon.h
filter base (trial)
[clitk.git] / common / clitkImageCommon.h
index 11bdb8f2efc46a9c807a3942637d84316a4f5b07..294c19a6212054c5a0be39f45a233d9a1de2e96a 100644 (file)
 ======================================================================-====*/
 #ifndef CLITKIMAGECOMMON_H
 #define CLITKIMAGECOMMON_H
-/**
- -------------------------------------------------------------------
- * @file   clitkImageCommon.h
- * @author David Sarrut <David.Sarrut@creatis.insa-lyon.fr>
- * @date   07 Sep 2007 11:30:10
-
- * @brief  
-
- -------------------------------------------------------------------*/
 
 // clitk
 #include "clitkCommon.h"
@@ -103,6 +94,15 @@ namespace clitk {
                                   std::map<typename MaskImageType::PixelType, 
                                   std::map<typename InputImageType::PixelType, double> > & mapOfLabelsAndWeights);
 
+  //--------------------------------------------------------------------
+  template<class ImageType1, class ImageType2>
+  bool HasSameSizeAndSpacing(typename ImageType1::ConstPointer A, 
+                             typename ImageType2::ConstPointer B);
+
+  template<class ImageType1, class ImageType2>
+  bool HasSameSizeAndSpacing(typename ImageType1::Pointer A, 
+                             typename ImageType2::Pointer B);
+
 #include "clitkImageCommon.txx"
 
 } // end namespace