You are here: Start » AVL.NET » Function Reference » Image » Image Color Spaces » AVL.RgbToHsv

AVL.RgbToHsv

Converts color space from Red-Green-Blue to Hue-Saturation-Value.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void RgbToHsv
(
	AvlNet.Image inRgbImage,
	AvlNet.Image outHsvImage
)

Parameters

Name Type Range Default Description
inRgbImageAvlNet.Image
outHsvImageAvlNet.Image

Hardware Acceleration

This operation is optimized for AVX2 technology for pixels of type: UINT8.

This operation is optimized for SSE4 technology for pixels of type: UINT8.

This operation supports automatic parallelization for multicore and multiprocessor systems.

This operation supports processing on OpenCL compatible device.

Hardware acceleration settings may be manipulated with Settings class.

Errors

List of possible exceptions:

Error type Description
DomainError Not a 3-channel and 8-bit image in RgbToHsv.
DomainError Not supported inRgbImage pixel format in RgbToHsv.

See also