<meta http-equiv="content-type" content="text/html; charset=utf-8"><div class="gmail_quote">On Thu, Feb 17, 2011 at 4:38 AM, Xiaopeng Yang <span dir="ltr">&lt;<a href="mailto:yxp233@postech.ac.kr">yxp233@postech.ac.kr</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal">Hello,</p><p class="MsoNormal"> </p><p class="MsoNormal">
I am trying to overlay the segmented binary image on vtkImageViewer2. The supposed result should look like this:</p><p class="MsoNormal"> </p><p class="MsoNormal"><img width="301" height="293" src="cid:image001.jpg@01CBCED1.E6650D20"></p>
<p class="MsoNormal"> </p><p class="MsoNormal">Does anyone have any good ideas??</p><p class="MsoNormal"> </p><p class="MsoNormal">Thanks,</p><p class="MsoNormal">Xiaopeng</p><p class="MsoNormal"><br></p></div></div></blockquote>
<div><br></div><div>I do a binary mask overlay in this project:</div><div><br></div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="https://github.com/daviddoria/StructurePropagation">https://github.com/daviddoria/StructurePropagation</a><br clear="all">
<br></div><div class="gmail_quote">Take a look at the <span class="Apple-style-span" style="font-family: &#39;Bitstream Vera Sans Mono&#39;, Courier, monospace; font-size: 10px; line-height: 20px; white-space: pre; ">LoadMask here </span><a href="https://github.com/daviddoria/StructurePropagation/blob/master/InnerWidget.txx">https://github.com/daviddoria/StructurePropagation/blob/master/InnerWidget.txx</a></div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div class="gmail_quote"><font class="Apple-style-span" face="&#39;Bitstream Vera Sans Mono&#39;, Courier, monospace" size="3"><span class="Apple-style-span" style="font-size: 12px; line-height: 20px; white-space: pre; "><br>
</span></font></div><div class="gmail_quote"><font class="Apple-style-span" face="&#39;Bitstream Vera Sans Mono&#39;, Courier, monospace" size="3"><span class="Apple-style-span" style="font-size: 12px; line-height: 20px; white-space: pre; ">Also, these two examples show two methods of doing this (VTK only)</span></font></div>
<div class="gmail_quote"><font class="Apple-style-span" face="&#39;Bitstream Vera Sans Mono&#39;, Courier, monospace" size="3"><span class="Apple-style-span" style="font-size: 12px; line-height: 20px; white-space: pre; "><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/ImageTransparency">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/ImageTransparency</a></span></font></div>
<div class="gmail_quote"><font class="Apple-style-span" face="&#39;Bitstream Vera Sans Mono&#39;, Courier, monospace" size="3"><span class="Apple-style-span" style="font-size: 12px; line-height: 20px; white-space: pre; "><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/ImageTransparency"></a><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/Transparency">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/Transparency</a></span></font></div>
<div class="gmail_quote"><font class="Apple-style-span" face="&#39;Bitstream Vera Sans Mono&#39;, Courier, monospace" size="3"><span class="Apple-style-span" style="font-size: 12px; line-height: 20px; white-space: pre; "><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/Transparency"></a><br>
</span></font>David</div>