Login  Register

Re: once again...can i draw cylinders!

Posted by sridevi polavaram on Oct 25, 2006; 7:27pm
URL: http://imagej.273.s1.nabble.com/once-again-can-i-draw-cylinders-tp3701191p3701195.html

>
>     1. Open the Line Width control by double clicking on the straight
> line tool
>     2. Use the straight line tool to create a line selection
>     3. Use the slider in the Line Width control to vary the line width
>     4. Draw an outline of the line by pressing "d" (Edit>Draw)


OK this is  what i  want.  But I want to acheive this programmatically.
I am developing a plugin that  helps visualizes lines by reading a input
file. let's say the file has:
12.0 39.0
23.0 34.0
it draws aline between the two points on the screen. FYI, I have nothing to
do with images or tracing.

Now, I want to draw a line using above 1-4 between the two coordinate points
instead of a plane line.
-Regards
Sri


    5. Fill line line by pressing 'f" (Edit>Fill)

>
> -wayne
>
> On Oct 25, 2006, at 12:41 PM, sridevi polavaram wrote:
>
> >> solid line. I want to see it as a cylinder (i.e) hollow line with
> >> width
> > but no
> >> fill....can i do that?
> > like i posted, I don;t want solid lines...like how you said, i could
> > draw
> > line with width but i don;t want the fill
> >
> > On 10/25/06, Christophe Leterrier <[hidden email]>
> > wrote:
> >>
> >> once again : double click on the "Straight line selections" tool, set
> >> up
> >> the slider to the number of pixels you want, and you're done.
> >>
> >> Alternatively, you can get the selection dialog with
> >> "Edit/Otpions/Line
> >> width..."
> >>
> >> This works for straight lines, and the resulting ROI is still
> >> considered
> >> as a line, not a surface, with subtle ways to process things like
> >> intensities along the line, I think averaging in the direction
> >> perpendicular to the line for each point - correct me if I'm wrong
> >> but I
> >> seem to remember a discussion about that on the list.
> >>
> >> sridevi polavaram wrote:
> >> > I want to draw lines with width let's say 4. But i don't want it
> >> like a
> >> > solid line. I want to see it as a cylinder (i.e) line with width
> >> but no
> >> > fill....can i do that?
> >> > -Thanks
> >> > Sri
> >> >
> >>
> >
>