Learn R Programming

CRImage (version 1.20.0)

convertHSVToRGB: Conversion from HSV color space to RGB color space

Description

The function converts images in the HSV colour space to the RGB colour space.

Usage

convertHSVToRGB(imgHSV)

Arguments

imgHSV
An 'Image' object or an array in the HSV colour space.

Value

An array in the RGB colour space.

Details

Standard colour space conversion.

See Also

convertRGBToHSV convertRGBToLAB convertLABToRGB

Examples

Run this code
f= system.file("extdata", "exImg.jpg", package="CRImage")
img=readImage(f)
#conversion to RGB color space
imgRGB=convertHSVToRGB(img)

Run the code above in your browser using DataLab