Commit 88d30565 authored by remi cresson's avatar remi cresson
Browse files

FIX: input images list bugfix + license header

parent 05296882
/*=========================================================================
Program: NDVITimeSeries
Language: C++
Copyright (c) Remi Cresson (IRSTEA). All rights reserved.
See LICENSE for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "itkFixedArray.h"
#include "itkObjectFactory.h"
......@@ -299,6 +314,7 @@ private:
m_NDVIImageList->PushBack( extractor->GetOutput() );
}
}
m_NDVIConcatener->SetInput( m_NDVIImageList );
m_NDVIConcatener->UpdateOutputInformation();
if (m_NDVIConcatener->GetOutput()->GetNumberOfComponentsPerPixel() != ndviDates.size())
......@@ -394,6 +410,7 @@ private:
m_RFImageList->PushBack( extractor->GetOutput() );
}
}
m_RFConcatener->SetInput( m_RFImageList );
m_RFConcatener->UpdateOutputInformation();
if (m_RFConcatener->GetOutput()->GetNumberOfComponentsPerPixel() != rainDates.size())
......
/*=========================================================================
Copyright (c) IRSTEA. All rights reserved.
Program: NDVITimeSeries
Language: C++
Copyright (c) Remi Cresson (IRSTEA). All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
See LICENSE for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#ifndef __otbNDVITimeSeriesFunctor_h
#define __otbNDVITimeSeriesFunctor_h
......
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