Azzera filtri
Azzera filtri

want to plot CIE-CHART but have some problem

1 visualizzazione (ultimi 30 giorni)
sevgul demir
sevgul demir il 14 Mar 2022
Commentato: sevgul demir il 14 Mar 2022
xyz_primaries = rgb2xyz([1 0 0; 0 1 0; 0 0 1]);
xyzMag = sum(xyz_primaries,2);
x_primary = xyz_primaries(:,1)./xyzMag;
y_primary = xyz_primaries(:,2)./xyzMag;
wp = whitepoint('D65');
wpMag = sum(wp,2);
x_whitepoint = wp(:,1)./wpMag;
y_whitepoint = wp(:,2)./wpMag;
plotChromaticity
hold on
scatter(x_whitepoint,y_whitepoint,36,'black')
scatter(x_primary,y_primary,36,'black')
plot([x_primary; x_primary],[y_primary; y_primary],'k')
hold off
this all my codes i got it from matlab home but even run it doesnt work. :( what i did wrong
  7 Commenti
Walter Roberson
Walter Roberson il 14 Mar 2022
Your Image Processing Toolbox license has expired.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti


Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by