]> Creatis software - bbtk.git/blobdiff - packages/itk/src/bbitkBinaryThresholdImageFilter.cxx
Generate a good file name when .mhd is missing
[bbtk.git] / packages / itk / src / bbitkBinaryThresholdImageFilter.cxx
index 6b9668f9e1673c4362ca21c5a65fc3dd6bfdd9df..a97caa0551fcab0956131feb69d7342fc2aaf467 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbitkBinaryThresholdImageFilter.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/10/17 08:18:21 $
-  Version:   $Revision: 1.4 $
+  Date:      $Date: 2009/05/18 10:45:43 $
+  Version:   $Revision: 1.6 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -38,10 +38,27 @@ namespace bbitk
   
   BBTK_BLACK_BOX_TEMPLATE_IMPLEMENTATION(BinaryThresholdImageFilter,
                                              bbtk::AtomicBlackBox);
+
   BBTK_BLACK_BOX_IMPLEMENTATION(BinaryThresholdImageFilterGeneric,
                                     bbtk::AtomicBlackBox);
   BBTK_ADD_BLACK_BOX_TO_PACKAGE(itk,
                                BinaryThresholdImageFilterGeneric);
+       
+       
+  void BinaryThresholdImageFilterGeneric::bbUserSetDefaultValues()
+  {
+    bbSetInputLowerThreshold(0);
+    bbSetInputUpperThreshold(100);
+    bbSetInputInsideValue(255);
+    bbSetInputOutsideValue(0);
+  }
+  void BinaryThresholdImageFilterGeneric::bbUserInitializeProcessing()
+  {
+  }
+  void BinaryThresholdImageFilterGeneric::bbUserFinalizeProcessing()
+  {
+  }
+  
 }
 
 // EO namespace bbtk