diff --git a/Code/BasicFilters/otbVectorRescaleIntensityImageFilter.h b/Code/BasicFilters/otbVectorRescaleIntensityImageFilter.h
index 694b7fa51d4463fc0849ddb6cdfe60150ac7f302..3b77e14b24ae24cb70a38931069fa1c88cffdcd2 100755
--- a/Code/BasicFilters/otbVectorRescaleIntensityImageFilter.h
+++ b/Code/BasicFilters/otbVectorRescaleIntensityImageFilter.h
@@ -86,19 +86,19 @@ public:
 
   bool operator!=( const VectorAffineTransform & other ) const
   {
-    if (m_OutputMaximum.Size()==other.GetOutputMaximum().Size())
+    if (m_OutputMaximum.Size() == other.GetOutputMinimum().Size())
     {
-      for (unsigned int i = 0;i<m_OutputMaximum.Size();++i)
+      for (unsigned int i = 0; i < m_OutputMinimum.Size(); ++i)
       {
-        if ( m_OutputMaximum[i] != other.GetOutputMaximum()[i] )
+        if ( m_OutputMinimum[i] != other.GetOutputMinimum()[i] )
         {
           return true;
         }
       }
     }
-    if (m_OutputMaximum.Size()==other.GetOutputMaximum().Size())
+    if (m_OutputMaximum.Size() == other.GetOutputMaximum().Size())
     {
-      for (unsigned int i = 0;i<m_OutputMaximum.Size();++i)
+      for (unsigned int i = 0; i < m_OutputMaximum.Size(); ++i)
       {
         if ( m_OutputMaximum[i] != other.GetOutputMaximum()[i] )
         {
@@ -106,9 +106,9 @@ public:
         }
       }
     }
-    if (m_InputMinimum.Size()==other.GetInputMinimum().Size())
+    if (m_InputMinimum.Size() == other.GetInputMinimum().Size())
     {
-      for (unsigned int i = 0;i<m_InputMinimum.Size();++i)
+      for (unsigned int i = 0; i < m_InputMinimum.Size(); ++i)
       {
         if ( m_InputMinimum[i] != other.GetInputMinimum()[i] )
         {
@@ -116,9 +116,9 @@ public:
         }
       }
     }
-    if (m_InputMaximum.Size()==other.GetInputMaximum().Size())
+    if (m_InputMaximum.Size() == other.GetInputMaximum().Size())
     {
-      for (unsigned int i = 0;i<m_InputMaximum.Size();++i)
+      for (unsigned int i = 0; i < m_InputMaximum.Size(); ++i)
       {
         if ( m_InputMaximum[i] != other.GetInputMaximum()[i] )
         {
@@ -177,8 +177,8 @@ public:
 private:
   TOutput m_OutputMaximum;
   TOutput m_OutputMinimum;
-  TInput m_InputMinimum;
-  TInput m_InputMaximum;
+  TInput  m_InputMinimum;
+  TInput  m_InputMaximum;
 };
 }  // end namespace functor
 
@@ -204,19 +204,18 @@ class ITK_EXPORT VectorRescaleIntensityImageFilter
 {
 public:
   /** Standard class typedefs. */
-  typedef VectorRescaleIntensityImageFilter  Self;
+  typedef VectorRescaleIntensityImageFilter                                   Self;
   typedef itk::UnaryFunctorImageFilter<TInputImage,TOutputImage,
-  Functor::VectorAffineTransform<
-  typename TInputImage::PixelType,
-  typename TOutputImage::PixelType> >  Superclass;
-  typedef itk::SmartPointer<Self>   Pointer;
-  typedef itk::SmartPointer<const Self>  ConstPointer;
-
-  typedef typename TOutputImage::PixelType OutputPixelType;
-  typedef typename TInputImage::PixelType  InputPixelType;
-  typedef typename InputPixelType::ValueType      InputValueType;
-  typedef typename OutputPixelType::ValueType     OutputValueType;
-  typedef typename itk::NumericTraits<InputValueType>::RealType InputRealType;
+         Functor::VectorAffineTransform< typename TInputImage::PixelType, 
+                                         typename TOutputImage::PixelType> >  Superclass;
+  typedef itk::SmartPointer<Self>                                             Pointer;
+  typedef itk::SmartPointer<const Self>                                       ConstPointer;
+
+  typedef typename TOutputImage::PixelType                       OutputPixelType;
+  typedef typename TInputImage::PixelType                        InputPixelType;
+  typedef typename InputPixelType::ValueType                     InputValueType;
+  typedef typename OutputPixelType::ValueType                    OutputValueType;
+  typedef typename itk::NumericTraits<InputValueType>::RealType  InputRealType;
   typedef typename itk::NumericTraits<OutputValueType>::RealType OutputRealType;
 
   /** Method for creation through the object factory. */