RGBA2HSVA

Converts a RGB image to HSV color space.

Converts a RGB image to HSV color space.

The conversion follows the formulae presented in https://en.wikipedia.org/wiki/HSL_and_HSV.

Parameters

min_chroma : float in [0, 1]. Defaults to 0.0. The minimum chromacity allowed in the conversion. If the chromacity of a given pixel is less than min_chroma, then the hue value is set to 0. float_precision : int. Defaults to ll.FloatPrecision.FP32. Floating point precision used to alloate out_hsva.

Inputs

in_rgba : ImageView. rgba8ui image.

Outputs

out_hsva : ImageView {rgba16f, rgba32f} image. This image is allocated in the same memory as in_rgba.

The color componens lie within the following ranges:

* H in [0, 2*pi]
* S in [0, 1]
* V in [0, 1]
* A in [0, 1]