Skip to content

Instantly share code, notes, and snippets.

@lgelman
lgelman / Find_Wells_in_Plate
Last active August 29, 2015 14:11
Finding wells in a multi-well plate
// ******************************************************************************
// Initialisation: Close all windows (images, results, etc)
// ******************************************************************************
run("Set Measurements...", "center redirect=None decimal=9");
// Close all windows
run("Close All");
// Clears Log Window
print("\\Clear");
// Close Result window
@lgelman
lgelman / Shading Correction Base
Last active August 29, 2015 14:11
Shading Correction
//
// *** Start: White balance ***
//
name=getTitle();
run("Split Channels");
MeanColor=newArray(3);
maxi = 0;
for (u=1; u<4; u++) {