Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art described above.
Therefore, the invention aims to provide a method for measuring the static contact angle of the surface with low hydrophobicity. According to the method for measuring the static contact angle of the weak hydrophobic surface, local polynomial fitting is carried out on a dropped local contour line through an image of a liquid drop on the weak hydrophobic surface, the measured value of the static contact angle of the weak hydrophobic surface is obtained through local fitting, and the precision of the measured value of the static contact angle of the weak hydrophobic surface is effectively improved. The invention has the advantages of ingenious conception, novel design and strong practicability.
The invention also aims to provide a system for measuring the static contact angle of the surface with low hydrophobicity.
In order to achieve the above object, an aspect of the present invention discloses a method for measuring a static contact angle of a weakly hydrophobic surface, comprising: obtaining an image of a liquid drop statically placed on a weak hydrophobic surface to be detected; determining the contour line of the liquid drop and the base line of the liquid drop and the weak hydrophobic surface to be detected according to the image of the liquid drop which is statically placed on the weak hydrophobic surface to be detected; determining the position of a three-phase contact point according to the base line and the contour line; identifying a plurality of keypoints on the contour line; according to a polynomial fitting method, locally fitting the plurality of key points to form a fitting curve; and obtaining the static contact angle of the weak hydrophobic surface to be detected according to the fitting curve, the base line and the positions of the three-phase contact points.
According to the method for measuring the static contact angle of the weak hydrophobic surface, the local polynomial fitting is carried out on the dropped local contour line through the image of the liquid drop on the weak hydrophobic surface, the measured value of the static contact angle of the weak hydrophobic surface is obtained through the local fitting, and the precision of the measured value of the static contact angle of the weak hydrophobic surface is effectively improved. The invention has the advantages of ingenious conception, novel design and strong practicability.
In addition, the method for measuring the static contact angle of the weak hydrophobic surface according to the above embodiment of the present invention may further have the following additional technical features:
further, the step of obtaining the static contact angle of the weak hydrophobic surface to be measured according to the fitted curve, the base line and the position of the three-phase contact point specifically includes: obtaining an expression and a polynomial coefficient of the fitting curve according to the fitting curve; calculating a tangent line at the position of the three-phase contact point according to the expression and the polynomial coefficient of the fitting curve; and calculating the static contact angle of the weak hydrophobic surface to be detected according to the tangent line and the base line.
Further, still include: calculating polynomial coefficients from a polynomial array, wherein the formula of the polynomial array is:
where k is the degree of the fitting polynomial, (x)n,yn) Is the location of the keypoint.
Further, still include: and comparing the fitting curve with the contour line, and adjusting the order of the fitting polynomial to optimize the fitting result.
In another aspect of the present invention, a system for measuring a static contact angle of a weakly hydrophobic surface is disclosed, which comprises: the acquisition module is used for acquiring an image of the liquid drop statically placed on the weak hydrophobic surface to be detected; the parameter determining module is connected with the acquiring module and used for determining the contour line of the liquid drop and the baseline of the liquid drop and the weak hydrophobic surface to be detected according to the image of the liquid drop statically placed on the surface to be detected and further determining the position of a three-phase contact point according to the baseline and the contour line; the identification module is connected with the parameter determining module and is used for identifying a plurality of key points on the contour line; the fitting module is connected with the identification module and used for locally fitting the plurality of key points to form a fitting curve according to a polynomial fitting method; and the processing module is respectively connected with the parameter determining module and the fitting module and is used for obtaining the static contact angle of the weak hydrophobic surface to be detected according to the fitting curve, the base line and the positions of the three-phase contact points.
According to the system for measuring the static contact angle of the weak hydrophobic surface, the local polynomial fitting is carried out on the dropped local contour line through the image of the liquid drop on the weak hydrophobic surface, the measured value of the static contact angle of the weak hydrophobic surface is obtained through the local fitting, and the precision of the measured value of the static contact angle of the weak hydrophobic surface is effectively improved. The invention has the advantages of ingenious conception, novel design and strong practicability.
In addition, the system for measuring the static contact angle of the weakly hydrophobic surface according to the above embodiment of the present invention may further have the following additional technical features:
further, the processing module is specifically configured to obtain an expression and a polynomial coefficient of a fitting curve according to the fitting curve, calculate a tangent line at the position of the three-phase contact point according to the expression and the polynomial coefficient of the fitting curve, and calculate the static contact angle of the weak hydrophobic surface to be measured according to the tangent line and the baseline.
Further, the processing module is further configured to calculate polynomial coefficients according to a polynomial array, where the formula of the polynomial array is:
where k is the degree of the fitting polynomial, (x)n,yn) Is the location of the keypoint.
Further, still include: and the optimization module is connected with the fitting module and used for comparing the fitting curve with the contour line and adjusting the order of the fitting polynomial to optimize the fitting result.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
The following describes a method and a system for measuring the static contact angle of a weak hydrophobic surface according to an embodiment of the present invention with reference to the accompanying drawings.
FIG. 1 is a flow chart of a method for measuring static contact angle of a weakly hydrophobic surface according to an embodiment of the present invention.
As shown in fig. 1, a method for measuring a static contact angle of a weakly hydrophobic surface according to an embodiment of the present invention includes:
s110: and acquiring an image of the liquid drop statically placed on the weak hydrophobic surface to be detected.
As an example, referring to FIG. 2, a schematic diagram of a droplet resting on a weakly hydrophobic surface to be measured is shown. First, the substance of the weakly hydrophobic surface to be measured is placed on the stage used for measurement. Then, the micro-injector is used for stably and quantitatively titrating the liquid drops on the weak hydrophobic surface to be measured in a zero-kinetic energy mode, and the measured objective table can be positioned at any angle. The contour of the drop is captured from the side of the drop by means of a macro lens and a camera, and the edge contour of the drop can be clearly seen by the obtained image through a system of a backlight source and a soft light. By adjusting the focal length, the focal point of the camera is located at the maximum profile of the drop. The obtained droplet image is subjected to binarization processing to obtain an image as shown in fig. 2.
S120: and determining the contour line of the liquid drop and the base line of the liquid drop and the weak hydrophobic surface to be detected according to the image of the liquid drop which is statically arranged on the weak hydrophobic surface to be detected.
Referring to fig. 3, the contact line between the droplet and the weak hydrophobic surface to be measured is identified in the image by enlarging a part of the droplet, the position of the contact line between the droplet and the surface is determined using the projection of the droplet on the surface as auxiliary information, and the position is located at the base line C1.
S130: and determining the position of the three-phase contact point according to the base line and the contour line.
The three-phase contact point is a point where the weak hydrophobic surface to be detected, the liquid drop and the air are contacted with each other, or the three-phase contact point can be a point where the base line and the contour line are intersected. As shown in fig. 3, the three-phase contact point is at position K1.
S140: a plurality of keypoints on the contour line is identified.
Referring to fig. 3, the outline of the droplet is subjected to image recognition, and the positions of 5-6 key points are determined, wherein the key points are as follows: k1, K2, K3, K4 and K5. Wherein, the position of the three-phase contact point can also be used as a key point.
S150: and according to a polynomial fitting method, locally fitting a plurality of key points to form a fitting curve.
Specifically, referring to fig. 3-5, it can be seen that in the acquired image, the contour line is a curve, which is a polynomial function, so a polynomial fitting method is used to fit a plurality of key points to form a fitting curve, wherein the fitting is oriented as C2 shown in fig. 4.
S160: and obtaining the static contact angle of the weak hydrophobic surface to be detected according to the fitted curve, the base line and the positions of the three-phase contact points.
Step S160 specifically includes: obtaining an expression and a polynomial coefficient of the fitting curve according to the fitting curve; calculating a tangent line at the position of the three-phase contact point according to the expression and the polynomial coefficient of the fitting curve; and calculating the static contact angle of the weak hydrophobic surface to be detected according to the tangent line and the base line.
Further, still include: calculating polynomial coefficients according to a polynomial array, wherein the formula of the polynomial array is:
where k is the degree of the fitting polynomial, (x)n,yn) Is the location of the keypoint.
As an example, the contour line of the droplet is fitted by a polynomial fitting method in a form suitable for the contour line shape of the surface with weak hydrophobicity, and the contour coordinates thereof are considered to satisfy the formula (1),
y-a0+a1x+...+akxk=0 (1)
will measure local key points (x) in the imagei,yi) Namely: the coordinates of key points of K1, K2, K3, K4 and K5 are taken into formula (2) to obtain the fitted residual square sum, wherein K is the number of times of fitting a plurality of forms, and generally takes values of 5 and 6
Wherein epsilon is the residual error of the test point, Q is the sum of squares of the residual errors, the derivation of the parameter to be tested is carried out by utilizing the sum of squares of the residual errors to obtain a formula (3),
the result in equation (3) is collated to obtain a method for calculating a polynomial parameter matrix,
through the above calculation, the local profile line polynomial fitting result of the weak hydrophobic surface static contact angle measurement is shown in fig. 4. And calculating a tangent line of the fitting curve at the position of the three-phase contact point through parameters of the fitting polynomial, and calculating an included angle formed by the tangent line and the base line to obtain a tangent line C3 calculation and contact angle measurement result of the measurement of the static contact angle of the surface to be measured with weak hydrophobicity.
In some embodiments, further comprising: and comparing the fitting curve with the contour line, and adjusting the order of the fitting polynomial to optimize the fitting result. Therefore, the fitting result can be obtained more accurately.
In conclusion, the device and the method are used for measuring the contact angle of various types of contact angle measuring devices, can be used for measuring the static contact angle of the aged silicon rubber surface, and can also be used for measuring the static contact angle of different types of weak hydrophobic surfaces.
According to the method for measuring the static contact angle of the weak hydrophobic surface, the local polynomial fitting is carried out on the dropped local contour line through the image of the liquid drop on the weak hydrophobic surface, the measured value of the static contact angle of the weak hydrophobic surface is obtained through the local fitting, and the precision of the measured value of the static contact angle of the weak hydrophobic surface is effectively improved. The invention has the advantages of ingenious conception, novel design and strong practicability.
Fig. 6 is a block diagram of a system for measuring static contact angle of a weakly hydrophobic surface according to an embodiment of the present invention.
As shown in fig. 6, the system 200 for measuring the static contact angle of the weakly hydrophobic surface according to one embodiment of the present invention includes: an acquisition module 210, a parameter determination module 220, a recognition module 230, a fitting module 240, and a processing module 250.
The obtaining module 210 is configured to obtain an image of a liquid droplet standing on a weak hydrophobic surface to be detected. The parameter determining module 220 is connected to the obtaining module 210, and configured to determine, according to the image of the liquid droplet standing on the surface to be detected, a contour line of the liquid droplet and a baseline of the liquid droplet and the weak hydrophobic surface to be detected, and further determine, according to the baseline and the contour line, a position of a three-phase contact point. The identification module 230 is coupled to the determine parameters module 220 for identifying a plurality of keypoints on the contour line. The fitting module 240 is connected to the identifying module 230, and is configured to partially fit the plurality of key points to form a fitting curve according to a polynomial fitting method. The processing module 250 is respectively connected to the parameter determining module 220 and the fitting module 240, and is configured to obtain the static contact angle of the weak hydrophobic surface to be measured according to the fitting curve, the baseline, and the positions of the three-phase contact points.
According to the system for measuring the static contact angle of the weak hydrophobic surface, the local polynomial fitting is carried out on the dropped local contour line through the image of the liquid drop on the weak hydrophobic surface, the measured value of the static contact angle of the weak hydrophobic surface is obtained through the local fitting, and the precision of the measured value of the static contact angle of the weak hydrophobic surface is effectively improved. The invention has the advantages of ingenious conception, novel design and strong practicability.
In some embodiments, the processing module 250 is specifically configured to obtain an expression and a polynomial coefficient of a fitting curve according to the fitting curve, calculate a tangent line at the position of the three-phase contact point according to the expression and the polynomial coefficient of the fitting curve, and calculate the static contact angle of the weak hydrophobic surface to be measured according to the tangent line and the baseline.
In some embodiments, the processing module 250 is further configured to calculate polynomial coefficients from a polynomial array, wherein the formula of the polynomial array is:
where k is the degree of the fitting polynomial, (x)n,yn) Is the location of the keypoint.
In some embodiments, further comprising: and the optimizing module is connected with the fitting module 240 and is used for comparing the fitting curve with the contour line and adjusting the order of the fitting polynomial to optimize the fitting result.
It should be noted that a specific implementation manner of the weak hydrophobic surface static contact angle measurement system in the embodiment of the present invention is similar to that of the weak hydrophobic surface static contact angle measurement method in the embodiment of the present invention, and please refer to the description of the weak hydrophobic surface static contact angle measurement method, which is not repeated herein in order to reduce redundancy.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.