From 05b7f2c4675de2d3582fd88099294a54ca09787b Mon Sep 17 00:00:00 2001 From: David Sarrut Date: Mon, 26 Nov 2012 07:46:09 +0100 Subject: [PATCH] SliceBySlice filter for uchar --- itk/clitkSliceBySliceRelativePositionFilter.h | 4 +++ ...iceBySliceRelativePositionFilter_uchar.cxx | 29 +++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 segmentation/clitkSliceBySliceRelativePositionFilter_uchar.cxx diff --git a/itk/clitkSliceBySliceRelativePositionFilter.h b/itk/clitkSliceBySliceRelativePositionFilter.h index ba59467..5989e20 100644 --- a/itk/clitkSliceBySliceRelativePositionFilter.h +++ b/itk/clitkSliceBySliceRelativePositionFilter.h @@ -138,4 +138,8 @@ namespace clitk { #include "clitkSliceBySliceRelativePositionFilter.txx" #endif +typedef unsigned char PixelType_uchar; +typedef itk::Image ImageType_uchar; +extern template class clitk::SliceBySliceRelativePositionFilter; + #endif diff --git a/segmentation/clitkSliceBySliceRelativePositionFilter_uchar.cxx b/segmentation/clitkSliceBySliceRelativePositionFilter_uchar.cxx new file mode 100644 index 0000000..f0138af --- /dev/null +++ b/segmentation/clitkSliceBySliceRelativePositionFilter_uchar.cxx @@ -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 ImageType_uchar; +template class clitk::SliceBySliceRelativePositionFilter; + +#endif -- 2.47.1