beadDetect_b
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)]: center coordinates
- prm(3): radius of the fitting circle
- prm(4): intensity average of the object
- prm(5): no. of pixels of the object
Example
imFile='particles02.png'; im=imread(imFile); opt=beadDetect('defaultOpt'); prm=beadDetect(im, opt, 1);
![](beadDetect_b_help_01.png)