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

TEST: set reasonable grid spacing for prTvGCPsToRPCSensorModelImageFilterAndOrtho

parent 3617693c
No related branches found
No related tags found
No related merge requests found
......@@ -123,8 +123,9 @@ int otbGCPsToRPCSensorModelImageFilterAndOrtho(int argc, char* argv[])
// Deformation Field spacing
ImageType::SpacingType gridSpacing;
gridSpacing[0] = atof(argv[11]);
gridSpacing[1] = -atof(argv[11]);
gridSpacing[0] = 16.0 * atof(argv[7]);
gridSpacing[1] = 16.0 * atof(argv[8]);
orthoRectifFilter->SetDeformationFieldSpacing(gridSpacing);
writer->SetInput(orthoRectifFilter->GetOutput());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment