{'fraction_non_alphanumeric': 0.03173618940248027, 'fraction_numerical': 0.01722096956031567, 'mean_word_length': 4.74684159378037, 'pattern_counts': {'":': 0, '<': 1, '<?xml version=': 0, '>': 0, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Dynamic Deformation Measurement by the Sampling Moiré Method from Video Recording and its Application to Bridge Engineering

Measuring accurate dynamic deformation distribution for large-scale structures inexpensively and efficiently is a crucial challenge of structural health monitoring. In this study, a simple technique for measuring the deflection and vibration frequency from a captured video, based on the sampling Moiré method is developed. The striking advantage over conventional measurement using sensors and other imaging techniques are that the developed technique allows accurate measurement of two-dimensional deformations at multiple locations as well as the natural frequency of the target structure. Joint Photographic Experts Group (JPEG)-formatted images encoded from the recorded video with Motion-JPEG (MJPEG) format reduced the file size significantly without degrading the measurement accuracy and applied to deformation measurement. The effectiveness of the developed technique was confirmed through a field experiment of an old bridge in Taiwan. The field experiment demonstrated that both deflection and natural frequency of the bridge were successfully measured with higher 0.1 mm displacement accuracy and 0.05 Hz frequecy comparable to a conventional microwave radar displacement sensor from 20 m distance.


Introduction
Measuring the static and dynamic displacement of in-service structures is an important issue for design validation, performance monitoring, and safety assessment [1,2]. For the optimum design of structures and preventing unexpected accidents, and other failures, it is crucial to evaluate the displacement distribution of the target structures in service. Notably, the displacement and vibration frequency information are useful to check the soundness of infrastructures such as bridges, tunnels, and high-building [3]. Besides, a long-term measurement allows continuous monitoring of structures and permits safety oversight so that an immediate warning can be issued if abnormal displacement behavior is detected. The commercial sensors such as strain gages, fiber Bragg gratings (FBGs) [4,5], microwave radar displacement sensors [6], and laser Doppler vibrometers (LDVs) [7] have been conventionally used for measuring the displacement and vibration of large-scale structures. Displacement distribution measurement requires several sensors since the conventional sensors measure at single-point, that leads problem of cost and time-consuming. Thus, the development of the full-field measurement method capable of distributed measurement is desirable.
One approach for measuring displacement distribution in full-field of large-scale structures is the use of image processing technique. For instance, Wahbeh et al. [8] presented a vision-based approach for measuring displacements of vibrating systems. They used a high-resolution digital camera and two high-resolution red light emitting diodes (LEDs) mounted on the measured targets. The center of the red LED spots was determined from nonlinear Gaussian regression curve fit. Lee and Shinozuka [9] also presented a vision-based system for remote sensing of bridge displacement by image processing. The target has four white spots with known geometry and black background. The center of four white spots was determined from the black and white image. In these image processing techniques, however, the accuracy in detection of the central position of spots is limited.
Digital image correlation (DIC) technique is another kind of image processing technique for measuring displacement distributions [10]. DIC technique using random or natural patterns can obtain the deformation of the surface by comparison of the digital images before and after deformation. Recently the DIC technique was applied to measure the deflection of a bridge in static test [11] and dynamic test [12][13][14]. This method requires no complicated optical setup. However, DIC technique has a disadvantage that it takes long analysis time to obtain high-resolution results from field experiments susceptible to random noise and variation in light intensity.
Generally, the measurement accuracy of vision-based systems depends on several parameters, e.g. camera-to-target distance, target pattern features, lighting conditions, camera mounting stability and video-processing methods. Besides, the camera calibration including the camera intrinsic matrix, extrinsic matrix, scale factor, and lens distortion is an important procedure since the accuracy of camera calibration directly influences the displacement measurement accuracy. Xu and Brownjohn [15] reported a review of machine-vision based methodologies for displacement measurement in civil structures based on approximately one hundred papers appeared to date on this subject. According to their review paper, Khuc et al. [16] investigated the measurement accuracy of a visionbased system in a laboratory and suggested an accuracy of 0.04 mm in a short-range distance (< 14 m). Martins et al. [17] demonstrated the uncertainty evaluation of displacement measurement by a vision-based system on a long-span bridge monitoring test and indicated a standard measurement accuracy of 1.7 mm in the vertical direction.
In our previous study, a fast and accurate phase measurement technique called the sampling Moiré method [18,19] for measuring displacement distribution was developed. A regular grating pattern with a known pitch placed on an object to be measured is captured with a digital camera. The displacement is obtained from calculating the phase difference of the Moiré fringe before and after deformation. Unlike the visionbased approach, the sampling Moiré method does not require camera calibration and template matching. The camera intrinsic matrix and extrinsic matrix, scale factor was not used to calculate the displacement. For the sampling Moiré method, the grating pitch of a repeated pattern in physical size is a measure to obtain the actual displacement amount.
Consequently, the sub-millimeter-order deflection of a large crane 10 m long [20] and the thermal deformation of high-temperature piping in a thermal power plant [21] was successfully measured using the sampling Moiré method. These previous studies only utilize a series of photographs sporadically taken in static test [20] or semi-static test [21]. However, images captured with a high frame rate are necessary to measure dynamic displacement and vibration frequency. Hence, a method for measuring dynamic displacement and vibration of structures using a commercial cinema camera in this study is developed.
Recently, the functions of digital cameras have been remarkably improved in association with the enhancement of resolution, quality, and frame rate of image. For instance, a commercial cinema camera (Canon, EOS-1Dx Mark II) can record 4 K image size (4096 × 2160 pixels) at 60 frames per second (fps) in Motion-JPEG (MJPEG) format. On the other hand, this progress causes a concern that the file size of the recorded image augments enormously compared to the conventional image processing technique. To overcome this problem, a useful technique where the JPEG compressed image was used to reduce the file size is proposed. If an appropriate compression rate is used, dynamic displacement can be measured with high accuracy. Simulation results indicated that the measurement accuracy showed no deterioration even if the image quality was declined by up to 20%. Furthermore, it revealed that the accuracy was slightly improved with decreasing image quality in the case of the high noise level. The effectiveness of our developed method was confirmed through the application to the displacement and vibration measurement of an old bridge in Taiwan.

Outline of the Sampling Moiré Method
The basic principle of the sampling Moiré method [18] is presented in Fig. 1. When a grating of pitch p (in physical scale, mm) is recorded by a digital camera as shown in Fig.  1(a), the recorded intensity of a cosinusoidal grating ( Fig.  1(b)) with an initial phase can be presented in Eq. (1).
where a(x,y) and b(x,y) present the amplitude of the grating intensity and the background intensity, respectively. P is the recorded grating pitch as pixel unit in the image plane, and φ(x, y) is the phase value of the grating. After performing down-sampling ( Fig. 1(c)) and intensity interpolation ( Fig. 1(d)), the multiple phase-shifted fringe patterns, f m (x, y, k), can be obtained, expressed as Then, the phase distribution of the Moiré fringe, φ m (x, y), can be calculated by phase-shifting method using discrete Fourier transform (DFT) algorithm, as presented in Eq. (3) In the same manner, the phase distribution of the Moiré fringe after deformation, φ 0 m x; y ð Þ, can be measured. Finally, the in-plane displacement is directly obtained from the phase difference of the phase difference distribution, Δφ m x; y ð Þ ¼ φ 0 m x; y ð Þ−φ m x; y ð Þ, of the Moiré fringe before and after deformation.
where p is the grating pitch as mm unit in the physical size.
Here, the key point of the sampling Moiré method is the use of the phase information of the low-frequency of a repeated pattern. Therefore, the sampling Moiré method is more robust to random noise since the high-frequency components can be easily removed by a low-pass filter.

Dynamic Deformation Measurement from Video
In this study, the conventional measurement from the sampling Moiré method using photographs was extended to the dynamic measurement using video recording. The video analysis allows us to measure dynamic deformation and the vibration of the structures.
Video images of MJPEG format can be divided into each JPEG image of time-series using FFmpeg [22] that is one of the powerful open-source libraries for handling video image. However, the huge file size of the video image compared with that of the still image leads to difficulty in data handling. Figure 2 illustrates how the file size of the video image is determined. The video image size is represented by the multiplication of image size, image quality, frame rate, and recording time. Because image size, frame rate, and recording time are determined from the specification of the camera employed and the conditions of the experiment, only image quality can be adjusted to diminish the file size. Focusing on the principle of JPEG compression, an approach to obtain an image of a smaller file size without losing measurement accuracy is proposed in this study. Besides the MJPEG format, there are Motion JPEG, MPEG-4, H.264, and H.265 for standard video compression in multimedia. MJPEG is a video compression format in which each image frame sequence is compressed separately as a JPEG image and no temporal compression. Different from MJPEG, MPEG data is compressed spatially and temporally as well. In this study, we mainly focus on video data with an MJPEG format. The application of another video compression format such as MPEG-4, H.264, and H.265 for higher file compression is for further study.

Algorithm of JPEG Compression
As well known, the JPEG compression algorithm [23] is one of the digital image compression standards designed for compressing both full-color and monochrome images. In the JPEG algorithm, the digital image is compressed by discarding the high-frequency components in the image because the low-frequency components are more sensitive to the human eye. As well-known, JPEG compression is a widespread technique to reduce the image size for general digital cameras. The compression time can be negligible due to the advanced development of the image processing engine in the camera chip for most cases. JPEG compression is achieved in a series of steps, as illustrated in Fig. 3.
Step 1. The pixels of the whole image are grouped into blocks of 8 × 8 pixels for the RAW image with lossless compression.
Step 2. A discrete cosine transform (DCT) is applied to each block, which generates 1 DC (background) and 63 AC (amplitude) components of each spatial frequency. Then, each of the 64 DCT components is quantized by a division of the corresponding coefficient in quantization matrix whose coefficients in upper left part are equal to 1 or more, but towards the lower right part they are getting larger.
Step 3. Each of the DCT components is rounded to an integer after quantization. Then, many zeros for higher AC components that are close to the right bottom part of the matrix is obtained. The higher frequency components classified by the threshold value are discarded.
Step 4. The 64 quantized frequency components are encoded by using a combination of the Runlength encoding and the Huffman coding. Finally, a JPEG image compressed to small file size is generated and saved. The image size depends on the image quality (IQ).

Combination of the Sampling Moiré Method and JPEG Images
Based on the algorithm of JEPG image compression, the measurement accuracy of our method mentioned in Sec. 2.1 seems to be insusceptible to JPEG compression if the threshold is set appropriately. This is because repeated patterns used as the target marker can be presented by lower frequency components and the unnecessary higher frequency components resulting from noise can be eliminated in the process of image compression. The combination of our sampling Moiré method using repeated patterns and JPEG compressed images would suit well to displacement distribution measurement. Thus, the JPEG compressed image for measuring the dynamic displacement to save the image file size was applied. Figure 4 shows JPEG compression with a varying threshold value. In the DCT basic function consisting of 8 × 8 pixels block, the top left corresponds to the DC component and the bottom right corresponds to the highest frequency component as shown in Fig. 4(a). In the sampling Moiré method, the Moiré fringe pattern by downsampling procedure against a repeated pattern is a spatially enlarged image of the original pattern. Thus, only relatively lower frequency components are used for deformation analysis in the sampling Moiré method. The DC component (frequency zero) corresponding to the background as well as higher-frequency components originated from noise can be eliminated as unnecessary information.
As shown in Figs. 4(b) and (c), setting the threshold value to retain many frequency components can produce a high-fidelity image, but the compression rate of the file Fig. 2 The block diagram of the file size of video recording. The file size depends on the combination of the image size, the image quality, the frame rate, and the recording time. A large image size, high image quality at high frame rate for a long time recording causes the file size huge and data handling difficult size becomes small. Conversely, higher data compression can be realized by retaining only low-frequency components. However, some low-frequency components that are required for displacement analysis in the sampling Moiré method may also be eliminated if the threshold value is set inappropriately. The setting of the thresholding value determining the image quality and size is crucial in the sampling Moiré analysis. Thus, the optimum compression ratio is explored by computer simulations and a field experiment.

Simulation Condition
A two-dimensional grating pattern f (x, y) is simulated using Eq.
(1) to investigate the relationship between measurement accuracy and JPEG IQ. The image size of the simulated grating is 256 × 256 pixels. The MATLAB "peaks" function (https://jp. mathworks.com/help/matlab/ref/peaks.html?lang=en) was added to the phase term to generate a distorted grating pattern.
where x, y are the horizontal and the vertical coordinates in the image plane, P is the grating pitch in the x-direction, and noise (x, y) is the additive random noise. Three different grating pitches of 6.1, 8.1, and 10.1 pixels are specified and the corresponding down-sampling pitches T are set to 6, 8, and 10 pixels, respectively. We assume the noise level (NL) has a mean of zero with three different standard deviations of 0, 10, and 20%. Besides, images are compressed with eleven different IQs of 100, 90, 80, 70, 60, 50, 40, 30, 20, 10 and 5% for an original bitmap (BMP) grating image. The mean absolute error (MAE), the maximum (MAX) and the root mean square (RMS) phase error between the theoretical phase and the analyzed phase in the central area with 200 × 200 pixels were evaluated.    BMP image (262 KB) regardless of pitch size P. The file size of JPEG IQ = 20% (5 KB) is 10 times smaller than that of IQ = 100%. For the IQ range below 60%, the file size is approximately linearly related to JPEG IQ. File sizes of larger grating pitch P are smaller than those of smaller P for all IQ range, but the file size dependence on P is substantially small as compared the magnitude of file size. Thus, the influence of the grating pitch on the file size is negligible in this study. Figure 6(b) illustrates the dependence of phase accuracy on IQ in the case of NL = 10%. Regardless of grating pitch P, the RMS phase error for the IQ larger than 20% is nearly the same as that of BMP image as the reference. Notably, the measurement accuracy of JPEG IQ = 100% is very close to that of the original BMP image, even though the file size of JPEG IQ = 100% is 5 times smaller than that of BMP image. For the IQ smaller than 10%, the RMS phase error exceeds 1% of the grating pitch. This means that file compression with IQ less than 10% is unsuitable for the present image analysis. Table 1 showed the relationship between the measurement accuracy including the MAE, MAX and RMS phase error and the JPEG image quality in the case of noise level (NL) = 10% with three different pitches P in details. The trend of the MAE and MAX are similar to the RMS phase error. Figure 6(c) depicts the sensitivity of the RMS phase error to NL for P = 8.1 pixels. In the case of NL = 0%, the RMS phase error of JPEG IQ = 100% is almost the same as that of BMP image. The RMS phase error gradually increases as IQ decreases. In the case of NL = 10%, RMS phase error is comparable to or even smaller than that of BMP for IQ larger than 20%. In the case of NL = 20%, RMS phase error is also comparable to or even smaller than that of BMP for IQ range larger than 20% although the phase errors are larger than those of NL = 10%. It is noteworthy for cases of NL = 10% and 20% that phase errors of the highly compressed image where IQ ranges from 20% to 60% is somewhat smaller compared with the highest JPEG image quality of the IQ of 100%. However, when the IQ is equal to or less than 10%, the measurement accuracy is suddenly reduced since the lower frequency components that are required in the image analysis would be removed through the image compression, as illustrated in Fig. 4(c). Besides, the relationship between the measurement accuracy including the MAE, MAX and RMS phase error in case of P = 8.1 pixels with three different NL is shown in Table 2. It can be confirmed from these simulation results that the most appropriate compression rate should be 20% to save data amount without degrading the measurement accuracy.

Experimental Condition
To demonstrate the effectiveness of our developed method, a field experiment for measuring the deflection of an old bridge in Tawain was carried out. Figure 7 shows the experimental setup of the tested bridge in Taiwan. The span length of the bridge is 30 m with a width of 7.5 m. The distance between the camera and the bridge was about 20 m. The Moiré marker has a two-dimensional rectangular wave pattern with the pitch size of 50 mm. A cinema camera (Canon, 1Dc) capable of 4 K-size (4096 × 2160 pixels) with a time resolution of 24 fps, and a wide-angle cinema lens (Canon, CN-E24mm T1.5 LF) of a focal length of 24 mm was used to record video. During the field experiment at night, the camera speed, the aperture, and the ISO were set to 1/30 s, F2.8, and 500, respectively. A microwave radar displacement sensor was also installed to measure the displacement at 1/2 point of the inner beam to Table 1 Relationship between the measurement accuracy including the mean absolute error (MAE), maximum (MAX) and root mean square (RMS) phase error and the JPEG image quality in the case of NL = 10% with three different pitches P Phase error(rad), P = 6.1 Phase error(rad), P = 8. compare the measurement accuracy between the sensor traditionally employed and the sampling Moiré method. The used microwave radar displacement sensor can measure the displacement with 0.01 mm to 0.1 mm accuracy and maximum detection range of 150 m, and the maximum detection frequency is 20 Hz. Figure 8(a) shows the overall view image of the tested bridge and the position of grid-pattern markers, and the analyses image (3800 × 350 pixels) after trimming and gray-scale conversion from the original color JPEG image is shown in Fig. 8(b). Six markers were attached to the side walls of the bridge, as shown in Figs. 8(c) and 8(d). Two makers and three markers were attached on the outer and the inner beam, respectively. One grid-pattern M1 was attached on the pier wall as the fixed point. Each grid-pattern marker was illuminated with LED light since the experiment was conducted at midnight. The videos were taken from the direction perpendicular to the bridge, as shown in Fig. 7(c). Two trucks with a total weight of 40 tons ran through the bridge in parallel at a speed of 5 km/h or 10 km/h in the test. The displacement during the truck passage at the points where the grid-pattern markers were attached was measured from analyzing the recorded video. We conducted a dynamic test two times under the same  condition to confirm the reproducibility of the measurements. The road was closed during the field experiment for safety and elimination of external disturbance. Recorded movies in Motion JPEG format were converted to the colored JPEG images with a size of 4 K in a time series. Then, the color JPEG image was converted into a gray-scale image. The central area of the trimmed gray-scale images with 3800 × 350 pixels as shown in Fig. 8(b) was used to analyze deformation from the sampling Moiré method. The images recorded before the experiment were utilized as the reference to evaluate the relative displacement between each marker of M2 -M6 and marker M1 (as a fixed point) during the passage of the trucks.
Judging from the recorded image between two markers with 14-m-long (M2 and M6) and it corresponds to 3280 pixels; therefore, the spatial resolution of the recorded image was 0.234 pixel /mm, and the sampling pitch T was set to 12 pixels in the analysis. Figure 9 showed the image processing for a 2-dimensional rectangular grating to a 1-dimensinal cosinusoidal grating prior apply to sampling Moiré method. Figures 9(a), 9(b) and 9(c) represented the original recorded marker image, the smoothed image after SMA filter, and the extracted horizontal grating after a low-pass filter (LFP) against x-direction was applied. The vertical displacement pattern from the two-dimensional grating marker is extracted by applying a simple moving average (SMA) filter with a 3 × 3 pixel filter size, and a low-pass filter with the half-kernel size of 12 pixels and the cut-off frequency of 0.1 rad. Consequently, a cosinusoidal grating pattern in the y-direction can be obtained from a 2D rectangular Moiré marker. Then, the deflection can be analyzed by the sampling Moiré method as mentioned in Sec. 2.1. The average displacements  Fig. 8(a) and 8(d) Fig. 9 Image processing of the sampling Moiré method to measure the deflection: (a) original recorded marker image, (b) smoothed image after a simple moving average (SMA) filter with a 3 × 3 pixels filter size, (c) extracted horizontal grating after a low-pass filter (LFP) was applied measured from the central region with 35 × 35 pixels (evaluation area) in each marker were evaluated. Besides, displacement data was processed by a smooth moving average filter using 48 data (2 s period) in time-series to obtain a smooth displacement curve. Figure 10 shows the displacement measurements of dynamic test for the truck speed of 5 km/h. Figure 10 (a) shows the deflection evaluated from the sampling Moiré method. The solid and dotted curves at 1/2 point correspond to the displacement of the inner and outer beam, respectively. As expected, the displacement was maximized at 1/2 point and declined in order of 1/4 point and the pier. Displacement at 1/2 point of the outer beam was slightly smaller than that of the inner beam. This might be caused by the smaller weight of the truck on the outer beam than that on the inner beam. Figure 10 (b) shows the displacement curve of the inner beam evaluated from the microwave radar displacement sensor. Both displacement behavior and the largest displacement measured from the conventional sensor agreed well with those measured from the sampling Moiré method. The relative difference between the largest displacement evaluated from the sampling Moiré method and the conventional sensor was only 0.04 mm or 0.5%. The most striking advantage of the sampling Moiré method is that one-time video recording allows the displacements of multiple points with the equivalent accuracy to the conventional sensor. Another dynamic test results under the same condition are shown in Figs. 10(c) and 10(d). The difference between the largest displacement evaluated from the sampling Moiré method and the conventional sensor was 0.03 mm. The similarity with Figs. 10(a) and 10(c) indicates high reproducibility of the experiment and the robustness of our developed method. Figure 11 shows the deflection and vibration of the inner beam during the dynamic test at a truck speed of 10 km/h. The displacement curves without applying a smooth moving average filter shown in Fig. 11(a) include both the deflection and vibration components. The time evolution of the deflection behavior looks similar to that when the truck speed was 5 km/h (Figs. 10(a) or 10(c)). Displacement at 1/2 point corresponded well with that evaluated from the sensor shown in Fig. 11(b).  The vibration components are shown in Fig. 11(e) and 11(f) are obtained by subtracting the smoothed displacement curve from the original displacement curve. Note that in the vibration measurement from the sensor shown in Fig. 11(f), vibration is barely observed before trucks approach. A noticeable vibration of two-cycle appears at 28 s when the deflection at 1/2 point starts. Then, high-frequency vibration appears from 32 s and continues until 57 s where the deflection due to truck vanishes. After that, free vibration whose intensity decreases gradually was observed. These features in vibration also are seen in the vibration curve obtained from the sampling Moiré method shown in Fig. 11(e) although high-frequency noise is superimposed throughout the measurement. The highfrequency noise is considered to correspond to error resulting from the fluctuation in image measurement because the noise has appeared since before trucks approach the measurement point. Such a measurement error seems to be inevitable in the present experiment conducted at midnight because the camera was set to a high ISO.

Experimental Results and Discussion
Frequency spectra of the vibration of 1024 data whose time period was depicted in Figs. 11(e) and 11(f) are shown in Figs. 11(g) and 11(h). Although the vibration obtained from the sampling Moiré method contained considerable noise, both vibration data have similar frequency characteristics, e.g., relatively high-frequency components ranging from 2 to 3 Hz and the maximum frequency component at 2.7 Hz. The maximum frequency corresponds to the primary natural frequency of the bridge. It is noteworthy that the peak power of frequency spectra by the sampling Moiré method is greater than that by the sensor, although the higher frequency noise by the sampling Moiré method is much larger than that by the sensor. This indicates that the sampling Moiré method is more useful to detect the natural frequency of bridges despite large high-frequency noise. In the case of the sampling Moiré method, vibration is defined from the relative displacement between 1/2 point and the pier. On the other hand, the conventional sensor measures the vibration from a distance between the 1/2 point and the ground that might lead to erroneous value owing to the vibration of the ground.
One of the significant advantages of the sampling Moiré method over conventional single-point measurement sensors is that two-dimensional displacement at multi-point can be measured using two-dimensional grid markers. Figure 12(a) shows the x-directional displacements along with bridge road, while Fig. 12(b) depicts the x-directional average strain between the 1/2 point and the pier derived from the displacement shown in Fig. 12(a). As a result, the displacement vectors (i.e., two-dimensional displacement information) of each marker for maximum deflection are easily illustrated as Fig. 12(c). Such information cannot be obtained from commonly employed unidirectional displacement sensors.
In this study, the field experiment was only carried out at night due to road regulation for safety and avoid traffic congestion. The configuration of the camera for performing the field experiment in the morning or daytime is the same, except several LED lights were used at night. The variations of background conditions do not affect the measurement accuracy for the sampling Moiré method since the displacement was calculated from the phase difference of the Moiré fringe. Besides, the phase of the Moiré fringe is determined for each captured image individually. Atmospheric turbulence of optical light propagating through the air is a common error source for any optical-based instrument, especially for a long-range measurement. In the case of daytime, the backlight of sunlight and the turbulences in the atmosphere would slightly deteriorate the accuracy of the sampling Moiré method. Since we experimented at night, it is reasonable to consider that errors due to the backlight of sunlight and the atmospheric turbulences during daytime are excluded in our measurements. The influence of the measurement accuracy by the atmospheric turbulence for a long-distance measure is our future work.
Our developed method is exceptionally advantageous as s deformation measurement technique featuring its simplicity, Fig. 12 Dynamic test results of a truck speed of 10 km/h. (a) xdirectional displacement obtained from the sampling Moiré method (b) the average strains in the xdirection, (c) visualization of the measured displacement vector of the inner beam for maximum deflection low-cost, and high accuracy in structural health monitoring. On the other hand, a large volume of the image file is one of the obstacles in the practical application, because our proposed method utilizes time-series image data that could reach 35 MB/s at maximum. Thus, we also investigated how the IQ of JPEG files influences on the accuracy of deformation measurement. Figure 13(a) compares the image quality and file size with varying IQ and the original image (top image). Figure 13(b) enlarges the repeated patterns and the random pattern of Zoom-A and Zoom-B indicated in Fig. 13(a). Though lower IQ degrades the quality of the image, the feature of the image seems to be retained up to IQ = 20%. In the case of IQ = 5%, the feature of the random pattern can be indiscernible although the repeated pattern can be recognized. The influence of compression rate on image quality indicates that sampling Moiré method is much more robust for high compression rate than other optical methods such as DIC technique. Here, the conversion times from JPEG, IQ = 100% to JPEG, IQ = 50%, JPEG, IQ = 100% to JPEG, IQ = 20%, JPEG, IQ = 100% to JPEG, IQ = 5% were 0.0534, 0.0534, 0.0535 s per frame, respectively, by use of a free software called InfranVIEW operated on a Windows 7 Professional OS (3.0 GHz Intel Xeon CPU E5-2690 v2). Figure 14 shows the deflection curves measured from images with different IQ. As shown in Figs. 14(a), 14(b), and 14(c) whose IQ is 100, 50, and 20%, respectively, the deflection curves are changing smoothly. However, stepwise deflection behavior appears in Fig. 14(d) whose IQ is 5%. Here we focus on the maximum displacement, which is the most Fig. 13 Recorded images with various image compression: (a) crop whole image (3800 by 350 pixels) for displacement analysis, (b) comparison between a repeated pattern (upper) and a natural random pattern (lower) in a zoom area of 100 × 100 pixels important parameter in structural health monitoring of bridges. As shown in Fig. 10(b), the maximum displacement measured from the conventional sensor was 8.41 mm. On the other hand, those obtained from the sampling Moiré method was 8.45 mm, 8.47 mm, 8.38 mm, and 8.31 mm for IQ = 100, 50, 20, and 5%, respectively. Their relative errors for IQ = 100, 50, 20, 5% against the maximum deflection of 8.41 mm measured from the conventional sensor are 0.48, 0.71, −0.36, and − 1.19%, respectively. Similar to the simulation results described in Sec. 3.2, it can be confirmed that even in the case of high compression rate of 20%, the sampling Moiré method measured deformation with high accuracy less than the relative error of 0.5%. In the case of IQ = 20%, the file size with the original image size of 570 KB can be reduced to 44 KB, which is more than 90% smaller than the original size. It can be concluded from these results that our developed method is effective for measuring dynamic deformation with high accuracy even if the image files with large compression are used in the analysis.

Conclusion
In this study, an analytical method based on the sampling Moiré method is developed for measuring dynamic deformation using a video image where image data are downsized by appropriately chosen compression rate without degrading measurement accuracy. The displacement results can be obtained for any location if there are repeated patterns onto the surface of the structures in the recorded image. Applying to the deformation measurement of the bridge, our developed method is advantageous to evaluate the deformation and vibration of structures with simple procedures and high accuracy. Because there are many old concrete continuous beam bridges built on the riverbed in Taiwan, it is not easy for maintenance staff to perform on-site inspections due to terrain restrictions. Therefore, it is very suitable to measure the deflection of the bridge using the technology of this study. The main results and contributions are summarized as follows: (1) A dynamic multi-point displacement measurement technique utilizing video data based on the sampling Moiré method was developed. (2) The developed method can accurately measure the deflection and vibration frequency with an accuracy comparable to conventional displacement sensors. (3) The compressed images with an appropriate compression ratio are used in this technique to reduce the image size without deteriorating the measurement accuracy. The JPEG image quality of 20% found to be a threshold to balance the image size and measurement accuracy from the simulation and field experimental results. (5) The developed technique was applied to deflection measurement of a bridge in Taiwan, and the effectiveness was confirmed by field experiment.