Commit ee6a9fa5 authored by Victor Poughon's avatar Victor Poughon

BUG: fix unitialized member variable

parent 83549802
......@@ -36,14 +36,18 @@ namespace otb
*/
template <class TInputImage, class TOutputImage, class TFunction>
MultiChannelsPolarimetricSynthesisFilter<TInputImage, TOutputImage, TFunction>
::MultiChannelsPolarimetricSynthesisFilter()
::MultiChannelsPolarimetricSynthesisFilter():
m_PsiI(0.0),
m_KhiI(0.0),
m_PsiR(0.0),
m_KhiR(0.0),
m_Gain(1.0),
m_Mode(0),
m_EmissionH(false),
m_EmissionV(false)
{
this->SetNumberOfRequiredInputs(1);
this->InPlaceOff();
SetEmissionH(false);
SetEmissionV(false);
SetGain(1);
SetMode(0);
m_ArchitectureType = PolarimetricData::New();
}
......
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