How do I run colonycount to count bacterial colonies?

7 views (last 30 days)
I recently downloaded the latest version of Matlab; however, I have never used Matlab previously. I found out that Matlab is able to count the colonies of bacteria samples in a petri dish, but I do not know 1) where to find the already available program within Matlab, and 2) how to execute it once I have it available? Any help would be greatly appreciated. Thanks.
  4 Comments
John D'Errico
John D'Errico on 23 Sep 2015
Hmm. You stated in your question that you have downloaded the latest version of MATLAB. In your comment, you state that you have an older release. Only ONE of these statements can be true. Which is it?
Jeremy Kunz
Jeremy Kunz on 23 Sep 2015
Actually in my question I stated that I downloaded the latest version and in my comment and said, "I have seen a youtube video using Matlab" and the version used in the video is an older version so both my comment and my question are consistent and both are true. Did you see the link to the youtube video? Thanks.

Sign in to comment.

Answers (3)

Walter Roberson
Walter Roberson on 23 Sep 2015
  7 Comments
Jeremy Kunz
Jeremy Kunz on 26 Sep 2015
Yes I did unzip it and made sure it was in the MATLAB path. When I enter the above syntax I received the following error:
Error using vertcat Dimensions of matrices being concatenated are not consistent.
Error in circle_houghpeaks (line 109) peaks = [x'; y'; radii(rind)];
Error in colony_count (line 58) peaks = circle_houghpeaks(h, radii, 'npeaks', 10); % Pick top 10 circles.
Walter Roberson
Walter Roberson on 26 Sep 2015
You need to pass the image content rather than the name, and you need to pass a range of radii.

Sign in to comment.


sukumar thirugnanm
sukumar thirugnanm on 4 Mar 2019
??? Error: File: circle_houghpeaks.m Line: 113 Column: 11
Expression or statement is incorrect--possibly unbalanced (, {, or [.
Error in ==> colony_count at 58
peaks = circle_houghpeaks(h, radii, 'npeaks', 10); % Pick top 10 circles.
Error in ==> colony_count_demo at 15
[count,markers,mask] = colony_count(I,radii);
Anybody correct this code

changsong
changsong on 18 Mar 2022
I know an android app can do it named CountThings By Camera
you can download try it
download url https://play.google.com/store/apps/details?id=cn.movingshop.counting.global

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!