Login  Register

Antwort: automatic creation of a sphere embedded within a sphere?

Posted by Joachim Wesner on Feb 26, 2008; 2:50pm
URL: http://imagej.273.s1.nabble.com/automatic-creation-of-a-sphere-embedded-within-a-sphere-tp3697075p3697076.html

HI Wes,

this should be pretty easy with a macro and an image stack.
You can draw a circle in a circle combined with fill as you already did and
use the macro recorder to see what the corresponding code looks like
(pretty simple),

Then put this code in a loop that counts through all slices, adjusting the
radii (now variables) as necessary

Joachim
____________________________________________

Leica Microsystems CMS GmbH | GmbH mit Sitz in Wetzlar | Amtsgericht
Wetzlar  HRB 2432
Geschäftsführer:  Dr. Stefan Traeger | Dr. Wolf-Otto Reuter | Dr. David Roy
Martyr | Colin Davis


                                                                           
             Wes Armour                                                    
             <wes.armour@DIAMO                                            
             ND.AC.UK>                                                  An
             Gesendet von:              [hidden email]                
             ImageJ Interest                                         Kopie
             Group                                                        
             <[hidden email].                                       Thema
             GOV>                       automatic creation of a sphere    
                                        embedded within a sphere?          
                                                                           
             26.02.2008 15:40                                              
                                                                           
                                                                           
              Bitte antworten                                              
                    an                                                    
             wes.armour@diamon                                            
                  d.ac.uk                                                  
                                                                           
                                                                           




Hi All,

I'd like to create a text image that contains a black sphere within a
grey sphere.

I can do this easily for a 2d image of two circle, one embedded in the
other. I could then create images of increasing and then decreasing
radius. Using theses varying images I could get my sphere.

This would be a lot of hard work, so I was wondering if there was a way
to automate the creation of these 2d images???

Thanks,

Wes.



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________