Mercurial > hg > orthanc-stone
diff Framework/Volumes/VolumeReslicer.cpp @ 172:316324f42848 wasm
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 06 Mar 2018 16:53:48 +0100 |
parents | 01e32beee56c |
children | 83200c4d07ca |
line wrap: on
line diff
--- a/Framework/Volumes/VolumeReslicer.cpp Tue Mar 06 15:43:57 2018 +0100 +++ b/Framework/Volumes/VolumeReslicer.cpp Tue Mar 06 16:53:48 2018 +0100 @@ -1129,8 +1129,8 @@ // Secondly, the extent together with the voxel size gives the // size of the output image - unsigned int width = boost::math::round(extent_.GetWidth() / voxelSize); - unsigned int height = boost::math::round(extent_.GetHeight() / voxelSize); + unsigned int width = boost::math::iround(extent_.GetWidth() / voxelSize); + unsigned int height = boost::math::iround(extent_.GetHeight() / voxelSize); slice_.reset(new Orthanc::Image(outputFormat_, width, height, false));