Need help or advice ? Come to the Icy club ! - Every other Thursday morning from 9h30 to 12h30 - Francois Jacob Building - Main hall - Pasteur

Snap Image MM

by tprovoost / Thomas Provoost

This script snaps an image with Micro-Manager.

version 1 (last version):

download to use and modify in Icy. How do I use scripts ? A Problem ? ask the community.
Changelog for this version: initial version
 * ThreadUtil is used to wait for the main GUI
 * to be instanciated. 
 * Package Tools contains various useful classes


// get the main GUI in a variable
gui = MMMainFrame.getInstance()

// wait for the gui to be instanciated

// get the core, now initialized
core = MicroscopeCore.getCore()

// capture an image
img = ImageGetter.snapImage(core)

// create a sequence from the image and add it
// into Icy
Icy.addSequence(new Sequence(img))

This script has no documentation. A Problem ? ask the community.

Icy script publication Id : B9Q5G1