rgb2xyz converter martrix different from other references
Ältere Kommentare anzeigen
Hello, I have a question about the color space transform function.
I found that images.color.linearRGBToXYZConverter martrix has some difference with the martrix I can find on website, as below
martrix in matlab - Parameter Value
0.41246 0.21267 0.019334
0.35758 0.71515 0.11919
0.18044 0.072175 0.9503
martrix in other -
[0.412453 0.357580 0.180423]
[0.212671 0.715160 0.072169]
[0.019334 0.119193 0.950227]
I wonder why there are differences? Thanks.
3 Kommentare
Walter Roberson
am 19 Jun. 2018
Give the command
format long g
and then look again. The transpose of the matrix is
0.412456439089692 0.357576077643909 0.180437483266399
0.212672851405623 0.715152155287818 0.0721749933065596
0.0193338955823293 0.119192025881303 0.950304078536368
This is not exactly the same as the other to within round off, but some of the differences are accounted for.
Xuechu Xu
am 19 Jun. 2018
Walter Roberson
am 19 Jun. 2018
s = images.color.linearRGBToXYZConverter;
s.ConversionParameters.M
Antworten (0)
Kategorien
Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!