Mercurial > hg > orthanc-stone
comparison 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 |
comparison
equal
deleted
inserted
replaced
171:01e32beee56c | 172:316324f42848 |
---|---|
1127 return; | 1127 return; |
1128 } | 1128 } |
1129 | 1129 |
1130 // Secondly, the extent together with the voxel size gives the | 1130 // Secondly, the extent together with the voxel size gives the |
1131 // size of the output image | 1131 // size of the output image |
1132 unsigned int width = boost::math::round(extent_.GetWidth() / voxelSize); | 1132 unsigned int width = boost::math::iround(extent_.GetWidth() / voxelSize); |
1133 unsigned int height = boost::math::round(extent_.GetHeight() / voxelSize); | 1133 unsigned int height = boost::math::iround(extent_.GetHeight() / voxelSize); |
1134 | 1134 |
1135 slice_.reset(new Orthanc::Image(outputFormat_, width, height, false)); | 1135 slice_.reset(new Orthanc::Image(outputFormat_, width, height, false)); |
1136 | 1136 |
1137 //CheckIterators(source, plane, box); | 1137 //CheckIterators(source, plane, box); |
1138 | 1138 |