Matrix Multiplikation to convert RGB to XYZ
in
Programming Questions
•
1 year ago
Hello Together
I have a color sensor that sends me its values over a PIC32 over RS 232 to processing.
Well, I have to transform the ADC measurements into the color space.
Well for that I need a matrix multiplication:
|Radc| |3.037; -1.25 ; 0.239| |x|
|Gadc| x |0.42 ; 2.325; -1.244| =|y|
|Badc| |-0.689; 0.20 ; 7.45 | |z|
Is there a good libray maybe from rotating cubes (ore some 3D libs) I can make a quicke step ?
What cool someone can help me with the matrix stuff
Thx in advance
Raph
I have a color sensor that sends me its values over a PIC32 over RS 232 to processing.
Well, I have to transform the ADC measurements into the color space.
Well for that I need a matrix multiplication:
|Radc| |3.037; -1.25 ; 0.239| |x|
|Gadc| x |0.42 ; 2.325; -1.244| =|y|
|Badc| |-0.689; 0.20 ; 7.45 | |z|
Is there a good libray maybe from rotating cubes (ore some 3D libs) I can make a quicke step ?
What cool someone can help me with the matrix stuff
Thx in advance
Raph
1