]> Creatis software - bbtk.git/blobdiff - packages/itk/src/bbitkBinaryThresholdImageFilter.h
MacOSX build
[bbtk.git] / packages / itk / src / bbitkBinaryThresholdImageFilter.h
index 6365032c3bd0f21bca1aa4b1f7aabf69441c2d49..066f6028abab4fe98e89f4553d4b7f6fd4a817f3 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbitkBinaryThresholdImageFilter.h,v $
   Language:  C++
-  Date:      $Date: 2008/10/17 08:18:21 $
-  Version:   $Revision: 1.8 $
+  Date:      $Date: 2008/11/12 12:47:03 $
+  Version:   $Revision: 1.9 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -143,7 +143,8 @@ namespace bbitk
  
     typedef BinaryThresholdImageFilter<T> FilterType;
     typename FilterType::Pointer f = FilterType::New("Temp");
-    f->bbSetInputIn( this->bbGetInputIn().get<T*>());
+         typedef T* TPointer; 
+         f->bbSetInputIn( this->bbGetInputIn().get < TPointer > ());
     f->bbSetInputLowerThreshold ( (typename T::PixelType)
                                  this->bbGetInputLowerThreshold() );
     f->bbSetInputUpperThreshold ( (typename T::PixelType)