Skip to content
Snippets Groups Projects
Commit 05b0cd2d authored by Guillaume Borrut's avatar Guillaume Borrut
Browse files

Ajout de tests d execution pour l application otbPolarimetricSynthesis

parent a49d0f66
No related branches found
No related tags found
No related merge requests found
......@@ -246,9 +246,7 @@ PolarimetricSynthesisFilter<TInputImageHH,TInputImageHV,TInputImageVH,TInputImag
// Forcing KhiI=0 PsiI=90
this->SetKhiI(0);
this->SetPsiI(90);
if(GetMode()==1)ForceCoPolar();
else if(GetMode()==2)ForceCrossPolar();
this->SetPsiI(90);
}
else
// Only HH and HV are present
......@@ -283,8 +281,6 @@ PolarimetricSynthesisFilter<TInputImageHH,TInputImageHV,TInputImageVH,TInputImag
// Forcing KhiI=0 PsiI=0
this->SetKhiI(0);
this->SetPsiI(0);
if(GetMode()==1)ForceCoPolar();
else if(GetMode()==2)ForceCrossPolar();
}
else
// Only HH and VV are present
......@@ -298,7 +294,10 @@ PolarimetricSynthesisFilter<TInputImageHH,TInputImageHV,TInputImageVH,TInputImag
{
itkExceptionMacro("Unknown architecture : Polarimetric synthesis is impossible !");
return;
}
}
if(GetMode()==1)ForceCoPolar();
else if(GetMode()==2)ForceCrossPolar();
}
......
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