grabcard: get color card, segment and return the 24 colors as RGB.

View source: R/color_func.R

grabcardR Documentation

get color card, segment and return the 24 colors as RGB.

Description

get color card, segment and return the 24 colors as RGB.

Usage

grabcard(image, colorcard = "bottomright", scaledown = 8, pix.min = 40000)

Arguments

image

Input JPEG image

colorcard

Declares which corner the color card is in. "bottomright" by default. Can also be set to "bottomleft", "topright", and "topleft"

scaledown

The amount image sizes will be reduced in order to aid processing speed

pix.min

The minimum pixel size required for objects to not be removed with the background,

Value

An array of the 24 colors as RGB


shannonlabumn/TubAR documentation built on Aug. 14, 2022, 10:48 a.m.