⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 inbox3.m

📁 sfrmat is a Matlab function that provides a spatial frequency response* (SFR) from a digital image f
💻 M
字号:
function [del, weights] = inbox3;% [del, weights] = inbox3 dialogue box for input of data sampling, weights% for red, green and blue signals for luminanace calculation for SFR % calculation%  Usage: [del, weights] = inbox3%  del     = sampling interval in mm%  weights = 3x1 array of luminance weights  for R, G, B%             defaults: 0.3  0.6  0.1% Calls inputdlg function, supplied with the toolbox% matlab/uitools. If you have problems, check which version of% inputdlg.m (or corresponding inputdlg.p) is being called. You need% version 1.48 or later.% Peter Burns 19 April 2000% Copyright (c) International Imaging Industry Association 1999 - 2003title='  Data sampling & weights ';prompt={'Data sampling in dpi',' or mm', 'Luminance weights  for R, G, B' };   def={'-', '1', ['0.3'                     '0.6'                     '0.1']};lineNo=[1, 1, 3]';AddOpts.Resize='on';AddOpts.WindowStyle='normal';AddOpts.Interpreter='tex';answer=inputdlg(prompt, title, lineNo, def, AddOpts);sflag = 0;if length(char(answer(1)))~=1; sflag = 1; elseif char(answer(1))~='-'; sflag = 1;end;if sflag==0  del =  str2num(char(answer(2)));   else;  del =  str2num(char(answer(1)));  del = 25.4/del;end; weights = str2num(char(answer(3)));if sum(weights, 1) > 1.0; disp(' ***  WARNING: Sum of Luminance weights is greater than 1  ***');end;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -