[vtkusers] Fwd: Re: RE: Create an approximate cross-section of a RT ROI

Xiaofeng Z xf10036 at hotmail.com
Tue May 4 13:04:44 EDT 2010


I create my own library to read RT structure.  There's a also article in Insight Journal that discusses about import RT Structure using Insight.  You should be able to find it with a simple google search.

Xiaofeng


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


More information about the vtkusers mailing list