Created
January 15, 2021 07:47
-
-
Save romainGuiet/0700295baa0097986ac418e5b596fcec to your computer and use it in GitHub Desktop.
For the review of the article (https://f1000research.com/articles/9-1380). A macro to test the option "disable smoothing" of the plugin "Process>Subtract Background..."
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
run("Close All"); | |
run("Blobs (25K)"); | |
img1 = getImageID(); | |
run("Invert LUT"); | |
run("32-bit"); | |
rename("On_disableSmoothing"); | |
run("Duplicate...", "title=Off_disableSmoothing"); | |
img2 = getImageID(); | |
selectImage(img1); | |
run("Subtract Background...", "rolling=50 disable"); | |
run("Histogram", "bins=256 use x_min=-20 x_max=300 y_max=Auto"); | |
selectImage(img2); | |
run("Subtract Background...", "rolling=50 "); | |
run("Histogram", "bins=256 use x_min=-20 x_max=300 y_max=Auto"); | |
run("Tile"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment