The constructor, which contains all the initializations for every pass/fail variable.
27 long long_bad_val = -1;
28 double dbl_bad_val = -1.0;
29 std::vector<long> long_bad_vec(3,-1);
30 std::vector<double> dbl_bad_vec(3,-1);
42 sfrplus.
Bayer_decode.
description = _T(
"Test for correct Bayer pattern decoding (fails if incorrect) if entered and the chart contains color patches above the center square and colorchart = 1 in the [sfrplus] section of the main ini file.");
52 sfrplus.
Color_expected_detected.
description = _T(
"A color pattern is expected above the chart center when colorchart = 1 in the [sfrplus] section of the main ini file. If the color pattern is not present, this test will fail. This could indicate bad chart positioning or simply that the color pattern is not present in the test chart.");
72 sfrplus.
Mirrored_chart.
description = _T(
"Test for mirrored (Left-Right or Top-Bottom) image (fails mirrored images) if entered and the chart contains a grayscale step chart below the center square and stepchart = 1 in the [sfrplus] section of the main ini file.");
77 sfrplus.
Rotation_degrees_max.
description = _T(
"Image rotation in degrees, measured from the top and bottom distortion bars. The absolute value is used for Pass/Fail. Note that if the chart is upside-down (vertically mirrored or rotated 180 degrees) 180 will be added to the rotation, which will generally result in a failure for this measurement.");
82 sfrplus.
Stepchart_expected_detected.
description = _T(
"A grayscale stepchart is expected below the chart center when stepchart = 1 in the [sfrplus] section of the main ini file. If the stepchart is not present, this test will fail. This could indicate bad chart positioning or simply that the grayscale stepchart is not present in the test chart (a rare occurrence because it’s in most standard charts, except for the chrome-on-glass chart).");
102 sfrplus.
MTF50P_ratio_min.
description = _T(
"The minimum ratio of the minimum to maximum MTF50P (spatial frequency where contrast falls to half its peak value). A low value indicates poor lens quality or possibly significant lens tilt.");
112 sfrplus.
Secondary_readout_1_center_mean_min.
description = _T(
"The minimum allowed value of the mean of Secondary readout 1 in the center region (up to 30% of the center-to-corner distance). Secondary readouts are described Here. Secondary readout ini file settings are listed in the Imatest INI file reference.");
163 sfrplus.
Chart_mean_pixel_level_bounds.
max_description = _T(
"Maximum mean pixel levels for the chart, measured in the middle third (ninth by area) of the chart. Set to avoid cheating by over exposing so edges saturate (sharp corners), resulting in improved MTF.");
166 sfrplus.
Chart_mean_pixel_level_bounds.
min_description = _T(
"Minimum mean pixel levels for the chart, measured in the middle third (ninth by area) of the chart. Set to avoid cheating by under exposing so edges saturate (sharp corners), resulting in improved MTF.");
182 blemish.
Dead_pixels_max.
description = _T(
"Maximum number of dead pixels allowed. Thresholds for dead pixel detection (% or absolute) are set in the [blemish] section of the ini file.");
187 blemish.
Dead_pixel_clusters_max.
description = _T(
"Maximum number of dead pixel clusters allowed, where a cluster is defined as two or more adjacent dead pixels. Overrides the calcluster setting in the standard ini file: calcluster(2) is set to 1 if entered.");
202 blemish.
Hot_pixels_max.
description = _T(
"Maximum number of hot pixels allows. Thresholds for hot pixel detection (% or absolute) are set in the [blemish] section of the ini file.");
207 blemish.
Optical_center_offset_max.
description = _T(
"Maximum offset in pixels of the optical center (location of highest luminance) from the center of the image. To minimize the effects of noise, X and Y optical centers are defined using the centroid of the of the curve between the points where the smoothed values fall below 95% of the maximum. (The actual maximum is highly susceptible to noise since it’s very broad.)");
T min_val
The value for the min variable.
Definition: PassFailSettings.h:61
CString name
The name to be displayed for this assembly of variables.
Definition: PassFailSettings.h:184
entry< double > Chart_radial_pixel_shift_max
Definition: PassFailSettings.h:119
bool b_enable
Indicates that the OIS field was found in the pass/fail file.
Definition: PassFailSettings.h:186
entry< double > Secondary_readout_2_outer_min_min
Definition: PassFailSettings.h:138
CString max_description
The description displayed for the max variable.
Definition: PassFailSettings.h:60
vecEntry< long > Blemish_maximum_count
Definition: PassFailSettings.h:154
T value
the value of the pass/fail variable
Definition: PassFailSettings.h:33
entry< double > Secondary_readout_2_outer_quadrant_delta_max
Definition: PassFailSettings.h:139
entry< long > R_improve_V_dB_min
Definition: PassFailSettings.h:181
entry< long > All_Edge_IDs_detected
Definition: PassFailSettings.h:116
entry< double > Secondary_readout_1_center_mean_min
Definition: PassFailSettings.h:131
entry< double > Secondary_readout_2_outer_mean_min
Definition: PassFailSettings.h:137
std::size_t numEntries
The number of variables in this struct. This MUST be updated if new keys are added.
Definition: PassFailSettings.h:170
entry< double > Secondary_readout_2_center_mean_min
Definition: PassFailSettings.h:136
entry< long > Dead_pixels_max
Definition: PassFailSettings.h:157
CString group_name
The name to be displayed for the collection.
Definition: PassFailSettings.h:84
entry< double > Rotation_degrees_max
Definition: PassFailSettings.h:130
std::string data_type
an indicator for the data_type to be used by inifile()
Definition: PassFailSettings.h:91
std::vector< T > value
A vector containing all the values of the variable.
Definition: PassFailSettings.h:90
entry< long > Horizontal_bars_OK_min
Definition: PassFailSettings.h:124
entry< double > Secondary_readout_2_outer_quadrant_mean_min_min
Definition: PassFailSettings.h:140
entry< double > Optical_center_offset_max
Definition: PassFailSettings.h:161
entry< long > Dead_pixel_clusters_max
Definition: PassFailSettings.h:156
entry< long > Mirrored_chart
Definition: PassFailSettings.h:126
CString group_name
The overall name for the pair.
Definition: PassFailSettings.h:54
CString group_description
The description for the collection.
Definition: PassFailSettings.h:85
std::string data_type
an indicator for the data_type to be used by inifile()
Definition: PassFailSettings.h:63
entry< long > L_MTF50_delta2_gain_summary_all_dB_min
Definition: PassFailSettings.h:179
Blemish blemish
Definition: PassFailSettings.h:211
bool b_isReadOnly
for checking if the Pass/Fail file is read-only
Definition: PassFailSettings.h:214
entry< double > Low_pixel_saturation_fraction_max
Definition: PassFailSettings.h:125
entry< long > R_improve_H_dB_min
Definition: PassFailSettings.h:180
entry< long > Hot_pixels_max
Definition: PassFailSettings.h:160
entry< double > Relative_illumination_corner_diff_pct_max
Definition: PassFailSettings.h:164
std::size_t numEntries
The number of variables in this struct. This MUST be updated if new keys are added.
Definition: PassFailSettings.h:185
entry< double > FOV_degrees_diagonal_min
Definition: PassFailSettings.h:122
CString name
The name to be displayed for this assembly of variables.
Definition: PassFailSettings.h:169
entry< double > Optical_center_offset_X_max
Definition: PassFailSettings.h:162
entry< CString > passfail_ini_file_date
Definition: PassFailSettings.h:129
entry< double > Secondary_readout_1_outer_quadrant_delta_max
Definition: PassFailSettings.h:134
OISPassFail ois
Definition: PassFailSettings.h:212
T max_val
The value for the max variable.
Definition: PassFailSettings.h:62
entry< long > Color_expected_detected
Definition: PassFailSettings.h:120
A struct that can be used to catch other (that is, not Blemish, OIS, or SFRplus) pass/fail categories...
Definition: PassFailSettings.h:192
CString name
The name to be displayed for this assembly of variables.
Definition: PassFailSettings.h:144
CString max_name
The name displayed for the max entry.
Definition: PassFailSettings.h:57
CString min_name
The name displayed for the min entry.
Definition: PassFailSettings.h:55
bool b_enable
Indicates that the Blemish field was found in the pass/fail file.
Definition: PassFailSettings.h:171
std::string data_type
an indicator for the data_type to be used by inifile()
Definition: PassFailSettings.h:34
entry< double > MTF50P_CP_weighted_mean_min
Definition: PassFailSettings.h:128
vecEntry< long > Blemish_size_pixels
Definition: PassFailSettings.h:155
std::size_t numEntries
The number of variables in this struct. This MUST be updated if new keys are added.
Definition: PassFailSettings.h:145
CString name
the pass/fail variable (or key) name as given in the Imatest documentation
Definition: PassFailSettings.h:31
entry< double > Secondary_readout_1_outer_mean_min
Definition: PassFailSettings.h:132
minMaxEntry< double > Chart_mean_pixel_level_bounds
Definition: PassFailSettings.h:118
entry< long > Stepchart_expected_detected
Definition: PassFailSettings.h:141
entry< long > upside_down
Definition: PassFailSettings.h:142
entry< double > Relative_illumination_worst_corner_pct_min
Definition: PassFailSettings.h:165
entry< double > Convergence_angle_max
Definition: PassFailSettings.h:121
CString min_description
The description displayed for the min variable.
Definition: PassFailSettings.h:59
entry< long > Hot_pixel_clusters_max
Definition: PassFailSettings.h:159
entry< double > High_pixel_saturation_fraction_max
Definition: PassFailSettings.h:123
entry< double > Secondary_readout_1_outer_min_min
Definition: PassFailSettings.h:133
bool b_enable
Indicates that the SFRPlus field was found in the pass/fail file.
Definition: PassFailSettings.h:146
entry< double > Uniformity_RoverG_corners_pct_max
Definition: PassFailSettings.h:167
entry< double > Optical_center_offset_Y_max
Definition: PassFailSettings.h:163
entry< long > R_improve_ALL_dB_min
Definition: PassFailSettings.h:182
entry< long > Bayer_decode
Definition: PassFailSettings.h:117
entry< long > Defective_pixels_max_count
Definition: PassFailSettings.h:158
entry< double > Secondary_readout_1_outer_quadrant_mean_min_min
Definition: PassFailSettings.h:135
CString description
The description of this variable to be displayed.
Definition: PassFailSettings.h:32
entry< double > MTF50P_ratio_min
Definition: PassFailSettings.h:127
SFRplusPassFail sfrplus
Definition: PassFailSettings.h:210
entry< double > Uniformity_BoverG_corners_pct_max
Definition: PassFailSettings.h:166
bool b_enable
The number of variables in this struct. This MUST be updated if new keys are added.
Definition: PassFailSettings.h:196