]> Creatis software - clitk.git/commitdiff
Add clitkAnd, SliceBySliceSetBackgroundFromSingleLine, FillRegionWithValue
authordsarrut <david.sarrut@gmail.com>
Tue, 12 Jul 2011 06:14:17 +0000 (08:14 +0200)
committerdsarrut <david.sarrut@gmail.com>
Tue, 12 Jul 2011 06:14:17 +0000 (08:14 +0200)
itk/clitkSegmentationUtils.h

index 7daf3c8345405463e12a47a459a5487da2847aa2..85f259192b02a6a288945524428c3eb7953be162 100644 (file)
@@ -359,6 +359,10 @@ namespace clitk {
   void AndNot(ImageType * input, 
               const ImageType * object, 
               typename ImageType::PixelType BG=0);
+  template<class ImageType>
+  void And(ImageType * input, 
+           const ImageType * object, 
+           typename ImageType::PixelType BG=0);
   //--------------------------------------------------------------------
  
 
@@ -430,6 +434,23 @@ namespace clitk {
   //--------------------------------------------------------------------
   
 
+  //--------------------------------------------------------------------
+  template<class ImageType>
+  typename ImageType::Pointer
+  SliceBySliceSetBackgroundFromSingleLine(const ImageType * input, 
+                                          typename ImageType::PixelType BG, 
+                                          typename ImageType::PointType & A, 
+                                          typename ImageType::PointType & B, 
+                                          int dim1, int dim2, bool removeLowerPartFlag);
+  //--------------------------------------------------------------------
+  
+  
+  //--------------------------------------------------------------------
+  template<class ImageType>
+  void
+  FillRegionWithValue(ImageType * input, typename ImageType::PixelType value, typename ImageType::RegionType & region);
+  //--------------------------------------------------------------------
+
 }
 
 #include "clitkSegmentationUtils.txx"