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

CN110400269B - A Fast HDR Image Tone Mapping Method - Google Patents

A Fast HDR Image Tone Mapping Method Download PDF

Info

Publication number
CN110400269B
CN110400269B CN201910600173.XA CN201910600173A CN110400269B CN 110400269 B CN110400269 B CN 110400269B CN 201910600173 A CN201910600173 A CN 201910600173A CN 110400269 B CN110400269 B CN 110400269B
Authority
CN
China
Prior art keywords
image
hdr
fast
tone mapping
mapping method
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
CN201910600173.XA
Other languages
Chinese (zh)
Other versions
CN110400269A (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.)
Shantou University
Original Assignee
Shantou University
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 Shantou University filed Critical Shantou University
Priority to CN201910600173.XA priority Critical patent/CN110400269B/en
Publication of CN110400269A publication Critical patent/CN110400269A/en
Application granted granted Critical
Publication of CN110400269B publication Critical patent/CN110400269B/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
    • G06T5/90Dynamic range modification of images or parts thereof
    • G06T5/92Dynamic range modification of images or parts thereof based on global image properties
    • 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/10024Color image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20172Image enhancement details
    • G06T2207/20208High dynamic range [HDR] image processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20212Image combination
    • G06T2207/20221Image fusion; Image merging

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Color Image Communication Systems (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Picture Signal Circuits (AREA)

Abstract

本发明实施例公开了一种快速的HDR图像色调映射算法。该算法先将彩色HDR图像转换为亮度图像,接着进行截断和归一化处理。然后分别利用不同的幂函数对亮度图像进行变换,以增强暗区和亮区区域的细节。最后将变换后的图像进行融合,恢复图像颜色信息,再Gamma纠正。该算法具有简单快速,效果好的特点,使得色调映射后的HDR图像能够很好地在目前低动态范围显示设备显示,此外本发明也适用于HDR视频和普通图像的暗区和亮区的细节增强。The embodiment of the present invention discloses a fast HDR image tone mapping algorithm. The algorithm first converts color HDR images to luminance images, followed by truncation and normalization. Then, the luminance image is transformed with different power functions to enhance the details of dark and bright regions. Finally, the transformed image is fused, the color information of the image is restored, and then Gamma is corrected. The algorithm has the characteristics of simple, fast and good effect, so that the HDR image after tone mapping can be well displayed on the current low dynamic range display device. In addition, the invention is also suitable for the details of the dark area and the bright area of the HDR video and ordinary images. enhanced.

Description

Rapid HDR image tone mapping method
Technical Field
The invention relates to the field of image processing, in particular to a fast HDR image tone mapping method.
Background
An HDR image is an image with a high dynamic range. Such images cannot be displayed perfectly in many current display devices, that is, when the current display devices display such images, parts of the areas are too dark or too bright, so that details of the areas are lost, which is similar to photo underexposure and overexposure. The reason for this is that HDR images have a high dynamic range, which is lower than that of many current display devices.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a fast HDR image tone mapping method. The tone mapped HDR image may be made well displayable in current low dynamic range display devices.
In order to solve the above technical problem, an embodiment of the present invention provides a fast HDR image tone mapping method, including the following steps:
s1: converting HDR image H into luminance image Lh
S2: the luminance image L is referenced by a predetermined percentile phCutting off;
s3: for the image LhNormalization processing is carried out to ensure that the pixel value range of the obtained image I is [0,1 ]]To (c) to (d);
s4: using power functions L1=IαTransforming the image I to obtain a transformed image L1Wherein α < 1, preferably 0.5;
s5: using power functions L2=IβTransforming the image I to obtain a transformed image L2Wherein β > 1, preferably 2;
s6: using the formula L ═ 1-Lh)×L1+Lh×L2Fusing to obtain an image L;
s7: restoring the image color information using the following formula to obtain an LDR image [ R ]l Gl Bl]T
Figure BDA0002119024710000021
Wherein R ish、Gh、BhThree components of an HDR image;
s8: for LDR image [ R ]l Gl Bl]TGamma correction is performed.
Further, the step S1 is performed by the following formula: l ish=0.2989Rh+0.5870Gh+0.1140Bh
Further, in the step S2, the predetermined percentile p is used to take a value range of [90,99], preferably 98.
Further, the step S3 performs the normalization process using the following equation:
Figure BDA0002119024710000022
wherein
Figure BDA0002119024710000023
Representing the smallest pixel value of the entire image,
Figure BDA0002119024710000024
this represents taking the maximum value for image I (x, y).
Further, the step S8 uses a power function S-rγGamma correction is performed, where Gamma < 1, preferably 0.6.
The embodiment of the invention has the following beneficial effects: the method has the characteristics of simplicity, rapidness and good effect, so that the HDR image after tone mapping can be well displayed on the current low dynamic range display equipment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below.
The fast HDR image tone mapping method provided by the embodiment of the invention firstly converts a color HDR image into a brightness image, and then carries out truncation and normalization processing. The luminance image is then transformed with different power functions to enhance the details of the dark and bright regions, respectively. And finally, fusing the transformed images, recovering the color information of the images, and then performing Gamma correction. Let the three components of the HDR image be [ R ]h Gh Bh]TThe three components of the LDR image after conversion are [ R ]l Gl Bl]TThe whole tone mapping conversion process is specifically as follows:
1. converting HDR image H into luminance image LhI.e. Lh=0.2989Rh+0.5870Gh+0.1140Bh
2. The luminance image L is referenced by a predetermined percentile phAnd (4) performing truncation, wherein p is preferably 98, namely sequencing the pixel values of the whole image to obtain the 98 th percentile of the pixel values of the whole image, and replacing the pixel values which are greater than the 98 th percentile by the 98 th percentile. The mathematical expression is as follows:
Figure BDA0002119024710000031
where (x, y) is the coordinates of the image pixel.
3. For the image LhNormalization processing is carried out to obtain an image of the image IThe prime number is in the range of [0, 1%]In the meantime. The formula used is as follows:
Figure BDA0002119024710000032
wherein
Figure BDA0002119024710000033
Representing the smallest pixel value of the entire image.
Figure BDA0002119024710000034
This represents taking the maximum value for image I (x, y).
4. Using power functions L1=IαTransforming the image I, wherein alpha is less than 1, so as to enhance the details of the dark area of the image I and obtain a transformed image L1Preferably L1=I0.5
5. Using power functions L2=IβTransforming the image I, wherein beta is more than 1, so as to enhance the details of the bright area of the image I and obtain a transformed image L2Preferably L2=I2
6. Using the formula L ═ 1-Lh)×L1+Lh×L2And fusing to obtain an image L.
7. Restoring the image color information by the following formula to obtain an LDR image [ Rl Gl Bl]T
Figure BDA0002119024710000035
8. Using power function s-rγFor LDR image [ R ]l Gl Bl]TGamma correction is performed, preferably s ═ r0.6Namely:
Figure BDA0002119024710000036
the HDR image after tone mapping can be well displayed on the current low dynamic range display equipment after the processing of the method of the invention.
While the invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not to be limited to the disclosed embodiment, but on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (5)

1. A fast HDR image tone mapping method is characterized by comprising the following steps:
s1: converting HDR image H into luminance image Lh
S2: the luminance image L is referenced by a predetermined percentile phCutting off;
s3: for the image LhNormalization processing is carried out so that the pixel value range of the obtained image I is [ 01 ]]To (c) to (d);
s4: using power functions L1=IαTransforming the image I to obtain a transformed image L1In which α is<1;
S5: using power functions L2=IβTransforming the image I to obtain a transformed image L2Wherein beta is>1;
S6: using the formula L ═ 1-Lh)×L1+Lh×L2Fusing to obtain an image L;
s7: restoring the image color information using the following formula to obtain an LDR image [ R ]l Gl Bl]T
Figure FDA0003053847140000011
Wherein R ish、Gh、BhThree components of an HDR image;
s8: for LDR image [ R ]l Gl Bl]TGamma correction is performed.
2. The fast HDR image tone mapping method of claim 1, characterized in thatCharacterized in that said step S1 is performed by the following formula: l ish=0.2989Rh+0.5870Gh+0.1140Bh
3. The fast HDR image tone mapping method as claimed in claim 1, wherein the predetermined percentile p is used in step S2 to have a value range of [90,99 ].
4. The fast HDR image tone mapping method of claim 1, wherein said step S3 performs the normalization process using the following formula:
Figure FDA0003053847140000012
wherein
Figure FDA0003053847140000013
Representing the smallest pixel value of the entire image,
Figure FDA0003053847140000014
which represents an operation of taking the maximum value of an image.
5. The fast HDR image tone mapping method as claimed in any of claims 1-4, wherein said step S8 uses the power function S-rγPerforming Gamma correction, wherein Gamma<1。
CN201910600173.XA 2019-07-04 2019-07-04 A Fast HDR Image Tone Mapping Method Active CN110400269B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910600173.XA CN110400269B (en) 2019-07-04 2019-07-04 A Fast HDR Image Tone Mapping Method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910600173.XA CN110400269B (en) 2019-07-04 2019-07-04 A Fast HDR Image Tone Mapping Method

Publications (2)

Publication Number Publication Date
CN110400269A CN110400269A (en) 2019-11-01
CN110400269B true CN110400269B (en) 2021-08-06

Family

ID=68323848

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910600173.XA Active CN110400269B (en) 2019-07-04 2019-07-04 A Fast HDR Image Tone Mapping Method

Country Status (1)

Country Link
CN (1) CN110400269B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011002505A1 (en) * 2009-06-29 2011-01-06 Thomson Licensing Zone-based tone mapping
CN105894484A (en) * 2016-03-30 2016-08-24 山东大学 HDR reconstructing algorithm based on histogram normalization and superpixel segmentation
CN107895350A (en) * 2017-10-27 2018-04-10 天津大学 A kind of HDR image generation method based on adaptive double gamma conversion
CN109934787A (en) * 2019-03-18 2019-06-25 湖南科技大学 A High Dynamic Range-Based Image Stitching Method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9275445B2 (en) * 2013-08-26 2016-03-01 Disney Enterprises, Inc. High dynamic range and tone mapping imaging techniques

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011002505A1 (en) * 2009-06-29 2011-01-06 Thomson Licensing Zone-based tone mapping
CN105894484A (en) * 2016-03-30 2016-08-24 山东大学 HDR reconstructing algorithm based on histogram normalization and superpixel segmentation
CN107895350A (en) * 2017-10-27 2018-04-10 天津大学 A kind of HDR image generation method based on adaptive double gamma conversion
CN109934787A (en) * 2019-03-18 2019-06-25 湖南科技大学 A High Dynamic Range-Based Image Stitching Method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
HDR tone mapping algorithm based on difference compression with;Jiheon Ok 等;《Journal of Visual Communication and Image Representation》;20170215(第43期);61-76 *
HDR图像色调映射的自适应色彩调节算法;陈文艺 等;《电子技术应用》;20181106;第44卷(第11期);107-110 *
基于幂次变换和全分模型的HDR图像色调映射研究;肖婷;《汕头大学计算机软件与理论硕士学位论文》;20160129;30-35 *

Also Published As

Publication number Publication date
CN110400269A (en) 2019-11-01

Similar Documents

Publication Publication Date Title
CN104408752B (en) A kind of high dynamic range images compression method based on mixed shades mapping algorithm
CN110599418B (en) A Global Tone Mapping Method for Transform Domain Fusion
CN105009580B (en) The display management of high dynamic range video
CN109767413B (en) HDR method and device for resisting motion artifacts and portable terminal
CN106169182B (en) A method for synthesizing multiple images with different exposures
CN104618700B (en) Enhanced display method for color high dynamic range image
CN107657594A (en) The quick tone mapping method and system of a kind of high quality
CN109447910A (en) A kind of low-luminance color image enchancing method based on fuzzy theory
CN107864349B (en) Television and display effect control method thereof, and computer readable storage medium
CN104994364B (en) A kind of image processing method and device
CN102722868A (en) Tone mapping method for high dynamic range image
CN111105359B (en) A Tone Mapping Method for High Dynamic Range Images
CN112565636A (en) Image processing method, device, equipment and storage medium
WO2017113619A1 (en) Method and apparatus for adjusting brightness of display interface
CN106447604A (en) Method and device for transforming facial frames in videos
CN107895350B (en) HDR image generation method based on self-adaptive double gamma transformation
CN112070692A (en) Single backlight image enhancement method based on virtual exposure
JP2016109812A (en) Image processing device, image processing method, computer program and image display device
CN104299213A (en) Method for synthesizing high-dynamic image based on detail features of low-dynamic images
CN102510502B (en) Method and system for generating high-dynamic-range image
CN110400269B (en) A Fast HDR Image Tone Mapping Method
JP5410378B2 (en) Video signal correction apparatus and video signal correction program
KR101642034B1 (en) Method and Apparatus for converting dynamic ranges of input images
WO2020118977A1 (en) Image color temperature correction method and device
CN106686320A (en) A Tone Mapping Method Based on Number Density Equalization

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
GR01 Patent grant
GR01 Patent grant