filterImage | R Documentation |
filter pixels by conditions
filterImage(img, ..., expand.size = 21)
img |
An object of Image or Image2 |
... |
filter criteria |
expand.size |
extend the regions that meet the filter criteria by pixels. A numeric containing the size of the brush in pixels. This should be an odd number; even numbers are rounded to the next odd one, i.e., size = 4 has the same effect as size = 5. Default is 21 |
An object of Image or Image2
Jianhong Ou library(EBImage) img <- readImage(system.file("extdata", "low.jpg", package="cellCounter")) img <- filterImage(img, red > .3, green > .3, green + .1 > red, green < red + .3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.