]> Creatis software - bbtk.git/blobdiff - packages/itk/src/bbitkBinaryThresholdImageFilter.h
#3121 BBTK Bug New Normal - branch changestoITK3and4
[bbtk.git] / packages / itk / src / bbitkBinaryThresholdImageFilter.h
index dcc7ecd627aed8e44e350455c230c35d2e15242f..ed7167bcb021322876ad745579d8f817b175e0df 100644 (file)
@@ -209,20 +209,21 @@ namespace bbitk
                        <<bbtk::TypeName<T>()<<">()"<<std::endl);
  
     typedef BinaryThresholdImageFilter<T> FilterType;
-    typename FilterType::Pointer f = FilterType::New("Temp");
-         typedef T* TPointer; 
-         f->bbSetInputIn( this->bbGetInputIn().get < TPointer > () );
-    f->bbSetInputLowerThreshold ( (typename T::PixelType)
-                                 this->bbGetInputLowerThreshold() );
-    f->bbSetInputUpperThreshold ( (typename T::PixelType)
-                                 this->bbGetInputUpperThreshold() );
-    f->bbSetInputInsideValue ( (typename T::PixelType)
-                              this->bbGetInputInsideValue() );
-    f->bbSetInputOutsideValue ( (typename T::PixelType)
-                               this->bbGetInputOutsideValue() );
+    typename FilterType::Pointer f 
+
+        = FilterType::New("Temp");
+
+/*
+       typedef T* TPointer; 
+       f->bbSetInputIn( this->bbGetInputIn().get < TPointer > () );
+    f->bbSetInputLowerThreshold ( (typename T::PixelType)this->bbGetInputLowerThreshold() );
+    f->bbSetInputUpperThreshold ( (typename T::PixelType)this->bbGetInputUpperThreshold() );
+    f->bbSetInputInsideValue ( (typename T::PixelType)this->bbGetInputInsideValue() );
+    f->bbSetInputOutsideValue ( (typename T::PixelType)this->bbGetInputOutsideValue() );
     f->bbExecute();
     f->bbGetOutputOut()->Register();
     this->bbSetOutputOut( f->bbGetOutputOut() );
+*/
 
     bbtkDebugDecTab("Core",9);
   }