CN105427256B - A kind of infrared image enhancing method and device - Google Patents

A kind of infrared image enhancing method and device Download PDF

Info

Publication number
CN105427256B
CN105427256B CN201510795444.3A CN201510795444A CN105427256B CN 105427256 B CN105427256 B CN 105427256B CN 201510795444 A CN201510795444 A CN 201510795444A CN 105427256 B CN105427256 B CN 105427256B
Authority
CN
China
Prior art keywords
gray level
pixel number
pixel
threshold
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.)
Active
Application number
CN201510795444.3A
Other languages
Chinese (zh)
Other versions
CN105427256A (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.)
Zhejiang Huagan Technology Co ltd
Original Assignee
Zhejiang Dahua Technology 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN201510795444.3A priority Critical patent/CN105427256B/en
Publication of CN105427256A publication Critical patent/CN105427256A/en
Application granted granted Critical
Publication of CN105427256B publication Critical patent/CN105427256B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/40Image enhancement or restoration using histogram techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10048Infrared image

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Studio Devices (AREA)

Abstract

The present invention provides a kind of infrared image enhancing method and device, this method include:Count the grey level histogram of original infrared image;For each rank gray level for meeting interception condition in grey level histogram, the pixel number that the gray level is intercepted is determined;The pixel number that determining each rank gray level is intercepted is added, the pixel sum being intercepted as grey level histogram;For each rank gray level that interception condition is unsatisfactory in grey level histogram, according to the pixel number of the gray level, the sum of the gray level exponent number that is unsatisfactory for interception condition, the pixel of each rank gray level for being unsatisfactory for interception condition and the pixel sum being intercepted, the pixel number of the gray level is updated, and according to updated pixel number, infrared image is enhanced.The present invention is updated for the pixel number of each rank gray level for being unsatisfactory for interception condition, can so that infrared image enhancement effect is more preferable.

Description

A kind of infrared image enhancing method and device
Technical field
The present invention relates to technical field of image processing more particularly to a kind of infrared image enhancing methods and device.
Background technology
Infrared imagery technique refers to and the sightless infra-red radiation that target generates is converted into what visible images were shown Technology.Infrared imaging has the advantages of propagation distance is long, can penetrate smog, can work in daytime, night and adverse circumstances, The fields such as infrared guidance, night vision, industrial detection and infrared measurement of temperature are widely used.Since infrared detector utilizes mesh It marks and is imaged with the radiation difference of background, obtained infrared image has the shortcomings that poor contrast, therefore utilizes infrared figure Image intensifying technology enhances the contrast of infrared image.
The infrared image enhancement mode used at present to realize enhancing to infrared image by infrared image balancing technique, Specially:Obtain original infrared image;Using gray level as abscissa, unite per the corresponding pixel number of rank gray level for ordinate Count original image histogram;For every rank gray level in original image histogram, the corresponding original image of the gray level is obtained Pixel number, if the pixel number is more than first threshold, the corresponding pixel number of the gray level is updated to the One threshold value;If the pixel number is less than second threshold, the corresponding pixel number of the gray level is updated to second threshold; If the pixel number is between first threshold and second threshold, the corresponding pixel number of the gray level is constant, that is, root According to the original histogram of original infrared image, first threshold and second threshold, to being corresponded in original histogram per rank gray level Pixel number be updated, updated pixel number H (r corresponding per rank gray levelk) calculation formula it is as follows:
Wherein, k is any gray level inside all gray levels, and L is gray level sum, and T1 is first threshold, T2 the Two threshold values, T1 are more than T2, h (rk) it is the corresponding original image vegetarian refreshments number of kth rank gray level.
But the method for this image enhancement in the range of first threshold and second threshold original image vegetarian refreshments number do not do Any processing so that the corresponding infrared image region in the part, which is difficult to obtain, most directly to enhance, so as to which infrared image be brought to increase The problem of potent fruit is poor.
Invention content
The present invention provides a kind of infrared image enhancing method and device, to solve the infrared image enhancement side of the prior art The problem of infrared image enhancement effect is poor caused by formula.
A kind of infrared image enhancing method, including:
Count the grey level histogram of original infrared image;
For each rank gray level for meeting interception condition in the grey level histogram, the pixel that the gray level is intercepted is determined Point number;
The pixel number that determining each rank gray level is intercepted is added, the picture being intercepted as the grey level histogram Vegetarian refreshments sum;
For each rank gray level that interception condition is unsatisfactory in the grey level histogram, according to the pixel of the gray level Number, the gray level exponent number for being unsatisfactory for interception condition, the sum of pixel of each rank gray level for being unsatisfactory for interception condition and described The pixel sum being intercepted, is updated the pixel number of the gray level, and according to updated pixel number, right The infrared image is enhanced.
In the method, according to the pixel number of the gray level, the gray level exponent number that is unsatisfactory for interception condition, it is unsatisfactory for The sum of pixel of each rank gray level of interception condition and the pixel sum being intercepted, to the pixel of the gray level Number is updated, and is specifically included:
Wherein, the kth rank gray level in grey level histogram is unsatisfactory for Interception condition, H (rk) represent the corresponding updated pixel number of kth rank gray level, h (rk) represent kth rank gray level picture Vegetarian refreshments number, P1 expression be intercepted pixel sum, P2 it is with thumb down foot interception condition each rank gray level pixel it With, the gray level exponent number of P3 foot interception conditions with thumb down, the constant of α and β respectively less than 1 more than 0.
In the method, meet the gray level of interception condition for pixel number be more than first threshold gray level and, Pixel number is less than the gray level of second threshold, wherein, first threshold is more than second threshold.
The method determines the pixel number that the gray level is intercepted, specifically includes:
It is more than the gray level of first threshold for pixel number, determines that the pixel number of the gray level subtracts the first threshold It is worth the difference of gained, the pixel number being intercepted as the gray level;
It is less than the gray level of second threshold for pixel number, determines that the pixel number of the gray level subtracts third threshold It is worth the difference of gained, as the pixel number that the gray level is intercepted, second threshold is more than third threshold value.
The embodiment of the present invention is by setting each threshold value, the pixel that is intercepted in the gray level for determining to meet interception condition Number.
The method further includes:
It is more than the gray level of first threshold for pixel number, the pixel number of the gray level is updated to the first threshold Value;
It is less than the gray level of second threshold for pixel number, the pixel number of the gray level is updated to third threshold Value, the second threshold are more than third threshold value.
In the embodiment of the present invention, every rank gray level of first threshold is more than for pixel number in grey level histogram, it will The pixel number of the gray level is reduced to first threshold;It is less than the every of second threshold for pixel number in grey level histogram The pixel number of the gray level is reduced to third threshold value, can remove making an uproar in original infrared image in this way by rank gray level Sound point, in case these noise spots influence the effect of image enhancement.
The present invention also provides a kind of infrared image enhancement device, including:
Statistic unit, for counting the grey level histogram of original infrared image;
First determination unit, for being directed to each rank gray level for meeting interception condition in the grey level histogram, determining should The pixel number that gray level is intercepted;
Second determination unit, the pixel number for each rank gray level determined to be intercepted is added, as the ash The pixel sum that degree histogram is intercepted;
Updating unit, for being directed to each rank gray level that interception condition is unsatisfactory in the grey level histogram, according to the ash Spend grade pixel number, be unsatisfactory for interception condition gray level exponent number, be unsatisfactory for interception condition each rank gray level pixel Point the sum of and it is described be intercepted pixel sum, the pixel number of the gray level is updated, and according to update after Pixel number, the infrared image is enhanced.
In described device, the updating unit using equation below according to the pixel number of the gray level, be unsatisfactory for cutting Take the sum of the gray level exponent number of condition, the pixel of each rank gray level for being unsatisfactory for interception condition and the pixel being intercepted Point sum, is updated the pixel number of the gray level:
Wherein, the kth rank gray level in grey level histogram is unsatisfactory for Interception condition, H (rk) represent the corresponding updated pixel number of kth rank gray level, h (rk) represent kth rank gray level picture Vegetarian refreshments number, P1 expression be intercepted pixel sum, P2 it is with thumb down foot interception condition each rank gray level pixel it With, the gray level exponent number of P3 foot interception conditions with thumb down, the constant of α and β respectively less than 1 more than 0.
Described device, meet the gray level of interception condition for pixel number be more than first threshold gray level and, as Vegetarian refreshments number is less than the gray level of second threshold, wherein, first threshold is more than second threshold.
In described device, first determination unit is specific to use when determining pixel number that the gray level is intercepted In:
It is more than the gray level of first threshold for pixel number, determines that the pixel number of the gray level subtracts the first threshold It is worth the difference of gained, the pixel number being intercepted as the gray level;
It is less than the gray level of second threshold for pixel number, determines that the pixel number of the gray level subtracts third threshold It is worth the difference of gained, as the pixel number that the gray level is intercepted, second threshold is more than third threshold value.
In described device, the updating unit is additionally operable to:
It is more than the gray level of first threshold for pixel number, the pixel number of the gray level is updated to the first threshold Value;
It is less than the gray level of second threshold for pixel number, the pixel number of the gray level is updated to third threshold Value, the second threshold are more than third threshold value.
Using infrared image enhancing method provided in an embodiment of the present invention and device, have the advantages that:For ash Each rank gray level of interception condition is unsatisfactory in degree histogram, the pixel number of the gray level is updated rather than single The preimage vegetarian refreshments number (the pixel number before update) of the pure use gray level enhances infrared image, in this way can be with So that infrared image enhancement effect is more preferable.In addition, the embodiment of the present invention by according to the pixel that is intercepted to being unsatisfactory for cutting The pixel number of the gray level of condition is taken to be updated, can also improve the enhancing effect of infrared image.
Description of the drawings
Fig. 1 is infrared image enhancing method flow chart provided in an embodiment of the present invention;
Fig. 2 is infrared image enhancing method specific implementation process flow chart provided in an embodiment of the present invention;
Fig. 3 is infrared image enhancement schematic device provided in an embodiment of the present invention.
Specific embodiment
Infrared image enhancing method provided by the invention and device are carried out in more detail with reference to the accompanying drawings and examples Explanation.
The embodiment of the present invention provides a kind of infrared image enhancing method, as shown in Figure 1, including:
Step 101, the grey level histogram of original infrared image is counted.
Specifically, in obtained grey level histogram, abscissa represents different gray levels, and ordinate represents pixel Number, the grey level histogram of obtained infrared image have reacted the pixel number of the different grey-scale of the infrared image, i.e., per rank Gray level corresponds to a certain number of pixel.Statistics of histogram method is the prior art, is not set forth in detail here.
Step 102, for each rank gray level for meeting interception condition in the grey level histogram, determine that the gray level is cut The pixel number taken.
Specifically, for the gray level for meeting interception condition, the one part of pixel point in the gray level is intercepted, and determines to be somebody's turn to do The pixel number that gray level is intercepted.Preferably, the gray level for meeting interception condition is more than the first threshold for pixel number The gray level of value and, pixel number be less than second threshold gray level, wherein, first threshold be more than second threshold.
Step 103, the pixel number determining each rank gray level being intercepted is added, as the grey level histogram quilt The pixel sum of interception.
It is added specifically, each rank is met the pixel number that the gray level of interception condition is intercepted, as this The pixel sum that grey level histogram is intercepted.
Step 104, for each rank gray level that interception condition is unsatisfactory in the grey level histogram, according to the gray level The sum of pixel number, the gray level exponent number for being unsatisfactory for interception condition, the pixel of each rank gray level for being unsatisfactory for interception condition And the pixel sum being intercepted, the pixel number of the gray level is updated, and according to updated pixel Point number, enhances the infrared image.
Specifically, for each rank gray level that interception condition is unsatisfactory in grey level histogram, to the pixel of the gray level Number is updated rather than the preimage vegetarian refreshments number (the pixel number before update) of the simple use gray level is to infrared Image is enhanced, and can cause that infrared image enhancement effect is more preferable in this way.In addition, the embodiment of the present invention is intercepted by basis The pixel fallen is updated the pixel number for being unsatisfactory for the gray level of interception condition, can also improve the increasing of infrared image Potent fruit.
The calculation for being unsatisfactory for the sum of the pixel of each rank gray level of interception condition is illustrated, for example, being unsatisfactory for The gray level of interception condition is the first rank gray level and second-order gray level, and the pixel number of the first rank gray level is 100, the The pixel number of second order gray level is 200, then, is unsatisfactory for the sum of pixel of each rank gray level of interception condition as 100+ 200=300.
Preferably, the gray level for being unsatisfactory for interception condition is ash of the pixel number between first threshold and second threshold Spend grade.
Specifically, meet the gray level of interception condition for pixel number be more than first threshold gray level and, pixel Point number is less than the gray level of second threshold, wherein, when first threshold is more than second threshold, determine that each rank is expired using following manner The pixel number that the gray level of foot interception condition is intercepted:
It is more than the gray level of first threshold for pixel number, determines that the pixel number of the gray level subtracts the first threshold It is worth the difference of gained, the pixel number being intercepted as the gray level.
It is less than the gray level of second threshold for pixel number, determines that the pixel number of the gray level subtracts third threshold It is worth the difference of gained, as the pixel number that the gray level is intercepted, second threshold is more than third threshold value.
The embodiment of the present invention is by setting each threshold value, the pixel that is intercepted in the gray level for determining to meet interception condition Number.Specifically, traverse every rank gray level in the grey level histogram, determine whether the pixel number of the gray level is more than the One threshold value, if greater than first threshold, it is determined that the pixel number of the gray level subtracts the difference obtained by first threshold, can incite somebody to action If the pixel number that the difference is intercepted as the gray level no more than first threshold, further determines that and determines the ash Whether the pixel number for spending grade is less than second threshold, if less than second threshold, then records the pixel number of the gray level The difference obtained by third threshold value is subtracted, the pixel number which can be intercepted as the gray level.Wherein, third threshold value Less than second threshold, also, third threshold value is greater than or equal to zero, it is preferable that third threshold value is equal to zero.First threshold, the second threshold The size of value and third threshold value can be set according to practical application scene, not limited here.
It illustrates the pixel number for being intercepted determining each rank gray level to be added, as the grey level histogram quilt The pixel sum of interception, for example, the gray level that pixel number is less than second threshold has three ranks, this three ranks gray level is intercepted Pixel number be respectively a, b, c, the gray level that pixel number is more than first threshold has two ranks, this two ranks gray level is cut The pixel number taken is respectively d, e, then obtains a, b, c, d and e, and calculates obtained by a+b+c+d+e as a result, the result is The pixel sum that grey level histogram is intercepted.
Specifically, can be used equation below according to the pixel number of the gray level, be unsatisfactory for the gray level of interception condition The pixel that the sum of exponent number, the pixel of each rank gray level for being unsatisfactory for interception condition and the grey level histogram are intercepted is total Number, is updated the pixel number of the gray level:
Wherein, the kth rank gray level in grey level histogram is unsatisfactory for Interception condition, H (rk) represent the corresponding updated pixel number of kth rank gray level, h (rk) represent kth rank gray level picture Vegetarian refreshments number (i.e. h (rk) represent the pixel number before the update of kth rank gray level), the pixel sum that P1 expressions are intercepted, The sum of pixel of each rank gray level of P2 foot interception conditions with thumb down, the gray level rank of P3 foot interception conditions with thumb down Number, α and β are respectively to be less than 1 constant for being more than 0.Preferably, the sum of described α and β is 1, and 1≤k≤N, N represent grey level histogram In gray level exponent number.
Specifically, after grey level histogram determines, exponent number of each rank gray level in grey level histogram will not change, and can record Meet exponent number of the gray level of interception condition in grey level histogram and be unsatisfactory for the gray level of interception condition in intensity histogram Exponent number in figure, such as:The 1st rank gray level in grey level histogram is unsatisfactory for interception condition, then the gray level is in intensity histogram Exponent number in figure is the 1st rank.The kth rank gray level that k in the embodiment of the present invention refers in grey level histogram is unsatisfactory for interception condition, K is any gray level for being unsatisfactory for interception condition, for example it is respectively the 2nd that the gray level of interception condition is unsatisfactory in grey level histogram Rank, the 6th rank gray level, then k take 2 and 6 respectively, so as to calculate the pixel number of updated 2nd rank and the 6th rank gray level.
Specifically, according to the updated pixel number of rank gray level each in grey level histogram, to the infrared image into Row enhancing, specifically includes:
For every rank gray level in grey level histogram, according to the updated pixel number of the gray level, the gray scale The corresponding pixel sum of histogram and preset equalization formula, equalization processing is carried out to the infrared image.Wherein, It is preset equalization formula be:
Wherein, x represents any rank gray level in grey level histogram, SxFor in xth rank gray level Pixel number carry out it is balanced after normalization as a result, P4 represents the corresponding pixel sum of the grey level histogram, H (rl) Represent the updated pixel number of l rank gray levels in grey level histogram, 1≤x≤N, N represent the ash in grey level histogram Spend grade exponent number.
In the embodiment of the present invention, enhanced infrared image is obtained after equalization processing is carried out to infrared image.
Preferably, every rank gray level of first threshold is more than for pixel number, by the pixel number of the gray level It is updated to first threshold;It is less than every rank gray level of second threshold for pixel number, by the pixel number of the gray level Third threshold value is updated to, first threshold is more than second threshold, and second threshold is more than third threshold value.
Specifically, by meet interception condition in grey level histogram and be unsatisfactory for interception condition gray level pixel After the completion of number update, equalization processing is carried out to grey level histogram according to the updated each rank gray level of pixel number.Wherein, First threshold, second threshold and third threshold value can be the optimal value of experiment gained, can also be set according to actual application environment It is fixed, it does not limit here.In the embodiment of the present invention, every rank ash of first threshold is more than for pixel number in grey level histogram Grade is spent, the pixel number of the gray level is reduced to first threshold;It is less than second for pixel number in grey level histogram The pixel number of the gray level is reduced to third threshold value, can remove original infrared figure in this way by every rank gray level of threshold value Noise spot as in, in case these noise spots influence the effect of image enhancement.
For each rank gray level that interception condition is unsatisfactory in grey level histogram, according to the updated pixel of the gray level The corresponding pixel sum of number, the grey level histogram and preset equalization formula, carry out the infrared image equal Above-mentioned equalization formula can be used in weighing apparatusization processing, the specific formula that equalizes, and calculation is corresponding with above-mentioned equalization formula Calculation is similar, is not set forth in detail here.
Infrared image enhancing method provided in an embodiment of the present invention is described in detail with reference to specific embodiment, such as Shown in Fig. 2, including:
Step 201, statistics of histogram is carried out for the original infrared image of infrared detector output.
Step 202, every rank gray level in grey level histogram is traversed, is determined per the corresponding pixel number of rank gray level.
Step 203, every rank gray level of first threshold is more than for pixel number in the grey level histogram, determining should The pixel number of gray level subtracts the difference obtained by first threshold, and the pixel number of the gray level is updated to the first threshold Value.
Step 204, every rank gray level of second threshold is less than for pixel number in the grey level histogram, determining should The pixel number of gray level subtracts the difference obtained by third threshold value, and the pixel number of the gray level is updated to third threshold Value, the first threshold are more than second threshold, and second threshold is more than third threshold value.
The execution sequence of step 203 and step 204 is unlimited, and step 203 or the two are performed after also can perform step 204 It is performed simultaneously.
Step 205, by determining each difference value, the pixel sum being intercepted as the grey level histogram.
Specifically, each difference value that will be determined in step 203 and step 204.
Step 206, every rank gray level for pixel number between first threshold and second threshold, according to the gray scale Grade pixel number, be unsatisfactory for interception condition gray level exponent number, be unsatisfactory for interception condition each rank gray level pixel The sum of and it is described be intercepted pixel sum, the pixel number of the gray level is updated.
Step 207, according to the updated pixel number of rank gray level each in grey level histogram, to the infrared image into Row enhancing.
Based on the same inventive concept of infrared image enhancing method provided in an embodiment of the present invention, the embodiment of the present invention is also A kind of infrared image enhancement device is provided, as shown in figure 3, including:
Statistic unit 301, for counting the grey level histogram of original infrared image;
First determination unit 302 for being directed to each rank gray level for meeting interception condition in the grey level histogram, determines The pixel number that the gray level is intercepted;
Second determination unit 303, the pixel number for each rank gray level determined to be intercepted is added, as described The pixel sum that grey level histogram is intercepted;
Updating unit 304, for being directed to each rank gray level that interception condition is unsatisfactory in the grey level histogram, according to this The pixel number of gray level, the gray level exponent number for being unsatisfactory for interception condition, be unsatisfactory for interception condition each rank gray level picture The sum of vegetarian refreshments and the pixel sum being intercepted, are updated, and according to update the pixel number of the gray level Pixel number afterwards, enhances the infrared image.
In described device, the updating unit using equation below according to the pixel number of the gray level, be unsatisfactory for cutting Take the sum of the gray level exponent number of condition, the pixel of each rank gray level for being unsatisfactory for interception condition and the pixel being intercepted Point sum, is updated the pixel number of the gray level:
Wherein, the kth rank gray level in grey level histogram is unsatisfactory for Interception condition, H (rk) represent the corresponding updated pixel number of kth rank gray level, h (rk) represent kth rank gray level picture Vegetarian refreshments number, P1 expression be intercepted pixel sum, P2 it is with thumb down foot interception condition each rank gray level pixel it With, the gray level exponent number of P3 foot interception conditions with thumb down, the constant of α and β respectively less than 1 more than 0.
Described device, meet the gray level of interception condition for pixel number be more than first threshold gray level and, as Vegetarian refreshments number is less than the gray level of second threshold, wherein, first threshold is more than second threshold.
In described device, first determination unit is specific to use when determining pixel number that the gray level is intercepted In:
It is more than the gray level of first threshold for pixel number, determines that the pixel number of the gray level subtracts the first threshold It is worth the difference of gained, the pixel number being intercepted as the gray level;
It is less than the gray level of second threshold for pixel number, determines that the pixel number of the gray level subtracts third threshold It is worth the difference of gained, as the pixel number that the gray level is intercepted, second threshold is more than third threshold value.
In described device, the updating unit is additionally operable to:
It is more than the gray level of first threshold for pixel number, the pixel number of the gray level is updated to the first threshold Value;
It is less than the gray level of second threshold for pixel number, the pixel number of the gray level is updated to third threshold Value, the second threshold are more than third threshold value.
Using infrared image enhancing method provided in an embodiment of the present invention and device, have the advantages that:For ash Each rank gray level of interception condition is unsatisfactory in degree histogram, the pixel number of the gray level is updated rather than single The preimage vegetarian refreshments number (the pixel number before update) of the pure use gray level enhances infrared image, in this way can be with So that infrared image enhancement effect is more preferable.In addition, the embodiment of the present invention by according to the pixel that is intercepted to being unsatisfactory for cutting The pixel number of the gray level of condition is taken to be updated, can also improve the enhancing effect of infrared image.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real The device of function specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps are performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then additional changes and modifications may be made to these embodiments.So appended claims be intended to be construed to include it is excellent It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (8)

1. a kind of infrared image enhancing method, which is characterized in that including:
Count the grey level histogram of original infrared image;
For each rank gray level for meeting interception condition in the grey level histogram, the pixel that the gray level is intercepted is determined Number;
The pixel number that determining each rank gray level is intercepted is added, the pixel being intercepted as the grey level histogram Sum;
For each rank gray level that interception condition is unsatisfactory in the grey level histogram, according to the pixel number of the gray level, It is unsatisfactory for the sum of the gray level exponent number of interception condition, the pixel of each rank gray level for being unsatisfactory for interception condition and described is cut The pixel sum taken, is updated the pixel number of the gray level, and according to updated pixel number, to described Infrared image is enhanced;
Wherein, according to the pixel number of the gray level, the gray level exponent number that is unsatisfactory for interception condition, be unsatisfactory for interception condition The sum of pixel of each rank gray level and the pixel sum being intercepted, carry out more the pixel number of the gray level Newly, it specifically includes:
Wherein, the kth rank gray level in grey level histogram is unsatisfactory for interception item Part, H (rk) represent the corresponding updated pixel number of kth rank gray level, h (rk) represent that the pixel of kth rank gray level is a The sum of number, the pixel sum that P1 expressions are intercepted, pixel of each rank gray level of P2 foot interception conditions with thumb down, P3 tables Show the gray level exponent number for being unsatisfactory for interception condition, α and β are respectively to be less than 1 constant for being more than 0.
2. the method as described in claim 1, which is characterized in that meet the gray level of interception condition and be more than for pixel number The gray level of one threshold value and, pixel number be less than second threshold gray level, wherein, first threshold be more than second threshold.
3. method as claimed in claim 2, which is characterized in that determine the pixel number that the gray level is intercepted, it is specific to wrap It includes:
It is more than the gray level of first threshold for pixel number, determines that the pixel number of the gray level subtracts first threshold institute The difference obtained, the pixel number being intercepted as the gray level;
It is less than the gray level of second threshold for pixel number, determines that the pixel number of the gray level subtracts third threshold value institute The difference obtained, as the pixel number that the gray level is intercepted, second threshold is more than third threshold value.
4. method as claimed in claim 2, which is characterized in that further include:
It is more than the gray level of first threshold for pixel number, the pixel number of the gray level is updated to first threshold;
It is less than the gray level of second threshold for pixel number, the pixel number of the gray level is updated to third threshold value, The second threshold is more than third threshold value.
5. a kind of infrared image enhancement device, which is characterized in that including:
Statistic unit, for counting the grey level histogram of original infrared image;
First determination unit for being directed to each rank gray level for meeting interception condition in the grey level histogram, determines the gray scale The pixel number that grade is intercepted;
Second determination unit, the pixel number for each rank gray level determined to be intercepted is added, straight as the gray scale The pixel sum that square figure is intercepted;
Updating unit, for being directed to each rank gray level that interception condition is unsatisfactory in the grey level histogram, according to the gray level Pixel number, be unsatisfactory for interception condition gray level exponent number, be unsatisfactory for interception condition each rank gray level pixel it With and it is described be intercepted pixel sum, the pixel number of the gray level is updated, and according to updated picture Vegetarian refreshments number enhances the infrared image;
Wherein, the updating unit using equation below according to the pixel number of the gray level, be unsatisfactory for the ash of interception condition The sum of degree grade exponent number, the pixel of each rank gray level for being unsatisfactory for interception condition and the pixel sum being intercepted, it is right The pixel number of the gray level is updated:
Wherein, the kth rank gray level in grey level histogram is unsatisfactory for interception item Part, H (rk) represent the corresponding updated pixel number of kth rank gray level, h (rk) represent that the pixel of kth rank gray level is a The sum of number, the pixel sum that P1 expressions are intercepted, pixel of each rank gray level of P2 foot interception conditions with thumb down, P3 tables Show the gray level exponent number for being unsatisfactory for interception condition, α and β are respectively to be less than 1 constant for being more than 0.
6. device as claimed in claim 5, which is characterized in that meet the gray level of interception condition and be more than for pixel number The gray level of one threshold value and, pixel number be less than second threshold gray level, wherein, first threshold be more than second threshold.
7. device as claimed in claim 6, which is characterized in that first determination unit is determining what the gray level was intercepted During pixel number, it is specifically used for:
It is more than the gray level of first threshold for pixel number, determines that the pixel number of the gray level subtracts first threshold institute The difference obtained, the pixel number being intercepted as the gray level;
It is less than the gray level of second threshold for pixel number, determines that the pixel number of the gray level subtracts third threshold value institute The difference obtained, as the pixel number that the gray level is intercepted, second threshold is more than third threshold value.
8. device as claimed in claim 6, which is characterized in that the updating unit is additionally operable to:
It is more than the gray level of first threshold for pixel number, the pixel number of the gray level is updated to first threshold;
It is less than the gray level of second threshold for pixel number, the pixel number of the gray level is updated to third threshold value, The second threshold is more than third threshold value.
CN201510795444.3A 2015-11-18 2015-11-18 A kind of infrared image enhancing method and device Active CN105427256B (en)

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 CN105427256A (en) 2016-03-23
CN105427256B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN108133463B (en) * 2017-12-14 2023-09-29 中国北方车辆研究所 Noise reduction method and system for histogram equalization image
CN109493292B (en) * 2018-10-29 2021-12-17 平高集团有限公司 Enhancement processing method and device based on infrared temperature measurement image of power equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286231A (en) * 2008-06-04 2008-10-15 四川虹微技术有限公司 Contrast enhancement method for uniformly distributing image brightness
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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7236641B2 (en) * 2002-07-01 2007-06-26 Xerox Corporation Page background detection and neutrality on scanned documents
US8295593B2 (en) * 2009-01-07 2012-10-23 Seiko Epson Corporation 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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286231A (en) * 2008-06-04 2008-10-15 四川虹微技术有限公司 Contrast enhancement method for uniformly distributing image brightness
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)

* Cited by examiner, † Cited by third party
Title
"基于FPGA的直方图均衡化图像增强方法研究";葛彬;《中国优秀硕士学位论文全文数据库 信息科技辑》;20130615(第6期);论文第11-18页 *
"基于灰度直方图的图像增强算法";江开猛等;《信阳农业高等专科学校学报》;20050930;第15卷(第3期);论文第100-102页 *

Also Published As

Publication number Publication date
CN105427256A (en) 2016-03-23

Similar Documents

Publication Publication Date Title
CN105427256B (en) A kind of infrared image enhancing method and device
US10430944B2 (en) Image processing apparatus, image processing method, and program
US20170301093A1 (en) Image processing apparatus, image processing method, and storage medium
CN107408296B (en) Real-time noise for high dynamic range images is eliminated and the method and system of image enhancement
Brambilla et al. QCD static energy at next-to-next-to-next-to leading-logarithmic accuracy
CN107578430B (en) Stereo matching method based on self-adaptive weight and local entropy
US10692215B2 (en) Image processing apparatus, image processing method, and storage medium
JP2019061577A (en) Abnormality determination method and program
CN109636745B (en) Optimal order image enhancement method based on fractional order differential image enhancement algorithm
CN106127729A (en) A kind of picture noise level estimation method based on gradient
CN109903245B (en) Non-uniform correction method for infrared image
CN109493292B (en) Enhancement processing method and device based on infrared temperature measurement image of power equipment
JP2019020778A5 (en)
TWI558211B (en) Image processing method and device
KR101970562B1 (en) Device for correcting depth map of three dimensional image and method for correcting the same
JP6425396B2 (en) Image processing apparatus, image processing method and program
JP6359985B2 (en) Depth estimation model generation device and depth estimation device
CN109300154A (en) A kind of distance measuring method and device based on binocular solid
US20130259356A1 (en) Method For Reducing Direct Hit Artifacts And X-Ray Facility
CN102346909B (en) Image noise intensity processing method
CN106127700B (en) One kind staring infrared degraded image adaptive restoration method
US9143658B2 (en) Image processing apparatus and processing method thereof
CN108022429B (en) Vehicle detection method and device
Md et al. Multiscale-ssim index based stereoscopic image quality assessment
CN104952041A (en) Image filtering method and image filtering device

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
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.