CN104392423A - Real-time balance based infrared image detail enhancement algorithm - Google Patents

Real-time balance based infrared image detail enhancement algorithm Download PDF

Info

Publication number
CN104392423A
CN104392423A CN201410704423.1A CN201410704423A CN104392423A CN 104392423 A CN104392423 A CN 104392423A CN 201410704423 A CN201410704423 A CN 201410704423A CN 104392423 A CN104392423 A CN 104392423A
Authority
CN
China
Prior art keywords
prime
infrared image
detail enhancement
image detail
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410704423.1A
Other languages
Chinese (zh)
Inventor
黄红友
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZHEJIANG HONGXIANG TECHNOLOGY Co Ltd
Original Assignee
ZHEJIANG HONGXIANG 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 HONGXIANG TECHNOLOGY Co Ltd filed Critical ZHEJIANG HONGXIANG TECHNOLOGY Co Ltd
Priority to CN201410704423.1A priority Critical patent/CN104392423A/en
Publication of CN104392423A publication Critical patent/CN104392423A/en
Pending legal-status Critical Current

Links

Landscapes

  • Picture Signal Circuits (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Image Processing (AREA)

Abstract

The invention provides a real-time balance based infrared image detail enhancement algorithm aiming at characteristics that the infrared image gray level is concentrated in distribution and low in contrast ratio. The real-time balance based infrared image detail enhancement algorithm avoids details from losing during high-dynamic-range compression, overcomes the defects that a traditional histogram equalization algorithm is excessively large in noise and suddenly changed in brightness and dynamically combines a traditional gray level enhancement algorithm. Verification in FPGA hardware platform shows that the real-time balance based infrared image detail enhancement algorithm is good in contrast ratio and timeliness and meanwhile highlights the details.

Description

Based on real time equaliser infrared image detail enhancement algorithms
Technical field
The present invention relates to infrared imagery technique field, especially a kind of based on real time equaliser infrared image detail enhancement algorithms.
Background technology
Present high-performance thermal infrared imager can the very large raw image data (12 ~ 14bit) of out-put dynamic range, exceeds the dynamic range (0 ~ 8bit) of general display device.When after the original image obtaining great dynamic range, must remap, by its dynamic range compression so that display.Process means conventional at present comprise contrast strengthen, automatic growth control and histogram equalization process.
Infrared image mostly for low dynamic range echograms data, and only considers the application in real-time system to comparison Enhancement Method.Contrast improvement strengthens with details should be just more meaningful for original high dynamic range.Because sampled in the original image signal that obtains by A/D include most complete information in scene, and there is many faint detailed information.
Automatic growth control and histogram equalization are most popular image display technologies in infrared imaging system, first automatic growth control rejects the extremum in scene, then by the dynamic range linear mapping of entirety to 8, this compression roughly will inevitably cause the loss of a large amount of minor detail.The grayscale mapping function of image is adopted the cumulative distribution function of original image by histogram equalization, be similar to meet by the pixel distribution of image after histogram equalization and be uniformly distributed, so histogram equalization emphasizes the gray level that the frequency of occurrences is larger more, inevitably there is enhancing in the image through histogram equalization, homogeneous area noise amplifies the problems such as bleaching effect.
Consider the deficiency of automatic growth control and histogram equalizing method, many more complicated methods are suggested as Retinex4, but these methods are mainly for visible images.Namely for visible images, there is good effect, and to infrared image poor effect, the particularly problem of noise amplification, algorithm based on layered shaping framework can obtain reasonable effect in these class methods, its main thought is that image is divided into levels of detail and Primary layer, then processed respectively, but the ideal operand of the method effect is large and easily produce gradient flop phenomenon.
Summary of the invention
The present invention will solve the shortcoming of above-mentioned prior art, provide a kind of have good contrast and timeliness based on real time equaliser infrared image detail enhancement algorithms.
The present invention solves the technical scheme that its technical matters adopts: this based on real time equaliser infrared image detail enhancement algorithms, first linear mapping is adopted by original 14 replacement response to 10, and utilize quick bilateral filtering for image smoothing, squelch, detail extraction, then process in two steps in 10 bit data, the first step adopts linear contrast to strengthen and 10 infrared images is mapped to 8 bit image Img1; Second step adopts the plateau equalization improved that 10 bit images are mapped to 8 Img2; The weights of map image Img1 and Img2 are dynamically determined again according to the grey level range of input picture; Finally with the weights determined, Img1, Img2 are merged, obtain the image that final details strengthens.
As preferably, described quick bilateral filtering process in the following ways:
I bf ( i , j ) = 1 k ( i , j ) Σ ( i ′ , j ′ ) ∈ s i , j g s ( i - i ′ , j - j ′ ) g r ( I in ( i , j ) - I in ( i ′ , j ′ ) ) I in ( i ′ , j ′ )
Wherein, k (i, j) is normalization coefficient, g sfor spatial domain standard gaussian kernel function, g rfor intensity domain standard gaussian kernel function, I infor input picture,
g s = e - | ( i - i ′ ) 2 + ( j - j ′ ) 2 | 2 δ s 2 , g r = e - | ( I in ( i , j ) - I in ( i ′ , j ′ ) ) 2 | 2 δ r 2
Wherein g sfirst time Gauss's computing, according to formwork calculation space weight, available similar integer approximation, δ sget the integer between [5,24];
G rsecond time Gauss computing, calculate weight according to field similarity, can adopt look-up table to realize herein, look-up table scope is [0, Max-Min], δ rget integer between [15,25].
As preferably, the linear contrast of described improvement strengthens in the following ways: after carrying out statistics with histogram to input picture, respectively from minimum and most high grade grey level, abandon several number of pixels, then grey scale mapping scope is obtained for [Hist_min, Hist_max], then by this grey scale mapping in [20,240] that are applicable to eye-observation.
As preferably, the plateau equalization of described improvement in the following ways:
In formula, R is the tonal range of output image, can according to image dynamic conditioning.
rangeHist is input picture grey level range, and the maximal value of R is 255.
Inventing useful effect is: the loss of details when this algorithm avoids high dynamic range compression, overcome the shortcoming of the excessive and jump in brightness of traditional histogram equalization algorithm noise, and the traditional gray level of dynamic bind strengthens algorithm.By verifying on FPGA hardware platform, show that this algorithm is while outstanding details, has good contrast and timeliness.
Embodiment
Embodiment:
One, algorithm content:
1) adopt linear mapping by original 14 replacement response to 10, and utilize quick bilateral filtering process, obtain image Img; 2) adopt improvement linear mapping Img to 8, obtain image Img1;
3) adopt platform improving Histogram Mapping Img to 8, obtain image Img2;
4) Img1 and Img2 is merged with formula Img_out=0.5*Img1+0.5*Img2.
Two, quick two-sided filter:
Effect: the bilateral filtering after improveing for the ease of hardware implementing.
Algorithm: utilize look-up table to reduce calculated amount.
I bf ( i , j ) = 1 k ( i , j ) Σ ( i ′ , j ′ ) ∈ s i , j g s ( i - i ′ , j - j ′ ) g r ( I in ( i , j ) - I in ( i ′ , j ′ ) ) I in ( i ′ , j ′ )
Wherein, k (i, j) is normalization coefficient, g sfor spatial domain standard gaussian kernel function, g rfor intensity domain standard gaussian kernel function, I infor input picture,
g s = e - | ( i - i ′ ) 2 + ( j - j ′ ) 2 | 2 δ s 2 , g r = e - | ( I in ( i , j ) - I in ( i ′ , j ′ ) ) 2 | 2 δ r 2
Wherein g sfirst time Gauss's computing, according to formwork calculation space weight, available similar integer approximation, δ sget the integer between [5,24];
G rsecond time Gauss computing, calculate weight according to field similarity, can adopt look-up table to realize herein, look-up table scope is [0, Max-Min], δ rget integer between [15,25].
Three, look-up tables'implementation:
If current maximum is 1023, look-up table length is 1024,
Lut=zeros(Max,1);
for x=1:Max
cc=-(x*x/(2*sigma_r*sigma_r))^2;
Lut(x)=round(exp(cc)*10000);
end
First amplify 10000 times, retain the difference between data, again divided by 10000 during computing, index is the absolute value of current pixel and field pixel difference.The template of Gauss can adopt Gaussian integer template to be similar to for the first time, or similar method is searched in employing: first amplify certain multiple and ensure that it is integer and has distinction, again divided by same multiple during computing.
Advantage: can reach the bilateral similar effect with standard, speed wants fast a lot, and hardware is also convenient to be realized.
Four, the linear contrast improved strengthens:
For infrared image, sampling raw data is out 14, can obtain 16384 grades of gray scales, but the gray scale of real image only concentrates on certain interval in the middle of 0 ~ 16384.Therefore, algorithm is strengthened to linear contrast herein and done improvement: after statistics with histogram is carried out to input picture, respectively from minimum and most high grade grey level, abandon several number of pixels, then grey scale mapping scope is obtained for [Hist_min, Hist_max], then by this grey scale mapping in [20,240] that are applicable to eye-observation.The most gray levels be in like this in the middle of gray level just can demonstrate contrast preferably.
Five, the plateau equalization improved:
In order to overcome the overall brightness of image when the excessive problem of plateau equalization contrast when grey level distribution is concentrated and scene move, the problems such as comparatively macromutation occur, use platform improving histogram equalization herein, formula is as follows
D T ( k ) = ( F T ( k ) - F T ( 0 ) ) × R ( F T ( M ) - F T ( 0 ) )
In formula, R is the tonal range of output image, can according to image dynamic conditioning; l outthe starting point that the gray level after mapping exports, can according to image dynamic conditioning.
R changes along with the grey level range of tablet pattern.When the grey level distribution of input picture is relatively concentrated, the gray level of output image just should correspondingly reduce.When the grey level range of input picture is wider, the grey level range of output image then should correspondingly increase.According to this meaning, provide the definition of R:
R = 255 1 + 255 RangeHist
RangeHist is input picture grey level range, and the maximal value of R is 255.
When the gray level difference of image is very little, because RangeHist is also correspondingly very little, then the grey level range R of output image is now also smaller.After equalization processing, what gray level can not be drawn opens especially, can solve the problem that when grey level distribution is relatively concentrated, contrast is excessive.And have a buffer value 255, RangeHist can be avoided to suddenly change and cause the sudden change of R.Therefore, the problem of the overall brightness sudden change of image when the method can solve that in traditional plateau equalization algorithm, image moves.
In addition to the implementation, the present invention can also have other embodiments.All employings are equal to the technical scheme of replacement or equivalent transformation formation, all drop on the protection domain of application claims.

Claims (5)

1., based on a real time equaliser infrared image detail enhancement algorithms, comprise the following steps:
1) adopt linear mapping by original 14 replacement response to 10, and utilize quick bilateral filtering process, obtain image Img;
2) adopt improvement linear contrast to strengthen and 10 infrared image Img are mapped to 8, obtain image Img1;
3) adopt platform improving histogram equalization that 10 infrared image Img are mapped to 8, obtain image Img2;
4) dynamically determine the weights of map image Img1 and Img2 according to the grey level range of input picture, finally with the weights determined, Img1 and Img2 is merged.
2. according to claim 1 based on real time equaliser infrared image detail enhancement algorithms, it is characterized in that: described quick bilateral filtering process in the following ways:
I bf ( i , j ) = 1 k ( i , j ) Σ ( i ′ , j ′ ) ∈ s i , j g s ( i - i ′ , j - j ′ ) g r ( I in ( i , j ) - I in ( i ′ , j ′ ) ) I in ( i ′ , j ′ )
Wherein, k (i, j) is normalization coefficient, g sfor spatial domain standard gaussian kernel function, g rfor intensity domain standard gaussian kernel function, I infor input picture,
g s = e - | ( i - i ′ ) 2 + ( j - j ′ ) 2 | 2 δ s 2 , g r = e - | ( I in ( i , j ) - I in ( i ′ , j ′ ) ) 2 | 2 δ r 2
Wherein g sfirst time Gauss's computing, according to formwork calculation space weight, available similar integer approximation, δ sget the integer between [5,24];
G rsecond time Gauss computing, calculate weight according to field similarity, can adopt look-up table to realize herein, look-up table scope is [0, Max-Min], δ rget integer between [15,25].
3. according to claim 2 based on real time equaliser infrared image detail enhancement algorithms, it is characterized in that: described look-up table realizes in the following ways: set current maximum as 1023, look-up table length is 1024,
First amplify 10000 times, retain the difference between data, again divided by 10000 during computing, index is the absolute value of current pixel and field pixel difference.
4. according to claim 1 based on real time equaliser infrared image detail enhancement algorithms, it is characterized in that: the linear contrast of described improvement strengthens in the following ways: after carrying out statistics with histogram to input picture, respectively from minimum and most high grade grey level, abandon several number of pixels, then grey scale mapping scope is obtained for [Hist_min, Hist_max], then by this grey scale mapping in [20,240] that are applicable to eye-observation.
5. according to claim 1 based on real time equaliser infrared image detail enhancement algorithms, it is characterized in that: the plateau equalization of described improvement in the following ways:
In formula, R is the tonal range of output image, can according to image dynamic conditioning.
rangeHist is input picture grey level range, and the maximal value of R is 255.
CN201410704423.1A 2014-11-26 2014-11-26 Real-time balance based infrared image detail enhancement algorithm Pending CN104392423A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410704423.1A CN104392423A (en) 2014-11-26 2014-11-26 Real-time balance based infrared image detail enhancement algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410704423.1A CN104392423A (en) 2014-11-26 2014-11-26 Real-time balance based infrared image detail enhancement algorithm

Publications (1)

Publication Number Publication Date
CN104392423A true CN104392423A (en) 2015-03-04

Family

ID=52610321

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410704423.1A Pending CN104392423A (en) 2014-11-26 2014-11-26 Real-time balance based infrared image detail enhancement algorithm

Country Status (1)

Country Link
CN (1) CN104392423A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105139365A (en) * 2015-08-17 2015-12-09 电子科技大学 Method for processing Tera-Hertz or infrared image
CN107292834A (en) * 2017-05-24 2017-10-24 杭州天铂红外光电技术有限公司 Infrared image detail enhancing method
CN109829860A (en) * 2018-12-26 2019-05-31 武汉高德智感科技有限公司 Linearity dynamic range compression method and system of the full figure in conjunction with Local Phase
WO2020057062A1 (en) * 2018-09-19 2020-03-26 北京图森未来科技有限公司 Method and apparatus for implementing bilateral image filtering in fpga, and fpga

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103606137A (en) * 2013-11-13 2014-02-26 天津大学 Histogram equalization method for maintaining background and detail information

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103606137A (en) * 2013-11-13 2014-02-26 天津大学 Histogram equalization method for maintaining background and detail information

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张燕: "基于改进直方图均衡的红外图像对比度增强算法", 《红外》 *
贾宏光: "基于广义线性运算和双边滤波的红外图像增强", 《光学精密工程》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105139365A (en) * 2015-08-17 2015-12-09 电子科技大学 Method for processing Tera-Hertz or infrared image
CN105139365B (en) * 2015-08-17 2018-01-09 电子科技大学 A kind of method for handling Terahertz or infrared image
CN107292834A (en) * 2017-05-24 2017-10-24 杭州天铂红外光电技术有限公司 Infrared image detail enhancing method
WO2020057062A1 (en) * 2018-09-19 2020-03-26 北京图森未来科技有限公司 Method and apparatus for implementing bilateral image filtering in fpga, and fpga
CN109829860A (en) * 2018-12-26 2019-05-31 武汉高德智感科技有限公司 Linearity dynamic range compression method and system of the full figure in conjunction with Local Phase
CN109829860B (en) * 2018-12-26 2021-02-02 武汉高德智感科技有限公司 Image linear dynamic range compression method and system combining full image and local image

Similar Documents

Publication Publication Date Title
Lai et al. A quantitative measure based infrared image enhancement algorithm using plateau histogram
Ma et al. An effective fusion defogging approach for single sea fog image
CN101783012B (en) Automatic image defogging method based on dark primary colour
CN101802866B (en) Method of processing an infrared image, infrared image capturing system and computer readable medium
Gupta et al. Minimum mean brightness error contrast enhancement of color images using adaptive gamma correction with color preserving framework
CN103177429A (en) FPGA (field programmable gate array)-based infrared image detail enhancing system and method
CN104700376B (en) Image histogram equalization Enhancement Method based on gamma correction and smothing filtering
CN103440630A (en) Large-dynamic-range infrared image display and detail enhancement method based on guiding filter
CN103268598A (en) Retinex-theory-based low-illumination low-altitude remote sensing image enhancing method
CN103295182B (en) Realize Circuits System and the method thereof of infrared image being carried out to contrast stretching process
CN110473152B (en) Image enhancement method based on improved Retinex algorithm
CN106846276A (en) A kind of image enchancing method and device
CN104392423A (en) Real-time balance based infrared image detail enhancement algorithm
CN105046658A (en) Low-illumination image processing method and device
CN103295206B (en) A kind of twilight image Enhancement Method and device based on Retinex
CN107316279A (en) Low light image Enhancement Method with regularization model is mapped based on tone
CN102208101A (en) Self-adaptive linearity transformation enhancing method of infrared image
CN107292834B (en) Infrared image detail enhancement method
CN114418904B (en) Infrared image enhancement method based on improved histogram equalization and enhanced high-pass filtering
Zhou et al. A multifeature fusion method for the color distortion and low contrast of underwater images
Sandoub et al. A low‐light image enhancement method based on bright channel prior and maximum colour channel
Ngo et al. Nonlinear unsharp masking algorithm
Mu et al. Low and non-uniform illumination color image enhancement using weighted guided image filtering
Wen et al. Autonomous robot navigation using Retinex algorithm for multiscale image adaptability in low-light environment
CN201726464U (en) Novel video image sharpening processing 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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150304