[IGSTK-Users] 3D Segmentation.

Ashwath Hegde, ERS-HCLTech Ashwathh at hcl.com
Tue Aug 16 07:15:47 EDT 2011


Hi All,

A Portion of the 3D Image should be shown in a different color and opacity as compared to other parts of the 3D image.
The objective is to show the tumor in a different color and opacity.

I have the below objects which are there:

m_OpacityTransferFunction = vtkPiecewiseFunction::New();
m_ColorTransferFunction = vtkColorTransferFunction::New();
m_VolumeProperty = vtkVolumeProperty::New();
m_VolumeProperty->SetColor(m_ColorTransferFunction);
m_VolumeProperty->SetScalarOpacity(m_OpacityTransferFunction);

Can I use any of the above functions to achieve the required objective?

Or is there any other vtk class which I could use?

Any help would be much appreciated.

Thanking in advance.

Regards,
Ashwath.



________________________________
::DISCLAIMER::
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20110816/434eb7a9/attachment.html>


More information about the IGSTK-Users mailing list