CN111340724B - Image jitter removing method and device in LED screen correction process - Google Patents

Image jitter removing method and device in LED screen correction process Download PDF

Info

Publication number
CN111340724B
CN111340724B CN202010113346.8A CN202010113346A CN111340724B CN 111340724 B CN111340724 B CN 111340724B CN 202010113346 A CN202010113346 A CN 202010113346A CN 111340724 B CN111340724 B CN 111340724B
Authority
CN
China
Prior art keywords
fuzzy
led screen
angle
image
kernel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010113346.8A
Other languages
Chinese (zh)
Other versions
CN111340724A (en
Inventor
何志民
李文瑞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Colorlight Cloud Technology Co Ltd
Original Assignee
Colorlight Shenzhen Cloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Colorlight Shenzhen Cloud Technology Co Ltd filed Critical Colorlight Shenzhen Cloud Technology Co Ltd
Priority to CN202010113346.8A priority Critical patent/CN111340724B/en
Publication of CN111340724A publication Critical patent/CN111340724A/en
Application granted granted Critical
Publication of CN111340724B publication Critical patent/CN111340724B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/80Geometric correction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/73Deblurring; Sharpening
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30121CRT, LCD or plasma display

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

The invention relates to the technical field of LED display screens, and particularly discloses an image de-jitter method and device in the LED screen correction process, wherein the method comprises the steps of obtaining pictures of an LED screen, and selecting partial pictures of the LED screen as fuzzy kernel estimation samples; carrying out frequency domain conversion on the fuzzy kernel estimation sample, and acquiring the distribution characteristics of high-frequency components; quantizing the distribution characteristics, acquiring a fuzzy angle and determining a fuzzy direction; performing iterative estimation according to the fuzzy angle and the fuzzy direction to obtain a fuzzy length; constructing a fuzzy kernel according to the fuzzy angle and the fuzzy length; and deblurring the picture of the LED screen by using a fuzzy core. The image de-jittering method and device in the LED screen correction process are applied to a specific application scene of LED screen correction, and are used for de-jittering the image shot by camera in the LED screen correction process, so that the method and device have the advantages of high parameter estimation accuracy, clearer deblurred image, no ripple noise, local pixel degradation and the like, and the quality and efficiency of LED screen correction are improved.

Description

Image jitter removing method and device in LED screen correction process
Technical Field
The invention relates to the technical field of LED display screens, in particular to an image jitter removing method and device in the LED screen correction process.
Background
Currently, the LED camera calibration method is widely applied in the industry. Meanwhile, due to the limitations of application scenes, camera fixing modes and use environments, different degrees of jitter are inevitably generated in the shooting process. The blurred picture is not clear enough due to the pixel degradation of the blurred picture, the effect of camera correction is greatly influenced, and analysis failure is caused when the blurring is serious.
The main debounce approaches currently in use include mechanical debounce, optical debounce and algorithmic debounce. The former two can improve the fuzzy degree of the shot picture to a certain extent, but the definition requirement of image analysis is still hard to meet in practical use, the hardware equipment cost and the system complexity are increased, and the influence of the use field and the use environment is great, so the effect is limited. And the algorithm debounce is carried out on the picture on the basis of not changing the original system and not increasing hardware, so that the method has stronger universality and accuracy. At present, image deblurring algorithms based on traditional image processing mainly comprise two types, wherein one type is that characteristics and parameters of image blur are estimated and assumed in advance, namely non-blind deblurring based on prior assumption estimation, and the other type does not need to calculate blur parameters or characteristics in advance, and image deblurring is carried out through methods such as filtering and iterative computation, namely blind deblurring. Because the correction of the LED camera has higher requirements on the aspects of the definition, the resolution and the like of a picture, when the correction is applied to the LED camera, the problems of inaccurate fuzzy parameter estimation, large system error, poor effect and the like exist. The latter introduces new noise, and the processed picture cannot meet the definition requirement required by analysis.
There is therefore a need for a high-precision deblurring method that can meet the sharpness required for image analysis at high resolution.
Disclosure of Invention
Aiming at the technical problems in the prior art, the invention provides an image de-jitter method and device in the LED screen correction process.
An image de-jitter method in the process of LED screen correction comprises the following steps:
acquiring a picture of the LED screen, and selecting a part of the picture of the LED screen as a fuzzy core estimation sample;
carrying out frequency domain conversion on the fuzzy kernel estimation sample, and acquiring the distribution characteristics of high-frequency components;
quantizing the distribution characteristics, acquiring a fuzzy angle and determining a fuzzy direction;
performing iterative estimation according to the fuzzy angle and the fuzzy direction to obtain a fuzzy length;
constructing a fuzzy kernel according to the fuzzy angle and the fuzzy length;
and deblurring the picture of the LED screen by using a fuzzy core.
Further, the blur kernel estimates the samples as 1/16 through 1/2 of the picture of the LED screen.
Further, performing frequency domain conversion on the fuzzy core estimation sample, and acquiring the distribution characteristics of the high-frequency components, including:
converting the fuzzy kernel estimation sample from a space domain into a frequency domain through Fourier transform to obtain a frequency domain image;
and carrying out binarization processing on the frequency domain image to obtain the distribution characteristics of the high-frequency components.
Further, quantizing the distribution characteristics to obtain a fuzzy angle, including:
in the distribution characteristics, quantification is performed by the central moment;
estimating a blur angle from the quantization result, the blur angle being θ, an
Figure GDA0002460384030000021
Figure GDA0002460384030000022
Wherein the content of the first and second substances,
Figure GDA0002460384030000023
xcand ycIs the centroid coordinate of the distribution feature, and M is the component of the central moment.
Further, performing iterative estimation in a blur direction according to the blur angle to obtain a blur length, including:
determining a fuzzy direction according to the fuzzy angle;
setting integer interval [0, n]And continuously calculating K ═ r in the integer interval1/r2(ii) a Wherein
Figure GDA0002460384030000024
And H1=M20+M02
Figure GDA0002460384030000025
Figure GDA0002460384030000026
And selecting the interval value [0, l ] corresponding to the minimum value K, and taking l as the fuzzy length.
Further, constructing a blur kernel according to the blur angle and the blur length, comprising:
calculating a point spread function psf (theta, l) according to the fuzzy length and the fuzzy angle, and constructing a fuzzy core;
taking the distance from each point in the fuzzy kernel to the fuzzy length as the weight of the point;
and carrying out normalization processing on the fuzzy core.
Further, constructing a fuzzy core, comprising:
calculating the rotation radius of the fuzzy core according to the fuzzy length;
calculating an x component and a y component according to the rotation radius and the fuzzy angle;
calculating a coordinate stepping value according to the fuzzy angle;
generating two-dimensional grid point coordinates through the x component, the y component and the coordinate stepping value;
calculating the distance from the grid point to the fuzzy direction;
calculating the distance from the grid point to the origin;
screening abnormal grid points, wherein the distance from the grid points to the origin is larger than the rotation radius, and the distance from the grid points to the fuzzy direction is smaller than the fuzzy length;
calculating the distance from the abnormal grid point to the fuzzy direction;
and establishing a matrix as a fuzzy core.
Further, the LED screen picture is deblurred by adopting a fuzzy core, and the deblurring processing method comprises the following steps:
according to an iterative algorithm
Figure GDA0002460384030000031
The picture of the LED screen is deblurred, wherein,
Figure GDA0002460384030000032
for the current image of the iteration,
Figure GDA0002460384030000033
and P is a fuzzy core and Y is a picture of the LED screen as a result of the previous iteration.
Further, the picture of the LED screen is a single-channel image under an R channel, a G channel or a B channel.
The invention also provides a device for removing image shake in the process of correcting the LED screen, which comprises the following components: the image deblurring method comprises a fuzzy kernel estimation sample acquisition module, a fuzzy angle acquisition module, a fuzzy length acquisition module, a fuzzy kernel construction module and an image deblurring module, wherein:
the fuzzy kernel estimation sample acquisition module is connected with the fuzzy angle acquisition module and used for acquiring the pictures of the LED screen and selecting partial pictures of the LED screen as fuzzy kernel estimation samples;
the fuzzy angle acquisition module is connected with the fuzzy kernel estimation sample acquisition module, the fuzzy length acquisition module and the fuzzy kernel construction module and is used for carrying out frequency domain conversion on the fuzzy kernel estimation sample, acquiring the distribution characteristics of high-frequency components, quantizing the distribution characteristics, acquiring a fuzzy angle and determining a fuzzy direction;
the fuzzy length acquisition module is connected with the fuzzy angle acquisition module and the fuzzy kernel construction module and used for carrying out iterative estimation according to the fuzzy angle and the fuzzy direction to acquire the fuzzy length;
the fuzzy kernel construction module is connected with the fuzzy angle acquisition module, the fuzzy length acquisition module and the picture deblurring processing module and is used for constructing a fuzzy kernel according to the fuzzy angle and the fuzzy length;
and the picture deblurring processing module is connected with the fuzzy core construction module and is used for deblurring the picture of the LED screen by adopting the fuzzy core.
The image de-jittering method and device in the LED screen correction process are applied to a specific application scene of LED screen correction, the images shot by camera jittering during the LED screen correction are de-jittered, the time domain and the frequency domain of the images are transformed, the distribution characteristics of the images are convenient to extract, further analysis is carried out, and the parameter accurate estimation of high-resolution images is realized; compared with the existing jitter removal methods such as inverse filtering and wiener filtering, the method has the advantages of high parameter estimation accuracy, clearer deblurred image, no ripple noise, local pixel degradation and the like, improves the image jitter removal effect, and improves the quality and efficiency of LED screen correction.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart illustrating the steps of an image de-jitter method during the calibration of an LED panel according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating the steps of an image de-jitter method during the calibration of an LED panel according to a second embodiment of the present invention;
FIG. 3 is a diagram illustrating an exemplary image de-jittering method during an LED screen calibration process according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating the steps of an image de-jitter method during the calibration of an LED panel according to a third embodiment of the present invention;
FIG. 5 is a flowchart illustrating the steps of an image de-jitter method during the calibration of an LED panel according to a fourth embodiment of the present invention;
FIG. 6 is a flowchart illustrating the steps of an image de-jitter method during the calibration of an LED panel according to a fifth embodiment of the present invention;
FIG. 7 is a flowchart illustrating the steps of an image de-jitter method during the calibration of an LED panel according to a sixth embodiment of the present invention;
fig. 8 is a schematic diagram illustrating a grid point distribution of an image de-jittering method in an LED screen calibration process according to an embodiment of the present invention;
FIG. 9 is a diagram of pre-image de-dithering effects;
FIG. 10 is a graph of the effect of image de-dithering;
FIG. 11 is a schematic structural diagram of an image de-blurring apparatus during an LED screen calibration process according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An image de-jittering method in an LED screen correction process according to an embodiment of the present invention, as shown in fig. 1, includes the following steps:
step S10: and acquiring the picture of the LED screen, and selecting a part of the picture of the LED screen as a fuzzy core estimation sample.
In the method of the embodiment of the invention, the picture of the LED screen is obtained by shooting the LED screen to be detected by the camera, and the image debouncing process of the method is carried out on the picture of the LED screen. The acquisition mode of the picture of the LED screen can be realized by connecting the LED screen with a camera in a wired communication manner or in a wireless communication manner. The method of the embodiment can be used in the single-box correction process of the LED screen, and can also be used in the whole screen correction process.
Before the entire LED screen picture is subjected to debounce, a part of the picture is selected as a blur kernel estimation sample, wherein the blur kernel estimation sample is 1/16-1/2 of the LED screen picture, such as 1/16, 1/12, 1/9, 1/6, 1/4, 1/2 and the like, and is specifically determined according to the size of the picture of the LED screen.
Step S20: and carrying out frequency domain conversion on the fuzzy kernel estimation sample, and acquiring the distribution characteristics of the high-frequency components.
Specifically, as shown in fig. 2, in step S20 in this embodiment, performing frequency domain conversion on the fuzzy core estimation sample, and acquiring a distribution characteristic of the high-frequency component specifically includes:
step S201: and converting the fuzzy kernel estimation sample from a space domain into a frequency domain through Fourier transform to obtain a frequency domain image.
The frequency domain conversion formula of the present embodiment can refer to:
Figure GDA0002460384030000061
wherein f (x, y) represents a matrix of size M × N, x being 0, 1,2,.. said., M-1, y being 0, 1,2,.. said., N-1. F (u, v) represents a fourier transform of F (x, y), a coordinate system in which F (u, v) is located is called a frequency domain, and a matrix of M × N defined by u ═ 0, 1, 2.. 9., M-1 and v ═ 0, 1, 2.. once, N-1 is called a frequency domain matrix; the coordinate system where f (x, y) is located is called a spatial domain, and a matrix of M × N defined by x 0, 1, 2.. the matrix of M-1 and y 0, 1, 2.. the matrix of N-1 is called a spatial domain matrix, and obviously, the size of the frequency domain matrix is the same as the size of the original spatial domain matrix.
Step S202: and carrying out binarization processing on the frequency domain image to obtain the distribution characteristics of the high-frequency components.
The distribution characteristics are the characteristics of the fourier spectrum, such as the contour, the morphology and the like, shown on the frequency domain image after the binarization processing, the binarization image is a black-and-white image, wherein the brighter region contour is the distribution characteristics, as shown in fig. 3. The form of the high frequency component reflects the actual degree of blurring of the image picture, and is therefore used as a feature of the blur parameter estimation.
Step S30: and quantizing the distribution characteristics, acquiring a fuzzy angle and determining a fuzzy direction.
Specifically, as shown in fig. 4, in step S30 of the embodiment of the present invention, the quantifying the distribution characteristic to obtain the blur angle specifically includes the following steps:
step S301: in the distribution feature, quantification is performed by the central moment.
The central moment is obtained by counting all pixels in the image, and the calculation method is as follows:
second moment:
M20=∑IJi2·V(i,j) (2)
M02=∑IJj2·V(i,j) (3)
M11=∑IJi·j·V(i,j) (4)
first moment:
M10=∑IJi·V(i,j) (5)
M01=∑IJj·V(i,j) (6)
zero order moment:
M00=∑IJV(i,j) (7)
where V (i, j) represents a gray scale value with coordinates (i, j) on the image.
Step S302: and estimating the fuzzy angle according to the quantization result.
The blurring angle is theta, and
Figure GDA0002460384030000071
wherein:
Figure GDA0002460384030000072
wherein the content of the first and second substances,
Figure GDA0002460384030000073
xcand ycIs the centroid coordinate of the distribution feature.
Step S40: and carrying out iterative estimation according to the fuzzy angle and the fuzzy direction to obtain the fuzzy length.
Specifically, as shown in fig. 5, the step S40 performs iterative estimation in the blur direction according to the blur angle to obtain the blur length, which specifically includes:
step S401: and determining the blurring direction according to the blurring angle.
After the blurring angle θ is obtained through the above steps, the direction of the blurring angle θ can be known through the numerical value of the blurring angle θ, that is, the blurring direction. For example, θ is 45 °, and the blurring direction is the result of a 45 ° counterclockwise rotation with 0 ° horizontal to the right as the x-axis
Step S402: setting integer interval [0, n]And continuously calculating K ═ r in the integer interval1/r2
Wherein
Figure GDA0002460384030000074
And H1=M20+M02
Figure GDA0002460384030000075
The embodiment adopts an iteration mode of continuous calculation, can obtain the optimal value, solves the problem of estimation deviation in an actual application scene compared with the existing single parameter estimation mode, and reduces system errors and noise possibly introduced in the traditional estimation.
Step S403: and selecting the interval value [0, l ] corresponding to the minimum value K, and taking l as the fuzzy length.
For example, if the set integer interval [0, n ] is [0, 50] and K is the minimum value when the interval value is [0, 10], the corresponding l is 10, which is the blurring length.
Step S50: and constructing a fuzzy kernel according to the fuzzy angle and the fuzzy length.
Specifically, as shown in fig. 6, the constructing a blur kernel according to the blur angle and the blur length in step S50 specifically includes:
step S501: and calculating a point spread function psf (theta, l) according to the fuzzy length and the fuzzy angle, and constructing a fuzzy core.
The point spread function is a mathematical description function of the blurring degree of pixels in the image, and the jittered image can be represented as a convolution of a sharp image and the point spread function, so that the sharp image can be obtained by solving the point spread function in a deconvolution mode.
The blur length l and the blur angle θ have been obtained in the above calculation step, and mathematical modeling is performed on the two parameters to calculate the point spread function psf (θ, l) and construct a blur kernel.
Taking the blurring angle θ being 45 ° and the blurring length l being 10 as examples, the blurring kernel construction is realized by the following steps:
in the embodiment of the present invention, for convenience of correspondence when calculating the blur kernel, the embodiment uniformly corresponds the angle to the fourth quadrant for calculation. And after the calculation is finished, matrix inversion is carried out according to the cos value. For example, if the blur angle is 45 °, the inversion is performed once, and if the blur angle is 135 °, the inversion is not performed.
As shown in fig. 7, in step S501, a blur kernel is constructed, specifically:
step S5011: and calculating the rotation radius of the fuzzy core according to the fuzzy length.
The radius of rotation is (10-1)/2-4.5.
Step S5012: the x-component and y-component are calculated from the radius of rotation and the blur angle.
The x component is calculated to be 4.5 × cos (45 °) +1 ≈ 4.18198 according to the rotation radius and the blur angle, the integer is 4, and the y component can be calculated to be 4 in the same way.
Step S5013: and calculating a coordinate stepping value according to the fuzzy angle.
The step of the point coordinates is determined to be 1 from the sign of cos (45 °).
Step S5014: two-dimensional grid point coordinates are generated by the x-component, y-component, and coordinate step values.
From the x-component, y-component, corresponding 5 x 5 two-dimensional grid point coordinates may be generated, as shown in tables 1 and 2 below, with table 1 representing the x-coordinate values for each grid point and table 2 representing the y-coordinate values for each grid point.
TABLE 1 grid points x coordinate values
0 1 2 3 4
0 1 2 3 4
0 1 2 3 4
0 1 2 3 4
0 1 2 3 4
TABLE 2 y coordinate values of grid points
Figure GDA0002460384030000081
Figure GDA0002460384030000091
Step S5015: the distances of the grid points to the blur direction are calculated.
Assuming that the fuzzy straight line passes through the origin, the slope of the fuzzy straight line can be determined by the known fuzzy angle, so that the distance from the grid point to the fuzzy direction, i.e. the distance from the point to the line, can be calculated, and the calculation result is shown in the following table 3:
TABLE 3 distances of grid points to blur direction
0 -0.7071 -1.4142 -2.1213 -2.8284
0.7071 1.1102e-16 -0.7071 -1.4142 -2.1213
1.4142 0.7071 2.2204e-16 -0.7071 -1.4142
2.1213 1.4142 0.7071 4.4409e-16 -0.7071
2.8284 2.1213 1.4142 0.7071 4.4409e-16
Step S5016: the distances of the grid points to the origin are calculated.
The results of calculating the distances from the grid points to the origin are shown in table 4 below:
TABLE 4 distances of grid points to origin
0 1 2 3 4
1 1.4142 2.2361 3.1623 4.1231
2 2.2361 2.8284 3.6056 4.4724
3 3.1623 3.6056 4.2426 5
4 4.1231 4.4721 5 5.6569
Step S5017: and screening abnormal grid points, wherein the distance from the grid points to the origin is larger than the rotation radius, and the distance from the grid points to the fuzzy direction is smaller than the fuzzy length.
The method comprises the steps of firstly screening three grid points with the distance values equal to 5 and 5.6569 according to the condition that the distance from the grid point to the origin in the table 4 is larger than the rotation radius, then screening the grid points with the distance from the grid point to the fuzzy direction smaller than the fuzzy length according to the three grid points and the table 3, wherein the three grid points are all abnormal grid points.
Step S5018: the distance of the abnormal grid point to the blurring direction is calculated.
As shown in fig. 8, the grid points are placed in the coordinate system, the abnormal grid points are T, Z and a1, and the distance from Z to the blur direction is the length of a line segment from Z2 to Z3, taking abnormal grid point Z as an example.
Step S5019: and establishing a matrix as a fuzzy core.
The step constructs a matrix with the size of (2 m-1,2 n-1) as a fuzzy core, and only initializes the size of the fuzzy core matrix and does not assign the size. The values of m and n refer to the radius of rotation in the previous example, the radius of rotation is 4.5, rounded to 5, so that m and n both take the value of 5. A matrix with a blur kernel size of 9 x 9 is created.
Step S502: and taking the distance from each point in the fuzzy core to the fuzzy length as the weight of the point.
The weight value uses the formula:
Figure GDA0002460384030000101
a calculation is performed where width represents the width set by the blur kernel, for example, taking the value 1, and abs (dist (i, j)) represents the distance of the point from the origin. The weight matrix is calculated with the previous example as follows:
TABLE 5 weight matrix
0 0.161983 0 0 0
0.161983 1 0.292893 0 0
0 0.292893 1 0.292893 0
0 0 0.292893 1 0.292893
0 0 0 0.292893 1
Step S503: and carrying out normalization processing on the fuzzy core.
The diagonal angle of the weight is rotated by 180 degrees and filled into the fuzzy kernel, and the other adjacent blocks are supplemented with 0, so that the product of all numerical values in the fuzzy kernel satisfies
Figure GDA0002460384030000102
Where K represents the blur kernel of size (2 m-1,2 n-1) and K (i, j) represents the blur kernel coordinates (i, j), so the normalized blur kernel matrix is shown in Table 6:
TABLE 6 fuzzy core matrix
Figure GDA0002460384030000103
Figure GDA0002460384030000111
Step S60: and deblurring the picture of the LED screen by using a fuzzy core.
In the step, a clear image is finally output through deconvolution operation. As shown in fig. 9 and 10, the images before and after the deblurring process are shown, respectively.
The image dithering removing method in the LED screen correction process is applied to a specific application scene of LED screen correction, the dithering of a picture shot by camera dithering during the LED screen correction is removed, time domain and frequency domain transformation is carried out on the picture, the distribution characteristics of the picture are convenient to extract, further analysis is carried out, and accurate parameter estimation of a high-resolution picture is realized; compared with the existing jitter removal methods such as inverse filtering and wiener filtering, the method has the advantages of high parameter estimation accuracy, clearer deblurred image, no ripple noise, local pixel degradation and the like, improves the image jitter removal effect, and improves the quality and efficiency of LED screen correction.
Specifically, in step S60, the deblurring processing is performed on the LED screen picture by using a blur kernel, which specifically includes: according to an iterative algorithm
Figure GDA0002460384030000112
The picture of the LED screen is deblurred, wherein,
Figure GDA0002460384030000113
for the current image of the iteration,
Figure GDA0002460384030000114
and P is a fuzzy core and Y is a picture of the LED screen as a result of the previous iteration. In the embodiment of the invention, an iterative calculation mode is adopted during deblurring calculation, so that the output image is clearer and the deblurring effect is better.
Specifically, the pictures of the LED screens in all the embodiments of the present invention are single-channel images in an R channel, a G channel, or a B channel. Therefore, after the LED screen picture with the single channel is subjected to deblurring processing by the method, RGB three channels are merged, and the final clear colorful LED screen picture is output, so that the purpose of removing the shake of the original picture shot by the camera is realized.
The invention also discloses an image debouncing device 100 in the LED screen correction process, as shown in fig. 11, including a blur kernel estimation sample obtaining module 101, a blur angle obtaining module 102, a blur length obtaining module 103, a blur kernel constructing module 104 and a picture deblurring module 105, wherein:
and the fuzzy kernel estimation sample acquisition module 101 is connected with the fuzzy angle acquisition module 102 and is used for acquiring the pictures of the LED screen and selecting part of the pictures of the LED screen as the fuzzy kernel estimation samples.
The fuzzy angle obtaining module 102 is connected to the fuzzy kernel estimation sample obtaining module 101, the fuzzy length obtaining module 103 and the fuzzy kernel constructing module 104, and is configured to perform frequency domain conversion on the fuzzy kernel estimation sample, obtain distribution characteristics of the high frequency component, quantize the distribution characteristics, obtain a fuzzy angle, and determine a fuzzy direction.
The blur length obtaining module 103 is connected to the blur angle obtaining module 102 and the blur kernel constructing module 104, and is configured to perform iterative estimation according to the blur angle and the blur direction to obtain the blur length.
The blur kernel constructing module 104 is connected with the blur angle acquiring module 102, the blur length acquiring module 103 and the picture deblurring processing module 105, and is configured to construct a blur kernel according to the blur angle and the blur length.
And the picture deblurring processing module 105 is connected with the blur kernel constructing module 104 and is used for deblurring the picture of the LED screen by using the blur kernel.
The method for removing the jitter of the picture by the device 100 of the embodiment of the invention is specifically realized according to the following steps:
step S10: and acquiring the picture of the LED screen, and selecting a part of the picture of the LED screen as a fuzzy core estimation sample.
Step S20: and carrying out frequency domain conversion on the fuzzy kernel estimation sample, and acquiring the distribution characteristics of the high-frequency components.
Wherein, step S20 specifically includes:
step S201: and converting the fuzzy kernel estimation sample from a space domain into a frequency domain through Fourier transform to obtain a frequency domain image.
Step S202: and carrying out binarization processing on the frequency domain image to obtain the distribution characteristics of the high-frequency components.
Step S30: and quantizing the distribution characteristics, acquiring a fuzzy angle and determining a fuzzy direction.
Wherein, step S30 specifically includes:
step S301: in the distribution feature, quantification is performed by the central moment.
Step S302: and estimating the fuzzy angle according to the quantization result.
Step S40: and carrying out iterative estimation according to the fuzzy angle and the fuzzy direction to obtain the fuzzy length.
Wherein, step S40 specifically includes:
step S401: and determining the blurring direction according to the blurring angle.
Step S402: setting integer interval [0, n]And continuously calculating K ═ r in the integer interval1/r2
Step S403: and selecting the interval value [0, l ] corresponding to the minimum value K, and taking l as the fuzzy length.
Step S50: and constructing a fuzzy kernel according to the fuzzy angle and the fuzzy length.
Wherein, step S50 specifically includes:
step S501: and calculating a point spread function psf (theta, l) according to the fuzzy length and the fuzzy angle, and constructing a fuzzy core.
Wherein, step S501 specifically includes:
step S5011: and calculating the rotation radius of the fuzzy core according to the fuzzy length.
Step S5012: the x-component and y-component are calculated from the radius of rotation and the blur angle.
Step S5013: and calculating a coordinate stepping value according to the fuzzy angle.
Step S5014: two-dimensional grid point coordinates are generated by the x-component, y-component, and coordinate step values.
Step S5015: the distances of the grid points to the blur direction are calculated.
Step S5016: the distances of the grid points to the origin are calculated.
Step S5017: and screening abnormal grid points, wherein the distance from the grid points to the origin is larger than the rotation radius, and the distance from the grid points to the fuzzy direction is smaller than the fuzzy length.
Step S5018: the distance of the abnormal grid point to the blurring direction is calculated.
Step S5019: and establishing a matrix as a fuzzy core.
Step S502: and taking the distance from each point in the fuzzy core to the fuzzy length as the weight of the point.
Step S503: and carrying out normalization processing on the fuzzy core.
Step S60: and deblurring the picture of the LED screen by using a fuzzy core.
For the description of the execution of each step, reference may be directly made to the embodiments of the foregoing method, which are not described herein again.
The image debouncing device in the LED screen correction process is applied to a specific application scene of LED screen correction, and is used for debouncing a picture shot by camera shake during the LED screen correction, and converting the time domain and the frequency domain of the image, so that the distribution characteristics of the image can be conveniently extracted, further analysis is carried out, and the parameter accurate estimation of a high-resolution image is realized; compared with the existing jitter removal methods such as inverse filtering and wiener filtering, the method has the advantages of high parameter estimation accuracy, clearer deblurred image, no ripple noise, local pixel degradation and the like, improves the image jitter removal effect, and improves the quality and efficiency of LED screen correction.
The embodiment of the invention also provides a memory, wherein the memory is stored with computer instructions, and the computer instructions are executed by the processor to realize the image de-jittering method in the embodiment.
As shown in fig. 12, the electronic device 200 according to an embodiment of the present invention includes a memory 201 and a processor 202, where the memory 201 stores computer instructions; the processor 202 is configured to execute computer instructions to implement the image de-jittering method in the above embodiments. The electronic device 200 in this embodiment is a computer.
The image de-jittering method is realized by the following steps:
step S10: and acquiring the picture of the LED screen, and selecting a part of the picture of the LED screen as a fuzzy core estimation sample.
Step S20: and carrying out frequency domain conversion on the fuzzy kernel estimation sample, and acquiring the distribution characteristics of the high-frequency components.
Wherein, step S20 specifically includes:
step S201: and converting the fuzzy kernel estimation sample from a space domain into a frequency domain through Fourier transform to obtain a frequency domain image.
Step S202: and carrying out binarization processing on the frequency domain image to obtain the distribution characteristics of the high-frequency components.
Step S30: and quantizing the distribution characteristics, acquiring a fuzzy angle and determining a fuzzy direction.
Wherein, step S30 specifically includes:
step S301: in the distribution feature, quantification is performed by the central moment.
Step S302: and estimating the fuzzy angle according to the quantization result.
Step S40: and carrying out iterative estimation according to the fuzzy angle and the fuzzy direction to obtain the fuzzy length.
Wherein, step S40 specifically includes:
step S401: and determining the blurring direction according to the blurring angle.
Step S402: setting integer interval [0, n]And continuously calculating K ═ r in the integer interval1/r2
Step S403: and selecting the interval value [0, l ] corresponding to the minimum value K, and taking l as the fuzzy length.
Step S50: and constructing a fuzzy kernel according to the fuzzy angle and the fuzzy length.
Wherein, step S50 specifically includes:
step S501: and calculating a point spread function psf (theta, l) according to the fuzzy length and the fuzzy angle, and constructing a fuzzy core.
Wherein, step S501 specifically includes:
step S5011: and calculating the rotation radius of the fuzzy core according to the fuzzy length.
Step S5012: the x-component and y-component are calculated from the radius of rotation and the blur angle.
Step S5013: and calculating a coordinate stepping value according to the fuzzy angle.
Step S5014: two-dimensional grid point coordinates are generated by the x-component, y-component, and coordinate step values.
Step S5015: the distances of the grid points to the blur direction are calculated.
Step S5016: the distances of the grid points to the origin are calculated.
Step S5017: and screening abnormal grid points, wherein the distance from the grid points to the origin is larger than the rotation radius, and the distance from the grid points to the fuzzy direction is smaller than the fuzzy length.
Step S5018: the distance of the abnormal grid point to the blurring direction is calculated.
Step S5019: and establishing a matrix as a fuzzy core.
Step S502: and taking the distance from each point in the fuzzy core to the fuzzy length as the weight of the point.
Step S503: and carrying out normalization processing on the fuzzy core.
Step S60: and deblurring the picture of the LED screen by using a fuzzy core.
The present invention has been further described with reference to specific embodiments, but it should be understood that the detailed description should not be construed as limiting the spirit and scope of the present invention, and various modifications made to the above-described embodiments by those of ordinary skill in the art after reading this specification are within the scope of the present invention.

Claims (7)

1. An image de-jitter method in the process of correcting an LED screen is characterized by comprising the following steps:
acquiring a picture of an LED screen, and selecting a part of the picture of the LED screen as a fuzzy core estimation sample;
carrying out frequency domain conversion on the fuzzy kernel estimation sample, and acquiring the distribution characteristics of high-frequency components; which comprises the following steps: converting the fuzzy kernel estimation sample from a space domain to a frequency domain through Fourier transform to obtain a frequency domain image; carrying out binarization processing on the frequency domain image to obtain the distribution characteristics of high-frequency components;
quantizing the distribution characteristics, acquiring a fuzzy angle and determining a fuzzy direction; which comprises the following steps: in the distribution features, quantification is performed by central moments, second order moments: m20=∑IJi2·V(i,j),M02=∑IJj2·V(i,j),M11=∑IJi, j, V (i, j), first moment: m10=∑IJi·V(i,j),M01=∑IJj · V (i, j), zeroth order moment: m00=∑IJV (i, j), wherein V (i, j) represents a gray value with the coordinate (i, j) on the image; estimating a blur angle, θ, from the quantization result
Figure FDA0002829888460000011
Wherein the content of the first and second substances,
Figure FDA0002829888460000012
xcand ycCentroid coordinates for the distribution features;
performing iterative estimation according to the fuzzy angle and the fuzzy direction to obtain fuzzy length; which comprises the following steps: determining the fuzzy direction according to the fuzzy angle; setting integer interval [0, n]And continuously calculating in the integer intervalK=r1/r2(ii) a Wherein
Figure FDA0002829888460000013
And is
Figure FDA0002829888460000014
Selecting the corresponding interval value [0, l ] when K is the minimum value]Taking l as the fuzzy length;
constructing a fuzzy kernel according to the fuzzy angle and the fuzzy length;
and deblurring the picture of the LED screen by adopting the blur kernel.
2. The method of image de-jitter in an LED panel correction process of claim 1, wherein the blur kernel estimation samples are 1/16 through 1/2 of a picture of the LED panel.
3. The method of image de-jitter in an LED screen correction process of claim 1, wherein constructing a blur kernel based on the blur angle and the blur length comprises:
calculating a point spread function psf (theta, l) according to the fuzzy length and the fuzzy angle, and constructing the fuzzy kernel;
taking the distance from each point in the fuzzy kernel to the fuzzy length as the weight of the point;
and carrying out normalization processing on the fuzzy core.
4. The method of image de-jitter in an LED screen correction process of claim 3, wherein constructing the blur kernel comprises:
calculating the rotation radius of the fuzzy core according to the fuzzy length;
calculating an x component and a y component according to the rotation radius and the fuzzy angle;
calculating a coordinate stepping value according to the fuzzy angle;
generating two-dimensional grid point coordinates through the x component, the y component and the coordinate stepping value;
calculating distances from the grid points to the blurring direction;
calculating the distance from the grid point to the origin;
screening abnormal grid points, wherein the distance from the grid points to an origin is larger than the rotation radius, and the distance from the grid points to the fuzzy direction is smaller than the fuzzy length;
calculating the distance from the abnormal grid point to the fuzzy direction;
and establishing a matrix as the fuzzy core.
5. The method as claimed in claim 1, wherein the deblurring process of the LED screen picture using the blur kernel comprises:
according to an iterative algorithm
Figure FDA0002829888460000031
Deblurring the picture of the LED screen, wherein,
Figure FDA0002829888460000032
for the current image of the iteration,
Figure FDA0002829888460000033
and P is the fuzzy core and Y is the picture of the LED screen as the previous iteration result.
6. The method of image de-jittering during LED screen correction according to claim 1, wherein said LED screen picture is a single channel picture in R channel or G channel or B channel.
7. An apparatus for image debouncing during correction of an LED screen, comprising: the image deblurring method comprises a fuzzy kernel estimation sample acquisition module, a fuzzy angle acquisition module, a fuzzy length acquisition module, a fuzzy kernel construction module and an image deblurring module, wherein:
the fuzzy kernel estimation sample acquisition module is connected with the fuzzy angle acquisition module and used for acquiring the picture of the LED screen and selecting part of the picture of the LED screen as a fuzzy kernel estimation sample;
the fuzzy angle acquisition module is connected with the fuzzy kernel estimation sample acquisition module, the fuzzy length acquisition module and the fuzzy kernel construction module, and is used for performing frequency domain conversion on the fuzzy kernel estimation sample, acquiring the distribution characteristics of high-frequency components, quantizing the distribution characteristics, acquiring a fuzzy angle and determining a fuzzy direction; which comprises the following steps: converting the fuzzy kernel estimation sample from a space domain to a frequency domain through Fourier transform to obtain a frequency domain image; carrying out binarization processing on the frequency domain image to obtain the distribution characteristics of high-frequency components; and, in the distribution features, quantification is performed by central moments, second order moments: m20=∑IJi2·V(i,j),M02=∑IJj2·V(i,j),M11=∑IJi, j, V (i, j), first moment: m10=∑IJi·V(i,j),M01=∑IJj · V (i, j), zeroth order moment: m00=∑IJV (i, j), wherein V (i, j) represents a gray value with the coordinate (i, j) on the image; estimating a blur angle, θ, from the quantization result
Figure FDA0002829888460000034
Figure FDA0002829888460000035
Wherein the content of the first and second substances,
Figure FDA0002829888460000036
xcand ycCentroid coordinates for the distribution features;
the fuzzy length acquisition module is connected with the fuzzy angle acquisition module and the fuzzy kernel construction module and is used for carrying out iterative estimation according to the fuzzy angle and the fuzzy direction to acquire a fuzzy length; which comprises the following steps: according to the aboveA blur angle determines the blur direction; setting integer interval [0, n]And continuously calculating K-r in the integer interval1/r2(ii) a Wherein
Figure FDA0002829888460000041
Figure FDA0002829888460000042
And is
Figure FDA0002829888460000043
Selecting the corresponding interval value [0, l ] when K is the minimum value]Taking l as the fuzzy length;
the fuzzy kernel construction module is connected with the fuzzy angle acquisition module, the fuzzy length acquisition module and the picture deblurring processing module and is used for constructing a fuzzy kernel according to the fuzzy angle and the fuzzy length;
and the picture deblurring processing module is connected with the fuzzy core construction module and is used for deblurring the picture of the LED screen by adopting the fuzzy core.
CN202010113346.8A 2020-02-24 2020-02-24 Image jitter removing method and device in LED screen correction process Active CN111340724B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010113346.8A CN111340724B (en) 2020-02-24 2020-02-24 Image jitter removing method and device in LED screen correction process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010113346.8A CN111340724B (en) 2020-02-24 2020-02-24 Image jitter removing method and device in LED screen correction process

Publications (2)

Publication Number Publication Date
CN111340724A CN111340724A (en) 2020-06-26
CN111340724B true CN111340724B (en) 2021-02-19

Family

ID=71181788

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010113346.8A Active CN111340724B (en) 2020-02-24 2020-02-24 Image jitter removing method and device in LED screen correction process

Country Status (1)

Country Link
CN (1) CN111340724B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113030899A (en) * 2021-03-17 2021-06-25 内蒙古工业大学 Radar signal motion compensation method and device, and radar image de-jittering method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106651791A (en) * 2016-11-21 2017-05-10 云南电网有限责任公司电力科学研究院 Recovery method for single motion blur image
CN107945125A (en) * 2017-11-17 2018-04-20 福州大学 It is a kind of to merge spectrum estimation method and the fuzzy image processing method of convolutional neural networks
CN108376393A (en) * 2018-03-16 2018-08-07 华南理工大学 A kind of blurred picture blind restoration method towards high-speed straight-line Moving Objects
CN110443744A (en) * 2018-05-03 2019-11-12 安讯士有限公司 The method, apparatus and system of fog-level for image data to be applied to

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7130484B2 (en) * 2001-10-15 2006-10-31 Jonas August Biased curve indicator random field filters for enhancement of contours in images

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106651791A (en) * 2016-11-21 2017-05-10 云南电网有限责任公司电力科学研究院 Recovery method for single motion blur image
CN107945125A (en) * 2017-11-17 2018-04-20 福州大学 It is a kind of to merge spectrum estimation method and the fuzzy image processing method of convolutional neural networks
CN108376393A (en) * 2018-03-16 2018-08-07 华南理工大学 A kind of blurred picture blind restoration method towards high-speed straight-line Moving Objects
CN110443744A (en) * 2018-05-03 2019-11-12 安讯士有限公司 The method, apparatus and system of fog-level for image data to be applied to

Also Published As

Publication number Publication date
CN111340724A (en) 2020-06-26

Similar Documents

Publication Publication Date Title
EP3413265B1 (en) Panoramic video processing method and device and non-transitory computer-readable medium
Gao et al. Zernike-moment-based image super resolution
US7792384B2 (en) Image processing apparatus, image processing method, program, and recording medium therefor
CN107454284B (en) Video denoising method and computing device
US20070165961A1 (en) Method And Apparatus For Reducing Motion Blur In An Image
EP2836963B1 (en) Noise reduction for image sequences
JP2000149029A (en) Sub-pixel alignment method for digital image
WO2014070489A1 (en) Recursive conditional means image denoising
KR101839617B1 (en) Method and apparatus for removing non-uniform motion blur using multiframe
KR20130104258A (en) A method and an apparatus for debluring non-uniform motion blur usign multiframe comprises of a blur image and a noise image
JP7328096B2 (en) Image processing device, image processing method, and program
US10846839B2 (en) Image processing apparatus, image processing method, and storage medium
CN111340735B (en) LED screen body correction method, device and terminal
US10332244B2 (en) Methods and apparatuses for estimating an ambiguity of an image
CN110874827A (en) Turbulent image restoration method and device, terminal equipment and computer readable medium
CN111415317B (en) Image processing method and device, electronic equipment and computer readable storage medium
US20150187051A1 (en) Method and apparatus for estimating image noise
CN111340724B (en) Image jitter removing method and device in LED screen correction process
CN107085843B (en) System and method for estimating modulation transfer function in optical system
CN110738625A (en) Image resampling method, device, terminal and computer readable storage medium
CN115760578A (en) Image processing method and device, electronic equipment and storage medium
CN112434572B (en) Fingerprint image calibration method and device, electronic equipment and storage medium
CN111815535B (en) Image processing method, apparatus, electronic device, and computer readable medium
Pan et al. Fractional directional derivative and identification of blur parameters of motion-blurred image
El Abbadi et al. A Survey on Blind De-Blurring of Digital Image.

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 518000 101, integrated circuit Industrial Park, 1089 chaguang Road, Xili street, Shenzhen City, Guangdong Province

Patentee after: Carlette (Shenzhen) cloud Technology Co.,Ltd.

Address before: 518000 101, integrated circuit Industrial Park, 1089 chaguang Road, Xili street, Shenzhen City, Guangdong Province

Patentee before: COLORLIGHT (SHENZHEN) CLOUD TECHNOLOGY Co.,Ltd.

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 518000 room 3801, block a, block 8, block C, Wanke Yuncheng phase III, Liuxin 4th Street, Xili community, Xili street, Nanshan District, Shenzhen City, Guangdong Province (37-39 floors)

Patentee after: Carlette cloud Technology Co.,Ltd.

Address before: 518000 101, integrated circuit Industrial Park, 1089 chaguang Road, Xili street, Shenzhen City, Guangdong Province

Patentee before: Carlette (Shenzhen) cloud Technology Co.,Ltd.