# Does vti (vtkImageData) only support 1channel?

**URL:** https://discourse.vtk.org/t/does-vti-vtkimagedata-only-support-1channel/1687
**Category:** Support
**Created:** [September 4, 2019, 7:52am UTC](https://discourse.vtk.org/t/does-vti-vtkimagedata-only-support-1channel/1687 "2019-09-04T07:52:52Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![rjsgml5698](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/r/85f322/32.png) [@rjsgml5698](https://discourse.vtk.org/u/rjsgml5698)
#### Post date: [September 4, 2019, 7:52am UTC](https://discourse.vtk.org/t/does-vti-vtkimagedata-only-support-1channel/1687/1 "2019-09-04T07:52:52Z")

</div>

Hello  
I have a question.

Does vti(vtkImageData) only support 1channel? only greyscale?

Thank you

---

<div class="post-metadata">

### Author: ![Aron\_Helser](https://discourse.vtk.org/user_avatar/discourse.vtk.org/aron_helser/32/14_2.png) [@Aron\_Helser](https://discourse.vtk.org/u/Aron_Helser)
#### Post date: [September 4, 2019, 12:56pm UTC](https://discourse.vtk.org/t/does-vti-vtkimagedata-only-support-1channel/1687/2 "2019-09-04T12:56:49Z")

</div>

Here’s an example of a color image:  
[https://lorensen.github.io/VTKExamples/site/Cxx/Visualization/ImageMapper/](https://lorensen.github.io/VTKExamples/site/Cxx/Visualization/ImageMapper/)

---

<div class="post-metadata">

### Author: ![Dave\_DeMarle](https://discourse.vtk.org/user_avatar/discourse.vtk.org/dave_demarle/32/6_2.png) [@Dave\_DeMarle](https://discourse.vtk.org/u/Dave_DeMarle)
#### Post date: [September 5, 2019, 3:11pm UTC](https://discourse.vtk.org/t/does-vti-vtkimagedata-only-support-1channel/1687/3 "2019-09-05T15:11:25Z")

</div>

No it is not limited to 1 channel. Like all vtkDataSets, you can add as many arrays as you like, where each can have any number of components, to a vtkImageData.

The caveat however is that many of the dedicated image processing filters are written to operate on the vtkDataSet::ActiveScalars array. Note that despite “Scalars” in the name, this array is quite often a three component RGB array.
