From 0f85f79ba75fbadb8a000cc65efae4080cb77a3a Mon Sep 17 00:00:00 2001 From: OTB Bot <otbbot@orfeo-toolbox.org> Date: Tue, 5 Apr 2011 19:55:25 +0200 Subject: [PATCH] STYLE --- .../otbMuellerToCircularPolarisationImageFilter.h | 2 +- .../otbMuellerToCovarianceImageFilter.h | 2 +- ...bMuellerToPolarisationDegreeAndPowerImageFilter.h | 2 +- .../otbMultiChannelsPolarimetricSynthesisFilter.h | 2 +- Code/SARPolarimetry/otbReciprocalHAlphaImageFilter.h | 8 ++++---- .../otbSinclairToCovarianceMatrixFunctor.h | 2 +- .../otbSinclairToMuellerMatrixFunctor.h | 2 +- .../Code/SARPolarimetry/otbSinclairImageFilter.cxx | 12 ++++++------ 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Code/SARPolarimetry/otbMuellerToCircularPolarisationImageFilter.h b/Code/SARPolarimetry/otbMuellerToCircularPolarisationImageFilter.h index f8dbb63242..5608881c42 100644 --- a/Code/SARPolarimetry/otbMuellerToCircularPolarisationImageFilter.h +++ b/Code/SARPolarimetry/otbMuellerToCircularPolarisationImageFilter.h @@ -31,7 +31,7 @@ namespace Functor { * * The input Mueller image has 16 channels, one for each matrix element. * The order of the channels corresponds to : - * \f$ \begin{pmatrix} + * \f$ \begin{pmatrix} * {channel #0 }&{channel #1 }&{channel #2 }&{channel #3 } \\ * {channel #4 }&{channel #5 }&{channel #6 }&{channel #7 } \\ * {channel #8 }&{channel #9 }&{channel #10}&{channel #11} \\ diff --git a/Code/SARPolarimetry/otbMuellerToCovarianceImageFilter.h b/Code/SARPolarimetry/otbMuellerToCovarianceImageFilter.h index fbaac7b713..fb87074ac5 100644 --- a/Code/SARPolarimetry/otbMuellerToCovarianceImageFilter.h +++ b/Code/SARPolarimetry/otbMuellerToCovarianceImageFilter.h @@ -40,7 +40,7 @@ namespace Functor { * Where \f$ M_{ij} are the coefficients of the input Mueller matrix. * Input pixel must have 10 channels (one for each Mueller matrix coeffcients). * The order of the channels corresponds to : - * \f$ \begin{pmatrix} + * \f$ \begin{pmatrix} * {channel #0 }&{channel #1 }&{channel #2 }&{channel #3 } \\ * {channel #4 }&{channel #5 }&{channel #6 }&{channel #7 } \\ * {channel #8 }&{channel #9 }&{channel #10}&{channel #11} \\ diff --git a/Code/SARPolarimetry/otbMuellerToPolarisationDegreeAndPowerImageFilter.h b/Code/SARPolarimetry/otbMuellerToPolarisationDegreeAndPowerImageFilter.h index e07d220676..51e2827904 100644 --- a/Code/SARPolarimetry/otbMuellerToPolarisationDegreeAndPowerImageFilter.h +++ b/Code/SARPolarimetry/otbMuellerToPolarisationDegreeAndPowerImageFilter.h @@ -35,7 +35,7 @@ namespace Functor { * from the Mueller image * * The order of the channels of the input image corresponds to : - * \f$ \begin{pmatrix} + * \f$ \begin{pmatrix} * {channel #0 }&{channel #1 }&{channel #2 }&{channel #3 } \\ * {channel #4 }&{channel #5 }&{channel #6 }&{channel #7 } \\ * {channel #8 }&{channel #9 }&{channel #10}&{channel #11} \\ diff --git a/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilter.h b/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilter.h index fe9f8a0bc4..a93d40889e 100644 --- a/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilter.h +++ b/Code/SARPolarimetry/otbMultiChannelsPolarimetricSynthesisFilter.h @@ -31,7 +31,7 @@ namespace otb * \brief This class computes the polarimetric synthesis from two to four radar images, depening on the polarimetric architecture. * * It has the same behaviour as the PolarimetricSynthesisImageFilter expect the fact that it - * considers a VectorImage as input which each channels is HH, HV, VH and VV (in this particular order). + * considers a VectorImage as input which each channels is HH, HV, VH and VV (in this particular order). * * \ingroup SARPolarimetry * \sa PolarimetricSynthesisFilter diff --git a/Code/SARPolarimetry/otbReciprocalHAlphaImageFilter.h b/Code/SARPolarimetry/otbReciprocalHAlphaImageFilter.h index 97287c7890..2712cacc4b 100644 --- a/Code/SARPolarimetry/otbReciprocalHAlphaImageFilter.h +++ b/Code/SARPolarimetry/otbReciprocalHAlphaImageFilter.h @@ -32,21 +32,21 @@ namespace Functor { /** \class otbHAlphaFunctor * \brief Evaluate the H-Alpha parameters from the reciprocal coherency matrix image. * - * To process, we diagonalise the complex coherency matrix (size 3*3). We call \f$ SortedEigenValues \f$ the list that contains the + * To process, we diagonalise the complex coherency matrix (size 3*3). We call \f$ SortedEigenValues \f$ the list that contains the * eigen values of the matrix sorted in decrease order. \f$ SortedEigenVector \f$ the corresponding list * of eigen vector. - * + * * Output value are: * channel #0 : \f$ entropy = -\sum_{i=0}^{2}{p[i].\log{p[i]}} / \log{3} \f$ \\ * channel #1 : \f$ \alpha = \sum_{i=0}^{2}{p[i].\alpha_{i} \f$ \\ * channel #2 : \f$ anisotropy = \frac {SortedEigenValues[1] - SortedEigenValues[2]}{SortedEigenValues[1] + SortedEigenValues[2]} \f$ \\ - * + * * Where: * \f$ p[i] = \max{SortedEigenValues[i], 0} / \sum_{i=0}^{2, SortedEigenValues[i]>0}{SortedEigenValues[i]} \f$ \\ * Then, \f$ if p[i] < 0, p[i]=0, if p[i] > 1, p[i]=1. \f$ \\ * \f$ \alpha_{i} = \left| SortedEigenVector[i] \right|* \frac{180}{\pi}\f$ \\ * Then, \f$ if \alpha_{i} > 90, \alpha_{i}=90. \f$ \\ - * + * * \ingroup SARPolarimetry * */ diff --git a/Code/SARPolarimetry/otbSinclairToCovarianceMatrixFunctor.h b/Code/SARPolarimetry/otbSinclairToCovarianceMatrixFunctor.h index c1c767c693..b4ece464e4 100644 --- a/Code/SARPolarimetry/otbSinclairToCovarianceMatrixFunctor.h +++ b/Code/SARPolarimetry/otbSinclairToCovarianceMatrixFunctor.h @@ -39,7 +39,7 @@ namespace Functor * channel #7 : \f$ S_{vh}.S_{vh}^{*} \f$ \\ * channel #8 : \f$ S_{vh}.S_{vv}^{*} \f$ \\ * channel #9 : \f$ S_{vv}.S_{vv}^{*} \f$ \\ - * + * * The output pixel has 10 channels : the diagonal and the upper element of the matrix. * Element are stored from left to right, line by line. * diff --git a/Code/SARPolarimetry/otbSinclairToMuellerMatrixFunctor.h b/Code/SARPolarimetry/otbSinclairToMuellerMatrixFunctor.h index 599e6532e5..4d92ae725f 100644 --- a/Code/SARPolarimetry/otbSinclairToMuellerMatrixFunctor.h +++ b/Code/SARPolarimetry/otbSinclairToMuellerMatrixFunctor.h @@ -55,7 +55,7 @@ namespace Functor * * Output is a not a complex. The output pixel has 16 channels : each element of the Mueller matrix. * The order of the channels corresponds to : - * \f$ \begin{pmatrix} + * \f$ \begin{pmatrix} * {channel #0 }&{channel #1 }&{channel #2 }&{channel #3 } \\ * {channel #4 }&{channel #5 }&{channel #6 }&{channel #7 } \\ * {channel #8 }&{channel #9 }&{channel #10}&{channel #11} \\ diff --git a/Testing/Code/SARPolarimetry/otbSinclairImageFilter.cxx b/Testing/Code/SARPolarimetry/otbSinclairImageFilter.cxx index 6508a756f7..e4c34c330a 100644 --- a/Testing/Code/SARPolarimetry/otbSinclairImageFilter.cxx +++ b/Testing/Code/SARPolarimetry/otbSinclairImageFilter.cxx @@ -77,11 +77,11 @@ int generic_SinclairImageFilter(int argc, char * argv[]) typename ExtractROIType::Pointer extract3 = ExtractROIType::New(); extract1->SetStartX(10); extract1->SetStartY(10); - extract1->SetSizeX(30); + extract1->SetSizeX(30); extract1->SetSizeY(30); extract2->SetStartX(10); extract2->SetStartY(10); - extract2->SetSizeX(30); + extract2->SetSizeX(30); extract2->SetSizeY(30); extract3->SetStartX(10); extract3->SetStartY(10); @@ -92,7 +92,7 @@ int generic_SinclairImageFilter(int argc, char * argv[]) reader3->SetFileName(inputFilename3); extract1->SetInput(reader1->GetOutput()); extract2->SetInput(reader3->GetOutput()); - extract3->SetInput(reader3->GetOutput()); + extract3->SetInput(reader3->GetOutput()); filter->SetInputHH(extract1->GetOutput()); filter->SetInputHV(extract2->GetOutput()); filter->SetInputVH(extract2->GetOutput()); @@ -136,11 +136,11 @@ int generic_SinclairImageFilterWithCast(int argc, char * argv[]) typename ExtractROIType::Pointer extract3 = ExtractROIType::New(); extract1->SetStartX(10); extract1->SetStartY(10); - extract1->SetSizeX(30); + extract1->SetSizeX(30); extract1->SetSizeY(30); extract2->SetStartX(10); extract2->SetStartY(10); - extract2->SetSizeX(30); + extract2->SetSizeX(30); extract2->SetSizeY(30); extract3->SetStartX(10); extract3->SetStartY(10); @@ -151,7 +151,7 @@ int generic_SinclairImageFilterWithCast(int argc, char * argv[]) reader3->SetFileName(inputFilename3); extract1->SetInput(reader1->GetOutput()); extract2->SetInput(reader3->GetOutput()); - extract3->SetInput(reader3->GetOutput()); + extract3->SetInput(reader3->GetOutput()); filter->SetInputHH(extract1->GetOutput()); filter->SetInputHV(extract2->GetOutput()); filter->SetInputVH(extract2->GetOutput()); -- GitLab