Hello,<br><br>I am trying to get a scalar from a computed id of a structured index ([index_x, index_y, index_z]). In my opinion is that contiunues cell id not the id of the scalar in .GetPointData().GetScalars().<br><br>For example:<br>
<br>image # type vtkImageData<br><br>cid = image.ComputeCellId([210, 409, 245])<br>scalar = image.GetPointData().GetScalars().GetValue(cid) # not right ....<br><br>My image is in 3D-space ...<br><br>Whats the right way to get exactly the right scalar of the voxel?<br>
<br>Greetings<br>