Place selection line centered at specific coordinates with set angle

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Place selection line centered at specific coordinates with set angle

bordiga
Hello all,

I am new to imagej programming and was curious if anyone could help me with this problem. I'd like to place a selection line centered at x,y coordinates and with a specific angle given to me by an ellipse fit. The length of the selection line would be determined by borders I will have drawn with the free hand tool, so that the line would start at one border and end at the other, while passing through the center coordinates at a specific angle. Could anyone point me to the functions I would need to do this?

Thanks!