Method, device, electronic device and storage medium for acquiring sky polarization pattern information
By constructing a polarization information model and using the least squares method to estimate the polarizer rotation angle and parameters, the problem of measurement errors caused by rapidly rotating polarizers is solved, the accuracy of obtaining sky polarization pattern information is improved, and more reliable data is provided for polarized light navigation. .
Patent Information
- Application Number
- CN202110699667.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-23
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2041-06-23
AI Technical Summary
Existing methods for obtaining sky polarization pattern information cannot accurately rotate the polarizer to a specified angle when rapidly rotating the polarizer, resulting in measurement errors and affecting the accuracy of polarization navigation.
By collecting multiple images, the Stokes vector representation is used to construct a polarization information model, the least squares method is used to estimate the polarizer rotation angle and parameters, and iterative adjustments are made step by step until the error reaches a preset value to determine the sky polarization pattern information.
It improves the accuracy of obtaining sky polarization pattern information, provides more reliable polarization information data, reduces errors caused by inaccuracies in rotating polarizers, and enhances the accuracy of polarized light navigation.
Smart Images

Figure CN113532419B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of polarization navigation technology, and in particular to a method, device, electronic device and storage medium for acquiring sky polarization pattern information. Background Art
[0002] The sky polarization pattern is a specific polarization state distribution generated by the scattering of sunlight by particles in the atmosphere during atmospheric transmission. The sky contains a wealth of polarization pattern information. Some organisms use the special polarization light-sensitive structure in their compound eyes to perceive the sky polarization pattern information during foraging and returning to the nest, and obtain azimuth information based on the changes in polarization information to achieve navigation and positioning. Polarization navigation can be achieved by imitating the use of polarized light by organisms, and improving the accuracy of obtaining sky polarization pattern information can improve the accuracy of polarization light navigation.
[0003] Existing sky polarization pattern information is mostly obtained through polarization information measurement systems. However, the measurement system needs to rotate the direction of the polarizer multiple times during the measurement process. When the polarizer is rotated quickly, the polarizer may not be able to accurately rotate to the specified angle, causing errors. Summary of the invention
[0004] The present invention provides a method, device, electronic device and storage medium for acquiring sky polarization pattern information, so as to solve the defect in the prior art that sky polarization pattern information cannot be accurately acquired, thus affecting the accuracy of polarization navigation.
[0005] The present invention provides a method for acquiring sky polarization pattern information, comprising:
[0006] Collecting multiple images representing information of sky polarization patterns, and obtaining polarized light intensity of a target area in each image; wherein the polarizers corresponding to the images have different rotation angles;
[0007] Taking the polarized light intensity of the target area in each image as a known parameter, or taking the polarized light intensity of the target area in each image, and any one of the polarizer rotation angle corresponding to each image and the polarization parameter of the target area in each image as a known parameter, solving the polarization information model to obtain the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image, wherein the polarization information model represents the relationship between the polarized light intensity of the target area in each image, the polarizer rotation angle corresponding to each image and the polarization parameter of the target area in each image;
[0008] Based on the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image, the sky polarization pattern information is determined; the sky polarization pattern information includes the polarization degree and polarization angle of each image.
[0009] According to a method for acquiring sky polarization pattern information provided by the present invention, the polarization information model is constructed based on the following steps:
[0010] Based on the polarized light intensity of each point in the target area of each image, the rotation angle of the polarizer corresponding to each point in the target area of each image, the unpolarized light intensity corresponding to each point in the target area of each image, the linear polarized light intensity difference in the first direction of each point in the target area of each image, and the linear polarized light intensity difference in the second direction of each point in the target area of each image, the Stokes vector representation method is used to construct an initial polarization information model of each image; the first direction is orthogonal to the second direction;
[0011] The first expression is obtained by using the polarized light intensity of each point in the target area in each image, the polarization degree corresponding to each point in the target area in each image, and the polarization angle corresponding to each point in the target area in each image to represent the linear polarized light intensity difference in the first direction of each point in the target area in each image; the second expression is obtained by using the polarized light intensity of each point in the target area in each image, the polarization degree corresponding to each point in the target area in each image, and the polarization angle corresponding to each point in the target area in each image to represent the linear polarized light intensity difference in the second direction of each point in the target area in each image;
[0012] After substituting the first expression and the second expression into the initial polarization information model of each image, the initial polarization information models of each image are fused to obtain the polarization information model.
[0013] According to a method for acquiring sky polarization pattern information provided by the present invention, the polarization information model is:
[0014] C = HA;
[0015] in, Represents the polarized light intensity of each point in the target area in the nth image, I n represents the unbiased light intensity at each point in the target area in the nth image, d n Represents the polarization degree of each point in the target area in the nth image, Represents the polarization angle of each point in the target area in the nth image, θ n Indicates the rotation angle of the polarizer at each point in the target area in the nth image.
[0016] According to a method for obtaining sky polarization pattern information provided by the present invention, the polarization information model is solved by taking the polarized light intensity of the target area in each image and the polarizer rotation angle corresponding to each image as known parameters to obtain the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameters of the target area in each image, including:
[0017] Taking the polarized light intensity of the target area in each image and the rotation angle of the polarizer corresponding to each image as known parameters, the first model is used to perform least squares estimation on the polarization parameters of the target area in each image, to obtain the first column vector corresponding to the polarization parameters of the target area in each image, and determine the optimal polarization parameters of the target area in each image based on each of the first column vectors;
[0018] The first model is:
[0019]
[0020] in, represents the first column vector, 0 h represents the zero matrix.
[0021] According to a method for obtaining sky polarization pattern information provided by the present invention, the polarization information model is solved by taking the polarized light intensity of the target area in each image and the polarization parameter of the target area in each image as known parameters to obtain the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image, including:
[0022] Taking the polarized light intensity of the target area in each image and the polarization parameter of the target area in each image as known parameters, using the second model to perform least squares estimation on the polarizer rotation angle corresponding to each image, obtaining a second column vector corresponding to the polarizer rotation angle corresponding to each image, and determining the optimal polarizer rotation angle corresponding to each image based on each of the second column vectors;
[0023] The second model is:
[0024]
[0025] in, represents the second column vector, 0 a The dimension is The zero matrix of
[0026] According to a method for obtaining sky polarization pattern information provided by the present invention, the polarization light intensity of the target area in each image is used as a known parameter, the polarization information model is solved to obtain the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image, including:
[0027] The step of determining the rotation angle of the polarizer: determining the rotation angle of the polarizer corresponding to each image based on the polarization device;
[0028] Polarization parameter estimation step: using the first model to perform least squares estimation on the polarization parameters of the target area in each image, obtaining a first column vector corresponding to the polarization parameters of the target area in each image, and determining the polarization parameters of the target area in each image based on each of the first column vectors;
[0029] The step of estimating the polarizer rotation angle is as follows: using the polarized light intensity of the target area in each image and the polarization parameter of the target area in each image as known parameters, using the second model to perform least squares estimation on the polarizer rotation angle corresponding to each image, obtaining a second column vector corresponding to the polarizer rotation angle corresponding to each image, and determining the polarizer rotation angle corresponding to each image based on each of the second column vectors;
[0030] Error cost determination step: based on the polarization parameters of the target area in each image and the rotation angle of the polarizer corresponding to each image, the minimum mean square error cost function is used to determine the error cost;
[0031] Iteration step: looping the polarization parameter estimation step, the polarizer rotation angle estimation step and the error cost determination step until the error cost reaches a preset value, and taking the polarization parameters of the target area in each corresponding image as the optimal polarization parameters, and the polarizer rotation angle corresponding to each image as the optimal polarizer rotation angle.
[0032] According to a method for acquiring sky polarization pattern information provided by the present invention, the sky polarization pattern information is determined based on the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image, including:
[0033] Determine the unpolarized light intensity corresponding to the target area in each image based on the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image;
[0034] Based on the unpolarized light intensity corresponding to the target area in each image and the optimal polarizer rotation angle corresponding to each image, determining the linear polarized light intensity difference in the first direction of each point and the linear polarized light intensity difference in the second direction of each point;
[0035] The degree of polarization of each image is determined based on the unpolarized light intensity corresponding to the target area in each image, the linear polarized light intensity difference in the first direction of each point, and the linear polarized light intensity difference in the second direction of each point; the polarization angle of each image is determined based on the linear polarized light intensity difference in the first direction of each point and the linear polarized light intensity difference in the second direction of each point.
[0036] The present invention also provides a device for acquiring sky polarization pattern information, comprising:
[0037] An image acquisition unit is used to acquire multiple images representing the polarization pattern information of the sky and obtain the polarized light intensity of the target area in each image; the polarizers corresponding to the images have different rotation angles;
[0038] A parameter solving unit, used to solve the polarization information model by taking the polarization intensity of the target area in each image as a known parameter, or taking the polarization intensity of the target area in each image, and any one of the polarization plate rotation angle corresponding to each image and the polarization parameter of the target area in each image as a known parameter, so as to obtain the optimal polarization plate rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image, wherein the polarization information model represents the relationship between the polarization intensity of the target area in each image, the polarization plate rotation angle corresponding to each image and the polarization parameter of the target area in each image;
[0039] The information determination unit is used to determine the sky polarization pattern information based on the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image; the sky polarization pattern information includes the polarization degree and polarization angle of each image.
[0040] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any of the above-mentioned methods for acquiring sky polarization pattern information when executing the computer program.
[0041] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any of the above-mentioned methods for acquiring sky polarization pattern information are implemented.
[0042] The sky polarization pattern information acquisition method, device, electronic device and storage medium provided by the present invention use the polarized light intensity of the target area in each image as a known parameter, or use the polarized light intensity of the target area in each image, as well as the polarization plate rotation angle corresponding to each image and any one of the polarization parameters of the target area in each image as a known parameter, solve the polarization information model, obtain the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image, and determine the sky polarization pattern information based on the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image, thereby avoiding the error caused by inaccurate rotation of the polarizer during the actual measurement process, improving the accuracy of obtaining the sky polarization pattern information, and providing more reliable polarization information data for polarized light navigation. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0044] Figure 1 This is one of the flow charts of the method for obtaining sky polarization pattern information provided by the present invention;
[0045] Figure 2 This is the second flow chart of the method for obtaining sky polarization pattern information provided by the present invention;
[0046] Figure 3 It is a schematic diagram showing that the cost function E provided by the present invention decreases as the number of iterations increases;
[0047] Figure 4 is a set of target areas N provided by the present invention o = 10 and the estimated polarization angle and polarization degree isovalue diagram of the actual polarization angle and polarization degree;
[0048] Figure 5 It is a schematic diagram of the comparison between the measured value and the true value of the sky polarization pattern information provided by the present invention;
[0049] Figure 6 It is a structural schematic diagram of a device for acquiring sky polarization pattern information provided by the present invention;
[0050] Figure 7 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0052] Existing sky polarization pattern information is mostly obtained through polarization information measurement systems. However, the measurement system needs to rotate the direction of the polarizer multiple times during the measurement process. When the polarizer is rotated quickly, the polarizer may not be able to accurately rotate to the specified angle, causing errors.
[0053] To this end, the present invention provides a method for acquiring sky polarization pattern information. Figure 1 is a flow chart of the method for obtaining sky polarization pattern information provided by the present invention, such as Figure 1 As shown, the method comprises the following steps:
[0054] Step 110, collecting multiple images representing the polarization pattern information of the sky, and obtaining the polarized light intensity of the target area in each image; the polarizer corresponding to each image has a different rotation angle.
[0055] Step 120, using the polarized light intensity of the target area in each image as a known parameter, or using the polarized light intensity of the target area in each image, and any one of the polarizer rotation angle corresponding to each image and the polarization parameter of the target area in each image as a known parameter, solving the polarization information model to obtain the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image, the polarization information model represents the relationship between the polarized light intensity of the target area in each image, the polarizer rotation angle corresponding to each image and the polarization parameter of the target area in each image;
[0056] Step 130: determine sky polarization pattern information based on the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image; the sky polarization pattern information includes the polarization degree and polarization angle of each image.
[0057] Specifically, the sky polarization information measurement system is used to continuously rotate the polarizer to collect images of sky polarization pattern information at multiple different angles in the entire sky area. For example, the polarizer rotation angle coordinate system is set, and the polarizer is rotated from the starting angle to m. At this time, the polarizer angle size is θ o After the incident light passes through the polarizer and enters the sensor for imaging, the polarized light intensity Φ of the target point o in the image can be expressed using the Stokes vector representation method. m,o It is expressed as:
[0058]
[0059] Among them, I o is the unbiased light intensity at point o, Q o , U o Represents the intensity difference of linear polarized light in two orthogonal directions. Based on the polarized light intensity Φ of the target point o in the image m,o , the polarized light intensity of each point in the target area in each image, that is, the polarized light intensity of the target area, can be determined.
[0060] Express equation (1) in matrix form:
[0061]
[0062] The degree of polarization d in the sky polarization pattern information o and polarization angle α o The information can be expressed as:
[0063]
[0064] By combining equations (2) and (3), the polarized light intensity Φ at the target point o can be obtained using the sine and cosine properties: m,o The matrix expression of is:
[0065]
[0066] Among them, Φ m,o Represents the polarized light intensity at point o in the target area of the image, θ o is the rotation angle of the polarizer, d o is the polarization degree at point o, α o is the polarization angle at point o, I o is the unbiased light intensity at point o.
[0067] After selecting a sky area, rotate the polarizer N times to obtain N frames of sky polarization pattern information images. The polarization intensity Φ of point o in the target area in N frames of images n,o It can be expressed as:
[0068]
[0069] where Φ n,o It represents the polarized light intensity of the target area point o in N frames of images corresponding to the polarizer rotating N times, {θ1,θ1,...θ n} is the set of polarizer rotation angles.
[0070] Since each of the N frames of images in which the polarization information measurement system obtains the sky polarization pattern information contains tens of millions of pixels, a set of target areas N is obtained in each of the N frames. o (a sub-region set consisting of multiple pixels), in the N frames of images obtained by rotating the polarizer N times, the target area N o The polarization information can be expressed as:
[0071]
[0072] make
[0073]
[0074] Write formula (6) as:
[0075] C=HA (8)
[0076] in
[0077]
[0078] Assume that the polarizer is rotated at an arbitrary angle and its angle value is unknown. The purpose is to estimate the set of polarizer rotation angles {θ m} and the polarization parameters of all target areas in the image {I o ,d o ,α o Assume that θ1 = 0 is the initial position of the origin, and all rotation angles are based on the origin. Therefore, relative to the first angle θ1 of the polarizer rotation, the angle set of the polarizer rotation is and the polarization angle in the polarization parameters can be estimated, and H is recorded as:
[0079]
[0080] The left side of formula (6) has nN o The measured values are all known, and the number of unknown quantities on the right side of the equation is (n-1)+3N o , the number of equations required to solve the unknowns is:
[0081] n o ≥(n-1)+3N o (12)
[0082] Where n is the number of image frames collected by rotating the polarizer N times, N o is the number of target areas in a single frame image, n>0, N o >0, and n and N o In order to make equation (6) solvable, n and N o The value of must meet the following conditions:
[0083]
[0084] The number of pixels of a single frame image of the sky polarization pattern information obtained by the system is 4000*4000, so the number of target areas is generally N. o >3, rotate the polarizer within the measurement error range to obtain a set of polarizer angles The true value of Therefore, when the number of unknowns satisfies condition ③ in equation (13), equation (6) has a solution.
[0085] Will Substituting into equation (9) we can get the coefficient matrix H of the polarizer rotation angle: true , which can be used to calculate the corresponding polarization parameters The calculation measurement is represented by the matrix A measuredThe least squares method is used for iterative calculation to estimate the optimal polarizer rotation angle and the optimal polarization parameters, and finally the Stokes vector of the target is calculated. Due to the influence of system noise and other interference factors, there is an error between the theoretical calculated value and the actual measured value of the polarized light intensity in each target area, and f error ≠0, so the mean square error between the measurement model and the data can be expressed as:
[0086] f error =||CH true A measured || 2 (14)
[0087] From the above analysis, we can know that the estimation of polarization parameters is completed by optimization method, and the cost function is set as:
[0088] f=||C-HA|| 2 (15)
[0089] Similar to equation (14), the unknown parameters of f include the set of polarizer rotation angles: In addition, the unknown parameters of f also include the target polarization parameter feature set, i.e., A;
[0090]
[0091] like Figure 2 As shown, the method for obtaining sky polarization pattern information in an embodiment of the present invention mainly includes: using a polarization information measurement system to continuously rotate the polarizer to collect a multi-frame polarization pattern information image of a piece of sky; constructing a model for the polarized light intensity of the target area in the acquired sky polarization pattern information image, the polarizer rotation angle set and the polarization parameters, wherein C represents the polarized light intensity of the target area in the multi-frame image, H represents the coefficient matrix of the polarizer rotation angle, and A represents the polarization parameters (such as polarization degree, polarization angle and unpolarized light intensity); constructing a cost function, and using the least squares iterative regression model to calculate the optimal solution to achieve accurate estimation of the polarizer rotation angle, and finally achieve adaptive acquisition of polarization parameters (such as polarization degree and polarization angle) of the sky polarization pattern information.
[0092] The embodiment of the present invention aims at the error caused by inaccurate rotation of the polarizer in the process of obtaining polarization information by a polarization information measurement system. A method is proposed, in which the rotation angle of the polarizer is estimated by an adaptive algorithm when the specific rotation angle of the polarizer is unknown, so as to calculate the polarization angle and polarization degree information of the sky polarization pattern. The error caused by inaccurate rotation of the polarizer in the actual measurement process is avoided, the accuracy of obtaining atmospheric polarization pattern information is improved, more reliable polarization information data is provided for polarized light navigation, and data accuracy is guaranteed as well as new ideas and methods are provided for the application of sky polarization pattern information.
[0093] The method for acquiring sky polarization pattern information provided by an embodiment of the present invention uses the polarized light intensity of the target area in each image as a known parameter, or uses the polarized light intensity of the target area in each image, as well as the polarization plate rotation angle corresponding to each image and any one of the polarization parameters of the target area in each image as a known parameter, solves the polarization information model, obtains the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image, and determines the sky polarization pattern information based on the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image, thereby avoiding errors caused by inaccurate rotation of the polarizer during the actual measurement process, improving the accuracy of acquiring the sky polarization pattern information, and providing more reliable polarization information data for polarized light navigation.
[0094] Based on the above embodiment, the polarization information model is constructed based on the following steps:
[0095] Based on the polarized light intensity of each point in the target area of each image, the rotation angle of the polarizer corresponding to each point in the target area of each image, the unpolarized light intensity corresponding to each point in the target area of each image, the linear polarized light intensity difference in the first direction of each point in the target area of each image, and the linear polarized light intensity difference in the second direction of each point in the target area of each image, the Stokes vector representation method is used to construct the initial polarization information model of each image; the first direction is orthogonal to the second direction;
[0096] The first expression is obtained by using the polarized light intensity of each point in the target area in each image, the polarization degree corresponding to each point in the target area in each image, and the polarization angle corresponding to each point in the target area in each image to represent the linear polarized light intensity difference in the first direction of each point in the target area in each image; the second expression is obtained by using the polarized light intensity of each point in the target area in each image, the polarization degree corresponding to each point in the target area in each image, and the polarization angle corresponding to each point in the target area in each image to represent the linear polarized light intensity difference in the second direction of each point in the target area in each image;
[0097] After substituting the first expression and the second expression into the initial polarization information model of each image, the initial polarization information models of each image are fused to obtain a polarization information model.
[0098] Specifically, the sky polarization information measurement system is used to continuously rotate the polarizer to collect images of sky polarization pattern information at multiple different angles in the entire sky area. For example, the polarizer rotation angle coordinate system is set, and the polarizer is rotated from the starting angle to m. At this time, the polarizer angle size is θ o After the incident light passes through the polarizer and enters the sensor for imaging, the polarized light intensity Φ of the target point o in the image can be expressed using the Stokes vector representation method. m,o It is expressed as:
[0099]
[0100] Among them, I o is the unbiased light intensity at point o, Q o , U o Represents the intensity difference of linear polarized light in two orthogonal directions. Based on the polarized light intensity Φ of the target point o in the image m,o , the polarized light intensity of each point in the target area in each image, that is, the polarized light intensity of the target area, can be determined.
[0101] Expressing equation (1) in matrix form, we get the initial polarization information model:
[0102]
[0103] Degree of polarization in sky polarization pattern information Dolp and polarization angle Aolp The information can be expressed as:
[0104]
[0105] By combining equations (2) and (3), the polarized light intensity Φ at the target point o can be obtained using the sine and cosine properties: m,o The matrix expression (in I o d o cos2α o As a first expression, it is used to express the linear polarization intensity difference of each point in the first direction, with I o d o sin2α o As the second expression, it is used to express the linear polarization intensity difference of each point in the second direction):
[0106]
[0107] in, Φm,o Represents the polarized light intensity at point o in the target area of the image, θ o is the rotation angle of the polarizer, d o is the polarization degree at point o, α o is the polarization angle at point o, I o is the unbiased light intensity at point o.
[0108] After selecting a sky area, rotate the polarizer N times to obtain N frames of sky polarization pattern information images. The polarization intensity Φ of point o in the target area in N frames of images n,o It can be expressed as:
[0109]
[0110] where Φ n,oIt represents the polarized light intensity of the target area point o in N frames of images corresponding to the polarizer rotating N times, {θ1,θ1,...θ n} is the set of polarizer rotation angles.
[0111] Since each of the N frames of images in which the polarization information measurement system obtains the sky polarization pattern information contains tens of millions of pixels, a set of target areas N is obtained in each of the N frames. o (a sub-region set consisting of multiple pixels), in the N frames of images obtained by rotating the polarizer N times, the target area N o The polarization information can be expressed as:
[0112]
[0113] make
[0114]
[0115] Thus, the following polarization information model can be obtained:
[0116] C=HA (8)
[0117] in,
[0118]
[0119] Based on any of the above embodiments, the polarization information model is:
[0120] C = HA;
[0121] in, Represents the polarized light intensity of each point in the target area in the nth image, I n represents the unbiased light intensity at each point in the target area in the nth image, d n Represents the polarization degree of each point in the target area in the nth image, Represents the polarization angle of each point in the target area in the nth image, θ n Indicates the rotation angle of the polarizer at each point in the target area in the nth image.
[0122] Based on any of the above embodiments, the polarization information model is solved by taking the polarized light intensity of the target area in each image and the polarizer rotation angle corresponding to each image as known parameters to obtain the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameters of the target area in each image, including:
[0123] Taking the polarized light intensity of the target area in each image and the rotation angle of the polarizer corresponding to each image as known parameters, the first model is used to perform least squares estimation on the polarization parameters of the target area in each image, to obtain the first column vector corresponding to the polarization parameters of the target area in each image, and determine the optimal polarization parameters of the target area in each image based on each first column vector;
[0124] The first model is:
[0125]
[0126] in, represents the first column vector, 0 h represents the zero matrix.
[0127] Specifically, if H in the polarization information model is known, estimate the unknown parameters of A in the polarization information model. The least square method is used to estimate the parameter A in equation (8).
[0128] Use vector express Let c be the column vector of C, let 0 h represents a zero matrix with dimension H. Assume that the polarizer rotation angle set If it is known, then the unconstrained least squares estimate for:
[0129]
[0130] in, Indicates M h The transposed matrix of .
[0131]
[0132] Based on any of the above embodiments, the polarization information model is solved by taking the polarized light intensity of the target area in each image and the polarization parameter of the target area in each image as known parameters to obtain the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image, including:
[0133] Taking the polarized light intensity of the target area in each image and the polarization parameter of the target area in each image as known parameters, the second model is used to perform least squares estimation on the polarizer rotation angle corresponding to each image, to obtain the second column vector corresponding to the polarizer rotation angle corresponding to each image, and determine the optimal polarizer rotation angle corresponding to each image based on each second column vector;
[0134] The second model is:
[0135]
[0136] in, represents the second column vector, 0 a The dimension is The zero matrix of
[0137] Specifically, if A in the polarization information model is known, estimate the unknown parameter H. The least square method is used to estimate the parameter H in equation (8). Define the matrix:
[0138]
[0139] Let 1 be a length of N m A column vector whose elements are all 1. Definition
[0140]
[0141] Then, from formulas (8, 10, 11, 19, 20), we get:
[0142]
[0143] therefore,
[0144]
[0145] in
[0146]
[0147] is unknown.
[0148] set up for , The first element N o and It doesn't matter, so can be eliminated, The clipped matrix is in The first N o Elements are eliminated. Represented by vector h The unconstrained least squares estimate of h is:
[0149]
[0150] in
[0151]
[0152] Where 0 a represents the zero matrix, whose dimension is
[0153] The vector obtained by formula (24) is equivalent to the matrix That is, estimate equation (23). Let ∠v z+1 for No. z According to equation (23), the estimated rotation direction of the polarizer is:
[0154]
[0155] Based on any of the above embodiments, the polarization information model is solved by taking the polarized light intensity of the target area in each image as a known parameter to obtain the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image, including:
[0156] The step of determining the rotation angle of the polarizer: determining the rotation angle of the polarizer corresponding to each image based on the polarization device;
[0157] Polarization parameter estimation step: using the first model to perform least squares estimation on the polarization parameters of the target area in each image, obtaining a first column vector corresponding to the polarization parameters of the target area in each image, and determining the polarization parameters of the target area in each image based on each first column vector;
[0158] Polaroid rotation angle estimation step: using the polarized light intensity of the target area in each image and the polarization parameter of the target area in each image as known parameters, using the second model to perform least squares estimation on the polaroid rotation angle corresponding to each image, obtaining the second column vector corresponding to the polaroid rotation angle corresponding to each image, and determining the polaroid rotation angle corresponding to each image based on each second column vector;
[0159] Error cost determination step: based on the polarization parameters of the target area in each image and the rotation angle of the polarizer corresponding to each image, the minimum mean square error cost function is used to determine the error cost;
[0160] Iteration step: looping the polarization parameter estimation step, the polarizer rotation angle estimation step and the error cost determination step until the error cost reaches a preset value, and taking the polarization parameters of the target area in each corresponding image as the optimal polarization parameters, and the polarizer rotation angle corresponding to each image as the optimal polarizer rotation angle.
[0161] Specifically, if H and A in the polarization information model are unknown, alternating minimization is used to estimate the values of the parameters H and A so that they are close to the accurate values. The specific process is as follows:
[0162] (a) Based on prior knowledge, the starting angle of the polarizer can be roughly obtained during the rotation of the polarizer. In each iteration k=1,2,3….
[0163] (b) Based on Using equations (7), (11) and the polarization parameter estimation step, we estimate
[0164] (c) Estimation based on the polarization parameter estimation step The set of polarizer rotation angles is estimated using equations (7), (10) and the polarizer rotation angle estimation step:
[0165] (d) Repeat (b) and (c) until convergence (such as the error cost reaches the preset value), and finally obtain parameters H and A.
[0166] Among them, the standard minimum mean square error cost function is:
[0167]
[0168] Where f represents the result of iteration i, and the cost function E decreases as the number of iterations increases. The ultimate goal is to find a set of values that are closest to the standard polarization measurement: and The cost function E→1, the closer the estimated value is to the theoretical standard value. The number of iterations is set to 100, and f is minimized by continuous iteration. The value of the cost function E in formula (27) is constantly approaching 1.
[0169] like Figure 3 As shown in Equation (27), the cost function E eventually converges as the number of iterations i increases. After 100 iterations, E gradually converges to 1, that is, f and f ture The value of is getting closer and closer, and the final iteration result is: and That is, the closer the value of the polarization parameter in the polarizer rotation angle set and parameter A is to the true value. Table 1 is a list of estimated polarizer rotation angle values. As shown in Table 1, N m The approximate angle of rotation of the polarizer, N e represents the angle estimated by the algorithm after 100 iterations, N true Indicates the actual angle of rotation of the polarizer. The results show that the angle error is less than 1%.
[0170] Table 1
[0171]
[0172] Based on any of the above embodiments, based on the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image, determining the sky polarization pattern information includes:
[0173] Determine the unpolarized light intensity corresponding to the target area in each image based on the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image;
[0174] Based on the unpolarized light intensity corresponding to the target area in each image and the optimal polarizer rotation angle corresponding to each image, determine the linear polarized light intensity difference in the first direction of each point and the linear polarized light intensity difference in the second direction of each point;
[0175] The degree of polarization of each image is determined based on the unpolarized light intensity corresponding to the target area in each image, the linear polarized light intensity difference in the first direction of each point, and the linear polarized light intensity difference in the second direction of each point; the polarization angle of each image is determined based on the linear polarized light intensity difference in the first direction of each point and the linear polarized light intensity difference in the second direction of each point.
[0176] Specifically, according to any of the above embodiments, a set of optimal solutions for the polarizer rotation angle can be estimated: That is, the optimal polarizer rotation angle. Let I1, I2, and I3 represent the polarization intensity values of the polarization image corresponding to a set of optimal solutions {θ1, θ2, θ3} of the polarizer rotation angle. From formula (1), we can get:
[0177]
[0178] In formula (28), ②-①, ③-① can be obtained:
[0179]
[0180] The values of I, Q, and U in the Stokes vector can be calculated from formula (29):
[0181]
[0182] Substituting equation (30) into equation (3) we can obtain the polarization degree d of the sky polarization pattern image: o and polarization angle α o information.
[0183] Further, using equation (3) and equation (30) to calculate N e Collect the polarization degree and polarization angle information of 10 target areas in the corresponding image and compare them with the real angle N true The polarization degree and polarization angle information of the 10 target areas corresponding to the set are compared, such as Figure 4 As shown, the vertical axis d represents the N estimated by this method. e The degree of polarization calculated by the set, d t Indicates the true angle Ψ t The true polarization degree obtained by the set; the vertical axis α represents the N estimated by this method e The polarization angle calculated by the set, αt Indicates the true angle N true The actual polarization angle calculated by the collection.
[0184] like Figure 4 As shown, this method is used to estimate the angle N e The values of the degree of polarization and polarization angle of the 10 target areas collected and the true angle N e The values of the degree of polarization and polarization angle calculated by the set are basically consistent.
[0185] Furthermore, in order to verify the stability of the method provided in the embodiment of the present invention, three frames of images obtained by rotating the polarizer by 0°, 60° and 120° at 11:00 am can be selected, and the polarization degree d of the sky polarization pattern information at this time can be calculated using equations (3) and (30): o and polarization angle α o Information; using any of the above-mentioned embodiments to estimate the angle set N of the polarizer rotation of the three frames of measured images e 'After that, the polarization degree d of the sky polarization pattern information is calculated using equations (3) and (30) o and polarization angle α o The information is obtained, and the degree of polarization and the angle of polarization are subtracted to obtain the difference in degree of polarization ▽Dop and the difference in angle of polarization ▽Aop, such as Figure 5 To verify the effectiveness of this method, the difference between the degree of polarization and the polarization angle is statistically analyzed, and the difference in the polarization angle satisfies ▽AOP≤AOP threshold =2° pixels are valid, and pixels with polarization degree satisfying ▽Dop≤0.05 are valid. The statistical results show that the ratio of valid pixels for polarization angle and polarization degree is 100%.
[0186] Further, the threshold is reduced, the difference threshold of the polarization angle is set to ▽AOP≤0.5°, and the difference threshold of the polarization degree is set to ▽Dop≤0.01. The statistical results show that the ratios of effective pixel points of the polarization angle and the polarization degree are 99.65% and 99.75%, respectively. Therefore, the polarization angle value and the polarization degree value calculated by the adaptive algorithm provided in the embodiment of the present invention are accurate and effective.
[0187] Finally, the polarizer is rotated by a rough angle N m The actual angle N of the polarizer rotation true The error value is less than 1°. The accuracy of the polarizer rotation angle calculated by the adaptive method meets the technical requirements and solves the problem of aligning the polarizer rotation angle with the true angle.
[0188] It can be seen that the method for obtaining sky polarization pattern information provided by the embodiment of the present invention avoids the error caused by inaccurate rotation of the polarizer during the actual measurement process, improves the measurement accuracy of the sky polarization pattern information, and makes the obtained results more objective and effective; the least squares method is used for iterative calculation, and the optimal solution of the polarizer rotation angle value is found by iterative calculation, which improves the accuracy, reliability, effectiveness and universality of the calculation. It provides effective support for polarization navigation technology, so that the accuracy of measuring polarization pattern information in polarization navigation is higher, which is conducive to improving the accuracy of navigation.
[0189] In addition, in the process of collecting polarization information data using a polarization measurement system, the traditional method uses manual rotation of the polarizer to make it rotate to a specified angle in a short time. It is difficult to ensure that the polarizer can be accurately rotated to the specified position each time. The present embodiment can quickly rotate a rough angle and use an algorithm to complete the calculation of the unknown angle, thereby calculating the polarization degree and polarization angle information, thereby improving the efficiency of polarization information measurement.
[0190] Furthermore, it is difficult to ensure that the rotation angle of the polarizer is aligned with the real angle when the polarizer is rotated manually. The present embodiment can calculate a more accurate rotation angle of the polarizer, improve the calculation accuracy of the polarization degree and polarization angle information, and reduce the system measurement error of the system when measuring the polarization mode information, thereby improving the overall performance of the polarization information measurement system.
[0191] The sky polarization pattern information acquisition device provided by the present invention is described below. The sky polarization pattern information acquisition device described below and the sky polarization pattern information acquisition method described above can correspond to each other.
[0192] Based on the above embodiments, the present invention provides a device for acquiring sky polarization pattern information, such as Figure 6 As shown, the device comprises:
[0193] The image acquisition unit 610 is used to acquire multiple images representing the polarization pattern information of the sky, and obtain the polarized light intensity of the target area in each image; the polarizer corresponding to each image has a different rotation angle;
[0194] A parameter solving unit 620 is used to solve the polarization information model using the polarization intensity of the target area in each image as a known parameter, or using the polarization intensity of the target area in each image, and any one of the polarization plate rotation angle corresponding to each image and the polarization parameter of the target area in each image as a known parameter, to obtain the optimal polarization plate rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image, wherein the polarization information model represents the relationship between the polarization intensity of the target area in each image, the polarization plate rotation angle corresponding to each image and the polarization parameter of the target area in each image;
[0195] The information determination unit 630 is used to determine the sky polarization pattern information based on the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image; the sky polarization pattern information includes the polarization degree and polarization angle of each image.
[0196] Figure 7 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 7 As shown, the electronic device may include: a processor (processor) 710, a memory (memory) 720, a communication interface (Communications Interface) 730 and a communication bus 740, wherein the processor 710, the memory 720, and the communication interface 730 communicate with each other through the communication bus 740. The processor 710 can call the logic instructions in the memory 720 to execute the method for obtaining the sky polarization pattern information, which includes: collecting multiple images representing the sky polarization pattern information, and obtaining the polarization light intensity of the target area in each image; the polarizer rotation angles corresponding to the images are different; using the polarization light intensity of the target area in each image as a known parameter, or using the polarization light intensity of the target area in each image, and any one of the polarization plate rotation angles corresponding to each image and the polarization parameters of the target area in each image as known parameters, the polarization information model is solved to obtain the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image, the polarization information model represents the relationship between the polarization light intensity of the target area in each image, the polarizer rotation angle corresponding to each image and the polarization parameter of the target area in each image; based on the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image, the sky polarization pattern information is determined; the sky polarization pattern information includes the polarization degree of each image and the polarization angle of each image.
[0197] In addition, the logic instructions in the above-mentioned memory 720 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0198] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the sky polarization pattern information acquisition method provided by the above-mentioned methods, the method including: collecting multiple images representing the sky polarization pattern information, and obtaining the polarization light intensity of the target area in each image; the polarizer rotation angles corresponding to the images are different; using the polarization light intensity of the target area in each image as a known parameter, or using the polarization light intensity of the target area in each image, and the polarization plate rotation angle corresponding to each image and the polarization parameter of the target area in each image as a known parameter, the polarization information model is solved to obtain the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image, the polarization information model represents the relationship between the polarization light intensity of the target area in each image, the polarizer rotation angle corresponding to each image and the polarization parameter of the target area in each image; based on the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image, the sky polarization pattern information is determined; the sky polarization pattern information includes the polarization degree of each image and the polarization angle of each image.
[0199] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the above-mentioned methods for obtaining sky polarization pattern information, the methods comprising: collecting multiple images representing sky polarization pattern information, and obtaining the polarization light intensity of the target area in each image; the polarizer rotation angles corresponding to the images are different; using the polarization light intensity of the target area in each image as a known parameter, or using the polarization light intensity of the target area in each image, and any one of the polarization plate rotation angles corresponding to each image and the polarization parameters of the target area in each image as known parameters, solving the polarization information model to obtain the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameters of the target area in each image, the polarization information model representing the relationship between the polarization light intensity of the target area in each image, the polarizer rotation angle corresponding to each image and the polarization parameters of the target area in each image; determining the sky polarization pattern information based on the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameters of the target area in each image; the sky polarization pattern information includes the polarization degree of each image and the polarization angle of each image.
[0200] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.
[0201] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0202] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for obtaining sky polarization pattern information, It is characterized in that include: Collect multiple images representing the polarization pattern information of the sky, and obtain the polarization light intensity of the target area in each image; The polarizers corresponding to the images have different rotation angles; Taking the polarized light intensity of the target area in each image as a known parameter, or taking the polarized light intensity of the target area in each image, and one of the polarizer rotation angle corresponding to each image and the polarization parameter of the target area in each image as a known parameter, solving the polarization information model to obtain the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image, wherein the polarization information model represents the relationship between the polarized light intensity of the target area in each image, the polarizer rotation angle corresponding to each image and the polarization parameter of the target area in each image; Determining sky polarization pattern information based on the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image; the sky polarization pattern information includes the polarization degree of each image and the polarization angle of each image; The polarization information model is constructed based on the following steps: Based on the polarized light intensity of each point in the target area of each image, the rotation angle of the polarizer corresponding to each point in the target area of each image, the unpolarized light intensity corresponding to each point in the target area of each image, the linear polarized light intensity difference in the first direction of each point in the target area of each image, and the linear polarized light intensity difference in the second direction of each point in the target area of each image, the Stokes vector representation method is used to construct an initial polarization information model of each image; the first direction is orthogonal to the second direction; The first expression is obtained by using the polarized light intensity of each point in the target area in each image, the polarization degree corresponding to each point in the target area in each image, and the polarization angle corresponding to each point in the target area in each image to represent the linear polarized light intensity difference in the first direction of each point in the target area in each image; the second expression is obtained by using the polarized light intensity of each point in the target area in each image, the polarization degree corresponding to each point in the target area in each image, and the polarization angle corresponding to each point in the target area in each image to represent the linear polarized light intensity difference in the second direction of each point in the target area in each image; After substituting the first expression and the second expression into the initial polarization information model of each image, the initial polarization information model of each image is fused to obtain the polarization information model; The polarization information model is: C = HA; in, Represents the polarized light intensity of each point in the target area in the nth image, I n represents the unbiased light intensity at each point in the target area in the nth image, d n Represents the polarization degree of each point in the target area in the nth image, Represents the polarization angle of each point in the target area in the nth image, θ n represents the rotation angle of the polarizer at each point in the target area in the nth image, C represents the polarized light intensity of the target area in multiple frames of images, H represents the coefficient matrix of the polarizer rotation angle, and A represents the polarization parameter; The polarization information model is solved by taking the polarized light intensity of the target area in each image and the polarizer rotation angle corresponding to each image as known parameters to obtain the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameters of the target area in each image, including: Taking the polarized light intensity of the target area in each image and the rotation angle of the polarizer corresponding to each image as known parameters, the first model is used to perform least squares estimation on the polarization parameters of the target area in each image, to obtain the first column vector corresponding to the polarization parameters of the target area in each image, and determine the optimal polarization parameters of the target area in each image based on each of the first column vectors; The first model is: in, represents the first column vector, 0 h represents the zero matrix; The polarization information model is solved by taking the polarized light intensity of the target area in each image and the polarization parameter of the target area in each image as known parameters to obtain the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image, including: Taking the polarized light intensity of the target area in each image and the polarization parameter of the target area in each image as known parameters, using the second model to perform least squares estimation on the polarizer rotation angle corresponding to each image, obtaining a second column vector corresponding to the polarizer rotation angle corresponding to each image, and determining the optimal polarizer rotation angle corresponding to each image based on each of the second column vectors; The second model is: in, represents the second column vector, 0 a The dimension is The zero matrix of in, express The clipped matrix, for , The polarization information model is solved by taking the polarized light intensity of the target area in each image as a known parameter to obtain the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image, including: The step of determining the rotation angle of the polarizer: determining the rotation angle of the polarizer corresponding to each image based on the polarization device; Polarization parameter estimation step: using the first model to perform least squares estimation on the polarization parameters of the target area in each image, obtaining a first column vector corresponding to the polarization parameters of the target area in each image, and determining the polarization parameters of the target area in each image based on each of the first column vectors; The step of estimating the polarizer rotation angle is as follows: using the polarized light intensity of the target area in each image and the polarization parameter of the target area in each image as known parameters, using the second model to perform least squares estimation on the polarizer rotation angle corresponding to each image, obtaining a second column vector corresponding to the polarizer rotation angle corresponding to each image, and determining the polarizer rotation angle corresponding to each image based on each of the second column vectors; Error cost determination step: based on the polarization parameters of the target area in each image and the rotation angle of the polarizer corresponding to each image, the minimum mean square error cost function is used to determine the error cost; Iteration step: looping the polarization parameter estimation step, the polarizer rotation angle estimation step and the error cost determination step until the error cost reaches a preset value, and taking the polarization parameters of the target area in each corresponding image as the optimal polarization parameters, and the polarizer rotation angle corresponding to each image as the optimal polarizer rotation angle.
2. The method for obtaining sky polarization pattern information according to claim 1, It is characterized in that The determining of sky polarization pattern information based on the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image includes: Determine the unpolarized light intensity corresponding to the target area in each image based on the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image; Based on the unpolarized light intensity corresponding to the target area in each image and the optimal polarizer rotation angle corresponding to each image, determining the linear polarized light intensity difference in the first direction of each point and the linear polarized light intensity difference in the second direction of each point; The degree of polarization of each image is determined based on the unpolarized light intensity corresponding to the target area in each image, the linear polarized light intensity difference in the first direction of each point, and the linear polarized light intensity difference in the second direction of each point; the polarization angle of each image is determined based on the linear polarized light intensity difference in the first direction of each point and the linear polarized light intensity difference in the second direction of each point.
3. A device for acquiring sky polarization pattern information, It is characterized in that include: An image acquisition unit, used to acquire multiple images representing information of sky polarization patterns, and obtain polarized light intensity of a target area in each image; The polarizers corresponding to the images have different rotation angles; A parameter solving unit is used to solve a polarization information model using the polarization intensity of the target area in each image as a known parameter, or using the polarization intensity of the target area in each image, and any one of the polarization plate rotation angle corresponding to each image and the polarization parameter of the target area in each image as a known parameter, to obtain an optimal polarization plate rotation angle corresponding to each image and an optimal polarization parameter of the target area in each image, wherein the polarization information model represents a relationship between the polarization intensity of the target area in each image, the polarization plate rotation angle corresponding to each image, and the polarization parameter of the target area in each image; An information determination unit, configured to determine sky polarization pattern information based on an optimal polarizer rotation angle corresponding to each image and an optimal polarization parameter of a target area in each image; the sky polarization pattern information includes a degree of polarization of each image and a polarization angle of each image; The polarization information model is constructed based on the following steps: Based on the polarized light intensity of each point in the target area of each image, the rotation angle of the polarizer corresponding to each point in the target area of each image, the unpolarized light intensity corresponding to each point in the target area of each image, the linear polarized light intensity difference in the first direction of each point in the target area of each image, and the linear polarized light intensity difference in the second direction of each point in the target area of each image, the Stokes vector representation method is used to construct an initial polarization information model of each image; the first direction is orthogonal to the second direction; The first expression is obtained by using the polarized light intensity of each point in the target area in each image, the polarization degree corresponding to each point in the target area in each image, and the polarization angle corresponding to each point in the target area in each image to represent the linear polarized light intensity difference in the first direction of each point in the target area in each image; the second expression is obtained by using the polarized light intensity of each point in the target area in each image, the polarization degree corresponding to each point in the target area in each image, and the polarization angle corresponding to each point in the target area in each image to represent the linear polarized light intensity difference in the second direction of each point in the target area in each image; After substituting the first expression and the second expression into the initial polarization information model of each image, the initial polarization information model of each image is fused to obtain the polarization information model; The polarization information model is: C = HA; in, Represents the polarized light intensity of each point in the target area in the nth image, I n represents the unbiased light intensity at each point in the target area in the nth image, d n Represents the polarization degree of each point in the target area in the nth image, Represents the polarization angle of each point in the target area in the nth image, θ n represents the rotation angle of the polarizer at each point in the target area in the nth image, C represents the polarized light intensity of the target area in multiple frames of images, H represents the coefficient matrix of the polarizer rotation angle, and A represents the polarization parameter; The polarization information model is solved by taking the polarized light intensity of the target area in each image and the polarizer rotation angle corresponding to each image as known parameters to obtain the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameters of the target area in each image, including: Taking the polarized light intensity of the target area in each image and the rotation angle of the polarizer corresponding to each image as known parameters, the first model is used to perform least squares estimation on the polarization parameters of the target area in each image, to obtain the first column vector corresponding to the polarization parameters of the target area in each image, and determine the optimal polarization parameters of the target area in each image based on each of the first column vectors; The first model is: in, represents the first column vector, 0 h represents the zero matrix; The polarization information model is solved by taking the polarized light intensity of the target area in each image and the polarization parameter of the target area in each image as known parameters to obtain the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image, including: Taking the polarized light intensity of the target area in each image and the polarization parameter of the target area in each image as known parameters, using the second model to perform least squares estimation on the polarizer rotation angle corresponding to each image, obtaining a second column vector corresponding to the polarizer rotation angle corresponding to each image, and determining the optimal polarizer rotation angle corresponding to each image based on each of the second column vectors; The second model is: in, represents the second column vector, 0 a The dimension is The zero matrix of in, express The clipped matrix, for , The polarization information model is solved by taking the polarized light intensity of the target area in each image as a known parameter to obtain the optimal polarizer rotation angle corresponding to each image and the optimal polarization parameter of the target area in each image, including: The step of determining the rotation angle of the polarizer: determining the rotation angle of the polarizer corresponding to each image based on the polarization device; Polarization parameter estimation step: using the first model to perform least squares estimation on the polarization parameters of the target area in each image, obtaining a first column vector corresponding to the polarization parameters of the target area in each image, and determining the polarization parameters of the target area in each image based on each of the first column vectors; The step of estimating the polarizer rotation angle is as follows: using the polarized light intensity of the target area in each image and the polarization parameter of the target area in each image as known parameters, using the second model to perform least squares estimation on the polarizer rotation angle corresponding to each image, obtaining a second column vector corresponding to the polarizer rotation angle corresponding to each image, and determining the polarizer rotation angle corresponding to each image based on each of the second column vectors; Error cost determination step: based on the polarization parameters of the target area in each image and the rotation angle of the polarizer corresponding to each image, the minimum mean square error cost function is used to determine the error cost; Iteration step: looping the polarization parameter estimation step, the polarizer rotation angle estimation step and the error cost determination step until the error cost reaches a preset value, and taking the polarization parameters of the target area in each corresponding image as the optimal polarization parameters, and the polarizer rotation angle corresponding to each image as the optimal polarizer rotation angle.
4. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the steps of the method for acquiring sky polarization pattern information as described in any one of claims 1 to 2 are implemented.
5. A non-transitory computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method for acquiring sky polarization pattern information as described in any one of claims 1 to 2 are implemented.
Citation Information
Patent Citations
Micro-array type polarized light compass orientation method
CN107728106A
Course angle solving method used for multi-ocular polarized vision
CN108225335A
Dynamic orientation method and system based on strapdown polarized light compass
CN110231025A
Autonomous positioning method based on polarization north pole and polarization sun vector
CN110887477A
Strong reflection workpiece vision measurement method based on polarization imaging
CN111127384A
