Team:ETHZ Basel/InformationProcessing/InformationFlow

From 2010.igem.org

(Difference between revisions)
(Toolkit (Simulink))
(Information Processing)
Line 17: Line 17:
The Stage Control block gets as input the current position of the E. lemming and decides if the E. lemming is on the verge of moving out of the field of view. If so, it induces the x/y-stage of the microscope to change for a defined amount of μm. The current stage position is passed to the Cell Tracking Block as an additional input to allow for the tracking of cells over a long distance.
The Stage Control block gets as input the current position of the E. lemming and decides if the E. lemming is on the verge of moving out of the field of view. If so, it induces the x/y-stage of the microscope to change for a defined amount of μm. The current stage position is passed to the Cell Tracking Block as an additional input to allow for the tracking of cells over a long distance.
-
Finally, several of the previous described blocks outputs are passed to the Visualization block, which displays all information on the computer screen or the beamer.
+
Finally, several of the previous described blocks outputs are passed to the Visualization block, which displays all information on the computer screen or the beamer.<br clear="all">
-
 
+
-
next block which selects the cell to be controlled. Furthermore, by comparing the change in the position of the E. lemming over several consecutive images, the direction of the E. lemming is estimated. This data together with the raw image is send to the display.<br clear="all">
+
-
 
+
-
[[Image:Screen.jpg|thumb|400px|Output on the screen. The cone is visualizing the current direction of the selected E. coli.]]The direction of the cell is automatically compared to the direction it should go. This direction can be intuitively defined by the user using a joystick. The force feedback functionality of the joystick is used to give the user an intuitive feedback of the current direction of the E. lemming. If the difference between the actual direction of the E. lemming and the direction the user defined is too high, tumbling is automatically induced by a red light (660nm) pulse. Otherwise tumbling is supressed by a far red light (748nm). Alternatively the user can induce the pulses directly using the buttons of the joystick.
+
-
If the cell is moving out of the image the microscope moves automatically such that the cell is always approximately in the center of the image.
+
-
<br clear="all">
+

Revision as of 19:57, 14 October 2010

Information Flow

Information Acquisition

The imaging pipeline from the microscope to Matlab/Simulink

The microscope is connected to a workstation using the core drivers and interfaces of μManager (see Stuurman et al. (2007) or [1]). To provide a mechanism to change the cell's input signal depending on its fluorescence signal, we developed the microscope software μPlateImager, which enables for parallel acquisition of images and the modification of light input signals. μPlateImager uses the Java interface of the μManager core to control the microscope and can be configured by a separate platform-independent visual user interface. Since the communication with the microscope already requires a significant amount of system resources, it was necessary to swap the image processing, cell detection, and controller part to a second workstation to increase the possible frame rate. μPlateImager can therefore be controlled over the network or the internet by a GUI (graphical user interface). This GUI uses the yet undocumented Java MATLAB Interface (JMI) to start up a Matlab (The MathWorks, Natick, MA) process based on the open source project matlabcontrol (see [2]). It furthermore starts up a Simulink model and transfers the microscope control to several of the blocks of the Lemming Toolbox, a Simulink toolbox allowing for the block based interconnection of the main controller and image processing parts, like cell detection, tracking the visualization or the like.

Information Processing

Graphical user interface with which the image analysis pipeline and the control algorithm can be defined
We constructed a Simulink model based on the Lemming Toolbox. The model consists of several blocks representing the single steps of the image analysis, the controller and blocks enabling the control of the microscope. Since it contains several feedback loops, we here only give an overview over the main information flow, skipping some of the however important connections.

First, the microscope block triggers μPlateImager and thus indirectly the microscope to make an out-of focus image and sends this image to the cell detection block. Based on a user definable threshold the cell detection block returns the positions of the cells having the highest score. These positions are send to the Cell Tracking block, which compares the positions of the detected cells with those of in previous frames detected cells. If the distance of a currently detected cell from its position in one of the previous frames is smaller than a threshold, the block assigns the same unique ID (UID) to the cell, otherwise a new UID is generated. Furthermore the cell tracking algorithm allows the cell to persist for several successive frames if it gets lost. The cell positions together with their UIDs is send to the Cell Selection block. This block determines the direction of the currently selected cell by calculating its change of its actual position compared to its position a few frames before. Furthermore it allows the user to switch between the cells with the help of the buttons of a connected joystick.

With the joystick the user furthermore defines a reference direction, which serves together with the actual direction of the E. lemming as the input for the Controller block. This controller calculates, depending on the actual and previous direction of the E. lemming and the reference direction if red light or far-red light should be activated. This information is passed to the Red Light and Far-Red Light blocks, which trigger μManager and therewith the microscope to activate or deactivate the light sources.

The Stage Control block gets as input the current position of the E. lemming and decides if the E. lemming is on the verge of moving out of the field of view. If so, it induces the x/y-stage of the microscope to change for a defined amount of μm. The current stage position is passed to the Cell Tracking Block as an additional input to allow for the tracking of cells over a long distance.

Finally, several of the previous described blocks outputs are passed to the Visualization block, which displays all information on the computer screen or the beamer.