find_sticker: Find sticker

Description Usage Arguments Value Author(s)

Description

This functions takes a range of RGB values (minimums and maximums), and finds the largest connected set of pixels that fall within those ranges.

Usage

1
find_sticker(img, mins, maxs, return.img = FALSE, show.steps = FALSE)

Arguments

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.

Value

A list with elements:

Author(s)

Sur Herrera Paredes


surh/RosetteDetector documentation built on May 14, 2019, 10:36 a.m.