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

ENH : Add a minimum value for reverse projection (not entirely depending on DEM size)

parent 40c88689
No related branches found
No related tags found
2 merge requests!52Merge for v1.1.0,!50Finalize Python chains (v1.1.0)
......@@ -221,6 +221,10 @@ namespace otb
{
margin = std::max(DEMSize[0], DEMSize[1])*0.01; // %1 of the largest dimension
}
if (margin < 100)
{
margin = 100;
}
ImageInSizeType gridStep_SLC;
gridStep_SLC[0] = m_GridStep[0]*m_MLran;
......
......@@ -354,6 +354,10 @@ namespace otb
{
margin = std::max(nbColDEM, nbLinesDEM)*0.01; // %1 of the largest dimension
}
if (margin < 100)
{
margin = 100;
}
// Indice for the SAR bloc (determined by the Pipeline)
ImageOutIndexType id[4] ;
......
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