MTB Cell Counter
The MTB_CellCounter plugin is available since release version 1.4.4 of MiToBo-Plugins.
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
Name of Plugin/Operator
(available since MiToBo-Plugins version 1.4.4)
Download and Installation
You can download MiToBo-Plugins 1.4.4 including MTB_CellCounter following this link.
For a quick start on Linux and Mac OS systems just unzip the file in an empty directory of your choice and start ImageJ by running the "run.sh" script included in the zip file. http://www2.informatik.uni-halle.de/agprbio/mitobo/index.php/Installation
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.
- '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
- '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
Note that the currently selected marker type and the settings for showing markers and numbers are also displayed in the status bar of the image window.
Some additional actions for editing markers are available via keyboard shortcuts and mouse actions only, see below.
- '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:
|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
|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|
|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
Will be provided soon...