# cast scalar volume

**URL:** <https://discourse.slicer.org/t/cast-scalar-volume/13546>\
**Category:** Support\
**Created:** [September 18, 2020, 1:41pm UTC](https://discourse.slicer.org/t/cast-scalar-volume/13546 "2020-09-18T13:41:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [September 18, 2020, 1:44pm UTC](https://discourse.slicer.org/t/cast-scalar-volume/13546/2 "2020-09-18T13:44:04Z")

</div>

It seems that you image contains values that cannot be represented in `short` type. To resolve this, you can [rescale the image intensity](https://discourse.slicer.org/t/image-quantization-techniques/13420/2) before casting to a different scalar type.

---

_[View the full topic](https://discourse.slicer.org/t/cast-scalar-volume/13546)._
