find_three_stickers: Find the three stickers in standard positions

Description Usage Arguments Details Author(s)

Description

Wrapper for find_sticker it finds three similar objects. It assumes that there are three objects that can be found with find_sticker which are named "topleft", "topright", and "bottomleft".

Usage

1
2
3
4
find_three_stickers(img, topleft.min = c(0.1, 0.25, 0.25),
  topleft.max = c(0.25, 0.3, 0.4), topright.min = c(0.1, 0, 0.1),
  topright.max = c(0.2, 0.15, 0.3), bottomleft.min = c(0.2, 0.1, 0.1),
  bottomleft.max = c(0.4, 0.2, 0.2), return.img = FALSE)

Arguments

img

Image object. From EBImage.

topleft.min, topleft.max

The minimum and maximum RGB values defining a range on which a feature at position "topleft" is expected to exist.

topright.min, topright.max

Similar to above, but for an element at position topright.

bottomleft.min, bottomleft.max

Similar to above, but for an element at position bottomleft.

return.img

NOT IMPLEMENTED. Logical, indicating whether to return the masked object(s).

Details

This function was designed with a specific setup in mind. Namely the need to identify a rectangular area that is defined by three colored points on each of three of its vertices. See the file example1.jpeg included with this package for an example.

Author(s)

Sur Herrera Paredes


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