dYIQtoHSV

#include "BIImage.H"

 

D_HSV CALLBACK dYIQtoHSV(const LPD_YIQ dYIQ)

Description

Returns a D_HSV structure that is equivalent to the color represented by the D_YIQ values.

Parameters

LPD_YIQ

dYIQ

Pointer to a D_YIQ structure to convert.

Return values

The function will return a D_HSV structure.

Programming notes

See the Color Conversions Structures section for the description of the structures.

The range for each field in the input structure is between 0.0 and 1.0.The range for each field in the input structure is between 0.0 and 1.0.

Y: 0.0  …  1.0             I: -0.5957  …  0.5957             Q:  -0.5226  …  0.5226

The range for each field in the output structure is between 0.0 and 1.0.

H: 0.0  …  360.0         S: 0.0  …  1.0              V:  0.0  …  1.0

 

Requirements

Header :     Declared in BIImage.h; include BIImage.h.

Library :    Use BIImage.lib.

DLLs :       BIimage.dll.