CN113095323A - SIFT-improvement-based digital image correlation method real-time detection method - Google Patents

SIFT-improvement-based digital image correlation method real-time detection method Download PDF

Info

Publication number
CN113095323A
CN113095323A CN202110438916.5A CN202110438916A CN113095323A CN 113095323 A CN113095323 A CN 113095323A CN 202110438916 A CN202110438916 A CN 202110438916A CN 113095323 A CN113095323 A CN 113095323A
Authority
CN
China
Prior art keywords
formula
sub
image
gaussian
scale
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202110438916.5A
Other languages
Chinese (zh)
Inventor
万琪伟
甘建军
张渴望
张世乐
张思聪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanchang Institute of Technology
Original Assignee
Nanchang Institute of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanchang Institute of Technology filed Critical Nanchang Institute of Technology
Priority to CN202110438916.5A priority Critical patent/CN113095323A/en
Publication of CN113095323A publication Critical patent/CN113095323A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/25Determination of region of interest [ROI] or a volume of interest [VOI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • G06F18/2411Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on the proximity to a decision surface, e.g. support vector machines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/46Descriptors for shape, contour or point-related descriptors, e.g. scale invariant feature transform [SIFT] or bags of words [BoW]; Salient regional features
    • G06V10/462Salient features, e.g. scale invariant feature transforms [SIFT]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Data Mining & Analysis (AREA)
  • Multimedia (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Artificial Intelligence (AREA)
  • General Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses a digital image correlation method real-time detection method based on SIFT improvement, and relates to a deformation detection method; it comprises the following steps: firstly, acquiring gray level images before and after deformation; secondly, calculating sub-pixel surface fitting; thirdly, calculating sub-pixel interpolation; fourthly, establishing different Gaussian scale spaces to construct a continuous scale image pyramid; fifthly, searching and screening feature points from the continuous scale space; sixthly, constructing an analysis sub-area by combining the selected characteristic points; seventhly, calculating displacement of the deformation subarea; and eighthly, representing deformation by using the displacement feature vector. The method ensures the continuity of the displacement field, ensures that the adjustment of the calculation speed and the precision are simpler and more convenient to balance between two parameters, does not increase the calculation complexity of the improved algorithm, saves the pretreatment time, has better adaptability to complex boundaries, and can achieve higher calculation precision under the condition of the same calculation speed.

Description

SIFT-improvement-based digital image correlation method real-time detection method
Technical Field
The invention relates to a deformation detection method, in particular to a digital image correlation method real-time detection method based on SIFT improvement.
Background
Civil engineering materials such as sand, concrete, rock, and the like have been made by mixing a plurality of materials. These different materials are prone to form rough and uneven surfaces, and these surfaces have certain differences in light reflection effect, and these differences have the characteristics of randomness, non-uniformity and the like, so that capturing these differences can be used as a feature for describing the material surface in the digital image correlation method.
When the deformation monitoring method of the geotechnical material is used, a sensor method, an ultrasonic method and the like are generally used, and the sensor method is more common. A plurality of strain gauges are adhered or embedded on the surfaces or the interiors of stressed test pieces such as buildings and experimental materials, the voltage change of the strain gauges is monitored in real time and converted into the deformation condition, and the deformation detection of the buildings can be realized. However, this method has an effect on the strength or deformation state of the material itself, and is prone to malfunction and cumbersome to deploy.
Deformation detection of geotechnical materials or structures is widely used in laboratories or engineering, and resistance strain measurement is a traditional method in the field of material deformation monitoring. The strain gauge is adhered to the surface of a measured member, when the strain gauge deforms under stress, the strain gauge deforms along with the member, the resistance value of the strain gauge changes correspondingly, the resistance in the strain gauge is measured through the resistance strain gauge and converted into a strain value, and the strain measuring instrument mainly comprises a linear displacement sensor, an extensometer and the like. Because the strain gauge commonly used for measuring strain needs to be arranged complicatedly in advance, and the measured average strain in a certain area is usually, the strain gauge is not suitable for certain occasions which cannot be in direct contact.
The digital image correlation method is an optical deformation detection method, and the basic principle is that deformation images before and after deformation are collected and analyzed to obtain the deformation condition of the surface of a test piece, so that the defect of physical influence on an object to be detected by a resistance method, a sensor method and the like is overcome; meanwhile, the optical measurement method is used for deformation detection, so that the acquisition of the analysis material and the analysis process are more convenient and quicker. The SIFT algorithm is a feature matching algorithm based on scale transformation, and is used for constructing a plurality of continuous scale spaces after smoothing images through a Gaussian filter, extracting scale invariant feature points with extremely small variation in the continuous scales, wherein the features have rotation and scale invariance and are commonly used in computer vision feature matching. Meanwhile, some scholars at home and abroad improve the algorithm in the application direction of the algorithm applied to feature extraction.
Disclosure of Invention
The invention aims to provide a method for detecting the digital image correlation method in real time based on SIFT improvement by applying a computer vision correlation technology aiming at the defects and shortcomings of the prior art, and improves part of analysis methods and processes in the method on the basis of the technical scheme of analyzing material deformation by the traditional digital image correlation method, thereby greatly improving the analysis speed of the digital image correlation method while ensuring high precision and simultaneously not increasing the complexity of pretreatment and post-treatment during analysis.
In order to achieve the purpose, the invention adopts the technical scheme that: it comprises the following steps:
firstly, acquiring gray level images before and after deformation;
secondly, calculating sub-pixel surface fitting;
thirdly, calculating sub-pixel interpolation;
fourthly, establishing different Gaussian scale spaces to construct a continuous scale image pyramid;
fifthly, searching and screening feature points from the continuous scale space to control the calculation speed;
sixthly, constructing an analysis sub-area by combining the selected characteristic points;
seventhly, calculating displacement of the deformation subarea;
and eighthly, representing deformation by using the displacement feature vector.
Further, a specific method for acquiring the gray level images before and after the deformation in the first step is as follows: the CDD camera can directly capture a gray-scale image, or convert an input RGB color image through a computer to acquire a gray-scale image of a sub-area, wherein the gray-scale formula of the color image is shown as formula (1);
Figure 124837DEST_PATH_IMAGE001
formula (1)
In the formula (1)
Figure 219832DEST_PATH_IMAGE002
Is the intensity of the red color of the color image,
Figure 341371DEST_PATH_IMAGE003
is the green color intensity of the color image,
Figure 163703DEST_PATH_IMAGE004
the blue color of the color image is strong.
Further, the method for calculating the sub-pixel surface fitting in the step two is as follows: constructing a surface fitting function expression, and calculating coefficients in the surface fitting formula by using a Newton iteration method, wherein the surface fitting expression is shown as a formula (2):
Figure 788719DEST_PATH_IMAGE005
formula (2)
In the formula (2), the first and second groups,
Figure 54615DEST_PATH_IMAGE006
a surface function obtained by surface fitting is obtained,
Figure 397872DEST_PATH_IMAGE007
respectively the distances from the center point of the curved surface;
Figure 289474DEST_PATH_IMAGE008
respectively, the parameters are the generation parameters of the surface fitting.
Further, the method for calculating the sub-pixel interpolation in step three is as follows: interpolating according to the fitted shape function mapping relation, and inserting sub-pixel points between the positions of the integer pixel points; substituting the corresponding decimal position of the sub-pixel into the fitted shape function to approximately estimate the gray value corresponding to the pixel point of the sub-pixel precision difference; after interpolation, a smoother gray scale image with sub-pixels as index values can be obtained.
Further, the method for establishing the continuous scale image pyramid by using different gaussian scale spaces in the fourth step is as follows: carrying out Gaussian blur of different scales on the obtained multiple Gaussian spline curves in a sub-region; the calculation formula of a single gaussian scale template is as follows:
Figure 100002_DEST_PATH_IMAGE009
formula (3)
Figure 503417DEST_PATH_IMAGE010
Formula (4)
Wherein,
Figure 100002_DEST_PATH_IMAGE011
is a template of a gaussian convolution,
Figure 674636DEST_PATH_IMAGE012
is the gray-scale image before the convolution,
Figure 100002_DEST_PATH_IMAGE013
for the convolved gray scale image, e is the base of the natural logarithm,
Figure 138164DEST_PATH_IMAGE007
respectively the horizontal distance and the numerical distance from the point on the selected template to the center point,
Figure 3352DEST_PATH_IMAGE015
for the spatial scale size of the Gaussian template, the size of the Gaussian convolution template is selected by the variance of the specified Gaussian convolution kernel
Figure 611050DEST_PATH_IMAGE015
Determining;
constructing a top-down Gaussian according to the change of Gaussian convolution under different scales of the sub-regionVariance of convolution kernel
Figure 912588DEST_PATH_IMAGE015
An ever-increasing digital pyramid, as shown in FIG. 3; and the number n of layers of the digital image pyramid is calculated by formula (5) and formula (6):
Figure 896724DEST_PATH_IMAGE016
formula (5)
Figure 100002_DEST_PATH_IMAGE017
Formula (6)
Wherein: m, N is the size of the length and width of the sub-region, i.e. how many multiples of pixels.
Further, the specific method for searching and screening the feature points from the continuous scale space in the step five to control the calculation speed is as follows: after a Gaussian image pyramid is constructed by establishing Gaussian continuous scales, differentiating Gaussian pyramids of adjacent scales to obtain a Gaussian differential matrix; the point with small gray value change under different scales is the scale-invariant feature point, the absolute value of the Gaussian difference matrix is calculated to search the minimum value, and the minimum value is used as a temporary feature point; performing surface fitting around the extreme points, and constructing a gradient change matrix, i.e. a hessian matrix, which represents the change of the gray values of the characteristic points in two directions, as shown in a formula (7):
Figure 85260DEST_PATH_IMAGE018
formula (7)
In the formula (7), the first and second groups,
Figure 100002_DEST_PATH_IMAGE019
is the partial derivative of the gradient of the change of the gray scale in the x direction with respect to the x direction,
Figure 581969DEST_PATH_IMAGE020
for gradient of variation of grey scale in x-direction versus y-directionA partial derivative; the Hessian matrix has two corresponding eigenvalues
Figure 100002_DEST_PATH_IMAGE021
Ratio of these two characteristic values
Figure 855956DEST_PATH_IMAGE022
The main curvature is called, the distribution density of the selected characteristic points is controlled by controlling the size of the main curvature threshold, the distribution density directly determines the calculation speed, and meanwhile, higher calculation accuracy can be kept.
Further, the specific method for constructing the analysis sub-region by combining the selected feature points in the sixth step is as follows: constructing an image sub-region by taking each selected feature point to be calculated as a center and 18-40 pixels as side lengths; constructing a sub-region on a reference image, wherein the gray change characteristic of the sub-region is used as the speckle characteristic of the image; meanwhile, image sub-regions with the same size are constructed at corresponding positions in the deformed image, and finally the corresponding sub-regions in the two images are matched by calculating a correlation coefficient peak value; the gradient descent method is used for searching the sub-area with the maximum correlation coefficient, so that the searching time can be effectively prolonged;
calculating the similarity of speckles in the region of interest by using a correlation function in probability statistics, wherein a correlation coefficient solving formula is shown as a formula (8):
Figure 100002_DEST_PATH_IMAGE023
formula (8)
In the formula (8)
Figure 112625DEST_PATH_IMAGE024
Represents a correlation coefficient;
Figure 100002_DEST_PATH_IMAGE025
representing the gray value size of the position;
Figure 404935DEST_PATH_IMAGE026
representing the gray value of the next point position; wherein when
Figure 354436DEST_PATH_IMAGE027
A value of 1 indicates that the speckle is linearly correlated.
Further, in the seventh step, the deformation subarea displacement calculation method is as follows:
assuming any two points on the sub-area before deformation
Figure 381298DEST_PATH_IMAGE028
The coordinates are respectively
Figure 707237DEST_PATH_IMAGE029
Figure 100002_DEST_PATH_IMAGE030
For the deformed subareas the same two points
Figure 854054DEST_PATH_IMAGE031
The coordinates are respectively
Figure 100002_DEST_PATH_IMAGE032
Figure 708877DEST_PATH_IMAGE033
(ii) a The correlation calculation formula is as follows:
Apoint:
Figure 100002_DEST_PATH_IMAGE034
formula (9)
BPoint:
Figure 777082DEST_PATH_IMAGE035
formula (10)
And A, B there are two points in the following relationship:
Figure 100002_DEST_PATH_IMAGE036
formula (11)
According to the theory of continuous mechanical medium, when
Figure 375553DEST_PATH_IMAGE037
When the magnitude transformation of (2) is close to 0, the solution relationship of the displacement of the point B can be approximately expressed by the relationship between the displacement of the point A and the first derivative of the displacement of the point A as follows:
Figure 100002_DEST_PATH_IMAGE038
formula (12)
Will be provided with
Figure 127609DEST_PATH_IMAGE039
Substituting into the formula to obtain formula (13)
Figure 100002_DEST_PATH_IMAGE040
Formula (13)
Wherein,
Figure 668180DEST_PATH_IMAGE041
horizontal displacement and vertical displacement of the deformation field.
Further, in the step eight, an interpolation method of non-characteristic point displacement is adopted when the displacement characteristic vector is used for representing deformation, and the difference value of the non-characteristic point is interpolated through displacement change obtained by the calculated characteristic points.
After the scheme is adopted, the invention has the beneficial effects that: the invention relates to a method for detecting a digital image correlation method based on SIFT improvement in real time, which has the following advantages:
1. the method has the advantages of breakthrough and efficiency improvement: the stress of the test piece is analyzed, a large number of strain gauges are arranged, a large number of preprocessing and post-processing processes are performed, and meanwhile, the improved analysis process greatly reduces the overall calculated amount, so that the calculation precision can be greatly improved, and the purpose of real-time monitoring is achieved;
2. little external influence, stability is high: the SIFT feature is the basic feature of an image, which keeps invariance to rotation, scale scaling and brightness change and also keeps certain stability to view angle change, affine transformation and noise; therefore, the influence of external environments such as illumination on the surface characteristics of the test piece can be ignored within a certain range, and the whole analysis scheme has high environmental adaptability and calculation stability;
3. real-time detection, the influence to the object that awaits measuring is little: under the condition that the precision of the 400-300 pixel picture is 90%, the required time is only 1.5 seconds, and the calculation speed can be greatly increased to realize real-time measurement on the premise of ensuring higher precision; meanwhile, the surface of the test piece is not required to be changed in the whole analysis process, so that the physical influence on the test piece can be reduced;
4. the applicability is strong, the acceptance is big: the calculation speed and the precision are adjusted simply and conveniently, so that the relation between the speed and the precision can be balanced better; meanwhile, the method has strong expandability and can be conveniently combined with the characteristic vectors in other forms.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a graph showing the variation of the distortion coincidence rate and the accuracy of the present invention;
FIG. 2 is a flow chart of the algorithm improvement of the present invention;
FIG. 3 is a schematic block flow diagram of the present invention;
FIG. 4 is a digital pyramid constructed under different Gaussian templates;
FIG. 5 is an image before the embodiment is deformed;
FIG. 6 is an image after a modification of the embodiment;
FIG. 7 is a graph of program accuracy versus speed for the present invention.
Detailed Description
The invention will be further described with reference to the accompanying drawings.
Example (b): a method for real-time detection based on SIFT improved digital image correlation method, as shown in fig. 2-4, comprising the following steps:
firstly, obtaining gray level images before and after deformation:
the CDD camera can directly capture a gray-scale image, or convert an input RGB color image through a computer to acquire a gray-scale image of a sub-area, wherein the gray-scale formula of the color image is shown as formula (1);
Figure 404055DEST_PATH_IMAGE001
formula (1)
In the formula (1)
Figure 71797DEST_PATH_IMAGE002
Is the intensity of the red color of the color image,
Figure 209517DEST_PATH_IMAGE003
is the green color intensity of the color image,
Figure 186569DEST_PATH_IMAGE004
is the blue color intensity of the color image;
secondly, calculating sub-pixel surface fitting:
constructing a surface fitting function expression, and calculating coefficients in the surface fitting formula by using a Newton iteration method, wherein the surface fitting expression is shown as a formula (2):
Figure 409740DEST_PATH_IMAGE005
formula (2)
In the formula (2), the first and second groups,
Figure 881173DEST_PATH_IMAGE006
a surface function obtained by surface fitting is obtained,
Figure 138979DEST_PATH_IMAGE007
respectively the distances from the center point of the curved surface;
Figure 772086DEST_PATH_IMAGE008
respectively calculating parameters for curved surface fitting;
thirdly, calculating sub-pixel interpolation:
interpolating according to the fitted shape function mapping relation, and inserting sub-pixel points between the positions of the integer pixel points; substituting the corresponding decimal position of the sub-pixel into the fitted shape function to approximately estimate the gray value corresponding to the pixel point of the sub-pixel precision difference; after interpolation, a smoother gray image with sub-pixels as index values can be obtained;
fourthly, establishing a continuous scale image pyramid with different Gaussian scale space structures:
carrying out Gaussian blur of different scales on the obtained multiple Gaussian spline curves in a sub-region; the calculation formula of a single gaussian scale template is as follows:
Figure 731820DEST_PATH_IMAGE009
formula (3)
Figure 6944DEST_PATH_IMAGE010
Formula (4)
Wherein,
Figure 853677DEST_PATH_IMAGE011
is a template of a gaussian convolution,
Figure 923264DEST_PATH_IMAGE012
is the gray-scale image before the convolution,
Figure 121027DEST_PATH_IMAGE013
for the convolved gray scale image, e is the base of the natural logarithm,
Figure 150349DEST_PATH_IMAGE007
respectively the horizontal distance and the numerical distance from the point on the selected template to the center point,
Figure 390838DEST_PATH_IMAGE015
of Gaussian formThe size of the spatial scale, the size of the Gaussian convolution template, the variance of the specified Gaussian convolution kernel
Figure 75897DEST_PATH_IMAGE015
Determining;
the sub-region template size may be selected to be
Figure DEST_PATH_IMAGE042
Constructing a top-down Gaussian convolution kernel variance according to the Gaussian convolution change of the subareas under different scales
Figure 410932DEST_PATH_IMAGE015
An ever-increasing digital pyramid, as shown in FIG. 3; and the number n of layers of the digital image pyramid is calculated by formula (5) and formula (6):
Figure 232258DEST_PATH_IMAGE016
formula (5)
Figure 378068DEST_PATH_IMAGE017
Formula (6)
Wherein: m, N is the length and width of the sub-region, namely, how many pixel multiples;
according to the method, a continuous Gaussian scale space is constructed based on basic scales according to a Gaussian continuous scale transformation principle, and a Gaussian continuous scale image pyramid is established; according to the continuous scale space obtained by the Gaussian pyramid, carrying out image difference of adjacent scales, and finding out scale invariant feature transformation feature points under the continuous scale; the reference dimension of the continuous dimension is
Figure 550423DEST_PATH_IMAGE043
The proportionality coefficients of successive gaussian scales are:
Figure DEST_PATH_IMAGE044
fifthly, searching and screening feature points from the continuous scale space:
after a Gaussian image pyramid is constructed by establishing Gaussian continuous scales, differentiating Gaussian pyramids of adjacent scales to obtain a Gaussian differential matrix; the point with small gray value change under different scales is the scale-invariant feature point, so the minimum value is searched for by calculating the absolute value of the Gaussian difference matrix, and the minimum value is used as the temporary feature point; generally, the method directly calculates and searches the obtained minimum value points, and can correspond to almost all contour features, so that a large number of pseudo feature points can be obtained; therefore, surface fitting is performed around the extreme points, and a gradient change matrix, i.e., a hessian matrix, which represents changes of gray values of the feature points in two directions is constructed, as shown in formula (7):
Figure 689150DEST_PATH_IMAGE018
formula (7)
In the formula (7), the first and second groups,
Figure 364982DEST_PATH_IMAGE019
is the partial derivative of the gradient of the change of the gray scale in the x direction with respect to the x direction,
Figure 212852DEST_PATH_IMAGE020
is the partial derivative of the gradient of the change of the gray scale in the x direction to the y direction; the Hessian matrix has two corresponding eigenvalues
Figure 606924DEST_PATH_IMAGE021
Ratio of these two characteristic values
Figure 300074DEST_PATH_IMAGE022
The main curvature is called, so that the distribution density of the selected feature points can be controlled by controlling the size of a main curvature threshold; the larger the main curvature threshold value is selected, the smaller the number of the obtained characteristic points is, but the more obvious the characteristic position represented by the characteristic points is as a structure contour; if the density or number of the selected feature points is too small, random noise can be added to increase and fill the feature pointsThe density of the points to be calculated is used for ensuring the calculation precision;
sixthly, constructing an analysis sub-area by combining the selected characteristic points:
constructing an image sub-region by taking each selected feature point to be calculated as a center and 18-40 pixels as side lengths; constructing a sub-region on a reference image, wherein the gray change characteristic of the sub-region is used as the speckle characteristic of the image; meanwhile, image sub-regions with the same size are constructed at corresponding positions in the deformed image, and finally the corresponding sub-regions in the two images are matched by calculating a correlation coefficient peak value; the gradient descent method is used for searching the sub-area with the maximum correlation coefficient, so that the searching time can be effectively prolonged;
calculating the similarity of speckles in the region of interest by using a correlation function in probability statistics, wherein a correlation coefficient solving formula is shown as a formula (8):
Figure 610838DEST_PATH_IMAGE045
formula (8)
In the formula (8)
Figure 364030DEST_PATH_IMAGE024
Represents a correlation coefficient;
Figure 979820DEST_PATH_IMAGE025
representing the gray value size of the position;
Figure 742239DEST_PATH_IMAGE026
representing the gray value of the next point position; wherein when
Figure 392663DEST_PATH_IMAGE027
When the number is 1, the speckles are linearly related;
seventhly, calculating displacement of the deformation subarea:
assuming any two points on the sub-area before deformation
Figure 566025DEST_PATH_IMAGE028
The coordinates are respectively
Figure 200268DEST_PATH_IMAGE029
Figure 235220DEST_PATH_IMAGE030
For the deformed subareas the same two points
Figure 5730DEST_PATH_IMAGE031
The coordinates are respectively
Figure 100725DEST_PATH_IMAGE032
Figure 940374DEST_PATH_IMAGE033
(ii) a The correlation calculation formula is as follows:
Apoint:
Figure DEST_PATH_IMAGE046
formula (9)
BPoint:
Figure 513438DEST_PATH_IMAGE035
formula (10)
And A, B there are two points in the following relationship:
Figure 138454DEST_PATH_IMAGE036
formula (11)
According to the theory of continuous mechanical medium, when
Figure 669930DEST_PATH_IMAGE037
When the magnitude transformation of (2) is close to 0, the solution relationship of the displacement of the point B can be approximately expressed by the relationship between the displacement of the point A and the first derivative of the displacement of the point A as follows:
Figure 996875DEST_PATH_IMAGE038
formula (12)
Will be provided with
Figure 373630DEST_PATH_IMAGE039
Substituting into the formula to obtain formula (13)
Figure 118732DEST_PATH_IMAGE047
Formula (13)
Wherein,
Figure 555529DEST_PATH_IMAGE041
horizontal displacement and vertical displacement of the deformation field;
the displacement change images before and after the experiment of this example are shown in FIGS. 5-6;
eighthly, representing deformation by using the displacement feature vector: interpolation method of non-characteristic point displacement:
the difference value of the non-feature points can be calculated through displacement change interpolation obtained by the calculated feature points; because concrete, soil body materials and the like can be approximately regarded as continuous mechanical media when micro deformation occurs; therefore, the calculated deformation state of the device is continuous within a certain range, and the deformation change trend in a section of area can be obtained through function fitting;
according to the relevant theory of material mechanics, when the bending, bending and shearing are in five stress states, only the deformation equation of the bending is a high-order function, and the other functions are linear functions, so that the deformation condition can be estimated uniformly by using the linear function; meanwhile, the distance between the characteristic points to be calculated cannot be too large and can be smaller than the side length of the selected calculation sub-area; therefore, linear interpolation can be carried out between the deformation values obtained by calculation in a small range to estimate the deformation of other points which are not calculated.
In the embodiment, a digital speckle correlation method is improved by applying a scale invariant feature transformation algorithm, and a pretreatment process for manufacturing speckles on the surface of a material can be omitted for civil engineering materials; meanwhile, the method of replacing full-field measurement by the characteristic points can greatly reduce the number of calculation so as to improve the calculation speed; because the deformation characteristic of the geotechnical material has continuity, the actual deformation of other non-characteristic positions can be accurately estimated by interpolating the calculation result of the characteristic points, so that higher precision can be kept; in addition, the invention realizes the sub-pixel measurement technology and greatly improves the measurement precision of the digital image correlation method.
Because the basic unit of the image is a pixel, a sub-pixel image processing method is needed to realize the measurement of sub-pixel precision; common methods include a surface fitting method, a correlation coefficient method, and the like; according to the characteristic that the gray scale of the test piece is continuous, the method applies and constructs a two-surface fitting function to perform surface fitting according to the distribution condition of the pixel gray scale and then performs interpolation calculation on the gray scale of the sub-pixel position; the accuracy choice of the sub-pixels can be determined in combination with the accuracy required for the actual deformation measurement to be measured; therefore, before the deformation calculation is executed, the image interpolation pretreatment can be realized by using a method of fitting interpolation by using a binary second-order curved surface function;
in the embodiment, a scale invariant feature transformation algorithm is adopted to search points, of which the gray values hardly change in different Gaussian scale spaces, as scale invariant feature points by constructing continuous Gaussian scale spaces, so as to replace the traditional measurement method of a digital image correlation method; the number and density of the feature points obtained after the scale invariant feature conversion can be controlled by controlling a curvature threshold, so that the speed and precision required by the algorithm are balanced and adjusted conveniently according to different requirements in the whole analysis method;
according to the principle of deformation continuity of geotechnical materials, for common deformation forms such as stretching, compression, bending, torsion and shearing, the displacement of a sub-region corresponding to an uncalculated pixel point between two adjacent key points is calculated. In the embodiment, the linear interpolation result of the pixel point between the two calculated adjacent key points can be used for estimating the deformation of other non-calculated points; the calculation results of the method and the full-field calculation method are compared to better estimate the full-field deformation condition, and the estimation method can simply achieve the precision of more than 90% through experimental analysis.
The embodiment achieves the effects of controllable precision and high speed by adjusting the proportion number of the characteristic points. The improved algorithm has the advantages that because the feature points are directly calculated, the calculated displacement of each pixel point cannot be completely the same as that of the traditional method; assuming that the deformation characteristics of each pixel point calculated by the original digital image correlation method are accurate, the deformation condition of each pixel point obtained by the improved algorithm can be compared with the deformation condition of each pixel point obtained by the original calculation method, wherein the deformation conditions are the same as or different from each other, so that the coincidence rate of the pixel deformation of the two sets of calculation methods is obtained.
FIG. 1 shows the variation of the deformed coincidence rate with the calculated density of the feature points; in the embodiment, the calculation accuracy of the improved digital image correlation method is evaluated by using the deformed coincidence rate, and the purpose of reducing the calculation amount is achieved by reducing the amount of calculation points, so that the calculation speed of a computer is improved; the proportion of the number of the characteristic points in the whole area is small, and the final precision is controlled according to the proportion of the regulating characteristic points.
Meanwhile, under different scale spaces, characteristic points are generally obtained by searching in an extreme point mode; the gradient change relation between the searched extreme point and the surrounding points is called curvature, the feature points can be classified into extreme points with different degrees according to the sizes of the curvature and the gyration radius, and therefore the grade and the density of the feature points required to be calculated can be controlled by controlling the size and the range of the selected curvature expression.
Compared with the prior art, the invention has the beneficial effects that: the method has the advantages of ensuring the continuity of the displacement field, along with high accuracy, simplicity and convenience in operation, saving of pretreatment time, better adaptability to complex boundaries and higher calculation accuracy.
The relationship between accuracy and speed is shown in FIG. 7; in fig. 7, N is a speed multiple, the abscissa is accuracy, the calculation speed can be increased by 4-6 times under the condition that the deformation coincidence rate of the calculation result and the conventional calculation result is 99.5%, the calculation speed can be increased by 12 times under the condition that the deformation coincidence rate is 90%, and the speed must be increased if the accuracy of the result obtained by the improved algorithm is to be increased.
The above description is only for the purpose of illustrating the technical solutions of the present invention and not for the purpose of limiting the same, and other modifications or equivalent substitutions made by those skilled in the art to the technical solutions of the present invention should be covered within the scope of the claims of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (9)

1. A digital image correlation method real-time detection method based on SIFT improvement is characterized by comprising the following steps:
firstly, acquiring gray level images before and after deformation;
secondly, calculating sub-pixel surface fitting;
thirdly, calculating sub-pixel interpolation;
fourthly, establishing different Gaussian scale spaces to construct a continuous scale image pyramid;
fifthly, searching and screening feature points from the continuous scale space to control the calculation speed;
sixthly, constructing an analysis sub-area by combining the selected characteristic points;
seventhly, calculating displacement of the deformation subarea;
and eighthly, representing deformation by using the displacement feature vector.
2. The method for detecting the digital image correlation method based on the SIFT improvement in real time as claimed in claim 1, wherein the specific method for acquiring the gray image before and after the deformation in the first step is as follows: the CDD camera can directly capture a gray-scale image, or convert an input RGB color image through a computer to acquire a gray-scale image of a sub-area, wherein the gray-scale formula of the color image is shown as formula (1);
Figure 385609DEST_PATH_IMAGE001
formula (1)
In the formula (1)
Figure 566055DEST_PATH_IMAGE002
Is the intensity of the red color of the color image,
Figure 165663DEST_PATH_IMAGE003
is the green color intensity of the color image,
Figure 22630DEST_PATH_IMAGE004
the blue color of the color image is strong.
3. The method for real-time detection of digital image correlation based on SIFT improvement as claimed in claim 1, wherein the method for calculating the sub-pixel surface fitting in the second step is as follows: constructing a surface fitting function expression, and calculating coefficients in the surface fitting formula by using a Newton iteration method, wherein the surface fitting expression is shown as a formula (2):
Figure 809320DEST_PATH_IMAGE005
formula (2)
In the formula (2), the first and second groups,
Figure 793457DEST_PATH_IMAGE006
a surface function obtained by surface fitting is obtained,
Figure 513151DEST_PATH_IMAGE007
respectively the distances from the center point of the curved surface;
Figure 291751DEST_PATH_IMAGE008
respectively, the parameters are the generation parameters of the surface fitting.
4. The method for real-time detection of digital image correlation based on SIFT improvement as claimed in claim 1, wherein the method for calculating sub-pixel interpolation in the third step is as follows: interpolating according to the fitted shape function mapping relation, and inserting sub-pixel points between the positions of the integer pixel points; substituting the corresponding decimal position of the sub-pixel into the fitted shape function to approximately estimate the gray value corresponding to the pixel point of the sub-pixel precision difference; after interpolation, a smoother gray scale image with sub-pixels as index values can be obtained.
5. The method for detecting the digital image correlation method based on the SIFT improvement in real time as claimed in claim 1, wherein the method for establishing the continuous scale image pyramid constructed by different Gaussian scale spaces in the fourth step is as follows: carrying out Gaussian blur of different scales on the obtained multiple Gaussian spline curves in a sub-region; the calculation formula of a single gaussian scale template is as follows:
Figure DEST_PATH_IMAGE009
formula (3)
Figure 549426DEST_PATH_IMAGE010
Formula (4)
Wherein,
Figure DEST_PATH_IMAGE011
is a template of a gaussian convolution,
Figure 806095DEST_PATH_IMAGE012
is the gray-scale image before the convolution,
Figure DEST_PATH_IMAGE013
for the convolved gray scale image, e is the base of the natural logarithm,
Figure 47906DEST_PATH_IMAGE007
respectively the horizontal distance and the numerical distance from the point on the selected template to the center point,
Figure 74768DEST_PATH_IMAGE015
for the spatial scale size of the Gaussian template, the size of the Gaussian convolution template is selected by the variance of the specified Gaussian convolution kernel
Figure 400707DEST_PATH_IMAGE015
Determining;
constructing a top-down Gaussian convolution kernel variance according to the Gaussian convolution change of the subareas under different scales
Figure 829415DEST_PATH_IMAGE015
An ever-increasing digital pyramid, as shown in FIG. 3; and the number n of layers of the digital image pyramid is calculated by formula (5) and formula (6):
Figure 199085DEST_PATH_IMAGE016
formula (5)
Figure DEST_PATH_IMAGE017
Formula (6)
Wherein: m, N is the size of the length and width of the sub-region, i.e. how many multiples of pixels.
6. The method as claimed in claim 1, wherein the method for detecting the digital image correlation method based on the SIFT improvement in real time is characterized in that the specific method for searching and screening feature points from the continuous scale space in the step five to control the calculation speed is as follows: after a Gaussian image pyramid is constructed by establishing Gaussian continuous scales, differentiating Gaussian pyramids of adjacent scales to obtain a Gaussian differential matrix; the point with small gray value change under different scales is the scale-invariant feature point, the absolute value of the Gaussian difference matrix is calculated to search the minimum value, and the minimum value is used as a temporary feature point; performing surface fitting around the extreme points, and constructing a gradient change matrix, i.e. a hessian matrix, which represents the change of the gray values of the characteristic points in two directions, as shown in a formula (7):
Figure 182084DEST_PATH_IMAGE018
publicFormula (7)
In the formula (7), the first and second groups,
Figure DEST_PATH_IMAGE019
is the partial derivative of the gradient of the change of the gray scale in the x direction with respect to the x direction,
Figure 780556DEST_PATH_IMAGE020
is the partial derivative of the gradient of the change of the gray scale in the x direction to the y direction; the Hessian matrix has two corresponding eigenvalues
Figure DEST_PATH_IMAGE021
Ratio of these two characteristic values
Figure 47458DEST_PATH_IMAGE022
The main curvature is called, the distribution density of the selected characteristic points is controlled by controlling the size of the main curvature threshold, the distribution density directly determines the calculation speed, and meanwhile, higher calculation accuracy can be kept.
7. The method for detecting the relevance of the digital image based on the SIFT improvement in real time as claimed in claim 1, wherein the specific method for constructing the analysis sub-region by combining the selected feature points in the sixth step is as follows: constructing an image sub-region by taking each selected feature point to be calculated as a center and 18-40 pixels as side lengths; constructing a sub-region on a reference image, wherein the gray change characteristic of the sub-region is used as the speckle characteristic of the image; meanwhile, image sub-regions with the same size are constructed at corresponding positions in the deformed image, and finally the corresponding sub-regions in the two images are matched by calculating a correlation coefficient peak value; the gradient descent method is used for searching the sub-area with the maximum correlation coefficient, so that the searching time can be effectively prolonged;
calculating the similarity of speckles in the region of interest by using a correlation function in probability statistics, wherein a correlation coefficient solving formula is shown as a formula (8):
Figure DEST_PATH_IMAGE023
formula (8)
In the formula (8)
Figure 807604DEST_PATH_IMAGE024
Represents a correlation coefficient;
Figure DEST_PATH_IMAGE025
representing the gray value size of the position;
Figure 527167DEST_PATH_IMAGE026
representing the gray value of the next point position; wherein when
Figure 460488DEST_PATH_IMAGE027
A value of 1 indicates that the speckle is linearly correlated.
8. The method for real-time detection of the SIFT-based improved digital image correlation method according to claim 1, wherein the method for calculating the displacement of the deformation subarea in the seventh step comprises the following steps:
assuming any two points on the sub-area before deformation
Figure 598208DEST_PATH_IMAGE028
The coordinates are respectively
Figure 60413DEST_PATH_IMAGE029
Figure DEST_PATH_IMAGE030
For the deformed subareas the same two points
Figure 267273DEST_PATH_IMAGE031
The coordinates are respectively
Figure DEST_PATH_IMAGE032
Figure 473126DEST_PATH_IMAGE033
(ii) a The correlation calculation formula is as follows:
Apoint:
Figure DEST_PATH_IMAGE034
formula (9)
BPoint:
Figure 199774DEST_PATH_IMAGE035
formula (10)
And A, B there are two points in the following relationship:
Figure DEST_PATH_IMAGE036
formula (11)
According to the theory of continuous mechanical medium, when
Figure 816569DEST_PATH_IMAGE037
When the magnitude transformation of (2) is close to 0, the solution relationship of the displacement of the point B can be approximately expressed by the relationship between the displacement of the point A and the first derivative of the displacement of the point A as follows:
Figure DEST_PATH_IMAGE038
formula (12)
Will be provided with
Figure 261457DEST_PATH_IMAGE039
Substituting into the formula to obtain formula (13)
Figure DEST_PATH_IMAGE040
Formula (13)
Wherein,
Figure 989110DEST_PATH_IMAGE041
for horizontal displacement of deformation fieldAnd vertical displacement.
9. The method as claimed in claim 1, wherein the SIFT-based improved digital image correlation method is used for real-time detection, and the interpolation method using non-feature point displacement is used in the step eight when the displacement feature vector is used to represent the deformation, and the difference value of the non-feature point is interpolated by the displacement change obtained from the calculated feature points.
CN202110438916.5A 2021-04-23 2021-04-23 SIFT-improvement-based digital image correlation method real-time detection method Withdrawn CN113095323A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110438916.5A CN113095323A (en) 2021-04-23 2021-04-23 SIFT-improvement-based digital image correlation method real-time detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110438916.5A CN113095323A (en) 2021-04-23 2021-04-23 SIFT-improvement-based digital image correlation method real-time detection method

Publications (1)

Publication Number Publication Date
CN113095323A true CN113095323A (en) 2021-07-09

Family

ID=76679613

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110438916.5A Withdrawn CN113095323A (en) 2021-04-23 2021-04-23 SIFT-improvement-based digital image correlation method real-time detection method

Country Status (1)

Country Link
CN (1) CN113095323A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114526682A (en) * 2022-01-13 2022-05-24 华南理工大学 Deformation measurement method based on image feature enhanced digital volume image correlation method
CN117329977A (en) * 2023-11-28 2024-01-02 中国飞机强度研究所 Visual characteristic characterization and measurement processing method for structural fatigue crack under complex working condition

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114526682A (en) * 2022-01-13 2022-05-24 华南理工大学 Deformation measurement method based on image feature enhanced digital volume image correlation method
CN117329977A (en) * 2023-11-28 2024-01-02 中国飞机强度研究所 Visual characteristic characterization and measurement processing method for structural fatigue crack under complex working condition
CN117329977B (en) * 2023-11-28 2024-02-13 中国飞机强度研究所 Visual characteristic characterization and measurement processing method for structural fatigue crack under complex working condition

Similar Documents

Publication Publication Date Title
CN105139412B (en) A kind of high spectrum image angular-point detection method and system
CN109883533B (en) Low-frequency vibration measurement method based on machine vision
CN101539629B (en) Remote sensing image change detection method based on multi-feature evidence integration and structure similarity
CN105574534A (en) Significant object detection method based on sparse subspace clustering and low-order expression
CN107328502B (en) Anchor rod tray load visualization digital imaging method
CN104657955B (en) The displacement field iteration smoothing method of Digital Image Correlation Method based on kernel function
CN113095323A (en) SIFT-improvement-based digital image correlation method real-time detection method
CN104657999B (en) A kind of Digital Image Correlation Method based on kernel function
CN111354033B (en) Digital image measuring method based on feature matching
CN108765476A (en) Polarized image registration method
CN102930576A (en) Feature flow-based method for generating abstract line drawing
CN115096206B (en) High-precision part size measurement method based on machine vision
CN110378924A (en) Level set image segmentation method based on local entropy
CN112801141B (en) Heterogeneous image matching method based on template matching and twin neural network optimization
CN117745697A (en) Steel surface defect detection algorithm based on improved YOLOv8 model
CN102510437B (en) Method for detecting background of video image based on distribution of red, green and blue (RGB) components
CN113807238A (en) Visual measurement method for area of river surface floater
CN113642397A (en) Object length measuring method based on mobile phone video
CN117372480A (en) Point cloud registration method utilizing self-adaptive downsampling and curvature enhancement point-to-point characteristics
CN116664531A (en) Deep learning-based large deformation measurement method and system
CN111126508A (en) Hopc-based improved heterogeneous image matching method
CN116051808A (en) YOLOv 5-based lightweight part identification and positioning method
CN111899284B (en) Planar target tracking method based on parameterized ESM network
Deshpande et al. Super resolution based low cost vision system
Cai et al. Model-informed deep learning-based compressive sensing for resampling and recovering 2D SHM vision data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20210709