<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Thanks so much, Cory and David! Martin<br>
<br>
<div class="moz-cite-prefix">On 18/01/2016 14:45, David Gobbi wrote:<br>
</div>
<blockquote
cite="mid:CANwS1=GuG=UJ+W4rnZHL9UeSDwyceOyOvuVXiAyvBNYCQkO9rg@mail.gmail.com"
type="cite">
<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
moz-do-not-send="true"
href="mailto:martin.genet@polytechnique.edu"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:martin.genet@polytechnique.edu">martin.genet@polytechnique.edu</a></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>
</blockquote>
<br>
</body>
</html>