[vtkusers] Question about VtK

dean.inglis at camris.ca dean.inglis at camris.ca
Mon Sep 20 20:31:18 EDT 2004


Hi Florent,

you could read your slice data in and view it with
vtkImagePlaneWidget since it has built in mouse controlled 
window/level capability to change the apparent contrast of the image data.
If you were to plot a histogram of the image data, you would
likely see two large distributions: one for background and
one for bone, from which you could choose a threshold value
to either binarize your image data using vtkImageThreshold
or to set up a transfer function for 3D volume rendering.
You could also try and view your bmp data in VolView, and
experiment with its transfer function editing features before
trying to hard code it in your own program.

HTH,
Dean Inglis 




More information about the vtkusers mailing list