You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Provides colony_count.m to automate counting of bacterial colonies.
The approach is as follows:
1. Use Hough transform to locate Petri dish.
2. Threshold with Otsu's method.
3. Count colonies as regional maxima in the original image which are present in the segmentation.
David Young's circular Hough transform functions are required. They are available here:
http://www.mathworks.com/matlabcentral/fileexchange/26978-hough-transform-for-circles
Currently, a range of Petri dish radii is required as a parameter.
This program was originally developed for a Stack Overflow question found here: http://stackoverflow.com/questions/9954891/counting-colonies-on-a-petri-dish.
Future plans are to increase versatility by automating parameter selection and reducing sensitivity to experimental and imaging conditions (lighting, bright/dark field, media color). Features suggested in comments will be considered for addition.
Cite As
Daniel Asarnow (2026). Automated Counting of Bacterial Colonies (https://www.mathworks.com/matlabcentral/fileexchange/35943-automated-counting-of-bacterial-colonies), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Hough transform for circles
General Information
- Version 1.0.0.0 (175 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
