Commit b0df0c75 authored by Guillaume Pasero's avatar Guillaume Pasero

Merge branch '1548-fix-skipcarto' into 'develop'

Resolve "skipcarto not working in Orthorectification?"

Closes #1548

See merge request !47
parents a3a5c936 b56b5168
......@@ -380,6 +380,17 @@ ImageFileReader<TOutputImage, ConvertPixelTraits>
spacing[i] = 1.0;
}
origin[i] = 0.5*spacing[i];
for (unsigned j = 0; j < TOutputImage::ImageDimension; ++j)
{
if (i == j)
{
direction[j][i] = 1.0;
}
else
{
direction[j][i] = 0.0;
}
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment