Skip to content
Snippets Groups Projects
Commit cf5f7760 authored by OTB Bot's avatar OTB Bot
Browse files

STYLE

parent 25848c63
No related branches found
No related tags found
No related merge requests found
......@@ -176,4 +176,3 @@ BinaryFunctorImageListToSampleListFilter< TInputImageList, TOutputSampleList, TF
#endif
......@@ -144,4 +144,3 @@ private:
......@@ -127,4 +127,3 @@ private:
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment