Effacer les filtres
Effacer les filtres

how to create vision contrast test system in MATLAB?

2 vues (au cours des 30 derniers jours)
OJ27
OJ27 le 23 Mar 2018
Modifié(e) : OJ27 le 23 Mar 2018
Anyone have any idea how I can create this chart? I am using cosine functions with different frequencies and plotting them over a 2D grid. However, I do not know how to get the exact same contrast as the original chart
x = linspace(- .5 * pi, .5* pi, rows);
y = linspace(1, 100, rows);
[xx,~] = meshgrid(x, y);
z = L(i) .* (C(i) .* cos(2 .* pi .* freq .* xx) + 1);
where L is the luminance and C the contrast. If you know a better way, It'd be great to learn it.

Réponses (0)

Catégories

En savoir plus sur Computer Vision Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by