CN105427256A - Infrared image enhancement method and device - Google Patents
Infrared image enhancement method and device Download PDFInfo
- Publication number
- CN105427256A CN105427256A CN201510795444.3A CN201510795444A CN105427256A CN 105427256 A CN105427256 A CN 105427256A CN 201510795444 A CN201510795444 A CN 201510795444A CN 105427256 A CN105427256 A CN 105427256A
- Authority
- CN
- China
- Prior art keywords
- gray level
- pixel number
- threshold
- pixel
- intercepted
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 230000002708 enhancing effect Effects 0.000 claims abstract description 18
- 210000003813 thumb Anatomy 0.000 claims description 12
- 230000000694 effects Effects 0.000 abstract description 10
- 230000008569 process Effects 0.000 description 17
- 238000010586 diagram Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 9
- 238000004590 computer program Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000005855 radiation Effects 0.000 description 2
- 241000931705 Cicada Species 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000003331 infrared imaging Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000004297 night vision Effects 0.000 description 1
- 238000010606 normalization Methods 0.000 description 1
- 238000005728 strengthening Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/40—Image enhancement or restoration using histogram techniques
-
- 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
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Facsimile Image Signal Circuits (AREA)
- Image Processing (AREA)
- Studio Devices (AREA)
Abstract
The invention provides an infrared image enhancement method and device. The infrared image enhancement method comprises the following steps: carrying out statistics on the grey level histogram of an original infrared image; aiming at each-order grey level which meets an interception condition in the grey level histogram, determining a number of the intercepted pixels of the grey level; adding the determined number of the intercepted pixels of the each-order grey level to serve as a total number of the intercepted pixels of the grey level histogram; and aiming at each-order grey level which does not meet the interception condition in the grey level histogram to update the number of the pixels of the grey level according to the number of the pixels of the grey level, the order number of the grey level which does not meet the interception condition, the sum of the pixels of each-order grey level which does not meet the interception condition and the total number of the intercepted pixels, and enhancing the infrared image according to the updated number of the pixels. The method carries out update by aiming at the number of the pixels of each-order grey level which does not meet the interception condition, and therefore, an infrared image enhancement effect is better.
Description
Technical field
The present invention relates to technical field of image processing, particularly relate to a kind of infrared image enhancing method and device.
Background technology
Infrared imagery technique, refers to the sightless infrared radiation that target produces to convert the technology that visible images carries out showing to.Infrared imaging has propagation distance long, can penetrate smog, can by day, and the advantage worked in night and rugged surroundings, is widely used in fields such as infrared guidance, night vision, industrial detection and infrared measurement of temperature.Because infrared eye utilizes the radiation difference of object and background to carry out imaging, the infrared image obtained has the shortcoming of poor contrast, therefore utilizes infrared image enhancement technology to strengthen the contrast of infrared image.
The infrared image enhancement mode of current employing is by the enhancing of infrared image balancing technique realization to infrared image, is specially: obtain original infrared image; Take gray level as horizontal ordinate, pixel number corresponding to every rank gray level is ordinate statistics original image histogram; For the every rank gray level in original image histogram, obtain the pixel number of original image corresponding to this gray level, if this pixel number is greater than first threshold, pixel number corresponding for this gray level is updated to first threshold; If this pixel number is less than Second Threshold, pixel number corresponding for this gray level is updated to Second Threshold; If this pixel number is between first threshold and Second Threshold, by constant for pixel number corresponding for this gray level, namely, according to the original histogram of original infrared image, first threshold and Second Threshold, the pixel number corresponding to every rank gray level in original histogram upgrades, the pixel number H (r that the every rank gray level after renewal is corresponding
k) computing formula as follows:
Wherein, k is the arbitrary gray level inside all gray levels, and L is gray level sum, and T1 is first threshold, and T2 is Second Threshold, and T1 is greater than T2, h (r
k) be original image vegetarian refreshments number corresponding to kth rank gray level.
But the method for this image enhaucament is left intact for original image vegetarian refreshments number within the scope of first threshold and Second Threshold, the infrared image region making this part corresponding is difficult to obtain the most directly strengthening, thus brings the problem of infrared image enhancement weak effect.
Summary of the invention
The invention provides a kind of infrared image enhancing method and device, the problem of the infrared image enhancement weak effect that the infrared image enhancement mode in order to solve prior art is brought.
A kind of infrared image enhancing method, comprising:
Add up the grey level histogram of original infrared image;
For each rank gray level meeting intercepting condition in described grey level histogram, determine that this gray level is by the pixel number intercepted;
The each rank gray level determined is added by the pixel number intercepted, as described grey level histogram by the pixel sum intercepted;
For each rank gray level not meeting intercepting condition in described grey level histogram, according to the pixel number of this gray level, do not meet intercepting condition gray level exponent number, do not meet the pixel sum of each rank gray level of intercepting condition and described by the pixel sum intercepted, the pixel number of this gray level is upgraded, and according to the pixel number after renewal, described infrared image is strengthened.
In described method, according to the pixel number of this gray level, do not meet intercepting condition gray level exponent number, do not meet the pixel sum of each rank gray level of intercepting condition and described by the pixel sum intercepted, the pixel number of this gray level is upgraded, specifically comprises:
wherein, the kth rank gray level in grey level histogram does not meet intercepting condition, H (r
k) represent the pixel number after the renewal that kth rank gray levels is corresponding, h (r
k) represent the pixel number of kth rank gray levels, P1 represents by the pixel sum intercepted, the pixel sum of each rank gray level of P2 sufficient intercepting condition with thumb down, the gray level exponent number of P3 sufficient intercepting condition with thumb down, α and β is respectively and is less than 1 constant being greater than 0.
In described method, the gray level meeting intercepting condition is the gray level that pixel number is greater than first threshold, and pixel number is less than the gray level of Second Threshold, and wherein, first threshold is greater than Second Threshold.
Described method, determine that this gray level is by the pixel number intercepted, and specifically comprises:
Be greater than the gray level of first threshold for pixel number, determine that the pixel number of this gray level deducts the difference of first threshold gained, as this gray level by the pixel number intercepted;
Be less than the gray level of Second Threshold for pixel number, determine that the pixel number of this gray level deducts the difference of the 3rd threshold value gained, as this gray level by the pixel number intercepted, Second Threshold is greater than the 3rd threshold value.
The embodiment of the present invention, by each threshold value of setting, is determined in the gray level of satisfied intercepting condition by the pixel number intercepted.
Described method, also comprises:
Be greater than the gray level of first threshold for pixel number, the pixel number of this gray level is updated to first threshold;
Be less than the gray level of Second Threshold for pixel number, the pixel number of this gray level is updated to the 3rd threshold value, described Second Threshold is greater than the 3rd threshold value.
In the embodiment of the present invention, be greater than every rank gray level of first threshold for pixel number in grey level histogram, the pixel number of this gray level is reduced to first threshold; Be less than every rank gray level of Second Threshold for pixel number in grey level histogram, the pixel number of this gray level is reduced to the 3rd threshold value, the noise spot in original infrared image can be removed like this, in order to avoid the effect of these noise spot effect diagram image intensifyings.
The present invention also provides a kind of infrared image enhancement device, comprising:
Statistic unit, for adding up the grey level histogram of original infrared image;
First determining unit, for for each rank gray level meeting intercepting condition in described grey level histogram, determines that this gray level is by the pixel number intercepted;
Second determining unit, for each rank determined gray level being added by the pixel number intercepted, as described grey level histogram by the pixel sum intercepted;
Updating block, for for each rank gray level not meeting intercepting condition in described grey level histogram, according to the pixel number of this gray level, do not meet intercepting condition gray level exponent number, do not meet the pixel sum of each rank gray level of intercepting condition and described by the pixel sum intercepted, the pixel number of this gray level is upgraded, and according to the pixel number after renewal, described infrared image is strengthened.
In described device, described updating block adopt following formula according to the pixel number of this gray level, do not meet intercepting condition gray level exponent number, do not meet the pixel sum of each rank gray level of intercepting condition and described by the pixel sum intercepted, the pixel number of this gray level is upgraded:
wherein, the kth rank gray level in grey level histogram does not meet intercepting condition, H (r
k) represent the pixel number after the renewal that kth rank gray levels is corresponding, h (r
k) represent the pixel number of kth rank gray levels, P1 represents by the pixel sum intercepted, the pixel sum of each rank gray level of P2 sufficient intercepting condition with thumb down, the gray level exponent number of P3 sufficient intercepting condition with thumb down, α and β is respectively and is less than 1 constant being greater than 0.
Described device, the gray level meeting intercepting condition is the gray level that pixel number is greater than first threshold, and pixel number is less than the gray level of Second Threshold, and wherein, first threshold is greater than Second Threshold.
In described device, described first determining unit determine this gray level by intercept pixel number time, specifically for:
Be greater than the gray level of first threshold for pixel number, determine that the pixel number of this gray level deducts the difference of first threshold gained, as this gray level by the pixel number intercepted;
Be less than the gray level of Second Threshold for pixel number, determine that the pixel number of this gray level deducts the difference of the 3rd threshold value gained, as this gray level by the pixel number intercepted, Second Threshold is greater than the 3rd threshold value.
In described device, described updating block also for:
Be greater than the gray level of first threshold for pixel number, the pixel number of this gray level is updated to first threshold;
Be less than the gray level of Second Threshold for pixel number, the pixel number of this gray level is updated to the 3rd threshold value, described Second Threshold is greater than the 3rd threshold value.
The infrared image enhancing method utilizing the embodiment of the present invention to provide and device, there is following beneficial effect: for each rank gray level not meeting intercepting condition in grey level histogram, the pixel number of this gray level is upgraded, instead of the preimage vegetarian refreshments number of simple this gray level of use (the pixel number before renewal) strengthens infrared image, can make infrared image enhancement better effects if like this.In addition, the embodiment of the present invention, by being upgraded according to intercepting the pixel number of pixel to the gray level not meeting intercepting condition fallen, also can improve the enhancing effect of infrared image.
Accompanying drawing explanation
The infrared image enhancing method process flow diagram that Fig. 1 provides for the embodiment of the present invention;
The infrared image enhancing method specific implementation process process flow diagram that Fig. 2 provides for the embodiment of the present invention;
The infrared image enhancement device schematic diagram that Fig. 3 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with drawings and Examples, infrared image enhancing method provided by the invention and device are illustrated in greater detail.
The embodiment of the present invention provides a kind of infrared image enhancing method, as shown in Figure 1, comprising:
Step 101, adds up the grey level histogram of original infrared image.
Concrete, in the grey level histogram obtained, horizontal ordinate represents different gray levels, and ordinate represents pixel number, the grey level histogram of the infrared image obtained has reacted the pixel number of the different grey-scale of this infrared image, the pixel that namely every rank gray level is corresponding a certain number of.Statistics of histogram method is prior art, does not elaborate here.
Step 102, for each rank gray level meeting intercepting condition in described grey level histogram, determines that this gray level is by the pixel number intercepted.
Concrete, for the gray level of satisfied intercepting condition, intercept the one part of pixel point in this gray level, and determine that this gray level is by the pixel number intercepted.Preferably, the gray level meeting intercepting condition is the gray level that pixel number is greater than first threshold, and pixel number is less than the gray level of Second Threshold, and wherein, first threshold is greater than Second Threshold.
Step 103, is added each rank gray level determined by the pixel number intercepted, as described grey level histogram by the pixel sum intercepted.
Concrete, the gray level each rank being met intercepting condition is added by the pixel number intercepted, as this grey level histogram by the pixel sum intercepted.
Step 104, for each rank gray level not meeting intercepting condition in described grey level histogram, according to the pixel number of this gray level, do not meet intercepting condition gray level exponent number, do not meet the pixel sum of each rank gray level of intercepting condition and described by the pixel sum intercepted, the pixel number of this gray level is upgraded, and according to the pixel number after renewal, described infrared image is strengthened.
Concrete, for each rank gray level not meeting intercepting condition in grey level histogram, the pixel number of this gray level is upgraded, instead of the preimage vegetarian refreshments number of simple this gray level of use (the pixel number before renewal) strengthens infrared image, can make infrared image enhancement better effects if like this.In addition, the embodiment of the present invention, by being upgraded according to intercepting the pixel number of pixel to the gray level not meeting intercepting condition fallen, also can improve the enhancing effect of infrared image.
Illustrate the account form of the pixel sum of each rank gray level not meeting intercepting condition, such as, the gray level not meeting intercepting condition is the first rank gray level and second-order gray level, the pixel number of the first rank gray level is 100, the pixel number of second-order gray level is 200, then, the pixel sum not meeting each rank gray level of intercepting condition is 100+200=300.
Preferably, the gray level not meeting intercepting condition is the gray level of pixel number between first threshold and Second Threshold.
Concrete, the gray level meeting intercepting condition is the gray level that pixel number is greater than first threshold, and, pixel number is less than the gray level of Second Threshold, wherein, when first threshold is greater than Second Threshold, utilize as under type determines that each rank meet the gray level of intercepting condition by the pixel number intercepted:
Be greater than the gray level of first threshold for pixel number, determine that the pixel number of this gray level deducts the difference of first threshold gained, as this gray level by the pixel number intercepted.
Be less than the gray level of Second Threshold for pixel number, determine that the pixel number of this gray level deducts the difference of the 3rd threshold value gained, as this gray level by the pixel number intercepted, Second Threshold is greater than the 3rd threshold value.
The embodiment of the present invention, by each threshold value of setting, is determined in the gray level of satisfied intercepting condition by the pixel number intercepted.Concrete, travel through the every rank gray level in this grey level histogram, determine whether the pixel number of this gray level is greater than first threshold, if be greater than first threshold, then determine that the pixel number of this gray level deducts the difference of first threshold gained, can using this difference as this gray level by the pixel number intercepted, if be not more than first threshold, then determine whether the pixel number of this gray level is less than Second Threshold further, if be less than Second Threshold, the pixel number then recording this gray level deducts the difference of the 3rd threshold value gained, can using this difference as this gray level by the pixel number intercepted.Wherein, the 3rd threshold value is less than Second Threshold, and the 3rd threshold value is more than or equal to zero, and preferably, the 3rd threshold value equals zero.The large I of first threshold, Second Threshold and the 3rd threshold value, according to practical application scene settings, does not limit here.
Illustrate and each rank gray level determined is added by the pixel number intercepted, as described grey level histogram by the pixel sum intercepted, such as, the gray level that pixel number is less than Second Threshold has three rank, this three rank gray level is respectively a, b, c by the pixel number intercepted, the gray level that pixel number is greater than first threshold has two rank, this two rank gray level is respectively d, e by the pixel number intercepted, then obtain a, b, c, d and e, and calculating the result of a+b+c+d+e gained, this result is that grey level histogram is by the pixel sum intercepted.
Concrete, following formula can be adopted total by the pixel intercepted according to the pixel number of this gray level, the gray level exponent number not meeting intercepting condition, the pixel sum not meeting each rank gray level of intercepting condition and described grey level histogram, the pixel number of this gray level is upgraded:
wherein, the kth rank gray level in grey level histogram does not meet intercepting condition, H (r
k) represent the pixel number after the renewal that kth rank gray levels is corresponding, h (r
k) represent the pixel number (i.e. h (r of kth rank gray levels
k) represent kth rank gray levels upgrade before pixel number), P1 represents by the pixel sum intercepted, the pixel sum of each rank gray level of P2 sufficient intercepting condition with thumb down, the gray level exponent number of P3 sufficient intercepting condition with thumb down, α and β is respectively and is less than 1 constant being greater than 0.Preferably, described α and β sum be 1,1≤k≤N, N represent gray level exponent number in grey level histogram.
Concrete, after grey level histogram is determined, the exponent number of each rank gray level in grey level histogram can not change, the exponent number of gray level in grey level histogram of satisfied intercepting condition can be recorded, and do not meet the exponent number of gray level in grey level histogram of intercepting condition, such as: the 1st rank gray level in grey level histogram does not meet intercepting condition, then the exponent number of this gray level in grey level histogram is the 1st rank.K in the embodiment of the present invention refers to that the kth rank gray level in grey level histogram does not meet intercepting condition, k is arbitrary gray level not meeting intercepting condition, the gray level not meeting intercepting condition in such as grey level histogram is respectively the 2nd rank, the 6th rank gray level, then k gets 2 and 6 respectively, thus calculates the pixel number of the 2nd rank after upgrading and the 6th rank gray level.
Concrete, the pixel number after upgrading according to each rank gray level in grey level histogram, strengthens described infrared image, specifically comprises:
For the every rank gray level in grey level histogram, the pixel sum that the pixel number after upgrading according to this gray level, described grey level histogram are corresponding and the equalization formula preset, carry out equalization processing to described infrared image.Wherein, the equalization formula preset is:
wherein, x represents the arbitrary rank gray level in grey level histogram, S
xfor carrying out the normalization result after equilibrium to the pixel number in the gray level of xth rank, P4 represents the pixel sum that described grey level histogram is corresponding, H (r
l) represent in grey level histogram l rank gray level and upgrade after pixel number, 1≤x≤N, N represents the gray level exponent number in grey level histogram.
In the embodiment of the present invention, the infrared image after being namely enhanced after equalization processing is carried out to infrared image.
Preferably, be greater than every rank gray level of first threshold for pixel number, the pixel number of this gray level is updated to first threshold; Be less than every rank gray level of Second Threshold for pixel number, the pixel number of this gray level is updated to the 3rd threshold value, and first threshold is greater than Second Threshold, and Second Threshold is greater than the 3rd threshold value.
Concrete, after the pixel number of gray level meeting intercepting condition in grey level histogram and do not meet intercepting condition having been upgraded, according to each rank gray level after the renewal of pixel number, equalization processing is carried out to grey level histogram.Wherein, first threshold, Second Threshold and the 3rd threshold value can be the optimal value of experiment gained, also can set according to actual application environment, do not limit here.In the embodiment of the present invention, be greater than every rank gray level of first threshold for pixel number in grey level histogram, the pixel number of this gray level is reduced to first threshold; Be less than every rank gray level of Second Threshold for pixel number in grey level histogram, the pixel number of this gray level is reduced to the 3rd threshold value, the noise spot in original infrared image can be removed like this, in order to avoid the effect of these noise spot effect diagram image intensifyings.
For each rank gray level not meeting intercepting condition in grey level histogram, the pixel sum that pixel number after upgrading according to this gray level, described grey level histogram are corresponding and the equalization formula preset, equalization processing is carried out to described infrared image, concrete equalization formula can adopt above-mentioned equalization formula, the account form account form corresponding with above-mentioned equalization formula is similar, does not elaborate here.
Below in conjunction with specific embodiment, the infrared image enhancing method that the embodiment of the present invention provides is described in detail, as shown in Figure 2, comprises:
Step 201, the original infrared image exported for infrared eye carries out statistics of histogram.
Step 202, the every rank gray level in traversal grey level histogram, determines the pixel number that every rank gray level is corresponding.
Step 203, is greater than every rank gray level of first threshold, determines that the pixel number of this gray level deducts the difference of first threshold gained, and the pixel number of this gray level is updated to first threshold for pixel number in described grey level histogram.
Step 204, every rank gray level of Second Threshold is less than for pixel number in described grey level histogram, determine that the pixel number of this gray level deducts the difference of the 3rd threshold value gained, and the pixel number of this gray level is updated to the 3rd threshold value, described first threshold is greater than Second Threshold, and Second Threshold is greater than the 3rd threshold value.
The execution sequence of step 203 and step 204 is not limit, and perform step 203, or the two performs simultaneously after also can performing step 204.
Step 205, by each difference value determined, as described grey level histogram by the pixel sum intercepted.
Concrete, by each difference value determined in step 203 and step 204.
Step 206, for the every rank gray level of pixel number between first threshold and Second Threshold, according to the pixel number of this gray level, do not meet intercepting condition gray level exponent number, do not meet the pixel sum of each rank gray level of intercepting condition and described by the pixel sum intercepted, the pixel number of this gray level is upgraded.
Step 207, the pixel number after upgrading according to each rank gray level in grey level histogram, strengthens described infrared image.
Based on the inventive concept same with the infrared image enhancing method that the embodiment of the present invention provides, the embodiment of the present invention also provides a kind of infrared image enhancement device, as shown in Figure 3, comprising:
Statistic unit 301, for adding up the grey level histogram of original infrared image;
First determining unit 302, for for each rank gray level meeting intercepting condition in described grey level histogram, determines that this gray level is by the pixel number intercepted;
Second determining unit 303, for each rank determined gray level being added by the pixel number intercepted, as described grey level histogram by the pixel sum intercepted;
Updating block 304, for for each rank gray level not meeting intercepting condition in described grey level histogram, according to the pixel number of this gray level, do not meet intercepting condition gray level exponent number, do not meet the pixel sum of each rank gray level of intercepting condition and described by the pixel sum intercepted, the pixel number of this gray level is upgraded, and according to the pixel number after renewal, described infrared image is strengthened.
In described device, described updating block adopt following formula according to the pixel number of this gray level, do not meet intercepting condition gray level exponent number, do not meet the pixel sum of each rank gray level of intercepting condition and described by the pixel sum intercepted, the pixel number of this gray level is upgraded:
wherein, the kth rank gray level in grey level histogram does not meet intercepting condition, H (r
k) represent the pixel number after the renewal that kth rank gray levels is corresponding, h (r
k) represent the pixel number of kth rank gray levels, P1 represents by the pixel sum intercepted, the pixel sum of each rank gray level of P2 sufficient intercepting condition with thumb down, the gray level exponent number of P3 sufficient intercepting condition with thumb down, α and β is respectively and is less than 1 constant being greater than 0.
Described device, the gray level meeting intercepting condition is the gray level that pixel number is greater than first threshold, and pixel number is less than the gray level of Second Threshold, and wherein, first threshold is greater than Second Threshold.
In described device, described first determining unit determine this gray level by intercept pixel number time, specifically for:
Be greater than the gray level of first threshold for pixel number, determine that the pixel number of this gray level deducts the difference of first threshold gained, as this gray level by the pixel number intercepted;
Be less than the gray level of Second Threshold for pixel number, determine that the pixel number of this gray level deducts the difference of the 3rd threshold value gained, as this gray level by the pixel number intercepted, Second Threshold is greater than the 3rd threshold value.
In described device, described updating block also for:
Be greater than the gray level of first threshold for pixel number, the pixel number of this gray level is updated to first threshold;
Be less than the gray level of Second Threshold for pixel number, the pixel number of this gray level is updated to the 3rd threshold value, described Second Threshold is greater than the 3rd threshold value.
The infrared image enhancing method utilizing the embodiment of the present invention to provide and device, there is following beneficial effect: for each rank gray level not meeting intercepting condition in grey level histogram, the pixel number of this gray level is upgraded, instead of the preimage vegetarian refreshments number of simple this gray level of use (the pixel number before renewal) strengthens infrared image, can make infrared image enhancement better effects if like this.In addition, the embodiment of the present invention, by being upgraded according to intercepting the pixel number of pixel to the gray level not meeting intercepting condition fallen, also can improve the enhancing effect of infrared image.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.
Claims (10)
1. an infrared image enhancing method, is characterized in that, comprising:
Add up the grey level histogram of original infrared image;
For each rank gray level meeting intercepting condition in described grey level histogram, determine that this gray level is by the pixel number intercepted;
The each rank gray level determined is added by the pixel number intercepted, as described grey level histogram by the pixel sum intercepted;
For each rank gray level not meeting intercepting condition in described grey level histogram, according to the pixel number of this gray level, do not meet intercepting condition gray level exponent number, do not meet the pixel sum of each rank gray level of intercepting condition and described by the pixel sum intercepted, the pixel number of this gray level is upgraded, and according to the pixel number after renewal, described infrared image is strengthened.
2. the method for claim 1, it is characterized in that, according to the pixel number of this gray level, do not meet intercepting condition gray level exponent number, do not meet the pixel sum of each rank gray level of intercepting condition and described by the pixel sum intercepted, the pixel number of this gray level is upgraded, specifically comprises:
wherein, the kth rank gray level in grey level histogram does not meet intercepting condition, H (r
k) represent the pixel number after the renewal that kth rank gray levels is corresponding, h (r
k) represent the pixel number of kth rank gray levels, P1 represents by the pixel sum intercepted, the pixel sum of each rank gray level of P2 sufficient intercepting condition with thumb down, the gray level exponent number of P3 sufficient intercepting condition with thumb down, α and β is respectively and is less than 1 constant being greater than 0.
3. the method for claim 1, is characterized in that, the gray level meeting intercepting condition is the gray level that pixel number is greater than first threshold, and pixel number is less than the gray level of Second Threshold, and wherein, first threshold is greater than Second Threshold.
4. method as claimed in claim 3, is characterized in that, determine that this gray level is by the pixel number intercepted, and specifically comprises:
Be greater than the gray level of first threshold for pixel number, determine that the pixel number of this gray level deducts the difference of first threshold gained, as this gray level by the pixel number intercepted;
Be less than the gray level of Second Threshold for pixel number, determine that the pixel number of this gray level deducts the difference of the 3rd threshold value gained, as this gray level by the pixel number intercepted, Second Threshold is greater than the 3rd threshold value.
5. method as claimed in claim 3, is characterized in that, also comprise:
Be greater than the gray level of first threshold for pixel number, the pixel number of this gray level is updated to first threshold;
Be less than the gray level of Second Threshold for pixel number, the pixel number of this gray level is updated to the 3rd threshold value, described Second Threshold is greater than the 3rd threshold value.
6. an infrared image enhancement device, is characterized in that, comprising:
Statistic unit, for adding up the grey level histogram of original infrared image;
First determining unit, for for each rank gray level meeting intercepting condition in described grey level histogram, determines that this gray level is by the pixel number intercepted;
Second determining unit, for each rank determined gray level being added by the pixel number intercepted, as described grey level histogram by the pixel sum intercepted;
Updating block, for for each rank gray level not meeting intercepting condition in described grey level histogram, according to the pixel number of this gray level, do not meet intercepting condition gray level exponent number, do not meet the pixel sum of each rank gray level of intercepting condition and described by the pixel sum intercepted, the pixel number of this gray level is upgraded, and according to the pixel number after renewal, described infrared image is strengthened.
7. device as claimed in claim 6, it is characterized in that, described updating block adopt following formula according to the pixel number of this gray level, do not meet intercepting condition gray level exponent number, do not meet the pixel sum of each rank gray level of intercepting condition and described by the pixel sum intercepted, the pixel number of this gray level is upgraded:
wherein, the kth rank gray level in grey level histogram does not meet intercepting condition, H (r
k) represent the pixel number after the renewal that kth rank gray levels is corresponding, h (r
k) represent the pixel number of kth rank gray levels, P1 represents by the pixel sum intercepted, the pixel sum of each rank gray level of P2 sufficient intercepting condition with thumb down, the gray level exponent number of P3 sufficient intercepting condition with thumb down, α and β is respectively and is less than 1 constant being greater than 0.
8. device as claimed in claim 6, it is characterized in that, the gray level meeting intercepting condition is the gray level that pixel number is greater than first threshold, and pixel number is less than the gray level of Second Threshold, and wherein, first threshold is greater than Second Threshold.
9. device as claimed in claim 8, is characterized in that, described first determining unit determine this gray level by intercept pixel number time, specifically for:
Be greater than the gray level of first threshold for pixel number, determine that the pixel number of this gray level deducts the difference of first threshold gained, as this gray level by the pixel number intercepted;
Be less than the gray level of Second Threshold for pixel number, determine that the pixel number of this gray level deducts the difference of the 3rd threshold value gained, as this gray level by the pixel number intercepted, Second Threshold is greater than the 3rd threshold value.
10. device as claimed in claim 8, is characterized in that, described updating block also for:
Be greater than the gray level of first threshold for pixel number, the pixel number of this gray level is updated to first threshold;
Be less than the gray level of Second Threshold for pixel number, the pixel number of this gray level is updated to the 3rd threshold value, described Second Threshold is greater than the 3rd threshold value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510795444.3A CN105427256B (en) | 2015-11-18 | 2015-11-18 | A kind of infrared image enhancing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510795444.3A CN105427256B (en) | 2015-11-18 | 2015-11-18 | A kind of infrared image enhancing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105427256A true CN105427256A (en) | 2016-03-23 |
CN105427256B CN105427256B (en) | 2018-06-26 |
Family
ID=55505437
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510795444.3A Active CN105427256B (en) | 2015-11-18 | 2015-11-18 | A kind of infrared image enhancing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105427256B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106934782A (en) * | 2017-01-16 | 2017-07-07 | 中国计量大学 | A kind of infrared image enhancing method |
CN108122217A (en) * | 2016-11-30 | 2018-06-05 | 北京航天计量测试技术研究所 | A kind of real-time infrared image Enhancement Method of adaptive scene |
CN108133463A (en) * | 2017-12-14 | 2018-06-08 | 中国北方车辆研究所 | The noise-reduction method and system of a kind of histogram-equalized image |
CN109493292A (en) * | 2018-10-29 | 2019-03-19 | 平高集团有限公司 | Enhancing treating method and apparatus based on power equipment infrared measurement of temperature image |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040071362A1 (en) * | 2002-07-01 | 2004-04-15 | Xerox Corporation | Page background detection and neutrality on scanned documents |
CN101286231A (en) * | 2008-06-04 | 2008-10-15 | 四川虹微技术有限公司 | Contrast enhancement method for uniformly distributing image brightness |
US20100172575A1 (en) * | 2009-01-07 | 2010-07-08 | Rastislav Lukac | Method Of Detecting Red-Eye Objects In Digital Images Using Color, Structural, And Geometric Characteristics |
US20140348428A1 (en) * | 2013-05-24 | 2014-11-27 | Himax Media Solutions, Inc. | Dynamic range-adjustment apparatuses and methods |
CN104574328A (en) * | 2015-01-06 | 2015-04-29 | 北京环境特性研究所 | Color image enhancement method based on histogram segmentation |
CN104680500A (en) * | 2015-02-07 | 2015-06-03 | 江西科技学院 | Image intensification algorithm based on histogram equalization |
CN104700376A (en) * | 2014-11-25 | 2015-06-10 | 桂林电子科技大学 | Gamma correction and smoothing filtering based image histogram equalization enhancing method |
-
2015
- 2015-11-18 CN CN201510795444.3A patent/CN105427256B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040071362A1 (en) * | 2002-07-01 | 2004-04-15 | Xerox Corporation | Page background detection and neutrality on scanned documents |
CN101286231A (en) * | 2008-06-04 | 2008-10-15 | 四川虹微技术有限公司 | Contrast enhancement method for uniformly distributing image brightness |
US20100172575A1 (en) * | 2009-01-07 | 2010-07-08 | Rastislav Lukac | Method Of Detecting Red-Eye Objects In Digital Images Using Color, Structural, And Geometric Characteristics |
US20140348428A1 (en) * | 2013-05-24 | 2014-11-27 | Himax Media Solutions, Inc. | Dynamic range-adjustment apparatuses and methods |
CN104700376A (en) * | 2014-11-25 | 2015-06-10 | 桂林电子科技大学 | Gamma correction and smoothing filtering based image histogram equalization enhancing method |
CN104574328A (en) * | 2015-01-06 | 2015-04-29 | 北京环境特性研究所 | Color image enhancement method based on histogram segmentation |
CN104680500A (en) * | 2015-02-07 | 2015-06-03 | 江西科技学院 | Image intensification algorithm based on histogram equalization |
Non-Patent Citations (2)
Title |
---|
江开猛等: ""基于灰度直方图的图像增强算法"", 《信阳农业高等专科学校学报》 * |
葛彬: ""基于FPGA的直方图均衡化图像增强方法研究"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108122217A (en) * | 2016-11-30 | 2018-06-05 | 北京航天计量测试技术研究所 | A kind of real-time infrared image Enhancement Method of adaptive scene |
CN108122217B (en) * | 2016-11-30 | 2021-07-20 | 北京航天计量测试技术研究所 | Real-time infrared image enhancement method for self-adaptive scene |
CN106934782A (en) * | 2017-01-16 | 2017-07-07 | 中国计量大学 | A kind of infrared image enhancing method |
CN108133463A (en) * | 2017-12-14 | 2018-06-08 | 中国北方车辆研究所 | The noise-reduction method and system of a kind of histogram-equalized image |
CN108133463B (en) * | 2017-12-14 | 2023-09-29 | 中国北方车辆研究所 | Noise reduction method and system for histogram equalization image |
CN109493292A (en) * | 2018-10-29 | 2019-03-19 | 平高集团有限公司 | Enhancing treating method and apparatus based on power equipment infrared measurement of temperature image |
Also Published As
Publication number | Publication date |
---|---|
CN105427256B (en) | 2018-06-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109886997B (en) | Identification frame determining method and device based on target detection and terminal equipment | |
US8873835B2 (en) | Methods and apparatus for correcting disparity maps using statistical analysis on local neighborhoods | |
CN105427256A (en) | Infrared image enhancement method and device | |
CN109729334B (en) | Method for removing reflection area and eye tracking method and apparatus | |
CN109743473A (en) | Video image 3 D noise-reduction method, computer installation and computer readable storage medium | |
US9519956B2 (en) | Processing stereo images | |
US9478015B2 (en) | Exposure enhancement method and apparatus for a defogged image | |
CN112785507A (en) | Image processing method and device, storage medium and terminal | |
CN112836756B (en) | Image recognition model training method, system and computer equipment | |
US11182942B2 (en) | Map generation system and method for generating an accurate building shadow | |
CN104166968A (en) | Image dehazing method and device and mobile terminal | |
CN115540894B (en) | Vehicle trajectory planning method and device, electronic equipment and computer readable medium | |
CN104038699A (en) | Focusing state prompting method and shooting device | |
CN109214996A (en) | A kind of image processing method and device | |
CN110874853A (en) | Method, device and equipment for determining target motion and storage medium | |
CN110992395A (en) | Image training sample generation method and device and motion tracking method and device | |
KR102245745B1 (en) | Method and apparatus for blurring an image | |
CN105530502A (en) | Method and apparatus for generating disparity map based on image frames photographed by stereo camera | |
US10521918B2 (en) | Method and device for filtering texture, using patch shift | |
CN109284062B (en) | Touch data processing method, device, terminal and medium | |
CN104483712A (en) | Method, device and system for detecting invasion of foreign objects in power transmission line | |
KR20230049231A (en) | Image enhancement method and apparatus | |
CN110689478B (en) | Image stylization processing method and device, electronic equipment and readable medium | |
CN110782415A (en) | Image completion method and device and terminal equipment | |
CN114782450A (en) | Hole filling equipment control method, device, equipment and computer readable medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230823 Address after: Room 201, Building A, Integrated Circuit Design Industrial Park, No. 858, Jianshe 2nd Road, Economic and Technological Development Zone, Xiaoshan District, Hangzhou City, Zhejiang Province, 311215 Patentee after: Zhejiang Huagan Technology Co.,Ltd. Address before: Hangzhou City, Zhejiang province Binjiang District 310053 shore road 1187 Patentee before: ZHEJIANG DAHUA TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right |