Operator RGB2XYZ

Operator Library: Prototype

[경고] 경고

Disclaimer: This module is part of the prototype library. It is absolutely preliminary and subject to extensive changes, even removal. Therefore, this module must not be used for productive designs. It is included for testing purposes only.

RGB2XYZ 모듈은 예상되는 sRGB, 화이트 포인트 D65의 색공간을 CIE XYZ로 변환합니다. 계수는 사용자 지정 변환이 가능하도록 파라미터화할 수 있습니다. XYZ 값의 범위는 [0, 100]이므로 출력 Bit Width는 7-bit이지만, 출력 링크에서 더 많은 비트가 선택되면 더 높은 정밀도를 사용할 수 있도록 값이 2^(n-7)만큼 배율 조정됩니다.

변환 행렬은 TransMatrixX1부터 TransMatrixZ3까지의 파라미터로 정의됩니다. 이러한 파라미터는 배정밀도 계수를 포함하는 3x3 행렬입니다. 다음 공식은 변환 알고리즘을 나타냅니다.

I/O Properties

Property Value
Operator Type O
Input Link I, image data input
Output Link O, 이미지 데이터 출력

Supported Link Format

Link Parameter Input Link I Output Link O
Bit Width 24 [21, 63]
Arithmetic unsigned as I
Parallelism any as I
Kernel Columns 1 as I
Kernel Rows 1 as I
Img Protocol {VALT_IMAGE2D, VALT_LINE1D, VALT_PIXEL0D} as I
Color Format VAF_COLOR as I
Color Flavor FL_RGB FL_XYZ
Max. Img Width any as I
Max. Img Height any as I

Parameters

TransMatrixX1
Type static read/write parameter
Default 0.4124
Range [0, 1]

변환 행렬 RGB에서 XYZ로의 하나의 계수를 정의합니다. 이 계수의 값은 더블 값입니다.

TransMatrixX2
Type static read/write parameter
Default 0.3576
Range [0, 1]

변환 행렬 RGB에서 XYZ로의 하나의 계수를 정의합니다. 이 계수의 값은 더블 값입니다.

TransMatrixX3
Type static read/write parameter
Default 0.1805
Range [0, 1]

변환 행렬 RGB에서 XYZ로의 하나의 계수를 정의합니다. 이 계수의 값은 더블 값입니다.

TransMatrixY1
Type static read/write parameter
Default 0.2126
Range [0, 1]

변환 행렬 RGB에서 XYZ로의 하나의 계수를 정의합니다. 이 계수의 값은 더블 값입니다.

TransMatrixY2
Type static read/write parameter
Default 0.7152
Range [0, 1]

변환 행렬 RGB에서 XYZ로의 하나의 계수를 정의합니다. 이 계수의 값은 더블 값입니다.

TransMatrixY3
Type static read/write parameter
Default 0.0722
Range [0, 1]

변환 행렬 RGB에서 XYZ로의 하나의 계수를 정의합니다. 이 계수의 값은 더블 값입니다.

TransMatrixZ1
Type static read/write parameter
Default 0.0193
Range [0, 1]

변환 행렬 RGB에서 XYZ로의 하나의 계수를 정의합니다. 이 계수의 값은 더블 값입니다.

TransMatrixZ2
Type static read/write parameter
Default 0.1192
Range [0, 1]

변환 행렬 RGB에서 XYZ로의 하나의 계수를 정의합니다. 이 계수의 값은 더블 값입니다.

TransMatrixZ3
Type static read/write parameter
Default 0.9505
Range [0, 1]

변환 행렬 RGB에서 XYZ로의 하나의 계수를 정의합니다. 이 계수의 값은 더블 값입니다.