]> Creatis software - clitk.git/blobdiff - itk/itkBinaryGuerreroFilter.h
Debug clitkNormalizeImage
[clitk.git] / itk / itkBinaryGuerreroFilter.h
index e03f42a3ce25421acd462ce37f931fec12eb1a8a..fb1ee0b3495e984381a73b8846f8eb54f69345ba 100644 (file)
@@ -1,22 +1,22 @@
 /*=========================================================================
+  Program:   vv                     http://www.creatis.insa-lyon.fr/rio/vv
 
-  Program:   Insight Segmentation & Registration Toolkit
-  Module:    $RCSfile: itkBinaryGuerreroFilter.h,v $
-  Language:  C++
-  Date:      $Date: 2010/01/06 13:32:01 $
-  Version:   $Revision: 1.1 $
+  Authors belong to: 
+  - University of LYON              http://www.universite-lyon.fr/
+  - Léon Bérard cancer center       http://www.centreleonberard.fr
+  - CREATIS CNRS laboratory         http://www.creatis.insa-lyon.fr
 
-  Copyright (c) Insight Software Consortium. All rights reserved.
-  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
+  This software is distributed WITHOUT ANY WARRANTY; without even
+  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+  PURPOSE.  See the copyright notices for more information.
 
-     This software is distributed WITHOUT ANY WARRANTY; without even 
-     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
-     PURPOSE.  See the above copyright notices for more information.
+  It is distributed under dual licence
 
-=========================================================================*/
+  - BSD        See included LICENSE.txt file
+  - CeCILL-B   http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
+===========================================================================**/
 #ifndef __itkBinaryGuerreroFilter_h
 #define __itkBinaryGuerreroFilter_h
-
 #include "itkBinaryFunctorImageFilter.h"
 #include "itkNumericTraits.h"
 
@@ -62,7 +62,7 @@ class GuerreroFunctor
             else //Use the original formula as described in Guerrero's paper
                 vol_change=static_cast<TOutput>( 1000. * (Bstar-A) / (A*(1000.+Bstar)) );
 
-            if (std::isnormal(vol_change))
+            if (IsNormal(vol_change))
                 return vol_change;
             else
                 return 0.;