img_mode: Get most common pixel value (approx)

Description Usage Arguments

View source: R/utils.R

Description

Get most common pixel value (approx)

Usage

1
img_mode(img, digits = 2, size = 50000)

Arguments

img

Image

digits

precision of numerical values

size

size of sample - if img has more than size pixels, it will be reduced to a random sample of size before tabulation


srvanderplas/ShoeScrubR documentation built on Nov. 27, 2019, 2:09 p.m.