File Exchange

image thumbnail

Blob finding

version (2.15 KB) by Alexander Farley
Locate centerpoints of blobs in binary (b&w) image using a circular prototype of a given radius.


Updated 28 May 2013

View License

Input: image, radius to blobs to be located, number of blobs to be located. Output: an image with 1 at the location of blob centers and 0 otherwise.

This code operates by sequentially subtracting prototype functions from the image at the peak xcorr locations between the image and the prototype.

Cite As

Alexander Farley (2020). Blob finding (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)


Changed title from "fitting" to "finding"

Corrected a bug in the extraction/pasting segment

Added screenshot demonstrating input image type

Added helper function findit.m

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux