View source: R/detectObjects.R
detectObjects3 | R Documentation |
detect object, good for dense objects.
detectObjects3( img, offset = 0.1, objectSizeRange = c(50, 1000), size = 5, w = 40, h = 40, tolerance = 1, ext = 1, ... )
img |
an object of Image or Image2. |
offset, w, h |
offset,w,h for thresh |
objectSizeRange |
numeric(2). object size range in pixel. |
size |
see makeBrush |
tolerance, ext |
see watershed. |
... |
not use. |
steps: 1. use watershed to segment the objects. 2. use bwlabel to label the objects 3. filter the objects by size range.
an label Image.
Jianhong Ou
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.