👨🎓個人首頁:研學社的部落格
💥💥💞💞歡迎來到本部落格❤️❤️💥💥
🏆部落客優勢:🌞🌞🌞部落格内容盡量做到思維缜密,邏輯清晰,為了友善讀者。
⛳️座右銘:行百裡者,半于九十。
📋📋📋本文目錄如下:🎁🎁🎁
目錄
💥1 概述
📚2 運作結果
🎉3 參考文獻
🌈4 Matlab代碼實作
💥1 概述
使用Barten模型計算輸入空間頻率的對比敏感度值。輸入參數包括空間頻率(周期/度)、顯示亮度 (cd/m2)、周圍亮度 (cd/m2) 和視場(度)。
📚2 運作結果
部分代碼:
function [ CSF_out ] = CSF( fq,L,Ls,X )
% Calculate contrast sensitivity (Barten model) for a series of spatial frequencies
% fq: spatial frequency in cycle/degree, should be a scalar or a vector
% L: display luminance in cd/m2
% Ls: surround luminance in cd/m2
% X: Field of view in degree
% CSF: retured contrast sensitivity
% CSF equation from: P. Barten, 揊ormula for the contrast sensitivity of the human eye,� Proc. SPIE 5294, 231�238 (2003).
% By Zong Qin (qin[email protected]) from National Chiao Tung University, Taiwan
Itm1=5400*exp(-0.0016*fq.^2*(1+100/L)^0.08);
Itm2=1+144/(X^2)+0.64*fq.^2;
Itm3=63./(L^0.86)+1./(1-exp(-0.02*fq.^2));
CSF_uncorrected=Itm1./sqrt(Itm2.*Itm3);
Itm4=(Ls/L)*(1+144/(X^2))^0.25;
Itm5=(1+144/(X^2))^0.25;
Itm6=((log(Itm4))^2-(log(Itm5))^2)/(2*log(32)*log(32));
Surround_factor=exp(-Itm6);
CSF_out=CSF_uncorrected.*Surround_factor;
end
🎉3 參考文獻
部分理論來源于網絡,如有侵權請聯系删除。
[1]夏鵬,楊特,王樂,楊智春.平穩随機載荷的靈敏度分析識别方法[J].振動與沖擊,2022,41(23):300-306.DOI:10.13465/j.cnki.jvs.2022.23.035.
[2]P. Barten, “Formula for the contrast sensitivity of the human eye,” Proc. SPIE 5294, 231–238 (2003).