[vtkusers] problem reading medical headsq data

Kim Chuan Lim lim.kim.chuan at gmail.com
Tue Jan 22 08:12:27 EST 2008


Hi all,

I tried to write a simple c++ program to open the example headsq data.
When i scan through the data, e.g. slice number 50, i could not find
any pixel with pixel value 500(skin) and 1150(bone). I even copy the
volumereader function in vtk, compare the unsigned short array with an
unsigned short value 500 or 1150 before and after the swapbyte, but it
just doesn't work.

May i know what is the correct way of reading and creating the dataset?



More information about the vtkusers mailing list