Commit cf5f7760 authored by OTB Bot's avatar OTB Bot

STYLE

parent 25848c63
......@@ -176,4 +176,3 @@ BinaryFunctorImageListToSampleListFilter< TInputImageList, TOutputSampleList, TF
#endif
......@@ -83,7 +83,7 @@ EigenvalueLikelihoodMaximisation<TInputImage>
unsigned int iMax = 0;
for (unsigned int i = 1; i < m_Likelihood.size() - 1; i++)
{
if ( (m_Likelihood[i] > m_Likelihood[i - 1])
if ( (m_Likelihood[i] > m_Likelihood[i - 1])
&& (m_Likelihood[i] > m_Likelihood[i + 1]) )
{
max = m_Likelihood[i];
......
......@@ -52,11 +52,11 @@ public:
/** Standard Macro*/
itkTypeMacro(SimulationStep2Base, ProcessObject)
;
;
itkSetMacro(Parameters, ParametersType)
itkGetMacro(Parameters, ParametersType)
// ;
//;
virtual void SetReflectance(const SpectralResponseType *) = 0;
virtual void SetTransmittance(const SpectralResponseType *) = 0;
......@@ -65,7 +65,7 @@ protected:
SimulationStep2Base()
{
}
;
;
virtual ~SimulationStep2Base()
{
}
......
......@@ -86,7 +86,7 @@ int main(int argc, char* argv[])
// Software Guide : EndLatex
// Software Guide : BeginCodeSnippet
typedef otb::PCAImageFilter<ImageType, ImageType,
typedef otb::PCAImageFilter<ImageType, ImageType,
otb::Transform::FORWARD> PCAFilterType;
PCAFilterType::Pointer pcafilter = PCAFilterType::New();
// Software Guide : EndCodeSnippet
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment