SFRreg INI file reference

For more information on how to use INI files in Imatest IT, we recommend the Imatest INI File Reference

This document was created by running sfrreg in Imatest 5.2.0. ALPHA on 31-May-2019 14:48:43.

For Imatest IT, most of these entries don't need to be entered. Many don't affect Imatest IT results: they control interactive figure displays or figure output formats (figures are often not used in Imatest IT).

BackgroundMeaning
YellowYellow background: Important to Imatest IT. Parameter and Description are in boldface. [IT]
CyanCyan background: Figure settings. (Figures are used infrequently for IT.) [f]
GrayGray background: For interactive operation. No effect on IT.
ClearClear background: Results details (units, scaling, etc.) for CSV and JSON output,
or not yet categorized. May affect IT results.
INI file settings for sfrreg
Notes: Parameters of special interest to IT users are indicated by [IT] and displayed in Boldface. Some entries have extra values (unused; there to make it easy to add more settings).
ParameterSectionTypeDescriptionDefault value(s)
acquireimatestintAcquire image from instrument if specode=='dataq'. 0-10+.0
 0=File; 1=Epiphan; 2=Omnivision; 43=Toshiba; 4=STM; 5=Graphin; 6=OnSemi DevWare; 7=Android; 8=Operator Console; 9=IP; 10=Sony
acutanceTypesqfintAcutance CPIQ [1], Standard SQF [2]1
agc16bitimatestintAGC (auto-lighten) dark 16-bit files1
angle3DsfrregdecAzimuth & angle for 3D plots.-12 50
anlz_roughsfrregintAnalyze edge roughness (slight slowdown)0
anlz_sqfsfrregintPerform Acutance/SQF analysis0
apersfrregstrAperture: may be used for ISO sensitivity 
areanormsfrregintNormalization for MTF area calculation for secondary readouts 1,2: 1 = unnorml; 2 = normalize to maximum.2 2
bayerawsfrregintBayer RGB format (monochrome-only): 0-5 for [standard monochrome, R, Gr, B, Gb, demosaic] [IT]0
bkgnd3dsfrregdec3D background. 0-1 (black-white). Set in Rescharts slider. [f]0.9
brawShiftdcrawintBayer RAW bit shift index: 1 for auto; 2-6 for 0, 2, 3, 6, 81
CAsfrregstrPlot Lateral Chromatic Aberration (color images-only)[f]Max
calcNoisesfrregintOnly calcNoise(1) is used in Imatest 5.2+1 0 0 30 20 0 50 20 0 1 1 0 0
  
charthtsfrregstrBar-bar chart height (SFRplus), reg mark spacing (SFRplus), or square height (Checkerboard) in cm for Field of View in cm and focal lth measurement 
chcontrastsfrregintchcontrast(1) is index of chart contrast for calculating gamma when chcontrast(3)=1:7 10 0
 1-12 for contrast ratio = [Off 80 50 40 25 20 10 5 4 2 1.414 1.2 1.1]* [IT]
closefigssfrregintClose figures after save if 1. May prevent excessive figure buildup, which shows Imatest down.[IT]0
colorchartsfrregintAnalyze color chart1
colorspacesfrregstrColor space (determined by ncolor- not used?)sRGB
continue_on_errorapiint 0
CPIQPresetsqfintHeight & distance presets for Acutance calculation: [1] None,1
  [2] Small Print (10 cm height, 25cm dist, 600 DPI),
[3] Large Print (40cm height, 75cm dist, 600DPI),
[4] Computer Monitor at 100% (60cm distance, 100PPI),
[5] 4.5" Cell Phone (5.5cm height, 25cm dist, 330PPI),
[6] 30" 4k UHDTV (37.5cm height, 50cm dist, 146 PPI)
crop_borderssfrregintBorder crop in pixels for improving chart detection.0 0 0 0 0
csvbase_headersfrregint1 or 2 line CSV database header2
csvssfrregintSave CSV files for individual ROIs if 1.3
cyclesper_valuesfrregintIndex of display unit: 1-13 for 1
 C/P, C/mm, C/in, LW/PH, LP/PH C/mrad, C/deg, C/Objmm, C/Objin, LW/CH, LP/CH, LW/N_PX, LP/N_PX. See /25.1/sharpness#units [IT]
dbase_plotssfrregintDatabase plots0
debugapiint 0
deconvFilesfrregstrDeconvolution (chart compensation) file*.csv
deconvFolderimateststrDeconvolution (chart comp.) folder: no filesep at endC:\imatest\GUIProducts\ Trunk\depends\RTDepends
deconvParamsfrregdecDeconvolution (chart compensation) settings0 0 0 0 0 0 0 0 0 0 0 0
defaultrefsfrregintDefault reference media for SFRplus or eSFR ISO. 1=nominal; 2=matte; 3=semigloss1
demozdcrawintDemosaicing algorithm for dcraw1 1 0
derivCorrimatestintLSF derivative correction ISO 12233:2014(D.1) Strongly recommended (may remove)1
disable_figsapiint 0
disp3dsfrregint3D plot display style: 1-10. Set in Reacharts. [f]1
displayTypesqfintScreen [1], Print [2], Ideal [3]1
dispnoisesfrregintNoise display1
distortionTypeimatestintTV Distortion type index: 1 fo SMIA, 2 for ISO.1
edgecropsfrregintIndex of edge display for Edge/MTF plot: 1=default; 2=entire edge; 3={-4,6} pizels; 4={-10,15}; 5={-15,20}; 6-Half edge; 7=Quarter edge [f]1
edgeMTFsfrregstrDisplay edge/MTF plot. [f]Min
edgeroughsfrregstrPlot Edge roughness [f]Min
emph2sfrregintEmphasize (make bold) secondary readout in Edge/MTF plot [f]0
esfrnoisesfrregintNoise plot }0
exiftoolimatestintEXIF read selection. /25.1/imatest_instructions#exif1 1
 exiftool(1) = 0 (no EXIF), 1 or 2 (use Phil Harvey's ExifTool), 3 (Matlab built-in).
expandpltimateststrExpand fixed-module figures [f]1
expertsfrregintExpert (1) vs. basic mode (0) for parameters window [int]1
fig_display_modeapiint 0
figsavesfrregintType of figure to save: 1 for png; 2 for fig [f]1
filecombsfrregintCombine files if >1 (for signal averaging)0
foclthsfrregstr(focal length from EXIF data. Use for cycles/angle) 
foldersfrregstrFolder for Open image file dialogue box [int]C:\imatest\GUIProducts\ Trunk\source\
fovcalcsfrregintFoV extrapolation calculation4
gammasfrregstrgamma for linearization {IT]0.5
getfileoptimatestint1 for standard file read dialog; 2 for uipickfiles, which supports batches. [int]1
globfoldimateststrUse a global folder for reading images, rather than a folder for each module.[int]Min
globsaveimateststrUse a global folder for saving results, rather than a folder for each module.[int]Min
gray_refsfrregintGrayscale stepchart reference value1
grayrefoldersfrregstrLast Grayscale reference folder 
heightOrPctsqfintIf true [1] image heights are calculated using percentage magnification0
imageosfrregstrPlot Image and Geometry [f]Min
ini_file_dateimateststrSet to run date in some modules. Informational. UNUSED? 
ini_versionimatestintDoesn't seem to be used for much. Deprecate? UNUSED? 
invert3dsfrregint3D invert plot [f]0
isosfrregstr(ISO speed settingfrom EXIF data) 
isostdsfrregstrISO 12233 standard calculation. Min or Max.Min
keepExtimatestintKeep file extension (jpg, png, ...) when saving results0
labcolorsfrregintL*a*b* color error plot [f]0
lambdadiffsfrregdecWavelength(um) for diffraction-ltd MTF (aper must be set) [f]0.555
lastfilessfrregstrLast file list [int] 
LastgrayrefilesfrregstrLast Grayscale reference file 
LastlabelsfrregstrLast label in color reference box, for annotation. [f]Last file: (none)
lenschartsfrregstrLens-to-chart distance cm for focal lth calc. 
lensmtfsfrregintLens MTF plot0
lensOnlysqfintIf true [1] viewing display type must be ideal [3]0
lum_coeffsimatestdecLuminance (Y-channel) coefficients & index [IT]0.2125 0.7154 0.0721 2
luxincsfrregstrIncident lux for ISO sensitivity/Exposure Index} 
lwlpdsfrregint1 to display LW/PH, 2 for LP/PH1
magnificationsfrregdecMagnification (for C/Obj mm). Ignore if 0 or for most units.0
maxDistsqfdecMaximum viewing distance (cm)150
maxHeightsqfdecMax height (cm) for Fixed distance Acutance sweep100
maxPctsqfdecMaximum percent magnification of the image200
minDistsqfdecMinimum viewing distance (cm)50
minHeightsqfdecMin height (cm) for Fixed distance Acutance sweep5
minPctsqfdecMinimum percent magnification of the image25
mirrorsfrregintMirror image0
mod_apodsfrregint"Mod Apod" MTF noise reduction. Recommended. /25.1/sharpness#noisered1
MoiresfrregintMoire type. 1-9. 1=R-B; 2=R-B/mean(R,B) Smooth if <0-1
multidispsfrregintMulti-ROI view options [f]: which of boxes 1-4 to display: 1=all; 2=[2-4]; 3=[2,3]; 4=[3,4], ...1
multistylesfrregintMulti-ROI results selection: which variables to display.1
 /25.1/rescharts_edge_results-3#multiroi [f]
multitypesfrregstrMulti-ROI plot type (1D, 2D, etc.)[f]3
n1090sfrregintR1090 rise distance index: 1-5 for 10-90, 10-80, 10-70, 20-80, 20-701
ncolorsfrregintIndex of color space: 1=sRGB; 2=Adobe RGB; ...1
nColormapimatestintColor map for pseudocolor plots [f]1
negativesfrregintNegative image (light squares) for SFRplus0
noiseCPIQvisnoiseintCPIQ setting chosen in Visual Noise GUI: 1-6: 1 = None;1
  2 = Small Print (h=10cm h, d-25cm, 600 DPI), 3 = Large Print (h=40cm, d=75cm, 600 DPI), 4 = Computer Monitor at 100% (d=60cm, 100PPI), 5 = 4.5" Cell Phone (h=5.5cm, d=25cm, 330 PPI), 6 = 30" 4k UHDTV (h=37.5cm, d=50cm, 146 PPI)
noisedist1visnoisedec1st Visual noise viewing distance cm40
noisedist2visnoisedec2nd Visual noise viewing distance cm, empty if none 
noisedist3visnoisedec3rd Visual noise viewing distance cm, empty if none 
noiseheight1visnoisedec1st Visual noise viewing height cm25
noiseheight2visnoisedec2nd Visual noise viewing height cm1 
noiseheight3visnoisedec3rd Visual noise viewing height cm 
noisehistsfrregstrPlot noise histogram [f]Min
noisenonuniformimatestintIndex of noise nonuniformity calculation.1
noiseNormsfrregintNoise normalization & x-axis settings.1 1 0
noisepct1visnoisedec1st Visual noise % magnification, empty when height provided 
noisepct2visnoisedec2nd Vis noise % magn 
noisepct3visnoisedec3rd Vis noise % magn (optional). In Master, midway between 1 & 2 
noiseplotvisnoiseintVisual noise plot: 1 = sigma(L*u*v* or L*a*b*) and Vis noise1
  2 = sigma(L*)-only; 3 = sigma(U* or a*)-only; 4 = sigma(v( or b*)-only; 5 = vis noise-only; 6 = L* and vis noise
noiseppcmvisnoisedecpixels per cm resolution of the image39.7
nomsgapiint 0
nonuniformCorrsfrregintSlanted-edge nonuniformity correction0
normalizeValuessqfintIf true [1] normalize MTF values for acutance calculations, otherwise choose false [0]0
nowaitimatestintSuppress waitbar if set [IT]0
ois_enablesfrregintOptical Image Stabilization enable0 0
othersfrregstrSystem description (manually-entered) displayed in EXIF area [f] 
p3dsfrregint3D plot variable: 1-21. Set in Rescharts. [f]1
passFailapistr  
pixelspersfrregstrSensor pixel spacing or pitch in pixelsper units. 
pixunits_valuesfrregintIndex (1-3) for sensor spacing units: pixels/inch, px/mm, or um/pixel3
 Example: for 4 um/pixel, use pixelsper = 4; pixunits_value = 3.
plot3dsfrregstr3D plot in sfrplus [f]Min
plotimagesfrregintImage plot type [f]1
plotmaxsfrregintIndex of maximum plot frequency for Edge/MTF plot:1
 1-6 for [2, 1, 0.5, 0.2, 0.1, 0.05]*Nyquist frequency[f]
plotTypesqfintSqf or Acutance Standard Plot [1], JND [2] [f]1
pltradsfrregintRadial (CA) plot parameters1 1 1
pltsharpsfrregintDisplay oversharpening if 22
pop_edgesfrregintEdge plot type for Edge/MTF plot: [f]1
 1-5 for Edge profile (norml, linearized), LSF, Edge (not lin), Edge (lin, UNnorml), ...
pprofilessfrregstrPlot uniformity profilesMin
profilesfrregintColor uniformity profile type1
psfPlotOptionsfrregintPSF plot option1
pxPerCmsqfdecPixel per cm resolution of the image100
rad_distortsfrregint[0 ,1] Radial distortion plot [f]0
radiussfrregdecRadius for standardized sharpening (not normally needed)2
rdnumsfrregstrSecondary readout 1 MTF@ rdnum [IT]0.3
rdnum2sfrregstrSecondary readout 2 MTF@ rdnum2 [IT]0.2
rdnum3sfrregstrSecondary readout 3 MTF@ rdnum30.2
rdpctsfrregstrSecondary readout 1 nn (%) for MTFnn or MTFnnP [IT]30
rdpct2sfrregstrSecondary readout 2 nn (%) for MTFnn or MTFnnP [IT]20
rdpct3sfrregstrSecondary readout 3 nn (%) for MTFnn or MTFnnP20
rdtypesfrregstrSecondary readout 1 name: "MTF", "MTF__P", "MTF Area", or "MTF @" [IT] See /25.1/imatest-ini-reference#secondaryMTF
rdtype2sfrregstrSecondary readout 2 name: "MTF", "MTF__P", "MTF Area", or "MTF @" [IT](none)
rdtype3sfrregstrSecondary readout 3 name: "MTF", "MTF__P", "MTF Area", or "MTF @"(none)
rdunitsfrregintSecondary readout 1 frequency unit index (1-3 for C/P, C/mm, C/in) [IT]1
rdunit2sfrregintSecondary readout 2 frequency unit index (1-3 for C/P, C/mm, C/in) [IT]1
rdunit3sfrregintSecondary readout 3 frequency unit index (1-3 for C/P, C/mm, C/in)1
readexifimatestintRead EXIF data from image file1
readoutDistsqfdecReadout distance OR fixed viewing distance (cm)100
readoutHeightsqfdecReadout height (OR) OR fixed height of the image (cm)75
readoutPctsqfdecReadout percent magnification OR fixed percent magnification100
ref_valuesfrregintColor reference value1
regmark_contrast_o-
pt
sfrregintLevel of robustness to high scene dynamic range/low SFRreg target contrast.0
 >0-2: The higher the value, the slower the runtime. }
regmark_numsfrregintExtra reg marks & how to use them. }0
regmark_rotation_o-
pt
sfrregintLevel of robustness to SFRreg target rotation. 0-2. The higher the value, the slower the runtime. }0
regmark_sizesfrregintMinimum, maximum reg mark diameter in pixels }0 0
resultsavesfrregintSave results in subfolder Results of image file folder1
RGBY_valuesfrregintIndex of channel to analyze (4 is Y)[IT]4
rmcndcrawintIndex of location of Red pixel in Bayer raw: 0-4 for unknown, R1C1, R1C2, R2C1, R2C20
roilthsfrregdecROI length (slider)0.85
roiMaxsfrregstrMax ROI for thru-focus batch. 
roiselsfrregintIndex of ROI selection for automatic ROI detection. Depends on module. [IT]4 1
roiwidthsfrregintROI width1
roiZonessfrregintROI zones. /25.1/rescharts_instructions2#edgeid70 80 0 0 0 0
satlvlsfrregintSaturation level (for dynamic range calculations)1
save_dirsfrregstrFolder for saving results [int]C:\imatest\GUIProducts\ Trunk\source\Results\
save_file_listsfrregintList of files to save (specific to module). Some extras1=Edge/MTF plot; (Still finding settings)1 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
saveCSVsfrregintSave CSV file-99
savedelapiint 0
saveHTMLsfrregintSave HTML report0
saveJSONsfrregintSave JSON file-99
savePDFsfrregintSave PDF report0
scale3dsfrregdecScale for 3D plots [f]-999
select3dsfrregint3D plot selection (several plots) [f]0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
sfrrefineapiint 0
SFRsuffixsfrregintSuffix for saving plots & summary CSV file1
shift_dependent_ge-
ometry_recalc
sfrregint 1
shuttersfrregstrShutter speed: may be used for ISO sensitivity 
speedupsfrregintSpeed up calculations (no histograms or Shannon capacity). Recommended. [IT]1
splitcolorsfrregintSplit color analysis plot [f]0
SQFsqfstr Min
SQFmultsfrregstrPlot multi-ROI Acutance or SQF. [f]Min
sqfoptsqfdec 3 1 2 3 5 0 0 0 0 0 1 2 2 1 1
stepchartsfrregintAnalyze step chart1
stepplot2sfrregintStepchart plot-- bottom option [f]1
toneabovesfrregintTonal plot above noise plot1
tonessfrregstrPlot tonal response from grayscale stepchart }Min
vhdispsfrregint1-3 for V, H, V+H (combined), V+H (separate fixed figures), Tangential, or Sagittal for Multi-ROI and 3D plots [f]3
vhorsfrregintVertical/Horizontal edge selection: 1-3 for V, H, V&H1
viewSettingssqfdec[1] Fixed Viewing Distance, Varying Height1
 (requires minDist, maxDist, readoutDist, pxPerCm AND readoutHeight OR readoutPct)
visnoisecalcvisnoiseintVisual noise calculation options: 1=no visual noise; 2 = ISO 15729; 3=CPIQ; 4=both1
winlargeimatestintEnlarge interactive windows [int]0
xaxistypesfrregintIndex of Noise x-axis plot units1
zweightssfrregdecZone weights: ctr, mid, corner. Can be 0-1. [.5 .5 .5] might be better for machine vision.1 0.75 0.5
ParameterSectionTypeDescriptionDefault value(s)