cpp_M_HSV2RGB: Matrix HSV to RGB Conversion

View source: R/RcppExports.R

cpp_M_HSV2RGBR Documentation

Matrix HSV to RGB Conversion

Description

Converts grayscale [0,1] mat to 3D rgb array according to hsv space. hue and saturation determines tint whereas v is given by each element of mat

Arguments

mat

NumericMatrix, [0,1].

h

double, [0,1], hue. Default is 0.0

s

double, [0,1], saturation. Default is 0.0

Value

a NumericVector with 3 dimensions attribute i.e. a 3D array - 1st Dim is matrix rows count, - 2nd Dim is matrix cols count, - 3rd Dim is RGB


IFC documentation built on Sept. 14, 2023, 1:08 a.m.