convertRGBToHSV {CRImage} | R Documentation

## Conversion from RGB color space to HSV color space

### Description

The RGB Image is converted to an HSV image.

### Usage

    convertRGBToHSV(img)

### Arguments

`img` | The RGB image

### Details

The entries of the array are Hue, Saturation and Value.

### Value

The image in HSV color space.

### Author(s)

Henrik Failmezger, failmezger@cip.ifi.lmu.de

### See Also

convertHSVToRGB convertRGBToLAB convertLABToRGB

### Examples

    f= system.file("extdata", "exImg.jpg", package="CRImage")
    img=readImage(f)
    #conversion to HSV color space
    imgHSV=convertRGBToHSV(img)

[Package CRImage version 1.40.0 Index]