Applications/MTBCellCounter

From MiToBo
Revision as of 15:27, 11 March 2015 by Moeller (talk | contribs)
Jump to navigationJump to search



MTB Cell Counter

ScreenshotCellCounter.png

The MTB_CellCounter plugin is available since release version 1.5 of MiToBo.

The plugin is based upon the original Cell Counter plugin for ImageJ written by Kurt De Vos (Cell Counter) and now also available in Fiji.
Compared to the original version the MTB_CellCounter plugin adds some nice new features:

  • pre-segmentation and filtering of spot-like structures
  • free configuration of marker colors
  • advanced editing of markers
  • status bar, tooltips and keyboard shortcuts
Related Publications
  • The Authors, The MTB Cell Counter - a versatile tool for semiautomated quantification of sub-cellular phenotypes in fluorescence microscopy images,
    2015, submitted for publication.
Name of Plugin/Operator

mtb_cellcounter.MTB_CellCounter
(available since MiToBo version 1.5)

Usage

For using the plugin you need to install MiToBo by following the instructions on the Installation page.
Running ImageJ you will then find a new entry MiToBo in the plugins menu from where you can select the MTB CellCounter plugin.

The usage of the plugin is leaned on the usage of the original plugin (see also Cell Counter webpage).

The basic workflow is as follows:

  • open the image you would like to process and press the 'Initialize' button
  • optionally configure the particle detector via the 'Configure operator...' button and then press 'Detect'
  • once the detection is finished you can filter detected particles via the 'Filter Particles...' button by size and average intensity; if you are done, press 'Select Markers'
  • now markers can manually be edited, i.e. markers can be added or removed, or their type can be changed
  • at the end you can view marker statistics (button 'Results' ), save the markers to a file (button 'Save Markers' ) or do some measurements (button 'Measurements...' )
Functions and Options

Below we outline the functions of the various elements of the graphical user interface.

  • Initialization:
    • 'Initialize' : initializes the plugin with the active image, if the image has more than one channel only the first channel is considered
    • 'Keep original' : if checked the source image remains open, otherwise it is closed
  • Pre-segmentation:
    • 'Detect' : runs the particle detector
    • 'Configure Operator...' : allows to change the parameters of the particle detector (see below)
    • 'Filter Particles...' : allows to filter detection results
    • 'Show contours' : enables/disables display of the contours of detected particle regions
    • 'Select markers' : selects the final set of markers and terminates detection stage

Detected particles are labeled with marker type 1 and the counter of that type refers to their number.

  • Marker management and editing:
    • 'Add' : add a new marker type at the end of the list, the type gets a random color
    • 'Remove' : delete the last type from the end of the list
    • 'Delete' : delete the last placed marker
    • 'Reset' : deletes all markers
    • 'Show Markers' : enables/disables display of markers
    • 'Show Numbers' : enables/disables display of marker numbers
    • 'Show All' : enables/disables display of both markers and numbers

Additionally some keyboard shortcuts and mouse actions are available for editing markers, see below.

  • Results:
    • 'Results' : shows table with marker statistics
    • 'Save Markers' : saves the markers to an XML file
    • 'Load Markers' : loads markers from an XML file
    • 'Export Image' : save a copy of the image including all markers


For the pre-segmentation of spot-like structures a particle detector operator of MiToBo is used. It has been published in
O. Greß, B. Möller, N. Stöhr, S. Hüttelmaier and S. Posch, Scale-adaptive Wavelet-based Particle Detection in Microscopy Images ,
Proc. of Workshop Bildverarbeitung für die Medizin (BVM '10), Hans-Peter Meinzer, Thomas Martin Deserno, Heinz Handels, and Thomas Tolxdorff, editors,
Springer, Informatik Aktuell, pp. 266-270, Aachen, Germany, March 2010.

The operator offers the following parameters:

Name Description
Minimal Scale (JMin) scale of smallest particles, set to an integer value >= 1
Maximal Scale (JMax) scale of largest particles, set to an integer value > JMin
Scale Interval Size several adjacent scales are correlated, the interval size determines how many scales are considered for each correlation
Correlation Threshold threshold for detecting particles, the smaller the threshold is chosen the more particles will be detected
Minimum Region Size minimal size of valid particles (in pixels), smaller particles are discarded
Keyboard Shortcuts and Mouse Actions
Key Description
1-9 select the corresponding marker type
a or left arrow scroll image to the left
d or right arrow scroll image to the right
e zoom out
q zoom in
s or arrow down scroll downwards
w or arrow up scroll upwards
v enable/disable display of contours (only after detected markers are selected)
x enable/disable display of numbers
y enable/disable display of markers

In edit mode the following mouse actions are available:

  • left mouse button: place a new marker of currently selected type
  • right mouse button: delete nearest marker of currently selected type
  • Strg + left mouse button: change type of nearest marker (with a different type) to currently selected type
  • Shift + left mouse button: draw a closed region of interest, all markers inside the region are removed
Sample data

Will be provided soon...