/normxcorr/trunk

To get this branch, use:
bzr branch http://suren.me/webbzr/normxcorr/trunk
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
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns:st1="urn:schemas-microsoft-com:office:smarttags"
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 11">
<meta name=Originator content="Microsoft Word 11">
<link rel=File-List href="Correlation_Guide_2_files/filelist.xml">
<link rel=Edit-Time-Data href="Correlation_Guide_2_files/editdata.mso">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>Digital Image Correlation / Tracking with Matlab</title>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PlaceName"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PlaceType"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="country-region"/>
<!--[if gte mso 9]><xml>
 <o:DocumentProperties>
  <o:Author>chris</o:Author>
  <o:LastAuthor>Chris Eberl</o:LastAuthor>
  <o:Revision>2</o:Revision>
  <o:TotalTime>143</o:TotalTime>
  <o:LastPrinted>2006-09-21T02:40:00Z</o:LastPrinted>
  <o:Created>2006-12-29T18:40:00Z</o:Created>
  <o:LastSaved>2006-12-29T18:40:00Z</o:LastSaved>
  <o:Pages>1</o:Pages>
  <o:Words>5883</o:Words>
  <o:Characters>33535</o:Characters>
  <o:Company>JHU</o:Company>
  <o:Lines>279</o:Lines>
  <o:Paragraphs>78</o:Paragraphs>
  <o:CharactersWithSpaces>39340</o:CharactersWithSpaces>
  <o:Version>11.5606</o:Version>
 </o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:HyphenationZone>21</w:HyphenationZone>
  <w:ValidateAgainstSchemas/>
  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
   <w:UseWord2002TableStyleRules/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:LatentStyles DefLockedState="false" LatentStyleCount="156">
 </w:LatentStyles>
</xml><![endif]--><!--[if !mso]><object
 classid="clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D" id=ieooui></object>
<style>
st1\:*{behavior:url(#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;
	mso-font-charset:2;
	mso-generic-font-family:auto;
	mso-font-pitch:variable;
	mso-font-signature:0 268435456 0 0 -2147483648 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";
	mso-ansi-language:DE;
	mso-fareast-language:DE;}
p.MsoFooter, li.MsoFooter, div.MsoFooter
	{margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	tab-stops:center 207.65pt right 415.3pt;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";
	mso-ansi-language:DE;
	mso-fareast-language:DE;}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;
	text-underline:single;}
 /* Page Definitions */
 @page
	{mso-footnote-separator:url("Correlation_Guide_2_files/header.htm") fs;
	mso-footnote-continuation-separator:url("Correlation_Guide_2_files/header.htm") fcs;
	mso-endnote-separator:url("Correlation_Guide_2_files/header.htm") es;
	mso-endnote-continuation-separator:url("Correlation_Guide_2_files/header.htm") ecs;}
@page Section1
	{size:595.3pt 841.9pt;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-title-page:yes;
	mso-even-footer:url("Correlation_Guide_2_files/header.htm") ef1;
	mso-footer:url("Correlation_Guide_2_files/header.htm") f1;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
 /* List Definitions */
 @list l0
	{mso-list-id:115176168;
	mso-list-type:hybrid;
	mso-list-template-ids:1885226484 67567631 67567641 67567643 67567631 67567641 67567643 67567631 67567641 67567643;}
@list l0:level1
	{mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1
	{mso-list-id:725103925;
	mso-list-type:hybrid;
	mso-list-template-ids:-1430781362 894173392 67567619 67567621 67567617 67567619 67567621 67567617 67567619 67567621;}
@list l1:level1
	{mso-level-start-at:0;
	mso-level-number-format:bullet;
	mso-level-text:-;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
@list l2
	{mso-list-id:1467965214;
	mso-list-type:hybrid;
	mso-list-template-ids:-1054988678 -152814394 67567619 67567621 67567617 67567619 67567621 67567617 67567619 67567621;}
@list l2:level1
	{mso-level-start-at:0;
	mso-level-number-format:bullet;
	mso-level-text:-;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
@list l2:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:1.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l2:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:1.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l2:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:2.0in;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l3
	{mso-list-id:1996179431;
	mso-list-type:hybrid;
	mso-list-template-ids:1916686938 67567631 67567641 67567643 67567631 67567641 67567643 67567631 67567641 67567643;}
@list l3:level1
	{mso-level-start-at:2;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
</style>
<![endif]--><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="2050"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1"/>
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple style='tab-interval:35.4pt'>

<div class=Section1>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal align=center style='text-align:center'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal align=center style='text-align:center'><span
style='font-size:24.0pt;mso-ansi-language:EN-US'>Digital Image Correlation<o:p></o:p></span></p>

<p class=MsoNormal align=center style='text-align:center'><span
style='font-size:24.0pt;mso-ansi-language:EN-US'>and Tracking with Matlab<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal align=center style='text-align:center'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal align=center style='text-align:center'><span
style='mso-ansi-language:EN-US'>Programmed by:<o:p></o:p></span></p>

<p class=MsoNormal align=center style='text-align:center'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal align=center style='text-align:center'><span
style='mso-ansi-language:EN-US'>Christoph Eberl, Robert Thompson, Daniel
Gianola<o:p></o:p></span></p>

<p class=MsoNormal align=center style='text-align:center'><span
style='mso-ansi-language:EN-US'>@ <st1:place w:st="on"><st1:PlaceName w:st="on">Johns</st1:PlaceName>
 <st1:PlaceName w:st="on">Hopkins</st1:PlaceName> <st1:PlaceType w:st="on">University</st1:PlaceType></st1:place>,
Group of Kevin J. Hemker<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal align=center style='text-align:center'><span
style='mso-ansi-language:EN-US'><a href="mailto:Chris.eberl@jhu.edu">chris.eberl@jhu.edu</a><o:p></o:p></span></p>

<span style='font-size:12.0pt;font-family:"Times New Roman";mso-fareast-font-family:
"Times New Roman";mso-ansi-language:EN-US;mso-fareast-language:DE;mso-bidi-language:
AR-SA'><br clear=all style='page-break-before:always'>
</span>

<p class=MsoNormal style='text-align:justify'><span style='font-size:18.0pt;
mso-ansi-language:EN-US'>1. Introduction<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>Measuring strain in samples which are too small, big, compliant, soft or
hot are typical scenarios where non-contact techniques are needed. A technique
which can cover all that and also can deal with complicated strain fields in
structures or structural materials is the Digital Image Correlation. With this
technique, strain can be calculated from a series of consecutive images with
sub pixel resolution as will be shown in the following chapters. <o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>Even though there are tons of codes from the image registration, artificial
intelligence or the robotics community, none of them can easily be used by the
strain measuring community. Commercial code is available also and has the
advantage of getting a guaranty that it works, is nicely designed and has well
thought through user interfaces and typically a higher processing speed. The
disadvantages are, that commercial software typically has to be paid in k$, is available
only as package with hardware, enjoys a notorious lack of programming interfaces
or tools to change the code to fit it into a test setup as well as the
probability of inaccessible data in case the software license is not valid
anymore or it does not run on the new and fancy computer anymore. <o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>Out of all these reasons this code was written together with Rob
Thompson and Dan Gianola during my stay in the group of Kevin J. Hemker at the <st1:PlaceName
w:st="on">Johns</st1:PlaceName> <st1:PlaceName w:st="on">Hopkins</st1:PlaceName>
<st1:PlaceType w:st="on">University</st1:PlaceType> in <st1:place w:st="on"><st1:City
 w:st="on">Baltimore</st1:City>, <st1:State w:st="on">MD</st1:State>, <st1:country-region
 w:st="on">USA</st1:country-region></st1:place>. This code is not meant to be a
direct competitor to commercial code since we have not the time to make it as
easy to use as possible but as a different option with the advantages to be ‘free’,
‘flexible’ and ‘scalable’. ‘Free’ in terms of free access even though we would like
to ask you to cite our code in case you use it and ‘free’ again even though you
need to buy matlab together with some toolboxes. Since most research
institutions have access to this important tool I think we still can name it
‘free’. ‘Flexible’ in terms of the relative easy way you can enhance this
matlab code as a script language where you can add either other toolboxes or
your own code to flex it around your application. We would appreciate it if you
as a user could share your own code with all of us out here so we can learn
from your creativity. And ‘scalable’ since you can easily start several
sessions to process your images on more than one processor (core) and because
there is a good chance that we will be able to use Graphic Processing Units
(GPU = the graphics processor on a graphics card) or other add-on boards to
enhance processing speed in the next few years.<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>In case you are still reading, we would like to wish you fun using this
code and hope we were able to provide you with a useful tool to help your with
your experiments. <o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>Cheers, Chris. <o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><st1:country-region w:st="on"><st1:place
 w:st="on"><span style='mso-ansi-language:EN-US'>Germany</span></st1:place></st1:country-region><span
style='mso-ansi-language:EN-US'>, December 2006.<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<span style='font-size:12.0pt;font-family:"Times New Roman";mso-fareast-font-family:
"Times New Roman";mso-ansi-language:EN-US;mso-fareast-language:DE;mso-bidi-language:
AR-SA'><br clear=all style='page-break-before:always'>
</span>

<p class=MsoNormal style='text-align:justify'><span style='font-size:18.0pt;
mso-ansi-language:EN-US'>2. Requierements and Installation<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><u><span style='mso-ansi-language:EN-US'>REQUIEREMENTS:<o:p></o:p></span></u></b></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>You will need <b style='mso-bidi-font-weight:normal'>Matlab 7 (R14) or
higher</b> (since the dlmwrite.m in Matlab 6.5 does not work, at least for me
and this is a really important function since it stores the data after each
calculation step). And you will need the following <b style='mso-bidi-font-weight:
normal'>TOOLBOXES</b>:<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-align:justify;text-indent:-.25in;
mso-list:l1 level1 lfo3;tab-stops:list .5in'><![if !supportLists]><span
style='mso-ansi-language:EN-US'><span style='mso-list:Ignore'>-<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><b style='mso-bidi-font-weight:normal'><span
style='mso-ansi-language:EN-US'>Optimization</span></b><span style='mso-ansi-language:
EN-US'> (all fitting processes depends on this toolbox)<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-align:justify;text-indent:-.25in;
mso-list:l1 level1 lfo3;tab-stops:list .5in'><![if !supportLists]><span
style='mso-ansi-language:EN-US'><span style='mso-list:Ignore'>-<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><b style='mso-bidi-font-weight:normal'><span
style='mso-ansi-language:EN-US'>Image processing</span></b><span
style='mso-ansi-language:EN-US'> (obviously)<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><u><span style='mso-ansi-language:EN-US'>INSTALLATION STEP 1:<o:p></o:p></span></u></b></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>Copy the following <b style='mso-bidi-font-weight:normal'>essential</b>
files into the work folder in your matlab folder (e.g. in windows:
c:\matlab65\work):<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-align:justify;text-indent:-.25in;
mso-list:l2 level1 lfo2;tab-stops:list .5in'><![if !supportLists]><span
style='mso-ansi-language:EN-US'><span style='mso-list:Ignore'>-<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='mso-ansi-language:EN-US'>filelist_generator.m<span
style='mso-tab-count:1'>    </span>(generates file name lists and an optional time_image
<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:1.75in;text-align:justify;text-indent:
15.6pt'><span style='mso-ansi-language:EN-US'>list needed for merging stress
and strain)<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-align:justify;text-indent:-.25in;
mso-list:l2 level1 lfo2;tab-stops:list .5in'><![if !supportLists]><span
style='mso-ansi-language:EN-US'><span style='mso-list:Ignore'>-<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='mso-ansi-language:EN-US'>grid_generator.m<span
style='mso-tab-count:1'>        </span>(generates grid rasters needed for the
correlation code)<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-align:justify;text-indent:-.25in;
mso-list:l2 level1 lfo2;tab-stops:list .5in'><![if !supportLists]><span
style='mso-ansi-language:EN-US'><span style='mso-list:Ignore'>-<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='mso-ansi-language:EN-US'>automate_image<span
style='mso-tab-count:1'>         </span>(this function does all the hard
correlation work)<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-align:justify;text-indent:-.25in;
mso-list:l2 level1 lfo2;tab-stops:list .5in'><![if !supportLists]><span
style='mso-ansi-language:EN-US'><span style='mso-list:Ignore'>-<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='mso-ansi-language:EN-US'>peak_labelling.m<span
style='mso-tab-count:1'>        </span>(this function is searching and tracking
peaks)<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-align:justify;text-indent:-.25in;
mso-list:l2 level1 lfo2;tab-stops:list .5in'><![if !supportLists]><span
style='mso-ansi-language:EN-US'><span style='mso-list:Ignore'>-<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='mso-ansi-language:EN-US'>pickpeak.m<span
style='mso-tab-count:2'>                 </span>(this function is tracking
manually chosen peaks)<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-align:justify;text-indent:-.25in;
mso-list:l2 level1 lfo2;tab-stops:list .5in'><![if !supportLists]><span
style='mso-ansi-language:EN-US'><span style='mso-list:Ignore'>-<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='mso-ansi-language:EN-US'>strain_lineprofile.m<span
style='mso-tab-count:1'>    </span>(tracking two markers in a lineprofile)<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-align:justify;text-indent:-.25in;
mso-list:l2 level1 lfo2;tab-stops:list .5in'><![if !supportLists]><span
style='mso-ansi-language:EN-US'><span style='mso-list:Ignore'>-<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='mso-ansi-language:EN-US'>line_visuals.m<span
style='mso-tab-count:2'>             </span>(needed for the strain_lineprofile.m)<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-align:justify;text-indent:-.25in;
mso-list:l2 level1 lfo2;tab-stops:list .5in'><![if !supportLists]><span
style='mso-ansi-language:EN-US'><span style='mso-list:Ignore'>-<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='mso-ansi-language:EN-US'>sortvalidpoints.m<span
style='mso-tab-count:1'>       </span>(this function finds the tracked peaks
and has to be <span style='mso-tab-count:4'>                                              </span>called
after peak_labelling or pickpeak)<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-align:justify;text-indent:-.25in;
mso-list:l2 level1 lfo2;tab-stops:list .5in'><![if !supportLists]><span
style='mso-ansi-language:EN-US'><span style='mso-list:Ignore'>-<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='mso-ansi-language:EN-US'>gauss_onepk.m<span
style='mso-tab-count:1'>           </span>(the gauss equation called by the
peaktracking functions)<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-align:justify;text-indent:-.25in;
mso-list:l2 level1 lfo2;tab-stops:list .5in'><![if !supportLists]><span
style='mso-ansi-language:EN-US'><span style='mso-list:Ignore'>-<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='mso-ansi-language:EN-US'>gauss_twopk.m<span
style='mso-tab-count:1'>          </span>(same as gauss_onepk.m but with two
peaks…)<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-align:justify;text-indent:-.25in;
mso-list:l2 level1 lfo2;tab-stops:list .5in'><![if !supportLists]><span
style='mso-ansi-language:EN-US'><span style='mso-list:Ignore'>-<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='mso-ansi-language:EN-US'>displacement.m<span
style='mso-tab-count:1'>          </span>(this function will help you analyzing
your data)<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-align:justify;text-indent:-.25in;
mso-list:l2 level1 lfo2;tab-stops:list .5in'><![if !supportLists]><span
style='mso-ansi-language:EN-US'><span style='mso-list:Ignore'>-<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='mso-ansi-language:EN-US'>linearfit.m<span
style='mso-tab-count:2'>                   </span>(contains the linear
equation)<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-align:justify;text-indent:-.25in;
mso-list:l2 level1 lfo2;tab-stops:list .5in'><![if !supportLists]><span
style='mso-ansi-language:EN-US'><span style='mso-list:Ignore'>-<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='mso-ansi-language:EN-US'>ppselection_func.m<span
style='mso-tab-count:1'>    </span>(this function is needed by displacement.m)<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-align:justify;text-indent:-.25in;
mso-list:l2 level1 lfo2;tab-stops:list .5in'><![if !supportLists]><span
style='mso-ansi-language:EN-US'><span style='mso-list:Ignore'>-<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='mso-ansi-language:EN-US'>resume_automate_image.m
(resume stopped correlation jobs, see Chapt. 6)<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-align:justify;text-indent:-.25in;
mso-list:l2 level1 lfo2;tab-stops:list .5in'><![if !supportLists]><span
style='mso-ansi-language:EN-US'><span style='mso-list:Ignore'>-<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='mso-ansi-language:EN-US'>jobskript.m<span
style='mso-tab-count:2'>                 </span>(generates a pile of jobs and
executes them Chapt. 6)<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><u><span style='mso-ansi-language:EN-US'>INSTALLATION STEP 2:<o:p></o:p></span></u></b></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>In cpcorr.m (type ‘open cpcorr’ at the matlab prompt) you have to change
<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify;text-indent:
-.25in;mso-list:l2 level1 lfo2;tab-stops:list .25in'><![if !supportLists]><span
style='mso-ansi-language:EN-US'><span style='mso-list:Ignore'>-<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><b style='mso-bidi-font-weight:normal'><span
style='mso-ansi-language:EN-US'>in line 77: <o:p></o:p></span></b></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><span style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></b></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>CORRSIZE = 5; <o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><span style='mso-tab-count:1'>      </span>to: <o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>CORRSIZE = 15;<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-align:justify'><i
style='mso-bidi-font-style:normal'><span style='mso-ansi-language:EN-US'>(This
changes the size of the selected parts of the image which will be correlated
from 10x10 pixels to 30x30. Change this to smaller values if you experience
slow computational speed or if you use low resolution images. Remember that
markers need more than double the space from its centre to the edge of the
image, otherwise they cannot be tracked.)<o:p></o:p></span></i></p>

<p class=MsoNormal style='margin-left:.5in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify;text-indent:
-.25in;mso-list:l2 level1 lfo2;tab-stops:list .25in'><![if !supportLists]><span
style='mso-ansi-language:EN-US'><span style='mso-list:Ignore'>-<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><b style='mso-bidi-font-weight:normal'><span
style='mso-ansi-language:EN-US'>in line 134 and 135:<o:p></o:p></span></b></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>input_fractional_offset = xyinput(icp,:) -
round(xyinput(icp,:));<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>base_fractional_offset = xybase_in(icp,:) - round(xybase_in(icp,:));<span
style='mso-spacerun:yes'>    </span><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><span style='mso-tab-count:1'>      </span>to:<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>input_fractional_offset = xyinput(icp,:) -
round(xyinput(icp,:)*1000)/1000;<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>base_fractional_offset = xybase_in(icp,:) -
round(xybase_in(icp,:)*1000)/1000;<span style='mso-spacerun:yes'>    </span><o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-align:justify'><i
style='mso-bidi-font-style:normal'><span style='mso-ansi-language:EN-US'>(This
is changing the resolution of the marker positions to 1/1000<sup>th</sup>
pixel. If you need higher resolution just increase these values)<o:p></o:p></span></i></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<span style='font-size:12.0pt;font-family:"Times New Roman";mso-fareast-font-family:
"Times New Roman";mso-ansi-language:EN-US;mso-fareast-language:DE;mso-bidi-language:
AR-SA'><br clear=all style='page-break-before:always'>
</span>

<p class=MsoNormal style='text-align:justify'><span style='font-size:18.0pt;
mso-ansi-language:EN-US'>3. Good things to know about matlab:<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>The matlab help is extremely helpful and should be the very first location
you look in case of errors. If you never worked with matlab but would like to
check it out, the ‘Getting Started’ is a good point to start with. I started
there in summer 2005. <o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><span style='mso-ansi-language:EN-US'>TAB:<o:p></o:p></span></b></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>Pressing the TAB key on your keyboard after you started typing in a
command at the command line of matlab will show you all functions with the same
first letters.<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><span style='mso-ansi-language:EN-US'>Arrow up function:<o:p></o:p></span></b></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>Pressing the Arrow Up key on your keyboard after you started typing a
command will show the <b style='mso-bidi-font-weight:normal'>last </b>command
you started with the same first letters.<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><span style='mso-ansi-language:EN-US'>Current Folder:<o:p></o:p></span></b></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>The ‘Current Folder’ of matlab is the folder on your harddisk which is
currently selected to process data in matlab (close to the upper edge of the
matlab window). Functions like ‘automate_image.m’ require certain files to be
present in the ‘Current Folder’ otherwise they will produce an error (see
description later on). Pressing the little button on the right hand side with
the three little dots on it will let you select another folder. Another
possibility is to use the command window (see matlab help) or you can select
the current directory if it is activated under ‘View’ in that extra window.<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><span style='mso-ansi-language:EN-US'>Set semicolon:<o:p></o:p></span></b></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>Set the semicolon after calling a function (e.g. ‘automate_image;’),
otherwise all data which you get back from a called function will be plotted in
the command window.<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><span style='mso-ansi-language:EN-US'>Workspace:<o:p></o:p></span></b></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>The Workspace is the place where you can load all your data into.
Functions called by you will write their values into the workspace and scripts
will use the workspace all the time and leave a mess of variables in there. If
you do not know what is going on check out the ‘Getting Started’ paragraph in
the matlab help. <o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><span style='mso-ansi-language:EN-US'>How to load data?<o:p></o:p></span></b></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>If you have loaded data into the workspace (either by choosing ‘File’ </span><span
style='font-family:Wingdings;mso-ascii-font-family:"Times New Roman";
mso-hansi-font-family:"Times New Roman";mso-ansi-language:EN-US;mso-char-type:
symbol;mso-symbol-font-family:Wingdings'><span style='mso-char-type:symbol;
mso-symbol-font-family:Wingdings'>à</span></span><span style='mso-ansi-language:
EN-US'> ‘Open…’ and selected the data file you wanted to load or using the
command window e.g. by typing: ‘load('filenamelist')’ and filenamelist is
present in the Current Directory) the data will appear in the workspace window.<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><span style='mso-ansi-language:EN-US'>How to saved data from Workspace
to the hard disk?<o:p></o:p></span></b></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>If you want to save data from the workspace to the hard disk, right
click on it and select ‘Save Selection As…’. It will save the data with the
matlab file fomat. This data is only accessible by matlab. If you want to
process the data also with other programs you should consider to save the data
as ASCII file. Therefore type in the matlab console window ‘save('stress.txt','alltemp','-ASCII');’
to save the variable alltemp as text file<span style='mso-spacerun:yes'> 
</span>with the name ‘stress.txt’ to the ‘Current directory’.<span
style='mso-spacerun:yes'>  </span>If you want to open it with matlab or excel
you have to import the file. The delimiter is per default TAB but can also be
chosen to be comma or space (see matlab help).<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><span style='mso-ansi-language:EN-US'>How to give data in the workspace
to the functions?<o:p></o:p></span></b></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>If you type ‘displacement;’ into the command window of matlab, the
function will start and ask you for the needed files. Instead you can load the
data (e.g. validx.mat and validy.mat) into the workspace and then give it to
the displacement function by typing: ‘displacement(validx,validy);’. If have
not loaded validx.mat there will be an error message. <o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><span style='mso-ansi-language:EN-US'>How do I get the data from the
function into the workspace?<o:p></o:p></span></b></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>If you type ‘[validx,validy]=displacement;’ the variables validx and validy
will be created after running ‘displacement.m’. If you have manipulated validx
and validy (e.g. if you cleaned up the data set from miss-tracked markers) you should
save them.<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><span style='mso-ansi-language:EN-US'>Why are all images<span
style='mso-spacerun:yes'>  </span>opened in matlab mirrored to the horizontal center
axis of the image?</span></b><span style='mso-ansi-language:EN-US'><o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>Matlab reads in images like a diagram. Therefore pixel (1,1) is in the
lower left while image processing software starts at the upper left corner. <o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><span style='mso-ansi-language:EN-US'>How o stop a function in matlab?</span></b><span
style='mso-ansi-language:EN-US'><o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>To stop a function press the control key (‘Crtl’) together with ‘c’.<o:p></o:p></span></p>

<span style='font-size:12.0pt;font-family:"Times New Roman";mso-fareast-font-family:
"Times New Roman";mso-ansi-language:EN-US;mso-fareast-language:DE;mso-bidi-language:
AR-SA'><br clear=all style='page-break-before:always'>
</span>

<p class=MsoNormal style='text-align:justify'><span style='font-size:18.0pt;
mso-ansi-language:EN-US'>4. <u>Digital Image Correlation Quick Guide<o:p></o:p></u></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>This guide should help you to perform a simple and fast analysis of your
images. Before we start you should check your image format and the naming of
your files. The preferred image format is *.tif and can be compressed with the
packbits compression. JPEG or other image formats as well as MPEG video
compression formats will not provide you with sub pixel resolution since the
images are processed to save as much space as possible. <o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>The script we use to create a list of images to process
(filelist_generator.m) is kind of limited to a certain format but it is
possible to generate your own list of images. If you want to change the format
or the names of your images you can use free programs like Irfanview (<a
href="http://www.irfanview.com/">www.irfanview.com</a>) to batch process a huge
number of images.<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><i style='mso-bidi-font-style:
normal'><span style='font-size:16.0pt;mso-ansi-language:EN-US'>4 Steps to
Success:<o:p></o:p></span></i></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-align:justify;text-indent:-.25in;
mso-list:l0 level1 lfo1;tab-stops:list .5in'><![if !supportLists]><span
style='font-size:16.0pt;mso-ansi-language:EN-US'><span style='mso-list:Ignore'>1.<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><u><span
style='font-size:16.0pt;mso-ansi-language:EN-US'>Step: Filename list generation
with filelist_generator.m<o:p></o:p></span></u></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>Just type ‘filelist_generator;’ and press
‘ENTER’ at the command line of matlab. <o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>There are two ways to proceed now: Either you
choose to ‘manually’ type in the image numbers you want to be processed or you
can ‘automatically’ generate a list of images by just pointing out the first
image and the function will find all images with increasing number before the
point in the name (e.g. ‘PIC00001.Tif’). If you choose ‘manually’, the
following window should appear:<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal align=center style='margin-left:.25in;text-align:center'><span
style='mso-ansi-language:EN-US'><!--[if gte vml 1]><v:shapetype id="_x0000_t75"
 coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe"
 filled="f" stroked="f">
 <v:stroke joinstyle="miter"/>
 <v:formulas>
  <v:f eqn="if lineDrawn pixelLineWidth 0"/>
  <v:f eqn="sum @0 1 0"/>
  <v:f eqn="sum 0 0 @1"/>
  <v:f eqn="prod @2 1 2"/>
  <v:f eqn="prod @3 21600 pixelWidth"/>
  <v:f eqn="prod @3 21600 pixelHeight"/>
  <v:f eqn="sum @0 0 1"/>
  <v:f eqn="prod @6 1 2"/>
  <v:f eqn="prod @7 21600 pixelWidth"/>
  <v:f eqn="sum @8 21600 0"/>
  <v:f eqn="prod @7 21600 pixelHeight"/>
  <v:f eqn="sum @10 21600 0"/>
 </v:formulas>
 <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
 <o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="_x0000_i1025" type="#_x0000_t75" style='width:243pt;
 height:102.75pt'>
 <v:imagedata src="Correlation_Guide_2_files/image001.jpg" o:title="filelist_generator"
  cropbottom="43901f" cropright="27208f"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=324 height=137
src="Correlation_Guide_2_files/image002.jpg" v:shapes="_x0000_i1025"><![endif]><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>Fig. 1: Input of first and last image to create an image list with
filelist_generator.m<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>The numbers will be the number at the end of
each filename. After depositing these numbers in the dialog the next window
will ask for the first 4 letters of the filenames.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal align=center style='margin-left:.25in;text-align:center'><span
style='mso-ansi-language:EN-US'><!--[if gte vml 1]><v:shape id="_x0000_i1026"
 type="#_x0000_t75" style='width:243pt;height:1in'>
 <v:imagedata src="Correlation_Guide_2_files/image003.jpg" o:title="filelist_generator_2"
  cropbottom="50376f" cropright="27208f"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=324 height=96
src="Correlation_Guide_2_files/image004.jpg" v:shapes="_x0000_i1026"><![endif]><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>Fig. 2: Input for the first 4 letters in filelist_generator.m<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>The next step is to save the file name list
into the folder with the images to process. You should choose to use
‘filenamelist.mat’ since this is what the following scripts will search for. <o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal align=center style='margin-left:.25in;text-align:center'><span
style='mso-ansi-language:EN-US'><!--[if gte vml 1]><v:shape id="_x0000_i1027"
 type="#_x0000_t75" style='width:252pt;height:162pt'>
 <v:imagedata src="Correlation_Guide_2_files/image005.jpg" o:title="filelist_generator_3"
  cropbottom="31426f" cropright="25789f"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=336 height=216
src="Correlation_Guide_2_files/image006.jpg" v:shapes="_x0000_i1027"><![endif]><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>Fig. 3: Dialog to save the file name list into the folder with the
images to analyze.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-align:justify;text-indent:-.25in;
mso-list:l0 level1 lfo1;tab-stops:list .5in'><![if !supportLists]><span
style='font-size:16.0pt;mso-ansi-language:EN-US'><span style='mso-list:Ignore'>2.<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><u><span
style='font-size:16.0pt;mso-ansi-language:EN-US'>Grid generation with grid_generator.m
for correlation:<o:p></o:p></span></u></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>It has to be noted that the user can always
generate his own marker positions. Therefore the marker position in pixel has
to be saved as a text based format where the x-position is saved as
‘grid_x.dat’ and the y-position saved as ‘grid_y.dat’. <o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>To start just type ‘grid_generator;’ and press
‘ENTER’ at the command line of matlab. The following window should appear:<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal align=center style='margin-left:.25in;text-align:center'><span
style='mso-ansi-language:EN-US'><!--[if gte vml 1]><v:shape id="_x0000_i1028"
 type="#_x0000_t75" style='width:252pt;height:164.25pt'>
 <v:imagedata src="Correlation_Guide_2_files/image007.jpg" o:title="grid_generator_1"
  cropbottom="30952f" cropright="25789f"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=336 height=219
src="Correlation_Guide_2_files/image008.jpg" v:shapes="_x0000_i1028"><![endif]><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>Fig. 4: Dialog to open the first (base) image to generate a grid<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>In this dialog the first (base) image can be
selected in which the grid can be created. After selecting this base image, the
image will be opened and a new dialog pops up to ask you what kind of grid
should be used.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal align=center style='margin-left:.25in;text-align:center'><span
style='mso-ansi-language:EN-US'><!--[if gte vml 1]><v:shape id="_x0000_i1030"
 type="#_x0000_t75" style='width:279pt;height:135pt'>
 <v:imagedata src="Correlation_Guide_2_files/image009.jpg" o:title="grid_generator_3"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=372 height=180
src="Correlation_Guide_2_files/image010.jpg" v:shapes="_x0000_i1030"><![endif]><!--[if gte vml 1]><v:shape
 id="_x0000_i1031" type="#_x0000_t75" style='width:99pt;height:132.75pt'>
 <v:imagedata src="Correlation_Guide_2_files/image011.jpg" o:title="grid_generator_2"
  cropbottom="31426f" cropright="46490f"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=132 height=177
src="Correlation_Guide_2_files/image012.jpg" v:shapes="_x0000_i1031"><![endif]><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>Fig. 5: The opened base image and the menu to select the grid type.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>The different types are a rectangular or
circular grid, two markers, a line or two rectangles of markers. If you choose a
rectangular grid type, the pointer will change from an arrow to a horizontal
and a vertical line which will help you finding the right position. The idea is
to click on the two diagonal positions which will define the outer dimensions
of a box containing the grid.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal align=center style='margin-left:.25in;text-align:center'><span
style='mso-ansi-language:EN-US'><!--[if gte vml 1]><v:shape id="_x0000_i1029"
 type="#_x0000_t75" style='width:414.75pt;height:200.25pt'>
 <v:imagedata src="Correlation_Guide_2_files/image013.jpg" o:title="grid_generator_4"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=553 height=267
src="Correlation_Guide_2_files/image014.jpg" v:shapes="_x0000_i1029"><![endif]><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>Fig. 6: The horizontal and vertical lines allow an accurate positioning
of the grid.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>The selected box will be shown in the image and
a dialog will pop up to ask your for the input of a raster point distance in x
and y direction. <o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal align=center style='margin-left:.25in;text-align:center'><span
style='mso-ansi-language:EN-US'><!--[if gte vml 1]><v:shape id="_x0000_i1032"
 type="#_x0000_t75" style='width:243pt;height:99pt'>
 <v:imagedata src="Correlation_Guide_2_files/image015.jpg" o:title="grid_generator_5"
  cropbottom="44691f" cropright="27208f"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=324 height=132
src="Correlation_Guide_2_files/image016.jpg" v:shapes="_x0000_i1032"><![endif]><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>Fig. 7: Horizontal (x-direction) and vertical (y-direction) grid
resolution with a default resolution of 50 pixel distance between raster points.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>The code will now generate the chosen grid and will
plot it on top of the sample image. The last dialogue will ask you if you want
to use the generated grid and save the grid_x.dat and grid_y.dat to be
processed, if you want to try again or if you want to choose another grid type.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal align=center style='margin-left:.25in;text-align:center'><span
style='mso-ansi-language:EN-US'><!--[if gte vml 1]><v:shape id="_x0000_i1033"
 type="#_x0000_t75" style='width:117pt;height:97.5pt'>
 <v:imagedata src="Correlation_Guide_2_files/image017.jpg" o:title="grid_generator_7"
  cropbottom="45007f" cropright="47082f"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=156 height=130
src="Correlation_Guide_2_files/image018.jpg" v:shapes="_x0000_i1033"><![endif]><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>Fig. 8: The last menu will allow you to accept the grid (which will be
saved), try again or choose another grid type.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-align:justify;text-indent:-.25in;
mso-list:l0 level1 lfo1;tab-stops:list .5in'><![if !supportLists]><span
style='font-size:16.0pt;mso-ansi-language:EN-US'><span style='mso-list:Ignore'>3.<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><u><span
style='font-size:16.0pt;mso-ansi-language:EN-US'>Run correlation with automate_image.m:<o:p></o:p></span></u></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>The automation function is the central function
and processes all markers and images. Therefore the ‘Current directory’ in
matlab has to be the folder where automate_image.m finds the filenamelist.mat,
grid_x.dat and grid_y.dat as well as the images specified in ‘filenamelist.mat’.
Just type ‘automate_image;’ and press ‘ENTER’ at the command line of matlab. <o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>At first, automate_image.m will open the first
image in the filenamelist.mat and plot the grid as green crosses on top. The
next step will need some time since all markers in that image have to be
processed for the first image. After correlating image one and two the new
raster positions will be plotted as red crosses. On top of the image and the
green crosses. The next dialog will ask you if you want to continue with this
correlation or cancel. If you press continue, ‘automate_image.m’ will process
all images in the ‘filenamelist.mat’. The time it will take to process all
images will be plotted on the figure but can easily be estimated by knowing the
raster point processing speed (see processing speed). <o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>Depending on the number of images and markers
you are tracking, this process can take between seconds and days. For 100
images and 200 markers a decent computer should need 200 seconds. To get a
better resolution you can always run jobs overnight (e.g. 6000 markers in 1000
images) with higher resolutions. <o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>Keep in mind that ‘CORRSIZE’ which you changed
in ‘cpcorr.m’ will limit your resolution. If you chose to use the 15 pixel as
suggested a marker distance of 30 pixel will lead to a full cover of the strain
field. Choosing smaller marker distances will lead to an interpolation since
two neighboring markers share pixels. Nevertheless a higher marker density can
reduce the noise of the strain field.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>When all images are processed, automate_image
will write the files validx.mat, validy.mat, validx.txt and validy.txt. The
text files are meant to store the result in a format which can be accessed by
other programs also in the future. <o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>To stop automate_image use the key combination
‘<i style='mso-bidi-font-style:normal'>Ctrl</i> c’. <o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>In case of a crashes, errors generating the
right filenamelist or the interruption of the correlation process by the user,
the function ‘recover_correlation.m’ can be called which extracts the last
marker positions sets up ‘automate_image.m’ and continues at the last image.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-align:justify;text-indent:-.25in;
mso-list:l0 level1 lfo1;tab-stops:list .5in'><![if !supportLists]><span
style='font-size:16.0pt;mso-ansi-language:EN-US'><span style='mso-list:Ignore'>4.<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><u><span
style='font-size:16.0pt;mso-ansi-language:EN-US'>Analyze the displacement with
displacement.m:<o:p></o:p></span></u></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>As last part, the post processing is the most
interesting and awarding step since you actually can analyze the collected
displacement data. The displacement.m function is a small collection of
functions which allows you to review the displacement field, calculate the
strain or delete markers which were not correlated or tracked very well. <o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>To start, type into the command window
‘displacement;’ or ‘[validx,validy]=displacement;’ in case you want to save the
changed files (validx and validy) from the workspace (see chapter 3). A window
will pop up asking you for the validx.dat file which contains the
x-displacement off all markers in all images, followed by a dialog for the
validy.dat containing the y data. After ‘displacement.m’ has loaded both files,
a new window pops up which allows you to choose between different options.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal align=center style='margin-left:.25in;text-align:center'><span
style='mso-ansi-language:EN-US'><!--[if gte vml 1]><v:shape id="_x0000_i1034"
 type="#_x0000_t75" style='width:179.25pt;height:241.5pt'>
 <v:imagedata src="Correlation_Guide_2_files/image019.jpg" o:title="displacement_1"
  cropbottom="14666f" cropright="37262f"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=239 height=322
src="Correlation_Guide_2_files/image020.jpg" v:shapes="_x0000_i1034"><![endif]><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>Fig. 9: The displacement.m function allows cleaning up the data set
selecting parts of it plot the displacement or measure the strain in x- and y-direction.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>For a typical analysis you always have to
delete some of the markers with did not all too well during the correlation or
peak fitting step. This can happen e.g. due to marker movement during the test,
changing light conditions or in case of the correlation technique due to the
fact that the sample surface did not provide enough characteristics. <o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>We start with clicking on the <b
style='mso-bidi-font-weight:normal'>‘3D Mesh Plot of Displacement’</b> button which
will bring up a new window and a dialog asking if you want to create a video. Clicking
on ‘yes’ will create a new folder called video and the 3D displacement plot of
each image will be saved as *.jpg. The click on the no button will just start
the 3D displacement plot. This part of the ‘displacement.m’ allows you to watch
displacement (z-axis) versus location (x- and y-axis) for all images. To get a
better 3-dimensional understanding all markers are projected as green dots on
the plane normal to the y axis. The Image number will be shown in the plot. It
has to be noted that the orientation of the strain depends on the orientation
of the image during the correlation process. The x-axis in the plot is the
horizontal direction in the image and the y-direction the perpendicular
direction. The plotted displacement on the z-axis is always the x-displacement
of the data contained in validx.mat and validy.mat. To look at the y
displacement the user has to wait for all images to be plotted and then after
the displacement-dialog appears again, click the button ‘<b style='mso-bidi-font-weight:
normal'>Rotate Orientation (exchange x and y)</b>’. This will exchange validx
and validy and clicking again on the <b style='mso-bidi-font-weight:normal'>‘3D
Mesh Plot of Displacement’ </b>button will now show the displacement in the y-direction.
The user has to keep track of this change since it will affect all plotting and
strain measurement steps lying ahead during the same ‘displacement.m’ session. <o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal align=center style='margin-left:.25in;text-align:center'><span
style='mso-ansi-language:EN-US'><!--[if gte vml 1]><v:shape id="_x0000_i1035"
 type="#_x0000_t75" style='width:342pt;height:303.75pt'>
 <v:imagedata src="Correlation_Guide_2_files/image021.jpg" o:title="displacement_2"
  cropbottom="1547f" cropright="11695f"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=456 height=405
src="Correlation_Guide_2_files/image022.jpg" v:shapes="_x0000_i1035"><![endif]><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>Fig. 10: 3D Displacement versus x- and y-position. The orientation of
the x-axis is the horizontal in the analyzed image and the y-axis is the
vertical. The displacement is always the x-diplacement until you exchange
validx and validy with the ‘<b style='mso-bidi-font-weight:normal'>Rotate
Orientation (exchange x and y)</b>’ button.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>The next step is to get rid of badly tracked
markers. This can be done in three different ways:<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-align:justify;text-indent:-.25in;
mso-list:l2 level1 lfo2;tab-stops:list .5in'><![if !supportLists]><span
style='mso-ansi-language:EN-US'><span style='mso-list:Ignore'>-<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='mso-ansi-language:EN-US'>delete
single markers, click ‘<b style='mso-bidi-font-weight:normal'>Remove badly
tracked marker, one by one (Position)</b>’<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-align:justify;text-indent:-.25in;
mso-list:l2 level1 lfo2;tab-stops:list .5in'><![if !supportLists]><span
style='mso-ansi-language:EN-US'><span style='mso-list:Ignore'>-<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='mso-ansi-language:EN-US'>delete a
bunch of markers at once, click ‘<b style='mso-bidi-font-weight:normal'>Delete
multiple markers (Position)</b>’ <o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-align:justify;text-indent:-.25in;
mso-list:l2 level1 lfo2;tab-stops:list .5in'><![if !supportLists]><span
style='mso-ansi-language:EN-US'><span style='mso-list:Ignore'>-<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='mso-ansi-language:EN-US'>delete a
bunch of markers from the displacement versus x position plot, click ’<b
style='mso-bidi-font-weight:normal'>Delete markers from displacement vs.
position plot</b>’.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>The first two will provide you with a top down
view with x- and y axis being the horizontal and vertical direction in the
analyzed image and the displacement is expressed as underlying colors. The third
option will show the projected markers which allows you to sometimes more easily
access the peaks. You have to play around with these two different views and
rotate the orientation back and forth while you are checking through the images
until you get a clean data set. This requires some practice, therefore take
your time and analyze the data carefully before you really delete a bunch of
markers.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>‘<b style='mso-bidi-font-weight:normal'>Remove
badly tracked marker, one by one (Position)</b>’ will allow you to click on
markers which are not at the right place. The marker with the highest
displacement value will be a red dot while the marker with the lowest
displacement will be a blue dot. By clicking close to one of the markers the
plot will be updated to the new displacement field and the color code will be
updated to the new highest and lowest displacement value.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>‘<b style='mso-bidi-font-weight:normal'>Delete
multiple markers (Position)</b>’ will allow you to choose a rectangle and all
markers in it will be deleted.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>The same applies to the ’<b style='mso-bidi-font-weight:
normal'>Delete markers from displacement vs. position plot</b>’, it is just a
different view of the markers.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>After cleaning up the data set and if you have
started the ‘displacement.m’ file with ‘[validx,validy]=displacement;’, you
will find validx and validy as variables in the workspace. Right-click on them
and save the selection with a different name than validx.mat and validy.mat and
nect time you open up ‘displacement.m’ choose them. <o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>After cleaning up and saving the data you will
want to measure strain. Here also two ways you can choose. The first one is
straight forward by just clicking on either ‘<b style='mso-bidi-font-weight:
normal'>Strain Measurement between 2 Points</b>’ which will let you choose two
points or ‘<b style='mso-bidi-font-weight:normal'>1D Average Strain Measurement</b>’
which will use all points available. The second one is to select markers with ‘<b
style='mso-bidi-font-weight:normal'>Select Markers to Analyze</b>’ from a
certain location and then jump back to the ‘displacement.m’ and then calculate
the strain. Again it is important to keep track of all ‘<b style='mso-bidi-font-weight:
normal'>Rotate Orientation</b>’ operations since you will analyze in both cases
the x-displacement versus the x-position. In case the data was not rotated, the
strain in horizontal direction in the image will be measured. <o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>After clicking on ‘<b style='mso-bidi-font-weight:
normal'>Strain Measurement between 2 Points</b>’ you will have to choose two
points. The function will find the closest two points to where you clicked and
plot the strain versus image number.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>If you are not happy with the result you can
still choose two other markers by clicking ‘Yes’ in the next dialog. If you
stick with these markers, you can either save the result as a text file (‘image_1Dstrain.txt‘)
or just go back to the ‘displacement.m’ dialog. Make sure you change the filename
in the explorer before you run this code another time since it will just
overwrite it.<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal align=center style='margin-left:.25in;text-align:center'><span
style='mso-ansi-language:EN-US'><!--[if gte vml 1]><v:shape id="_x0000_i1036"
 type="#_x0000_t75" style='width:331.5pt;height:302.25pt'>
 <v:imagedata src="Correlation_Guide_2_files/image023.jpg" o:title="displacement_3"
  cropright="11695f"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=442 height=403
src="Correlation_Guide_2_files/image024.jpg" v:shapes="_x0000_i1036"><![endif]><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>Fig. 11: From this window two points can be picked which will be used to
measure the strain<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal align=center style='margin-left:.25in;text-align:center'><span
style='mso-ansi-language:EN-US'><!--[if gte vml 1]><v:shape id="_x0000_i1037"
 type="#_x0000_t75" style='width:331.5pt;height:296.25pt'>
 <v:imagedata src="Correlation_Guide_2_files/image025.jpg" o:title="displacement_4"
  cropbottom="1147f" cropright="11695f"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=442 height=395
src="Correlation_Guide_2_files/image026.jpg" v:shapes="_x0000_i1037"><![endif]><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>Fig. 12: Strain versus image number<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>After clicking on the ‘<b style='mso-bidi-font-weight:
normal'>1D Average Strain Measurement</b>’ button, the x-displacement versus
x-direction will be plotted for each image and then fitted by a linear
function. The slope is the true strain which will be plotted versus the image
number after all images are processed. If you choose to save the strain versus
image number you will be asked where you want to save the data as an ASCII file
which can be opened with matlab, excel or just the notepad.<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal align=center style='text-align:center'><span
style='mso-ansi-language:EN-US'><!--[if gte vml 1]><v:shape id="_x0000_i1038"
 type="#_x0000_t75" style='width:342pt;height:306pt'>
 <v:imagedata src="Correlation_Guide_2_files/image027.jpg" o:title="displacement_5"
  cropbottom="1147f" cropright="11624f"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=456 height=408
src="Correlation_Guide_2_files/image028.jpg" v:shapes="_x0000_i1038"><![endif]><o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>Fig. 13: The slope of the linear fit of the displacement versus position
allows to plot the true strain versus image number.<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>If you want to analyze a special part of your
sample it is best to use the ‘<b style='mso-bidi-font-weight:normal'>Select
Markers to Analyze</b>’ button in the ‘displacement.m’ menu. The menu which
will pop up allows you to choose between different types of grids.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>After you have chosen the markers you want to
process, run ‘<b style='mso-bidi-font-weight:normal'>1D Average Strain
Measurement</b>’ to get the strain from these markers. Clicking the ‘<b
style='mso-bidi-font-weight:normal'>Rotate Orientation (exchange x and y)</b>’
button and running the strain analysis again will give you the strain in the
perpendicular direction.<o:p></o:p></span></p>

<span style='font-size:12.0pt;font-family:"Times New Roman";mso-fareast-font-family:
"Times New Roman";mso-ansi-language:EN-US;mso-fareast-language:DE;mso-bidi-language:
AR-SA'><br clear=all style='page-break-before:always'>
</span>

<p class=MsoNormal style='text-align:justify'><span style='font-size:18.0pt;
mso-ansi-language:EN-US'>5. <u>Digital Image Tracking Quick Guide</u> <o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>This guide should help you to perform a simple and fast analysis of your
images. Before we start you should check your image format and the naming of
your files. The preferred image format is *.tif and can be compressed with the
packbits compression. JPEG or other image formats as well as MPEG video
compression formats will not provide you with sub pixel resolution since the
images are processed to save as much space as possible. The script we use to
create a list of images to process (filelist_generator.m) is kind of limited to
a certain format but it is possible to generate your own list of images which
will be explained later. If you want to change the format or the names of your
images you can use free programs like Irfanview (<a
href="http://www.irfanview.com/">www.irfanview.com</a>) to batch process a huge
number of images.<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><i style='mso-bidi-font-style:
normal'><span style='font-size:16.0pt;mso-ansi-language:EN-US'>4 Steps to
Success:<o:p></o:p></span></i></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='font-size:16.0pt;mso-ansi-language:EN-US'>1. <u>Step: Filename list
generation with filelist_generator.m<o:p></o:p></u></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>Just type ‘filelist_generator;’ and press
‘ENTER’ at the command line of matlab. The following window should appear:<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal align=center style='margin-left:.25in;text-align:center'><span
style='mso-ansi-language:EN-US'><!--[if gte vml 1]><v:shape id="_x0000_i1039"
 type="#_x0000_t75" style='width:243pt;height:102.75pt'>
 <v:imagedata src="Correlation_Guide_2_files/image001.jpg" o:title="filelist_generator"
  cropbottom="43901f" cropright="27208f"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=324 height=137
src="Correlation_Guide_2_files/image002.jpg" v:shapes="_x0000_i1039"><![endif]><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>Fig. 1: Input of first and last image to create an image list with
filelist_generator.m<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>The numbers will be the number at the end of
each filename. After depositing these numbers in the dialog the next window
will ask for the first 4 letters of the filenames.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal align=center style='margin-left:.25in;text-align:center'><span
style='mso-ansi-language:EN-US'><!--[if gte vml 1]><v:shape id="_x0000_i1040"
 type="#_x0000_t75" style='width:243pt;height:1in'>
 <v:imagedata src="Correlation_Guide_2_files/image003.jpg" o:title="filelist_generator_2"
  cropbottom="50376f" cropright="27208f"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=324 height=96
src="Correlation_Guide_2_files/image004.jpg" v:shapes="_x0000_i1040"><![endif]><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>Fig. 2: Input for the first 4 letters in filelist_generator.m<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>The next step is to save the file name list
into the folder with the images to process.<o:p></o:p></span></p>

<p class=MsoNormal align=center style='margin-left:.25in;text-align:center'><span
style='mso-ansi-language:EN-US'><!--[if gte vml 1]><v:shape id="_x0000_i1041"
 type="#_x0000_t75" style='width:252pt;height:162pt'>
 <v:imagedata src="Correlation_Guide_2_files/image005.jpg" o:title="filelist_generator_3"
  cropbottom="31426f" cropright="25789f"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=336 height=216
src="Correlation_Guide_2_files/image006.jpg" v:shapes="_x0000_i1041"><![endif]><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>Fig. 3: Dialog to save the file name list into the folder with the
images to analyze.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-align:justify;text-indent:-.25in;
mso-list:l3 level1 lfo4;tab-stops:list .5in'><![if !supportLists]><span
style='font-size:16.0pt;mso-ansi-language:EN-US'><span style='mso-list:Ignore'>2.<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><u><span
style='font-size:16.0pt;mso-ansi-language:EN-US'>Run tracking with peak_labelling.m,
pickpeak.m and strain_lineprofile.m:<o:p></o:p></span></u></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><b
style='mso-bidi-font-weight:normal'><span style='mso-ansi-language:EN-US'>‘peak_labelling.m’<o:p></o:p></span></b></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>If you trust the automatic peak labeling, you
can use ‘peak_labelling.m’. Type ‘[validx,validy]=peaklabelling;’ It will scan
your image and subtract the hopefully dark background and identify maxima with
a value higher then a certain grey value. It will ask you for an image (the
base image) which will be used to identify the peaks and run a first fit
through all of them.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal align=center style='margin-left:.25in;text-align:center'><span
style='mso-ansi-language:EN-US'><!--[if gte vml 1]><v:shape id="_x0000_i1042"
 type="#_x0000_t75" style='width:252pt;height:164.25pt'>
 <v:imagedata src="Correlation_Guide_2_files/image007.jpg" o:title="grid_generator_1"
  cropbottom="30952f" cropright="25789f"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=336 height=219
src="Correlation_Guide_2_files/image008.jpg" v:shapes="_x0000_i1042"><![endif]><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>Fig. : Open the first image for automatic peak
identification.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>After opening the first image ‘peak_labelling’
will plot the image as intensity plot where blue is low and red is high
intensity. You will be asked to draw a box in which ‘peak_labelling’ will check
for peaks. After selecting the area, it will take some time to process. After
identifying the peaks ‘peak labeling will automatically start to fit all peaks
and plot the residuals of all peaks. Minimizing the matlab console window will
increase processing speed. The title in the figure will indicate the status of
the processing and the estimated time it will take.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal align=center style='margin-left:.25in;text-align:center'><span
style='mso-ansi-language:EN-US'><!--[if gte vml 1]><v:shape id="_x0000_i1043"
 type="#_x0000_t75" style='width:342pt;height:306pt'>
 <v:imagedata src="Correlation_Guide_2_files/image029.jpg" o:title="peaklabelling01"
  cropbottom="1188f" cropright="11589f"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=456 height=408
src="Correlation_Guide_2_files/image030.jpg" v:shapes="_x0000_i1043"><![endif]><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>Fig. : Select an area to find peaks.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>At the end of the processing, all relevant
files (‘fitxy.dat’ contains the fitting parameters for each point,
‘validx.dat/.mat’ contains the x-position of each peak, and ‘validy.dat/.mat’
contains the y-position of each peak) will be saved in the current folder. One
relevant parameter is not directly accessible since this approach is trying to
automate the whole processing step but can be changed in the ‘peak_labelling.m’
file. <span style='mso-spacerun:yes'> </span>It can be found in
‘peak_labelling.m’ in line 182 and 183 where the residuals of the fits in x and
y directions are validated to guarantee a flawless processing. If a fit does
not work at all, the function will crash. To prevent this I let the function
decide very early which peak is good or bad. Only the fits with a low residual
will be used. Therefore you should make sure you do not use too high values
here. You will also find a similar value in the function ‘sortvalidpoints.m’
which is called by ‘peak_labelling.m’ at the end of the processing to create
‘validx’ and ‘validy’. You have to change this value in line 39 too, otherwise
the peaks will be deleted at the end. Since the input file fitxy.dat is saved
before these points are deleted, you can still play around with this value and
see how it affects your resulting validx and validy.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><b
style='mso-bidi-font-weight:normal'><span style='mso-ansi-language:EN-US'>‘pickpeak.m’</span></b><span
style='mso-ansi-language:EN-US'><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>After starting the function by typing at the
console ‘pickpeak;’, the function will ask you for the first image and then
will need to know how many peaks you want to identify.<o:p></o:p></span></p>

<p class=MsoNormal align=center style='margin-left:.25in;text-align:center'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal align=center style='margin-left:.25in;text-align:center'><span
style='mso-ansi-language:EN-US'><!--[if gte vml 1]><v:shape id="_x0000_i1045"
 type="#_x0000_t75" style='width:242.25pt;height:1in'>
 <v:imagedata src="Correlation_Guide_2_files/image031.jpg" o:title="pickpeak01"
  cropbottom="50395f" cropright="27230f"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=323 height=96
src="Correlation_Guide_2_files/image032.jpg" v:shapes="_x0000_i1045"><![endif]><o:p></o:p></span></p>

<p class=MsoNormal align=center style='margin-left:.25in;text-align:center'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in'><span style='mso-ansi-language:
EN-US'>Fig. : How many peaks do you want to identify for tracking by
‘pickpeak.m’?<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>After you typed in a number (e.g. 20), the
function will present you the selected image and you can click boxes around the
peaks you want to track. For each peak you have to define a box by clicking on
the lower left and the upper right of each peak. The center of each box will be
highlighted by a blue circle. It is very important that you choose a box which
is wide enough for the curve fitting to get enough data points. But if you
choose too big boxes you will trap several peaks in them and the residual of
the fit will be high which the software will interpret as bad fit. A box size
of 2-4 times of the visible peaks seems to be a good idea. Also it is better to
choose round shaped peaks since this provides a better greyscale profile if you
choose to use a gauss function for the fitting process. <o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>After you picked all peaks, the software will
fit all peaks which will be displayed in a small window and after the first
image processed you will only see the actual image and with blue circles on top
indicating the peaks which are still in the fitting process. Vanishing circles
indicate that the peak could not be fitted any more.<span
style='mso-spacerun:yes'>  </span>The title in this window will tell you the
approximated total processing time and how much percent of the images are
processed. <o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>After all images are processed, the data will
be saved the same way as in the ‘peak_labelling.m’ function. <o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><b
style='mso-bidi-font-weight:normal'><span style='mso-ansi-language:EN-US'>‘strain_lineprofile.m’<o:p></o:p></span></b></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>This function will track two greyscale maxima
in a line profile which you can choose from an image. After opening the first
image, the software will let you to choose a horizontal line at a vertical
position in the image. The next dialog will ask you which integration width (in
vertical, y-direct) you want to use. Default is 40 but you should keep in mind
that it should be either much wider or much narrower than your markers. If you
choose the same width and the markers are drifting in y direction the peaks in
the greyscale profile will change which will translate as error into your
strain analysis. <o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>The calculated greyscale profile will then be
plotted and you can choose two peaks. The first click should be located on the
horizontal level of the background and the vertical position of the first peak
and the second click should be placed at the horizontal level of the average
peak amplitude of the two chosen peaks and the vertical position of the second
peak. After the second click, the function will fit two gauss functions to the
greyscale profile and plot a red fitting function on top of the data while
processing all images. The peak positions will be saved in the file
‘raw_peak_results.dat’ and the strain as strain_x.dat as well as a two column
file with the image number in the first column and the strain in the second
column. All files are tab delimited ASCII format and can be opened e.g. with
excel. You cannot use ‘displacement.m’ for the strain analysis since this data
is only 1D with 2 points.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><!--[if gte vml 1]><v:shape id="_x0000_i1044"
 type="#_x0000_t75" style='width:414.75pt;height:345pt'>
 <v:imagedata src="Correlation_Guide_2_files/image033.jpg" o:title="line_profile"
  cropbottom="1593f"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=553 height=460
src="Correlation_Guide_2_files/image034.jpg" v:shapes="_x0000_i1044"><![endif]><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>Fig. : Greyscale lineprofile, ready to pick two
peaks.<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.5in;text-align:justify;text-indent:-.25in;
mso-list:l3 level1 lfo4;tab-stops:list .5in'><![if !supportLists]><span
style='font-size:16.0pt;mso-ansi-language:EN-US'><span style='mso-list:Ignore'>3.<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><u><span
style='font-size:16.0pt;mso-ansi-language:EN-US'>Run displacement.m:<o:p></o:p></span></u></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:.25in;text-align:justify'><span
style='mso-ansi-language:EN-US'>Please check step 4 in ‘4. <u>Digital Image
Correlation Quick Guide</u>’.<o:p></o:p></span></p>

<span style='font-size:18.0pt;font-family:"Times New Roman";mso-fareast-font-family:
"Times New Roman";mso-ansi-language:EN-US;mso-fareast-language:DE;mso-bidi-language:
AR-SA'><br clear=all style='page-break-before:always'>
</span>

<p class=MsoNormal style='text-align:justify'><span style='font-size:18.0pt;
mso-ansi-language:EN-US'>6. Extra scripts and information you might find useful<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><span style='mso-ansi-language:EN-US'>‘stress_strainmatch.m’</span></b><span
style='mso-ansi-language:EN-US'>:<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>Matching stress and strain can become a pain if they were captured with
different programs and/or computers, which can be the case if the strain is
captured with a camera. This little script can read in stress and strain files
(as long as they are ASCII files) and match the two together. It needs the ‘time_image.txt’
which is created by the ‘filelist_generator.m’, the strain file and the stress
file. You have to choose which column is stress and strain in each file. After
it has loaded all the files the script will ask you for the time between
starting the stress measurement and the first image file. The stress versus
image plot shows you immediately if the chosen value makes sense and the file ‘stress_image_x.txt’
will be written to the ‘Current Folder’ on the hard disk.<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><span style='mso-ansi-language:EN-US'>‘Markerplotting.m’</span></b><span
style='mso-ansi-language:EN-US'>:<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>This script will plot the markers as small dots onto the analyzed
images. You have to provide validx.m, validy.m, filenamelist and the images in the
‘Current Folder’. After staring the script you will be asked if you want to
create a video or not. If you click ‘yes’ a folder ‘Video_Markers’ will be
created and each frame captured as a *.jpg file.<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><span style='mso-ansi-language:EN-US'>‘resume_automate_image.m’:<o:p></o:p></span></b></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>This function allows you to resume automate_image jobs after they were
stopped by the user or out of other reasons (windows decided that it is more
important to install an update than running the job…). You need
‘resultsimcorrx.txt’ and ‘resultsimcorrx.txt’ as well as ‘grid_x.dat’ and
‘grid_y.dat’ and ‘filenamelist’ in the same folder as your images you want to
continue to process. Your Current Directory should be the same. You can start
the function for example by typing ‘[validx, validy]=resume_automate_image;’ at
the command line of matlab and then press ENTER. <o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><span style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></b></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><span style='mso-ansi-language:EN-US'>‘jobskript.m’</span></b><span
style='mso-ansi-language:EN-US'><o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>This script allows you to create a list of automate_image jobs and
executes them by the use of the automate_image function. It combines the first
3 steps of the Correlation quick guide described in chapter 4. The script calls
first the ‘filelist_generator’ and let you store the created file list in the folder
with the images. After that the script calls the ‘grid_generator’ and stores
‘grid_x.dat’ and ‘grid_y.dat’ in the same folder. You can then store the job
folder by clicking on the ‘Save’ button and then proceed either with the job or
create another one. You can also load stored jobs at the beginning. If you
decide not to add any more jobs (click ‘No’) the script will give the folders
one by one to ‘automate_image.m’.<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><span style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></b></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><span style='mso-ansi-language:EN-US'>‘RTCorrCode.m’<o:p></o:p></span></b></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>This function allows to process images and calculate x- and y-strain
while you take them by dynamically generating a filenamelist and reading in the
files. For real time image correlation you have to find out by try and error
how many markers your computer can process per second. This depends on image
file size, Corrsize (which you can change in ‘cpcorr.m’) and on the speed of
your computer and how many other things it has to do besides the processing of
images. <o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>You can use a dedicated machine by getting your image files through a
network connection and give back the strain as a voltage by a data acquisition
board to the measurement computer. <o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>You can either choose to let the computer stop the processing if the
next image cannot be found or by the existence of a file ‘end.txt’ in the same
directory as the image files.<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>To start the function you can type [validx,validy]=RTCorrCode; and then
press ENTER. First you will be asked if you want to stop processing if the
function cannot find a consecutively numbered image or in case the function
finds ‘end.txt’ in the ‘Current Folder’. If you want to use RTCorrCode just to
process your images you can click ‘Stop with image check’ and the function will
process all images in your folder with consecutive numbers in the image file
name before the point (e.g. PIC00300.Tif). If you want to process the images on
the fly you should click on ‘Stop with end.txt’. The function will then process
all images and wait for the next one to process until a file ‘end.txt’ exists
in the folder. To stop the function just create a text file with that name in
the folder. After choosing the mode, the following dialog will ask you for the
first image to process which you have to select.<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal align=center style='text-align:center'><span
style='mso-ansi-language:EN-US'><!--[if gte vml 1]><v:shape id="_x0000_i1046"
 type="#_x0000_t75" style='width:252pt;height:164.25pt'>
 <v:imagedata src="Correlation_Guide_2_files/image007.jpg" o:title="grid_generator_1"
  cropbottom="30952f" cropright="25789f"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=336 height=219
src="Correlation_Guide_2_files/image035.jpg" v:shapes="_x0000_i1046"><![endif]><o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>Fig. Open the first image for RTCorrCode.<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><span style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></b></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>The file you select here will be used to calculate all consecutive file
names to process all the images in the folder. If there is file missing the
code will not proceed. <o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>After selecting the first image, RTCorrCode will call the ‘grid_generator.m’
and allow you to choose a grid (see Chapt. 4 for grid_generator.m).
Alternatively you can preselect a grid and hand it over to the function by
starting it with ‘[validx,validy]=RTCorrCode(grid_x, grid_y);’. This can be
handy if you always run the same samples with the same grid on it. Otherwise
you can now select the grid and the function will process the first image and
show a rough estimate of the frames per seconds your computer will be able to
process. If you select the chosen grid, the function will now search for the
next image and correlate it. After correlating the second image RTCorrCode will
show a window with 4 subplots. The one in the upper left corner shows the
actual image and the red crosses are the equivalent of the marker positions.
The upper right diagram shows the displacement vs. marker position and the
linear fit in x-direction while the lower right diagram shows the same in
y-direction. Last but not least, the lower left subplot shows the x- and
y-strain versus image number, where blue is x- and green is y-direction.<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>RTCorrCode will leave the following files in the Current Folder:
grid_x.dat, grid_y.dat (saved by grid_generator), resultsimcorrx.txt and
resultsimcorry.txt (which are saved after each processed image) and validx.dat
and validy.dat (after RTCorrCode.m stopped).<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><!--[if gte vml 1]><v:shape id="_x0000_i1047" type="#_x0000_t75"
 style='width:414.75pt;height:303pt'>
 <v:imagedata src="Correlation_Guide_2_files/image036.jpg" o:title="RTCorrCode"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=553 height=404
src="Correlation_Guide_2_files/image037.jpg" v:shapes="_x0000_i1047"><![endif]><o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><span style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></b></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>Fig. RTCorrCode will show a window with 4 subplots. The one in the upper
left corner shows the actual image and the red crosses are the equivalent of
the marker positions. The upper right diagram shows the displacement vs. marker
position and the linear fit in x-direction while the lower right diagram shows
the same in y-direction. Last but not least, the lower left subplot shows the
x- and y-strain versus image number, where blue is x- and green is y-direction.<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><span style='mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></b></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><span style='mso-ansi-language:EN-US'>Input and output files:<o:p></o:p></span></b></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><span style='mso-ansi-language:EN-US'>Image files</span></b><span
style='mso-ansi-language:EN-US'> should be 8 bit greyscale Tiff (*.tif) images
and should be named with a increasing number at the end. <o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>If you want to use ‘filelist_generator.m’, the filename should be
something like ‘PIC0’ or<span style='mso-spacerun:yes'>  </span>‘PIC1’ plus the
number at the end scaling from ‘0001’ to<span style='mso-spacerun:yes'> 
</span>‘9999’. The full name would be for the first file ‘PIC10001.tif’. If you
need to process more than 9999 image then you have to modify
‘filelist_generator.m’ or write an email to us. The <b style='mso-bidi-font-weight:
normal'>‘filenamelist.mat’</b> is a matlab file since it was easier to combine
text and numbers into one file by just saving it in this format. <o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><span style='mso-ansi-language:EN-US'>‘time_image.txt’</span></b><span
style='mso-ansi-language:EN-US'> contains the time the image was captured.
Please keep in mind that using other software to change the name or the format
after capturing the images can lead to a change of the date and capturing time
of the images. It happens that the software will change the name of the images
and the new creation date and time of each image will be the time it was
renamed. Programs like Irfanview have the option to preserve the original time
of the images. This option has to be checked to make sure you can match stress
and strain at the end of your analysis.<o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><span style='mso-ansi-language:EN-US'>‘grid_x.dat’</span></b><span
style='mso-ansi-language:EN-US'> and <b style='mso-bidi-font-weight:normal'>‘grid_y.dat’</b>
are the files containing the x- and y-pixel position of the starting grid
created by the ‘grid_generator.m’ function. If you want to create your own
grids, you can do that with excel and save them as tab delimited ASCII files.
Both files can be organized as column vectors or matrices, as long as they are
equal. <o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><span style='mso-ansi-language:EN-US'>‘validx.dat’</span></b><span
style='mso-ansi-language:EN-US'> and <b style='mso-bidi-font-weight:normal'>‘vaildy.dat’</b>
are both ASCII formatted tab delimited files which contain in columns the
position of each marker for each image. <o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><b style='mso-bidi-font-weight:
normal'><span style='mso-ansi-language:EN-US'>‘fitxy.dat’</span></b><span
style='mso-ansi-language:EN-US'> will be only saved if you use
‘peak_labelling.m’ or ‘pickpeak.m’ and contains all fitting parameters for each
peak. <o:p></o:p></span></p>

<span style='font-size:12.0pt;font-family:"Times New Roman";mso-fareast-font-family:
"Times New Roman";mso-ansi-language:EN-US;mso-fareast-language:DE;mso-bidi-language:
AR-SA'><br clear=all style='page-break-before:always'>
</span>

<p class=MsoNormal style='text-align:justify'><span style='font-size:18.0pt;
mso-bidi-font-size:12.0pt;mso-ansi-language:EN-US'>7. Acknowledgement</span><span
style='mso-ansi-language:EN-US'><o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'>Prof. W. N. Sharpe J. provided some helpful hints what would be
important to the user and what would be a waste of time ;-). I want to
acknowledge him since it is always a pleasure to work in his lab at the JHU. <o:p></o:p></span></p>

<p class=MsoNormal style='text-align:justify'><span style='mso-ansi-language:
EN-US'><span style='mso-spacerun:yes'> </span><o:p></o:p></span></p>

</div>

</body>

</html>