Fast, Sub-pixel Accurate Digital Image Correlation Algorithm Powered by Heterogeneous (CPU-GPU) Framework

Digital Image Correlation (DIC) is a popular non-contact image-based full-field deformation measurement tool widely used in mechanics. In spite of its significant advantages, it is still primarily used as a post-processing tool due to its computational cost. In recent years, parallel computing platforms such as multi-core processors and Graphics Processing Units (GPUs) have been used to improve the speed of the DIC algorithm, with GPUs being well-suited for implementing data-parallel operations. Previous works have performed GPU-based DIC wherein each sub-image (i.e. a collection of a few pixels in the local neighborhood of a point of interest) is allocated to a single thread on the GPU, thus achieving parallelism across sub-images. However, this is not the only type of parallelism that is possible: one can also achieve parallelism within a sub-image as well as across whole images. The aim of this work is to efficiently implement 2D-DIC such that parallelism within a sub-image as well as across sub-images leads to considerable reduction in computation time. We use a heterogeneous framework consisting of an Intel Xeon octa-core CPU and an Nvidia Tesla K20C GPU card in this work. The CPU is used to handle image pre-processing, whereas the GPU is used to process four compute-intensive tasks: affine shape function computation, B-Spline interpolation, residual vector calculation and deformation vector update. Parallelization within and across sub-images is achieved in this work by efficient thread handling and use of pre-compiled BLAS libraries. In order to estimate the speedup provided by the GPU, the same four tasks were also evaluated on the octa-core CPU; a speedup of approximately 7 to 5 times was observed for a single sub-image whose size varies from 21×21 to 61×61 respectively. However, it is expected that for a larger number of sub-images, the GPU speedup will be higher and this is indeed the case: when the affine shape function computation and B-Spline interpolation steps were evaluated on 1869 21×21 pixel sub-images, the speedup was around a more impressive 453 times. Further GPU optimization as well as parallelization across image pairs is currently underway and even faster GPU-assisted DIC seems achievable.

[1]  Long Tian,et al.  Superfast robust digital image correlation analysis with parallel computing , 2015 .

[2]  Zhiyong Wang,et al.  An analysis on computational load of DIC based on Newton–Raphson scheme , 2014 .

[3]  Simon Baker,et al.  Lucas-Kanade 20 Years On: A Unifying Framework , 2004, International Journal of Computer Vision.

[4]  Kai Li,et al.  A fast digital image correlation method for deformation measurement , 2011 .

[5]  Dongsheng Zhang,et al.  Real-Time Digital Image Correlation for Dynamic Strain Measurement , 2016 .

[6]  Justin A. Blaber,et al.  Ncorr: Open-Source 2D Digital Image Correlation Matlab Software , 2015, Experimental Mechanics.

[7]  Xiaoyuan He,et al.  Noise robustness and parallel computation of the inverse compositional Gauss-Newton algorithm in digital image correlation , 2015 .

[8]  Hubert W. Schreier,et al.  Image Correlation for Shape, Motion and Deformation Measurements: Basic Concepts,Theory and Applications , 2009 .

[9]  M. Grédiac,et al.  Assessment of Digital Image Correlation Measurement Errors: Methodology and Results , 2009 .

[10]  Michael T. Heath,et al.  High-performance hybrid CPU and GPU parallel algorithm for digital volume correlation , 2015, Int. J. High Perform. Comput. Appl..

[11]  Ovidiu Daescu,et al.  Applying Parallel Design Techniques to Template Matching with GPUs , 2010, VECPAR.

[12]  Xie Huimin,et al.  Performance of sub-pixel registration algorithms in digital image correlation , 2006 .

[13]  Bing Pan,et al.  Digital Image Correlation with Enhanced Accuracy and Efficiency: A Comparison of Two Subpixel Registration Algorithms , 2016 .

[14]  Y. Le Sant,et al.  Fast and Dense 2D and 3D Displacement Field Estimation by a Highly Parallel Image Correlation Algorithm , 2016 .

[15]  Wilfried Philips,et al.  Improved Newton-Raphson digital image correlation method for full-field displacement and strain calculation. , 2010, Applied optics.

[16]  Zhenyu Jiang,et al.  High accuracy digital image correlation powered by GPU-based parallel computing , 2015 .