Rolling average

We previously showed how a rolling average of the input stream can be computed with a Scanbox-plugin. As many users seem to be making use of this feature, we now include the rolling average as an integrated feature of Scanbox. This only applies to the Pizza Box version of Scanbox. The video below shows where…

Read More

Adjusting the illumination

If you are using the port camera on the microscope to acquire intrinsic and/or epi-fluorescence imagery, it is helpful to have a tool to adjust the illumination to be even across the sample such that no regions are saturated. A new illumination checkbox is now available in the camera panel: When the camera is on,…

Read More

Achieving high frame rates with subframe folding

Scanbox samples, transfers and processes one frame at a time. Frame processing involves correcting for non-uniform spatial sampling along the resonant axis, motion stabilization, real-time extraction of signals, displaying the images, streaming to disk, and so on. This overhead in frame processing can limit the maximum frame rate achievable if the computer cannot keep up…

Read More

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

Optogenetics with the Tower

The optogenetics panel in the new Tower electronics (aka the Pizza Box) is nearly the same as its predecessor. The main difference is that synchronization and timing of stimulation is done internally and does not require any external electronics. The parameters at the bottom specify the width of the LED, GATE pulses and the number…

Read More

Knobby bounding box

In addition to an external limit switch, knobby implements a virtual bounding box outside of which the objective will not move. This additional safety feature is turned on by clicking the travel limit checkbox in knobby’s panel (highlighted in yellow below). The bounding box is centered on the location the objective was a the time…

Read More

Adding a limit switch

It is desirable to have an additional safety mechanism to prevent the scope from accidentally moving beyond a certain limit, such as imposing a lower limit on the z-axis beyond which the objective might hit an object.   The firmware on the motor box can be set up so an external signal coming from a limit…

Read More

Network streaming

The activity of segmented cells can be streamed over the network for online processing or for use in closed-loop experiments. Two configuration variables define the host name and port the data will be streamed to. In this particular example we will be streaming data to the same machine, but you can change stream_host to the…

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

Patterned photo-stimulation for optogenetics

Scanbox allows patterned photostimulation using a dual galvo pathway.  After installation of the module he first step is to calibrate the system as follows: During installation of the galvo-galvo stimulation module, we will determine the ETL setting required to bring into alignment the 2p imaging plane and the focal plane of stimulation.  This is done…

Read More