running macro for stack image

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

running macro for stack image

SS Lee
My macro run properly when I do for a image.

If I do stack image, it looks like doing differently comparing with single image process.

The followings are my macro

Thank you in advance
---------------------------------------------

        run("Bandpass Filter...", "filter_large=80 filter_small=1 suppress=None tolerance=5 autoscale saturate");
        //setAutoThreshold("Default");
        //run("Threshold...");
        setAutoThreshold("Default");
        run("Make Binary");
        run("Options...", "iterations=1 count=1 edm=Overwrite do=Nothing");
        run("Dilate");
        run("Options...", "iterations=1 count=1 edm=Overwrite do=Nothing");
        run("Close-");
        run("Options...", "iterations=1 count=1 edm=Overwrite do=Nothing");
        run("Open");
        run("Invert");
        //setTool("dropper");
        run("Color Picker...");
        setForegroundColor(255, 255, 255);
        floodFill(1300, 1000);
       
        run("Make Binary");
        run("Set Measurements...", "area mean standard min centroid center fit perimeter bounding fit shape feret's display redirect=None decimal=3");
        run("Analyze Particles...", "size=500-4000 circularity=0.40-1.00 show=Nothing exclude include record add");