Description Usage Arguments Value Author(s) See Also Examples
Count the number of objects in a segmented image.
1 | countObjects(cseg)
|
cseg |
An image containing the objects. |
An integer indicating the number of objects in the cell mask.
Gregoire Pau, gregoire.pau@embl.de, 2010
1 2 3 4 5 6 7 8 9 10 11 | ## initialize imageHTS object using the local submorph screen
local = tempdir()
server = system.file('submorph', package='imageHTS')
x = parseImageConf('conf/imageconf.txt', localPath=local, serverURL=server)
x = configure(x, 'conf/description.txt', 'conf/plateconf.txt', 'conf/screenlog.txt')
## segment one well
uname = getUnames(x, content='rluc')[1]
z = segmentWells(x, uname=uname, segmentationPar='conf/segmentationpar.txt', writeData=FALSE)
n = countObjects(z$cseg)
cat('number of cells=', n, '\n')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.