CN109360168B - Method and device for removing stripes of infrared image, infrared detector and storage medium - Google Patents

Method and device for removing stripes of infrared image, infrared detector and storage medium Download PDF

Info

Publication number
CN109360168B
CN109360168B CN201811202666.XA CN201811202666A CN109360168B CN 109360168 B CN109360168 B CN 109360168B CN 201811202666 A CN201811202666 A CN 201811202666A CN 109360168 B CN109360168 B CN 109360168B
Authority
CN
China
Prior art keywords
matrix
image
vertical
stripe
original image
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
CN201811202666.XA
Other languages
Chinese (zh)
Other versions
CN109360168A (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.)
Iray Technology Co Ltd
Original Assignee
Iray 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 Iray Technology Co Ltd filed Critical Iray Technology Co Ltd
Priority to CN201811202666.XA priority Critical patent/CN109360168B/en
Publication of CN109360168A publication Critical patent/CN109360168A/en
Application granted granted Critical
Publication of CN109360168B publication Critical patent/CN109360168B/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing
    • 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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Solid State Image Pick-Up Elements (AREA)

Abstract

The invention discloses a method for removing stripes of an infrared image, which comprises the steps of obtaining an original image which is output by an infrared detector and is preprocessed; filtering the original image to obtain a filtered image; acquiring a vertical stripe matrix and/or a horizontal stripe matrix according to the original image and the filtered image; searching the vertical column/horizontal row position suspected of having ghost from the vertical stripe matrix and/or the horizontal stripe matrix, and not performing corresponding vertical stripe/horizontal stripe removing processing on the vertical column/horizontal row position; and generating an image with stripes removed according to the original image and the processed vertical stripe matrix and/or horizontal stripe matrix. The method and the device can solve the problems that ghost images are easy to appear and edge blurring is caused in the image after the infrared image is subjected to stripe removal at present, and improve the image quality of infrared imaging. In addition, the application also provides an infrared image de-striping device, an infrared detector and a computer readable storage medium with the technical effects.

Description

Method and device for removing stripes of infrared image, infrared detector and storage medium
Technical Field
The invention relates to the technical field of infrared detection, in particular to a method and a device for removing stripes of an infrared image, an infrared detector and a computer readable storage medium.
Background
Infrared thermal imaging techniques have wide application in both military and civilian fields. The uncooled infrared imaging system plays an important role in the development process of the infrared thermal imaging technology due to the advantages of low price, small volume, low power consumption and the like. The infrared focal plane imaging system is the development direction of the infrared imaging technology and is a core device of the infrared imaging system. Infrared focal plane imaging devices, such as thermal imagers, are typically subject to various types of noise that can affect the quality of the infrared image. Therefore, in order to improve the visual effect, the noise of the infrared image needs to be processed by using a filtering technology.
The infrared focal plane detector generally comprises a plurality of amplifiers, one line or one column of the detector output shares one amplifier, so that transverse or longitudinal non-uniform fringes can be generated, the fringe noise is particularly prominent in an infrared focal plane imaging system as a special non-uniform noise, and the common one-point non-uniform correction method or two-point non-uniform correction method cannot filter the noise.
In the existing method for removing stripes from infrared images, when a scene appears parallel to the edges in the column direction in a scene, the edges in the column direction of the scene are easily extracted into vertical stripes, so that the images appear ghost images, as shown in fig. 1, the ghost images appear above a telegraph pole after the infrared images are stripped in the prior art. In addition, when a scene appears in the scene with edges parallel to the column direction, edge blurring is also easily caused. As shown in fig. 2, the boundary of the utility pole appears blurred as shown in the second image after the conventional infrared image is striped. The same problem is also present in removing the horizontal streaks.
Disclosure of Invention
The invention aims to provide a method and a device for removing stripes of an infrared image, an infrared detector and a computer readable storage medium, which are used for solving the problems that ghost images are easy to appear and edge blurring is caused in the image after the existing infrared image is subjected to stripe removal.
In order to solve the technical problem, the invention provides a method for removing stripes of an infrared image, which comprises the following steps:
acquiring an original image output by an infrared detector and subjected to preprocessing;
filtering the original image to obtain a filtered image;
acquiring a vertical stripe matrix and/or a horizontal stripe matrix according to the original image and the filtered image;
searching the vertical column/horizontal row position suspected of having ghost from the vertical stripe matrix and/or the horizontal stripe matrix, and not performing corresponding vertical stripe/horizontal stripe removing processing on the vertical column/horizontal row position;
and generating an image with stripes removed according to the original image and the processed vertical stripe matrix and/or horizontal stripe matrix.
Optionally, the acquiring the raw image output by the infrared detector and preprocessed includes:
and acquiring an image which is output by the infrared detector and subjected to two-point value correction and blind pixel replacement as the original image.
Optionally, the filtering the original image, and acquiring a filtered image includes:
and filtering the original image by adopting a vertical stripe filter and/or a transverse stripe filter to obtain a filtered image.
Optionally, the searching for the vertical column position suspected of having the ghost from the vertical stripe matrix, and the non-vertical stripe removing processing for the vertical column position includes:
each point in the vertical stripe matrix and data above the pixel of the point calculate an average value to obtain an average value matrix;
performing column direction median filtering on the mean matrix to obtain a median matrix;
calculating a secondary small value in the column direction in the average value matrix to obtain a secondary small value matrix;
and searching columns of the scenery parallel to the edge of the column direction through the comparison of the median matrix and the second-smallest-value matrix, and setting 0 at the corresponding positions of the vertical stripe matrix.
Optionally, the searching for the horizontal row position suspected of having the ghost from the horizontal stripe matrix, and the performing no horizontal stripe removing process on the horizontal row position includes:
each point in the transverse stripe matrix and data positioned on the left side of the pixel of the transverse stripe matrix are averaged to obtain an average matrix;
performing row direction median filtering on the mean matrix to obtain a median matrix;
calculating a secondary small value of the row direction in the mean value matrix to obtain a secondary small value matrix;
and searching columns of the scenery parallel to the edges of the row direction through the comparison of the median matrix and the second-smallest-value matrix, and setting 0 at the corresponding position of the horizontal stripe matrix.
Optionally, the searching for the column of the scene parallel to the edge of the column direction through the comparison between the median matrix and the second smallest matrix, and setting 0 at the corresponding position of the vertical stripe matrix includes:
and through the comparison of the median matrix and the secondary small value matrix, setting 0 at the corresponding position of the vertical stripe matrix under the condition that the difference between the secondary small value matrix and the median matrix is greater than a preset value.
Optionally, the generating, according to the original image and the processed vertical stripe matrix and/or horizontal stripe matrix, an image with stripes removed includes:
and under the condition that the difference between the secondary minimum value matrix and the median matrix is not greater than the preset value, the data used for removing the stripes are the data in the corresponding median matrix.
The invention also provides a device for removing stripes of the infrared image, which comprises:
the original image acquisition module is used for acquiring an original image which is output by the infrared detector through preprocessing;
the filtering module is used for filtering the original image to obtain a filtered image;
the stripe matrix acquisition module is used for acquiring a vertical stripe matrix and/or a horizontal stripe matrix according to the original image and the filtered image;
the processing module is used for searching the vertical column/horizontal row position suspected of having the ghost from the vertical stripe matrix and/or the horizontal stripe matrix, and performing corresponding vertical stripe/horizontal stripe removing processing on the vertical column/horizontal row position;
and the de-striping module is used for generating an image with stripes removed according to the original image and the processed vertical stripe matrix and/or horizontal stripe matrix.
The present invention also provides an infrared detector, comprising:
a memory for storing a computer program;
a processor for implementing the steps of any of the above-mentioned methods for de-striping an infrared image when executing the computer program.
The present invention also provides a computer readable storage medium, having a computer program stored thereon, where the computer program is executed by a processor to implement the steps of any one of the above-mentioned methods for de-striping an infrared image.
The method for removing the stripes of the infrared image comprises the steps of obtaining an original image which is output by an infrared detector and is preprocessed; filtering the original image to obtain a filtered image; acquiring a vertical stripe matrix and/or a horizontal stripe matrix according to the original image and the filtered image; searching the vertical column/horizontal row position suspected of having ghost from the vertical stripe matrix and/or the horizontal stripe matrix, and not performing corresponding vertical stripe/horizontal stripe removing processing on the vertical column/horizontal row position; and generating an image with stripes removed according to the original image and the processed vertical stripe matrix and/or horizontal stripe matrix. According to the method and the device, the stripe removing processing is not carried out on the suspected vertical columns or horizontal rows of the ghost, the problems that the ghost is easy to appear in the infrared image after the stripe removing processing is carried out on the infrared image and the edge is fuzzy can be solved, and the image quality of the infrared imaging is improved. In addition, the application also provides an infrared image de-striping device, an infrared detector and a computer readable storage medium with the technical effects.
Drawings
In order to more clearly illustrate the embodiments or technical solutions of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a first image after a prior art de-striping of an infrared image;
FIG. 2 is a second image after de-striping an existing IR image;
FIG. 3 is a flowchart of one embodiment of a method for de-striping an infrared image according to the present invention;
fig. 4 is a specific flowchart for searching for a vertical column position suspected of having a ghost from the vertical stripe matrix, where vertical stripe removing processing is not performed on the vertical column position;
FIG. 5 is a flow chart of another embodiment of a method for de-striping an infrared image provided herein;
FIG. 6 is a schematic diagram of an image of an original;
FIG. 7 is a diagram illustrating the effect of de-striping using only median filtering (colStripe1) on an original image;
FIG. 8 is a diagram illustrating the effect of vertical striping on an original image using a general averaging method;
FIG. 9 is a diagram illustrating the effect of vertical striping using only the next smallest value (colStripe3) on an original image;
FIG. 10 is a schematic diagram illustrating an effect of removing vertical stripes from an original image according to the present application;
FIG. 11 is a schematic diagram of imaging of a second original;
fig. 12 is a schematic diagram illustrating the effect of vertical striping only by using a median filtering method (colStripe1) on the original image two;
FIG. 13 is a schematic diagram illustrating the effect of vertical striping using a general averaging method for the second original drawing;
fig. 14 is a schematic diagram illustrating the effect of vertical striping using only the second smallest value (colStripe3) on the original image two;
FIG. 15 is a schematic diagram illustrating the effect of the second original image after vertical stripes are removed according to the present application;
FIG. 16 is a schematic diagram of three imaging of an original;
fig. 17 is a schematic diagram illustrating the effect of vertical striping only by using a median filter method (colStripe1) on an original image three;
FIG. 18 is a schematic diagram illustrating the effect of vertical striping in the conventional averaging method for the original drawing III;
fig. 19 is a schematic diagram showing the effect of vertical striping using only the second smallest value (colStripe3) for the original three;
FIG. 20 is a schematic diagram illustrating the effect of the third original image after vertical stripes are removed according to the present application;
FIG. 21 is a schematic view of imaging of an original image four;
fig. 22 is a schematic diagram illustrating the effect of vertical striping only by using a median filter method (colStripe1) on the original image four;
FIG. 23 is a schematic diagram illustrating the effect of vertical striping in the conventional averaging method for the original image IV;
fig. 24 is a schematic diagram showing the effect of vertical striping of original four using only the second smallest value (colStripe 3);
FIG. 25 is a schematic diagram illustrating the effect of the fourth original image after vertical striping is performed;
fig. 26 is a block diagram of an apparatus for de-striping an infrared image according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. 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.
A flowchart of an embodiment of a method for removing stripes from an infrared image according to the present invention is shown in fig. 3, and the method includes:
step S101: acquiring an original image output by an infrared detector and subjected to preprocessing;
in this embodiment, the obtaining of the original image output by the infrared detector specifically includes: and acquiring an image after two-point value correction as the original image.
It should be noted that, in the embodiment of the present application, performing two-point value correction on an image can perform an image denoising effect, and ensure the imaging quality of the later image. Other pre-processing for denoising purposes is possible, and is not limited to this. As a specific implementation manner, after the infrared detector outputs an image, the image may be subjected to two-point value correction and blind pixel replacement to be used as the original image.
Step S102: filtering the original image to obtain a filtered image;
in the step, the original image is filtered, so that the original image can be subjected to a stripe removing effect. Specifically, a vertical stripe filter may be used to filter the original image, and a filtered image, that is, an image with vertical stripes removed, is obtained. Of course, other filters may be used to filter the original image, and the filter is not limited to the vertical stripe filter, and any other filter capable of removing the vertical stripe effect may be used.
Similarly, the original image may be filtered by using a horizontal stripe filter, and a filtered image, that is, an image after the horizontal stripes are removed, is obtained. The original image can be filtered by adopting other filters, the filter is not limited to a horizontal stripe filter, and other filters capable of removing horizontal stripes can be adopted.
Step S103: acquiring a vertical stripe matrix and/or a horizontal stripe matrix according to the original image and the filtered image;
specifically, the original image and the image from which the vertical stripes are removed are subjected to difference processing, so that a vertical stripe matrix can be obtained. And performing difference processing on the original image and the image with the horizontal stripes removed to obtain a horizontal stripe matrix.
Step S104: searching the vertical column/horizontal row position suspected of having ghost from the vertical stripe matrix and/or the horizontal stripe matrix, and not performing corresponding vertical stripe/horizontal stripe removing processing on the vertical column/horizontal row position;
referring to fig. 4, a specific flowchart for searching for a vertical column position suspected of having a ghost from the vertical stripe matrix and not performing vertical stripe removing processing on the vertical column position is provided in the present application, in step S104 in the present application, the following steps may be specifically included for a vertical stripe:
step S1041: each point in the vertical stripe matrix and the data above the pixel of the point calculate an average value to obtain an average value matrix;
and each pixel point in the vertical stripe matrix is added with a pixel above the pixel of the pixel point and the average value is calculated to obtain a mean value matrix. That is, the image data of the ith row and the jth column of the vertical stripe matrix and the pixels of the 1 st row to the jth column of the i-1 th row above are averaged to obtain an average matrix. Of course, there may be i-1-n to i-1 lines; each column can also be segmented, for example, 1 mean value is calculated for 10 consecutive groups, 10 groups are taken in total, discontinuity can be caused between 10 groups, and then the median value and the second smallest value of the column are removed, so that low resource usage is realized. It should be noted that the method for obtaining the average value in this step may be all the upper data, or n adjacent continuous data above, which does not affect the implementation of this application.
Step S1042: performing column direction median filtering on the mean matrix to obtain a median matrix;
it can be understood that the median filtering performed on the mean matrix in the present application may be equivalent median filtering, which does not affect the implementation of the present application.
Step S1043: calculating a secondary small value in the column direction in the average value matrix to obtain a secondary small value matrix;
specifically, the values in each column of the mean matrix may be sorted, and the minimum value of the sorted values may be used as the second smallest value matrix. And when the second minimum value matrix is the 3-time minimum value matrix, taking the third last minimum value as the 3-time minimum value matrix. The second minimum matrix may be a 1-time minimum, or may be a 2-time, 3-time, 4-time, or 5-time minimum.
Step S1044: and searching columns of the scenery parallel to the edge of the column direction through the comparison of the median matrix and the second-smallest-value matrix, and setting 0 at the corresponding positions of the vertical stripe matrix.
And through the comparison of the median matrix and the secondary minimum matrix, setting 0 at the corresponding position of the vertical stripe matrix under the condition that the difference between the secondary minimum matrix and the median matrix is greater than a preset value, and using data in a median filter or an equivalent median filter matrix at other positions. Under the condition that the difference between the sub-minimum matrix and the median matrix is not greater than the preset value, data used for removing the stripes are data in the corresponding median matrix, so that the edge blurring of the flagpole caused by mean filtering can be avoided, and the imaging quality of the infrared image is further improved.
As a specific embodiment, the sub-minimum matrix may be a 3-time minimum matrix, and the preset value may be 2. Of course, other values can be taken, which do not affect the implementation of the present application.
It should be noted that the present application may be directed to removing not only vertical stripes, but also horizontal stripes. The process of removing the horizontal stripes may specifically include: each point in the horizontal stripe matrix and data positioned on the left side of the pixel of the point calculate an average value to obtain an average value matrix; performing row direction median filtering on the mean matrix to obtain a median matrix; calculating a secondary small value of the row direction in the mean value matrix to obtain a secondary small value matrix; and searching columns of the scenery parallel to the edges of the row direction through the comparison of the median matrix and the second-smallest-value matrix, and setting 0 at the corresponding position of the horizontal stripe matrix. The averaging method may be all left data or n adjacent left continuous data. Likewise, the second minimum matrix may be 1 minimum, or may be 2, 3, 4, or 5. The above process only describes the removal of the vertical stripes in detail, and for the removal of the horizontal stripes, reference may be made to an embodiment of a method for removing the vertical stripes, and specific processes are not described herein again.
Step S105: and generating an image with stripes removed according to the original image and the processed vertical stripe matrix and/or horizontal stripe matrix.
And (4) making a difference value between the original image and the processed vertical stripe matrix or horizontal stripe to generate an image with the stripes removed.
The method for removing the stripes of the infrared image comprises the steps of obtaining an original image which is output by an infrared detector and is preprocessed; filtering the original image to obtain a filtered image; acquiring a vertical stripe matrix and/or a horizontal stripe matrix according to the original image and the filtered image; searching the vertical column/horizontal row position suspected of having ghost from the vertical stripe matrix and/or the horizontal stripe matrix, and not performing corresponding vertical stripe/horizontal stripe removing processing on the vertical column/horizontal row position; and generating an image with stripes removed according to the original image and the processed vertical stripe matrix and/or horizontal stripe matrix. According to the method and the device, the stripe removing processing is not carried out on the suspected vertical columns or horizontal rows of the ghost, the problems that the ghost is easy to appear in the infrared image after the stripe removing processing is carried out on the infrared image and the edge is fuzzy can be solved, and the image quality of the infrared imaging is improved.
Another specific embodiment of the method for removing stripes from an infrared image provided by the present application is shown in fig. 5, where the process includes:
step S201: acquiring an image x after two-point value correction;
step S202: filtering the image x through a vertical stripe filter to obtain a filtered image f (x);
step S203: acquiring a vertical stripe matrix c ═ x-f (x);
step S204: averaging each point in the vertical stripe matrix and the pixels above to obtain a mean matrix v;
and averaging each point in the vertical stripes with pixels positioned above the point in the same column to obtain an average matrix.
Step S205: in the column direction, solving a median matrix colStripe1 and a 3-time small value matrix colStripe3 of points below 10 rows of the v matrix;
in this embodiment, the V matrix performs median processing on the points from the 5 th row to the bottom row to obtain a median matrix. The points from row 1 to row 5 are not subjected to median processing, because the amount of the first 5 rows of data is small, and the obtained average value is not suitable to be used as an effective value in the v matrix.
Step S206: the column with the difference between the secondary small value matrix and the median matrix larger than 2 is set to 0 at the corresponding position of colStripe 1;
step S207: de-perpendicularized images were generated from x-colStripe 1.
FIG. 6 shows a schematic view of an image of an original; fig. 7 shows an effect diagram of de-striping original image only using median filtering (colStripe 1); FIG. 8 is a diagram illustrating the effect of vertical striping on an original image using a general averaging method; FIG. 9 is a diagram illustrating the effect of striping original image using only the next smallest value (colStripe 3); fig. 10 shows a schematic diagram of the effect of the present application on an original image after vertical striping. As is evident from a comparison of fig. 6-10, the image quality is higher after vertical striping using the present application.
Figures 11-15 compare the de-erections of poles with vertical poles (poles occupy most of the rows). Fig. 11 shows a schematic diagram of the imaging of the original image two; fig. 12 is a schematic diagram illustrating the effect of de-striping only the median filtering mode (colStripe1) on the original image two; FIG. 13 is a diagram illustrating the effect of using a general averaging approach to vertical striping for original two; fig. 14 shows an effect diagram of the original image after vertical striping using only the second smallest value (colStripe 3); fig. 15 is a schematic diagram showing the effect of the second original image after vertical striping according to the present application. As is evident from a comparison of fig. 11-15, the image quality is higher after vertical striping using the present application.
Figures 16-20 compare the de-erections of poles with vertical poles (poles in partial rows). Fig. 16 shows a schematic diagram of the original image three-shot imaging; fig. 17 is a schematic diagram illustrating the effect of de-striping original image three by using only the median filtering method (colStripe 1); FIG. 18 is a schematic diagram illustrating the effect of vertical striping using a general averaging method on the original image III; fig. 19 is a diagram illustrating the effect of vertical striping using only the next smallest value (colStripe3) for the original three; fig. 20 is a schematic diagram showing the effect of the third original image after vertical striping according to the present invention. As is evident from a comparison of fig. 16-20, the image quality is higher after vertical striping using the present application.
Figures 21-25 compare the de-erector effect of a pole with a vertical pole (the pole is full). Wherein, fig. 21 shows a schematic diagram of the original image four; fig. 22 is a schematic diagram illustrating the effect of de-striping original image four by using only the median filtering method (colStripe 1); FIG. 23 is a schematic diagram illustrating the effect of using a general averaging method to de-vertical stripes on the original image four; fig. 24 is a diagram illustrating the effect of vertical striping using only the next smallest value (colStripe3) for original four; fig. 25 is a schematic diagram showing the effect of the vertical striping of the present application on the original image four. As is evident from a comparison of fig. 21-25, the image quality is higher after vertical striping using the present application.
The following describes an infrared image de-striping apparatus provided in an embodiment of the present invention, and the infrared image de-striping apparatus described below and the infrared image de-striping method described above may be referred to in correspondence.
Fig. 26 is a block diagram of an apparatus for removing stripes from an infrared image according to an embodiment of the present invention, where the apparatus for removing stripes from an infrared image according to fig. 26 may include:
an original image obtaining module 100, configured to obtain an original image output by an infrared detector;
a filtering module 200, configured to filter the original image to obtain a filtered image;
a stripe matrix obtaining module 300, configured to obtain a vertical stripe matrix and/or a horizontal stripe matrix according to the original image and the filtered image;
the processing module 400 is configured to search a vertical column position suspected of having a ghost from the vertical stripe matrix and/or the horizontal stripe matrix, and not perform vertical stripe removal and/or horizontal stripe processing on the vertical column position;
and a de-striping module 500, configured to generate a de-striped image according to the original image and the processed vertical stripe matrix and/or horizontal stripe matrix.
The device for removing the infrared image fringe in this embodiment is used to implement the foregoing method for removing the infrared image fringe, and therefore a specific implementation manner of the device for removing the infrared image fringe may be found in the foregoing embodiment parts of the method for removing the infrared image fringe, for example, the original image obtaining module 100, the filtering module 200, the fringe matrix obtaining module 300, the processing module 400, and the fringe removing module 500 are respectively used to implement steps S101, S102, S103, S104, and S105 in the method for removing the infrared image fringe, so that the specific implementation manner thereof may refer to descriptions of corresponding respective part embodiments, and is not described herein again.
The present invention also provides an infrared detector, comprising:
a memory for storing a computer program;
a processor for implementing the steps of any of the above-mentioned methods for de-striping an infrared image when executing the computer program.
The present invention also provides a computer readable storage medium, having a computer program stored thereon, where the computer program is executed by a processor to implement the steps of any one of the above-mentioned methods for de-striping an infrared image.
The infrared detector and the computer-readable storage medium provided by the present application correspond to the above-mentioned method for removing stripes from an infrared image, and the detailed description thereof may refer to the description of each corresponding partial embodiment, which is not repeated herein.
In conclusion, the method and the device have the advantages that the stripe removing processing is not carried out on the vertical column position where the ghost is suspected to appear, the problems that the ghost appears easily in the infrared image and the edge is fuzzy after the stripe removing processing is carried out on the infrared image in the prior art can be solved, and the image quality of the infrared imaging is improved.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The method, the device, the infrared detector and the computer readable storage medium for removing the stripes of the infrared image provided by the invention are described in detail above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (8)

1. A method for de-striping an infrared image, comprising:
acquiring an original image output by an infrared detector and subjected to preprocessing;
filtering the original image to obtain a filtered image;
acquiring a vertical stripe matrix and/or a horizontal stripe matrix according to the original image and the filtered image;
searching the vertical column/horizontal row position suspected of having ghost from the vertical stripe matrix and/or the horizontal stripe matrix, and not performing corresponding vertical stripe/horizontal stripe removing processing on the vertical column/horizontal row position;
generating an image with stripes removed according to the original image and the processed vertical stripe matrix and/or horizontal stripe matrix;
the step of searching the vertical column position suspected of having the ghost from the vertical stripe matrix, wherein the step of not performing vertical stripe removing processing on the vertical column position comprises the following steps:
each point in the vertical stripe matrix and data above the pixel of the point calculate an average value to obtain an average value matrix;
performing column direction median filtering on the mean matrix to obtain a median matrix;
calculating a secondary small value in the column direction in the average value matrix to obtain a secondary small value matrix;
and searching columns of the scenery parallel to the edge of the column direction through the comparison of the median matrix and the second-smallest-value matrix, and setting 0 at the corresponding positions of the vertical stripe matrix.
2. The method of infrared image de-striping of claim 1, wherein said obtaining a preprocessed raw image of an output of an infrared detector comprises:
and acquiring an image which is output by the infrared detector and subjected to two-point value correction and blind pixel replacement as the original image.
3. The method of claim 2, wherein the filtering the original image to obtain the filtered image comprises:
and filtering the original image by adopting a vertical stripe filter and/or a transverse stripe filter to obtain a filtered image.
4. The method of claim 1, wherein said finding a column of the scene parallel to a column-wise edge by comparing said median matrix with a next-smallest matrix, and setting 0 at a corresponding position of said vertical-stripe matrix comprises:
and through the comparison of the median matrix and the secondary small value matrix, setting 0 at the corresponding position of the vertical stripe matrix under the condition that the difference between the secondary small value matrix and the median matrix is greater than a preset value.
5. The method of claim 4, wherein the generating a striped image from the original image and the processed vertical stripe matrix and/or horizontal stripe matrix comprises:
and under the condition that the difference between the secondary minimum value matrix and the median matrix is not greater than the preset value, the data used for removing the stripes are the data in the corresponding median matrix.
6. An apparatus for de-striping an infrared image, comprising:
the original image acquisition module is used for acquiring an original image which is output by the infrared detector through preprocessing;
the filtering module is used for filtering the original image to obtain a filtered image;
the stripe matrix acquisition module is used for acquiring a vertical stripe matrix and/or a horizontal stripe matrix according to the original image and the filtered image;
the processing module is used for searching the vertical column/horizontal row position suspected of having the ghost from the vertical stripe matrix and/or the horizontal stripe matrix, and performing corresponding vertical stripe/horizontal stripe removing processing on the vertical column/horizontal row position;
the de-striping module is used for generating an image with stripes removed according to the original image and the processed vertical stripe matrix and/or horizontal stripe matrix;
the processing module comprises:
mean matrix unit: averaging each point in the vertical stripe matrix with data above the pixel of the point to obtain an average matrix;
median matrix unit: the mean matrix is used for carrying out column direction median filtering on the mean matrix to obtain a median matrix;
a second minimum matrix unit: the array direction calculating module is used for calculating a secondary minimum value in the column direction in the mean value matrix to obtain a secondary minimum value matrix;
a 0 setting unit: and the matrix is used for searching the columns of the scenery parallel to the edges of the column direction through the comparison of the median matrix and the second-smallest value matrix, and setting 0 at the corresponding positions of the vertical stripe matrix.
7. An infrared detector, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the method of infrared image de-striping according to any one of claims 1 to 5 when executing said computer program.
8. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the method for de-striping an ir image according to any one of claims 1 to 5.
CN201811202666.XA 2018-10-16 2018-10-16 Method and device for removing stripes of infrared image, infrared detector and storage medium Active CN109360168B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811202666.XA CN109360168B (en) 2018-10-16 2018-10-16 Method and device for removing stripes of infrared image, infrared detector and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811202666.XA CN109360168B (en) 2018-10-16 2018-10-16 Method and device for removing stripes of infrared image, infrared detector and storage medium

Publications (2)

Publication Number Publication Date
CN109360168A CN109360168A (en) 2019-02-19
CN109360168B true CN109360168B (en) 2021-02-12

Family

ID=65349142

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811202666.XA Active CN109360168B (en) 2018-10-16 2018-10-16 Method and device for removing stripes of infrared image, infrared detector and storage medium

Country Status (1)

Country Link
CN (1) CN109360168B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110288557B (en) * 2019-07-04 2021-07-13 烟台艾睿光电科技有限公司 Infrared image restoration method, device, equipment and readable storage medium
CN110796621B (en) * 2019-10-29 2022-06-07 浙江大华技术股份有限公司 Infrared image cross grain removing processing method, processing equipment and storage device
CN110910324B (en) * 2019-11-19 2023-04-14 山东神戎电子股份有限公司 Method for removing vertical stripes of infrared video
CN111161172B (en) * 2019-12-18 2020-11-06 北京波谱华光科技有限公司 Infrared image column direction stripe eliminating method, system and computer storage medium
CN111292272B (en) * 2020-03-04 2022-03-25 腾讯科技(深圳)有限公司 Image processing method, image processing apparatus, image processing medium, and electronic device
CN111383196B (en) * 2020-03-13 2023-07-28 浙江大华技术股份有限公司 Infrared image stripe eliminating method, infrared detector and storage device
CN111626963B (en) * 2020-06-02 2023-09-08 苏州睿新微系统技术有限公司 Device and method for eliminating infrared image stripe noise
CN111652820B (en) * 2020-06-02 2023-05-23 昆明物理研究所 Method, device and image processing system for correcting non-uniformity of infrared image stripes
CN111879412B (en) * 2020-08-03 2021-12-21 烟台艾睿光电科技有限公司 Image generation method and device for refrigeration type infrared detector and readable storage medium
CN114627026A (en) * 2022-03-25 2022-06-14 武汉高德智感科技有限公司 Method and system for removing horizontal and vertical stripes from infrared image, electronic device and storage medium
CN115937051B (en) * 2023-03-06 2023-06-02 浙江华感科技有限公司 Image noise processing method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0946526A (en) * 1995-07-31 1997-02-14 Nec Corp Noise elimination method and noise elimination device for optical sensor
CN104917936A (en) * 2015-05-29 2015-09-16 北京理工大学 Time domain high pass non-uniformity correction method based on gray scale correlation
JP2016096471A (en) * 2014-11-14 2016-05-26 キヤノン株式会社 Imaging apparatus and imaging method
CN105931203A (en) * 2016-04-26 2016-09-07 成都市晶林科技有限公司 Infrared image stripe filtering method based on statistical relative stripe removal method
CN105957033A (en) * 2016-04-26 2016-09-21 成都市晶林科技有限公司 Infrared image stripe filtering method based on image laying
CN106462957A (en) * 2016-05-19 2017-02-22 深圳大学 Method and system for removing stripe noise in infrared image
CN107767346A (en) * 2017-09-08 2018-03-06 湖北久之洋红外系统股份有限公司 A kind of infrared image fringes noise filtering method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0946526A (en) * 1995-07-31 1997-02-14 Nec Corp Noise elimination method and noise elimination device for optical sensor
JP2016096471A (en) * 2014-11-14 2016-05-26 キヤノン株式会社 Imaging apparatus and imaging method
CN104917936A (en) * 2015-05-29 2015-09-16 北京理工大学 Time domain high pass non-uniformity correction method based on gray scale correlation
CN105931203A (en) * 2016-04-26 2016-09-07 成都市晶林科技有限公司 Infrared image stripe filtering method based on statistical relative stripe removal method
CN105957033A (en) * 2016-04-26 2016-09-21 成都市晶林科技有限公司 Infrared image stripe filtering method based on image laying
CN106462957A (en) * 2016-05-19 2017-02-22 深圳大学 Method and system for removing stripe noise in infrared image
CN107767346A (en) * 2017-09-08 2018-03-06 湖北久之洋红外系统股份有限公司 A kind of infrared image fringes noise filtering method

Also Published As

Publication number Publication date
CN109360168A (en) 2019-02-19

Similar Documents

Publication Publication Date Title
CN109360168B (en) Method and device for removing stripes of infrared image, infrared detector and storage medium
CA2758724C (en) Image processing method for surpressing spatio-temporal column or row noise
CN111161172B (en) Infrared image column direction stripe eliminating method, system and computer storage medium
CN103873740B (en) Image processing apparatus and information processing method
CN109509158B (en) Infrared image stripe removing method based on amplitude constraint
CN105809630B (en) A kind of picture noise filter method and system
WO2019221013A4 (en) Video stabilization method and apparatus and non-transitory computer-readable medium
US9172890B2 (en) Method, apparatus, and manufacture for enhanced resolution for images from high dynamic range (HDR) interlaced sensors
CN114724000B (en) Screen shot image moire processing method, device and equipment
CN115546047A (en) Video image noise reduction method, device and medium based on improved local filtering algorithm
CN106296608A (en) A kind of fish eye images processing method based on mapping table and system
CN105704406B (en) A kind of method of bad point removal in image procossing
CN111652820B (en) Method, device and image processing system for correcting non-uniformity of infrared image stripes
CN114372938A (en) Image self-adaptive restoration method based on calibration
CN110728686B (en) Voronoi-based vehicle-mounted lamp image segmentation method
Xu et al. An image sharpening algorithm for high magnification image zooming
CN113645424B (en) Solid-state noise calibration method and system and video stream processing method and system
Hong et al. A Weighted Guided Filtering-Based Multi-Domain Fusion Destriping Method
Nicolae et al. ADAPTIVE IMAGE DENOISING SOLUTION
CN111626963B (en) Device and method for eliminating infrared image stripe noise
CN113763278B (en) Image correction method and device
CN117710250B (en) Method for eliminating honeycomb structure imaged by fiberscope
CN111275639B (en) Line pixel defect correction method and terminal for X-ray image
Qin et al. Welding splash and arc noise reduction imaging model based on computationally efficient pairwise response serving welding process library
JP5631153B2 (en) Image processing apparatus, control method, and program

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
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Method, device, infrared detector and storage medium for removing stripes of infrared image

Effective date of registration: 20211230

Granted publication date: 20210212

Pledgee: Yantai Branch of China Merchants Bank Co.,Ltd.

Pledgor: Yantai Airui Photo-Electric Technology Co.,Ltd.

Registration number: Y2021980017076

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20230106

Granted publication date: 20210212

Pledgee: Yantai Branch of China Merchants Bank Co.,Ltd.

Pledgor: Yantai Airui Photo-Electric Technology Co.,Ltd.

Registration number: Y2021980017076

PC01 Cancellation of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Method, device, infrared detector and storage medium for infrared image striping

Effective date of registration: 20230113

Granted publication date: 20210212

Pledgee: Yantai Branch of China Merchants Bank Co.,Ltd.

Pledgor: Yantai Airui Photo-Electric Technology Co.,Ltd.

Registration number: Y2023980031040

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Granted publication date: 20210212

Pledgee: Yantai Branch of China Merchants Bank Co.,Ltd.

Pledgor: Yantai Airui Photo-Electric Technology Co.,Ltd.

Registration number: Y2023980031040

PC01 Cancellation of the registration of the contract for pledge of patent right
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20190219

Assignee: INFIRAY TECHNOLOGIES CO.,LTD.

Assignor: Yantai Airui Photo-Electric Technology Co.,Ltd.

Contract record no.: X2024980006380

Denomination of invention: Method, device, infrared detector, and storage medium for removing stripes from infrared images

Granted publication date: 20210212

License type: Common License

Record date: 20240530

EE01 Entry into force of recordation of patent licensing contract