Summarise the statistical properties of HSV colours.

Share:

Description

Use the summary function to analyse the hue, saturation and value components of colorspace library HSV values.

Usage

1
summaryHsv(hsvs)

Arguments

hsvs

colorspace library HSV values

Value

A list containing summary objects for the H, S and V values.

Examples

1
2
3
4
5
6
7
8
library(CulturalAnalytics)
library(jpeg)
imgdir<-paste(system.file(package = "CulturalAnalytics"), "images", sep = "/")
imgs<-paste(imgdir, dir(path = imgdir, pattern = ".jpg"), sep = "/")
img<-readJPEG(imgs[1])
rgbs<-imageToRgb(img)
hsvs<-rgbToHsv(rgbs)
summaryhsv<-summaryHsv(hsvs)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.