[go: up one dir, main page]

CN113379642A - BIB 3D-based method and system for rapidly realizing image noise reduction - Google Patents

BIB 3D-based method and system for rapidly realizing image noise reduction Download PDF

Info

Publication number
CN113379642A
CN113379642A CN202110724178.0A CN202110724178A CN113379642A CN 113379642 A CN113379642 A CN 113379642A CN 202110724178 A CN202110724178 A CN 202110724178A CN 113379642 A CN113379642 A CN 113379642A
Authority
CN
China
Prior art keywords
noise reduction
image
block
frequency domain
big
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
Application number
CN202110724178.0A
Other languages
Chinese (zh)
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN202110724178.0A priority Critical patent/CN113379642A/en
Publication of CN113379642A publication Critical patent/CN113379642A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • G06T2207/10012Stereo images

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Image Processing (AREA)

Abstract

本申请公开了基于BIB3D的可快速实现的图像降噪的方法与系统,该方法包括:1第一阶段循环1读取待处理的small block(sb);2生成若干个包含sb的big block(bb),循环:(1)实施频域变换;(2)对频域实施硬阀值降噪;(3)实施相应的逆变换,得到降噪后的bb;(4)取出bb中的相应的降噪sb;4对求出的所有降噪sb求加权或简单平均值;得到暂时denoised image;2第二阶段循环1读取原图sb;2生成若干个包含sb的bb,循环:(1)找到上阶段与bb对应的denoised bb;(2)求dbb的功率谱;(3)求出维纳系数,维纳系数=dbb的功率谱/dbb的功率谱+干扰因子;(4)bb的实施频域变换,再乘以维纳系数得到新的频域值;(5)对bb新的频域实施逆变换,得到降噪后bb;(6)取出bb中的相应的降噪sb;4对所有bb中的所有降噪sb求简单或加权平均值;得到最终的降噪图像。The present application discloses a method and system for quickly realizing image noise reduction based on BIB3D. The method includes: 1. in the first stage, 1. to read the small block (sb) to be processed; 2. to generate several big blocks (sb) containing sb. bb), cycle: (1) implement frequency domain transformation; (2) implement hard threshold noise reduction in frequency domain; (3) implement corresponding inverse transform to obtain denoised bb; (4) take out the corresponding value in bb 4. Calculate the weighted or simple average of all the obtained noise reduction sb; get a temporary denoised image; 2. The second stage loop 1 reads the original image sb; 2. Generate several bbs containing sb, loop: ( 1) Find the denoised bb corresponding to bb in the previous stage; (2) Find the power spectrum of dbb; (3) Find the Wiener coefficient, Wiener coefficient = power spectrum of dbb/power spectrum of dbb + interference factor; (4) The frequency domain transformation of bb is performed, and then multiplied by the Wiener coefficient to obtain a new frequency domain value; (5) Inverse transform is performed on the new frequency domain of bb to obtain bb after noise reduction; (6) The corresponding noise reduction in bb is taken out sb; 4 Simple or weighted average of all denoised sb in all bbs; get final denoised image.

Description

BIB 3D-based method and system for rapidly realizing image noise reduction
Technical Field
The present invention relates to the field of image processing, and in particular to image noise reduction.
Background
The quality of an image preprocessing algorithm directly relates to the effect of subsequent image processing, such as image segmentation, target recognition, edge extraction and the like, in order to obtain a high-quality digital image, the image needs to be subjected to noise reduction processing in many times, the integrity (namely main characteristics) of original information is kept as much as possible, and meanwhile useless information in a signal can be removed.
The image noise points are divided into random noise points and sensor noise points, the random noise points are easy to remove, and the sensor noise points are difficult to remove. If the imaging machine is exposed to light for a long time, thermal noise is generated, resulting in poor imaging quality.
The image denoising algorithms commonly used in the past can be roughly classified into two categories, namely a spatial pixel characteristic denoising algorithm and a transform domain denoising algorithm. The former is directly processed in an image space, and the latter is indirectly processed in an image transform domain, the former has a Non-Local means (NLM) algorithm, and the latter has a wavelet noise reduction algorithm, while the current most excellent BM3D algorithm has the characteristics of both space domain and transform domain noise reduction, and although the algorithm is excellent, the algorithm consumes a long time, and cannot meet the requirements of real-time application.
Disclosure of Invention
The application provides a method and a system for rapidly realizing image noise reduction based on BIB3D, so as to rapidly reduce image noise and improve image quality, and even an image with poor image quality obtained under a high ISO condition of a machine under low light can be effectively improved.
The algorithm is divided into two phases. The first stage performs BIB3D polymerization noise reduction. Firstly, reading an image, taking out a part (small block) from the image, then generating a plurality of large blocks (big blocks) containing the small block, respectively carrying out transform domain transformation (such as discrete transformation, wavelet transformation and the like) on the big blocks, carrying out hard threshold noise reduction, then carrying out corresponding inverse transformation to obtain the big blocks after noise reduction, then taking out the corresponding small block from each big block, then calculating the average value with or without weight of the small block in each big block to obtain the final value of the small block, and circulating the process until the whole image is traversed to finish the first stage.
And in the second stage, wiener noise reduction is carried out. Circularly extracting a small block from an original image, then generating a plurality of big blocks (big blocks) containing the small block and the noise-reduced big blocks at the same position obtained in the first stage, carrying out frequency domain transformation on the noise-reduced big blocks to obtain the power spectrum of the big blocks, dividing the power spectrum by the power spectrum added with the interference factors to obtain reduced wiener factors, then carrying out corresponding frequency domain transformation on each corresponding big block in the original noise image, multiplying the wiener factors obtained above, then carrying out corresponding inverse transformation to obtain the noise-reduced big blocks, then taking out the small blocks at the same position (each big block obtains different noise-reduction results of the small block), and then obtaining the average value with or without weight values of all the obtained noise-reduction results to obtain the final noise-reduction result of the small block. And circularly implementing the above processes until the whole image is traversed to obtain the final noise reduction image.
The algorithm comprises a plurality of implementation methods and a plurality of parameters, when the scale of small block blocks is set to be large, the algorithm with a small number of big block blocks can be rapidly implemented, and an acceptable noise reduction effect can be obtained, so that the requirements of specific occasions such as video noise reduction are met.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is an original image requiring noise reduction, and FIG. 2 is a noise reduction map obtained by the present application
Detailed Description
As used in the specification and in the claims, certain terms are used to refer to particular components. As one skilled in the art will appreciate, manufacturers may refer to a component by different names. This specification and claims do not intend to distinguish between components that differ in name but not function. In the following description and in the claims, the terms "include" and "comprise" are used in an open-ended fashion, and thus should be interpreted to mean "include, but not limited to. "substantially" means within an acceptable error range, and a person skilled in the art can solve the technical problem within a certain error range to substantially achieve the technical effect. The following description is of the preferred embodiment for carrying out the invention, and is made for the purpose of illustrating the general principles of the invention and not for the purpose of limiting the scope of the invention. The scope of the present invention is defined by the appended claims.
In order to improve the image quality of the original image obtained by various image settings, a method and a system for rapidly realizing image noise reduction based on BIB3D are provided
The image processing method provided by the application comprises the following steps:
1 first stage cycle
1, reading a local small block of a noise image;
2, generating a plurality of big blocks containing small blocks;
3 cycle of each big block
(1) Performing a frequency domain transform (e.g., discrete transform, wavelet transform, etc.);
(2) when the transform coefficient is smaller than a specified threshold, implementing hard threshold noise reduction, and counting the number of nonzero elements;
(3) implementing corresponding inverse transformation to obtain a big block after noise reduction;
(4) taking out a corresponding small block in the big block;
4, solving an average value taking the reciprocal of the number of the nonzero elements as a weight value for the small blocks in all big blocks, and taking the average value as a final noise reduction result of the small blocks;
obtaining a temporary noise-reduced image;
2 second stage cycle
1, reading a local small block of a noise image;
2, generating a plurality of big blocks containing small blocks;
3 cycle of each big block
(1) Finding out the denoised big block at the same position of the big block in the denoised image
(2) The dense big block and big block pair implements frequency domain transformation (such as discrete transformation, wavelet transformation, etc.);
(3) solving the power spectrum of the denoised big block (namely the square of the real part of the frequency domain);
(4) calculating a wiener coefficient matrix, wherein the wiener coefficient factor is the power spectrum of the condensed big block/the power spectrum of the condensed big block + the interference factor delta
(3) Multiplying the frequency domain value of the big block of the original image by the wiener coefficient factor to obtain a new frequency domain value;
(4) carrying out inverse transformation on the new frequency domain of the big block of the original image to obtain the big block after noise reduction, and counting the number of nonzero elements;
(5) taking out a corresponding small block in the big block after noise reduction;
4, solving an average value taking the reciprocal of the number of the nonzero elements as a weight value for the small blocks in all big blocks, and taking the average value as a final noise reduction result of the small blocks;
obtaining a final noise-reduced image;
it should be noted that the above program is only a flow of the program, and those skilled in the art can implement the technical solution of the present invention by using various programming languages;
as will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
While the foregoing specification illustrates and describes several particular embodiments of the invention, it is to be understood that, as previously described, the invention is not limited to the precise embodiments disclosed herein
It is to be understood that the invention is not limited to the forms disclosed herein, but is not to be construed as excluding other embodiments, and that the invention is capable of use in various other combinations, modifications, and environments and is capable of changes within the scope of the inventive concept as expressed herein, commensurate with the skill or knowledge of the relevant art. Rather, changes and variations may be made by those skilled in the art without departing from the spirit and scope of the invention, which is to be limited only by the appended claims.

Claims (4)

1.一种图像增降噪方法,其特征在于,第一阶段,读取待处理的small block,然后生成若干个包含small block的big block,对每个big block实施频域变换,进行硬阈值降噪,进行逆转换得到降噪后的结果,并取出相应的small block降噪后的结果,然后对所有的降噪后的small block结果求平均值,循环实施过程直至遍历全图,求得暂时的降噪的图像。1. an image noise reduction method, is characterized in that, the first stage, reads the small block to be processed, then generates several big blocks that comprise small block, implements frequency domain transformation to each big block, carries out hard threshold Noise reduction, perform inverse transformation to obtain the result after noise reduction, and take out the result after noise reduction of the corresponding small block, and then average all the results of the small block after noise reduction, and implement the process in a loop until the entire image is traversed to obtain Temporarily denoised images. 2.一种图像降噪方法,其特征在于,第二阶段,先读取原图中待处理的small block,同样生成若干个包含small block的big block,并找出每个big block在第一阶段对应的降噪后的big block,求出降噪的big block的功率谱,再求出维纳系数,对原big block实施频域转换再乘以上面得到的维纳因子得到新的频域值,然后再实施逆转换,得到相应bigblock的降噪后的结果,再取出对应的small block的降噪结果,最后对所有的small block降噪结果求平均值得到最终的small block降噪结果,循环实施过程直至遍历全图,得到最终的降噪结果。2. an image noise reduction method, it is characterized in that, in the second stage, first read the small block to be processed in the original figure, also generate several big blocks that contain small blocks, and find out that each big block is in the first For the noise-reduced big block corresponding to the stage, find the power spectrum of the noise-reduced big block, then find the Wiener coefficient, perform frequency domain conversion on the original big block, and multiply the Wiener factor obtained above to obtain a new frequency domain value, and then perform the inverse transformation to obtain the noise reduction result of the corresponding bigblock, then take out the noise reduction result of the corresponding small block, and finally average all the small block noise reduction results to obtain the final small block noise reduction result. Loop the implementation process until the entire image is traversed, and the final noise reduction result is obtained. 3.一种图像降噪方法,其特征在于上面两个过程中都应用了small block in bigblock这种技巧,并应用了聚合求平均的思想。3. An image noise reduction method, characterized in that the technique of small block in big block is applied in the above two processes, and the idea of aggregation and averaging is applied. 4.一种图像降噪方法,其特征在于上面两个阶段都同时进行,也可以独立进行其中某一个阶段以达到降噪的效果,只需要将第二阶段的所用的功率谱可以换成类似无噪声图像的块的功率谱。如果受时间限制也可以选择只运行其中的一个阶段。4. An image noise reduction method, characterized in that the above two stages are carried out simultaneously, or one of the stages can be carried out independently to achieve the effect of noise reduction, and only the power spectrum used in the second stage can be replaced with a similar The power spectrum of a block of a noise-free image. You can also choose to run only one of the stages if you are limited by time.
CN202110724178.0A 2021-06-21 2021-06-21 BIB 3D-based method and system for rapidly realizing image noise reduction Pending CN113379642A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110724178.0A CN113379642A (en) 2021-06-21 2021-06-21 BIB 3D-based method and system for rapidly realizing image noise reduction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110724178.0A CN113379642A (en) 2021-06-21 2021-06-21 BIB 3D-based method and system for rapidly realizing image noise reduction

Publications (1)

Publication Number Publication Date
CN113379642A true CN113379642A (en) 2021-09-10

Family

ID=77579664

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110724178.0A Pending CN113379642A (en) 2021-06-21 2021-06-21 BIB 3D-based method and system for rapidly realizing image noise reduction

Country Status (1)

Country Link
CN (1) CN113379642A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101853497A (en) * 2010-02-25 2010-10-06 杭州海康威视软件有限公司 Image enhancement method and device
CN102682429A (en) * 2012-04-13 2012-09-19 泰山学院 De-noising method of filtering images in size adaptive block matching transform domains
US20170213321A1 (en) * 2016-01-22 2017-07-27 Siemens Healthcare Gmbh Deep Unfolding Algorithm For Efficient Image Denoising Under Varying Noise Conditions
CN108337509A (en) * 2018-04-06 2018-07-27 北京慧摩尔科技有限公司 The noise-reduction method and device of block distortion
CN109615591A (en) * 2018-11-27 2019-04-12 东莞信大融合创新研究院 A 3D block matching noise reduction method based on GPU parallel acceleration
CN109697704A (en) * 2018-11-28 2019-04-30 山东师范大学 Adaptive full variation ESPI image denoising method and system based on BM3D algorithm
CN110084764A (en) * 2019-04-29 2019-08-02 努比亚技术有限公司 Image noise reduction processing method, mobile terminal, device and computer storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101853497A (en) * 2010-02-25 2010-10-06 杭州海康威视软件有限公司 Image enhancement method and device
CN102682429A (en) * 2012-04-13 2012-09-19 泰山学院 De-noising method of filtering images in size adaptive block matching transform domains
US20170213321A1 (en) * 2016-01-22 2017-07-27 Siemens Healthcare Gmbh Deep Unfolding Algorithm For Efficient Image Denoising Under Varying Noise Conditions
CN108337509A (en) * 2018-04-06 2018-07-27 北京慧摩尔科技有限公司 The noise-reduction method and device of block distortion
CN109615591A (en) * 2018-11-27 2019-04-12 东莞信大融合创新研究院 A 3D block matching noise reduction method based on GPU parallel acceleration
CN109697704A (en) * 2018-11-28 2019-04-30 山东师范大学 Adaptive full variation ESPI image denoising method and system based on BM3D algorithm
CN110084764A (en) * 2019-04-29 2019-08-02 努比亚技术有限公司 Image noise reduction processing method, mobile terminal, device and computer storage medium

Similar Documents

Publication Publication Date Title
Chen et al. Gaussian-adaptive bilateral filter
Bindilatti et al. A nonlocal poisson denoising algorithm based on stochastic distances
Yue et al. CID: Combined image denoising in spatial and frequency domains using Web images
CN108932699B (en) Transform domain-based 3D matching harmonic filtering image denoising method
CN106920222A (en) A kind of image smoothing method and device
CN111179186A (en) Image denoising system for protecting image details
CN113643217B (en) Video motion blurring method, device, terminal device and readable storage medium
CN102222327A (en) Image denoising method based on Treelet transformation and minimum mean-square error estimation
CN115829967B (en) Industrial metal surface defect image denoising and enhancing method
Shehin et al. Adaptive bilateral filtering detection using frequency residuals for digital image forensics
CN113379642A (en) BIB 3D-based method and system for rapidly realizing image noise reduction
CN118967498A (en) Image noise reduction method, device, equipment and storage medium
CN112801903B (en) Target tracking method and device based on video noise reduction and computer equipment
CN113554562A (en) A method and system for rapidly realizing image noise reduction based on MPA & BIB3D
Gali et al. Structuring hybrid model using bilateral and guided filters for image denoising
CN115760903A (en) Image motion area positioning method and device, storage medium and terminal
Wong et al. Turbo denoising for mobile photographic applications
Xiong et al. An adaptive bilateral filtering algorithm and its application in edge detection
CN120235782A (en) An improved BM3D denoising method
CN117132505B (en) Motion deblurring method and device based on texture image autocorrelation
Chen et al. Image deblurring method based on fourier transform
Feng et al. Review of research applications of wavelet transform in the field of image processing
CN116503294B (en) Artificial intelligence-based restoration methods, devices and equipment for cultural relic images
CN114897717B (en) Multiframe correction blind deconvolution method for sun image restoration
Singh COMPARATIVE STUDY OF ALGORITHMS/TECHNIQUES FOR DENOISING OF GAUSSIAN NOISE.

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