CN111047521B - Infrared image non-uniformity parameterization correction optimization method based on image entropy - Google Patents

Infrared image non-uniformity parameterization correction optimization method based on image entropy Download PDF

Info

Publication number
CN111047521B
CN111047521B CN201911065298.3A CN201911065298A CN111047521B CN 111047521 B CN111047521 B CN 111047521B CN 201911065298 A CN201911065298 A CN 201911065298A CN 111047521 B CN111047521 B CN 111047521B
Authority
CN
China
Prior art keywords
image
column
value
entropy
calculating
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
CN201911065298.3A
Other languages
Chinese (zh)
Other versions
CN111047521A (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.)
Beijing Institute of Space Research Mechanical and Electricity
Original Assignee
Beijing Institute of Space Research Mechanical and Electricity
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 Beijing Institute of Space Research Mechanical and Electricity filed Critical Beijing Institute of Space Research Mechanical and Electricity
Priority to CN201911065298.3A priority Critical patent/CN111047521B/en
Publication of CN111047521A publication Critical patent/CN111047521A/en
Application granted granted Critical
Publication of CN111047521B publication Critical patent/CN111047521B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • G06T5/90
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration by the use of more than one image, e.g. averaging, subtraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10048Infrared image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20212Image combination
    • G06T2207/20216Image averaging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20212Image combination
    • G06T2207/20224Image subtraction

Abstract

The invention discloses an infrared non-uniformity parameterization correction optimization method based on image entropy. The specific implementation steps are as follows: 1) Calculating entropy of an original image odd pixel image and an original image even pixel image, and selecting the image with a large entropy value as a reference image; 2) And 3) performing non-uniformity parametric correction optimization processing based on image entropy on the reference image to obtain a corrected reference image, and 3) performing non-uniformity correction based on linear approximation based on the corrected reference image to finally obtain a corrected result image of the original image. The invention overcomes the defects of the traditional infrared image non-uniformity correction method and provides a more effective non-uniformity correction method based on the image entropy quality evaluation standard. The method can effectively remove the non-uniformity stripe noise in the infrared image, furthest maintain the original image information and obtain the high-quality infrared correction image.

Description

Infrared image non-uniformity parameterization correction optimization method based on image entropy
Technical Field
The invention relates to the field of infrared image processing, in particular to an infrared image non-uniformity parameter correction optimization method based on image entropy.
Background
The response transfer function of each pixel of the infrared detector is different due to the influence of the manufacturing process and materials, so that stripe noise exists in the obtained infrared image, and the stripe noise is called as non-uniformity noise. The noise seriously reduces the image quality, greatly prevents the wide application of infrared imaging in the fields of medical treatment, monitoring, agriculture and forestry and the like, and therefore, when infrared remote sensing application is carried out, non-uniformity correction is required to improve the quality of the infrared image.
The non-uniformity correction method of the infrared image mainly comprises two types: calibration-based methods and scene-based methods. Calibration-based methods require standard radiation sources, such as blackbody, which are more limited in practical applications. The scene-based method extracts parameters according to the characteristics of images in the scene to realize non-uniformity correction, has better applicability and is widely used. The scene-based correction method generally adopts the corrected image roughness as an evaluation index, which easily causes the corrected image to be excessively smooth and loses the original information contained in the image.
The image entropy represents the information quantity contained in the gray distribution aggregation feature in the image, reflects the definition of an image, and is a common quantization standard for evaluating the image.
Disclosure of Invention
The technical solution of the invention is as follows: the infrared image non-uniformity parameterization correction optimization method based on the image entropy has the advantages of large image information quantity and high definition, and overcomes the defects of the prior art.
The technical scheme of the invention is as follows: an infrared image non-uniformity parameterization correction optimization method based on image entropy comprises the following steps:
(1) Calculating the image entropy of an odd pixel image and an even pixel image of an input image X, selecting an image with a large entropy value as a reference image B, recording the entropy value e of the reference image B, and marking the other image as an image C, wherein the dimension of the image C is m rows and n2 columns; wherein m and n1, n2 are positive integers;
(2) The method comprises the following steps of:
(21) Initializing k=1;
(22) Assigning the reference image B to the process image P, initializing i=1;
(23) Calculating the gray value difference of the corresponding pixels in the (i+1) th column and the (i) th column in the process image P to obtain a column difference vector V in m dimensions, and sorting the absolute values of all elements of the column difference vector V from small to large to obtain a sorted absolute value vector U;
(24) Calculating to obtain an index array Q of all elements with absolute values smaller than U (k) in the column difference vector V, wherein the index array Q is a Q-element array, and calculating update parameters according to the following formula:
P(j,i+1)=aP(j,i+1)+b,j=1,2,3,...,m;
u (k) is the kth element in the absolute value vector U;
r 1 、r 2 、r 3 、r 4 intermediate amounts respectively;
p (x, y) is the value of the x-th row, y-th column in the process image P;
a. b is a correction coefficient respectively; q (j) is the j-th element in the index array Q;
(25) If i < = n-1, updating i=i+1, returning to step (23), otherwise, entering step (26);
(26) Calculating an entropy value t of the current process image P, if the entropy value t is larger than an entropy value e, updating the entropy value e into the entropy value t, and updating the current result image R into the process image P;
(27) If it isUpdating k=k+1, returning to step (22); otherwise, go to step (28);
(28) Updating the reference image B into a result graph R;
(3) The other image C carries out non-uniformity correction based on linear approximation to the reference image B, and finally obtains a corrected result, and the specific steps are as follows:
(31) Calculating an image D to be approximated from the reference image B:
if the image C is an odd pixel image of the input image X, the 1 st column of the image D is assigned as the 1 st column of the image B, and the subsequent n-1 columns of the image D are sequentially assigned as average images of two adjacent columns at the corresponding position of the image B; otherwise, if the image C is an even pixel image of the input image X, sequentially assigning the first n-1 columns of the image D as an average image of two adjacent columns of the corresponding position of the image B, and assigning the last column of the image D as the last column of the image B;
(32) Traversing g from 1 to n, calculating a left-hand matrix F and a right-hand vector H:
F(2g,2g)=2m,
g=1,2,3…n;j=1,2,3…m;
f (x, y) is the value of the x-th row and y-th column in the left matrix F;
c (x, y) is the value of the x-th row and y-th column in the image C;
h (x) is the x-th element in the right-end vector H;
d (x, y) is the value of the x-th row, y-th column in the image D;
(33) Calculating a linear approximation parameter t=inv (F) ·h; inv (F) is the matrix F inverted;
(34) If the image C is an odd pixel image of the input image X, setting the even pixel gray level of the image Y as the pixel gray level corresponding to the reference image B, and updating the odd pixel of the image Y from 1 to n by traversing g:
y (h, 2 g-1) =t (2 g-1) C (h, g) +t (2 g), wherein h=1, 2,3,..m;
t (2 g-1) and T (2 g) are respectively the 2g-1 element and the 2g element in the matrix T; y (x, Y) is the value of the x-th row and Y-th column in the image Y;
otherwise, if the image C is an odd pixel image of the input image X, setting the odd pixel gray level of the image Y as the pixel gray level corresponding to the reference image B, and updating the even pixel of the image Y from 1 to n by traversing g:
y (h, 2 g) =t (2 g-1) C (h, g) +t (2 g), wherein h=1, 2,3,..m;
image Y is the final corrected image.
An infrared image non-uniformity parameterization correction optimization system based on image entropy, comprising:
the first module is used for calculating the image entropy of an odd pixel image and an even pixel image of an input image X, selecting an image with a large entropy value as a reference image B, recording the entropy value e of the reference image B, and recording the other image as an image C, wherein the dimension of the image C is m rows and n2 columns; wherein m and n1, n2 are positive integers;
the second module is used for carrying out non-uniformity parametric correction optimization processing based on image entropy on the reference image B to obtain a corrected reference image;
and a third module, configured to correct the non-uniformity of the other image C based on linear approximation to the reference image B, and finally obtain a corrected result.
In the second module, the specific method for obtaining the corrected reference image is as follows:
(21) Initializing k=1;
(22) Assigning the reference image B to the process image P, initializing i=1;
(23) Calculating the gray value difference of the corresponding pixels in the (i+1) th column and the (i) th column in the process image P to obtain a column difference vector V in m dimensions, and sorting the absolute values of all elements of the column difference vector V from small to large to obtain a sorted absolute value vector U;
(24) Calculating to obtain an index array Q of all elements with absolute values smaller than U (k) in the column difference vector V, wherein the index array Q is a Q-element array, and calculating update parameters according to the following formula:
P(j,i+1)=aP(i,i+1)+b,j=1,2,3,...,m;
u (k) is the kth element in the absolute value vector U;
r 1 、r 2 、r 3 、r 4 intermediate amounts respectively;
p (x, y) is the value of the x-th row, y-th column in the process image P;
a. b is a correction coefficient respectively; q (j) is the j-th element in the index array Q;
(25) If i < = n-1, updating i=i+1, returning to step (23), otherwise, entering step (26);
(26) Calculating an entropy value t of the current process image P, if the entropy value t is larger than an entropy value e, updating the entropy value e into the entropy value t, and updating the current result image R into the process image P;
(27) If it isUpdating k=k+1, returning to step (22); otherwise, go to step (28);
(28) The reference image B is updated to the result map R.
In the third module, the non-uniformity correction based on linear approximation is performed on the other image C to the reference image B, and the specific method for obtaining the correction result is as follows:
(31) Calculating an image D to be approximated from the reference image B:
if the image C is an odd pixel image of the input image X, the 1 st column of the image D is assigned as the 1 st column of the image B, and the subsequent n-1 columns of the image D are sequentially assigned as average images of two adjacent columns at the corresponding position of the image B; otherwise, if the image C is an even pixel image of the input image X, sequentially assigning the first n-1 columns of the image D as an average image of two adjacent columns of the corresponding position of the image B, and assigning the last column of the image D as the last column of the image B;
(32) Traversing g from 1 to n, calculating a left-hand matrix F and a right-hand vector H:
F(2g,2g)=2m,
g=1,2,3…n;j=1,2,3…m;
f (x, y) is the value of the x-th row and y-th column in the left matrix F;
c (x, y) is the value of the x-th row and y-th column in the image C;
h (x) is the x-th element in the right-end vector H;
d (x, y) is the value of the x-th row, y-th column in the image D;
(33) Calculating a linear approximation parameter t=inv (F) ·h; inv (F) is the matrix F inverted;
(34) If the image C is an odd pixel image of the input image X, setting the even pixel gray level of the image Y as the pixel gray level corresponding to the reference image B, and updating the odd pixel of the image Y from 1 to n by traversing g:
y (h, 2 g-1) =t (2 g-1) C (h, g) +t (2 g), wherein h=1, 2,3,..m;
t (2 g-1) and T (2 g) are respectively the 2g-1 element and the 2g element in the matrix T; y (x, Y) is the value of the x-th row and Y-th column in the image Y;
otherwise, if the image C is an odd pixel image of the input image X, setting the odd pixel gray level of the image Y as the pixel gray level corresponding to the reference image B, and updating the even pixel of the image Y from 1 to n by traversing g:
y (h, 2 g) =t (2 g-1) C (h, g) +t (2 g), wherein h=1, 2,3,..m;
image Y is the final corrected image.
Compared with the prior art, the invention has the advantages that:
(1) The method evaluates the quality of the infrared image after the infrared non-uniformity correction from the angle of image entropy, avoids the problem that the quality evaluation of the traditional infrared image non-uniformity correction method depends on a roughness index and cannot represent the limitation of the information quantity of the image;
(2) The method provides a selection mechanism of the infrared image non-uniformity parameterization correction method, so that the existing infrared image non-uniformity parameterization correction method is easily expanded, and the infrared image non-uniformity correction method with better performance is conveniently generated;
(3) The method effectively combines the information of the odd pixel image and the even pixel image of the original infrared image to carry out the non-uniformity correction method, and compared with the traditional infrared image non-uniformity correction method, the method has better infrared image correction effect obviously influenced by odd-even non-uniformity;
(4) The method ensures the maximization of the image information while correcting the non-uniformity of the infrared image, and the corrected infrared image has higher definition and target recognition.
Drawings
FIG. 1 is a flow chart of the method of the present invention;
FIG. 2 is an infrared image 269X 384 to be corrected for non-uniformity;
FIG. 3 is an entropy curve of a process image corresponding to different K values;
fig. 4 is a graph of the result of the non-uniformity correction of an example infrared image.
Detailed Description
The present invention will be described in further detail with reference to examples and drawings, but embodiments of the present invention are not limited thereto.
Taking 269×384 infrared images to be corrected for non-uniformity as an example, a flow of an infrared image non-uniformity parameterization correction preferred method based on image entropy is shown in fig. 1, and the specific process is as follows:
(1) The image entropy of the input image X odd pixel image and the image of the even pixel image is calculated, an image with a large entropy value is selected as a reference image B (m rows and n1 columns), the entropy value e is recorded, and the other image is marked as C (m rows and n2 columns). The image entropy can be calculated by selecting one-dimensional entropy or two-dimensional entropy, wherein m and n1, n2 are positive integers.
In this embodiment, as shown in fig. 2, the input infrared image X to be corrected for non-uniformity is a 220×320 matrix, the odd pixel image is X odd, m=269 row, n1=192 column, the corresponding pixel column is X1, 3,5,..383 column, the even image is m=269 row, n2=192 column, and the corresponding pixel column is X2, 4,6,..384 column. The image entropy adopts a calculation formula of one-dimensional entropy, namely, the image entropy of X odd is 5.8094, and the image entropy of X even is 5.9658, so that the reference image B is an odd image, the other image C is an even image, and the image entropy of original image X is 6.1223.
(2) Performing non-uniformity parameterization correction based on image entropy on the reference image B to obtain a corrected reference image, and specifically comprising the following steps:
(21) Traversing parameter k from 1 toPerforming the following steps, wherein the symbol representation takes the largest integer not greater than b;
(22) Assigning the reference image B to the process image P, traversing the image P according to the columns, and initializing i=1;
(23) Calculating the gray value difference of the corresponding pixels in the (i+1) th column and the (i) th column in P to obtain a column difference vector V in m dimension, and sorting the absolute values of all elements of the column difference vector V from small to large to obtain a sorted absolute value vector U;
(24) Calculating to obtain an index array Q (Q-element array) of all elements with absolute values smaller than U (k) in V, and calculating update parameters according to the following formula:
P(j,i+1)=aP(j,i+1)+b,j=1,2,3,...,m;
u (k) is the kth element in the absolute value vector U;
r 1 、r 2 、r 3 、r 4 intermediate amounts respectively;
p (x, y) is the value of the x-th row, y-th column in the process image P;
a. b is a correction coefficient respectively; q (j) is the j-th element in the index array Q;
(25) If i < = n-1, updating i=i+1, returning to step (23), otherwise proceeding to step (26)
(26) Calculating the entropy value t of the current process image P, if t is larger than e, updating e to t, and updating the current result image R to P;
(27) If it isUpdating k=k+1, returning to step (22), otherwise proceeding to step (28)
Fig. 3 is an entropy curve of a process image corresponding to different K values, where the maximum entropy is 6.5362, appearing at a position of k=82.
(28) Updating the reference image B into a result graph R;
(3) The other image C carries out non-uniformity correction based on linear approximation to the reference image B, and finally obtains a corrected result, and the specific steps are as follows:
(31) Calculating from the reference image B to obtain an image D to be approximated
If the image C is an odd pixel image of the original image, the 1 st column of the image D is assigned as the 1 st column of the image B, the subsequent n-1 columns of the image D are sequentially assigned as average images of two adjacent columns of the corresponding position of the image B, otherwise, the previous n-1 columns of the image D are sequentially assigned as average images of two adjacent columns of the corresponding position of the image B, and the last column of the image D is the last column of the image B.
(32) The left matrix F and the right vector H are calculated by traversing g from 1 to n by:
F(2g,2g)=2m,
f (x, y) is the value of the x-th row and y-th column in the left matrix F;
c (x, y) is the value of the x-th row and y-th column in the image C;
h (x) is the x-th element in the right-end vector H;
d (x, y) is the value of the x-th row, y-th column in the image D;
(33) The linear approximation parameter t=inv (F) H is calculated,
(34) If the image C is an odd pixel image of the original image, setting the even pixel gray level of the image Y as the pixel gray level corresponding to the reference image B, and updating the odd pixel of the image Y from 1 to n through traversing g:
y (h, 2 g-1) =t (2 g-1) C (h, g) +t (2 g), wherein h=1, 2,3,..m;
t (2 g-1) and T (2 g) are respectively the 2g-1 element and the 2g element in the matrix T; y (x, Y) is the value of the x-th row and Y-th column in the image Y;
otherwise, setting the odd pixel gray level of the image Y as the pixel gray level corresponding to the reference image B, and updating the even pixel of the image Y by traversing g from 1 to n in the following steps
Y (h, 2 g) =t (2 g-1) C (h, g) +t (2 g), wherein h=1, 2,3,..m;
image Y is the final corrected image.
The image Y calculated in this embodiment is shown in fig. 4, and the image entropy of the result graph is 6.6785 and the roughness index 0.0862.
An infrared image non-uniformity parameterization correction optimization system based on image entropy, comprising:
the first module is used for calculating the image entropy of an odd pixel image and an even pixel image of an input image X, selecting an image with a large entropy value as a reference image B, recording the entropy value e of the reference image B, and recording the other image as an image C, wherein the dimension of the image C is m rows and n2 columns; wherein m and n1, n2 are positive integers;
the second module is used for carrying out non-uniformity parametric correction optimization processing based on image entropy on the reference image B to obtain a corrected reference image;
and a third module, configured to correct the non-uniformity of the other image C based on linear approximation to the reference image B, and finally obtain a corrected result.
In the second module, the specific method for obtaining the corrected reference image is as follows:
(21) Initializing k=1;
(22) Assigning the reference image B to the process image P, initializing i=1;
(23) Calculating the gray value difference of the corresponding pixels in the (i+1) th column and the (i) th column in the process image P to obtain a column difference vector V in m dimensions, and sorting the absolute values of all elements of the column difference vector V from small to large to obtain a sorted absolute value vector U;
(24) Calculating to obtain an index array Q of all elements with absolute values smaller than U (k) in the column difference vector V, wherein the index array Q is a Q-element array, and calculating update parameters according to the following formula:
P(j,i+1)=aP(j,i+1)+b,j=1,2,3,...,m;
u (k) is the kth element in the absolute value vector U;
r 1 、r 2 、r 3 、r 4 intermediate amounts respectively;
p (x, y) is the value of the x-th row, y-th column in the process image P;
a. b is a correction coefficient respectively; q (j) is the j-th element in the index array Q;
(25) If i < = n-1, updating i=i+1, returning to step (23), otherwise, entering step (26);
(26) Calculating an entropy value t of the current process image P, if the entropy value t is larger than an entropy value e, updating the entropy value e into the entropy value t, and updating the current result image R into the process image P;
(27) If it isUpdating k=k+1, returning to step (22); otherwise, go to step (28);
(28) The reference image B is updated to the result map R.
In the third module, the non-uniformity correction based on linear approximation is performed on the other image C to the reference image B, and the specific method for obtaining the correction result is as follows:
(31) Calculating an image D to be approximated from the reference image B:
if the image C is an odd pixel image of the input image X, the 1 st column of the image D is assigned as the 1 st column of the image B, and the subsequent n-1 columns of the image D are sequentially assigned as average images of two adjacent columns at the corresponding position of the image B; otherwise, if the image C is an even pixel image of the input image X, sequentially assigning the first n-1 columns of the image D as an average image of two adjacent columns of the corresponding position of the image B, and assigning the last column of the image D as the last column of the image B;
(32) Traversing g from 1 to n, calculating a left-hand matrix F and a right-hand vector H:
F(2g,2g)=2m,
g=1,2,3…n;j=1,2,3…m;
f (x, y) is the value of the x-th row and y-th column in the left matrix F;
c (x, y) is the value of the x-th row and y-th column in the image C;
h (x) is the x-th element in the right-end vector H;
d (x, y) is the value of the x-th row, y-th column in the image D;
(33) Calculating a linear approximation parameter t=inv (F) ·h; inv (F) is the matrix F inverted;
(34) If the image C is an odd pixel image of the input image X, setting the even pixel gray level of the image Y as the pixel gray level corresponding to the reference image B, and updating the odd pixel of the image Y from 1 to n by traversing g:
y (h, 2 g-1) =t (2 g-1) C (h, g) +t (2 g), wherein h=1, 2,3,..m;
t (2 g-1) and T (2 g) are respectively the 2g-1 element and the 2g element in the matrix T; y (x, Y) is the value of the x-th row and Y-th column in the image Y;
otherwise, if the image C is an odd pixel image of the input image X, setting the odd pixel gray level of the image Y as the pixel gray level corresponding to the reference image B, and updating the even pixel of the image Y from 1 to n by traversing g:
y (h, 2 g) =t (2 g-1) C (h, g) +t (2 g), wherein h=1, 2,3,..m;
image Y is the final corrected image.
The invention, in part not described in detail, is within the skill of those skilled in the art.

Claims (2)

1. An infrared image non-uniformity parameterization correction optimization method based on image entropy is characterized by comprising the following steps:
(1) Calculating the image entropy of an odd pixel image and an even pixel image of an input image X, selecting an image with a large entropy value as a reference image B, recording the entropy value e of the reference image B, and marking the other image as an image C, wherein the dimension of the image C is m rows and n2 columns; wherein m and n1, n2 are positive integers;
(2) Performing non-uniformity parameterization correction optimization processing on the reference image B based on image entropy to obtain a corrected reference image;
(3) Performing non-uniformity correction based on linear approximation on the other image C to the reference image B, and finally obtaining a corrected result;
the specific steps of the step (2) are as follows:
(21) Initializing k=1;
(22) Assigning the reference image B to the process image P, initializing i=1;
(23) Calculating the gray value difference of the corresponding pixels in the (i+1) th column and the (i) th column in the process image P to obtain a column difference vector V in m dimensions, and sorting the absolute values of all elements of the column difference vector V from small to large to obtain a sorted absolute value vector U;
(24) Calculating to obtain an index array Q of all elements with absolute values smaller than U (k) in the column difference vector V, wherein the index array Q is a Q-element array, and calculating update parameters according to the following formula:
P(j,i+1)=aP(j,i+1)+b,j=1,2,3,...,m;
u (k) is the kth element in the absolute value vector U;
r 1 、r 2 、r 3 、r 4 intermediate amounts respectively;
p (x, y) is the value of the x-th row, y-th column in the process image P;
a. b is a correction coefficient respectively; q (j) is the j-th element in the index array Q;
(25) If i < = n-1, updating i = i+1, returning to step (23), otherwise, entering step (26);
(26) Calculating an entropy value t of the current process image P, if the entropy value t is larger than an entropy value e, updating the entropy value e into the entropy value t, and updating the current result image R into the process image P;
(27) If it isUpdating k=k+1, returning to step (22); otherwise, go to step (28);
(28) Updating the reference image B into a result graph R;
the specific steps of the step (3) are as follows:
(31) Calculating an image D to be approximated from the reference image B:
if the image C is an odd pixel image of the input image X, the 1 st column of the image D is assigned as the 1 st column of the image B, and the subsequent n-1 columns of the image D are sequentially assigned as average images of two adjacent columns at the corresponding position of the image B; otherwise, if the image C is an even pixel image of the input image X, sequentially assigning the first n-1 columns of the image D as an average image of two adjacent columns of the corresponding position of the image B, and assigning the last column of the image D as the last column of the image B;
(32) Traversing g from 1 to n, calculating a left-hand matrix F and a right-hand vector H:
F(2g,2g)=2m,
g=1,2,3…n;j=1,2,3…m;
f (x, y) is the value of the x-th row and y-th column in the left matrix F;
c (x, y) is the value of the x-th row and y-th column in the image C;
h (x) is the x-th element in the right-end vector H;
d (x, y) is the value of the x-th row, y-th column in the image D;
(33) Calculating a linear approximation parameter t=inv (F) ·h; inv (F) is the matrix F inverted;
(34) If the image C is an odd pixel image of the input image X, setting the even pixel gray level of the image Y as the pixel gray level corresponding to the reference image B, and updating the odd pixel of the image Y from 1 to n by traversing g:
y (h, 2 g-1) =t (2 g-1) C (h, g) +t (2 g), wherein h=1, 2,3,..m;
t (2 g-1) and T (2 g) are respectively the 2g-1 element and the 2g element in the matrix T; y (x, Y) is the value of the x-th row and Y-th column in the image Y;
otherwise, if the image C is an odd pixel image of the input image X, setting the odd pixel gray level of the image Y as the pixel gray level corresponding to the reference image B, and updating the even pixel of the image Y from 1 to n by traversing g:
y (h, 2 g) =t (2 g-1) C (h, g) +t (2 g), wherein h=1, 2,3,..m;
image Y is the final corrected image.
2. An infrared image non-uniformity parameterized correction optimization system based on image entropy, comprising:
the first module is used for calculating the image entropy of an odd pixel image and an even pixel image of an input image X, selecting an image with a large entropy value as a reference image B, recording the entropy value e of the reference image B, and recording the other image as an image C, wherein the dimension of the image C is m rows and n2 columns; wherein m and n1, n2 are positive integers;
the second module is used for carrying out non-uniformity parametric correction optimization processing based on image entropy on the reference image B to obtain a corrected reference image;
a third module, configured to perform non-uniformity correction based on linear approximation on the other image C to the reference image B, and finally obtain a corrected result;
in the second module, the specific method for obtaining the corrected reference image is as follows:
(21) Initializing k=1;
(22) Assigning the reference image B to the process image P, initializing i=1;
(23) Calculating the gray value difference of the corresponding pixels in the (i+1) th column and the (i) th column in the process image P to obtain a column difference vector V in m dimensions, and sorting the absolute values of all elements of the column difference vector V from small to large to obtain a sorted absolute value vector U;
(24) Calculating to obtain an index array Q of all elements with absolute values smaller than U (k) in the column difference vector V, wherein the index array Q is a Q-element array, and calculating update parameters according to the following formula:
P(j,i+1)=aP(j,i+1)+b,j=1,2,3,...,m;
u (k) is the kth element in the absolute value vector U;
r 1 、r 2 、r 3 、r 4 intermediate amounts respectively;
p (x, y) is the value of the x-th row, y-th column in the process image P;
a. b is a correction coefficient respectively; q (j) is the j-th element in the index array Q;
(25) If i < = n-1, updating i = i+1, returning to step (23), otherwise, entering step (26);
(26) Calculating an entropy value t of the current process image P, if the entropy value t is larger than an entropy value e, updating the entropy value e into the entropy value t, and updating the current result image R into the process image P;
(27) If it isUpdating k=k+1, returning to step (22); otherwise, go to step (28);
(28) Updating the reference image B into a result graph R;
in the third module, the non-uniformity correction based on linear approximation is performed on the other image C to the reference image B, and the specific method for obtaining the correction result is as follows:
(31) Calculating an image D to be approximated from the reference image B:
if the image C is an odd pixel image of the input image X, the 1 st column of the image D is assigned as the 1 st column of the image B, and the subsequent n-1 columns of the image D are sequentially assigned as average images of two adjacent columns at the corresponding position of the image B; otherwise, if the image C is an even pixel image of the input image X, sequentially assigning the first n-1 columns of the image D as an average image of two adjacent columns of the corresponding position of the image B, and assigning the last column of the image D as the last column of the image B;
(32) Traversing g from 1 to n, calculating a left-hand matrix F and a right-hand vector H:
F(2g,2g)=2m,
f (x, y) is the value of the x-th row and y-th column in the left matrix F;
c (x, y) is the value of the x-th row and y-th column in the image C;
h (x) is the x-th element in the right-end vector H;
d (x, y) is the value of the x-th row, y-th column in the image D;
(33) Calculating a linear approximation parameter t=inv (F) ·h; inv (F) is the matrix F inverted;
(34) If the image C is an odd pixel image of the input image X, setting the even pixel gray level of the image Y as the pixel gray level corresponding to the reference image B, and updating the odd pixel of the image Y from 1 to n by traversing g:
y (h, 2 g-1) =t (2 g-1) C (h, g) +t (2 g), wherein h=1, 2,3,..m;
t (2 g-1) and T (2 g) are respectively the 2g-1 element and the 2g element in the matrix T; y (x, Y) is the value of the x-th row and Y-th column in the image Y; otherwise, if the image C is an odd pixel image of the input image X, setting the odd pixel gray level of the image Y as the pixel gray level corresponding to the reference image B, and updating the even pixel of the image Y from 1 to n by traversing g:
y (h, 2 g) =t (2 g-1) C (h, g) +t (2 g), wherein h=1, 2,3,..m;
image Y is the final corrected image.
CN201911065298.3A 2019-11-01 2019-11-01 Infrared image non-uniformity parameterization correction optimization method based on image entropy Active CN111047521B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911065298.3A CN111047521B (en) 2019-11-01 2019-11-01 Infrared image non-uniformity parameterization correction optimization method based on image entropy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911065298.3A CN111047521B (en) 2019-11-01 2019-11-01 Infrared image non-uniformity parameterization correction optimization method based on image entropy

Publications (2)

Publication Number Publication Date
CN111047521A CN111047521A (en) 2020-04-21
CN111047521B true CN111047521B (en) 2023-08-11

Family

ID=70232719

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911065298.3A Active CN111047521B (en) 2019-11-01 2019-11-01 Infrared image non-uniformity parameterization correction optimization method based on image entropy

Country Status (1)

Country Link
CN (1) CN111047521B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112150377B (en) * 2020-08-27 2024-03-29 北京空间机电研究所 Infrared image non-uniformity correction coefficient analysis solution alternation iteration optimization method
CN113781368B (en) * 2021-11-12 2022-01-21 国科天成科技股份有限公司 Infrared imaging device based on local information entropy

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081219A (en) * 2010-12-10 2011-06-01 中国空间技术研究院 In-orbit automatic focusing method for space CCD (charge coupled device) optical remote sensor
DE102011085927A1 (en) * 2011-11-08 2013-05-08 Siemens Aktiengesellschaft Method for correction of movement effects during reconstruction of image data set from two dimensional projection image of moving target area recorded with x-ray device, involves determining entropy of image data set by correction parameter
CN105957034A (en) * 2016-04-28 2016-09-21 武汉大学 Scanning infrared imaging system scene non-uniformity correction based on registration
CN109919880A (en) * 2019-03-18 2019-06-21 郑州轻工业学院 A kind of infrared image enhancing method based on particle group optimizing

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060110071A1 (en) * 2004-10-13 2006-05-25 Ong Sim H Method and system of entropy-based image registration
US7728757B2 (en) * 2008-06-09 2010-06-01 The Boeing Company Autofocus for minimum entropy through multi-dimensional optimization

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081219A (en) * 2010-12-10 2011-06-01 中国空间技术研究院 In-orbit automatic focusing method for space CCD (charge coupled device) optical remote sensor
DE102011085927A1 (en) * 2011-11-08 2013-05-08 Siemens Aktiengesellschaft Method for correction of movement effects during reconstruction of image data set from two dimensional projection image of moving target area recorded with x-ray device, involves determining entropy of image data set by correction parameter
CN105957034A (en) * 2016-04-28 2016-09-21 武汉大学 Scanning infrared imaging system scene non-uniformity correction based on registration
CN109919880A (en) * 2019-03-18 2019-06-21 郑州轻工业学院 A kind of infrared image enhancing method based on particle group optimizing

Also Published As

Publication number Publication date
CN111047521A (en) 2020-04-21

Similar Documents

Publication Publication Date Title
US10354369B2 (en) Image processing method, image processing apparatus, image pickup apparatus, and storage medium
CN107071234B (en) Lens shadow correction method and device
KR101291869B1 (en) Noise and/or flicker reduction in video sequences using spatial and temporal processing
CN100563303C (en) Image processing equipment, image capture device and image processing method
CN111047521B (en) Infrared image non-uniformity parameterization correction optimization method based on image entropy
EP3924933A1 (en) Image processor
CN109272520B (en) Self-adaptive infrared focal plane non-uniform correction method combining motion guidance and edge detection
CN107590779B (en) Image denoising and deblurring method based on image block clustering dictionary training
CN110930327B (en) Video denoising method based on cascade depth residual error network
CN105825489A (en) Infrared image enhancement method based on combination of gray translation and linear stretching
CN105915757B (en) A kind of color calibration method based on RGB color channel error function
CN105279742B (en) A kind of image de-noising method quickly based on piecemeal estimation of noise energy
US8089534B2 (en) Multi illuminant shading correction using singular value decomposition
CN109360167B (en) Infrared image correction method and device and storage medium
CN111563854B (en) Particle swarm optimization method for underwater image enhancement processing
CN116206196B (en) Ocean low-light environment multi-target detection method and detection system thereof
CN111798381A (en) Image conversion method, image conversion device, computer equipment and storage medium
CN112348754B (en) Low-illumination color image enhancement method and device
JP2019212132A (en) Image processing method, image processing apparatus, image capturing apparatus, program, and storage medium
CN114463196A (en) Image correction method based on deep learning
CN114612305A (en) Event-driven video super-resolution method based on stereogram modeling
CN108846804B (en) Deblurring method based on line graph and column graph model
CN114266708A (en) Infrared image scene correction method based on random difference
CN107450347B (en) A kind of GPU Real-time Nonuniformity Correction method based on infrared semi-matter simulating system
CN112150377B (en) Infrared image non-uniformity correction coefficient analysis solution alternation iteration optimization method

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