<div dir="ltr">Hi Martin,<div><br></div><div>In VTK, image data is point data, one data value per point. Cell data isn't used because the vtkVoxel cell is not a voxel in the conventional sense: a vtkVoxel is a finite element that connects 8 points, where each corner point generally has a data value (use of point scalars in VTK is much more common than the use of cell scalars). So the typical usage of vtkVoxel is contrary to the conventional definition of "voxel" which has just one data value.</div><div><br></div><div>The VTK image processing filters work on point data, because a VTK point fits the conventional definition of "voxel" (i.e. a voxel defined as one data sample in a volumetric grid of such samples) better than vtkVoxel does.</div><div><br></div><div> - David </div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 18, 2016 at 4:27 AM, Martin Genet <span dir="ltr"><<a href="mailto:martin.genet@polytechnique.edu" target="_blank">martin.genet@polytechnique.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey everyone,<br>
<br>
I'm realizing that vtkImageImport generates images with point data, not cell data—the Detailed Description says "The array applies on scalar point data only, not on cell data." I was wondering why? I would expect it to read the data as cell data, with one value per voxel. Thanks for helping to understand!<br>
<br>
Martin<br></blockquote></div></div></div></div>