]> Creatis software - FrontAlgorithms.git/commitdiff
...
authorLeonardo Florez-Valencia <florez-l@javeriana.edu.co>
Fri, 11 Sep 2015 13:32:48 +0000 (15:32 +0200)
committerLeonardo Florez-Valencia <florez-l@javeriana.edu.co>
Fri, 11 Sep 2015 13:32:48 +0000 (15:32 +0200)
cmake/FrontAlgorithmsConfig.cmake.in
lib/fpa/Image/Functors/RegionGrowThresholdFunction.h

index 80869c4623b36193d8cd33a85d6c754665f7ac15..9b6f14b6f9fc79b8cfc609e1d23994da7c8d664a 100644 (file)
@@ -13,8 +13,8 @@ INCLUDE_DIRECTORIES(
 # =========================
 
 LINK_DIRECTORIES(
-  @PROJECT_SOURCE_DIR@/lib
-  @PROJECT_BINARY_DIR@/lib
+  @PROJECT_BINARY_DIR@
+  @CMAKE_INSTALL_PREFIX@/bin
   @CMAKE_INSTALL_PREFIX@/lib
   )
 
index 3d7d5ac8b167ff413ead2f2ac13d18b6057d1e4c..1ac7c8f080c3acfc155f390a35f2d75720011945 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef __FPA__IMAGE__FUNCTORS__REGIONGROWTHRESHOLDFUNCTION__H__
 #define __FPA__IMAGE__FUNCTORS__REGIONGROWTHRESHOLDFUNCTION__H__
 
-#include <limits>
+#include <itkNumericTraits.h>
 #include <fpa/Image/Functors/RegionGrowAllBelongsFunction.h>
 
 namespace fpa
@@ -59,8 +59,8 @@ namespace fpa
       protected:
         RegionGrowThresholdFunction( )
           : Superclass( ),
-            m_LowerThreshold( std::numeric_limits< TPixel >::min( ) ),
-            m_UpperThreshold( std::numeric_limits< TPixel >::max( ) )
+            m_LowerThreshold( itk::NumericTraits< TPixel >::min( ) ),
+            m_UpperThreshold( itk::NumericTraits< TPixel >::max( ) )
           { }
         virtual ~RegionGrowThresholdFunction( )
           { }