SCI Seg3D Mailing List

Text archives Help


[Seg3D] New Spline Tool (was Re: what's Painter::set_status for?)


Chronological Thread 
  • From: Ramón Casero Cañas <ramon.casero@comlab.ox.ac.uk>
  • To: seg3d@sci.utah.edu
  • Subject: [Seg3D] New Spline Tool (was Re: what's Painter::set_status for?)
  • Date: Tue, 13 Oct 2009 22:12:37 +0100

Michael Callahan wrote:
Much of the GUI and code confusion comes from the fact that there are
two different GUIs in operation within Seg3D.  This is somewhat
unavoidable as current GUI toolkits do not integrate well with 3D
scenes.  The best you get is 3D windows in your 2D programs.  Thus if
you want to have GUI components in the 3D window you need to do this
work yourself.
> [...]

Hi Michael,

Thanks a lot for the very informative explanation, it's great. I have taken the liberty to link to the corresponding mailing list archive page and reproduce the text with the rest of the documentation

http://paracommunications.org/wiki/index.php/Adding_a_new_filter_to_Seg3D#A_brief_explanation_of_the_Seg3D_architecture


If you are wanting to create a polyspline tool then the fastest way to
do this would be to clone the PolylineTool, clone the polyline GUI,
then rewrite the draw_gl and render functions to work with your
shapes.  Let me know if you want any help with that.

Thanks for the hint. I have cloned the polyline tool as the first step.

I'm thinking of maybe doing the development in our Gerardus project

http://code.google.com/p/gerardus/

This would provide svn, issue tracking, etc... But maybe it's overkill.

So for the moment, I have simply started a new section in the wiki's documentation page, and uploaded a patch to get the cloned Spline Tool.

http://paracommunications.org/wiki/index.php/Adding_a_new_filter_to_Seg3D#Spline_Tool

I have also written what I want to get with the Spline Tool, to have a better idea of where I'm going:

    *  The 3D polygon is replaced by a 3D spline curve

* The Polyline Tool allows to fill the 2D projection of the 3D polygon on the slice. The voxels within the 2D projection become "true" voxels in the segmentation mask. The Spline Tool will also allow to set to "true" just the voxels close to the spline (i.e. to create a "ring" of voxels instead of a "polygon" of voxels)
o This has to happen in real time, so that the human user gets visual feedback of where the spline is

* Control points can be clicked in any order, and the program sorts them so that we get a closed loop


(I have already coded a prototype in Matlab for the last point, so I know how to do it).

Cheers,

Ramon.

--
Ramón Casero Cañas, DPhil

Computational Biology, Computing Laboratory
University of Oxford
Wolfson Building, Parks Rd
Oxford OX1 3QD

tlf     +44 (0) 1865 610807
web     http://web.comlab.ox.ac.uk/people/Ramon.CaseroCanas
photos  http://www.flickr.com/photos/rcasero/



Archive powered by MHonArc 2.6.16.

Top of page