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.
Alexander Farley (2020). Blob finding (https://www.mathworks.com/matlabcentral/fileexchange/33953-blob-finding), MATLAB Central File Exchange. Retrieved .
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