# The impact of image spacing on the quality of 3D reconstruction

**URL:** <https://discourse.slicer.org/t/the-impact-of-image-spacing-on-the-quality-of-3d-reconstruction/11793>\
**Category:** Development\
**Created:** [May 30, 2020, 7:23am UTC](https://discourse.slicer.org/t/the-impact-of-image-spacing-on-the-quality-of-3d-reconstruction/11793 "2020-05-30T07:23:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![loubna](https://avatars.discourse-cdn.com/v4/letter/l/cab0a1/32.png) [@loubna](https://discourse.slicer.org/u/loubna)\
**Post date:** [May 30, 2020, 7:23am UTC](https://discourse.slicer.org/t/the-impact-of-image-spacing-on-the-quality-of-3d-reconstruction/11793/1 "2020-05-30T07:23:14Z")

</div>

Hi;  
I understand that this can be a very basic VTK image processing question. But, I would know what is the imapct of SetSpacing values in 3D image using vtkImageData on the quality of reconstructed model. The default values are (1.0,1.0,1.0), in Other examples, they set the spacing to (0.5,0.5,0.5) or use specific formula to compute the spacing. What is the impact on reconstructed surfaces? the wrong values can deform the quality of the reconstructed model?.

Thank’s in advance

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [May 31, 2020, 1:08am UTC](https://discourse.slicer.org/t/the-impact-of-image-spacing-on-the-quality-of-3d-reconstruction/11793/2 "2020-05-31T01:08:19Z")

</div>

For visualization, you normally use the native spacing of an image (as it was acquired by the imaging device). For segmentation or analysis it often makes sense to resample voxel arrays to be isotropic; and if you want to represent features that are smaller then the voxel spacing (such as segmenting a thin membrane) then you may need to oversample the image by up to a factor of 2-4x.
