]> Creatis software - clitk.git/commitdiff
SliceBySlice filter for uchar
authorDavid Sarrut <david.sarrut@gmail.com>
Mon, 26 Nov 2012 06:46:09 +0000 (07:46 +0100)
committerDavid Sarrut <david.sarrut@gmail.com>
Mon, 26 Nov 2012 06:46:09 +0000 (07:46 +0100)
itk/clitkSliceBySliceRelativePositionFilter.h
segmentation/clitkSliceBySliceRelativePositionFilter_uchar.cxx [new file with mode: 0644]

index ba59467f5ece21cc3b7538ba47ce40c19153297a..5989e20054c5229a0146543a5be06dba1d60444c 100644 (file)
@@ -138,4 +138,8 @@ namespace clitk {
 #include "clitkSliceBySliceRelativePositionFilter.txx"
 #endif
 
+typedef unsigned char                    PixelType_uchar;
+typedef itk::Image<PixelType_uchar, 3>   ImageType_uchar;    
+extern template class clitk::SliceBySliceRelativePositionFilter<ImageType_uchar>;
+
 #endif
diff --git a/segmentation/clitkSliceBySliceRelativePositionFilter_uchar.cxx b/segmentation/clitkSliceBySliceRelativePositionFilter_uchar.cxx
new file mode 100644 (file)
index 0000000..f0138af
--- /dev/null
@@ -0,0 +1,29 @@
+/*=========================================================================
+  Program:   vv                     http://www.creatis.insa-lyon.fr/rio/vv
+
+  Authors belong to: 
+  - University of LYON              http://www.universite-lyon.fr/
+  - Léon Bérard cancer center       http://oncora1.lyon.fnclcc.fr
+  - CREATIS CNRS laboratory         http://www.creatis.insa-lyon.fr
+
+  This software is distributed WITHOUT ANY WARRANTY; without even
+  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+  PURPOSE.  See the copyright notices for more information.
+
+  It is distributed under dual licence
+
+  - BSD        See included LICENSE.txt file
+  - CeCILL-B   http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
+  ======================================================================-====*/
+
+#ifndef CLITKSLICEBYSLICERELATIVEPOSITIONFILTER_UCHARH
+#define CLITKSLICEBYSLICERELATIVEPOSITIONFILTER_UCHARH
+
+// clitk
+#include "clitkSliceBySliceRelativePositionFilter.h"
+
+typedef unsigned char                    PixelType_uchar;
+typedef itk::Image<PixelType_uchar, 3>   ImageType_uchar;    
+template class clitk::SliceBySliceRelativePositionFilter<ImageType_uchar>;
+
+#endif