Here's something simple:

For each plane,
 - determine a non-self-intersecting closed path of largest 
   area that is the boundary between the inner and outer 
   regions of the body;
 - find the center of the path (e.g. center of mass) and
   place N points on the path where equiangular rays
   from center intersect with it.*
Build OpenGL GL_QUAD_STRIP between each adjacent pairs
of planes matching their 0..N points.

______
   * This requires one intersection per ray.
Alternatively, without finding the center, break the
path into N equidistant segments, starting from e.g. (0,max{y}).


--- Bj�rn Helgason <[EMAIL PROTECTED]> wrote:

> I have been working with images in a plane x and y coordinates.
> Thanks to members of this forum I have successfully been able to locate
> objects in that plane and do calculations related to it.
> 
> Now I am interested in looking in the z direction.
> 
> I have as an example 300 images which are slices through a head from a CT.
> Each slice is a x,y plane and there are  objects to be investigated in each
> plane like a slice through the brain.
> 
> The same object can then exist in several slices with variations.
> Each slice is interesting but it would be even more interesting to be able
> to put the x,y planes together and be able to look in the z direction and
> also be able to rotate the 3D object.
> 
> Then make slices through the cube from various angles.
> 
> Is there a tool available in J to do this already?
> 
> I have seen various 3D demos but I am not sure if they have been using
> something like 300 BMP files for input.
> 
> I do have a Dicom viewer that can look at the images in the way I am
> describing here above and there are a number of tools available to do parts
> of what I want.
> They are all lacking what I have in J in the form of giving a programming
> access to the information I am looking at to combine it with other things of
> interest.
> 
> 
> 
> -- 
> Bj�rn Helgason, Verkfr��ingur
> Fugl&Fiskur ehf, �erneyjarsund 23, Box 127
> 801 Gr�msnes ,t-p�st: [EMAIL PROTECTED]
> Skype: gosiminn, gsm: +3546985532
> Landslags og skr��gar�ager�, gr�fu�j�nusta
> http://groups.google.com/group/J-Programming
> 
> 
> T�knikunn�tta h�ndlar hi� fl�kna, sk�punarg�fa er meistari 
> einfaldleikans
> 
> g��ur kennari getur stigi� � t�r �n �ess a� glansinn fari af 
> sk�num
>           /|_      .-----------------------------------.
>          ,'  .\  /  | Me� l�ttri lund ver�ur        |
>      ,--'    _,'   | Dagurinn � dag                     |
>     /       /       | Enn betri en g�rdagurinn  |
>    (   -.  |        `-----------------------------------'
>    |     ) |        (\_ _/)
>   (`-.  '--.)       (='.'=)
>    `. )----'        (")_(")
> > ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm



 
____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to