diff --git a/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilter.h b/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilter.h
index da8eacf460ef31bd463bc29bcd349c73f13d92bb..06e6ba8679311b92dc85440e74e828c420ae201e 100755
--- a/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilter.h
+++ b/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilter.h
@@ -163,7 +163,8 @@ public:
   itkSetMacro(Mode,int);
   itkGetMacro(Mode,int);
   /** Set the gain */
-  itkSetMacro(Gain,double);  
+  itkSetMacro(Gain,double);
+  itkGetMacro(Gain,double);  
   /** Force the copolar mode */
   void ForceCoPolar();  
   /** Force the crosspolar mode */
diff --git a/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilter.txx b/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilter.txx
index 6ee966bd207103a7216d99136f0b7c1f22cf71d8..d632702df2c7532f30a83c4a8cd4b5205a455288 100755
--- a/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilter.txx
+++ b/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilter.txx
@@ -171,7 +171,7 @@ MultiChannelsPolarimetricSynthesisFilter<TInputImage,TOutputImage,TFunction>
   inputIt.GoToBegin();
   outputIt.GoToBegin();
 
-  int val = m_ArchitectureType->GetArchitectureType();
+  ArchitectureType val = m_ArchitectureType->GetArchitectureType();
 
   // Computation with 4 channels
   switch (val)
@@ -277,7 +277,7 @@ MultiChannelsPolarimetricSynthesisFilter<TInputImage,TOutputImage,TFunction>
 ::VerifyAndForceInputs()
 {
   
-  int val = m_ArchitectureType->GetArchitectureType();
+  ArchitectureType val = m_ArchitectureType->GetArchitectureType();
   
   switch(val)
     {
@@ -324,8 +324,9 @@ MultiChannelsPolarimetricSynthesisFilter<TInputImage,TOutputImage,TFunction>
 {
 
   int NumberOfImages = this->GetInput()->GetNumberOfComponentsPerPixel();
-std::cout<<"BeforeThreadedGenerateData : NbOfImages"<<NumberOfImages<<std::endl;
+///std::cout<<"BeforeThreadedGenerateData : NbOfImages"<<NumberOfImages<<std::endl;
 
+//std::cout<<"BeforeThreadedGenerateData : H : "<<GetEmissionH()<<" V : "<<GetEmissionV()<<std::endl;
   // First Part. Determine the kind of architecture of the input picture
   m_ArchitectureType->DetermineArchitecture(NumberOfImages,GetEmissionH(),GetEmissionV());
   
diff --git a/Code/SARPolarimetry/otbPolarimetricData.cxx b/Code/SARPolarimetry/otbPolarimetricData.cxx
index 295b1ca9261deda063bdc66d84e080170b4bae26..e19a255f91ede79d99c1b29e8d426b5ed9a8d8ae 100644
--- a/Code/SARPolarimetry/otbPolarimetricData.cxx
+++ b/Code/SARPolarimetry/otbPolarimetricData.cxx
@@ -105,7 +105,7 @@ std::cout<<"case2 : "<<std::endl;
         if (EmissionH && !EmissionV )
           {
             SetArchitectureType(HH_HV);
-std::cout<<"SET HH HV !! "<<std::endl;              
+std::cout<<"SET HH HV !! "<<std::endl;
           }
         else if (!EmissionH && EmissionV )
           {