Skip to content
Snippets Groups Projects
Commit b703fa77 authored by Gaëlle USSEGLIO's avatar Gaëlle USSEGLIO
Browse files

ENH : New chain for IW processing (part 2 : Ground and DINSAR chain

parent 85abb384
No related branches found
No related tags found
1 merge request!8Deramp
......@@ -322,10 +322,10 @@ namespace otb
///////// Checks margin with ML factors (for averaging) /////////////
if (m_MLRan != 0 || m_MLAzi != 0)
{
if (m_MLRan < m_MarginRan || m_MLAzi < m_MarginAzi)
{
itkExceptionMacro(<<"Margin for averaging can't be superior to ML Factors.");
}
//if (m_MLRan < m_MarginRan || m_MLAzi < m_MarginAzi)
// {
// itkExceptionMacro(<<"Margin for averaging can't be superior to ML Factors.");
// }
}
......@@ -888,8 +888,10 @@ namespace otb
double mod_Acc = sqrt(complexMulConjTab_Re[colCounter]*complexMulConjTab_Re[colCounter] +
complexMulConjTab_Im[colCounter]*complexMulConjTab_Im[colCounter]);
int countPixel = (m_MLRan + 2*m_MarginRan) * (m_MLAzi + 2*m_MarginAzi);
// Amplitude
outPixel[0] = m_Gain * sqrt((complexMulConjTab_Mod[colCounter]/(m_MLRan*m_MLAzi)));
outPixel[0] = m_Gain * sqrt((complexMulConjTab_Mod[colCounter]/(countPixel)));
// Phase
outPixel[1] = std::atan2(complexMulConjTab_Im[colCounter],
......
This diff is collapsed.
......@@ -15,4 +15,10 @@ doppler_file = dop0.txt
[DIn_SAR]
\ No newline at end of file
[DIn_SAR]
GridStep_range = 150
GridStep_azimut = 150
Grid_Threshold = 0.3
Grid_Gap = 0.7
Interferogram_gain = 0.
Interferogram_ortho = no
\ No newline at end of file
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