template
Detect a single bead and return it's bounding circle
Contents
Syntax
- prm=beadDetect(im, opt, showPlot)
Description
prm=beadDetect(im, opt, showPlot) return the bounding circle of a bead in an image
- im: input image
- opt: options for this function
- showPlot: 1 to show a plot; 0 for nothing
- prm: parameters of the bounding circle, where
- [prm(1), prm(2)] is the center coordinates
- prm(3) is the radius.
Example
imFile='particle01.png'; im=imread(imFile); opt=beadDetect('defaultOpt'); prm=beadDetect(im, opt, 1);