# Oversampling and Spacing in crop

**URL:** <https://discourse.slicer.org/t/oversampling-and-spacing-in-crop/14549>\
**Category:** Support\
**Created:** [November 11, 2020, 9:29pm UTC](https://discourse.slicer.org/t/oversampling-and-spacing-in-crop/14549 "2020-11-11T21:29:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![manjula](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/manjula/32/80981_2.png) [@manjula](https://discourse.slicer.org/u/manjula)\
**Post date:** [November 11, 2020, 9:29pm UTC](https://discourse.slicer.org/t/oversampling-and-spacing-in-crop/14549/1 "2020-11-11T21:29:05Z")

</div>

Hi,

Can someone please tell me how the oversampling actually works? As I understand oversampling or reducing the spacing scale \<1 in crop module will increase the image resolution and the image dimensions are increased accordingly.

So is it a software algorithm that creates these extra slices?

What are the advantages and disadvantages of oversampling?

For example If the scanner can scan a image at 0.25 resolution and if we scan the image at 0.5 to lower the dose and or time and we oversample the image by 2 to get the 0.25 what is the difference? i assume the former is better but i do not know the logic behind that. I am thinking about this like optical zoom and digital zoom in cameras.

thanks

---

<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:** [November 11, 2020, 9:47pm UTC](https://discourse.slicer.org/t/oversampling-and-spacing-in-crop/14549/2 "2020-11-11T21:47:21Z")

</div>

> [@manjula](#):
>
> I am thinking about this like optical zoom and digital zoom in cameras.

Exactly. We can call oversampling “digital zoom”.

It does not add new information (the oversampled image should look exactly the same as the original), it just allows representing finer details in the image or segmentation. For example, if you apply a sharpening filter then you can enhance finer details, or if you segment structures, you can represent thinner walls or smaller vessels.
