Mercurial > hg > orthanc-stone
diff Framework/Toolbox/GeometryToolbox.cpp @ 363:54ae0577f5bb am-2
fix anisotropic pixel spacing
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 30 Oct 2018 18:55:52 +0100 |
parents | 5412adf19980 |
children | b70e9be013e4 |
line wrap: on
line diff
--- a/Framework/Toolbox/GeometryToolbox.cpp Tue Oct 30 18:30:48 2018 +0100 +++ b/Framework/Toolbox/GeometryToolbox.cpp Tue Oct 30 18:55:52 2018 +0100 @@ -260,8 +260,9 @@ } else { - spacingX = v[0]; - spacingY = v[1]; + // WARNING: X/Y are swapped (Y comes first) + spacingX = v[1]; + spacingY = v[0]; } } else