Learn R Programming

ImaginR (version 0.1.7)

PictureResults: Give HEX and HSV color code

Description

To get the mean of the HEX color code and the HSV color code of the picture

Usage

PictureResults(picture)

Arguments

picture

The picture uploaded by load.image()

Value

results the HEX and HSV color code

Details

  • h : the hue of the hsv color code

  • s : the saturation of the hsv color code

  • v : the value of the hsv color code

  • hex : the hexadecimal color code

Examples

Run this code
fpath <- system.file('extdata/image.jpg',package='ImaginR')
picture <- load.image(fpath)
PictureResults(picture)

Run the code above in your browser using DataLab