Sbxsegmenttool: A simple GUI for off-line segmentation

Sbxsegmenttool is a simple GUI that replicates the same mechanism used in Scanbox’s online segmentation to assist in the segmentation of cells and/or processes in data that has already been collected.

Sbxsegmenttool expects the images to have already been rigidly aligned.  After loading an *.align file, the mean mean aligned image will be shown momentarily and then replaced by a computed correlation map.

Then, as the cursor is moved over this image the computer will display which pixels, across the entire image, are correlated with the one under the cursor above a certain threshold. Those pixels that exceed a given threshold are shown by a green pixel.  The value of the threshold can be changed up or down by moving the wheel on the mouse.  The higher the threshold, the fewer green pixels that will show up in the image.

Finally, all the green pixels that form a connected component and include the pixel under the cursor are shown in blue. These group pixels are potential candidates for defining a ROI. Once you have a connected component defined which you find acceptable, click the left mouse button.

Once a ROI is defined the image in the red channel will be re-scaled automatically to expose areas of lower correlation in other parts of the image while ignoring those in the already defined ROIs.

The fact that the correlations are computed for all pixels in the image allows one to also highlight extended processes where signals are correlated, as shown in the image below.

segtool1

Once you are satisfied with the ROIs selected click Save to store them in a corresponding *.segment file, which can then be used to extract signals via sbxpullsignals().

Note that the correlation map will highlight cells whose activity change over time.  Many cells which are labeled but not responding are not going to be picked up.

This is a beta version of the tool and we will be adding more features as users provide feedback. Play with it and let us know what features you would like to see added.

 

One comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s