diff --git a/Code/Projections/otbRationalTransform.h b/Code/Projections/otbRationalTransform.h index 1fd1b150fa3bac46c57936c03b943395bb9b536d..ad587978b25c36b9df865c95c9ccd937c89fa7d1 100644 --- a/Code/Projections/otbRationalTransform.h +++ b/Code/Projections/otbRationalTransform.h @@ -22,16 +22,16 @@ #include "itkExceptionObject.h" #include "itkMacro.h" -namespace otb +namespace otb { /** \class RationalTransform * \brief This class implements a rational transfom * * A rational transform is a quotient of two polynomial functions. - * + * * The degree of the numerator and denominator polynomial functions * can be set using the appropriate setters. - * + * * The number of parameters is then the number of dimensions times * the numerator degree plus one times the denominator degree plus * one. @@ -45,11 +45,11 @@ namespace otb template <class TScalarType = double, unsigned int Dimension = 2> -class ITK_EXPORT RationalTransform : public itk::Transform<TScalarType,Dimension,Dimension> +class ITK_EXPORT RationalTransform : public itk::Transform<TScalarType, Dimension, Dimension> { public: /** Standard class typedefs. */ - typedef itk::Transform<TScalarType,Dimension, + typedef itk::Transform<TScalarType, Dimension, Dimension> Superclass; typedef RationalTransform Self; typedef itk::SmartPointer<Self> Pointer; @@ -70,16 +70,16 @@ public: itkStaticConstMacro(SpaceDimension, unsigned int, Dimension); /** Set the numerator degree */ - itkSetMacro(NumeratorDegree,unsigned int); + itkSetMacro(NumeratorDegree, unsigned int); /** Get the numerator degree */ - itkGetMacro(NumeratorDegree,unsigned int); + itkGetMacro(NumeratorDegree, unsigned int); /** Set the numerator degree */ - itkSetMacro(DenominatorDegree,unsigned int); + itkSetMacro(DenominatorDegree, unsigned int); /** Get the denominator degree */ - itkGetMacro(DenominatorDegree,unsigned int); + itkGetMacro(DenominatorDegree, unsigned int); /** The transform point method */ @@ -122,7 +122,7 @@ public: } // Finally, fill the output - outputPoint[dim]=num/denom; + outputPoint[dim]=num/denom; } // Return the output point @@ -149,7 +149,7 @@ public: } protected: - RationalTransform() : Superclass(SpaceDimension,16), m_NumeratorDegree(3), m_DenominatorDegree(3) + RationalTransform() : Superclass(SpaceDimension, 16), m_NumeratorDegree(3), m_DenominatorDegree(3) { this->m_Parameters.SetSize(this->GetNumberOfParameters()); this->m_Parameters.Fill(0); @@ -161,7 +161,7 @@ protected: void PrintSelf(std::ostream& os, itk::Indent indent) const { - Superclass::PrintSelf(os,indent); + Superclass::PrintSelf(os, indent); } private: diff --git a/Code/SARPolarimetry/CMakeLists.txt b/Code/SARPolarimetry/CMakeLists.txt old mode 100755 new mode 100644 diff --git a/Code/SARPolarimetry/otbHermitianEigenAnalysis.h b/Code/SARPolarimetry/otbHermitianEigenAnalysis.h old mode 100755 new mode 100644 diff --git a/Code/SARPolarimetry/otbHermitianEigenAnalysis.txx b/Code/SARPolarimetry/otbHermitianEigenAnalysis.txx old mode 100755 new mode 100644 diff --git a/Code/SARPolarimetry/otbMLCToCircularCoherencyDegreeImageFilter.h b/Code/SARPolarimetry/otbMLCToCircularCoherencyDegreeImageFilter.h old mode 100755 new mode 100644 diff --git a/Code/SARPolarimetry/otbMLCToCoherencyDegreeImageFilter.h b/Code/SARPolarimetry/otbMLCToCoherencyDegreeImageFilter.h old mode 100755 new mode 100644 diff --git a/Code/SARPolarimetry/otbMLCToCoherencyImageFilter.h b/Code/SARPolarimetry/otbMLCToCoherencyImageFilter.h old mode 100755 new mode 100644 diff --git a/Code/SARPolarimetry/otbMuellerToCircularPolarisationImageFilter.h b/Code/SARPolarimetry/otbMuellerToCircularPolarisationImageFilter.h old mode 100755 new mode 100644 index c35a49119102774708c824ad5bc1e87d06062862..89ae7bdcb18a0270d6588d9c5cd1bc1d3aa24779 --- a/Code/SARPolarimetry/otbMuellerToCircularPolarisationImageFilter.h +++ b/Code/SARPolarimetry/otbMuellerToCircularPolarisationImageFilter.h @@ -33,7 +33,7 @@ namespace Functor { * \ingroup Functor * \ingroup SARPolarimetry * - * \sa MuellerToMLCImageFilter + * \sa MuellerToMLCImageFilter * \sa MuellerToPolarisationDegreeAndPowerImageFilter * */ diff --git a/Code/SARPolarimetry/otbMuellerToMLCImageFilter.h b/Code/SARPolarimetry/otbMuellerToMLCImageFilter.h old mode 100755 new mode 100644 diff --git a/Code/SARPolarimetry/otbMuellerToPolarisationDegreeAndPowerImageFilter.h b/Code/SARPolarimetry/otbMuellerToPolarisationDegreeAndPowerImageFilter.h old mode 100755 new mode 100644 index cf103ab1e5b8f579d5ee151931a825427af9bb90..d4d955bb690af4143c5010a25255ecd30b294adf --- a/Code/SARPolarimetry/otbMuellerToPolarisationDegreeAndPowerImageFilter.h +++ b/Code/SARPolarimetry/otbMuellerToPolarisationDegreeAndPowerImageFilter.h @@ -38,7 +38,7 @@ namespace Functor { * \ingroup SARPolarimetry * * \sa MuellerToCircularPolarisationImageFilter - * \sa MuellerToMLCImageFilter + * \sa MuellerToMLCImageFilter * */ template< class TInput, class TOutput> diff --git a/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilter.h b/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilter.h old mode 100755 new mode 100644 diff --git a/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilter.txx b/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilter.txx old mode 100755 new mode 100644 diff --git a/Code/SARPolarimetry/otbPolarimetricData.cxx b/Code/SARPolarimetry/otbPolarimetricData.cxx old mode 100755 new mode 100644 diff --git a/Code/SARPolarimetry/otbPolarimetricData.h b/Code/SARPolarimetry/otbPolarimetricData.h old mode 100755 new mode 100644 index 81037e26e39a5cdf9a2b49bf9a14c1e10c9c8592..938ba50fb5dacc99b06e2ae26b672e3eb22efdf7 --- a/Code/SARPolarimetry/otbPolarimetricData.h +++ b/Code/SARPolarimetry/otbPolarimetricData.h @@ -40,7 +40,7 @@ typedef enum /** \class PolarimetricData * \brief This class allows to determine the type of architecture we get. -* +* * HH_HV_VH_VV (0), HH_HV_VV (1), HH_VH_VV (2), HH_HV(3), VH_VV (4), HH_VV (5). * * \ingroup SARPolarimetry diff --git a/Code/SARPolarimetry/otbPolarimetricSynthesisFilter.h b/Code/SARPolarimetry/otbPolarimetricSynthesisFilter.h old mode 100755 new mode 100644 diff --git a/Code/SARPolarimetry/otbPolarimetricSynthesisFilter.txx b/Code/SARPolarimetry/otbPolarimetricSynthesisFilter.txx old mode 100755 new mode 100644 diff --git a/Code/SARPolarimetry/otbPolarimetricSynthesisFunctor.h b/Code/SARPolarimetry/otbPolarimetricSynthesisFunctor.h old mode 100755 new mode 100644 diff --git a/Code/SARPolarimetry/otbReciprocalCoherencyToMuellerImageFilter.h b/Code/SARPolarimetry/otbReciprocalCoherencyToMuellerImageFilter.h old mode 100755 new mode 100644 diff --git a/Code/SARPolarimetry/otbReciprocalHAlphaImageFilter.h b/Code/SARPolarimetry/otbReciprocalHAlphaImageFilter.h old mode 100755 new mode 100644 diff --git a/Code/SARPolarimetry/otbSinclairImageFilter.h b/Code/SARPolarimetry/otbSinclairImageFilter.h old mode 100755 new mode 100644 diff --git a/Code/SARPolarimetry/otbSinclairImageFilter.txx b/Code/SARPolarimetry/otbSinclairImageFilter.txx old mode 100755 new mode 100644 diff --git a/Code/SARPolarimetry/otbSinclairToCircularCovarianceMatrixFunctor.h b/Code/SARPolarimetry/otbSinclairToCircularCovarianceMatrixFunctor.h old mode 100755 new mode 100644 diff --git a/Code/SARPolarimetry/otbSinclairToCoherencyFunctor.h b/Code/SARPolarimetry/otbSinclairToCoherencyFunctor.h old mode 100755 new mode 100644 diff --git a/Code/SARPolarimetry/otbSinclairToCovarianceFunctor.h b/Code/SARPolarimetry/otbSinclairToCovarianceFunctor.h old mode 100755 new mode 100644 diff --git a/Code/SARPolarimetry/otbSinclairToMuellerFunctor.h b/Code/SARPolarimetry/otbSinclairToMuellerFunctor.h old mode 100755 new mode 100644 index 275115bb16555546979d715d045293f94a465be2..86d6998c7d12b2a7fd40b83c75f791cae1cff240 --- a/Code/SARPolarimetry/otbSinclairToMuellerFunctor.h +++ b/Code/SARPolarimetry/otbSinclairToMuellerFunctor.h @@ -48,7 +48,7 @@ namespace Functor * channel #15 : \f$ \mathcal{Im}( T_{xx}.T_{yy}^{*} - T_{xy}.T_{yx}^{*} ) \f$ * * With : - * \f$ T_{xx} = -S_{hh} \f$ + * \f$ T_{xx} = -S_{hh} \f$ * \f$ T_{xy} = -S_{hv} \f$ * \f$ T_{yx} = -S_{vh} \f$ * \f$ T_{yy} = -S_{vv} \f$ diff --git a/Code/SARPolarimetry/otbSinclairToReciprocalCircularCovarianceMatrixFunctor.h b/Code/SARPolarimetry/otbSinclairToReciprocalCircularCovarianceMatrixFunctor.h old mode 100755 new mode 100644 diff --git a/Code/SARPolarimetry/otbSinclairToReciprocalCoherencyFunctor.h b/Code/SARPolarimetry/otbSinclairToReciprocalCoherencyFunctor.h old mode 100755 new mode 100644 index bee4f07fdf653f2bef783f99e5c4048c981c04fc..2f66651a436c62f0c322c7b00c277c430b4bbcd5 --- a/Code/SARPolarimetry/otbSinclairToReciprocalCoherencyFunctor.h +++ b/Code/SARPolarimetry/otbSinclairToReciprocalCoherencyFunctor.h @@ -38,7 +38,7 @@ namespace Functor * * \ingroup Functor * \ingroup SARPolarimetry - * + * * \sa SinclairImageFilter * \sa SinclairToCircularCovarianceMatrixFunctor * \sa SinclairToCoherencyFunctor diff --git a/Code/SARPolarimetry/otbSinclairToReciprocalCovarianceFunctor.h b/Code/SARPolarimetry/otbSinclairToReciprocalCovarianceFunctor.h old mode 100755 new mode 100644 diff --git a/Code/Visualization/otbArrowKeyMoveActionHandler.h b/Code/Visualization/otbArrowKeyMoveActionHandler.h index f748e7fa42b506cb2c00c892ba53e00081586a4c..ef9cdbb321ff754416fd689c954cae0d0e33b089 100644 --- a/Code/Visualization/otbArrowKeyMoveActionHandler.h +++ b/Code/Visualization/otbArrowKeyMoveActionHandler.h @@ -218,24 +218,24 @@ public: itkGetObjectMacro(View, ViewType); /** Set key mapping */ - itkSetMacro(UpKey,unsigned int); - itkGetMacro(UpKey,unsigned int); - itkSetMacro(DownKey,unsigned int); - itkGetMacro(DownKey,unsigned int); - itkSetMacro(LeftKey,unsigned int); - itkGetMacro(LeftKey,unsigned int); - itkSetMacro(RightKey,unsigned int); - itkGetMacro(RightKey,unsigned int); - itkSetMacro(Composed,bool); - itkGetMacro(Composed,bool); - itkSetMacro(ComposeKey,unsigned int); - itkGetMacro(ComposeKey,unsigned int); + itkSetMacro(UpKey, unsigned int); + itkGetMacro(UpKey, unsigned int); + itkSetMacro(DownKey, unsigned int); + itkGetMacro(DownKey, unsigned int); + itkSetMacro(LeftKey, unsigned int); + itkGetMacro(LeftKey, unsigned int); + itkSetMacro(RightKey, unsigned int); + itkGetMacro(RightKey, unsigned int); + itkSetMacro(Composed, bool); + itkGetMacro(Composed, bool); + itkSetMacro(ComposeKey, unsigned int); + itkGetMacro(ComposeKey, unsigned int); protected: /** Constructor */ - ArrowKeyMoveActionHandler() : m_View(), m_Model(), - m_UpKey(FL_Up), m_DownKey(FL_Down), - m_LeftKey(FL_Left),m_RightKey(FL_Right), + ArrowKeyMoveActionHandler() : m_View(), m_Model(), + m_UpKey(FL_Up), m_DownKey(FL_Down), + m_LeftKey(FL_Left), m_RightKey(FL_Right), m_Composed(false), m_ComposeKey(FL_SHIFT) {} @@ -257,7 +257,7 @@ private: // Pointer to the model ModelPointerType m_Model; -// Key mapping for up,down,left and right +// Key mapping for up, down, left and right unsigned int m_UpKey; unsigned int m_DownKey; unsigned int m_LeftKey; diff --git a/Testing/Code/Projections/otbRationalTransform.cxx b/Testing/Code/Projections/otbRationalTransform.cxx index 21d721dbc28935a64680da56168f37844b03373b..4b0e1ba826b4552c5e6276995e53039f72b50eb5 100644 --- a/Testing/Code/Projections/otbRationalTransform.cxx +++ b/Testing/Code/Projections/otbRationalTransform.cxx @@ -45,8 +45,8 @@ int otbRationalTransform(int argc, char* argv[]) params.Fill(1.); // Rational is - // fx(x,y) = (1+2*x+3*x^2+4*x^3+5*x^4)/(6+7*x+8*x^2+9*x^3+10*x^4) - // fy(x,y) = (11+12*y+13*y^2+14*y^3+15*y^4)/(16+17*y+18*y^2+19*y^3+20*y^4) + // fx(x, y) = (1+2*x+3*x^2+4*x^3+5*x^4)/(6+7*x+8*x^2+9*x^3+10*x^4) + // fy(x, y) = (11+12*y+13*y^2+14*y^3+15*y^4)/(16+17*y+18*y^2+19*y^3+20*y^4) params[0]=1; params[1]=2; params[2]=3; @@ -83,8 +83,8 @@ int otbRationalTransform(int argc, char* argv[]) unsigned int idx = 2; ofs<<"Rational function is: "<<std::endl; - ofs<<"fx(x,y) = (1+2*x+3*x^2+4*x^3+5*x^4)/(6+7*x+8*x^2+9*x^3+10*x^4)"<<std::endl; - ofs<<"fy(x,y) = (11+12*y+13*y^2+14*y^3+15*y^4)/(16+17*y+18*y^2+19*y^3+20*y^4)"<<std::endl; + ofs<<"fx(x, y) = (1+2*x+3*x^2+4*x^3+5*x^4)/(6+7*x+8*x^2+9*x^3+10*x^4)"<<std::endl; + ofs<<"fy(x, y) = (11+12*y+13*y^2+14*y^3+15*y^4)/(16+17*y+18*y^2+19*y^3+20*y^4)"<<std::endl; while(idx+1<(unsigned int)argc) { inputPoint[0] = atof(argv[idx]); @@ -94,7 +94,7 @@ int otbRationalTransform(int argc, char* argv[]) idx+=2; } - ofs.close(); + ofs.close(); return EXIT_SUCCESS; } diff --git a/Testing/Code/SARPolarimetry/CMakeLists.txt b/Testing/Code/SARPolarimetry/CMakeLists.txt old mode 100755 new mode 100644 diff --git a/Testing/Code/SARPolarimetry/otbHHnHVPolarimetricSynthesisFilter.cxx b/Testing/Code/SARPolarimetry/otbHHnHVPolarimetricSynthesisFilter.cxx old mode 100755 new mode 100644 diff --git a/Testing/Code/SARPolarimetry/otbHHnHVnVVPolarimetricSynthesisFilter.cxx b/Testing/Code/SARPolarimetry/otbHHnHVnVVPolarimetricSynthesisFilter.cxx old mode 100755 new mode 100644 diff --git a/Testing/Code/SARPolarimetry/otbHermitianEigenAnalysisTest.cxx b/Testing/Code/SARPolarimetry/otbHermitianEigenAnalysisTest.cxx old mode 100755 new mode 100644 diff --git a/Testing/Code/SARPolarimetry/otbMLCToCircularCoherencyDegreeImageFilter.cxx b/Testing/Code/SARPolarimetry/otbMLCToCircularCoherencyDegreeImageFilter.cxx old mode 100755 new mode 100644 diff --git a/Testing/Code/SARPolarimetry/otbMLCToCircularCoherencyDegreeImageFilterNew.cxx b/Testing/Code/SARPolarimetry/otbMLCToCircularCoherencyDegreeImageFilterNew.cxx old mode 100755 new mode 100644 diff --git a/Testing/Code/SARPolarimetry/otbMLCToCoherencyDegreeImageFilter.cxx b/Testing/Code/SARPolarimetry/otbMLCToCoherencyDegreeImageFilter.cxx old mode 100755 new mode 100644 diff --git a/Testing/Code/SARPolarimetry/otbMLCToCoherencyDegreeImageFilterNew.cxx b/Testing/Code/SARPolarimetry/otbMLCToCoherencyDegreeImageFilterNew.cxx old mode 100755 new mode 100644 diff --git a/Testing/Code/SARPolarimetry/otbMLCToCoherencyImageFilter.cxx b/Testing/Code/SARPolarimetry/otbMLCToCoherencyImageFilter.cxx old mode 100755 new mode 100644 diff --git a/Testing/Code/SARPolarimetry/otbMLCToCoherencyImageFilterNew.cxx b/Testing/Code/SARPolarimetry/otbMLCToCoherencyImageFilterNew.cxx old mode 100755 new mode 100644 diff --git a/Testing/Code/SARPolarimetry/otbMuellerToCircularPolarisationImageFilter.cxx b/Testing/Code/SARPolarimetry/otbMuellerToCircularPolarisationImageFilter.cxx old mode 100755 new mode 100644 diff --git a/Testing/Code/SARPolarimetry/otbMuellerToCircularPolarisationImageFilterNew.cxx b/Testing/Code/SARPolarimetry/otbMuellerToCircularPolarisationImageFilterNew.cxx old mode 100755 new mode 100644 diff --git a/Testing/Code/SARPolarimetry/otbMuellerToMLCImageFilter.cxx b/Testing/Code/SARPolarimetry/otbMuellerToMLCImageFilter.cxx old mode 100755 new mode 100644 diff --git a/Testing/Code/SARPolarimetry/otbMuellerToMLCImageFilterNew.cxx b/Testing/Code/SARPolarimetry/otbMuellerToMLCImageFilterNew.cxx old mode 100755 new mode 100644 diff --git a/Testing/Code/SARPolarimetry/otbMuellerToPolarisationDegreeAndPowerImageFilter.cxx b/Testing/Code/SARPolarimetry/otbMuellerToPolarisationDegreeAndPowerImageFilter.cxx old mode 100755 new mode 100644 diff --git a/Testing/Code/SARPolarimetry/otbMuellerToPolarisationDegreeAndPowerImageFilterNew.cxx b/Testing/Code/SARPolarimetry/otbMuellerToPolarisationDegreeAndPowerImageFilterNew.cxx old mode 100755 new mode 100644 diff --git a/Testing/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilter.cxx b/Testing/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilter.cxx old mode 100755 new mode 100644 diff --git a/Testing/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilterNew.cxx b/Testing/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilterNew.cxx old mode 100755 new mode 100644 diff --git a/Testing/Code/SARPolarimetry/otbPolarimetricSynthesisFilter.cxx b/Testing/Code/SARPolarimetry/otbPolarimetricSynthesisFilter.cxx old mode 100755 new mode 100644 diff --git a/Testing/Code/SARPolarimetry/otbPolarimetricSynthesisFilterNew.cxx b/Testing/Code/SARPolarimetry/otbPolarimetricSynthesisFilterNew.cxx old mode 100755 new mode 100644 diff --git a/Testing/Code/SARPolarimetry/otbReciprocalCoherencyToMuellerImageFilter.cxx b/Testing/Code/SARPolarimetry/otbReciprocalCoherencyToMuellerImageFilter.cxx old mode 100755 new mode 100644 diff --git a/Testing/Code/SARPolarimetry/otbReciprocalCoherencyToMuellerImageFilterNew.cxx b/Testing/Code/SARPolarimetry/otbReciprocalCoherencyToMuellerImageFilterNew.cxx old mode 100755 new mode 100644 diff --git a/Testing/Code/SARPolarimetry/otbReciprocalHAlphaImageFilter.cxx b/Testing/Code/SARPolarimetry/otbReciprocalHAlphaImageFilter.cxx old mode 100755 new mode 100644 diff --git a/Testing/Code/SARPolarimetry/otbReciprocalHAlphaImageFilterNew.cxx b/Testing/Code/SARPolarimetry/otbReciprocalHAlphaImageFilterNew.cxx old mode 100755 new mode 100644 diff --git a/Testing/Code/SARPolarimetry/otbSARPolarimetryTests1.cxx b/Testing/Code/SARPolarimetry/otbSARPolarimetryTests1.cxx old mode 100755 new mode 100644 diff --git a/Testing/Code/SARPolarimetry/otbSinclairImageFilter.cxx b/Testing/Code/SARPolarimetry/otbSinclairImageFilter.cxx old mode 100755 new mode 100644 diff --git a/Testing/Code/SARPolarimetry/otbSinclairToCovarianceFunctor.cxx b/Testing/Code/SARPolarimetry/otbSinclairToCovarianceFunctor.cxx old mode 100755 new mode 100644 diff --git a/Testing/Code/SARPolarimetry/otbSinclairToReciprocalCovarianceFunctor.cxx b/Testing/Code/SARPolarimetry/otbSinclairToReciprocalCovarianceFunctor.cxx old mode 100755 new mode 100644 diff --git a/Testing/Code/SARPolarimetry/otbVHnVVPolarimetricSynthesisFilter.cxx b/Testing/Code/SARPolarimetry/otbVHnVVPolarimetricSynthesisFilter.cxx old mode 100755 new mode 100644 diff --git a/Testing/Code/SARPolarimetry/otbVectorMultiChannelsPolarimetricSynthesisFilter.cxx b/Testing/Code/SARPolarimetry/otbVectorMultiChannelsPolarimetricSynthesisFilter.cxx old mode 100755 new mode 100644