]> Creatis software - bbtk.git/blobdiff - packages/itk/src/bbitkBinaryThresholdImageFilter.h
*** empty log message ***
[bbtk.git] / packages / itk / src / bbitkBinaryThresholdImageFilter.h
index e6fdd1060b9602b0d1762d2077c0c234e72cb7bb..8979fc0b1aa8142063c7272dd15ae45f6e55b396 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbitkBinaryThresholdImageFilter.h,v $
   Language:  C++
-  Date:      $Date: 2009/05/15 14:57:58 $
-  Version:   $Revision: 1.12 $
+  Date:      $Date: 2009/05/18 10:45:43 $
+  Version:   $Revision: 1.13 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -39,6 +39,7 @@
 namespace bbitk
 {
 
+  //===================================================
   template <class T>
   class /*BBTK_EXPORT*/ BinaryThresholdImageFilter
     : 
@@ -57,9 +58,10 @@ namespace bbitk
     BBTK_ITK_PROCESS();
     BBTK_ITK_DELETE();
 
-
   };
+  //===================================================
   
+  //===================================================
   BBTK_BEGIN_DESCRIBE_TEMPLATE_BLACK_BOX(BinaryThresholdImageFilter,
                                      bbtk::AtomicBlackBox);
   BBTK_NAME("BinaryThresholdImageFilter<"+bbtk::TypeName<T>()+">");
@@ -78,6 +80,39 @@ namespace bbitk
                      typename T::PixelType);
   BBTK_TEMPLATE_OUTPUT(BinaryThresholdImageFilter,Out,"Output image",T*);
   BBTK_END_DESCRIBE_TEMPLATE_BLACK_BOX(BinaryThresholdImageFilter);
+  //===================================================
+
+
+  //===================================================
+  //--
+  template <class T>
+  void BinaryThresholdImageFilter<T>::bbUserSetDefaultValues()
+  {
+    bbSetInputLowerThreshold(0);
+    bbSetInputUpperThreshold(100);
+    bbSetInputInsideValue(255);
+    bbSetInputOutsideValue(0);
+  }
+  template <class T>
+  void BinaryThresholdImageFilter<T>::bbUserInitializeProcessing()
+  {
+  }    
+  template <class T>
+  void BinaryThresholdImageFilter<T>::bbUserFinalizeProcessing()
+  {
+  }
+  
+  //===================================================
+
+
+
+
+
+
+
+
+
+
   
   //===================================================
   // Generic "untemplatized" filter
@@ -99,7 +134,11 @@ namespace bbitk
     inline void ProcessSwitch();
     template <class T> void Process();
   };
+  //===================================================
+
   
+  //===================================================
+
   BBTK_BEGIN_DESCRIBE_BLACK_BOX(BinaryThresholdImageFilterGeneric,
                                bbtk::AtomicBlackBox);
   BBTK_NAME("BinaryThresholdImageFilter");
@@ -120,13 +159,21 @@ namespace bbitk
              "Output image. Of the same type and dimension than the input image",
              anyImagePointer,"");
   BBTK_END_DESCRIBE_BLACK_BOX(BinaryThresholdImageFilterGeneric);
+  //===================================================
 
 
 
+
+  //===================================================
+
   void BinaryThresholdImageFilterGeneric::ProcessSwitch()
   {
     BBTK_TEMPLATE_ITK_IMAGE_SWITCH(bbGetInputIn().type(), this->Process);
   }
+  //===================================================
+
+
+  //===================================================
 
   template <class T> 
   void BinaryThresholdImageFilterGeneric::Process()
@@ -154,49 +201,13 @@ namespace bbitk
     bbtkDebugDecTab("Core",9);
   }
 
+  //===================================================
+
        
-////-- 
-//  template <class T>
-//  void BinaryThresholdImageFilter<T>::bbUserSetDefaultValues()
-//  {
-//    bbSetInputLowerThreshold(0);
-//    bbSetInputUpperThreshold(100);
-//    bbSetInputInsideValue(255);
-//    bbSetInputOutsideValue(0);
-//  }
-
-  void BinaryThresholdImageFilterGeneric::bbUserSetDefaultValues()
-  {
-    bbSetInputLowerThreshold(0);
-    bbSetInputUpperThreshold(100);
-    bbSetInputInsideValue(255);
-    bbSetInputOutsideValue(0);
-  }
 
- //--
 
-       template <class T>
-       void BinaryThresholdImageFilter<T>::bbUserInitializeProcessing()
-       {
-       }
-       
-       void BinaryThresholdImageFilterGeneric::bbUserInitializeProcessing()
-       {
-       }
-       
-//--
-       
-       //--
-       
-       template <class T>
-       void BinaryThresholdImageFilter<T>::bbUserFinalizeProcessing()
-       {
-       }
-       
-       void BinaryThresholdImageFilterGeneric::bbUserFinalizeProcessing()
-       {
-       }
        
+
        
        
 }