Repository navigation
Expand file tree
/
Copy pathdic_params.txt
More file actions
308 lines (222 loc) · 9.35 KB
/
Copy pathdic_params.txt
File metadata and controls
308 lines (222 loc) · 9.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
# ============================================================================
# DIC Parameters Configuration File
# Main configuration for global and DIC analysis parameters
# Lines starting with # are comments
# Format: key = value
# ============================================================================
# ============================================================================
# GLOBAL PARAMETERS
# ============================================================================
# Frictional conditions (comma-separated list)
frictional_conditions = glass,coating,coating_oil
# Number of stereo pairs
num_pair = 2
# Mirrored (MNG) rig only, used when built with -DXDIC_MODE=mirrored
# (theGlobalSettings_MNG.m: Npair and cam_order)
mirrored_num_pair = 7
mirrored_cam_order = 2,1,4,3
# Sampling frequencies
robot_sample_freq = 1000.0
vid_sample_freq = 50.0
# ============================================================================
# PATH DEFINITIONS
# ============================================================================
# Base path for the project
base_path = /Users/jaoga/devlab/MultiDIC
# Data path (location of video files and protocol files)
# Leave empty to use default: <base_path>/Data
data_path = /Users/jaoga/devlab/MultiDIC/example_data
# DIC path (location of output data from DIC)
# Leave empty to use default: <base_path>/DIC_Output
dic_path = /Users/jaoga/devlab/MultiDIC/analysis
# ============================================================================
# PROCESSING FLAGS
# ============================================================================
# Image filter mode
im_filter_mode = false
# Grayscale saturation (satur.m clipping above limit_grayscale) on imported frames.
# Set false for videos already filtered/normalised upstream (e.g. MNG rigs):
# clipping such frames flattens the speckle contrast and makes ncorr diverge.
im_saturation_mode = true
# When true, idx_frame_start/idx_frame_end/frame_jump are authoritative; the
# protocol-derived per-phase window (from the protocol .mat) is not applied.
force_frame_window = false
# Automatic processing flag
automatic_process = true
# Parallel processing flag
parallel_processing = false
# Debug mode (enables additional output and logging)
debug_mode = true
# ============================================================================
# DIC ANALYSIS PARAMETERS
# ============================================================================
# Subject identifier
subject_id = S09
# Phase identifier (e.g., loading, unloading)
phase_id = loading
# Material identifier (index into frictional_conditions, 0-based)
# 0=glass, 1=coating, 2=coating_oil
material_id = 2
# Number of conditions (comma-separated list)
nfcond_set = 5
# Speed conditions (comma-separated list)
spddxlcond_set = 0.04,0.08
# Calibration folder set
calib_folder_set = 2
# Reference trial number
ref_trial_id = 5
# ============================================================================
# FRAME SETTINGS
# ============================================================================
# Starting frame index
idx_frame_start = 1
# Ending frame index
idx_frame_end = 150
# Frame jump (process every Nth frame)
frame_jump = 1
# ============================================================================
# STEP D PARAMETERS (Initial Tracking)
# ============================================================================
# Analysis direction type: regular, reverse
step_d_analysis_type = regular
# Subset radius for tracking (pixels)
step_d_radius = 40
# Subset spacing (pixels)
step_d_spacing = 10
# Cutoff threshold for convergence
step_d_cutoff_diffnorm = 1e-5
# Number of iterations for solver
step_d_cutoff_iteration = 100
# Number of threads
step_d_total_threads = 1
# High strain analysis enabled
step_d_high_strain_enabled = true
# Seed propagation type: seed, roi
step_d_seed_type = seed
# Auto reference change
step_d_auto_update = true
# Step for reference change
step_d_step_ref_change = 10
# Initial seed point (pixel world coordinates: x,y)
# Leave empty for automatic seed selection
step_d_initial_seed =
# ============================================================================
# STEP E PARAMETERS (Matching)
# ============================================================================
# Analysis direction type: regular, reverse
step_e_analysis_type = regular
# Subset radius for matching (pixels)
step_e_radius = 60
# Subset spacing (pixels)
step_e_spacing = 10
# Cutoff threshold for convergence
step_e_cutoff_diffnorm = 1e-5
# Number of iterations for solver
step_e_cutoff_iteration = 100
# Number of threads
step_e_total_threads = 1
# High strain analysis enabled
step_e_high_strain_enabled = true
# Seed propagation type: seed, roi
step_e_seed_type = seed
# Auto reference change
step_e_auto_update = true
# Step for reference change
step_e_step_ref_change = 10
# Initial seed point (pixel world coordinates: x,y)
# Leave empty for automatic seed selection
step_e_initial_seed =
# ============================================================================
# STEP F PARAMETERS (Combined/Final)
# ============================================================================
# Analysis direction type: regular, reverse
step_f_analysis_type = regular
# Subset radius (pixels)
step_f_radius = 40
# Subset spacing (pixels)
step_f_spacing = 10
# Cutoff threshold for convergence
step_f_cutoff_diffnorm = 1e-5
# Number of iterations for solver
step_f_cutoff_iteration = 100
# Number of threads
step_f_total_threads = 1
# High strain analysis enabled
step_f_high_strain_enabled = true
# Seed propagation type: seed, roi
step_f_seed_type = seed
# Auto reference change
step_f_auto_update = true
# Step for reference change
step_f_step_ref_change = 10
# Initial seed point (pixel world coordinates: x,y)
# Leave empty for automatic seed selection
step_f_initial_seed =
# ============================================================================
# CAMERA PAIRS MAPPING
# ============================================================================
# Camera pairs: semicolon-separated pairs, each pair is "cam_first,cam_second"
# Matches MATLAB import_raw_vid.m: pair1=(1,2), pair2=(4,3)
# One entry per stereopair, in pair order; must list at least num_pair entries
# (e.g. an 8-camera rig: camera_pairs = 1,2;3,4;5,6;7,8). Missing entries default
# to (2N-1, 2N). Video files, REF masks/seeds and DLT calibrations are resolved
# from these camera ids.
camera_pairs = 1,2;4,3
# ============================================================================
# STEP E: 3D RECONSTRUCTION OPTIONS
# ============================================================================
# Enable distortion removal for 3D reconstruction
# MATLAB step3_dic_rewrited.m has distortionRemovalLogic = 0 (disabled)
step_e_distortion_removal = false
# Stitching of the per-pair 3D surfaces (used when all pairs of a trial exist):
# geometric = MATLAB-faithful overlap removal + boundary zipping (can take hours
# on multi-pair rigs with large overlaps, e.g. 8-view MNG)
# simple = plain append of all pairs (overlaps kept), seconds
step_e_stitch_mode = geometric
# Accelerate the geometric stitcher's ray casts with an AABB hierarchy over the faces.
# Exact: same hits, same stitched result; it only skips triangles the ray cannot reach.
# The brute-force scan dominates Step E on rigs with several pairs (hours vs minutes).
step_e_ray_bvh = false
# ============================================================================
# STEP D: 2D DIC POST-PROCESSING OPTIONS
# ============================================================================
# Replace bad correlation subsets with filtered data
# MATLAB step2_dic_finish.m: replacebadcorr is active but slow
# Set to true to match MATLAB behavior
step_d_replacebadcorr = false
# ============================================================================
# STEP F: DEFORMATION ANALYSIS OPTIONS
# ============================================================================
# Enable temporal filtering of displacements before deformation computation
step_f_temporal_filtering = true
# Low-pass cutoff frequency (Hz) for temporal filter
step_f_freq_filt = 10.0
# Compute rigid body motion (RBM) and ARBM deformation
# MATLAB step4_dic_rewrited.m: RBM computation is commented out
step_f_compute_rbm = false
# ============================================================================
# UNITS AND CALIBRATION
# ============================================================================
# Units per pixel conversion factor (e.g., mm per pixel)
units_per_pixel = 0.2
# Default subset radius for general use (pixels)
subregion_radius = 20
# Grayscale limit threshold
# Saturation limit: 0 = automatic (70 for subject numbers < 8, 100 otherwise);
# any positive value is used as-is (needed for subjects without a number, e.g. Artem)
limit_grayscale = 0
# ============================================================================
# OUTPUT CONTROL
# ============================================================================
# File version identifier
fileversion = v2
# Data format for pipeline I/O: mat, bin, or json
# Controls the format used for saving/loading DIC2D, DIC3Dcombined, DIC3DPPresults
data_format = mat
# Generate MATLAB .mat files (legacy flag, overridden by data_format)
generate_mat_files = true
# Delete cached .bin files after use
cleanup_cache_bins = false
# ---- added by xdic_webgui ----
log_level =
log_file =