CN107871302A - A kind of Infrared Image Pseudo-Color processing method based on YUV color spaces - Google Patents
A kind of Infrared Image Pseudo-Color processing method based on YUV color spaces Download PDFInfo
- Publication number
- CN107871302A CN107871302A CN201610844337.XA CN201610844337A CN107871302A CN 107871302 A CN107871302 A CN 107871302A CN 201610844337 A CN201610844337 A CN 201610844337A CN 107871302 A CN107871302 A CN 107871302A
- Authority
- CN
- China
- Prior art keywords
- image
- color
- yuv
- pseudo
- color spaces
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 8
- 238000013507 mapping Methods 0.000 claims abstract description 7
- 239000000284 extract Substances 0.000 claims abstract description 3
- 238000011426 transformation method Methods 0.000 claims abstract description 3
- 230000003287 optical effect Effects 0.000 claims description 3
- 238000006243 chemical reaction Methods 0.000 abstract description 8
- 230000000694 effects Effects 0.000 abstract description 3
- 230000007704 transition Effects 0.000 abstract 1
- 238000000034 method Methods 0.000 description 22
- 238000012545 processing Methods 0.000 description 8
- 239000003086 colorant Substances 0.000 description 4
- 230000005855 radiation Effects 0.000 description 4
- 238000005259 measurement Methods 0.000 description 2
- 238000013517 stratification Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000012512 characterization method Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000009499 grossing Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000001931 thermography Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
Abstract
The invention discloses a kind of Infrared Image Pseudo-Color processing method based on YUV color spaces.By the above-mentioned means, first with the gray level image that yuv format is obtained from thermal infrared imager;Then image is pre-processed using gauss low frequency filter, extracts the value of the Y passages of yuv format gray level image, i.e. image intensity value;Gray value Y and color space R are established again by gray scale and color transformation method, the mapping model I between G, B;YUV color spaces and RGB color mapping model II are established according to TSC-system formula standard;Finally according to above-mentioned Model I and modelⅱ, the final Pseudo Col ored Image model III based on YUV color spaces is established.By the model III of foundation, it can realize that in YUV color spaces be pseudo color image directly by greyscale image transitions.The present invention can ensure it is consistent with Pseudo Col ored Image effect of the tradition based on RGB color in terms of the picture quality and contrast in the case of, eliminate the conversion time of color space, increased significantly in terms for the treatment of effeciency and real-time.
Description
Technical field
The present invention relates to image processing field, more particularly to a kind of Infrared Image Pseudo-Color based on YUV color spaces
Processing method.
Background technology
Infrared imagery technique is a kind of radiation information Detection Techniques, and any temperature is higher than the object of absolute zero all continuous
Outside radiation energy, infrared image reflect the spatial distribution of measured target and background infrared radiation, contain the i.e. background of target
A large amount of detailed information.The Temperature Distribution of body surface can be converted into the visible figure of human eye using certain special electronic installation
Picture, and show in different colors.The infrared radiation distribution of the characterization image scenery shown, it is decided by that scenery is launched
The spatial distribution of rate and temperature.The infrared thermal imaging temp measuring system established using this feature, not only thermometric speed is fast but also accurate
Really, it can be widely used in traditional thermometric mode such as HTHP and quick movement and be difficult to the occasion measured, progressively substitute and pass
Unified test temperature mode.The infrared survey image of actual acquisition is usually gray level image, but the gray level that can differentiate of human eye only have it is several
Ten, constrain the analysis and processing of measurement image.And human eye is higher to the sensitivity of colour, distinguishable hundreds of is even thousands of
Individual color, therefore the Pseudo Col ored Image for measuring image can undoubtedly improve the contrast of image, be measurement image and background level point
Bright, target is more easy to identify, meets the requirement for requiring display effect higher field.Dimension, infrared hybrid optical system is carried out pseudo- color
Color processing, the problem of enabling human eye more fully to differentiate and be in the urgent need to address using the information of image.At present, to gray scale
The method that image carries out Pseudo Col ored Image mainly has density stratification hair, gray scale-color mapped method and frequency filtering method.
Simplest Pseudo Col ored Image method is density stratification method, is called gray scale top and bottom process.The method will not be mainly by will
Same gray level assigns the Pseudo Col ored Image that different colors realizes image, but the image visual effect after Pseudo Col ored Image is not
Ideal, it is colored stiff, not enough reconcile, and be that algorithm is extremely complex when gray scale stage layered is more.
The most frequently used Pseudo Col ored Image method is gray scale-color mapped method, typical linear Pseudo Col ored Image method, will be black
White gray image is changed into the continuous multicolor image with multiple color gradual change, realizes simple.The pseudo-colours one of this method conversion
As change it is more uniform, color is relatively abundant.
One main bugbear of Pseudo Col ored Image process is to be that it is a time-consuming process.Generally set from infrared image
The standby picture format obtained is yuv format, and traditional Pseudo Col ored Image method is all based on RGB color.Therefore pass
System way is converted into rgb format or grayscale format firstly the need of by the infrared image of yuv format.Asked existing for such way
Topic is that picture format conversion process will take considerable time, for example for the system that frame per second is 25fps, to do 25 figures each second
As the conversion of form, for these extra time-consuming operations system high to requirement of real-time, performance can not be protected.
The content of the invention
The present invention overcomes the shortcomings of the prior art, and technical problem to be solved is:One kind is provided and is based on YUV colors
The Infrared Image Pseudo-Color processing method in space, it can ensure to be based on RGB color with tradition in terms of picture quality and contrast
Under conditions of the Pseudo Col ored Image effect in space is consistent, it is significantly improved in terms for the treatment of effeciency and real-time.
In order to solve the above-mentioned technical problem, the technical solution adopted by the present invention is:There is provided a kind of based on YUV color spaces
Infrared Image Pseudo-Color processing method, it is characterised in that comprise the following steps:
S101, the gray level image from thermal infrared imager acquisition yuv format;
S102, using gauss low frequency filter image is pre-processed;
S103, extract yuv format gray level image Y passages value, i.e. image intensity value;
S104, gray value Y and color space R established by gray scale and color transformation method, the mapping model I between G, B,
Wherein, L0, L1, L2, L3, L4, L5For the gray level of infrared hybrid optical system.
S105, YUV color spaces and RGB color mapping model II established according to TSC-system formula standard,
Y=0.299 × R+0.587 × G+0.114 × B,
U=-0.147 × R-0.289 × G+0.436 × B,
V=0.615 × R-0.515 × G-0.100 × B.
S106, according to above-mentioned Model I and modelⅱ, establish the final Pseudo Col ored Image model based on YUV color spaces
III,
Described described L0, L1, L2, L3, L4, L5It is 0,51,102,153,204,255 to handle value according to iris.
Compared with prior art:A kind of Infrared Image Pseudo-Color processing side based on YUV color spaces provided by the invention
Method advantage is:It is of the invention with it is traditional based on RGB color Infrared Image Pseudo-Color processing compared with, without carry out very
Time-consuming picture format conversion operation, and ensure that color hierarchy is enriched, with distinct contrast, target detail in saliency maps picture is heavier
The requirement for being to improve processing speed and treatment effeciency, meeting real-time wanted.
Brief description of the drawings
The present invention will be further described in detail below in conjunction with the accompanying drawings;
Fig. 1 is a kind of Pseudo Col ored Image method exemplary flow block diagram based on YUV color spaces;
Fig. 2 is the infrared gray scale original image of the inventive method before processing yuv format;
Fig. 3 is the yuv format pseudo color image result after the Pseudo Col ored Image method for implementing the present invention.
Embodiment
Presently preferred embodiments of the present invention is described in detail below in conjunction with the accompanying drawings, so that advantages and features of the invention energy
It is easier to be readily appreciated by one skilled in the art, apparent is clearly defined so as to be made to protection scope of the present invention.Obviously,
Described embodiment is one embodiment of the present of invention, rather than whole embodiments;Based on the embodiment in the present invention, sheet
The every other embodiment that field those of ordinary skill is obtained under the premise of creative work is not made, belongs to the present invention
The scope of protection.
As shown in Fig. 2 a kind of Pseudo Col ored Image method based on YUV color spaces of the present invention comprises the following steps that:
Due to infrared image obtain, transmission and conversion process in can cause it is some degrade, easily receive noise pollution, because
This it may first have to the infrared image to degrade is pre-processed.Using gauss low frequency filter, used during Stencil operation
Gaussian smoothing masterplateThe noise in image after filtered processing is filtered out, and improves signal noise ratio (snr) of image.
In the image of yuv format, Y value representative image gray value, U, the tone and saturation degree of V representative images.Therefore, carry
Y value is taken, for establishing Model I.
Above-mentioned L0, L1, L2, L3, L4, L5It is 0,51,102,153,204,255 to handle value according to iris.
Then YUV color spaces and RGB color mapping model II are established according to TSC-system formula standard,
Y=0.299 × R+0.587 × G+0.114 × B,
U=-0.147 × R-0.289 × G+0.436 × B,
V=0.615 × R-0.515 × G-0.100 × B.
Finally, pooled model I and modelⅱ obtain the final Pseudo Col ored Image model III based on YUV color spaces, such as
Under,
Its false code is as follows:
Wherein saturate_cast<uchar>Ensure data in the reasonable scope, the conversion that Fig. 1 illustrates model III is closed
System.
Embodiments of the invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (2)
1. a kind of Infrared Image Pseudo-Color processing method based on YUV color spaces, it is characterised in that comprise the following steps:
S101, the gray level image from thermal infrared imager acquisition yuv format;
S102, using gauss low frequency filter image is pre-processed;
S103, extract yuv format gray level image Y passages value, i.e. image intensity value;
S104, gray value Y and color space R established by gray scale and color transformation method, the mapping model I between G, B,
Wherein, L0, L1, L2, L3, L4, L5For the gray level of infrared hybrid optical system.
S105, YUV color spaces and RGB color mapping model II established according to TSC-system formula standard,
Y=0.299 × R+0.587 × G+0.114 × B,
U=-0.147 × R-0.289 × G+0.436 × B,
V=0.615 × R-0.515 × G-0.100 × B.
S106, according to above-mentioned Model I and modelⅱ, establish the final Pseudo Col ored Image model III based on YUV color spaces,
2. a kind of Infrared Image Pseudo-Color processing method based on YUV color spaces according to claim 1, its feature exist
In described L0, L1, L2, L3, L4, L5It is 0,51,102,153,204,255 to handle value according to iris.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610844337.XA CN107871302A (en) | 2016-09-23 | 2016-09-23 | A kind of Infrared Image Pseudo-Color processing method based on YUV color spaces |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610844337.XA CN107871302A (en) | 2016-09-23 | 2016-09-23 | A kind of Infrared Image Pseudo-Color processing method based on YUV color spaces |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107871302A true CN107871302A (en) | 2018-04-03 |
Family
ID=61751316
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610844337.XA Pending CN107871302A (en) | 2016-09-23 | 2016-09-23 | A kind of Infrared Image Pseudo-Color processing method based on YUV color spaces |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107871302A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109147005A (en) * | 2018-08-24 | 2019-01-04 | 电子科技大学 | It is a kind of for the adaptive colouring method of infrared image, system, storage medium, terminal |
CN110687121A (en) * | 2019-09-19 | 2020-01-14 | 湖北三江航天万峰科技发展有限公司 | Intelligent online detection and automatic grading method and system for ceramic tiles |
CN110966716A (en) * | 2019-11-12 | 2020-04-07 | 珠海格力电器股份有限公司 | Thermal imaging precise constant-temperature air conditioner for indoor blood animal culture and control method |
CN113436110A (en) * | 2021-07-16 | 2021-09-24 | 厦门大学 | Method for performing pseudo-color processing on synthetic aperture radar gray level image |
WO2021195967A1 (en) * | 2020-03-31 | 2021-10-07 | 深圳市大疆创新科技有限公司 | Image processing method and apparatus, control terminal, and movable platform |
CN117437151A (en) * | 2023-12-21 | 2024-01-23 | 成都市晶林科技有限公司 | Pseudo-color mapping method for noise suppression |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20110117474A (en) * | 2010-04-21 | 2011-10-27 | 삼성전자주식회사 | Texture enhancement method and apparatus reflected human visual characteristic on spatial frequency |
CN102663745A (en) * | 2012-03-23 | 2012-09-12 | 北京理工大学 | Color fusion image quality evaluation method based on vision task. |
US20140219566A1 (en) * | 2008-08-19 | 2014-08-07 | Digimarc Corporation | Methods and systems for content processing |
CN105184790A (en) * | 2015-08-31 | 2015-12-23 | 中国烟草总公司广东省公司 | Tobacco field image segmentation method |
-
2016
- 2016-09-23 CN CN201610844337.XA patent/CN107871302A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140219566A1 (en) * | 2008-08-19 | 2014-08-07 | Digimarc Corporation | Methods and systems for content processing |
KR20110117474A (en) * | 2010-04-21 | 2011-10-27 | 삼성전자주식회사 | Texture enhancement method and apparatus reflected human visual characteristic on spatial frequency |
CN102663745A (en) * | 2012-03-23 | 2012-09-12 | 北京理工大学 | Color fusion image quality evaluation method based on vision task. |
CN105184790A (en) * | 2015-08-31 | 2015-12-23 | 中国烟草总公司广东省公司 | Tobacco field image segmentation method |
Non-Patent Citations (3)
Title |
---|
吴强 等: "基于LLE的红外成像彩色化处理算法研究", 《应用光学》 * |
宋振电 等: "彩色图像与灰度图像间转换的程序设计", 《电子技术》 * |
王玉茹: "一种自适应的手纹识别研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109147005A (en) * | 2018-08-24 | 2019-01-04 | 电子科技大学 | It is a kind of for the adaptive colouring method of infrared image, system, storage medium, terminal |
CN109147005B (en) * | 2018-08-24 | 2023-02-28 | 电子科技大学 | Self-adaptive dyeing method and system for infrared image, storage medium and terminal |
CN110687121A (en) * | 2019-09-19 | 2020-01-14 | 湖北三江航天万峰科技发展有限公司 | Intelligent online detection and automatic grading method and system for ceramic tiles |
CN110966716A (en) * | 2019-11-12 | 2020-04-07 | 珠海格力电器股份有限公司 | Thermal imaging precise constant-temperature air conditioner for indoor blood animal culture and control method |
WO2021195967A1 (en) * | 2020-03-31 | 2021-10-07 | 深圳市大疆创新科技有限公司 | Image processing method and apparatus, control terminal, and movable platform |
CN113436110A (en) * | 2021-07-16 | 2021-09-24 | 厦门大学 | Method for performing pseudo-color processing on synthetic aperture radar gray level image |
CN113436110B (en) * | 2021-07-16 | 2022-06-14 | 厦门大学 | Method for performing pseudo-color processing on synthetic aperture radar gray level image |
CN117437151A (en) * | 2023-12-21 | 2024-01-23 | 成都市晶林科技有限公司 | Pseudo-color mapping method for noise suppression |
CN117437151B (en) * | 2023-12-21 | 2024-03-08 | 成都市晶林科技有限公司 | Pseudo-color mapping method for noise suppression |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107871302A (en) | A kind of Infrared Image Pseudo-Color processing method based on YUV color spaces | |
CN106548467B (en) | The method and device of infrared image and visual image fusion | |
CN106056155B (en) | Superpixel segmentation method based on boundary information fusion | |
CN105578063A (en) | Image processing method and terminal | |
CN105592303B (en) | imaging method, imaging device and electronic device | |
CN105825479B (en) | A kind of image enchancing method under environment light | |
CN105430362B (en) | Imaging method, imaging device and electronic installation | |
CN104021527B (en) | Rain and snow removal method in image | |
CN105578066B (en) | Imaging method, imaging device and electronic installation | |
CN108564631A (en) | Car light light guide acetes chinensis method, apparatus and computer readable storage medium | |
CN108711160B (en) | Target segmentation method based on HSI (high speed input/output) enhanced model | |
CN106454014A (en) | Method and device for improving quality of vehicle image captured in backlighting scene | |
CN101227621A (en) | Method of performing interpolation for CFA in CMOS sensor and circuit thereof | |
CN105223208A (en) | A kind of circuit board detecting template and preparation method thereof, circuit board detecting method | |
CN110428439A (en) | A kind of shadow detection method based on shadow region color saturation property | |
CN101324955A (en) | Method for dividing plant root system image based on color characteristic | |
CN102542526B (en) | Image decolorizing method | |
CN106558044A (en) | The resolution measuring method of image module | |
CN112150392B (en) | Low-illumination image restoration method and device | |
CN103152511A (en) | Digital image printing color correction method for printing publishing | |
CN112561829A (en) | Multi-region non-uniform brightness distortion correction algorithm based on L-channel Gamma transformation | |
CN116542888A (en) | Multi-focus color image acquisition method and product | |
CN111291747A (en) | Depth map-based color small target detection method in complex scene | |
CN103971336B (en) | Adjusting method, device and equipment for image lightness | |
CN203368604U (en) | Camera white balance testing cards |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180403 |
|
WD01 | Invention patent application deemed withdrawn after publication |