CN110400269A - A kind of quick HDR image tone mapping method - Google Patents
A kind of quick HDR image tone mapping method Download PDFInfo
- Publication number
- CN110400269A CN110400269A CN201910600173.XA CN201910600173A CN110400269A CN 110400269 A CN110400269 A CN 110400269A CN 201910600173 A CN201910600173 A CN 201910600173A CN 110400269 A CN110400269 A CN 110400269A
- Authority
- CN
- China
- Prior art keywords
- image
- quick
- hdr
- tone mapping
- hdr 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.)
- Granted
Links
- 238000013507 mapping Methods 0.000 title claims abstract description 17
- 238000000034 method Methods 0.000 title claims description 14
- 230000000694 effects Effects 0.000 abstract description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/90—Dynamic range modification of images or parts thereof
- G06T5/92—Dynamic range modification of images or parts thereof based on global image properties
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10024—Color image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20172—Image enhancement details
- G06T2207/20208—High dynamic range [HDR] image processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20212—Image combination
- G06T2207/20221—Image 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)
- Picture Signal Circuits (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
The embodiment of the invention discloses a kind of quick HDR image tone-mapping algorithms.Colored HDR image is first converted to luminance picture by the algorithm, then carries out truncation and normalized.Then it is utilized respectively different power functions to convert luminance picture, to enhance the details of dark space and clear zone region.Finally transformed image is merged, restores image color information, then Gamma is corrected.The algorithm has simple and quick, the good feature of effect, enables the HDR image after tone mapping to show that equipment is shown in current low-dynamic range well, furthermore it is suitable for the details of the dark space and clear zone of HDR video and normal image enhances.
Description
Technical field
The present invention relates to field of image processing more particularly to a kind of quick HDR image tone mapping methods.
Background technique
HDR image is a kind of image with high dynamic range.This kind of image all cannot in current very multi-display equipment
It ideally shows, that is, current display equipment shows this kind of image when will appear that partial region is excessively dark or mistake
Bright, so as to cause the loss in detail in these regions, these phenomenons are similar to photo exposure deficiency and overexposure.It causes this existing
As the reason of be that HDR image has very high dynamic range, before comparing, the dynamic range of current very multi-display equipment compares
It is low.
Summary of the invention
The technical problem to be solved by the embodiment of the invention is that providing a kind of quick HDR image tone mapping method.
HDR image after aloowing tone mapping shows that equipment is shown in current low-dynamic range well.
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of quick HDR image tone mapping method,
The following steps are included:
S1: HDR image H is switched into luminance picture Lh;
S2: with scheduled percentile p to luminance picture LhIt is truncated;
S3: to image LhIt is normalized, so that the pixel value range of obtained image I is between [0,1];
S4: power function L is utilized1=IαImage I is converted, image L after being converted1, wherein α < 1, preferably
0.5;
S5: power function L is utilized2=IβImage I is converted, image L after being converted2, wherein β > 1, preferably 2;
S6: formula L=(1-L is utilizedh)×L1+Lh×L2It is merged, obtains image L;
S7: restore image color information using following formula, obtain LDR image [Rl Gl Bl]T:
Wherein Rh、Gh、BhFor three components of HDR image;
S8: to LDR image [Rl Gl Bl]TCarry out Gamma correction.
Further, the step S1 is carried out by following formula: Lh=0.2989Rh+0.5870Gh+0.1140Bh。
Further, use scheduled percentile p value range for [90,99] in the step S2, preferably 98.
Further, the step S3 is normalized using following formula:
WhereinIndicate the smallest pixel value of entire image,Expression takes maximum to image I (x, y)
Value.
Further, the step S8, which is used, utilizes power function s=rγGamma correction is carried out, wherein γ < 1, preferably
It is 0.6.
The implementation of the embodiments of the present invention has the following beneficial effects: the present invention have it is simple and quick, the good feature of effect makes
HDR image after obtaining tone mapping can show that equipment be shown in current low-dynamic range well.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, the present invention will be made below further detailed
Description.
Colored HDR image is first converted to brightness by a kind of quick HDR image tone mapping method of the embodiment of the present invention
Image then carries out truncation and normalized.Then it is utilized respectively different power functions to convert luminance picture, to increase
The details of strong dark space and clear zone region.Finally transformed image is merged, restores image color information, then Gamma entangles
Just.Assuming that three components of HDR image are [Rh Gh Bh]T, three components of LDR image after conversion are [Rl Gl Bl]T, entirely
Tone mapping conversion process is specific as follows:
1. HDR image H is switched to luminance picture Lh, i.e. Lh=0.2989Rh+0.5870Gh+0.1140Bh。
2. with scheduled percentile p to luminance picture LhIt is truncated, preferably p is 98, that is, to entire image
Pixel value is ranked up to obtain the 98th percentile of entire image pixel value, will be greater than the pixel value of the 98th percentile with
98 percentiles replace.Mathematic(al) representation is as follows:
Wherein (x, y) is the coordinate of image pixel.
3. couple image LhIt is normalized, so that the pixel value range of obtained image I is between [0,1].It uses
Formula is as follows:
WhereinIndicate the smallest pixel value of entire image.Expression takes maximum to image I (x, y)
Value.
4. utilizing power function L1=IαImage I is converted, wherein α < 1, to enhance the details in the dark space image I region,
Image L after being converted1, preferably L1=I0.5。
5. utilizing power function L2=IβImage I is converted, wherein β > 1, to enhance the details in the clear zone image I region,
Image L after being converted2, preferably L2=I2。
6. utilizing formula L=(1-Lh)×L1+Lh×L2It is merged, obtains image L.
7. restoring image color information using following formula, LDR image [R is obtainedl Gl Bl]T:
8. utilizing power function s=rγTo LDR image [Rl Gl Bl]TCarry out Gamma correction, preferably s=r0.6, it may be assumed that
It is handled through method of the invention, enables the HDR image after tone mapping well in current low-dynamic range
Display equipment is shown.
Above disclosed is only a preferred embodiment of the present invention, cannot limit the power of the present invention with this certainly
Sharp range, therefore equivalent changes made in accordance with the claims of the present invention, are still within the scope of the present invention.
Claims (5)
1. a kind of quick HDR image tone mapping method, which comprises the following steps:
S1: HDR image H is switched into luminance picture Lh;
S2: with scheduled percentile p to luminance picture LhIt is truncated;
S3: to image LhIt is normalized, so that the pixel value range of obtained image I is between [0 1];
S4: power function L is utilized1=IαImage I is converted, image L after being converted1, wherein α < 1;
S5: power function L is utilized2=IβImage I is converted, image L after being converted2, wherein β > 1;
S6: formula L=(1-L is utilizedh)×L1+Lh×L2It is merged, obtains image L;
S7: restore image color information using following formula, obtain LDR image [Rl Gl Bl]T:
Wherein Rh、Gh、BhFor three components of HDR image;
S8: to LDR image [Rl Gl Bl]TCarry out Gamma correction.
2. quick HDR image tone mapping method according to claim 1, which is characterized in that the step S1 passes through
Following formula carries out: Lh=0.2989Rh+0.5870Gh+0.1140Bh。
3. quick HDR image tone mapping method according to claim 1, which is characterized in that make in the step S2
It is [90,99] with scheduled percentile p value range.
4. quick HDR image tone mapping method according to claim 1, which is characterized in that the step S3 is used
Following formula is normalized:
WhereinIndicate the smallest pixel value of entire image,Expression is maximized image I (x, y).
5. quick HDR image tone mapping method according to claim 1-4, which is characterized in that the step
Rapid S8, which is used, utilizes power function s=rγGamma correction is carried out, wherein γ < 1.
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 true CN110400269A (en) | 2019-11-01 |
CN110400269B 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 (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011002505A1 (en) * | 2009-06-29 | 2011-01-06 | Thomson Licensing | Zone-based tone mapping |
US20150078661A1 (en) * | 2013-08-26 | 2015-03-19 | Disney Enterprises, Inc. | High dynamic range and tone mapping imaging techniques |
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 |
-
2019
- 2019-07-04 CN CN201910600173.XA patent/CN110400269B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011002505A1 (en) * | 2009-06-29 | 2011-01-06 | Thomson Licensing | Zone-based tone mapping |
US20150078661A1 (en) * | 2013-08-26 | 2015-03-19 | Disney Enterprises, Inc. | High dynamic range and tone mapping imaging techniques |
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)
Title |
---|
JIHEON OK 等: "HDR tone mapping algorithm based on difference compression with", 《JOURNAL OF VISUAL COMMUNICATION AND IMAGE REPRESENTATION》 * |
肖婷: "基于幂次变换和全分模型的HDR图像色调映射研究", 《汕头大学计算机软件与理论硕士学位论文》 * |
陈文艺 等: "HDR图像色调映射的自适应色彩调节算法", 《电子技术应用》 * |
Also Published As
Publication number | Publication date |
---|---|
CN110400269B (en) | 2021-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110378859B (en) | Novel high dynamic range image generation method | |
CN110047051B (en) | Non-uniform illumination color image enhancement method | |
CN103593830B (en) | A kind of low illumination level video image enhancement | |
CN107680056B (en) | Image processing method and device | |
CN107909553B (en) | Image processing method and device | |
CN109146826A (en) | A kind of image enchancing method and device | |
CN105513019B (en) | A kind of method and apparatus promoting picture quality | |
CN109447910A (en) | A kind of low-luminance color image enchancing method based on fuzzy theory | |
WO2021082088A1 (en) | Tone mapping method and apparatus, and electronic device | |
CN107820069B (en) | Video monitoring equipment ISP debugging method | |
CN110599418B (en) | Global tone mapping method for transform domain fusion | |
CN108364271B (en) | Method and device for improving image contrast | |
WO2021218603A1 (en) | Image processing method and projection system | |
CN104320575A (en) | Image processing method and image processing apparatus for portable terminal | |
CN104778674B (en) | A kind of suitable backlight traffic image self-adapting enhancement method based on time series | |
US20080278632A1 (en) | Image processing apparatus | |
CN114862722B (en) | Image brightness enhancement implementation method and processing terminal | |
CN116168652A (en) | Image display method, device, electronic equipment and computer readable storage medium | |
CN102510502B (en) | Method and system for generating high-dynamic-range image | |
CN116453470B (en) | Image display method, device, electronic equipment and computer readable storage medium | |
JP2012028937A (en) | Video signal correction apparatus and video signal correction program | |
KR101642034B1 (en) | Method and Apparatus for converting dynamic ranges of input images | |
CN110400269A (en) | A kind of quick HDR image tone mapping method | |
US20230057829A1 (en) | Encoder, decoder, system, and method for determining tone mapping curve parameters | |
TWI380677B (en) | Method of color space transformation to transfer prospect for camera sphere |
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 |