Skip to content
Snippets Groups Projects
Commit 981dde7c authored by Jonathan Guinet's avatar Jonathan Guinet
Browse files

BUG: missing initialisation for min max value in Mult3DMapToDEM

parent 9e87905f
No related branches found
No related tags found
No related merge requests found
......@@ -407,7 +407,12 @@ void Multi3DMapToDEMFilter<T3DImage, TMaskImage, TOutputDEMImage>::GenerateInput
minMapIndex[1] = static_cast<long int> (mapRegion.GetIndex(1));
IndexType minMapRequestedIndex;
minMapRequestedIndex[0]= maxMapIndex[0]+1;
minMapRequestedIndex[1]= maxMapIndex[1]+1;
IndexType maxMapRequestedIndex;
maxMapRequestedIndex[0]= 0;
maxMapRequestedIndex[1]= 0;
for (unsigned int i = 0; i < 8; i++)
{
TDPointType tmpSensor = groundToSensorTransform->TransformPoint(corners[i]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment