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

CN110400269B - Rapid HDR image tone mapping method - Google Patents

Rapid 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
tone mapping
hdr
hdr image
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

The embodiment of the invention discloses a fast HDR image tone mapping algorithm. The algorithm converts a color HDR image to a luminance image first, followed by 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. 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, and the method is also suitable for enhancing the details of dark areas and bright areas of HDR videos and common images.

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 Rapid 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 Rapid 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 Rapid 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 Rapid 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 kind of image split-joint method based on high dynamic range

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 kind of image split-joint method based on high dynamic range

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
CN110047051B (en) Non-uniform illumination color image enhancement method
Ahn et al. Adaptive local tone mapping based on retinex for high dynamic range images
CN107680056B (en) Image processing method and device
CN109447910A (en) A kind of low-luminance color image enchancing method based on fuzzy theory
CN109767413B (en) HDR method and device for resisting motion artifacts and portable terminal
CN111105359B (en) Tone mapping method for high dynamic range image
US20130039577A1 (en) Method for improving image quality
CN109493291A (en) A kind of method for enhancing color image contrast ratio of adaptive gamma correction
CN110706172A (en) Low-illumination color image enhancement method based on adaptive chaotic particle swarm optimization
WO2017113619A1 (en) Method and apparatus for adjusting brightness of display interface
CN106169182A (en) A kind of method synthesizing several different exposure images
CN105933616B (en) A kind of method and apparatus of image procossing
CN107895350B (en) HDR image generation method based on self-adaptive double gamma transformation
CN105809643A (en) Image enhancing method based on self-adaptive block channel stretching
JP2016109812A (en) Image processing device, image processing method, computer program and image display device
CN109035181B (en) Wide dynamic range image processing method based on image average brightness
CN107358578B (en) Yin-yang face treatment method and device
CN102510502B (en) Method and system for generating high-dynamic-range image
CN110400269B (en) Rapid HDR image tone mapping method
CN116168652A (en) Image display method, device, electronic equipment and computer readable storage medium
WO2020118977A1 (en) Image color temperature correction method and device
KR101642034B1 (en) Method and Apparatus for converting dynamic ranges of input images
CN116453470B (en) Image display method, device, electronic equipment and computer readable storage medium
Yun et al. Tone-mapping and dynamic range compression using dynamic cone response
Yun et al. Color correction for high dynamic range images using a chromatic adaptation method

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