[vtkusers] [Insight-users] Overlay segmented binary image on vtkImageViewer2
David Doria
daviddoria at gmail.com
Thu Feb 17 07:24:32 EST 2011
On Thu, Feb 17, 2011 at 4:38 AM, Xiaopeng Yang <yxp233 at postech.ac.kr> wrote:
> Hello,
>
>
>
> I am trying to overlay the segmented binary image on vtkImageViewer2. The
> supposed result should look like this:
>
>
>
>
>
> Does anyone have any good ideas??
>
>
>
> Thanks,
>
> Xiaopeng
>
>
>
I do a binary mask overlay in this project:
https://github.com/daviddoria/StructurePropagation
Take a look at the LoadMask here
https://github.com/daviddoria/StructurePropagation/blob/master/InnerWidget.txx
Also, these two examples show two methods of doing this (VTK only)
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/ImageTransparency
<http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/ImageTransparency>
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/Transparency
<http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/Transparency>
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110217/c263978c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 7891 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110217/c263978c/attachment.obj>
More information about the vtkusers
mailing list