Event camera calibration method based on Fourier transform
Optimizing event camera parameters through Fourier transform and Zhang's calibration method solves the problem of traditional calibration methods' dependence on intensity distribution and achieves high-precision event camera calibration, which is suitable for the asynchronous and sparse data characteristics of event cameras.
Patent Information
- Application Number
- CN202410841794.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-06-27
AI Technical Summary
Traditional event camera calibration methods rely too much on spatial intensity distribution to extract feature points, resulting in limited calibration accuracy and incompatible with the characteristics of event cameras.
A method based on Fourier transform is used to extract the target's feature points through the frequency domain characteristics of the event data. The LCD display is used to trigger the event stream. The Zhang's calibration method and nonlinear optimization algorithm are combined to optimize the internal and external parameters of the event camera.
It improves the flexibility and accuracy of event camera calibration, achieves high-precision parameter estimation, and is suitable for the asynchronous and sparse data characteristics of event cameras.
Smart Images

Figure CN118823136A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of camera calibration, and in particular, the present invention relates to an event camera calibration method based on Fourier transform. Background Art
[0002] An event camera is an advanced bio-inspired visual sensor, also known as a dynamic vision sensor (DVS) or DAVIS (Dynamic and Active-Pixel Vision Sensor). Compared with traditional standard cameras that capture images at a fixed frame rate, event cameras have unique characteristics such as low latency, high dynamic range, low power consumption, and high temporal resolution. An event camera can be simply understood as a sensor that only senses moving objects. Each pixel has an independent photoelectric sensing module, and when the brightness change at the pixel exceeds the set threshold, event data (also called pulse data) will be generated and output. Since all pixels work independently, the data output of the event camera is asynchronous and exhibits sparse spatial characteristics. This is the biggest difference between event cameras and standard cameras, and it is also their core innovation. The advantage of this imaging method is that it can greatly reduce redundant data, thereby improving the computational efficiency of post-processing algorithms.
[0003] Event cameras are widely used in target tracking, 3D reconstruction, and visual measurement. As part of a visual system, parameter calibration is an important prerequisite for ensuring system performance. Since the event stream output by the event camera is accumulated as event frames in the time domain, it is insensitive to the spatial distribution of feature points. However, traditional event camera calibration methods rely too much on spatial intensity distribution for feature point extraction, which contradicts the characteristics of event cameras and limits the calibration accuracy of event cameras. Therefore, this patent proposes an event camera calibration method based on Fourier transform, which uses the frequency domain characteristics of event data to extract the feature points of the target, thereby improving the flexibility and accuracy of event camera calibration. Summary of the invention
[0004] The present invention provides an event camera calibration method based on Fourier transform to solve the problems existing in the above-mentioned background technology.
[0005] In order to achieve the above object, the technical solution adopted by the present invention is: a method for calibrating an event camera based on Fourier transform, which specifically includes the following steps:
[0006] Step S1: construct an event camera calibration system; the system includes an event camera, a vertically placed, movable and rotatable LCD display; the LCD display flashes at a frequency to trigger an event;
[0007] Step S2: Acquire an event stream; place the LCD display screen within the imaging range of the event camera, the circular array pattern displayed on the LCD display screen is regarded as a 2D calibration target, and the event stream data output by the event camera is converted and processed, and the event stream data is accumulated into a two-dimensional event frame within a time window, and converted into image information to obtain event frame image data;
[0008] Step S3: Extract feature points; use Fourier transform to calculate the wrapped phase map in two directions: φ x0 and φ y0 ; The feature points of the target image are located at φ x0 and φ y0 At the 2π phase value between;
[0009] Step S4: Move the LCD display screen forward and backward or at different angles to obtain data of at least three positions, and repeat steps S1 to S3 to capture horizontal and vertical stripe images of different positions respectively;
[0010] Step S5: According to the target image information, the world coordinates corresponding to the feature points are obtained, and then according to the correspondence between the feature points, the internal and external parameters of the event camera are obtained using the Zhang calibration method, and the nonlinear optimization algorithm is used to optimize the event camera parameter values.
[0011] Furthermore, in step S1, each pixel of the event camera works independently and asynchronously, and only outputs brightness changes. The format of an event is a vector, which is represented as follows:
[0012] e=(x i ,y i ,t i ,p i ) (1)
[0013] Among them, (x i ,y i ) represents the pixel coordinates of the event, t i Indicates the timestamp of the event. i Indicates the polarity of the event, that is, whether the brightness increases or decreases compared to the previous sampling;
[0014] Each pixel of the event camera detects the change in the logarithm of the light intensity irradiating the pixel. Let the brightness be I and the logarithm of the light intensity be logI. The event camera outputs the brightening or dimming event asynchronously according to the change in the logarithm of the light intensity. The event output is expressed as follows:
[0015] logI(x i ,t i )-logI(x i ,t i -Δt i)=±C (2)
[0016] Among them, x i =(x i ,y i ) indicates that at t i The pixel position at the moment, Δt represents a small time interval, and C represents a certain threshold. If the brightness information of the current pixel changes more than the threshold C and increases, a positive event p is triggered. i =+1, if it is decreasing, a negative event p is triggered i =-1. Within the entire camera field of view, as long as there is a pixel value change, an event will be output. All these events occur asynchronously. In the event camera calibration system, events are triggered by controlling the LCD screen to flash a circular array pattern at a certain frequency.
[0017] Furthermore, in step S2, the event camera outputs a series of events, including the timestamp of the event, the pixel coordinates of the event, and the polarity of the event. The event stream can be denoted as S, which is expressed as follows:
[0018] S={e(x1,y1,t1,p1),e(x2,y2,t2,p2),...,e(x i ,y i ,t i ,p i )} (3)
[0019] The two-dimensional event frame can be recorded as F(x, y, T), which represents the accumulation of all events occurring at position (x, y) within the time window T;
[0020] Considering the polarity information, positive and negative polarity events can be accumulated separately, and the accumulation process is expressed as follows:
[0021]
[0022] Where t0 is the start time of the event frame, and I(x,y) represents the generated image. The image can be generated from the event frame in the following way:
[0023] I(x,y)=(f(F(x,y,T) + ,f(F(x,y,T) - ,f(F(x,y,T))) (5)
[0024]
[0025] Among them, F(x,y,T) + and F(x,y,T) -They represent the accumulation of positive and negative polarity events respectively, while F(x, y, T) represents the accumulation of the total number of events. f is a conversion function, F max is the maximum event count in the event frame. This mapping normalizes the positive and negative polarity event counts to the range of 0 to 255 and puts them into the red and blue channels respectively, converting the data of the event frame into image data.
[0026] Furthermore, the step S3 uses a frequency domain analysis algorithm to extract the characteristic points of the target from the event frames accumulated by time in the event stream output by the event camera, and uses Fourier transform to extract the frequency domain characteristics of the event data for the periodic image, so as to more accurately calibrate the parameters of the event camera;
[0027] The array periodic target can be regarded as a two-dimensional periodic signal, and the following can be obtained through Fourier transform:
[0028]
[0029] Among them, H 0 is the zero-order spectrum, and represents the k-order spectrum, H * represents the conjugate operation;
[0030] Step S2 takes a circular array pattern as an example as a 2D calibration target.
[0031] Fourier transform (FT), inverse Fourier transform (IFT) and feature detection (FD), whose intensity is calculated as:
[0032]
[0033] Among them, (x, y) represents an image point, (x c ,y c ) represents the center of the feature point, N is the distance between the centers of adjacent circles, which can be used as the period of the circular target, and R is the radius of each circle; Returns the largest integer less than the input;
[0034] The circular array pattern is periodic in both the horizontal and vertical directions; when the optical axis of the camera is perpendicular to the target plane, the circular target image can be regarded as a two-dimensional periodic signal, and its intensity function can be converted into a Fourier series:
[0035] I(x,y)=A0+A x0 cosφ x0 +A y0 cosφ y0 (10)
[0036] Among them, A0 represents the DC component, A x0 and Ay0 represents the AC component, φ x0 and φ y0 Represents two wrapped phase diagrams of the fundamental frequency along the x-axis and y-axis; using Fourier transform (FT), the Fourier spectrum of the circular target image can be obtained as:
[0037]
[0038] Where Q0 is the Fourier spectrum or zero-order spectrum of A0; Q x (f x -f x0 ,f y )express The Fourier spectrum or the fundamental spectrum along the x-axis, Indicates Q x conjugate of; similarly, Q y (f x ,f y -f y0 )express The Fourier spectrum or the fundamental spectrum along the y-axis; Indicates Q y conjugation of;
[0039] By choosing an appropriate window to separate the Fourier spectrum Q x and Q y , and perform an inverse Fourier transform (IFT) and Get two wrapped phase diagrams φ from 0 to 2π x0 and φ y0 , and the circle center is φ x0 and φ y0 There is a 2π phase value in all of them, and the center of the circle is consistent with the 2π phase point. Therefore, the center of the circle can be located by extracting the 2π phase point.
[0040] Furthermore, the event camera (1) calibration system adopts a pinhole imaging model. The imaging position of any point in space in the image can be represented by the pinhole imaging model. For an image point p = [u, v], its corresponding 3D point is P = [X w ,Y w ,Z w ]; P and p represent their augmented vectors by adding 1 as the last element, so in the context of the pinhole imaging model, the imaging process can be expressed as:
[0041] sp=K[R t]P (12)
[0042] Where s is an arbitrary scale factor, R is the rotation matrix, and t is the translation matrix;
[0043] K is the intrinsic matrix to be estimated, expressed as:
[0044]
[0045] Where p = [u, v] is the focal length along the two image axes, [u0, v0] is the principal point, and χ is the tilt factor;
[0046] In order to ensure the accuracy and reliability of event camera calibration, the pinhole imaging model was corrected for radial distortion; the normalized undistorted pixel [u,v] and the corresponding normalized distorted point [u d ,v d The relationship between ] can be described as:
[0047]
[0048] Among them, r 2 =u 2 +v 2 , k1 and k2 are radial distortion coefficients. By detecting the calibration target feature points and establishing a one-to-one mapping between P and p, the above equations can be solved to estimate the unknown camera parameters.
[0049] Then, a nonlinear optimization algorithm is used to optimize the event camera parameter values, and the formula is as follows:
[0050]
[0051] Where M represents the number of target orientations; N represents the total number of feature points in a target image; m ij represents the jth feature point at the i-th orientation, Represents the coordinates of the back-projected point obtained using the intrinsic parameters. The minimum value obtained by the above formula is the optimized event camera parameter.
[0052] The beneficial effects of adopting the above technical solution are:
[0053] 1. The present invention provides an event camera calibration method based on Fourier transform. The pioneering application of Fourier transform in event camera calibration produces effective, reliable and high-precision calibration results.
[0054] 2. The present invention provides an event camera calibration method based on Fourier transform, which uses phase distribution instead of intensity information to locate feature points. Compared with intensity information positioning, phase distribution positioning feature points is more in line with the characteristics of event cameras, thereby improving the reliability and accuracy of event camera calibration.
[0055] 3. A Fourier transform-based event camera calibration method of the present invention. Although the present invention focuses on circular arrays, the method can be easily extended to other periodic targets, such as grids, demonstrating its simplicity and flexibility. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] Figure 1 It is a schematic diagram of the event camera calibration based on Fourier transform of the present invention;
[0057] Figure 2 It is a framework for feature detection based on Fourier transform;
[0058] Figure 3 It is a flow chart of extracting feature points using Fourier transform;
[0059] Numbers in the figure: 1- event camera, 2- LCD display, 3- circular array target image. DETAILED DESCRIPTION
[0060] The specific implementation methods of the present invention are further explained in detail below by describing the embodiments with reference to the accompanying drawings, with the aim of helping those skilled in the art to have a more complete, accurate and in-depth understanding of the concept and technical solution of the present invention and facilitating its implementation.
[0061] like Figures 1 to 3 As shown, the present invention is an event camera calibration method based on Fourier transform, which specifically includes the following steps:
[0062] Step S1: construct an event camera 1 calibration system; the system includes an event camera 1, a vertically placed, movable and rotatable LCD display screen 2; the LCD display screen 2 flashes at a frequency to trigger an event;
[0063] Step S10: In step S1, each pixel of the event camera 1 works independently and asynchronously, and only outputs the brightness change. The format of an event is a vector, which is expressed as follows:
[0064] e=(x i ,y i ,t i ,p i ) (1)
[0065] Among them, (x i ,y i ) represents the pixel coordinates of the event, t i Indicates the timestamp of the event. i Indicates the polarity of the event, that is, whether the brightness increases or decreases compared to the previous sampling;
[0066] Each pixel of event camera 1 detects the change of the logarithm of the light intensity irradiated on the pixel separately. Let the brightness be I and the logarithm of the light intensity be logI. It outputs the brightening or dimming event asynchronously according to the change of the logarithm of the light intensity. The event output is expressed as follows:
[0067] logI(x i ,ti )-logI(x i ,t i -Δt i )=±C (2)
[0068] Among them, x i =(x i ,y i ) indicates that at t i The pixel position at the moment, Δt represents a small time interval, and C represents a certain threshold. If the brightness information of the current pixel changes more than the threshold C and increases, a positive event p is triggered. i =+1, if it is decreasing, a negative event p is triggered i = -1. Within the entire camera field of view, as long as there is a change in pixel value, an event will be output. All these events occur asynchronously. In the event camera (1) calibration system, the event is triggered by controlling the LCD screen to flash a circular array pattern at a certain frequency.
[0069] Step S2: Acquire an event stream; place the LCD display screen 2 within the imaging range of the event camera 1, the circular array pattern displayed on the LCD display screen 2 is regarded as a 2D calibration target, and the event stream data output by the event camera 1 is converted and processed, and the event stream data is accumulated into a two-dimensional event frame within a time window, and converted into image information to obtain event frame image data;
[0070] Step S20: In step S2, the event camera 1 outputs a series of events, including the timestamp of the event, the pixel coordinates of the event, and the polarity of the event. The event stream can be denoted as S, which is expressed as follows:
[0071] S={e(x1,y1,t1,p1),e(x2,y2,t2,p2),...,e(x i ,y i ,t i ,p i )} (3)
[0072] The two-dimensional event frame can be recorded as F(x, y, T), which represents the accumulation of all events occurring at position (x, y) within the time window T;
[0073] Considering the polarity information, positive and negative polarity events can be accumulated separately, and the accumulation process is expressed as follows:
[0074]
[0075] Where t0 is the start time of the event frame, and I(x,y) represents the generated image. The image can be generated from the event frame in the following way:
[0076] I(x,y)=(f(F(x,y,T) + ,f(F(x,y,T) - ,f(F(x,y,T))) (5)
[0077]
[0078] Among them, F(x,y,T) + and F(x,y,T) - They represent the accumulation of positive and negative polarity events respectively, while F(x, y, T) represents the accumulation of the total number of events. f is a conversion function, F max is the maximum event count in the event frame. This mapping normalizes the positive and negative polarity event counts to the range of 0 to 255 and puts them into the red and blue channels respectively, converting the data of the event frame into image data.
[0079] Step S3: Extract feature points; Figure 2 As shown, the Fourier transform is used to calculate the wrapped phase map in two directions: φ x0 and φ y0 ; The feature points of the target image are located at φ x0 and φ y0 At the 2π phase value between; Figure 2 (d) shows the target image marked with feature points, where the red “+” indicates the location of the feature point;
[0080] Step S30: Step S3 uses a frequency domain analysis algorithm to extract the characteristic points of the target from the event frames accumulated by time in the event stream output by the event camera 1, and uses Fourier transform to extract the frequency domain characteristics of the event data for the periodic image, so as to more accurately calibrate the parameters of the event camera;
[0081] The array periodic target can be regarded as a two-dimensional periodic signal, and the following can be obtained through Fourier transform:
[0082]
[0083] Among them, H 0 is the zero-order spectrum, and represents the k-order spectrum, H * represents the conjugate operation;
[0084] Step S2 takes a circular array pattern as an example as a 2D calibration target.
[0085] Figure 2 The framework of feature detection is shown, Fourier transform FT, inverse Fourier transform IFT and feature detection FD, whose intensity is calculated as:
[0086]
[0087] Among them, (x, y) represents an image point, (x c ,y c ) represents the center of the feature point, N is the distance between the centers of adjacent circles, which can be used as the period of the circular target, and R is the radius of each circle; Returns the largest integer less than the input;
[0088] like Figure 2 As shown in (a), the circular array pattern is periodic in both the horizontal and vertical directions. When the optical axis of the camera is perpendicular to the target plane, the circular target image can be regarded as a two-dimensional periodic signal, and its intensity function can be converted into a Fourier series:
[0089] I(x,y)=A0+A x0 cosφ x0 +A y0 cosφ y0 (10)
[0090] Among them, A0 represents the DC component, A x0 and A y0 represents the AC component, φ x0 and φ y0 Represents two wrapped phase diagrams of the fundamental frequency along the x-axis and y-axis; using Fourier transform (FT), the Fourier spectrum of the circular target image can be obtained as:
[0091]
[0092] Where Q0 is the Fourier spectrum or zero-order spectrum of A0; Q x (f x -f x0 ,f y )express The Fourier spectrum or the fundamental spectrum along the x-axis, Indicates Q x conjugate of; similarly, Q y (f x ,f y -f y0 )express The Fourier spectrum or the fundamental spectrum along the y-axis; Indicates Q y conjugation of;
[0093] Figure 2 (b) shows the Fourier spectrum of the target image. By selecting an appropriate window, the Fourier spectrum Q is separated. x and Q y , and perform the inverse Fourier transform IFT and Get two wrapped phase diagrams φ from 0 to 2π x0 and φ y0 ,like Figure 2 (c) Figure 2 (d) shows the two wrapped phases φ x0 and φ y0 and, and the circle center is at φ x0 and φ y0 There is a 2π phase value in all of them, and the center of the circle coincides with the 2π phase point. The red “+” marks the position of the center of the circle. Therefore, the center of the circle can be located by extracting the 2π phase point.
[0094] Step S4: Move the LCD display screen 2 forward and backward or at different angles to obtain data of at least three positions, and repeat steps S1 to S3 to capture horizontal and vertical stripe images of different positions respectively;
[0095] Step S5: According to the target image information, the world coordinates corresponding to the feature points are obtained, and then according to the correspondence between the feature points, the internal and external parameters of the event camera are obtained using the Zhang calibration method, and the nonlinear optimization algorithm is used to optimize the event camera parameter values.
[0096] Step S50: The event camera 1 calibration system adopts a pinhole imaging model. The imaging position of any point in space in the image can be represented by the pinhole imaging model. For an image point p = [u, v], its corresponding 3D point is P = [X w ,Y w ,Z w ]; P and p represent their augmented vectors by adding 1 as the last element, so in the context of the pinhole imaging model, the imaging process can be expressed as:
[0097] sp=K[R t]P (12)
[0098] Where s is an arbitrary scale factor, R is the rotation matrix, and t is the translation matrix;
[0099] K is the intrinsic matrix to be estimated, expressed as:
[0100]
[0101] Where p = [u, v] is the focal length along the two image axes, [u0, v0] is the principal point, and χ is the tilt factor;
[0102] In order to ensure the accuracy and reliability of the calibration of event camera 1, the pinhole imaging model was corrected for radial distortion; the normalized undistorted pixel [u, v] and the corresponding normalized distorted point [u d ,v d The relationship between ] can be described as:
[0103]
[0104] Among them, r 2 =u 2 +v 2 , k1 and k2 are radial distortion coefficients. By detecting the calibration target feature points and establishing a one-to-one mapping between P and p, the above equations can be solved to estimate the unknown camera parameters.
[0105] Then, the nonlinear optimization algorithm is used to optimize the parameter values of event camera 1. The formula is as follows:
[0106]
[0107] Where M represents the number of target orientations; N represents the total number of feature points in a target image; m ij represents the jth feature point at the i-th orientation, Represents the coordinates of the back-projected point obtained using the intrinsic parameters. The minimum value obtained by the above formula is the optimized event camera 1 parameter.
[0108] The present invention is described above by way of example in conjunction with the accompanying drawings. Obviously, the specific implementation of the present invention is not limited to the above-mentioned method. As long as various non-substantial improvements are made using the method concept and technical solution of the present invention; or the above-mentioned concept and technical solution of the present invention are directly applied to other occasions without improvement, they are all within the protection scope of the present invention.
Claims
1. A Fourier transform-based event camera calibration method, characterized in that: The specific steps include: Step S1: constructing an event camera (1) calibration system; the system comprises an event camera (1), and a vertically placed, movable and rotatable LCD display (2); the LCD display (2) flashes at a frequency to trigger an event; Step S2: acquiring an event stream; placing the LCD display screen (2) within the imaging range of the event camera (1); the circular array pattern displayed on the LCD display screen (2) is regarded as a 2D calibration target; performing conversion processing on the event stream data output by the event camera (1); accumulating the event stream data into a two-dimensional event frame within a time window; and converting the event stream data into image information to obtain event frame image data; Step S3: Extract feature points; use Fourier transform to calculate the wrapped phase map in two directions: φ x0 and φ y0 ; The feature points of the target image are located at φ x0 and φ y0 At the 2π phase value between; Step S4: moving the LCD display screen (2) forward and backward or at different angles to obtain data of at least three positions, and repeating steps S1 to S3 to respectively capture horizontal and vertical stripe images of different positions; Step S5: According to the target image information, the world coordinates corresponding to the feature points are obtained, and then according to the correspondence between the feature points, the internal and external parameters of the event camera are obtained using the Zhang calibration method, and the nonlinear optimization algorithm is used to optimize the event camera parameter values.
2. The method for calibrating an event camera based on Fourier transform according to claim 1, characterized in that: In step S1, each pixel of the event camera (1) works independently and asynchronously, and only outputs the brightness change. The format of an event is a vector, which is expressed as follows: e=(x i ,y i ,t i ,p i ) (1) Among them, (x i ,y i ) represents the pixel coordinates of the event, t i Indicates the timestamp of the event. i Indicates the polarity of the event, that is, whether the brightness increases or decreases compared to the previous sampling; Each pixel of the event camera (1) detects the change in the logarithm of the light intensity irradiating the pixel. Let the brightness be I and the logarithm of the light intensity be logI. The event camera outputs the brightening or dimming event asynchronously according to the change in the logarithm of the light intensity. The event output is expressed as follows: logI(x i ,t i )-logI(x i ,t i -Δt i )=±C (2) Among them, x i =(x i ,y i ) indicates that at t i The pixel position at the moment, Δt represents a small time interval, and C represents a certain threshold. If the brightness information of the current pixel changes more than the threshold C and increases, a positive event p is triggered. i =+1, if it is decreasing, a negative event p is triggered i = -1. Within the entire camera field of view, as long as there is a change in pixel value, an event will be output. All these events occur asynchronously. In the event camera (1) calibration system, the event is triggered by controlling the LCD screen to flash a circular array pattern at a certain frequency.
3. The method for calibrating an event camera based on Fourier transform according to claim 1, characterized in that: In step S2, the event camera (1) outputs a series of events, including the timestamp of the event, the pixel coordinates of the event, and the polarity of the event. The event stream can be denoted by S, which is expressed as follows: S={e(x1,y1,t1,p1),e(x2,y2,t2,p2),...,e(x i ,y i ,t i ,p i )} (3) The two-dimensional event frame can be recorded as F(x, y, T), which represents the accumulation of all events occurring at position (x, y) within the time window T; Considering the polarity information, positive and negative polarity events can be accumulated separately, and the accumulation process is expressed as follows: Where t0 is the start time of the event frame, and I(x,y) represents the generated image. The image can be generated from the event frame in the following way: I(x,y)=(f(F(x,y,T) + ,f(F(x,y,T) - ,f(F(x,y,T))) (5) Among them, F(x,y,T) + and F(x,y,T) - They represent the accumulation of positive and negative polarity events respectively, while F(x, y, T) represents the accumulation of the total number of events. f is a conversion function, F max is the maximum event count in the event frame. This mapping normalizes the positive and negative polarity event counts to the range of 0 to 255 and puts them into the red and blue channels respectively, converting the data of the event frame into image data.
4. The method for calibrating an event camera based on Fourier transform according to claim 1, characterized in that: The step S3 uses a frequency domain analysis algorithm to extract the characteristic points of the target from the event frames accumulated by time in the event stream output by the event camera (1), and uses Fourier transform to extract the frequency domain characteristics of the event data for the periodic image, so as to more accurately calibrate the parameters of the event camera; The array periodic target can be regarded as a two-dimensional periodic signal, and the following can be obtained through Fourier transform: Among them, H 0 is the zero-order spectrum, and represents the k-order spectrum, H * represents the conjugate operation; Step S2 takes a circular array pattern as an example as a 2D calibration target. Fourier transform (FT), inverse Fourier transform (IFT) and feature detection (FD), whose intensity is calculated as: Among them, (x, y) represents an image point, (x c ,y c ) represents the center of the feature point, N is the distance between the centers of adjacent circles, which can be used as the period of the circular target, and R is the radius of each circle; Returns the largest integer less than the input; The circular array pattern is periodic in both the horizontal and vertical directions; when the optical axis of the camera is perpendicular to the target plane, the circular target image can be regarded as a two-dimensional periodic signal, and its intensity function can be converted into a Fourier series: I(x,y)=A0+A x0 cosφ x0 +A y0 cosφ y0 (10) Among them, A0 represents the DC component, A x0 and A y0 represents the AC component, φ x0 and φ y0 Represents two wrapped phase diagrams of the fundamental frequency along the x-axis and y-axis; using Fourier transform (FT), the Fourier spectrum of the circular target image can be obtained as: Where Q0 is the Fourier spectrum or zero-order spectrum of A0; Q x (f x -f x0 ,f y )express The Fourier spectrum or the fundamental spectrum along the x-axis, Indicates Q x conjugate of; similarly, Q y (f x ,f y -f y0 )express The Fourier spectrum or the fundamental spectrum along the y-axis; Indicates Q y conjugation of; By choosing an appropriate window to separate the Fourier spectrum Q x and Q y , and perform an inverse Fourier transform and Get two wrapped phase diagrams φ from 0 to 2π x0 and φ y0 , and we can get the circle center at φ x0 and φ y0 There is a 2π phase value in all of them, and the center of the circle is consistent with the 2π phase point. Therefore, the center of the circle can be located by extracting the 2π phase point.
5. The method for calibrating an event camera based on Fourier transform according to claim 1, characterized in that: The event camera (1) calibration system adopts the pinhole imaging model. The imaging position of any point in space in the image can be represented by the pinhole imaging model. For an image point p = [u, v], its corresponding 3D point is P = [X w ,Y w ,Z w ]; P and p represent their augmented vectors by adding 1 as the last element, so in the context of the pinhole imaging model, the imaging process can be expressed as: sp=K[R t]P (12) Where s is an arbitrary scale factor, R is the rotation matrix, and t is the translation matrix; K is the intrinsic matrix to be estimated, expressed as: Where p = [u, v] is the focal length along the two image axes, [u0, v0] is the principal point, and χ is the tilt factor; In order to ensure the accuracy and reliability of the calibration of the event camera (1), the pinhole imaging model is corrected for radial distortion; the normalized undistorted pixel [u, v] and the corresponding normalized distorted point [u d ,v d The relationship between ] can be described as: Among them, r 2 =u 2 +v 2 , k1 and k2 are radial distortion coefficients. By detecting the calibration target feature points and establishing a one-to-one mapping between P and p, the above equations can be solved to estimate the unknown camera parameters. Then, a nonlinear optimization algorithm is used to optimize the parameter values of the event camera (1), and the formula is as follows: Where M represents the number of target orientations; N represents the total number of feature points in a target image; m ij represents the jth feature point at the i-th orientation, represents the coordinates of the back-projected point obtained using the intrinsic parameters. The minimum value obtained by the above formula is the optimized event camera (1) parameter.
Citation Information
Patent Citations
Calibration method and device of event camera internal reference, computer equipment and storage medium
CN112750168A
Image processing method, hybrid image sensor, electronic equipment and storage medium
CN118214933A
Pose estimation method and related apparatus
US20230360254A1
