Description Usage Arguments Value Author(s)
This functions takes a range of RGB values (minimums and maximums), and finds the largest connected set of pixels that fall within those ranges.
1 | find_sticker(img, mins, maxs, return.img = FALSE, show.steps = FALSE)
|
img |
An image object. From the EBImage pacjage |
mins, maxs |
Vectors of length three indicating the minimum and maxiimum values (inclusive) for each of the RGB channels. |
return.img |
logical indicating whether the thresholded image object must be reurned. |
show.steps |
logical indicating whether the image from the different steps should be displayed. |
A list with elements:
posThe coordinates of the center of mass of the region found
sizeThe number of pixels in the area found
imgIf return.img = TRUE, then this is an image object with the thresholded image
Sur Herrera Paredes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.