[Paraview] trouble with Append Attributes
Tom Schoenemann
toms at indiana.edu
Wed Jun 27 22:50:44 EDT 2012
Sorry - scratch that. The Append Attributes item DOES claim to have the right values. According to the Information tab, there are 2 data arrays: One with scalars representing the stat data, and the other called "surface" which ranges from 0 to 1 and was created by the calculator step (see my last note). However, when I make a Contour out of this item, telling it to use "surface" to do this, it does indeed make a surface, but it inexplicably changes the stat data scalars to a completely new range of [127.863, 128.063]. Note that the Append Attributes item claims to have this same array with [0, 128.619].
Any ideas? As far as I can tell, Contour inexplicably changes the stat data scalar values to a new range. ??? Is this a bug, or am I doing something wrong?
-Tom
On Jun 27, 2012, at 10:36 PM, Tom Schoenemann wrote:
> Hi all,
>
> I'm trying to display statistical values in color on a surface. The stat values are in voxels, originally, but are translated from a NIFTI format file to a .vtk format. I've got a binary version of the object (1's where the object is, 0's everywhere else). Through comments on this list, I've figured out that if I use the calculator to create a copy of the binary scalar values (and rename them as something else, e.g., "surface"), and then use Append Attributes to combine the stat data scalars with the surface scalars (from the binary image), I can then use Contour to make the surface (using the "surface" scalars) and then color this surface with the stat data scalars. So far so good.
>
> Here is my problem: When I do Append Attributes, the stat data scalars all get changed to a range of 0 to 1, even though the stat data file that was used in Append Attributes claims to have values of: [0, 128.619]. So, what is going on? Why is Append Attributes not appending attributes without changing their values??
>
> Any ideas?
>
> -Tom
>
>
> _________________________________________________
> P. Thomas Schoenemann
>
> Associate Professor
> Department of Anthropology
> Indiana University
> Bloomington, IN 47405
> Phone: 812-855-8800
> E-mail: toms at indiana.edu
>
> Open Research Scan Archive (ORSA) Co-Director
> Consulting Scholar
> Museum of Archaeology and Anthropology
> University of Pennsylvania
>
> Homepage: http://mypage.iu.edu/~toms/
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
_________________________________________________
P. Thomas Schoenemann
Associate Professor
Department of Anthropology
Indiana University
Bloomington, IN 47405
Phone: 812-855-8800
E-mail: toms at indiana.edu
Open Research Scan Archive (ORSA) Co-Director
Consulting Scholar
Museum of Archaeology and Anthropology
University of Pennsylvania
Homepage: http://mypage.iu.edu/~toms/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120627/1cbcd8ad/attachment-0001.htm>
More information about the ParaView
mailing list