Skip to content
Snippets Groups Projects
Commit 4263df68 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

TEST: uninitialized variable

parent 8cb96644
No related branches found
No related tags found
No related merge requests found
...@@ -116,6 +116,7 @@ int otbGCPsToRPCSensorModelImageFilterAndOrtho(int argc, char* argv[]) ...@@ -116,6 +116,7 @@ int otbGCPsToRPCSensorModelImageFilterAndOrtho(int argc, char* argv[])
orthoRectifFilter->SetMapProjection(utmMapProjection); orthoRectifFilter->SetMapProjection(utmMapProjection);
ImageType::PixelType no_data(reader->GetOutput()->GetNumberOfComponentsPerPixel()); ImageType::PixelType no_data(reader->GetOutput()->GetNumberOfComponentsPerPixel());
no_data.Fill(0.0);
orthoRectifFilter->SetEdgePaddingValue(no_data); orthoRectifFilter->SetEdgePaddingValue(no_data);
// Displacement Field spacing // Displacement Field spacing
......
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