Nothing Special   »   [go: up one dir, main page]

CN109801241A - A kind of solar flare image based on modified dark priority algorithm removes cloud method - Google Patents

A kind of solar flare image based on modified dark priority algorithm removes cloud method Download PDF

Info

Publication number
CN109801241A
CN109801241A CN201910059000.1A CN201910059000A CN109801241A CN 109801241 A CN109801241 A CN 109801241A CN 201910059000 A CN201910059000 A CN 201910059000A CN 109801241 A CN109801241 A CN 109801241A
Authority
CN
China
Prior art keywords
image
value
dark
channel
cloud
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
CN201910059000.1A
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.)
China Three Gorges University CTGU
Original Assignee
China Three Gorges University CTGU
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 China Three Gorges University CTGU filed Critical China Three Gorges University CTGU
Priority to CN201910059000.1A priority Critical patent/CN109801241A/en
Publication of CN109801241A publication Critical patent/CN109801241A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

A kind of solar flare image based on modified dark priority algorithm removes cloud method, comprising: describes the concept in channel using mathematic(al) representation;Assuming that cloud atlas piece expression formula: I (x)=J (x) t (x)+A (1-t (x)) seeks global atmosphere light value A.Size from dark channel diagram according to brightness takes preceding 0.1% pixel.In these positions, the value of the corresponding point with maximum brightness is found in original foggy image, as A value.Bilateral filtering is used when solving t (x) to improve.Calculate the local mean value and Local standard deviation of dark image D (x, y): according to known airlight vector A, calculation optimization projects graph expression formula.In view of when the value very little of transmission plot t, the value that will lead to J is bigger than normal, so that it is whole excessive to white field to make image, therefore a state value t generally can be set0, when t value is less than t0When, enable t=t0.Therefore the image expression formula finally restored.A kind of solar flare image based on modified dark priority algorithm of the present invention removes cloud method, by modified dark concept to cloud and mist image restoring, goes cloud effect with good.

Description

Solar flare image cloud removing method based on improved dark channel priority algorithm
Technical Field
The invention belongs to the technical field of image processing, and particularly relates to a solar flare image cloud removing method based on an improved dark channel priority algorithm.
Background
The sun is the fixed star most closely related to human beings, and has an inseparable relationship with the life and production activities of human beings. The sun is filled with magnetic field and stores huge magnetic energy. When the magnetic energy stored in the magnetic field is excessive, energy is released through solar bursts, one of the most intense solar burst forms of solar flare. The flare outbreak will affect the earth's magnetic field and the ionosphere above it, and further affect human activities such as satellite navigation, radio communication, etc. Therefore, the recognition and observation of the solar flare phenomenon are also the real needs for people to realize space exploration and make preventive measures.
The solar flare phenomenon is influenced by the earth atmospheric cloud layer when being observed, so the method is particularly important for the cloud removing processing of flare images. The dark channel prior theory proposed by wo 2009-mingkai can effectively perform cloud removal on an image, but because minimum filtering is used in a dark channel, the obtained transmittance contains a halo effect and a block effect, and in order to solve the problem, a soft-matching and guided filtering optimization algorithm (where the soft-matching algorithm is selected for comparison) is adopted to optimize the transmittance, wherein the soft-matching can well eliminate the halo phenomenon and the block phenomenon, but the time complexity is greatly increased; the time complexity of the guided filtering algorithm is small, but the restored image still has certain degree of cloud in the edge area, so that the soft-matching algorithm and the guided filtering can be optimized by utilizing the bilateral filtering algorithm to optimize the calculation of the transmissivity.
Disclosure of Invention
In order to solve the technical problem of cloud removal of solar flare images, the invention provides a cloud removal method of solar flare images based on an improved dark channel priority algorithm, wherein cloud images are restored through an improved dark channel concept, and the cloud removal method has a good cloud removal effect.
The technical scheme adopted by the invention is as follows:
a solar flare image cloud removing method based on an improved dark channel priority algorithm comprises the following steps:
step 1: describing the concept of the channel by mathematical expressions, for image J, dark channel JdarkCan be expressed as the formula:
in the above formula, JcRepresenting the color channel image of image J, wherein omega (x) represents a field area, the pixel center is x, y is any point in the field area of omega (x), and c represents three channels of r, g and b, then Jc(y) represents the image of the c channel at y in the range of the Ω (x) domain. The meaning of the method is to find the minimum value of the three components of RGB, and then carry out minimum value filtering on the single-channel image. The dark channel prior indicates: j. the design is a squaredark→ 0, corresponding to JdarkApproximately equals 0, so that the real J can be obtained according to the conditionc
Step 2: assuming that the cloud picture expresses formula (2):
I(x)=J(x)t(x)+A(1-t(x)) (2)
wherein, i (x) represents the graph to be processed, j (x) represents the real graph, t (x) represents the transmittance, which represents the part of light which can reach the computer system and is not scattered, and a represents the global atmospheric light value.
And step 3: and (5) solving a global atmospheric light value A. The first 0.1% of the pixels are taken from the dark channel map in terms of the magnitude of the luminance. In these positions, the value of the corresponding point with the highest brightness is found in the original foggy image as the a value.
Bilateral filtering improvements are employed in solving for t (x).
And 4, step 4: calculating the local mean and the local standard deviation of the dark image D (x, y), and estimating the atmosphere light curtain according to the difference between the two:
wherein,representing an atmospheric light curtain, D (x, y) representing a dark image, B1(x, y) denotes the local mean of the dark image D (x, y), B2(x, y) denotes the local standard deviation, F, of the dark image D (x, y)B(x, y) represents an algorithmic function that employs bilateral filtering.
Due to the fact thatIs the difference between the local mean and the local standard deviation of D (x, y),then:
and 5: calculating an optimized projection diagram expression (6) according to the known global atmospheric light value A
In the above formula, t (x, y) represents a transmittance matrix,an atmospheric light curtain is shown.
Step 6: considering that when the value of the transmission map t is small, it will result in a large value of J, thus making the image overall transition to white, a GUO value t can be generally set0When the value of t is less than t0When t is equal to t0. The final restored image expression is therefore:
wherein J (x, y) represents the processed image, I (x) represents the original image, t (x, y) represents the transmittance matrix, A represents the global atmospheric light value, t (x, y) represents the transmittance matrix, and0the threshold value of the selected transmission map t is expressed.
The invention relates to a solar flare image cloud removing method based on an improved dark channel priority algorithm, which has the following technical effects:
1: the method is used for carrying out cloud removing processing on the solar flare image and carrying out simulation. And evaluating the cloud removing effect according to the simulation result. The result shows that the improved dark channel priority algorithm has a remarkable effect on removing cloud due to solar flare.
2: the improved algorithm provided by the invention greatly shortens the calculation time and reduces the computer complexity. Compared with the effect after image processing, the improved algorithm obtains a clearer image and improves the block phenomenon in the estimated transmittance graph; the algorithm has the effect of smoothing the image edge while thinning the transmissivity.
3: compared with the original algorithm, the improved algorithm provided by the invention has better in-situ performance in average gray scale of the image, display of detail information, image information amount and relative definition degree, and can observe the position of flare and the image more easily.
Drawings
The invention is further illustrated by the following examples in conjunction with the accompanying drawings:
FIG. 1 is a flowchart of a solar flare image cloud removing method based on an improved dark channel priority algorithm according to an embodiment of the present invention
Fig. 2 is a solar flare image before clouding.
Fig. 3(1) is a solar flare image processed using the original dark channel priority algorithm.
Fig. 3(2) is a solar flare image processed using a modified dark channel priority algorithm.
Detailed Description
The dark channel prior algorithm is firstly applied to defogging processing of the image, and because the cloud imaging model is similar to the fog imaging model and is the sum of energy of attenuation of target radiation information and energy of attenuation of atmospheric light, the image can be deblurred by using the dark channel prior knowledge.
Based on an improved dark channel preoperative algorithm. Because the original algorithm applies the soft-matching algorithm when solving the transmissivity t (x, y), the calculation complexity and the calculation time are greatly increased, and in order to reduce the calculation burden, the invention applies the bilateral filtering algorithm to replace the soft-matching process, thereby achieving the aim and ensuring the quality of image processing.
A solar flare image cloud removing method based on an improved dark channel priority algorithm comprises the following steps:
step 1: describing the concept of the channel by mathematical expressions, for image J, dark channel JdarkCan be expressed as the formula:
in the above formula, JcRepresenting the color channel image of image J, wherein omega (x) represents a field area, the pixel center is x, y is any point in the field area of omega (x), and c represents three channels of r, g and b, then Jc(y) represents the image of the c channel at y in the range of the Ω (x) domain. The meaning of the method is to find the minimum value of the three components of RGB, and then carry out minimum value filtering on the single-channel image. The dark channel prior indicates: j. the design is a squaredark→ 0, corresponding to JdarkApproximately equals 0, so that the real J can be obtained according to the conditionc
Step 2: assuming that the cloud picture expresses formula (2):
I(x)=J(x)t(x)+A(1-t(x)) (2)
wherein, i (x) represents the graph to be processed, j (x) represents the real graph, t (x) represents the transmittance, which represents the part of light which can reach the computer system and is not scattered, and a represents the global atmospheric light value.
And step 3: and (5) solving a global atmospheric light value A. The first 0.1% of the pixels are taken from the dark channel map in terms of the magnitude of the luminance. In these positions, the value of the corresponding point with the highest brightness is found in the original foggy image as the a value.
Bilateral filtering improvements are employed in solving for t (x).
And 4, step 4: calculating the local mean and the local standard deviation of the dark image D (x, y), and estimating the atmosphere light curtain according to the difference between the two:
wherein,representing an atmospheric light curtain, D (x, y) representing a dark image, B1(x, y) denotes the local mean of the dark image D (x, y), B2(x, y) denotes the local standard deviation, F, of the dark image D (x, y)B(x, y) represents an algorithmic function that employs bilateral filtering.
Due to the fact thatIs the difference between the local mean and the local standard deviation of D (x, y),then:
and 5: calculating an optimized projection diagram expression (6) according to the known global atmospheric light value A
In the above formula, t (x, y) represents a transmittance matrix,an atmospheric light curtain is shown.
Step 6: considering that when the value of the transmission map t is small, it will result in a large value of J, thus making the image overall transition to white, a GUO value t can be generally set0When the value of t is less than t0When t is equal to t0. The final restored image expression is therefore:
wherein J (x, y) represents the result after treatmentIs represented by I (x) represents the original image, t (x, y) represents the transmittance matrix, A represents the global atmospheric light value, t0The threshold value of the selected transmission map t is expressed.
FIG. 1 is a flow chart of a solar flare image cloud removal method based on an improved dark channel priority algorithm; the method is characterized in that an original solar flare image is processed, and a soft-matching algorithm and a guide filter are replaced by a bilateral filter algorithm when the transmissivity is solved, so that the calculation of the transmissivity is optimized.
At present, randomly selecting a solar flare image, as shown in figure 2, carrying out cloud removing treatment on the solar flare image, applying MATLAB programming, and carrying out an algorithm implementation process as shown in the flow of figure 1, firstly inputting an original image, and solving a dark channel J of the original imagedark(x) (ii) a The global atmospheric light values are then obtained according to the algorithm described herein, and the atmospheric light curtain is then estimated by calculating the local mean and local standard deviation of the dark image D (x, y). Then, according to the known air light vector, calculating a projection map to obtain the optimized transmittance t (x). Finally, a distribution function of the cloud-removed image is obtained according to the formula (7), and the cloud-removed image is restored to obtain a final cloud-removed image, as shown in fig. 3 (2). Meanwhile, in order to compare with the algorithm before improvement, the selected solar flare image is processed by using the original dark channel priority algorithm to obtain a cloud-removed image, as shown in fig. 3 (1).
In combination with the gray value characteristic, the gray value at the flare is higher, so the display is brighter, and the cloud gray value is higher and is in irregular bright color. Therefore, it can be seen from the comparison between fig. 2 and fig. 3(1) and fig. 3 (2): no matter before and after the improvement, the cloud removing effect of the dark channel priority algorithm is obvious, but as can be seen from the comparison of fig. 3(1) and 3(2), the image definition is higher and the solar flare is more obvious after the improved algorithm is adopted, so that the superiority of the improved algorithm is reflected.

Claims (1)

1. A solar flare image cloud removing method based on an improved dark channel priority algorithm is characterized by comprising the following steps:
step 1: describing the concept of the channel by mathematical expressions, for image J, dark channel JdarkCan be expressed as the formula:
in the above formula, JcA color channel image representing the image J,omega (x) represents a domain range, the pixel center is x, y is any point in the omega (x) domain range, c represents three channels of r, g and b, and J representsc(y) represents the image of the c channel at y in the range of Ω (x) domain; the significance of the method is to calculate the minimum value of three components of RGB, and then carry out minimum value filtering on the single-channel image; the dark channel prior indicates: j. the design is a squaredark→ 0, corresponding to JdarkApproximately equals 0, so that the real J can be obtained according to the conditionc
Step 2: assuming that the cloud picture expresses formula (2):
I(x)=J(x)t(x)+A(1-t(x)) (2)
wherein, i (x) represents a graph to be processed, j (x) represents a real graph, t (x) represents a transmittance, represents a part of light which can reach a computer system and is not scattered, and a represents a global atmospheric light value;
and step 3: obtaining a global atmospheric light value A; taking the first 0.1% of pixels according to the brightness from the dark channel map; in these positions, the value of the corresponding point with the highest brightness is found in the original foggy image as the a value;
bilateral filtering improvement is adopted when solving t (x);
and 4, step 4: calculating the local mean and the local standard deviation of the dark image D (x, y), and estimating the atmosphere light curtain according to the difference between the two:
wherein,representing an atmospheric light curtain, D (x, y) representing a dark image, B1(x, y) denotes the local mean of the dark image D (x, y), B2(x, y) denotes the local standard deviation, F, of the dark image D (x, y)B(x, y) represents an algorithm function that applies bilateral filtering;
due to the fact thatIs the difference between the local mean and the local standard deviation of D (x, y),then:
and 5: calculating an optimized projection diagram expression (6) according to the known global atmospheric light value A
In the above formula, t (x, y) represents a transmittance matrix,representing an atmospheric light curtain;
step 6: considering that when the value of the transmission map t is small, it will result in a large value of J, thus making the image overall transition to white, a GUO value t can be generally set0When the value of t is less than t0When t is equal to t0(ii) a The final restored image expression is therefore:
wherein J (x, y) represents the processed image, I (x) represents the original image, t (x, y) represents the transmittance matrix, A represents the global atmospheric light value, t (x, y) represents the transmittance matrix, and0the threshold value of the selected transmission map t is expressed.
CN201910059000.1A 2019-01-22 2019-01-22 A kind of solar flare image based on modified dark priority algorithm removes cloud method Pending CN109801241A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910059000.1A CN109801241A (en) 2019-01-22 2019-01-22 A kind of solar flare image based on modified dark priority algorithm removes cloud method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910059000.1A CN109801241A (en) 2019-01-22 2019-01-22 A kind of solar flare image based on modified dark priority algorithm removes cloud method

Publications (1)

Publication Number Publication Date
CN109801241A true CN109801241A (en) 2019-05-24

Family

ID=66559968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910059000.1A Pending CN109801241A (en) 2019-01-22 2019-01-22 A kind of solar flare image based on modified dark priority algorithm removes cloud method

Country Status (1)

Country Link
CN (1) CN109801241A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113989142A (en) * 2021-10-25 2022-01-28 黑龙江科技大学 Infrared image processing method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130071043A1 (en) * 2011-09-08 2013-03-21 Fujitsu Limited Image defogging method and system
US20160071244A1 (en) * 2014-09-04 2016-03-10 National Taipei University Of Technology Method and system for image haze removal based on hybrid dark channel prior
CN106157267A (en) * 2016-07-12 2016-11-23 中国科学技术大学 A kind of image mist elimination absorbance optimization method based on dark channel prior
CN106204491A (en) * 2016-07-12 2016-12-07 中国科学技术大学 A kind of adapting to image defogging method based on dark channel prior
CN106530246A (en) * 2016-10-28 2017-03-22 大连理工大学 Image dehazing method and system based on dark channel and non-local prior
CN107133926A (en) * 2017-04-13 2017-09-05 中原智慧城市设计研究院有限公司 A kind of image defogging method based on dark primary priori
CN107730472A (en) * 2017-11-03 2018-02-23 昆明理工大学 A kind of image defogging optimized algorithm based on dark primary priori
CN108154492A (en) * 2017-12-25 2018-06-12 北京航空航天大学 A kind of image based on non-local mean filtering goes haze method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130071043A1 (en) * 2011-09-08 2013-03-21 Fujitsu Limited Image defogging method and system
US20160071244A1 (en) * 2014-09-04 2016-03-10 National Taipei University Of Technology Method and system for image haze removal based on hybrid dark channel prior
CN106157267A (en) * 2016-07-12 2016-11-23 中国科学技术大学 A kind of image mist elimination absorbance optimization method based on dark channel prior
CN106204491A (en) * 2016-07-12 2016-12-07 中国科学技术大学 A kind of adapting to image defogging method based on dark channel prior
CN106530246A (en) * 2016-10-28 2017-03-22 大连理工大学 Image dehazing method and system based on dark channel and non-local prior
CN107133926A (en) * 2017-04-13 2017-09-05 中原智慧城市设计研究院有限公司 A kind of image defogging method based on dark primary priori
CN107730472A (en) * 2017-11-03 2018-02-23 昆明理工大学 A kind of image defogging optimized algorithm based on dark primary priori
CN108154492A (en) * 2017-12-25 2018-06-12 北京航空航天大学 A kind of image based on non-local mean filtering goes haze method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
KAIMING HE等: "Single Image Haze Removal Using Dark Channel Prior", 《IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE》 *
孙抗等: "基于双边滤波的实时图像去雾技术研究", 《北京理工大学学报》 *
李娟等: "基于局部均值和标准差的图像去雾算法", 《计算机工程与应用》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113989142A (en) * 2021-10-25 2022-01-28 黑龙江科技大学 Infrared image processing method
CN113989142B (en) * 2021-10-25 2024-08-09 山东万特智能科技有限公司 Infrared image processing method

Similar Documents

Publication Publication Date Title
CN103955905B (en) Based on the single image to the fog method that fast wavelet transform and weighted image merge
CN107767354B (en) Image defogging algorithm based on dark channel prior
CN107527332B (en) Low-illumination image color retention enhancement method based on improved Retinex
CN102750674B (en) Video image defogging method based on self-adapting allowance
CN107103591B (en) Single image defogging method based on image haze concentration estimation
WO2016206087A1 (en) Low-illumination image processing method and device
CN108765342A (en) A kind of underwater image restoration method based on improvement dark
CN105118027B (en) A kind of defogging method of image
CN104867121B (en) Image Quick demisting method based on dark primary priori and Retinex theories
CN104766307A (en) Picture processing method and device
CN105959510B (en) A kind of video rapid defogging method
CN110689490A (en) Underwater image restoration method based on texture color features and optimized transmittance
CN105205794A (en) Synchronous enhancement de-noising method of low-illumination image
CN104318535B (en) The method, device and mobile terminal of image defogging
Muniraj et al. Underwater image enhancement by color correction and color constancy via Retinex for detail preserving
CN104331867B (en) The method, device and mobile terminal of image defogging
CN107093173A (en) A kind of method of estimation of image haze concentration
Tang et al. A local flatness based variational approach to retinex
CN106780384A (en) A kind of the real-time of cold light source abdominal cavity image parameters self adaptation that be applicable goes smog method
CN103413305A (en) Single-image rapid defogging method and device and image processing system
CN104168402A (en) Method and device for video frame image defogging
CN104715456B (en) A kind of defogging method of image
CN109801241A (en) A kind of solar flare image based on modified dark priority algorithm removes cloud method
CN108898561A (en) A kind of defogging method, server and the system of the Misty Image containing sky areas
Kyung et al. Real-time multi-scale Retinex to enhance night scene of vehicular camera

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190524

RJ01 Rejection of invention patent application after publication