[vtkusers] Real colours in 3D CT image(DICOM)

Gururajan.R gururajan.r at raster.in
Sat Oct 3 01:34:42 EDT 2009


Hi all,
    As am a new in VTK. Please guide me how to bring real colors like
(bone, blood & vessles) in 3d image, iam reading dicom series and
converted into 3d format. using vtkLODActor, am colouring the image but
its not a real color and  the whole image is in one color only.

i want real color to be applied to the relevant parts in the 3d image .

Please any one help me in this., i would be very thankful for your kind
help.
   

Regards
Guru

    vtkLODActor boneActor = new vtkLODActor();
                boneActor.SetNumberOfCloudPoints(100000);
                boneActor.SetMapper(geobonemapper);
                //boneActor.GetProperty().SetColor(1, 0.4782, 0.2546);
                boneActor.GetProperty().SetColor(1, 0.75, 0.5);
                //boneActor.GetProperty().SetColor(1, 0.3, 0.3);
                
                
                boneActor.GetProperty().SetOpacity(1.5);
                boneActor.GetProperty().SetDiffuse(1.75);
                boneActor.GetProperty().SetSpecular(1.75);
                boneActor.GetProperty().SetSpecular(0.3);
                boneActor.GetProperty().SetSpecularPower(20);
                boneActor.GetProperty().SetOpacity( 3.3 );
                boneActor.GetProperty().SetDiffuse(0.8);
                boneActor.GetProperty().SetAmbient(2.2);



More information about the vtkusers mailing list