<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Some vtkCutter and vtkVoxelContoursToSurfaceFilter test example should tell the story well.<BR>
<BR>Xiaofeng<BR><BR><BR>&nbsp;<BR>&gt; Date: Tue, 4 May 2010 17:12:31 +0100<BR>&gt; Subject: Re: [vtkusers] Fwd: Re: RE: Create an approximate cross-section of a RT ROI<BR>&gt; From: jothybasu@gmail.com<BR>&gt; To: xf10036@hotmail.com<BR>&gt; CC: lars-friedrich@gmx.net; vtkusers@vtk.org<BR>&gt; <BR>&gt; Hi Guys,<BR>&gt; <BR>&gt; You seems to be creating some dicom RT viewer, are you importing RT<BR>&gt; structs into your applications and converting into 3D meshes. If yes,<BR>&gt; could some one give me the steps involved in that, maybe some<BR>&gt; flowchart type ( or if you don't mind, the function in any language).<BR>&gt; After some time I might have to do this , so if anyone can give me<BR>&gt; some guidance so my life will be easier :).<BR>&gt; <BR>&gt; Thanks,<BR>&gt; <BR>&gt; Jothy<BR>&gt; <BR>&gt; On Tue, May 4, 2010 at 4:59 PM, Xiaofeng Z &lt;xf10036@hotmail.com&gt; wrote:<BR>&gt; &gt; Thanks for the information.&nbsp; I may revisit this later.&nbsp; Maybe I did<BR>&gt; &gt; something wrong that causes the performance issue.<BR>&gt; &gt;<BR>&gt; &gt; I use a dual Xeon computer.&nbsp; Although I have eight processing cores, the<BR>&gt; &gt; speed of each core is not very fast (2GHz).<BR>&gt; &gt;<BR>&gt; &gt; Another reason I am not using&nbsp; vtkVoxelContoursToSurfaceFilter is that it<BR>&gt; &gt; requires&nbsp;contours with integer vertices while dicom RT contour points can be<BR>&gt; &gt; off voxel centers.&nbsp; I wonder what do you do to make sure you don't loss<BR>&gt; &gt; resolution.<BR>&gt; &gt;<BR>&gt; &gt; Thanks!<BR>&gt; &gt;<BR>&gt; &gt; Xiaofeng<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;&gt; Date: Tue, 4 May 2010 17:50:37 +0200<BR>&gt; &gt;&gt; From: lars-friedrich@gmx.net<BR>&gt; &gt;&gt; Subject: Re: RE: [vtkusers] Fwd: Re: RE: Create an approximate<BR>&gt; &gt;&gt; cross-section of a RT ROI<BR>&gt; &gt;&gt; To: xf10036@hotmail.com; vtkusers@vtk.org<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; No, using a 'modern' PC is usually sufficient, all keeps flowing when a<BR>&gt; &gt;&gt; user interactively modifies the cut plane (although 3 planes are cut<BR>&gt; &gt;&gt; simultaneously and a 3D scene is updated as well). In our case we usually<BR>&gt; &gt;&gt; represent the 3D structures with transparency; as we update the 3D scene as<BR>&gt; &gt;&gt; well this makes the application sometimes a bit stuttering. But as I<BR>&gt; &gt;&gt; understand your plan you do not have to update any 3D scene during cutting.<BR>&gt; &gt;&gt; The cutting is really fast.<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; lars<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; -------- Original-Nachricht --------<BR>&gt; &gt;&gt; &gt; Datum: Tue, 4 May 2010 11:12:05 -0400<BR>&gt; &gt;&gt; &gt; Von: Xiaofeng Z &lt;xf10036@hotmail.com&gt;<BR>&gt; &gt;&gt; &gt; An: lars-friedrich@gmx.net, VTK &lt;vtkusers@vtk.org&gt;<BR>&gt; &gt;&gt; &gt; Betreff: RE: [vtkusers] Fwd: Re: RE: Create an approximate cross-section<BR>&gt; &gt;&gt; &gt; of a RT ROI<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; Lars,<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; Is there any noticable lagging at all?<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; Thanks!<BR>&gt; &gt;&gt; &gt; Xiaofeng<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; Date: Tue, 4 May 2010 16:34:24 +0200<BR>&gt; &gt;&gt; &gt; &gt; From: lars-friedrich@gmx.net<BR>&gt; &gt;&gt; &gt; &gt; To: vtkusers@vtk.org<BR>&gt; &gt;&gt; &gt; &gt; Subject: [vtkusers] Fwd: Re: RE: Create an approximate cross-section<BR>&gt; &gt;&gt; &gt; &gt; of<BR>&gt; &gt;&gt; &gt; a RT ROI<BR>&gt; &gt;&gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; Xiaofeng,<BR>&gt; &gt;&gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; I use a quite comparable approach for the same purpose as you, I<BR>&gt; &gt;&gt; &gt; &gt; guess:<BR>&gt; &gt;&gt; &gt; I cut multiple (!) 3D RT structures in 3 orthogonal planes<BR>&gt; &gt;&gt; &gt; simultaneously<BR>&gt; &gt;&gt; &gt; and cut the referenced RT volume (CT) at the same time. The structures<BR>&gt; &gt;&gt; &gt; include quite complex anatomy such as the skeletons with many vertices.<BR>&gt; &gt;&gt; &gt; &gt; In my implementation (and that is nothing more than I wrote in the<BR>&gt; &gt;&gt; &gt; morning) this works 'very' interactively. For me that is real-time<BR>&gt; &gt;&gt; &gt; enough ;)<BR>&gt; &gt;&gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; regards,<BR>&gt; &gt;&gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; lars<BR>&gt; &gt;&gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; -------- Original-Nachricht --------<BR>&gt; &gt;&gt; &gt; &gt; &gt; Datum: Tue, 4 May 2010 09:37:22 -0400<BR>&gt; &gt;&gt; &gt; &gt; &gt; Von: Xiaofeng Z &lt;xf10036@hotmail.com&gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt; An: lars-friedrich@gmx.net<BR>&gt; &gt;&gt; &gt; &gt; &gt; Betreff: RE: [vtkusers] Create an approximate cross-section of a RT<BR>&gt; &gt;&gt; &gt; ROI<BR>&gt; &gt;&gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt; lars,<BR>&gt; &gt;&gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt; I consider the method you described a more accurate way to do it.<BR>&gt; &gt;&gt; &gt; &gt; &gt; Unfortunately, vtkCutter is too slow to be used in real time.<BR>&gt; &gt;&gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt; Thanks for your reply though!<BR>&gt; &gt;&gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt; Xiaofeng<BR>&gt; &gt;&gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; Date: Tue, 4 May 2010 07:55:33 +0200<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; From: lars-friedrich@gmx.net<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; Subject: Re: [vtkusers] Create an approximate cross-section of a<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; RT<BR>&gt; &gt;&gt; &gt; ROI<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; To: xf10036@hotmail.com; vtkusers@vtk.org<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; Hi Xiaofeng,<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; just an idea:<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; - produce a surface from the axial contours by using<BR>&gt; &gt;&gt; &gt; &gt; &gt; vtkVoxelContoursToSurfaceFilter (which works quite well provided<BR>&gt; &gt;&gt; &gt; &gt; &gt; your<BR>&gt; &gt;&gt; &gt; source contours are<BR>&gt; &gt;&gt; &gt; &gt; &gt; evenly distributed)<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; - take vtkCutter(s) with plane implicit functions that define your<BR>&gt; &gt;&gt; &gt; new<BR>&gt; &gt;&gt; &gt; &gt; &gt; contouring orientation(s) and cut the volume to produce new contours<BR>&gt; &gt;&gt; &gt; from<BR>&gt; &gt;&gt; &gt; &gt; &gt; that directions<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; HTH,<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; lars<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; -------- Original-Nachricht --------<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; Datum: Mon, 3 May 2010 20:12:22 -0400<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; Von: Xiaofeng Z &lt;xf10036@hotmail.com&gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; An: VTK &lt;vtkusers@vtk.org&gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; Betreff: [vtkusers] Create an approximate cross-section of a RT<BR>&gt; &gt;&gt; &gt; ROI<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; Hi vtkUsers,<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; I have a set of contours in axial orientation representing a<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; ROI.<BR>&gt; &gt;&gt; &gt; I<BR>&gt; &gt;&gt; &gt; &gt; &gt; need<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; to sketch the ROI in coronal and sagittal plane, by connection<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; the<BR>&gt; &gt;&gt; &gt; &gt; &gt; points<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; made from the intersection of the contours and the cutting<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; plane.<BR>&gt; &gt;&gt; &gt; Is<BR>&gt; &gt;&gt; &gt; &gt; &gt; there<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; a function to do that in vtk or in ITK?<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; I know the result is not "precise" in a sense that the contours<BR>&gt; &gt;&gt; &gt; make<BR>&gt; &gt;&gt; &gt; &gt; &gt; this<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; way is not always consistent between themselves. But it seemed<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; to<BR>&gt; &gt;&gt; &gt; be<BR>&gt; &gt;&gt; &gt; &gt; &gt; the<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; only viable way to sketch a ROI in a multi-planar rendering in<BR>&gt; &gt;&gt; &gt; real<BR>&gt; &gt;&gt; &gt; &gt; &gt; time.<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; Many thanks!<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; Xiaofeng<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; _________________________________________________________________<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt; The New Busy is not the old busy. Search, chat and e-mail from<BR>&gt; &gt;&gt; &gt; your<BR>&gt; &gt;&gt; &gt; &gt; &gt; inbox.<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; --<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!<BR>&gt; &gt;&gt; &gt; &gt; &gt; &gt; Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01<BR>&gt; &gt;&gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; &gt; _________________________________________________________________<BR>&gt; &gt;&gt; &gt; &gt; &gt; Hotmail is redefining busy with tools for the New Busy. Get more<BR>&gt; &gt;&gt; &gt; &gt; &gt; from<BR>&gt; &gt;&gt; &gt; your<BR>&gt; &gt;&gt; &gt; &gt; &gt; inbox.<BR>&gt; &gt;&gt; &gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2<BR>&gt; &gt;&gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; --<BR>&gt; &gt;&gt; &gt; &gt; GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!<BR>&gt; &gt;&gt; &gt; &gt; Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01<BR>&gt; &gt;&gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; --<BR>&gt; &gt;&gt; &gt; &gt; GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!<BR>&gt; &gt;&gt; &gt; &gt; Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01<BR>&gt; &gt;&gt; &gt; &gt; _______________________________________________<BR>&gt; &gt;&gt; &gt; &gt; Powered by www.kitware.com<BR>&gt; &gt;&gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; Visit other Kitware open-source projects at<BR>&gt; &gt;&gt; &gt; http://www.kitware.com/opensource/opensource.html<BR>&gt; &gt;&gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; Please keep messages on-topic and check the VTK FAQ at:<BR>&gt; &gt;&gt; &gt; http://www.vtk.org/Wiki/VTK_FAQ<BR>&gt; &gt;&gt; &gt; &gt;<BR>&gt; &gt;&gt; &gt; &gt; Follow this link to subscribe/unsubscribe:<BR>&gt; &gt;&gt; &gt; &gt; http://www.vtk.org/mailman/listinfo/vtkusers<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; _________________________________________________________________<BR>&gt; &gt;&gt; &gt; The New Busy is not the old busy. Search, chat and e-mail from your<BR>&gt; &gt;&gt; &gt; inbox.<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; --<BR>&gt; &gt;&gt; GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!<BR>&gt; &gt;&gt; Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01<BR>&gt; &gt;<BR>&gt; &gt; ________________________________<BR>&gt; &gt; Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.<BR>&gt; &gt; Learn more.<BR>&gt; &gt; _______________________________________________<BR>&gt; &gt; Powered by www.kitware.com<BR>&gt; &gt;<BR>&gt; &gt; Visit other Kitware open-source projects at<BR>&gt; &gt; http://www.kitware.com/opensource/opensource.html<BR>&gt; &gt;<BR>&gt; &gt; Please keep messages on-topic and check the VTK FAQ at:<BR>&gt; &gt; http://www.vtk.org/Wiki/VTK_FAQ<BR>&gt; &gt;<BR>&gt; &gt; Follow this link to subscribe/unsubscribe:<BR>&gt; &gt; http://www.vtk.org/mailman/listinfo/vtkusers<BR>&gt; &gt;<BR>&gt; &gt;<BR>                                               <br /><hr />Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. <a href='http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1' target='_new'>Learn more.</a></body>
</html>