Description Usage Arguments Examples
Filters out in a mask objects that are too little or too large
1 | filter_masks(mask, min_radius, max_radius)
|
mask |
an image object of type mask |
min_radius |
minimum radius of objects to keep |
max_radius |
maximum radius of objects to keep |
1 2 3 4 5 6 7 | img <- readImageBw(system.file("extdata", "tiny_4T1-shNT-1.png", package = "clasifierrr"))
mask <- EBImage::thresh(img)
# EBImage::display(mask)
# EBImage::display(filter_masks(mask, min_radius = 2, max_radius = Inf))
# EBImage::display(filter_masks(mask, min_radius = 0, max_radius = 20))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.