# Image construction

**URL:** <https://discourse.slicer.org/t/image-construction/2113>\
**Category:** Support\
**Created:** [February 19, 2018, 4:37am UTC](https://discourse.slicer.org/t/image-construction/2113 "2018-02-19T04:37:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rayslicer](https://avatars.discourse-cdn.com/v4/letter/r/ecae2f/32.png) [@rayslicer](https://discourse.slicer.org/u/rayslicer)\
**Post date:** [February 19, 2018, 4:37am UTC](https://discourse.slicer.org/t/image-construction/2113/1 "2018-02-19T04:37:51Z")

</div>

Hello, am quite new on 3d slicer would like to know if numerical data’s can be transformed to images on this platform or something similar. Please i will highly appreciate recommendations of tutorial materials

---

<div class="post-metadata">

**Author:** ![timeanddoctor](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/timeanddoctor/32/5839_2.png) [@timeanddoctor](https://discourse.slicer.org/u/timeanddoctor)\
**Post date:** [February 19, 2018, 5:10am UTC](https://discourse.slicer.org/t/image-construction/2113/2 "2018-02-19T05:10:52Z")

</div>

> [@rayslicer](#):
>
> numerical data’s

What’s the numerical data’s? like OpenSCAD build a 3d model by code?

---

<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:** [February 19, 2018, 5:16am UTC](https://discourse.slicer.org/t/image-construction/2113/3 "2018-02-19T05:16:49Z")

</div>

Yes, it would be good to know what numerical data you have. Nevertheless, it should be easy to convert most data structures (arrays, meshes, contours, etc.) to images.

For example, you can directly convert a numpy array to an image node using slicer.util.updateVolumeFromArray ([http://slicer.readthedocs.io/en/latest/developer\_guide/slicer.html#slicer.util.updateVolumeFromArray](http://slicer.readthedocs.io/en/latest/developer_guide/slicer.html#slicer.util.updateVolumeFromArray)).
