# Viewer: Show 3D numpy array with colours specified by array

**URL:** https://discourse.itk.org/t/viewer-show-3d-numpy-array-with-colours-specified-by-array/5439
**Category:** Beginner Questions
**Tags:** python
**Created:** [October 24, 2022, 9:29am UTC](https://discourse.itk.org/t/viewer-show-3d-numpy-array-with-colours-specified-by-array/5439 "2022-10-24T09:29:59Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![PaulHax](https://discourse.itk.org/user_avatar/discourse.itk.org/paulhax/32/2949_2.png) [@PaulHax](https://discourse.itk.org/u/PaulHax)
#### Post date: [October 25, 2022, 12:41pm UTC](https://discourse.itk.org/t/viewer-show-3d-numpy-array-with-colours-specified-by-array/5439/5 "2022-10-25T12:41:41Z")

</div>

I actually don’t know how to convert an numpy to a itk or vtk image with 3 components. This looks promising: [Image type for an ITK image from numpy array](https://discourse.itk.org/t/image-type-for-an-itk-image-from-numpy-array/2348)

---

_[View the full topic](https://discourse.itk.org/t/viewer-show-3d-numpy-array-with-colours-specified-by-array/5439)._
