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 MoreAll articles filed in plug-in
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 MoreA 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 MoreOnline, 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 MoreA 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 MoreA montage display for real-time display of volumetric data
By default, Scanbox displays the incoming image stream on its main window. Thus, during volumetric scanning, one sees the incoming images as depth is changing over time. If one is imaging only a handful of optical planes, it is difficult to see what is really going on. A different way to visualize the data in…
Read MoreA rolling average plug-in for scanbox
Scanbox offers a memory-mapped interface mechanism to expose incoming data to other processes. This facilitates a wide rage of customization by users that may want to display their data in different ways or do some on-line processing not currently supported by Scanbox. We previously provided one example of how a real-time histogram of the data can…
Read More