X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=itk%2FitkBinaryGuerreroFilter.h;h=fb1ee0b3495e984381a73b8846f8eb54f69345ba;hb=ba7eb37f66c14a90fe67ac035ecf9d8bc70fef1a;hp=fdc6d21fb8e1ab4e999ee1f028977aba5341b2a4;hpb=758de1c14c7f16d924e1a2a575d52cd3e48ec503;p=clitk.git diff --git a/itk/itkBinaryGuerreroFilter.h b/itk/itkBinaryGuerreroFilter.h index fdc6d21..fb1ee0b 100644 --- a/itk/itkBinaryGuerreroFilter.h +++ b/itk/itkBinaryGuerreroFilter.h @@ -1,19 +1,22 @@ /*========================================================================= + Program: vv http://www.creatis.insa-lyon.fr/rio/vv - Program: Insight Segmentation & Registration Toolkit - Language: C++ + 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" @@ -59,7 +62,7 @@ class GuerreroFunctor else //Use the original formula as described in Guerrero's paper vol_change=static_cast( 1000. * (Bstar-A) / (A*(1000.+Bstar)) ); - if (std::isnormal(vol_change)) + if (IsNormal(vol_change)) return vol_change; else return 0.;