Hi,<br><br>I have got a vtkImageData filled with 3-dimensional CT data. Now I'm doing this:<br><br>vtkUnsignedCharArray *arr = vtkUnsignedCharArray::SafeDownCast(image->GetPointData()->GetScalars());<br><br>This copies the 3-dimensional image data into a 1-dimensional array. But of course, now I don't know which index of the array I should address if I want to get an element with former coordinates (x,y,z). In other words, what principle was used to copy the data from the vtkImageData to the array?<br>
<br><br>Regards, Michael<br>