Big Cell Brother

A simple to use segmentation and cell tracking software.

About

Segment brightfield images

Improve image contrast and apply noise reduction before applying time tested segmentation methods to identify cells in brightfield microscopy images.

info1

Classify segmented output

Train a machine learning system to remove misclassified cells.

info1

Download

Windows Coming soon
Linux Coming soon

Documentation

Loading images

Use the Load brightfield button to load the brightfield image stack. Optionally load a number of fluorescence stacks if desired using the Load fluorescence button (you can also do this at a later step). You can now progress through the command pipeline (list to the left of the main image). You can use the Crop image action to select a region of interest in your image stack. Improve image allows you to change the contrast, reduce noise, and apply a sharpening filter to the image to enhance the performance of subsequent steps. It is recommended to not tune these parameters to too high effects, as it might result in information loss. If the images are of a very low resolution, it is recommended to use the resolution toggle to upscale them 2 or 4 times.

info1

Threshold

With the Threshold action a set of filters are applied to the image in order to mark areas as background. The more pixels are marked as background, the better the performance of subsequent steps will be. However caution must be taken to ensure that the chosen parameters are not over optimized for the current frame leaving other frames with a poor background (it is possible to use the slider under the main picture frame to look at later frames).

The window and threshold parameters control the adaptive threshold algorithm, which marks a pixel as background if its average value is lower than that of its neighbors within a window of the given size. The global threshold parameter controls a simple brightness filter: any pixel under that brightness is marked as background. Smooth background controls an adaptive filter which might mark certain small objects as background.

info1

Create markers

Once the background is defined, seed markers are defined in the remaining region. By providing the expected maximum cell width and height, it is possible to break up markers using gradient and brightness information to improve performance in the next step.

info1

Watershed

The Watershed algorithm refines the cell positions to conform to the boundaries defined by the image gradients and brightness. It is possible to filter detected cells by removing markers smaller than a predefined value. The step controls the number of steps in the iterative process by which smaller labels are removed (once a small label is removed larger labels may expand towards that area). Jagged edged in the detected cells might be removed by adjusting the smoothing parameter. It is also possible to remove cells touching the border by marking the appropriate box.

info1

Classifier

Once the labels are defined, you can additionally train a statistical classifier (support vector machine) to detect incorrectly labeled cells. A left click will mark cells as good and right click as bad. It is also possible to mark them all as bad and good using the corresponding buttons. You may do this process for several frames to increase the training dataset. Once you have classified at least 30 cells, you may save the dataset with the Save my teachings button. Finally you can train the classifier.

info1

Once the classifier has run you can see the results where yellow denotes classified as bad and cyan classified as good. You can classify more data and retrain the classifier if necessary.

info1

Export

Finally, export the data to a specific file. Three files will be created: a CSV with the numerical data, a DOT file to generate the cell lineage and an AVI video for debugging purposes.

info1