diff Framework/Volumes/VolumeImage.cpp @ 32:517c46f527cd

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 19 Dec 2016 11:00:23 +0100
parents ff1e935768e7
children 7207a407bcd8
line wrap: on
line diff
--- a/Framework/Volumes/VolumeImage.cpp	Fri Dec 16 15:41:20 2016 +0100
+++ b/Framework/Volumes/VolumeImage.cpp	Mon Dec 19 11:00:23 2016 +0100
@@ -140,7 +140,7 @@
     buffer_->SetAxialGeometry(loader_->GetGeometry().GetSlice(0));
 
     double spacingX, spacingY;
-    referenceDataset_->GetPixelSpacing(spacingX, spacingY);
+    GeometryToolbox::GetPixelSpacing(spacingX, spacingY, *referenceDataset_);
     buffer_->SetVoxelDimensions(spacingX, spacingY, spacingZ);
 
     // These 3 values are only used to speed up the LayerFactory