[vtkusers] vtkUnsignedShortArray question
Matias Montroull
matimontg at gmail.com
Mon Jan 27 17:30:04 EST 2014
Why the vtkUnsignedShortArray returns a different ushort value than the one
in the image?
See the beginning of my image is: (2 bytes each pixel)
*48 248* 48 248 48 248 48 248 48 248 48 248 48 248 48 248
48 248 48 248 48 248 48 248 48 248 48 248 48 248 48 248
48 248 48 248 48 248 48 248 48 248 48 248 48 248 48 248
48 248 48 248 48 248 48 248 48 248 48 248 48 248 48 248
48 248 48 248 48 248 48 248 48 248 48 248 48 248 48 248
48 248 48 248 48 248
and vtk returns 62512 on every ushort when it should return 63536!
Can you explain why is this or am I missing something?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140127/f55e1635/attachment.html>
More information about the vtkusers
mailing list