필터 지우기
필터 지우기

want to plot CIE-CHART but have some problem

조회 수: 1 (최근 30일)
sevgul demir
sevgul demir 2022년 3월 14일
댓글: sevgul demir 2022년 3월 14일
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
Walter Roberson
Walter Roberson 2022년 3월 14일
Your Image Processing Toolbox license has expired.
sevgul demir
sevgul demir 2022년 3월 14일
:(

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by