CN111652808A - Infrared image detail enhancement and noise suppression method - Google Patents
Infrared image detail enhancement and noise suppression method Download PDFInfo
- Publication number
- CN111652808A CN111652808A CN201910689889.1A CN201910689889A CN111652808A CN 111652808 A CN111652808 A CN 111652808A CN 201910689889 A CN201910689889 A CN 201910689889A CN 111652808 A CN111652808 A CN 111652808A
- Authority
- CN
- China
- Prior art keywords
- image
- weight
- noise
- laplacian
- value
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 230000001629 suppression Effects 0.000 title claims abstract description 7
- 238000001914 filtration Methods 0.000 claims abstract description 13
- 238000012545 processing Methods 0.000 claims abstract description 10
- 238000004364 calculation method Methods 0.000 claims abstract description 6
- 230000002708 enhancing effect Effects 0.000 claims description 5
- 230000004927 fusion Effects 0.000 claims description 4
- 238000010606 normalization Methods 0.000 claims description 4
- 238000000354 decomposition reaction Methods 0.000 claims description 3
- 238000007499 fusion processing Methods 0.000 claims description 3
- 238000005070 sampling Methods 0.000 claims 2
- 230000000694 effects Effects 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 3
- 238000005034 decoration Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000003331 infrared imaging Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 235000002566 Capsicum Nutrition 0.000 description 1
- 239000006002 Pepper Substances 0.000 description 1
- 235000016761 Piper aduncum Nutrition 0.000 description 1
- 235000017804 Piper guineense Nutrition 0.000 description 1
- 244000203593 Piper nigrum Species 0.000 description 1
- 235000008184 Piper nigrum Nutrition 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 150000003839 salts Chemical class 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/70—Denoising; Smoothing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/77—Retouching; Inpainting; Scratch removal
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10048—Infrared image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20016—Hierarchical, coarse-to-fine, multiscale or multiresolution image processing; Pyramid transform
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20024—Filtering details
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20048—Transform domain processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20212—Image combination
- G06T2207/20221—Image fusion; Image merging
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
Abstract
The invention discloses an infrared image detail enhancement and noise suppression method, which is characterized in that a weight value in a larger range is used for processing an image, Gaussian noise in the infrared image is effectively eliminated, certain image details are reserved, and the image quality is effectively improved compared with an original mean filtering image. The original image is subjected to Laplace transform to obtain more detailed information of the image, and the image is fused to obtain an image with multiple image details and low noise. The method has the advantages of simple thought, low calculation complexity and good effect.
Description
Technical Field
The invention belongs to the technical field of infrared image processing, particularly relates to an infrared image edge detail enhancement method capable of suppressing noise, and particularly relates to an infrared image detail enhancement and noise suppression method.
Background
With the continuous development of infrared detection technology, infrared imaging technology is increasingly applied to the fields of military, medical treatment and the like. However, because the infrared image is a gray image, it lacks stereoscopic impression, has low resolution and contrast, strong spatial correlation, blurred image effect, and the influence of the manufacturing process of the infrared detector makes the infrared imaging effect far inferior to the visible light imaging effect.
The infrared image noise mainly includes gaussian noise, salt and pepper noise, composite noise and the like. Because the quality of the infrared image is integrally influenced by various noises, the infrared image noise reduction method is widely concerned, but the existing noise reduction algorithm has certain defects: (1) some noise reduction algorithms can lose image detail information, so that the noise-reduced image loses part of characteristic information; (2) after some noise reduction algorithms are used for processing, the original signal-to-noise ratio is reduced or improved a little, and the image definition degree is improved a little; (3) although some noise reduction algorithms can effectively improve image details, the operation is too complex to facilitate the hardware implementation of the algorithms.
Disclosure of Invention
The present invention is directed to provide a method for enhancing details of an infrared image and suppressing noise, which aims to solve the technical problem of poor infrared image processing effect in the background art.
In order to solve the above technical problem, the present invention provides an infrared image detail enhancement and noise suppression method, which includes the following steps:
(1) obtaining an original infrared image P0;
(2) Calculating the weight value W of all pixel points within the size of 5 × 5 taking the coordinates of the pixel points as the centern;
(3) For the obtained weighted value WnCarrying out normalization to obtain W;
(4) carrying out weighted mean filtering on the gray value of the pixel in a 3 × 3 size area with the pixel point as the center and the weight of the corresponding position of the gray value to obtain a weighted filtered image P1;
(5) For image P0Performing Laplace transform to obtain an image P2Obtaining the strengthened image edge information;
(6) filtering the obtained image P1And picture P2Obtaining an image P by fusing using a Laplacian pyramid transform3And outputs the picture P3;
Wherein the weight WnIs measured in EuropeThe reciprocal of the distance of formula (I) is calculated as:
wherein (x)0,y0) And expressing the position coordinates of the central pixel point, and normalizing the formula:
wherein, the central pixel point (x) is aligned by the obtained weight value0,y0) Carrying out mean value filtering on the gray values of the pixels in the surrounding 3 × 3 size area to obtain a central pixel point (x)0,y0) The gray values of (a) are:
g=w1×g(i-1,j+1)+w2×g(i,j+1)+w3×g(i+1,j+1)+w4×g(i-1,j)+w5×g(i,j)+w6×g(i+1,j)+w7×g(i-1,j-1)+w8×g(i,j-1)+w9×g(i+1,j-1)
wherein, the laplacian of the image function f (x, y) defines:
the laplace operator is found to be:
wherein the weighted mean filtered image P1And the image P sharpened by the Laplacian operator2Performing image decomposition, performing fusion processing on the obtained images of each layer, and performing image expansion and pyramid reconstruction to obtain a final fusion image P3。
Compared with the prior art, the method based on infrared image detail enhancement and noise suppression provided by the invention has the advantages that the image is processed by using the weight value in a wider range, the Gaussian noise in the infrared image is effectively eliminated, certain image details are reserved, and the image quality is effectively improved compared with the original mean value filtering image. The original image is subjected to Laplace transform to obtain more detailed information of the image, and the image is fused to obtain an image with multiple image details and low noise. The method has the advantages of simple thought, low calculation complexity and good effect.
Drawings
FIG. 1 is a flow chart of the method of the present application;
FIG. 2 is a diagram of a 5 × 5 weighting template of the present application;
FIG. 3 is a 3 × 3 filter template diagram of the present application;
FIG. 4 is a graph of a template for Laplace operator according to the present application;
fig. 5 is a laplacian pyramid fusion block diagram according to the present application.
Detailed Description
The invention is described in further detail below with reference to the figures and specific examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments according to the present application. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, and it should be understood that when used in this specification the singular forms "a", "an" and/or "the" include "specify the presence of stated features, steps, operations, elements, or modules, components, and/or combinations thereof, unless the context clearly indicates otherwise.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
The invention designs an algorithm for enhancing the details of an infrared image and suppressing noise, which effectively reduces Gaussian noise in the infrared image and simultaneously retains the details of the infrared image and the definition of a target edge in the image as much as possible.
Examples
The embodiment provides a method for enhancing details and suppressing noise of an infrared image, which includes the following specific steps as shown in fig. 1:
(1) obtaining an original infrared image P0;
(2) Calculating the weight value W of all pixel points within the size of 5 × 5 taking the coordinates of the pixel points as the centern(n is an integer of 1 to 25);
(3) for the obtained weighted value WnCarrying out normalization to obtain W;
(4) carrying out weighted mean filtering on the gray value of the pixel in a 3 × 3 size area with the pixel point as the center and the weight of the corresponding position of the gray value to obtain a weighted filtered image P1;
(5) For image P0Performing Laplace transform to obtain an image P2Obtaining the strengthened image edge information;
(6) filtering the obtained image P1And picture P2Obtaining an image P by fusing using a Laplacian pyramid transform3And outputs the picture P3;
Weighting value W in step (2) of the inventionnThe position coordinates (x, y) corresponding to each pixel point within the size of 5 × 5 and the position coordinate (x) of the center pixel point are calculated by using the reciprocal of the Euclidean distance0,y0) The weight template is calculated and found as shown in fig. 2, and the calculation formula is:
for the weight W obtained in step (2)n(x, y) carrying out normalization calculation to obtain a normalized weight value wn:
After the obtained weight is processed to obtain a new weight value, the step (4) obtains the weight value w through the obtained weight valuenCalculating the gray value g (i, j) corresponding to the pixel point in the area with the size of 3 × 3 around the central pixel point (i, j), and obtaining the central pixel point (x) by the filtering template as shown in fig. 30,y0) The gray value g (i, j) of (d) is:
g=w1×g(i-1,j+1)+w2×g(i,j+1)+w3×g(i+1,j+1)+w4×g(i-1,j)+w5×g(i,j)+w6×g(i+1,j)+w7×g(i-1,j-1)+w8×g(i,j-1)+w9×g(i+1,j-1)
obtaining an image P by processing a new gray value1。
Step 5 the laplace transform through the two-dimensional image function f (x, y) is the isotropic second derivative:
second order difference in two-dimensional image function f (x, y) in x and y directionsAndcomprises the following steps:
second order difference of x and y directionsAndsubstituting into the image function to find the second derivative of the laplacian f (x, y) yields the discrete form of the equation:
using the Laplace operator template shown in FIG. 4, an image P is obtained after Laplace operator processing2The image contains details and edge information of the original image.
As shown in fig. 5, the flow of step (6) is to perform image decomposition on the image P1 subjected to the weighted average filtering and the image P2 subjected to the sharpening by the laplacian operator to obtain a laplacian layer. Treating the obtained P1、P2After fusion processing is carried out on each layer of image, image expansion and pyramid reconstruction are carried out, and a final fusion image P is obtained3The processed image P3 can effectively enhance the details of the image and reduce the noise of the image.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
Claims (6)
1. An infrared image detail enhancement and noise suppression method is characterized in that: the method comprises the following steps:
(1) obtaining an original infrared image P0;
(2) Calculating the weight value W of all pixel points within the size of 5 × 5 taking the coordinates of the pixel points as the centern(n is an integer of 1 to 25);
(3) for the obtained weighted value WnCarrying out normalization to obtain W;
(4) carrying out weighted mean filtering on the gray value of the pixel in a 3 x 3 area with the pixel point as the center and the weight value of the corresponding position of the gray value of the pixel to obtain a weighted filtered image P1;
(5) for image P0Performing Laplace transform to obtain an image P2Obtaining the strengthened image edge information;
(6) filtering the obtained image P1And picture P2Obtaining an image P by fusing using a Laplacian pyramid transform3And outputs the picture P3。
4. the method of claim 3, wherein the method comprises the following steps: processing the obtained weight to obtain a new weight, and aligning the center pixel point (x) with the obtained weight in step (4)0,y0) Carrying out mean value filtering on the gray values of the pixels in the surrounding 3 × 3 size area to obtain a central pixel point (x)0,y0) The gray values of (a) are:
g=w1×g(i-1,j+1)+w2×g(i,j+1)+w3×g(i+1,j+1)+w4×g(i-1,j)+w5×g(i,j)+w6×g(i+1,j)+w7×g(i-1,j-1)+w8×g(i,j-1)+w9×g(i+1,j-1)
obtaining an image P by processing a new gray value1。
5. The method of claim 4, wherein the method comprises the following steps: in the step (5), the laplacian definition of the image function f (x, y) is as follows:
the laplace operator is found to be:
using a Laplace operator template to obtain an image P after Laplace operator processing2The image contains details and edge information of the original image.
6. The method of claim 5, wherein the method comprises: in the step (6), the image P1 subjected to weight average filtering and the image P2 subjected to laplacian operator sharpening are subjected to image decomposition to obtain a Laplacian layer, a three-layer design is adopted, the Laplacian image at the upper layer is from the down-sampling of the previous layer, and the P obtained by processing is subjected to down-sampling1、P2After fusion processing is carried out on each layer of image, image expansion and pyramid reconstruction are carried out, and a final fusion image P is obtained3The processed image P3 can effectively enhance the details of the image and reduce the noise of the image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910689889.1A CN111652808A (en) | 2019-07-29 | 2019-07-29 | Infrared image detail enhancement and noise suppression method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910689889.1A CN111652808A (en) | 2019-07-29 | 2019-07-29 | Infrared image detail enhancement and noise suppression method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111652808A true CN111652808A (en) | 2020-09-11 |
Family
ID=72349169
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910689889.1A Pending CN111652808A (en) | 2019-07-29 | 2019-07-29 | Infrared image detail enhancement and noise suppression method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111652808A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112258448A (en) * | 2020-09-15 | 2021-01-22 | 郑州金惠计算机系统工程有限公司 | Fine scratch detection method, fine scratch detection device, electronic equipment and computer-readable storage medium |
CN114202466A (en) * | 2020-09-18 | 2022-03-18 | 北京金山云网络技术有限公司 | Image noise reduction method and device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100142790A1 (en) * | 2008-12-04 | 2010-06-10 | New Medical Co., Ltd. | Image processing method capable of enhancing contrast and reducing noise of digital image and image processing device using same |
CN103208105A (en) * | 2013-05-02 | 2013-07-17 | 中国电子科技集团公司第二十八研究所 | Infrared image detail enhancement and noise adaptive inhibition method |
CN107784642A (en) * | 2016-08-26 | 2018-03-09 | 北京航空航天大学 | A kind of infrared video and visible light video method for self-adaption amalgamation |
CN109919861A (en) * | 2019-01-29 | 2019-06-21 | 浙江数链科技有限公司 | Infrared image enhancing method, device, computer equipment and storage medium |
-
2019
- 2019-07-29 CN CN201910689889.1A patent/CN111652808A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100142790A1 (en) * | 2008-12-04 | 2010-06-10 | New Medical Co., Ltd. | Image processing method capable of enhancing contrast and reducing noise of digital image and image processing device using same |
CN103208105A (en) * | 2013-05-02 | 2013-07-17 | 中国电子科技集团公司第二十八研究所 | Infrared image detail enhancement and noise adaptive inhibition method |
CN107784642A (en) * | 2016-08-26 | 2018-03-09 | 北京航空航天大学 | A kind of infrared video and visible light video method for self-adaption amalgamation |
CN109919861A (en) * | 2019-01-29 | 2019-06-21 | 浙江数链科技有限公司 | Infrared image enhancing method, device, computer equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
徐敏;赵毅强;刘文娟;: "基于长线列探测器的图像非均匀性研究与校正", 传感器与微系统 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112258448A (en) * | 2020-09-15 | 2021-01-22 | 郑州金惠计算机系统工程有限公司 | Fine scratch detection method, fine scratch detection device, electronic equipment and computer-readable storage medium |
CN114202466A (en) * | 2020-09-18 | 2022-03-18 | 北京金山云网络技术有限公司 | Image noise reduction method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Lau et al. | Restoration of atmospheric turbulence-distorted images via RPCA and quasiconformal maps | |
Rajkumar et al. | A comparative analysis on image quality assessment for real time satellite images | |
CN109636766B (en) | Edge information enhancement-based polarization difference and light intensity image multi-scale fusion method | |
CN106960428A (en) | Visible ray and infrared double-waveband image co-registration Enhancement Method | |
CN108629744B (en) | Image enhancement method | |
CN112184604B (en) | Color image enhancement method based on image fusion | |
CN108492245B (en) | Low-luminosity image pair fusion method based on wavelet decomposition and bilateral filtering | |
CN109377450B (en) | Edge protection denoising method | |
US8965141B2 (en) | Image filtering based on structural information | |
CN112163994B (en) | Multi-scale medical image fusion method based on convolutional neural network | |
CN109003233A (en) | A kind of image de-noising method based on adaptive weighting Total Variation | |
Thaipanich et al. | An adaptive nonlocal means scheme for medical image denoising | |
CN107516302A (en) | A kind of method of the mixed image enhancing based on OpenCV | |
CN105719254B (en) | Image noise reduction method and system | |
CN111652809A (en) | Infrared image noise suppression method for enhancing details | |
CN111652808A (en) | Infrared image detail enhancement and noise suppression method | |
CN103400360A (en) | Multi-source image fusing method based on Wedgelet and NSCT (Non Subsampled Contourlet Transform) | |
CN107451986B (en) | Single infrared image enhancement method based on fusion technology | |
WO2022233252A1 (en) | Image processing method and apparatus, and computer device and storage medium | |
CN102222327A (en) | Image denoising method based on Treelet transformation and minimum mean-square error estimation | |
CN104766287A (en) | Blurred image blind restoration method based on significance detection | |
Dogra et al. | An efficient image integration algorithm for night mode vision applications | |
CN109635809B (en) | Super-pixel segmentation method for visual degradation image | |
CN109872289A (en) | Image enchancing method based on improved non-downsampling Contourlet conversion | |
Tun et al. | Joint Training of Noisy Image Patch and Impulse Response of Low-Pass Filter in CNN for Image Denoising |
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 | ||
AD01 | Patent right deemed abandoned |
Effective date of abandoning: 20240105 |
|
AD01 | Patent right deemed abandoned |