Improved imfindcircles method

This is a very simple modification of the "imfindcircles" method, that uses the "Canny" algorithm for edge detection
1 Download
Updated 3 Jul 2024

View License

The matlab "imfindcircles" method is excellent at detecting circular objects in images. However, the first step in the algorithm is to detect edges, and the currect method for edge detection (convolution with the sobel operator and thresholding), is not optimal.
This code modifies the function "chaccum", to utilize "Canny" edge detection. With this modification, the algorithm was found to be substantially more robust in detecting the true circles and far fewer spurious circles. The new code was used to analyze a batch of fluorescence microscopy images and showed better overall results compared to the built-in function.
The only function that was actually changed was "chaccum". All of the rest were simply copied from the built-in method.

Cite As

shahar goren (2024). Improved imfindcircles method (https://www.mathworks.com/matlabcentral/fileexchange/169126-improved-imfindcircles-method), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2024a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0