A far-field signal inversion and reconstruction method based on compound eye camera array
Through the far-field signal inversion and reconstruction method based on the compound eye camera array, the jump problem of the optical imaging system when switching from large field of view mode to local detail viewing is solved, and intelligent switching between wide field of view and high-resolution imaging is realized. Provides high-speed real-time stitching imaging and high-resolution imaging effects.
Patent Information
- Application Number
- CN202210911810.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-29
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2042-07-29
AI Technical Summary
Existing optical imaging systems have obvious jumps when switching from large field of view mode to local detail viewing. It is difficult to achieve a fast and smooth transition from large field of view to local detail observation, and cannot take into account both wide field of view and high-resolution imaging at the same time.
A far-field signal inversion and reconstruction method based on a compound eye camera array is adopted. By constructing a compound eye camera array, the wide-area field of view synthesis mode or the high-resolution fine imaging mode is selected according to the use requirements, and the servo is used to control the camera array to achieve a 90-degree synthetic field of view angle. , and combines GPU acceleration technology and TV regularized sparse iterative optimization algorithm to achieve computational inversion of high-resolution signals.
It realizes intelligent switching of wide-area field of view synthesis and high-resolution fine imaging mode, ensuring high-speed real-time splicing imaging, reducing the demand for light field view images, avoiding jumps between adjacent sub-eye cameras, and providing no obvious seam lines. wide-area field-of-view images and high-resolution imaging results.
Smart Images

Figure CN115988338B
Abstract
Description
Technical Field
[0001] The present invention belongs to computational optical imaging technology, and specifically is a far-field signal inversion and reconstruction method based on a compound eye camera array. Background Art
[0002] The visual ability of the human eye is limited by its physiological structure, and has limitations in time, space, sensitivity, and resolution. It is unable to obtain information from a long distance or find it difficult to see very small objects. The emergence of optical systems has broken the bottleneck of people's acquisition of information about distant targets. For the first time, people have expanded their visual range to a new height, and human visual function has made a qualitative leap. However, the amount of information in the optical imaging system is limited by the field of view and resolution. Short-focal-length lenses can obtain a larger field of view, but they cannot observe the details of the characters in the scene. After the focal length is increased, the ability to resolve scene details is improved, but its field of view is almost proportionally reduced, and only a small part of the scene can be seen. In order to obtain a larger field of view and more detailed target information at the same time, optical systems are developing in the direction of wide area and high resolution. The emergence of computational imaging technology makes wide-area high-resolution imaging possible ([1] CN202010490965.9, a non-interference synthetic aperture super-resolution imaging reconstruction method). Unlike traditional optical imaging systems, computational imaging technology can take into account both wide area and high resolution with the help of the efficient processing performance of computers. To date, a large number of wide-area high-resolution imaging systems based on computational imaging technology have emerged.
[0003] In 2007, Kopf et al. used a single SLR lens for scanning and stitching imaging to obtain wide-area, high-resolution, gigapixel images ([2] Kopf J, Uyttendaele M, Deussen O, et al. Capturing and viewing gigapixel images [J]. Acm Transactions on Graphics, 2007, 26 (3): 93-es.). The system uses a zoom lens with a focal length of 100 to 400 mm. At long focal length, it takes about 5 seconds to capture a single image, 250 high-resolution images within 30 minutes, and 800 images within 90 minutes. The full field of view is 150°, the total number of image pixels is 3.6 billion, the shooting time takes 30 to 90 minutes, and the post-stitching processing takes 3 to 6 hours, that is, the post-processing time is exchanged for image quality. In 2018, Wu Xiongxiong and others from Xidian University proposed a concentric multi-scale dual-resolution imaging system. The front-stage system uses a concentric spherical objective lens, and the secondary system uses a single lens and a double-cemented lens. Combined with a two-axis micro-electromechanical system (MEMS) scanning micromirror, the MEMS sub-imaging system can achieve high-resolution scanning imaging in a small field of view and dynamically track the target area by driving the MEMS sub-imaging system ([3] Wu Xiongxiong. Design and development of a wide-field high-resolution optical system based on the principle of multi-scale imaging [D]. Xidian University, 2018.). Although the system uses fewer secondary small cameras to achieve relay imaging and reduce the amount of data for image acquisition, transmission and processing, the multiple micro-cameras split the field of view and transfer imaging will cause a large occlusion problem in the center of the system. At the same time, there is also the problem that the fixed-focus system cannot magnify the details of the target information in the detection area. Shao Xiaopeng and others from Xidian University designed a multi-aperture imaging system with a total field of view of 123.5°×38.5° and over 100 million pixels. It can realize real-time global viewing of images and videos, and supports functions such as viewing and exporting local detail information ([4] Shao Xiaopeng, Liu Fei, Li Wei, et al. Latest progress in computational imaging technology and applications [J]. Progress in Laser and Optoelectronics, 2020, 57(2): 020001.). However, this system has a significant jump when switching from the large field of view mode to the local detail viewing, which is not conducive to dynamic tracking of the determined target. Therefore, achieving a fast and smooth transition from the large field of view to the local detail observation is a bottleneck problem that needs to be solved urgently. Summary of the invention
[0004] The purpose of the present invention is to provide a far-field signal inversion and reconstruction method based on a compound eye camera array, which can not only realize the intelligent switching of two modes, but also ensure the inversion and reconstruction of far-field signals under high-speed real-time stitching imaging and high-resolution imaging modes.
[0005] The technical solution to achieve the purpose of the present invention is: a far-field signal inversion and reconstruction method based on a compound eye camera array, the specific steps are:
[0006] Step 1: Build a compound eye camera array;
[0007] Step 2: Select a compound eye camera array mode according to usage requirements, wherein the compound eye camera array mode includes a wide-area field of view synthesis mode and a high-resolution fine imaging mode;
[0008] Step 3: Use the compound eye camera array to collect images, and process the collected images accordingly according to the selected compound eye camera array mode.
[0009] Preferably, the compound eye camera array includes cameras 1 to 25, slide rails 8 to 12, and a pan-tilt platform 14. The slide rails 8 to 12 are arranged in parallel on the pan-tilt platform at equal intervals. The cameras 1 to 25 are arranged on the slide rails 8 to 12 in a 5×5 array, and the distance between adjacent cameras is specifically equal to that between adjacent slide rails. The cameras 1 to 25 can be adjusted.
[0010] Preferably, in the wide-area field of view synthesis mode, the rotation angles of each sub-eye camera and the array center camera that satisfy the 90-degree synthetic field of view angle are calculated, and the servo controls the compound eye camera array so that each sub-eye camera rotates according to the calculated rotation angle, and the field of view overlap area between adjacent cameras is at least 15%.
[0011] Compared with the prior art, the present invention has the following significant advantages: (1) Compared with the existing compound eye imaging splicing system, the device has a simple structure, fast measurement, and easy operation. Combined with GPU acceleration technology, it can reconstruct a wide-area field of view synthetic image in real time. (2) The compound eye camera array is used to collect low-resolution images under different light field perspectives, and combined with the TV regularized sparse iterative optimization algorithm, the required light field perspective images can be reduced to achieve computational inversion of high-resolution signals. (3) The present invention can realize intelligent switching between wide-area field of view synthesis and high-resolution fine imaging modes, and the compound eye camera array does not cause jumps between adjacent sub-eye cameras for moving targets.
[0012] The present invention is further described in detail below in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 Schematic diagram of a compound eye system based on wide-area field of view synthesis and high-resolution fine imaging.
[0014] Figure 2 The figure is a schematic diagram of the structure of a single camera and its supporting components used in the present invention.
[0015] Figure 3 It is a schematic diagram of the flow of the wide-area field of view synthesis mode of the present invention.
[0016] Figure 4 , 5 The experimental results of the wide-area field of view synthesis mode of the present invention are as follows: Figure 4 These are the 25 sub-images captured. Figure 5 It is the stitching result of the compound eye camera array system used in the present invention.
[0017] Figure 6 It is a schematic diagram of the high-resolution fine imaging mode flow of the present invention.
[0018] Figure 7 , 8 This is the experimental result of the high-resolution fine imaging mode of the present invention. Figure 7 is a low-resolution image captured. Figure 8 This is an imaging result diagram of the high-resolution fine imaging mode of the present invention. DETAILED DESCRIPTION
[0019] A far-field signal inversion and reconstruction method based on a compound eye camera array, the specific steps are as follows:
[0020] Step 1: Construct a compound eye camera array, which includes cameras 1 to 25, slide rails 8 to 12, left and right adjustment handles 13, and a pan-tilt 14. Each camera is equipped with a servo connector 2, a servo 3, a servo connector 4, a servo 5, a servo slider connector 6, and an up-and-down adjustment slider 7. Cameras 1 to 25 are arranged on the slide rails 8 to 12 in a 5×5 array, and the distance between adjacent cameras is equal. The slide rails 8 to 12 are vertically connected to the pan-tilt 14 by screws, wherein the slide rail 10 is located at the center of the pan-tilt 14, the slide rails 8 and 9 are located on the left side of the slide rail 10, and the slide rails 11 and 12 are located on the right side of the slide rail 10, and the distance between adjacent slide rails is the same as the distance between adjacent cameras. The camera is connected to the servo 3 through the servo connector 2, the servo 3 is connected to the servo 5 through the servo connector 4, and is connected to the up-and-down adjustment slider 7 through the servo slider connector 6.
[0021] Step 2: According to different usage requirements, select the compound eye camera array mode, that is, wide-area field of view synthesis mode and high-resolution fine imaging mode. In response to the need to obtain dynamic scene information under a wide range of field of view, the compound eye camera array selects the wide-area field of view synthesis mode, and in response to the need for high-resolution fine imaging of the target object, the compound eye camera array selects the high-resolution fine imaging mode. The initial mode of the compound eye camera array is the wide-area field of view synthesis mode.
[0022] Specifically, in the wide-area field of view synthesis mode, the rotation angle of each sub-eye camera and the array center camera that satisfies the 90-degree synthetic field of view angle is calculated, and the servo adjusts the compound eye camera array so that each sub-eye camera rotates according to the angle, and the overlapping area between adjacent cameras is at least 15%.
[0023] In one embodiment, if Figure 1As shown, all sub-eye cameras are arranged equidistantly in 5×5, the distance between adjacent cameras is 124mm, and the rotation angle of the camera is controlled by servos 3 and servos 5. In the wide-area field of view synthesis mode, camera 13 is the center camera of the array, and cameras 1 to 12 and cameras 14 to 25 are deflected relative to camera 13 to achieve a 90-degree synthetic field of view. At this time, the lateral divergence rotation angle θ1 of camera 2, camera 7, camera 12, camera 17, camera 22, camera 4, camera 9, camera 14, camera 19, and camera 24, and the longitudinal divergence rotation angle θ3 of cameras 6 to 10 and 16 to 20 are:
[0024] θ1=Ω x / 4-θ x / 4
[0025] θ3=Ω y / 4-θ y / 4
[0026] Among them, Ω x represents the total horizontal field of view of the compound eye camera array, Ω y represents the total vertical field of view of the compound eye camera array, θ x Represents the horizontal field of view of the sub-eye camera, θ y Indicates the vertical field of view of the sub-eye camera.
[0027] The lateral divergence rotation angle θ2 of camera 1, camera 6, camera 11, camera 16, camera 21, camera 5, camera 10, camera 15, camera 20, and camera 25, and the longitudinal divergence rotation angle θ4 of cameras 1 to 5 and 21 to 25 are:
[0028] θ2=Ω x / 2-θ x / 2
[0029] θ4=Ω y / 2-θ y / 2
[0030] The minimum value k of the ratio of the overlapping area of adjacent cameras in the horizontal direction to the field of view of a single camera in the horizontal direction x for:
[0031]
[0032] Where L represents the distance between the object and the compound eye camera array.
[0033] The minimum value k of the ratio of the overlapping area of adjacent cameras in the vertical direction to the field of view of a single camera in the vertical direction y for:
[0034]
[0035] To ensure the quality of the image stitching algorithm, the overlapping area of adjacent cameras is required to account for 15% or more of the field of view of a single camera, that is, k x , k y The value needs to be greater than 0.15.
[0036] When the compound eye camera array observes an object at 100m, the overall horizontal field of view is 90 degrees, the overall vertical field of view is 50 degrees, the sub-eye camera horizontal field of view is 30 degrees, and the vertical field of view is 25 degrees, the lateral divergence and longitudinal divergence rotation angles of each camera are calculated as shown in the following table
[0037] Table 1 Transverse divergence rotation angle of each camera
[0038] Rotation Angle Rotation Angle Rotation Angle Rotation Angle Rotation Angle Camera 1 30° Camera 2 15° Camera 3 0° Camera 4 15° Camera 5 30° Camera 6 30° Camera 7 15° Camera 8 0° Camera 9 15° Camera 10 30° Camera 11 30° Camera 12 15° Camera 13 0° Camera 14 15° Camera 15 30° Camera 16 30° Camera 17 15° Camera 18 0° Camera 19 15° Camera 20 30° Camera 21 30° Camera 22 15° Camera 23 0° Camera 24 15° Camera 25 30°
[0039] Table 2 Longitudinal divergence rotation angle of each camera
[0040] Rotation Angle Rotation Angle Rotation Angle Rotation Angle Rotation Angle Camera 1 12.5° Camera 2 12.5° Camera 3 12.5° Camera 4 12.5° Camera 5 12.5° Camera 6 6.25° Camera 7 6.25° Camera 8 6.25° Camera 9 6.25° Camera 10 6.25° Camera 11 0° Camera 12 0° Camera 13 0° Camera 14 0° Camera 15 0° Camera 16 6.25° Camera 17 6.25° Camera 18 6.25° Camera 19 6.25° Camera 20 6.25° Camera 21 12.5° Camera 22 12.5° Camera 23 12.5° Camera 24 12.5° Camera 25 12.5°
[0041] The field of view of a single camera in the wide-area field of view synthesis mode is a rectangle with a width of 535.9m to 732.05m, and the width of the overlapping area between adjacent cameras is 267.83m to 309.27m. At this time, the ratio of the overlapping area to the exclusive area is 36.6% to 57.7%, ensuring the quality of the stitched image.
[0042] Specifically, in high-resolution fine imaging mode, the rotation angles of each sub-eye camera and the array center camera that meet the conditions for observing the same object are calculated, and the steering gear adjusts the compound eye camera array so that each sub-eye camera rotates according to the angle.
[0043] In one embodiment, the lateral divergence rotation angle θ5 of camera 2, camera 7, camera 12, camera 17, camera 22, camera 4, camera 9, camera 14, camera 19, and camera 24, and the longitudinal convergence rotation angle θ7 of cameras 6-10, 16-20 are:
[0044] θ7=θ5=arctan(l 2 L(L+4)-4l 2 )
[0045] The lateral divergence rotation angle θ6 of camera 1, camera 6, camera 11, camera 16, camera 21, camera 5, camera 10, camera 15, camera 20, and camera 25, and the longitudinal divergence rotation angle θ8 of cameras 1 to 5 and 21 to 25 are:
[0046] θ8=θ6=arctan(4l 2 L(L+1)-4l 2 / L)
[0047] Wherein, L represents the distance between the photographed object and the compound eye camera array, and l represents the spacing between the sub-eye cameras in the compound eye camera array.
[0048] When the compound eye camera array observes an object at 100m, the distance between each sub-eye camera is 124mm, and its horizontal convergence and vertical convergence rotation angles are calculated as follows:
[0049] Table 3 Transverse convergence rotation angle of each camera
[0050] Rotation Angle Rotation Angle Rotation Angle Rotation Angle Rotation Angle Camera 1 0.14° Camera 2 0.07° Camera 3 0° Camera 4 0.14° Camera 5 0.07° Camera 6 0.14° Camera 7 0.07° Camera 8 0° Camera 9 0.14° Camera 10 0.07° Camera 11 0.14° Camera 12 0.07° Camera 13 0° Camera 14 0.14° Camera 15 0.07° Camera 16 0.14° Camera 17 0.07° Camera 18 0° Camera 19 0.14° Camera 20 0.07° Camera 21 0.14° Camera 22 0.07° Camera 23 0° Camera 24 0.14° Camera 25 0.07°
[0051] Table 4 Longitudinal convergence rotation angle of each camera
[0052] Rotation Angle Rotation Angle Rotation Angle Rotation Angle Rotation Angle Camera 1 0.14° Camera 2 0.14° Camera 3 0.14° Camera 4 0.14° Camera 5 0.14° Camera 6 0.07° Camera 7 0.07° Camera 8 0.07° Camera 9 0.07° Camera 10 0.07° Camera 11 0° Camera 12 0° Camera 13 0° Camera 14 0° Camera 15 0° Camera 16 0.07° Camera 17 0.07° Camera 18 0.07° Camera 19 0.07° Camera 20 0.07° Camera 21 0.14° Camera 22 0.14° Camera 23 0.14° Camera 24 0.14° Camera 25 0.14°
[0053] Step 3: The steps for wide-area field of view synthesis stitching are as follows:
[0054] 25 cameras arrays collect 25 pictures in real time, which are divided into five groups according to the position of the camera row, and each group of pictures is sorted according to the position of the camera column. The feature points of each group of pictures are extracted respectively, and the corresponding descriptors are generated. Matching is performed according to the descriptors, and the best matching point pair good_matches is screened out. The two-dimensional pixel coordinates Point2f of the best matching point pair are obtained, and the homography matrix H is calculated according to the coordinate values. The homography matrix is used to map the pixels of each group of pictures to the first picture of each group, and the seams of the overlapping areas of adjacent images are found, and fade-in and fade-out fusion is performed to generate each group of stitched images. Repeat the above process of feature point extraction, matching, calculation of homography matrix, pixel mapping, seam line search, and fade-in and fade-out fusion for each group of stitched images, and finally generate a panoramic image.
[0055] Figure 3 Flow chart of the wide-area field of view synthesis mode. In the wide-area field of view synthesis mode in the far-field signal inversion and reconstruction method based on the compound eye camera array of the present invention, the sub-eye camera is regulated according to the known rotation angle. The compound eye camera array shoots an image level consisting of 25 images in a single frame. Each frame of the image set goes through the following steps:
[0056] 1. Get the best matching point pair. Use the Hessian matrix to generate all interest points for adjacent images, i.e., the edge points of the image stability. Construct a multi-scale space, compare the interest point processed by the Hessian matrix with its 8 adjacent points of the same scale and the 9×2 points corresponding to the upper and lower adjacent scales to obtain the initial feature points, filter out the initial interest points with weak energy and positioning errors, and obtain the stable feature points. Statistically calculate the Harr wavelet features in the circular neighborhood of the stable feature point to obtain the main direction of the stable feature point. Take a rectangular area block of 4*4 pixels with the stable feature point as the center along the main direction, and count all vector values in the rectangular area block to obtain the descriptor of the stable feature point. According to the descriptor, calculate the Euclidean distance between the stable feature points to determine the matching degree. A stable feature point and its best matching feature point and its second best matching feature point constitute a similar point pair and a more similar point pair respectively. The best matching point pair is obtained when the ratio of the Euclidean distance between the similar point pair and the more similar point pair is less than 0.6.
[0057] 2. Calculate the width of the overlapping area. Obtain the coordinates of the optimal matching point pair, calculate the homography matrix between adjacent images, take the image on the left of the adjacent image as the first image, and the image on the right of the adjacent image as the second image. According to the homography matrix, the coordinates of the pixel points of the second image mapped on the first image can be calculated, and the width d of the overlapping area can be calculated as:
[0058] d = x1-x2
[0059] in, It represents the horizontal coordinate of the pixel point of the second image mapped onto the first image. The superscript i represents the horizontal coordinate of the pixel point on the second image, and the subscript j represents the vertical coordinate of the pixel point on the second image. i=1, 2, 3, ..., m; j=1, 2, 3, ..., n, where m and n represent the number of rows and columns of the second image respectively. Indicates taking , x2 represents the width of the first image.
[0060] 3. Generate the width and height of the panorama according to the coordinates of the first and second images:
[0061] width=ds-d
[0062]
[0063] Where ds represents the sum of the widths of the first image and the second image, and h represents the height of the first image. It represents the vertical coordinate of the pixel point of the second image mapped onto the first image, the superscript i represents the horizontal coordinate of the pixel point on the second image, and the subscript j represents the vertical coordinate of the pixel point on the second image, where i=1, 2, 3, ..., m; j=1, 2, 3, ..., n. express The minimum value in .
[0064] 4. According to the width of the overlapping area and the pixel coordinates of the first image and the second image, the horizontal coordinate value of the starting point start and the horizontal coordinate value of the end point end of the overlapping area are obtained as follows:
[0065] start=x1
[0066] end=start+d
[0067] 5. Obtain the best stitching line for the overlapping area of the first image and the second image. The rectangular area composed of (start, 0), (start, h), (end, 0), (end, h) is the overlapping area of the first image, and the rectangular area composed of (0, 0), (0, h), (d, 0), (d, h) is the overlapping area of the second image. According to the principle of minimum pixel difference and most similar pixel structure, a stitching line is established with each pixel in the first row of the overlapping area of the first image and the second image as the starting point. The intensity values of the current point of each stitching line and the next row of 3 pixels adjacent to the point are added and compared, and the pixel position corresponding to the minimum intensity value is taken as the extension direction of the stitching line. Finally, the best stitching line for the overlapping area of the first image and the second image is obtained.
[0068] 6. Process the grayscale values of the overlapping area of the first image and the second image, and finally obtain a panoramic image. According to the best stitching line of the overlapping area of the first image and the second image, the overlapping area of the first image and the second image is divided into a left area and a right area, and the left area and the right area are assigned values according to the coordinates of the overlapping area of the first image and the second image. The ratio value multiplied by each pixel for:
[0069]
[0070]
[0071] Where m represents the image number corresponding to the overlapping area, (i, j) m represents the coordinates of the pixel points in the overlapping area of the mth image, i represents the horizontal coordinate of the pixel points in the overlapping area of the mth image, j represents the vertical coordinate of the pixel points in the overlapping area of the mth image, and n iIt represents the distance from the horizontal coordinate of the ith row of stitching line in the overlapping area of the mth image to the nearest edge of the overlapping area. Indicates the distance from the pixel point in the i-th row and j-th column of the overlapped area of the m-th image to the i-th row stitching line. The grayscale value of the pixel point (i, j)1 in the left area of the overlapped area of the first image is multiplied by The gray value of the pixel (i, j)2 in the right area of the overlapping area of the second image is multiplied by The grayscale value of the pixel in the left area of the overlapped area of the second image (i, j) is multiplied by 2 The gray value of the pixel (i, j)2 in the right area of the overlapped area of the first image is multiplied by This makes the overall grayscale value of the overlapping area of each image consistent, and finally obtains a panoramic image.
[0072] 7. Perform operations 1 to 6 on the five images in each row in pairs to generate five panoramas. Rotate the five panoramas first, then perform operations 1 to 6 on them in pairs to finally obtain an overall panorama of 25 sub-images. Perform the above operations on the 25 sub-images obtained in each frame to finally achieve real-time display of the overall pattern. Figure 4 These are 25 sub-images captured by the compound eye camera array system of the present invention. Figure 5 It is the stitching result of the compound eye camera array system used in the present invention. The horizontal field of view of a single image is 30°. The wide-area field of view stitching synthesis algorithm proposed in the present invention can realize a wide-area field of view image with no obvious seams and smooth boundaries. The horizontal field of view of the synthesized image is greater than 90°.
[0073] Step 4: The specific process of the high-resolution fine imaging mode is that the compound eye camera array captures a series of low-resolution sub-images of the same object. In the high-resolution fine imaging mode of the far-field signal inversion and reconstruction method based on the compound eye camera array of the present invention, the sub-eye camera is regulated according to the known rotation angle, and the compound eye camera array is used to collect low-resolution images under different light field viewing angles, and the Lagrangian augmentation formula with TV regularization terms is solved, and alternating iterative update reconstruction is performed in the Fourier domain, so as to obtain a high-resolution image that exceeds the spatial sampling frequency of the detector and realize the inversion and reconstruction of the far-field signal.
[0074] Figure 6 Flow chart of high-resolution fine imaging mode. The steps of high-resolution fine imaging mode in the far-field signal inversion and reconstruction method based on compound eye camera array of the present invention are as follows:
[0075] 1. According to the determined rotation angle, each sub-eye camera of the compound eye camera array is individually adjusted. The sub-eye cameras shoot the same object to obtain the corresponding low-resolution image b i , the subscript i represents the serial number of the sub-eye camera.
[0076] 2. The average of all low-resolution images is taken as the initialized low-resolution image, and then it is interpolated and enlarged as the initialized high-resolution image, and Fourier transform is performed on it to obtain the initialized high-resolution spectrum psi iter , the superscript iter indicates the number of iterations.
[0077] 3. Establish the Lagrangian augmented form with TV regularization term, specifically:
[0078]
[0079] Where, psi iter represents the high-resolution spectrum, g i is a custom parameter, w represents the regularization parameter, y i , v represents the Lagrange multiplier, η, μ represent the penalty parameters, τ represents the coefficient of the balanced regularization term and the data fitting term, b i represents a low-resolution image, P i represents the system aperture function, D represents the gradient parameter, represents the Fourier transform, represents inverse Fourier transform;
[0080] 4. Initialize the Lagrangian augmented formula with TV regularization term. Replace the TV regularization term parameter w and the Lagrangian multiplier y i , v are set to a value close to 0, the penalty parameters η and μ are set to 0.01 and 0.02 respectively, the gradient parameter D is initialized to an image of the same size as the low-resolution image and with all pixel values 255, and the horizontal center area and the vertical center area of the gradient parameter D are assigned 0 to 1 according to the measured gradient value.
[0081] 5. Update custom parameters i Let i = 1, and set the aperture function P of the first sub-eye camera i With high resolution psi spectrum iter Point product, then inverse Fourier transform and subtract the Lagrange multiplier y i The ratio of the penalty parameter μ to the updated custom parameter s i :
[0082]
[0083] 6. Update the custom parameter g of the i-th sub-eye camera i . Select the low-resolution image b i , plus its corresponding custom parameter s i The absolute value of the penalty parameter μ is multiplied by the penalty parameter μ plus 1, and then multiplied by s i is the symbolic function value of the variable, and the custom parameter g of the i-th sub-eye camera is obtained.i :
[0084]
[0085] Here, sgn{...} represents a symbolic function.
[0086] 7. Update high resolution spectrum psi iter . Using the updated custom parameter g i , Lagrange multiplier y i , penalty parameter μ, aperture function P i , regularization term parameter w, Lagrange multiplier v and penalty parameter η, the square value of the measured absolute value of the aperture plane field intensity |H| 2 Update high resolution spectrum psi iter .
[0087]
[0088] Wherein, N represents the number of sub-eye cameras.
[0089] 8. Update the TV regularization term parameter w. For the updated psi iter Perform an inverse Fourier transform, multiply it with the gradient parameter D, subtract the ratio of the Lagrange multiplier v and the penalty parameter η, and use the value obtained as the independent variable of the sign function. Take its absolute value and subtract the reciprocal of the penalty parameter η, then find the maximum value of the subtraction value compared with 0 and multiply it by the sign function to obtain the updated TV regularization term parameter w.
[0090]
[0091] Where D represents the measured gradient parameter, Indicates taking The maximum value in .
[0092] 9. Update the Lagrange multiplier y i . Set the custom parameter g i Subtract the aperture function P i With psi iter The inverse Fourier transform of the product, the subtraction value multiplied by the penalty parameter 0.2μ, plus the unupdated Lagrange multiplier y i , and obtain the updated Lagrange multiplier y i .
[0093]
[0094] 10. Update the Lagrange multiplier v. Subtract the field strength H measured by the aperture function from the updated TV regularization parameter w and psi iterThe inverse Fourier transform of the product of , the subtraction value multiplied by the penalty parameter η and 0.2, and then added to the unupdated Lagrange multiplier v, to obtain the updated Lagrange multiplier v.
[0095]
[0096] 11. If the value of iter is greater than 1, use the high-resolution spectrum psi iter Calculate the parameter ε used to judge convergence iter
[0097]
[0098] Where, psi iter-1 represents the high-resolution spectrum of the previous iteration, and norm{...} represents the diagonal sum of squares of the product of its transpose with itself.
[0099] 12. Let i = i + 1, select the next sub-eye camera, and repeat steps 5 to 11 until the aperture function P corresponding to all sub-eye cameras is i , Lagrange multiplier y i , low resolution image b i Updated once.
[0100] 13. Let iter = iter + 1, and repeat steps 5 to 12 until the reconstructed high-resolution image converges. The convergence criterion is parameter ε iter Less than a threshold T, where the value of T is generally 0.00001
[0101] Figure 8 Experimental results for super-resolution imaging of outdoor objects. Figure 7 This is a low-resolution original image taken with a visible light camera with a pixel size of 12μm before super-resolution reconstruction. It can be seen that the collected image has obvious pixelation problems, the edges of the target are blurred, and the details of the target cannot be identified. Through the proposed reconstruction, the details of the target object are greatly improved, and the super-resolution reconstruction effect is obvious.
Claims
1. A far-field signal inversion and reconstruction method based on a compound eye camera array, characterized in that: The specific steps are: Step 1: Build a compound eye camera array; Step 2: According to the use requirements, select the compound eye camera array mode, which includes a wide-area field of view synthesis mode and a high-resolution fine imaging mode. In the wide-area field of view synthesis mode, calculate the rotation angle of each sub-eye camera and the array center camera that meets the 90-degree synthetic field of view angle. The steering gear adjusts the compound eye camera array so that each sub-eye camera rotates according to the calculated rotation angle, and the field of view overlap area between adjacent cameras is at least 15%; The lateral divergence rotation angle θ1 of the cameras in the two adjacent columns to the column where the central camera is located and the longitudinal divergence rotation angle θ3 of the cameras in the two adjacent rows to the row where the central camera is located are respectively: θ1=Ω x / 4-θ x / 4 θ3=Ω y / 4-θ y / 4 Among them, Ω x represents the total horizontal field of view of the compound eye camera array, Ω y represents the total vertical field of view of the compound eye camera array, θ x Represents the horizontal field of view of the sub-eye camera, θ y Indicates the vertical field of view of the sub-eye camera; The lateral divergence rotation angles θ2 of the remaining two columns of cameras and the longitudinal divergence rotation angles θ4 of the remaining two rows of cameras are: θ2=Ω x / 2-θ x / 2 θ4=Ω y / 2-θ y / 2 The minimum value k of the ratio of the overlapping area of adjacent cameras in the horizontal direction to the field of view of a single camera in the horizontal direction x for: Where L represents the distance between the object and the compound eye camera array; The minimum value k of the ratio of the overlapping area of adjacent cameras in the vertical direction to the field of view of a single camera in the vertical direction y for: k x , k y The values of are all greater than 0.15; Step 3: Use the compound eye camera array to collect images, and process the collected images accordingly according to the selected compound eye camera array mode.
2. The far-field signal inversion and reconstruction method based on the compound eye camera array according to claim 1 is characterized in that: The compound eye camera array includes cameras 1-25, slide rails 8-12, and a pan-tilt platform 14. The slide rails 8-12 are arranged in parallel on the pan-tilt platform at equal intervals. The cameras 1-25 are arranged on the slide rails 8-12 in a 5×5 array, and the distance between adjacent cameras is equal to the distance between adjacent slide rails. The cameras 1-25 can be adjusted.
3. The far-field signal inversion and reconstruction method based on the compound eye camera array according to claim 1 is characterized in that: In high-resolution fine imaging mode, the rotation angles of each sub-eye camera and the center camera of the array that meet the conditions for observing the same object are calculated, and the servo controls the compound eye camera array so that each sub-eye camera rotates according to the angle.
4. The far-field signal inversion and reconstruction method based on the compound eye camera array according to claim 3 is characterized in that: The lateral divergence rotation angle θ5 of the cameras in the two adjacent columns to the column where the central camera is located and the longitudinal convergence rotation angle θ7 of the cameras in the two adjacent rows to the row where the central camera is located are respectively: <h2 style=";text-align:left;direction:ltr">θ7 = θ5 = arctan(l)<h2 style=";text-align:left;direction:ltr"> 2 <h2 style=";text-align:left;direction:ltr"> L(L+4)-4l<h2 style=";text-align:left;direction:ltr"> 2 <h2 style=";text-align:left;direction:ltr"> ) The lateral divergence rotation angles of the two outermost rows of cameras and the longitudinal divergence rotation angles θ8 of the two outermost rows are: θ8=θ6=arctane(4l 2 L(L+1)-4l 2 / L) Wherein, L represents the distance between the photographed object and the compound eye camera array, and l represents the spacing between the sub-eye cameras in the compound eye camera array.
5. The far-field signal inversion and reconstruction method based on a compound eye camera array according to claim 1, characterized in that: In the wide-area field of view synthesis mode, the image acquisition steps are as follows: The 25 camera arrays collect 25 pictures in real time, which are divided into five groups according to the row positions of the cameras. Each group of pictures is sorted according to the column positions of the cameras. In the wide-area field of view synthesis mode, the image processing steps are as follows: (1) Obtain the optimal matching point pair: Use the Hessian matrix to generate all interest points for adjacent images; Construct a multi-scale space, compare the interest point processed by the Hessian matrix with its 8 adjacent points at the same scale and the 9×2 points corresponding to the upper and lower adjacent scales to obtain the initial feature points, filter out the initial interest points with energy below the threshold and positioning errors, and obtain stable feature points; The main direction of the stable feature point is obtained by counting the Harr wavelet features in the circular neighborhood of the stable feature point; Take a 4*4 pixel rectangular block with the stable feature point as the center along the main direction, count all the vector values in the rectangular block to get the descriptor of the stable feature point; The degree of matching is determined by calculating the Euclidean distance between stable feature points based on the descriptor; A stable feature point, its best matching feature point, and its second best matching feature point constitute a similar point pair and a relatively similar point pair respectively; Calculate the ratio of the Euclidean distance between similar point pairs to the Euclidean distance between more similar point pairs. Similar point pairs with a ratio less than 0.6 constitute the best matching point pairs. (2) Calculate the width of the overlapping area: Get the coordinates of the optimal matching point pair, calculate the homography matrix between adjacent images, take the image on the left of the adjacent image as the first image, and the image on the right of the adjacent image as the second image. According to the homography matrix, calculate the coordinates of the pixel points of the second image mapped on the first image, and calculate the width d of the overlapping area as: d = x1-x2 in, Indicates the horizontal coordinate of the pixel point of the second image mapped on the first image. The superscript i indicates the horizontal coordinate of the pixel point on the second image, and the subscript j indicates the vertical coordinate of the pixel point on the second image. i = 1, 2, 3, ..., m; j = 1, 2, 3, ..., n, where m and n represent the number of rows and columns of the second image respectively. Indicates taking The minimum value in , x2 represents the width of the first image; (3) The width and height of the panoramic image are generated according to the coordinates of the first image and the second image: width=ds-d Where ds represents the sum of the widths of the first image and the second image, and h represents the height of the first image. Indicates the ordinate of the pixel point of the second image mapped on the first image, the superscript i indicates the abscissa of the pixel point on the second image, and the subscript j indicates the ordinate of the pixel point on the second image, where i = 1, 2, 3, ..., m; j = 1, 2, 3, ..., n; express The minimum value in ; (4) According to the width of the overlapping area and the pixel coordinates of the first image and the second image, the starting point abscissa value start and the ending point abscissa value end of the overlapping area are obtained as follows: start=x1 end=start+d (5) Obtain the best stitching line of the overlapping area of the first image and the second image; denote the rectangular area composed of (start, 0), (start, h), (end, 0), (end, h) as the overlapping area of the first image, and denote the rectangular area composed of (0, 0), (0, h), (d, 0), (d, h) as the overlapping area of the second image; according to the principle of minimum pixel difference and most similar pixel point structure, establish a stitching line with each pixel in the first row of the overlapping area of the first image and the second image as the starting point, add and compare the intensity values of the current point of each stitching line with the three pixels in the next row adjacent to the point, take the pixel position corresponding to the minimum intensity value as the extension direction of the stitching line, and obtain the best stitching line of the overlapping area of the first image and the second image; (6) Processing the grayscale values of the overlapping area of the first image and the second image to finally obtain a panoramic image; dividing the overlapping area of the first image and the second image into a left area and a right area according to the best stitching line of the overlapping area of the first image and the second image, assigning values to the left area and the right area according to the coordinates of the overlapping area of the first image and the second image, and multiplying the ratio value of each pixel point for: Where m represents the image number corresponding to the overlapping area, (i, j) m represents the coordinates of the pixel points in the overlapping area of the mth image, i represents the horizontal coordinate of the pixel points in the overlapping area of the mth image, j represents the vertical coordinate of the pixel points in the overlapping area of the mth image, and n i,m Indicates the distance from the horizontal coordinate of the ith row of stitching line in the overlapping area of the mth image to the nearest edge of the overlapping area. It represents the distance from the pixel point in the i-th row and j-th column of the overlapping area of the m-th image to the i-th row stitching line. The gray value of the pixel point (i, j)1 in the left area of the overlapping area of the first image is multiplied by The gray value of the pixel (i, j)2 in the right area of the overlapping area of the second image is multiplied by The grayscale value of the pixel in the left area of the overlapped area of the second image (i, j) is multiplied by 2 The gray value of the pixel (i, j)2 in the right area of the overlapped area of the first image is multiplied by Make the overall grayscale value of the overlapping area of each image consistent, and obtain a panoramic image; (7) Perform operations 1 to 6 on the five images in each row in pairs to generate five panoramic images. The five panoramic images are first rotated and then operated on in pairs in pairs to obtain an overall panoramic image of 25 sub-images. (8) Perform operations 1 to 7 on the 25 sub-images obtained in each frame to achieve real-time display of the overall pattern.
6. The far-field signal inversion and reconstruction method based on the compound eye camera array according to claim 5 is characterized in that: In high-resolution fine imaging mode, GPU acceleration technology is used to perform wide-area field of view synthesis. The specific steps are as follows: Upload the sub-images to be stitched to the video memory, use the SURF_CUDA detector to find feature points, and use the BruteForce matcher to achieve feature point matching; Calculate the coordinates of multiple images in the same coordinate system according to the solved homography matrix (p c ,q c ), subscript c represents the sequence number of the image, p c Indicates the horizontal coordinate of the pixel point in the c image mapped to the same coordinate system, q c Indicates that the pixel points of image c are mapped to the vertical coordinates in the same coordinate system; Use the GPU mapping function cuda::warpPerspective to map multiple images to the same coordinate system to obtain multiple mapping result images; According to the calculated coordinates of multiple images in the same coordinate system (p c ,q c ), determine the actual positions of multiple images in the mapping result map, and call the GPU to crop the redundant areas; In the extension direction of the seam line, the GPU is called to calculate the difference in the grayscale values of pixels at the same position in the overlapping area of the stitched images, and the grayscale values of the pixels are processed to achieve gradual fusion.
7. The far-field signal inversion and reconstruction method based on a compound eye camera array according to claim 1, characterized in that: In high-resolution fine imaging mode, the image acquisition steps are as follows: Using compound eye camera array to collect low-resolution images at different light field viewing angles i , the subscript i represents the serial number of the sub-eye camera; In high-resolution fine imaging mode, the image processing steps are as follows: (1) The average of all low-resolution images is taken as the initial low-resolution image, the initial low-resolution image is interpolated and enlarged as the initialized high-resolution image, and the initialized high-resolution image is Fourier transformed to obtain the initialized high-resolution spectrum psi iter , the superscript iter indicates the number of iterations; (2) Establish the Lagrangian augmented formula with TV regularization term, which is: Where, psi iter represents the high-resolution spectrum, g i is a custom parameter, w represents the regularization parameter, y i , v represents the Lagrange multiplier, η, μ represent the penalty parameters, τ represents the coefficient of the balanced regularization term and the data fitting term, b i represents a low-resolution image, P i represents the system aperture function, D represents the gradient parameter, represents the Fourier transform, represents inverse Fourier transform; (3) Initialize the Lagrangian augmented formula with TV regularization term, and replace the TV regularization term parameter w and Lagrangian multiplier y i , v are set to a value close to 0, the penalty parameters η and μ are set to 0.01 and 0.02 respectively, the gradient parameter D is initialized to an image of the same size as the low-resolution image and with all pixel values 255, and the horizontal center area and vertical center area of the gradient parameter D are assigned 0 to 1 according to the measured gradient value; (4) Let i = 1, and set the aperture function P of the first sub-eye camera i With high resolution psi spectrum iter Point product, then inverse Fourier transform and subtract the Lagrange multiplier y i The ratio of the penalty parameter μ to the updated custom parameter s i : (5) Select low-resolution image b i , plus its corresponding custom parameter s i The product of the absolute value of and the penalty parameter μ, divided by the penalty parameter μ plus 1, and multiplied by s i is the symbolic function value of the variable, and the custom parameter g of the i-th sub-eye camera is obtained. i : Where sgn{...} represents a symbolic function; (6) Using the updated custom parameter g i , Lagrange multiplier y i , penalty parameter μ, aperture function P i , regularization term parameter w, Lagrange multiplier v and penalty parameter η, the square value of the measured absolute value of the aperture plane field intensity |H| 2 Update high resolution spectrum psi iter : Where N represents the number of sub-eye cameras; (7) Update the obtained psi iter Perform an inverse Fourier transform, multiply it with the gradient parameter D, subtract the ratio of the Lagrange multiplier v and the penalty parameter η, and use the obtained value as the independent variable of the sign function; take its absolute value and subtract the reciprocal of the penalty parameter η, then find the maximum value of the subtraction value compared with 0 and multiply it by the value obtained by the sign function to obtain the updated TV regularization term parameter w: Where D represents the measured gradient parameter, Indicates taking The maximum value in ; (8) Set the custom parameter g i Subtract the aperture function P i With psi iter The inverse Fourier transform of the product, the subtraction value multiplied by the penalty parameter 0.2μ, plus the unupdated Lagrange multiplier y i , and obtain the updated Lagrange multiplier y i : (9) Subtract the field strength H and psi measured by the aperture function from the updated TV regularization parameter w iter The inverse Fourier transform of the product of , the subtraction value multiplied by the penalty parameter η and 0.2, and then added to the unupdated Lagrange multiplier v, the updated Lagrange multiplier v is obtained: (10) If the value of iter is greater than 1, the high-resolution spectrum psi is used iter Calculate the parameter ε used to judge convergence iter : Where, psi iter-1 represents the high-resolution spectrum of the last iteration, norm{...} represents the diagonal sum of squares of the product of its own transpose; (11) Let i = i + 1, select the next sub-eye camera, and repeat steps 4 to 110 until the aperture function P corresponding to all sub-eye cameras is i , Lagrange multiplier y i , low resolution image b i All updated once; (12) Let iter = iter + 1, and repeat steps 4 to 11 until the reconstructed high-resolution image converges. The convergence criterion is parameter ε iter is less than a threshold T.
Citation Information
Patent Citations
Non-interference synthetic aperture super-resolution imaging reconstruction method
CN111694016A
Method for automatically split-jointing wide-angle image
CN101276465A
Bionic super-resolution imaging sensor and imaging method
CN107105147A
Matrix scanning-based macroscopic Fourier lamination super-resolution imaging method
CN114660060A
Multi-eye imaging apparatus
JP2013045032A
