Last active
August 29, 2015 14:13
-
-
Save hirokai/41308d05eafa86c967df to your computer and use it in GitHub Desktop.
Auto contrast for slice processing for cropping cells
This file contains hidden or 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
// Move to next slice, and reset scale, autocontrast, and make 250x250 rect. | |
run("Select None"); | |
run("Next Slice [>]"); | |
run("Set Scale...", "distance=0 known=0 pixel=1 unit=pixel"); | |
resetMinAndMax(); | |
run("Enhance Contrast", "saturated=0.3"); | |
run("Specify...", "width=250 height=250 x=256 y=256"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment