areaColoured: Calculate the area of an image matching a specific colour

Description Usage Arguments Value

View source: R/imageArea.R

Description

Calculate the area of an image matching a specific colour

Usage

1
areaColoured(file, colour = c(0, 0, 0))

Arguments

file

A jpeg file to analyse

colour

Numeric vector of colour components, c( red, green, blue )

Value

A numeric value, pixel count of matching colour


rossholmberg/holmberg documentation built on Feb. 3, 2018, 2:51 p.m.