]> Creatis software - clitk.git/blobdiff - tools/clitkSetBackgroundGenericFilter.txx
Add output dicom filename to clitkImage2Dicom
[clitk.git] / tools / clitkSetBackgroundGenericFilter.txx
index c6bbe1837ec23879e80c1b3403a9b08f1a332781..63ccfb026a9d75ade4c9b978990a54b13c445d3b 100644 (file)
 #ifndef clitkSetBackgroundGenericFilter_txx
 #define clitkSetBackgroundGenericFilter_txx
 
-/* =================================================
- * @file   clitkSetBackgroundGenericFilter.txx
- * @author
- * @date
- *
- * @brief
- *
- ===================================================*/
-
-
 namespace clitk
 {
 
@@ -64,7 +54,6 @@ SetBackgroundGenericFilter::UpdateWithDim(std::string PixelType)
   }
 }
 
-
 //-------------------------------------------------------------------
 // Update with the number of dimensions and the pixeltype
 //-------------------------------------------------------------------
@@ -75,7 +64,7 @@ SetBackgroundGenericFilter::UpdateWithDimAndPixelType()
 
   // ImageTypes
   typedef itk::Image<PixelType, Dimension> InputImageType;
-  typedef itk::Image<float, Dimension> MaskImageType;
+  typedef itk::Image<unsigned char, Dimension> MaskImageType;
 
   // Read the input
   typedef itk::ImageFileReader<InputImageType> InputReaderType;