A Processing sketch plug-in

Processing is a versatile graphics language based on Java. Among other things, it provides a simple interface to process images using GLSL shaders. Here, I provide a simple example of a Processing sketch accessing the memory mapped data stream generated by Scanbox. This particular example simply posterizes the image using pre-defined shaders in Processing. Of…

Read More

A Tiler Plugin

Tiler provides an example of how network commands and the plugin interface can be used together. Tiler uses network commands to move the scope to different (x,y,z) locations and to remotely change the laser power as a function of depth. It shows how to accumulate images at each site, collect the together, and save them…

Read More

A depth stabilization plugin

Some experiments require long imaging times. In cases where we are recording from¬† small structures, such as dendritic processes or spines, any slow drift in the depth of the imaging plane would affect the quality of the data. Here is a Scanbox plugin that will: (a) perform a quick z-stack around the desired imaging plane,…

Read More

Online, pixel-wise image processing with a Scanbox plugin

Sometimes you need your results right away. One example is when subsequent experiments are tailored to the properties of neurons in the population at hand. Here is a simple Scanbox plugin that computes an orientation map preference on a pixel-by-pixel basis as the data are collected.¬† The variable mmfile.Data.header(4) indicates if a stimulus is being…

Read More

A Plug-in Server

Scanbox has a memory mapped mechanism to share the incoming data stream with other processes that intend to consume the data in real-time. Examples of simple uses of such data sharing include the calculation of rolling averages, displaying a real-time histogram, or generating a montage display for volumetric data. Of course, different experiments may need…

Read More