Re: Problem with Maximum intensity projection
Posted by
Herbie on
Mar 23, 2018; 3:50pm
URL: http://imagej.273.s1.nabble.com/Problem-with-Maximum-intensity-projection-tp5020309p5020316.html
Gabriel,
yes, it is quite cryptic and it takes some time to get acquainted...
Here is another example code that creates a disc that is flat for a
size-fraction of "flat" and has raised cosine slopes for the remainder
of the image size:
newImage( "wnd", "32-bit black", 256, 256, 1 );
flat = 0.75;
run( "Macro...", "code=[wH=w*0.5; rR=round(wH*"+flat+"); if(d<=rR) v=1;
if(d>rR && d<0.5*w) v=0.5*(1+cos((d-rR)*PI/(wH-rR)));]" );
Have fun
Herbie
:::::::::::::::::::::::::::::::::::::::::::::
Am 23.03.18 um 16:39 schrieb Gabriel Landini:
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html