Movatterモバイル変換


[0]ホーム

URL:


CN112102214B - Image defogging method based on histogram and neural network - Google Patents

Image defogging method based on histogram and neural network
Download PDF

Info

Publication number
CN112102214B
CN112102214BCN202010963838.6ACN202010963838ACN112102214BCN 112102214 BCN112102214 BCN 112102214BCN 202010963838 ACN202010963838 ACN 202010963838ACN 112102214 BCN112102214 BCN 112102214B
Authority
CN
China
Prior art keywords
image
histogram
channel
gray level
method based
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
CN202010963838.6A
Other languages
Chinese (zh)
Other versions
CN112102214A (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.)
Shandong Inspur Scientific Research Institute Co Ltd
Original Assignee
Shandong Inspur Scientific Research Institute 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 Shandong Inspur Scientific Research Institute Co LtdfiledCriticalShandong Inspur Scientific Research Institute Co Ltd
Priority to CN202010963838.6ApriorityCriticalpatent/CN112102214B/en
Publication of CN112102214ApublicationCriticalpatent/CN112102214A/en
Application grantedgrantedCritical
Publication of CN112102214BpublicationCriticalpatent/CN112102214B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The image defogging method based on histogram and neural network adopts improved Enhance net network structure, and compared with original network, introduces DenseNet residual network, and directly connects all layers together.

Description

Image defogging method based on histogram and neural network
Technical Field
The invention relates to the technical field of image processing, in particular to an image defogging method based on a histogram and a neural network.
Background
With technological progress, new image technology is gradually popularized, and many cities are more often afflicted by haze weather. In haze days, the light transmission scattering of fine suspended matters such as mist, dust, water droplets and the like in the air greatly influences the human vision. Researchers in the defogging field put forward a lot of algorithms to realize defogging of a single image, one way is to process a frequency domain and a space domain, the basic methods are only aimed at image defogging under a specific scene, the defogging effect on a complex environment is not obvious, in recent years, an image enhancement technology based on deep learning is advanced, and the advanced image understanding tasks include: the image classification, target detection and other aspects achieve remarkable results. Therefore, the second method is generated, the image fog penetration technology based on the deep learning algorithm becomes a research hot spot, and the conventional method is to directly train the foggy image and the normal image of the image data training set to obtain the weight parameters, but the visual effect and the image quality are required to be improved after the defogging is completed. Therefore, new image fog penetration techniques of technical innovation are necessary.
Disclosure of Invention
In order to overcome the defects of the technology, the invention provides a method for learning potential transformation between the fog images and the histograms of the fog-free images and improving the identification degree of the images.
The technical scheme adopted for overcoming the technical problems is as follows:
an image defogging method based on a histogram and a neural network comprises the following steps:
a) Color channel conversion is carried out on a color picture input into a computer, an image is decomposed into an R channel image, a G channel image and a B channel image, gray images of the R channel image, the G channel image and the B channel image are respectively decomposed into a plurality of blocks, and gray histograms of the blocks are calculated statistically;
b) Representing the square gray level histogram as a matrix, and carrying out normalization processing on the matrix to obtain a normalized gray level histogram;
c) Inputting the matrix into an enhancement Net network, extracting relevant characteristic data, obtaining one layer by convolution operation each time to obtain L layers, and obtaining a characteristic mapping image with depth of 64 by convolution of ReLU and 3*3;
d) Introducing a DenseNet residual network into the enhancement Net network in the step b), connecting the L layers in the step c) together by using the DenseNet residual network, wherein the input of each layer consists of the feature mapping of all the previous layers;
e) Outputting and compressing the histogram of the feature mapping image processed in the step d) to obtain a histogram of the compressed feature mapping image;
f) Taking the histogram of the feature mapping image compressed in the step e) as an output histogram, taking the normalized gray level histogram in the step b) as an input histogram, carrying out data addition calculation on the output histogram and the input histogram once, and carrying out normalization processing after the addition calculation;
g) And f) splicing each square image subjected to normalization in the step f) into a whole image, and carrying out mean value filtering treatment on the spliced whole image to obtain a defogging image.
Further, in step a) the formula is passedCalculating a block gray level histogram p (r)k ) Wherein r isk N is the gray level of the blockk To have gray scale rk MN is the number of pixels in the block.
Further, in step b), the abscissa of the square gray level histogram is expressed as a three-channel matrix of 256×1×3 in units of 1 pixel.
Further, in step c), the enhanced net network performs convolution processing by using a convolution check matrix of 3*3 with a step size of 2.
Further, the histogram output of the feature map image in step e) is compressed to 64×1×3.
The beneficial effects of the invention are as follows: compared with the original network, the improved Enhance Net network structure is adopted to introduce a DenseNet residual network, all layers are directly connected together, in the information structure, the input of each layer consists of all previous feature maps, the output of each layer is transmitted to each subsequent layer, and the heat pattern maps are aggregated through deep cascade, so that the depth of a neural network is improved, and the calculation amount of image defogging is reduced.
Drawings
Fig. 1 is a functional block diagram of the present invention.
Detailed Description
The invention is further described with reference to fig. 1.
An image defogging method based on a histogram and a neural network comprises the following steps:
a) Color channel conversion is carried out on a color picture input into a computer, an image is decomposed into an R channel image, a G channel image and a B channel image, gray images of the R channel image, the G channel image and the B channel image are respectively decomposed into a plurality of blocks, and gray histograms of the blocks are calculated statistically;
b) Representing the square gray level histogram as a matrix, and carrying out normalization processing on the matrix to obtain a normalized gray level histogram;
c) Inputting the matrix into an enhancement Net network, extracting relevant characteristic data, obtaining one layer by convolution operation each time to obtain L layers, and obtaining a characteristic mapping image with depth of 64 by convolution of ReLU and 3*3;
d) Introducing a DenseNet residual network into the enhancement Net network in the step b), connecting the L layers in the step c) together by using the DenseNet residual network, wherein the input of each layer consists of the feature mapping of all the previous layers;
e) Outputting and compressing the histogram of the feature mapping image processed in the step d) to obtain a histogram of the compressed feature mapping image;
f) Taking the histogram of the feature mapping image compressed in the step e) as an output histogram, taking the normalized gray level histogram in the step b) as an input histogram, carrying out data addition calculation on the output histogram and the input histogram once, and carrying out normalization processing after the addition calculation;
g) And f) splicing each square image subjected to normalization in the step f) into a whole image, and carrying out mean value filtering treatment on the spliced whole image to obtain a defogging image.
Compared with the original network, the improved Enhance Net network structure is adopted to introduce a DenseNet residual network, all layers are directly connected together, in the information structure, the input of each layer consists of all previous feature maps, the output of each layer is transmitted to each subsequent layer, and the heat pattern maps are aggregated through deep cascade, so that the depth of a neural network is improved, and the calculation amount of image defogging is reduced.
Further, the gray histogram of an image is a function of gray level, describing the number of pixels in the image having that gray level: where the abscissa is the gray level and the ordinate is the frequency with which the gray level appears. However, the ordinate is typically normalized to [0,1 ]][0,1]Within a section, i.e. the frequency of occurrence of grey levels (number of pixels) divided by the total number of pixels in the image. Thus passing through the formula in step a)Calculating a block gray level histogram p (r)k ) Wherein r isk Is the gray scale of the squareStage, nk To have gray scale rk MN is the number of pixels in the block.
Preferably, in step b), the abscissa of the square gray level histogram is expressed as a three-channel matrix of 256×1×3 in units of 1 pixel.
Preferably, the enhanced net network in step c) performs convolution processing by using a convolution check matrix of 3*3 with a step size of 2.
Preferably, the histogram output of the feature map image in step e) is compressed to 64×1×3.
Finally, it should be noted that: the foregoing description is only a preferred embodiment of the present invention, and the present invention is not limited thereto, but it is to be understood that modifications and equivalents of some of the technical features described in the foregoing embodiments may be made by those skilled in the art, although the present invention has been described in detail with reference to the foregoing embodiments. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (5)

CN202010963838.6A2020-09-142020-09-14Image defogging method based on histogram and neural networkActiveCN112102214B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202010963838.6ACN112102214B (en)2020-09-142020-09-14Image defogging method based on histogram and neural network

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010963838.6ACN112102214B (en)2020-09-142020-09-14Image defogging method based on histogram and neural network

Publications (2)

Publication NumberPublication Date
CN112102214A CN112102214A (en)2020-12-18
CN112102214Btrue CN112102214B (en)2023-11-14

Family

ID=73750963

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010963838.6AActiveCN112102214B (en)2020-09-142020-09-14Image defogging method based on histogram and neural network

Country Status (1)

CountryLink
CN (1)CN112102214B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113947582A (en)*2021-10-202022-01-18济南超级计算技术研究院Pathological section small target detection method and system based on deep learning
CN114463228A (en)*2021-12-302022-05-10济南超级计算技术研究院Medical image enhancement method and system based on deep learning
CN115689932B (en)*2022-11-092025-07-01重庆邮电大学 An image dehazing method based on deep neural network

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2011127825A1 (en)*2010-04-162011-10-20杭州海康威视软件有限公司Processing method and device of image contrast
CN110189262A (en)*2019-04-292019-08-30复旦大学 Image Dehazing Algorithm Based on Neural Network and Histogram Matching
AU2020100274A4 (en)*2020-02-252020-03-26Huang, Shuying DRA Multi-Scale Feature Fusion Network based on GANs for Haze Removal
CN111179202A (en)*2019-12-312020-05-19内蒙古工业大学Single image defogging enhancement method and system based on generation countermeasure network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2011127825A1 (en)*2010-04-162011-10-20杭州海康威视软件有限公司Processing method and device of image contrast
CN110189262A (en)*2019-04-292019-08-30复旦大学 Image Dehazing Algorithm Based on Neural Network and Histogram Matching
CN111179202A (en)*2019-12-312020-05-19内蒙古工业大学Single image defogging enhancement method and system based on generation countermeasure network
AU2020100274A4 (en)*2020-02-252020-03-26Huang, Shuying DRA Multi-Scale Feature Fusion Network based on GANs for Haze Removal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
徐岩 ; 孙美双 ; .基于多特征融合的卷积神经网络图像去雾算法.激光与光电子学进展.2018,(03),全文.*

Also Published As

Publication numberPublication date
CN112102214A (en)2020-12-18

Similar Documents

PublicationPublication DateTitle
Li et al.A deep learning based image enhancement approach for autonomous driving at night
CN112102214B (en)Image defogging method based on histogram and neural network
CN110288550B (en)Single-image defogging method for generating countermeasure network based on priori knowledge guiding condition
CN110889813A (en)Low-light image enhancement method based on infrared information
CN110544213A (en) An image defogging method based on global and local feature fusion
CN111242868B (en)Image enhancement method based on convolutional neural network in scotopic vision environment
CN105701785B (en)The image haze minimizing technology of Weighted T V transmissivities optimization is divided based on sky areas
CN111179202B (en)Single image defogging enhancement method and system based on generation countermeasure network
CN115393225A (en) A low-light image enhancement method based on multi-level feature extraction and fusion
CN112070688A (en) A Single Image Dehazing Method Based on Context-Guided Generative Adversarial Networks
CN114219732A (en)Image defogging method and system based on sky region segmentation and transmissivity refinement
CN110363727B (en) Image dehazing method based on multi-scale dark channel prior cascaded deep neural network
CN105931208A (en)Physical model-based low-illuminance image enhancement algorithm
CN116596792B (en)Inland river foggy scene recovery method, system and equipment for intelligent ship
CN110738624B (en)Area-adaptive image defogging system and method
CN112164010A (en)Multi-scale fusion convolution neural network image defogging method
CN117611456A (en)Atmospheric turbulence image restoration method and system based on multiscale generation countermeasure network
CN112419163A (en)Single image weak supervision defogging method based on priori knowledge and deep learning
CN110135501A (en) High Dynamic Range Image Forensics Method Based on Neural Network Framework
CN114693548B (en)Dark channel defogging method based on bright area detection
CN118967550B (en)Lightweight insulator defect detection method based on improved YOLOv network
CN109544470A (en)A kind of convolutional neural networks single image to the fog method of boundary constraint
CN111709889B (en)Image dynamic real-time analysis system and method based on artificial intelligence
Pavethra et al.A cross layer graphical neural network based convolutional neural network framework for image dehazing
CN113673467B (en) A vehicle color recognition method under white light conditions

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
TA01Transfer of patent application right

Effective date of registration:20231016

Address after:250000 building S02, No. 1036, Gaoxin Inspur Road, Jinan, Shandong

Applicant after:Shandong Inspur Scientific Research Institute Co.,Ltd.

Address before:250104 1st floor, R & D building, No. 2877, Suncun Town, Licheng District, Jinan City, Shandong Province

Applicant before:JINAN INSPUR HIGH-TECH TECHNOLOGY DEVELOPMENT Co.,Ltd.

TA01Transfer of patent application right
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp