<div>Hi, Dean,<br><br>Thanks for your instruction.I will try it.<br><br>BR,<br>Liu Peng<br><br></div>
<span>
</span>
<br> 在2016-03-04,"DL I" <inglis.dl@gmail.com> 写道:
<blockquote id="isReplyContent" style="padding-left:1ex; margin: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
-----原始邮件-----<br>
<b>发件人:</b>"DL I" <inglis.dl@gmail.com> <br>
<b>发送时间:</b>2016年03月4日 星期五<br>
<b>收件人:</b>"Liu_tj" <tjlp@netease.com><br>
<b>抄送:</b>"vtkusers" <vtkusers@vtk.org><br>
<b>主题:</b>Re: [vtkusers] Does VTK support editing image?<br>
<br><div dir="ltr"><div><div><div><div>Hi,<br><br></div>Kitware used to have vtkEdge, which had paintbrush widgets: <a href="http://www.vtkedge.org/">http://www.vtkedge.org/</a>.<br><br></div>Apparently it is no longer supported, but perhaps others on the list will know where<br></div>those classes ended up (maybe in VolView ?)<br><br></div><div>Painting on an image could be done in VTK with its existing classes:<br></div><div>- create an image using your source image on a vtkImageCanvasSource2D<br></div><div>- pass the canvas source to a vtkImageActor to view in a renderer<br></div><div>- capture the vtkRenderWindowiIteractor mouse events and update the canvas<br></div><div> accordingly using your own custom vtkCommand callbacks<br><br></div><div>- Dean<br></div><div><br></div>- Dean<br><div><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 2, 2016 at 8:02 PM, Liu_tj <span dir="ltr"><<a href="mailto:tjlp@netease.com" target="_blank">tjlp@netease.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi,<br><br>I load DICOM series and display it on vtkRenderWindow. Now I want to do some minor editing on the image, just like using paintbrush to draw some points or line on it. Does VTK provide such function?<br><br>Thanks<br>Liu Peng<br></div><br><br><span title="neteasefooter"><p> </p></span><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>
</blockquote>