SpotsInNucleiBot
Dependency: this bot requires Bioformats to read tiff stacks. Download it from
http://downloads.openmicroscopy.org/bio-formats/5.3.4/
and add it to Matlab's path.
To use this bot, execute 'spotsInNucleiBot' from Matlab's prompt, and follow the options/instructions.
Input format: image stacks, that is, images with multiple channels. One of the channels
is used to detect nuclei, and the others contain diffraction limited spots (point sources).
Output format: for each stack analized, a table containing counts of point sources per nuclei.
Two algorithms are available to detect nuclei (Simple Threshold, and Machine Learning),
and two to detect spots (LoG, and Advanced LoG).
The Machine Learning algorithm requires a model trained to segment nuclei.
To train such model, use the nucleiSegmentationBot (under NucleiSegmentationBot).
-----
On the parameters of the 'LoG' and 'Advanced LoG' spot detetion options:
'sigma' is the estimated sigma of a gaussian that fits the puncta;
an estimation can be done by drawing a box around a point source, as shown in 6:20-6:50 here:
https://www.youtube.com/watch?v=63Ybf4IPYXo
'alpha' in 'Advanced LoG' is roughly the probability of wrongly selecting a local maxima from the LoG-filtered image as a spot;
in low signal-to-noise ratio conditions you'd want to increase this since
you'd want to be more permissive with respect to the spots that are selected;
for high signal-to-noise ratio you can set alpha very small (say 0.000001)
If signal to noise-ration is high, the basic 'LoG' option should work well though.
In this case, sigma is as above, and 'threshold' is as follows:
After finding local maxima from the LoG-filtered image, compute the robust mean m and standard deviation s
of the distribution of local-maxima intensities for spots that fall in the background mask (i.e., outside the nuclei mask).
Selected puncta will be the ones for which the intensity is above m+ts, where t is your threshold.
-----
Note: of you used NucleiSegmentationBot to train a machine learning model to segment nuclei, make sure
to change your current folder to SpotsInNucleiBot before calling 'spotsInNucleiBot', otherwise
an error will occurr due to the fact these bots use functions with the same name but slightly different implementations.
-----
For a video tutorial, see https://www.youtube.com/watch?v=63Ybf4IPYXo
-----
Acknowledgements:
fmgaussfit.m was developed by Nathan Orloff:
https://www.mathworks.com/matlabcentral/fileexchange/41938-fit-2d-gaussian-with-optimization-toolbox
advPointSourceDetection.m is based on code developed by Francois Aguet:
http://www.sciencedirect.com/science/article/pii/S1534580713003821
-----
Paper: https://www.biorxiv.org/content/early/2017/08/03/172296
-----
MatBots are primitive AIs, 'assistants' if you will, that use minimalistic GUI dialogs to guide the user through a data processing pipeline in Matlab.
Isn't that an 'app'? Bots are much more restrictive than apps. Users are, to a greater extent than in an app, guided through the correct steps to perform a task. A bot usually performs a much more limited task than an app.
When possible, bots have a 'headless' mode, which allows them to execute a processing pipeline as a typical Matlab function, either on an image or a folder of images.
For more bots and tools for bio-image analysis, see https://hms-idac.github.io/MatBots/
引用格式
Marcelo Cicconet (2024). SpotsInNucleiBot (https://www.mathworks.com/matlabcentral/fileexchange/64721-spotsinnucleibot), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Image Segmentation > Color Segmentation >
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!SpotsInNucleiBot/
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |