Disclosure of Invention
Therefore, it is necessary to provide a pixel-level shear-sensitive liquid crystal calibration method and device with convenience and multipoint measurement for solving the problems of the conventional technology. The method utilizes the characteristic that certain liquid crystals are only sensitive to the shear stress within a certain temperature range, can realize the surface measurement of the shear stress field between the medium and the wall surface, effectively eliminates errors, improves the measurement precision, and has the beneficial effect of small fluid disturbance.
In a first aspect, an embodiment of the present invention provides a method for calibrating pixel-level shear-sensitive liquid crystal, where the method includes: manufacturing a calibration piece with the same shape and size as the piece to be measured, and processing the calibration plane of the calibration piece; obtaining a magnitude calibration curve by performing magnitude calibration operation on the calibration piece; calculating Hue values of each pixel point at multiple angles according to multiple pictures obtained by shooting, and performing Gaussian curve fitting operation on the Hue values-angles phi aiming at each pixel point; the Hue value-angle obtained
Substituting the maximum value of the Hue value in the Gaussian curve into the magnitude calibration curve, wherein the obtained tau value is the shearing stress value of each pixel point; and completing the calibration operation of all the pixel points in the full plane of the calibration piece according to the obtained shearing stress value of each pixel point.
In one embodiment, the processing operation on the calibration plane of the calibration piece comprises: making a counter bore with the same size as the shear stress measuring device on a first plane of the calibration piece; spraying shear sensitive liquid crystal on a second plane of the calibration piece; the shear stress measuring device is a friction resistance balance, the first plane is a plane with the calibration piece arranged upwards, and the second plane is a plane opposite to the first plane.
In one embodiment, the obtaining a magnitude calibration curve by performing a magnitude calibration operation on the calibration part includes: and under the condition that the air flow speed borne by the calibration piece is gradually increased within a preset range, obtaining a Hue-tau curve within the preset calibration speed range through fitting operation, and defining the Hue-tau curve as the magnitude calibration curve.
In one embodiment, the method further comprises the following steps: and the first plane provided with the shear stress measuring device faces upwards, so that the angle of an air source borne by the calibration piece is 0 degree, the air source direction uniformly covers the first plane, and the direction of the shear stress in the first plane is the same as the direction of the air source.
In one embodiment, the method further comprises the following steps: the method comprises the steps of respectively setting a shooting device at 0 degree, +/-30 degrees and +/-60 degrees for carrying out multi-angle shooting to obtain a plurality of pictures, wherein the position of the shooting device, which is vertically opposite to a calibration plane of the calibration piece, is 0 degree, the shooting device is a CCD camera, and the CCD camera is placed right above the calibration plane and forms an angle of 40 degrees with the calibration plane and is fixed by a fixing frame.
In one embodiment, the method further comprises the following steps: in the shooting process of the shooting device, the speed of the airflow borne by the calibration piece, the speed direction of the airflow borne by the calibration piece, the temperature borne by the calibration piece and the illumination intensity borne by the calibration piece are kept unchanged, wherein the illumination intensity is formed by positioning a white lamp right above the calibration plane to form a surface light source, and the surface light source vertically irradiates on the calibration plane.
In one embodiment, the method further comprises the following steps: adjusting an air source pressure reducing valve within the preset calibration speed range of an air source, and recording a shear stress value corresponding to each measuring point under each calibration speed value in the state of accelerating the air flow speed step by step; and acquiring the shearing stress value tau of all pixel points of each calibration speed value by a linear interpolation method.
In one embodiment, the method further comprises the following steps: based on a second plane sprayed with the shear-sensitive liquid crystal, adjusting an air source pressure reducing valve within the preset calibration speed range of an air source, and acquiring a Hue value of each pixel point of a shot image converted by aiming at each calibration speed value through a shooting device under the state of gradually increasing the air flow speed; and performing curve fitting operation on the Hue value and the shear stress value tau of all the pixel points of each calibration speed value acquired by a linear interpolation method to acquire the magnitude calibration curve.
In one embodiment, the thickness of the shear sensitive liquid crystal sprayed on the calibration piece is the same as the expected spraying thickness of the shear sensitive liquid crystal on the piece to be tested.
In a second aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method for calibrating a pixel-level shear-sensitive liquid crystal according to the first aspect is implemented.
In a third aspect, an embodiment of the present invention provides a computer program product containing instructions, which when run on a computer, causes the computer to perform the method according to the first aspect.
In a fourth aspect, the present invention provides a pixel-level trimming liquid crystal calibration apparatus, including: the device comprises a preprocessing operation module, a calibration module and a control module, wherein the preprocessing operation module is used for manufacturing a calibration piece with the same shape and size as a piece to be detected and processing the calibration plane of the calibration piece; the magnitude calibration curve acquisition module is used for acquiring a magnitude calibration curve by performing magnitude calibration operation on the calibration piece; the fitting operation module is used for calculating Hue values of each pixel point at multiple angles according to multiple pictures obtained by shooting, and performing Gaussian curve fitting operation on the Hue values-angles phi aiming at each pixel point; a pixel point shearing stress value obtaining module for obtaining the Hue value-angle
Substituting the maximum value of the Hue value in the Gaussian curve into the magnitude calibration curve, wherein the obtained tau value is the shearing stress value of each pixel point; and the calibration module is used for completing calibration operation of all the pixel points in the full plane of the calibration piece according to the acquired shearing stress value of each pixel point.
The invention provides a pixel-level shear sensitive liquid crystal calibration method and device, which are used for manufacturing a liquid crystal display device with the same shape and size as a to-be-detected pieceThe calibration piece is used for processing the calibration plane of the calibration piece; obtaining a magnitude calibration curve by performing magnitude calibration operation on a calibration piece; calculating Hue values of each pixel point at multiple angles according to multiple pictures obtained by shooting, and performing Gaussian curve fitting operation on the Hue values-angles phi aiming at each pixel point; hue value-angle to be obtained
Substituting the maximum value of Hue value in the Gaussian curve into the magnitude calibration curve, wherein the obtained tau value is the shearing stress value of each pixel point; and finishing the calibration operation of all the pixel points in the full plane of the calibration piece according to the obtained shearing stress value of each pixel point. The method can effectively eliminate errors and improve the measurement precision.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clearly understood, the following describes a pixel-level trimming liquid crystal calibration method and apparatus provided by the present invention in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 is a schematic flow chart of a calibration method of a pixel-level shear sensitive liquid crystal in an embodiment, which specifically includes the following steps:
102, making a calibration piece with the same shape and size as the piece to be measured, and processing the calibration plane of the calibration piece.
In this embodiment, the processing operation on the calibration plane of the calibration piece includes: manufacturing a counter bore with the same size as the shear stress measuring device on a first plane of a calibration plane of the calibration piece; spraying shear sensitive liquid crystal on a second plane of the calibration piece; the shear stress measuring device is a friction resistance balance, the first plane is a plane with the calibration piece of the shear stress measuring device facing upwards, and the second plane is a plane opposite to the first plane. It should be noted that the thickness of the shear sensitive liquid crystal sprayed on the calibration piece is the same as the expected thickness of the shear sensitive liquid crystal sprayed on the piece to be measured.
And 104, obtaining a magnitude calibration curve by performing magnitude calibration operation on the calibration piece.
In this embodiment, obtaining the magnitude calibration curve by performing the magnitude calibration operation on the calibration element includes: and under the condition that the air flow speed borne by the calibration piece is gradually increased within a preset range, obtaining a Hue-tau curve through fitting operation within the preset calibration speed range, and defining the Hue-tau curve as a magnitude calibration curve.
And 106, calculating Hue values of each pixel point at multiple angles according to multiple pictures obtained by shooting, and performing Gaussian curve fitting operation on the Hue values-angles phi of each pixel point.
Step 108, obtaining Hue value-angle
Substituting the maximum value of Hue value in the Gaussian curve into the magnitude calibration curve, wherein the obtained tau value is the shearing stress value of each pixel point.
And step 110, completing calibration operation of all pixel points in the full plane of the calibration piece according to the obtained shearing stress value of each pixel point.
In one embodiment, the present disclosure further comprises: the first plane provided with the shear stress measuring device faces upwards, so that the angle of an air source borne by the calibration piece is 0 degree, the direction of the air source uniformly covers the first plane, and the direction of the shear stress in the first plane is the same as the direction of the air source.
In one embodiment, the present disclosure further comprises: the shooting device is respectively arranged at 0 degree, 30 degrees and 60 degrees for shooting at multiple angles to obtain a plurality of pictures, wherein the position of the shooting device which is vertically opposite to the calibration plane of the calibration piece is 0 degree, the shooting device is a CCD camera, and the CCD camera is arranged right above the calibration plane and forms an angle of 40 degrees with the calibration plane and is fixed by a fixing frame.
In one embodiment, the present disclosure further comprises: in the shooting process of the shooting device, the speed of the airflow borne by the calibration piece, the speed direction of the airflow borne by the calibration piece, the temperature borne by the calibration piece and the illumination intensity borne by the calibration piece are kept unchanged, wherein the illumination intensity is formed to be directly above a calibration plane through a white lamp to form a surface light source, and the surface light source vertically irradiates on the calibration plane.
In one embodiment, the present disclosure further comprises: adjusting an air source pressure reducing valve within an air source preset calibration speed range, and recording a shear stress value corresponding to each measuring point under each calibration speed value in a state of accelerating the air flow speed step by step; and acquiring the shearing stress value tau of all pixel points of each calibration speed value by a linear interpolation method.
In one embodiment, the present disclosure further comprises: based on a second plane sprayed with the shear-sensitive liquid crystal, adjusting an air source pressure reducing valve within a preset air source calibration speed range, and acquiring a Hue value of each pixel point of a shot image converted by aiming at each calibration speed value through a shooting device under the state of gradually increasing the air flow speed; and performing curve fitting operation on the Hue value and the shear stress value tau of all pixel points of each calibration speed value acquired by a linear interpolation method to acquire a magnitude calibration curve.
The invention provides a pixel-level shear sensitive liquid crystal calibration method, which comprises the steps of manufacturing a calibration piece with the same shape and size as a piece to be measured, and processing a calibration plane of the calibration piece; obtaining a magnitude calibration curve by performing magnitude calibration operation on a calibration piece; calculating Hue values of each pixel point at multiple angles according to multiple pictures obtained by shooting, and aiming at each pictureCarrying out Gaussian curve fitting operation on the Hue value-angle phi by the pixel points; hue value-angle to be obtained
Substituting the maximum value of Hue value in the Gaussian curve into the magnitude calibration curve, wherein the obtained tau value is the shearing stress value of each pixel point; and finishing the calibration operation of all the pixel points in the full plane of the calibration piece according to the obtained shearing stress value of each pixel point. The method can effectively eliminate errors and improve the measurement precision. Based on the same invention concept, the invention also provides a pixel-level shear-sensitive liquid crystal calibration device. The principle of solving the problems of the pixel-level shear-sensitive liquid crystal calibration device is similar to that of the pixel-level shear-sensitive liquid crystal calibration method, so the implementation of the pixel-level shear-sensitive liquid crystal calibration device can be carried out according to the specific steps and time limits of the method, and repeated parts are not repeated.
Fig. 2 is a schematic structural diagram of a pixel-level trimming liquid crystal calibration apparatus in an embodiment.
Specifically, the pixel-level shear sensitive liquid
crystal calibration apparatus 10 includes: the preprocessing operation module 100 is used for manufacturing a calibration piece with the same shape and size as the piece to be detected, and processing the calibration plane of the calibration piece; the magnitude calibration curve obtaining module 200 is configured to obtain a magnitude calibration curve by performing magnitude calibration operation on a calibration piece; the fitting operation module 300 is configured to calculate Hue values of each pixel point at multiple angles according to multiple pictures obtained by shooting, and perform fitting operation of a gaussian curve on the Hue value-angle phi for each pixel point; the pixel point shear stress value obtaining module 400 is used for obtaining Hue value-angle
Substituting the maximum value of Hue value in the Gaussian curve into the magnitude calibration curve, wherein the obtained tau value is the shearing stress value of each pixel point; the calibration module 500 is configured to complete calibration operations on all pixel points in the full plane of the calibration piece according to the obtained shear stress value of each pixel point.
The invention provides a pixel-level shear sensitive liquid crystal calibration device.A preprocessing operation module 100 is used for manufacturing a calibration piece with the same shape and size as a piece to be detected and processing a calibration plane of the calibration piece; the magnitude calibration curve obtaining module 200 is configured to obtain a magnitude calibration curve by performing magnitude calibration operation on a calibration piece; the fitting operation module 300 is configured to calculate Hue values of each pixel point at multiple angles according to multiple pictures obtained by shooting, and perform fitting operation of a gaussian curve on the Hue value-angle phi for each pixel point; the pixel point shear stress value obtaining module 400 is used for obtaining Hue value-angle
Substituting the maximum value of Hue value in the Gaussian curve into the magnitude calibration curve, wherein the obtained tau value is the shearing stress value of each pixel point; the calibration module 500 is configured to complete calibration operations on all pixel points in the full plane of the calibration piece according to the obtained shear stress value of each pixel point. The device can effectively eliminate errors and improve the measurement precision.
Fig. 3-4 are schematic diagrams illustrating a structure of a pixel-level shear sensitive liquid crystal calibration device.
Specifically, a calibration piece identical to the experimental piece is machined, a counter bore identical to the friction resistance balance in size is machined in one surface of a calibration plane, and the friction resistance balance is placed into the calibration plane for measuring the wall shear stress value. The other side of the plane of the standard piece is used for spraying shear sensitive liquid crystal. The CCD camera is placed directly above the calibration plane at an angle of 40 degrees and fixed by a fixing frame. The white lamp is positioned right above the calibration plane to form a surface light source which vertically irradiates on the calibration plane. The air source is fixed in position and blows air in a direction parallel to the nominal plane. The calibration steps are roughly divided into the following steps: 1) magnitude calibration: the position of the camera opposite to the calibration plane is 0 degree, so that the air flow blown out from the air source is ensured to be even and blown through the calibration plane in parallel, and the shooting direction of the camera is ensured to be the real shearing stress direction. And (3) changing the air flow speed, and fitting a Hue-tau curve in a calibration speed range. 2) Angle calibration: during real measurement, 5 CCD cameras are respectively placed at 0 degree, 30 degrees and 60 degrees for multi-angle shooting (please refer to the attached drawing for position description), the Hue value corresponding to each pixel point is calculated for each image, a Gaussian curve of the Hue value and the angle phi is fitted, and the corresponding angle with the maximum Hue value is the shearing stress direction at the position. And substituting the maximum value of Hue into a quantitative calibration curve, wherein the corresponding tau is the real shearing stress value of the pixel point.
In addition, it should be noted that the specific calibration process is as follows: the calibration surface with the friction resistance balance is upward, the angle of an air source is ensured to be 0 degree, the whole plane is uniformly covered, and the direction of the shear stress in the plane is ensured to be the same as the direction of the air flow. And adjusting the air source pressure reducing valve within the range of the calibration speed, changing the air flow speed, and recording the shear stress value corresponding to each measuring point at each calibration speed value. And obtaining the shearing stress value tau of all pixel points of each calibration speed value by a linear interpolation method.
And (3) inverting the calibration plane, uniformly spraying liquid crystal on the calibration plane, repeating the operation of adjusting the air flow speed, simultaneously shooting by using a CCD (charge coupled device), and converting each calibration speed value to obtain the Hue value of each pixel point of the shot image. And fitting a curve to the tau obtained in the first step of the obtained Hue value to obtain a magnitude calibration curve.
Under the real test condition, 5 cameras are used for shooting images through a CCD camera at +/-60 degrees, +/-30 degrees and 0 degrees respectively, and the Hue value Hue of each pixel point at each angle is obtained. And fitting a Gaussian curve aiming at each pixel point to the Hue-angle phi, wherein the angle with the maximum Hue value is the shear stress direction of the position, and substituting the Hue maximum value into the quantity and the calibration curve to obtain the magnitude of the shear stress. The real shearing stress values of all the pixel points in the full plane can be obtained through the calibration process.
The embodiment of the invention also provides a computer readable storage medium. The computer-readable storage medium has stored thereon a computer program, which is executed by the processor of fig. 1.
The embodiment of the invention also provides a computer program product containing the instruction. Which when run on a computer causes the computer to perform the method of fig. 1 described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.