Re: Concentric Circle Formation Slices
Posted by
Thaddeus on
Aug 18, 2020; 4:58pm
URL: http://imagej.273.s1.nabble.com/Concentric-Circle-Formation-Slices-tp5023860p5023864.html
Update on a certain image this macro actually works for producing appropriate
size circles that are about the same centroid. Mathematically it makes
sense. However, on images I am actually interested in it doesn't work and
makes random sized and position circles. Here it is:
setBackgroundColor(0, 0, 0);
run("Clear Outside");
W1 = getValue("Width");
H1 = getValue("Height");
xb = getValue("BX");
yb = getValue("BY");
R = (H1+W1)/4
xc=xb+R
yc=yb+R
Rx=0.9*R
x=xc-Rx
y=yc-Rx
makeOval(x,y,2*Rx,2*Rx);
run("Clear", "slice");
--
Sent from:
http://imagej.1557.x6.nabble.com/--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html