JP2008234315A - Gradation compression method and gradation compression device for digital image - Google Patents

Gradation compression method and gradation compression device for digital image Download PDF

Info

Publication number
JP2008234315A
JP2008234315A JP2007072984A JP2007072984A JP2008234315A JP 2008234315 A JP2008234315 A JP 2008234315A JP 2007072984 A JP2007072984 A JP 2007072984A JP 2007072984 A JP2007072984 A JP 2007072984A JP 2008234315 A JP2008234315 A JP 2008234315A
Authority
JP
Japan
Prior art keywords
luminance
digital image
region
gradation
compression
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
JP2007072984A
Other languages
Japanese (ja)
Inventor
Tomomitsu Sasaki
智充 佐々木
Atsushi Takagi
淳 高木
Kazumasa Okazaki
和征 岡崎
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor Corp
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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2007072984A priority Critical patent/JP2008234315A/en
Publication of JP2008234315A publication Critical patent/JP2008234315A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a gradation compression method and gradation compression device for digital image, to reproduce the texture and the curvature radius of shape of an object. <P>SOLUTION: The gradation compression method for a digital image comprises an image area division process 30 for dividing the area of the digital image to a high-luminance area and a low-luminance area according to the luminance of a pixel; and a retina response compression process 40 for gradation-compressing the high-luminance area and the luminance of the pixel by response characteristic of a retina cell which logarithmically senses stimulation of light. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、デジタル画像の階調圧縮方法及び階調圧縮装置に関する。   The present invention relates to a digital image gradation compression method and a gradation compression apparatus.

デジタル画像は、CRTディスプレイモニタ、液晶ディスプレイモニタ、プラズマディスプレイモニタ等の表示デバイス、プリントデバイスにより画像として再現される。しかしながら、CRTディスプレイモニタ等の表示デバイスやプリントデバイスは、それぞれ表現可能な輝度に限界がある。例えば、汎用のCRTディスプレイモニタ、液晶ディスプレイモニタの各チャンネルは、階調を8ビットで表現する。一方、デジタル画像の各チャンネルは、8ビットを超える、16ビット、24ビット等のデータを記録できる。したがって、階調が8ビットを超えるデジタル画像(以下、HDR(High Dynamic Range)デジタル画像)を汎用のCRTディスプレイモニタ等で再現するためには、HDRデジタル画像を8ビット以下のデジタル画像(以下、LDR(Low Dynamic Range)デジタル画像)に圧縮する必要がある。また、人間の眼が感知できる輝度の範囲は、汎用の表示デバイス、プリントデバイスが再現可能な輝度を遥かに超える高輝度領域まで及ぶ。したがって、汎用のCRTディスプレイで再現されたLDRデジタル画像の映像を見ると、違和感を覚えることがある。   A digital image is reproduced as an image by a display device such as a CRT display monitor, a liquid crystal display monitor, a plasma display monitor, or a print device. However, a display device such as a CRT display monitor and a print device each have a limit in the brightness that can be expressed. For example, each channel of a general-purpose CRT display monitor and a liquid crystal display monitor expresses a gradation with 8 bits. On the other hand, each channel of a digital image can record data of more than 8 bits such as 16 bits and 24 bits. Therefore, in order to reproduce a digital image with a gradation exceeding 8 bits (hereinafter referred to as HDR (High Dynamic Range) digital image) on a general-purpose CRT display monitor or the like, the HDR digital image is converted into a digital image with 8 bits or less (hereinafter referred to as “digital image”). Compression to LDR (Low Dynamic Range) digital image). In addition, the range of luminance that can be sensed by the human eye extends to a high-luminance region that far exceeds the luminance that can be reproduced by general-purpose display devices and printing devices. Therefore, when the video of the LDR digital image reproduced on a general-purpose CRT display is viewed, the user may feel uncomfortable.

従来のHDRデジタル画像の階調圧縮方法を2種類に大別すると、HDRデジタル画像の全ての画素に対して同じ圧縮関数を用いて処理するグローバルオペレータと、HDRデジタル画像の画素毎に圧縮関数が変化するローカルオペレータとがある。グローバルオペレータは、HDRデジタル画像の画素の輝度を所定の輝度値の範囲に分けて輝度ヒストグラムを作成し、この輝度ヒストグラムに基づきHDRデジタル画像の画素の輝度を圧縮する(例えば、非特許文献1参照)。一方、ローカルオペレータは、HDRデジタル画像の輝度成分とその低周波成分とを用いることにより、アナログ写真技術で用いられる覆い焼き、焼き込みに類似した効果を得る(例えば、非特許文献2参照)。
“A Visibility Matching Tone Reprodution Operator for High Dynamic Range Scenes” IEEE Transactions on Visualization and Computer graphics, 1997, Vol.3, No.4, P291−306 “Photographic Tone Reproduction for Digital Images” ACM Transactions on Graphics, JULY 2002, Vol.21, No.3
The conventional HDR digital image gradation compression method is roughly divided into two types: a global operator that processes all the pixels of the HDR digital image using the same compression function, and a compression function for each pixel of the HDR digital image. There are local operators that change. The global operator creates a luminance histogram by dividing the luminance of the pixels of the HDR digital image into a predetermined luminance value range, and compresses the luminance of the pixels of the HDR digital image based on the luminance histogram (for example, see Non-Patent Document 1). ). On the other hand, the local operator obtains an effect similar to dodging and burning used in the analog photographic technique by using the luminance component of the HDR digital image and its low frequency component (see, for example, Non-Patent Document 2).
“A Visibility Matching Tone Reproduction Operator for High Dynamic Range Sciences” IEEE Transactions on Visualization and Computer graphics, 1997. 3, no. 4, P291-306 “Photographic Tone Production for Digital Images” ACM Transactions on Graphics, JULY 2002, Vol. 21, no. 3

しかしながら、グローバルオペレータによりHDRデジタル画像を階調圧縮すると、デジタル画像のハイライト部分(入射光の正反射ベクトルと視覚ベクトルとがなす角度が0°〜10°付近の部分)の大きさが変動する。ハイライト部分の大きさは、対象物の材質感及び形状の曲率に影響を与える。例えば、ハイライト部分の大きさが比較的小さくなると、対象物が金属質ではなくゴム質であるかのように表現される。また、ハイライト部分の大きさが比較的大きくなると、画素が白飛びし、対象物の形状の曲率が表現できなくなる。また、グローバルオペレータによりHDRデジタル画像を階調圧縮すると、デジタル画像のシェード部分(入射光の正反射ベクトルと視覚ベクトルとがなす角度が30°以上の部分)の輝度の階調が変動する。シェード部分の輝度の階調は、対象物の形状の曲率に影響を与える。例えば、輝度の階調が緩やかになると、形状の曲率が緩やかな印象を与える。また、輝度の階調が急になると、形状の曲率が急な印象を与える。   However, when an HDR digital image is tone-compressed by a global operator, the size of the highlight portion of the digital image (the portion where the angle formed between the regular reflection vector of incident light and the visual vector is around 0 ° to 10 °) varies. . The size of the highlight portion affects the texture of the object and the shape curvature. For example, when the size of the highlight portion is relatively small, the object is expressed as if it is rubber instead of metal. In addition, when the size of the highlight portion is relatively large, the pixels are blown out and the curvature of the shape of the object cannot be expressed. Further, when the HDR digital image is subjected to gradation compression by a global operator, the luminance gradation of the shade portion of the digital image (the portion formed by the regular reflection vector of incident light and the visual vector is 30 ° or more) varies. The luminance gradation of the shade portion affects the curvature of the shape of the object. For example, when the luminance gradation becomes gentle, the shape curvature gives a gentle impression. Further, when the luminance gradation becomes steep, the curvature of the shape gives a steep impression.

ローカルオペレータによりHDRデジタル画像を階調圧縮すると、ハイライト部分の輝度のバランスが崩れ、対象物の形状の曲率に影響を与える。また、シェード部分の輝度の階調が全体的に変動し、対象物の形状の曲率に影響を与える。   When the HDR digital image is tone-compressed by a local operator, the balance of the brightness of the highlight portion is lost, and the curvature of the shape of the object is affected. In addition, the luminance gradation of the shade portion as a whole fluctuates and affects the curvature of the shape of the object.

本発明は、上記に鑑みてなされたものであって、対象物の材質感及び形状の曲率を再現できるデジタル画像の階調圧縮方法及び階調圧縮装置の提供を目的とする。   The present invention has been made in view of the above, and an object of the present invention is to provide a gradation compression method and a gradation compression apparatus for a digital image capable of reproducing the material texture and shape curvature of an object.

前記目的を達成するため、第1の発明は、デジタル画像の階調圧縮方法において、
デジタル画像の画素の輝度に応じて、デジタル画像の領域を高輝度領域と低輝度領域とに分割する画像領域分割工程と、
光の刺激を対数的に感知する網膜細胞の応答特性により前記高輝度領域の画素の輝度を階調圧縮する網膜応答圧縮工程と、
を備えることを特徴とする。
In order to achieve the above object, a first invention provides a gradation compression method for a digital image,
An image region dividing step for dividing the region of the digital image into a high luminance region and a low luminance region according to the luminance of the pixel of the digital image;
A retinal response compression step for gradation-compressing the luminance of the pixels in the high-luminance region according to the response characteristic of retinal cells that logarithmically sense light stimulation;
It is characterized by providing.

第2の発明は、第1の発明に係るデジタル画像の階調圧縮方法において、前記画像領域分割工程は、デジタル画像の画素の輝度に応じて、デジタル画像の領域を高輝度領域と中輝度領域と低輝度領域とに分割し、
前記網膜応答圧縮工程は、光の刺激を対数的に感知する網膜細胞の応答特性により前記高輝度領域及び前記中輝度領域の画素の輝度を階調圧縮し、
前記網膜応答圧縮工程により階調圧縮される前の第1の輝度と、前記網膜応答圧縮工程により階調圧縮された後の第2の輝度とを加重平均することにより、前記中輝度領域の画素の輝度を修正する中輝度領域加重平均工程を備えることを特徴とする。
According to a second aspect of the present invention, in the gradation compression method for a digital image according to the first aspect, the image region dividing step is configured such that the region of the digital image is divided into a high luminance region and a medium luminance region according to the luminance of the pixel of the digital image. And divided into low brightness areas,
In the retinal response compression step, the luminance of the pixels in the high-brightness region and the medium-brightness region is grayscale-compressed according to the response characteristics of retinal cells that logarithmically sense light stimulation,
Pixels in the medium luminance region are obtained by weighted averaging the first luminance before gradation compression by the retinal response compression step and the second luminance after gradation compression by the retinal response compression step. And a medium luminance region weighted average process for correcting the luminance of the medium.

このように、前記網膜応答圧縮工程により階調圧縮される前の第1の輝度と、前記網膜応答圧縮工程により階調圧縮された後の第2の輝度とを加重平均し、前記中輝度領域の画素の輝度を修正することにより、階調圧縮後の輝度の階調を連続的につなぐことができる。   In this way, the first luminance before gradation compression by the retinal response compression step and the second luminance after gradation compression by the retinal response compression step are weighted and averaged, and the medium luminance region By correcting the luminance of these pixels, the luminance gradation after gradation compression can be continuously connected.

第3の発明は、第1又は第2の発明に係るデジタル画像の階調圧縮方法において、前記画像領域分割工程によりデジタル画像の領域を分割する前に、デジタル画像の画素の輝度を線形補正する線形補正工程を更に含むことを特徴とする。   According to a third aspect of the present invention, in the gradation compression method for a digital image according to the first or second aspect, the luminance of the pixel of the digital image is linearly corrected before the region of the digital image is divided by the image region dividing step. The method further includes a linear correction step.

第4の発明は、第1〜第3いずれかの発明に係るデジタル画像の階調圧縮方法において、 前記網膜応答圧縮工程により階調圧縮される前の前記第1の輝度の対数値と前記網膜応答圧縮工程により階調圧縮された後の前記第2の輝度の対数値との入出力関係を示す入出力応答曲線の傾きが、前記第1の輝度の対数値と前記第2の輝度の対数値とが同一であるとする入出力不変直線と交差する点において、前記入出力不変直線の傾きと略一致することを特徴とする。   According to a fourth aspect of the present invention, in the gradation compression method for a digital image according to any one of the first to third aspects of the invention, the logarithmic value of the first luminance before the gradation compression by the retinal response compression step and the retina The slope of the input / output response curve indicating the input / output relationship with the logarithmic value of the second luminance after gradation compression in the response compression step is the pair of the logarithmic value of the first luminance and the second luminance. The input / output invariant straight line substantially coincides with the slope of the input / output invariant straight line at a point where the numerical value is the same.

第5の発明は、第1〜第4いずれかの発明に係るデジタル画像の階調圧縮方法において、 L*a*b*色空間における色のベクトルの方向を維持しつつ、輝度をXYZ色空間で階調圧縮し、色調をL*a*b*色空間で相対的に保持することを特徴とする。   According to a fifth aspect of the present invention, in the gradation compression method for a digital image according to any one of the first to fourth aspects of the invention, the luminance is maintained in the XYZ color space while maintaining the color vector direction in the L * a * b * color space. The tone compression is performed by the color tone, and the color tone is relatively maintained in the L * a * b * color space.

このように、L*a*b*色空間における色のベクトルの方向を維持しつつ、輝度をXYZ色空間で階調圧縮し、色調をL*a*b*色空間で相対的に保持することにより、対象物の色の印象を再現できる。また、完全拡散反射面の輝度(Y=100)を閾値として利用できる。   Thus, while maintaining the direction of the color vector in the L * a * b * color space, the luminance is tone-compressed in the XYZ color space, and the color tone is relatively retained in the L * a * b * color space. Thus, the color impression of the object can be reproduced. Further, the luminance (Y = 100) of the complete diffuse reflection surface can be used as a threshold value.

第6の発明は、デジタル画像の階調圧縮装置において、デジタル画像の画素の輝度に応じて、デジタル画像の領域を高輝度領域と低輝度領域とに分割する画像領域分割手段と、
光の刺激を対数的に感知する網膜細胞の応答特性により前記高輝度領域の画素の輝度を階調圧縮する網膜応答圧縮手段と、
を備えることを特徴とする。
According to a sixth aspect of the present invention, there is provided a digital image gradation compression apparatus, wherein the digital image region is divided into a high luminance region and a low luminance region in accordance with the luminance of the pixel of the digital image;
Retinal response compression means for gradation-compressing the luminance of the pixels in the high-luminance region based on response characteristics of retinal cells that logarithmically sense light stimulation;
It is characterized by providing.

本発明によれば、人間の眼が光を感じる過程をデジタル画像の階調圧縮に適用することにより、対象物の材質感及び形状の曲率を再現できるデジタル画像の階調圧縮方法及び階調圧縮装が得られる。   ADVANTAGE OF THE INVENTION According to this invention, the gradation compression method and gradation compression of a digital image which can reproduce the material texture and the curvature of a shape of an object by applying the process in which human eyes feel light to the gradation compression of a digital image. The costume is obtained.

以下、図面を参照して、本発明を実施するための最良の形態の説明を行う。   The best mode for carrying out the present invention will be described below with reference to the drawings.

図1は、本発明に係る画像階調圧縮方法の一実施例の工程を示す工程図である。これらの工程は、例えば、マイクロコンピュータにより実現される。本実施例の画像階調圧縮方法は、図1に示すように、前処理工程10と、線形補正工程20と、画像領域分割工程30と、網膜応答圧縮工程40と、中輝度領域加重平均工程50と、色調階調圧縮工程60とからなる。本実施例の画像階調圧縮方法は、人間の眼が光を感じる過程をデジタル画像の階調圧縮方法に適用する。以下、各工程について詳説するが、最初に、人間の眼が光を感知する過程と本実施例の各工程の対応関係について説明する。   FIG. 1 is a process diagram showing the steps of an embodiment of an image gradation compression method according to the present invention. These processes are realized by, for example, a microcomputer. As shown in FIG. 1, the image gradation compression method of the present embodiment includes a pre-processing step 10, a linear correction step 20, an image region dividing step 30, a retinal response compression step 40, and a medium luminance region weighted average step. 50 and a tone gradation compression process 60. The image gradation compression method of the present embodiment applies the process in which human eyes feel light to the digital image gradation compression method. Hereinafter, each process will be described in detail. First, the correspondence between the process of detecting light by the human eye and each process of this embodiment will be described.

人間の眼は、明るい環境下では眼に入る光量を減らすため瞳孔が小さくなり、暗い環境下では眼に入る光量を増やすため瞳孔が大きくなる。線形補正工程20は、人間の眼が環境により瞳孔の直径を調整し眼に入る光量を調整する過程に対応する。   The human eye has a small pupil to reduce the amount of light entering the eye in a bright environment, and the pupil is large to increase the amount of light entering the eye in a dark environment. The linear correction step 20 corresponds to a process in which the human eye adjusts the diameter of the pupil according to the environment and adjusts the amount of light entering the eye.

また、人間の眼は、視野の中に輝度の高い高輝度領域と輝度の低い低輝度領域とが存在すると、高輝度領域が映る部分の網膜細胞において光の輝度に対する感度が低下する所謂部分順応が起きる。部分順応が起きると、高輝度領域が映る部分の網膜細胞だけではなく、近接する網膜細胞でも、光の輝度に対する感度が低下する。すなわち、高輝度領域と低輝度領域との境目となる中輝度領域が映る部分の網膜細胞も、部分順応の影響を受ける。画像領域分割工程30は、部分順応が起きる高輝度領域と部分順応の影響を受ける中輝度領域と部分順応が起きない低輝度領域とに画像の領域を分割する。また、網膜応答圧縮工程40は、光の刺激を対数的に感知する網膜細胞の応答特性により、部分順応が起きる高輝度領域及び部分順応の影響を受ける中輝度領域の画素の輝度を階調圧縮する。また、中輝度領域加重平均工程50は、中輝度領域が受ける部分順応の影響を緩和する。以下、各工程について詳説する。   In addition, when the human eye has a high-brightness area with high brightness and a low-brightness area with low brightness in the visual field, the sensitivity to light brightness is reduced in the retinal cells where the high-brightness area appears. Happens. When partial adaptation occurs, the sensitivity to the luminance of light decreases not only in the portion of the retinal cell in which the high luminance region is reflected but also in the adjacent retinal cell. That is, the retinal cells in the portion where the medium luminance region that is the boundary between the high luminance region and the low luminance region is also affected by the partial adaptation. The image region dividing step 30 divides an image region into a high luminance region where partial adaptation occurs, a middle luminance region affected by partial adaptation, and a low luminance region where partial adaptation does not occur. Further, the retinal response compression step 40 performs gradation compression on the luminance of pixels in a high luminance region where partial adaptation occurs and a middle luminance region affected by partial adaptation, based on response characteristics of retinal cells that logarithmically detect light stimulation. To do. In addition, the medium luminance area weighted average process 50 mitigates the influence of partial adaptation on the medium luminance area. Hereinafter, each step will be described in detail.

前処理工程10は、後の各工程で必要となるデータを作成する。まず、HDRデジタル画像の色のデータを、XYZ表色系及びL*a*b*表色系の両方の表色系で用意する。XYZ表色系においては、Yの値が輝度、(X,Z)のベクトルの方向が色相、(X,Z)のベクトルの大きさが彩度を表現する。XYZ表色系は、完全拡散反射面(Perfect Reflecting Diffuser)の輝度Yを100として正規化されている。また、L*a*b*表色系においては、L*の値が明度、(a*,b*)のベクトルの方向が色相、(a*,b*)のベクトルの大きさが彩度を表現する。XYZ表色系とL*a*b*表色系との間の色変換式は、JISZ8729が規定する式を適用する。ここで、後の説明を簡略化するため、前処理工程10により作成したXYZ表色系の色のデータとL*a*b*表色系の色のデータを、それぞれ、(X,Y,Z)、(L*,a*,b*)と表現する。 In the preprocessing step 10, data necessary for each subsequent step is created. First, color data of the HDR digital image is prepared in both the XYZ color system and the L * a * b * color system. In the XYZ color system, the Y value represents luminance, the (X, Z) vector direction represents hue, and the (X, Z) vector size represents saturation. The XYZ color system is normalized with the luminance Y of a perfect diffusing reflective surface (Perfect Reflecting Diffuser) as 100. In the L * a * b * color system, the value of L * is lightness, the vector direction of (a *, b *) is hue, and the vector size of (a *, b *) is saturation. Express. As a color conversion formula between the XYZ color system and the L * a * b * color system, the formula defined by JISZ8729 is applied. Here, in order to simplify the following description, the color data of the XYZ color system and the color data of the L * a * b * color system created by the preprocessing step 10 are respectively (X 0 , Y 0 , Z 0 ), (L * 0 , a * 0 , b * 0 ).

線形補正工程20は、前述したように、人間の目が環境により瞳孔の直径を調整し目に入る光量を調整する過程に対応する。   As described above, the linear correction step 20 corresponds to the process in which the human eye adjusts the diameter of the pupil according to the environment and adjusts the amount of light entering the eye.

人間の目が対象物を見るとき、瞳孔の直径がdからdへ変化すると、瞳孔の面積は(d)2πから(d/2)πへ変化する。このとき、人間の目に入る光量は、瞳孔の面積に比例するため、瞳孔の直径が変化する前の光量のd /d になる。瞳孔の直径がdからdへ変化した後の各画素の輝度Yは、数式1により算出できる。 When the human eye viewing the object, the diameter of the pupil changes from d 0 to d 1, the area of the pupil varies (d 0/2) from 2π to (d 1/2) 2 π . At this time, since the amount of light entering the human eye is proportional to the area of the pupil, it becomes d 1 2 / d 0 2 of the amount of light before the pupil diameter changes. The luminance Y 1 of each pixel after the pupil diameter changes from d 0 to d 1 can be calculated by Equation 1.

Figure 2008234315
線形補正工程20は、数式1から明らかなように、瞳孔の直径dをdより大きく設定すると、各画素の輝度を高く補正し、瞳孔の直径dをdより小さく設定すると、各画素の輝度を低く補正する。尚、瞳孔の直径dは、ユーザが適当な値を入力できる。
Figure 2008234315
Linear correction process 20, as is clear from Equation 1, when the diameter d 1 of the pupil is greater than d 0, the brightness of each pixel high corrected, if the diameter d 1 of the pupil is set to be smaller than d 0, each The pixel brightness is corrected to be low. The diameter d 1 of the pupil, the user can input an appropriate value.

瞳孔の直径dは、線形補正工程20により補正される前のHDRデジタル画像の光量をLbkとすると、瞳孔の直径と光量との関係を示すクロフォードの式(数式2参照)から算出できる。 The diameter d 0 of the pupil, when the amount of previous HDR digital image to be corrected by the linear correction step 20 and L bk, can be calculated from the Crawford equation showing the relationship between the pupil diameter and the light amount (see Equation 2) .

Figure 2008234315
また、線形補正工程20により補正される前のHDRデジタル画像の光量Lbkは、HDRデジタル画像の各画素の輝度Yを算出平均(Arithmetic Average)する式(数式3参照)、又はHDRデジタル画像の各画素の輝度Yを幾何平均(Geometric Average)する式(数式4参照)から算出できる。尚、数式3及び数式4において、nはHDRデジタル画像の画素の総数、δは対数値が発散することを防ぐための微少な値である。
Figure 2008234315
Further, the light amount L bk of the HDR digital image before being corrected by the linear correction step 20 is an equation (see Equation 3) for calculating the luminance Y 0 of each pixel of the HDR digital image (see Equation 3), or the HDR digital image. The luminance Y 0 of each pixel can be calculated from an equation (see Equation 4) that geometrically averages (Geometric Average). In Equations 3 and 4, n is the total number of pixels of the HDR digital image, and δ is a minute value for preventing the logarithmic value from diverging.

Figure 2008234315
Figure 2008234315

Figure 2008234315
数式4は、各画素の輝度Yの対数を平均化するため、各画素の輝度Yを直接平均化する数式3と比較して、輝度が異常に高い画素が存在する場合であっても、その影響を低減できる。
Figure 2008234315
Equation 4, in order to average the logarithmic luminance Y 0 of each pixel, as compared with Equation 3 to directly averaging the luminance Y 0 of each pixel, even when the luminance is present abnormally high pixel , The effect can be reduced.

以上のように、本実施例の線形補正工程20は、瞳孔の直径dをユーザが入力すると、数式1に従って、HDRデジタル画像の各画素の輝度YをYへ補正する。また、ユーザは、瞳孔の直径dを入力することの代わりに、瞳孔の直径を変更しないこと、つまり各画素の輝度Yを補正しないことを選択できる。尚、以下の説明では、説明を簡略化するため、ユーザが各画素の輝度Yを補正しないことを選択した場合であっても、各画素の輝度をYではなくYと表現する。 As described above, when the user inputs the pupil diameter d 1 , the linear correction step 20 of the present embodiment corrects the luminance Y 0 of each pixel of the HDR digital image to Y 1 according to Equation 1. The user, instead of entering the diameter d 1 of the pupil, that does not change the diameter of the pupil may choose to words not corrected luminance Y 0 of each pixel. In the following description, for simplification of the description, the user even when you choose not to correct the luminance Y 0 of each pixel, representing a and Y 1 rather than Y 0 luminance of each pixel.

画像領域分割工程30は、上述したように、人間の眼の網膜細胞が部分順応する過程の一部に対応する。すなわち、画像領域分割工程30は、部分順応が起きる高輝度領域と、部分順応の影響を受ける中輝度領域と、部分順応が起きない低輝度領域とを分割する。そこで、画像領域分割工程30は、以下のステップにより、各画素を高輝度領域と、中輝度領域と、低輝度領域とに分割する。   As described above, the image region dividing step 30 corresponds to a part of the process in which the retinal cells of the human eye partially adapt. That is, the image region dividing step 30 divides a high luminance region where partial adaptation occurs, a medium luminance region affected by partial adaptation, and a low luminance region where partial adaptation does not occur. Therefore, the image region dividing step 30 divides each pixel into a high luminance region, a medium luminance region, and a low luminance region by the following steps.

第1のステップでは、数式5に従って、各画素の輝度Yを閾値Lextでオフセットした値Lを算出する。ここで、Lextは、画像全体に対する低輝度領域の占める割合を示すパラメータである。Lextが大きくなるほど、低輝度領域の占める割合が増える。Lextの値は、ユーザが適当な値を入力できるが、経験的に完全拡散反射面の輝度(100)とすることが好ましい。 In the first step, a value L H obtained by offsetting the luminance Y 1 of each pixel by the threshold value L ext is calculated according to Equation 5. Here, L ext is a parameter indicating the ratio of the low-luminance area to the entire image. As L ext increases, the proportion of the low luminance region increases. Although the user can input an appropriate value for the value of L ext , it is preferable to empirically set the luminance (100) of the complete diffuse reflection surface.

Figure 2008234315
第2のステップでは、数式6に従って、LからLを算出する。尚、数式6において、σは、ユーザが適当な値を入力でき、高輝度領域及び中輝度領域の広がりを表現する。σの値が大きくなるほど、画像全体に対する低輝度領域の占める割合が減る。
Figure 2008234315
In a second step, according to Equation 6, and calculates the L A from L H. In Equation 6, σ can input an appropriate value by the user, and expresses the spread of the high luminance region and the medium luminance region. As the value of σ increases, the ratio of the low-luminance area to the entire image decreases.

Figure 2008234315
第3のステップでは、第2のステップで算出したLに応じて、高輝度領域、中輝度領域、低輝度領域を決める。具体的には、Lの値が0の領域を低輝度領域、Lの値が0超b以下の領域を中輝度領域、Lの値がb超の領域を高輝度領域とする。中輝度領域と高輝度領域とを分割する閾値bは、ユーザが適当な値を入力できるが、経験的にLextの1/10倍の値とすることが好ましい。つまり、Lextの値として完全拡散反射面の輝度(100)を使用した場合、bの値は10が好ましい。
Figure 2008234315
In a third step, in accordance with the L A calculated in the second step, the high luminance region, the middle luminance region, it determines the low-luminance region. Specifically, L A low luminance region a region value is 0, the value of L A is 0 super b following areas the middle luminance region, L A value b than in the region of the high luminance region of. Although the user can input an appropriate value as the threshold value b for dividing the medium luminance region and the high luminance region, it is preferable that the threshold value b is empirically set to 1/10 times L ext . That is, when the brightness (100) of the perfect diffuse reflection surface is used as the value of L ext, the value of b is preferably 10.

また、画像領域分割工程30は、高輝度領域、中輝度領域、低輝度領域以外の第4の領域を設定することができる。例えば、HDRデジタル画像が工業製品の意匠デザインである場合、色を表現する各チャンネルとは別に、αチャンネルをHDRデジタル画像に設定することにより、工業製品以外の領域、つまり背景の領域を第4の領域に設定できる。具体的には、工業製品の領域をα=1とし、背景の領域をα=0とする補助データをHDRデジタル画像に記録することにより、α=0の領域を第4の領域とする。この第4の領域は、部分順応の影響を受けない領域とし、Lの値を0とする。第4の領域を部分順応の影響を受けない領域とした理由は、工業製品の意匠デザインにおいては、ユーザが工業製品の材質感、形状の曲率に着目し、背景の材質感、形状の曲率には着目しないからである。このように、αチャンネルを設定することにより、後述する網膜応答圧縮工程40の対象となる領域を減らし、計算速度を向上できる。 The image region dividing step 30 can set a fourth region other than the high luminance region, medium luminance region, and low luminance region. For example, when the HDR digital image is a design design of an industrial product, the region other than the industrial product, that is, the background region is set to the fourth by setting the α channel in the HDR digital image separately from each channel expressing the color. Can be set in the area. Specifically, by recording auxiliary data in which the industrial product area is α = 1 and the background area is α = 0 in the HDR digital image, the area where α = 0 is set as the fourth area. The fourth region is a region that is not affected by the partial adaptation, the value of L A and 0. The reason why the fourth area is not affected by the partial adaptation is that, in the design of industrial products, the user pays attention to the material texture and shape curvature of the industrial product, and the background material texture and shape curvature. Is not paying attention. In this way, by setting the α channel, it is possible to reduce the area to be a target of the retinal response compression process 40 described later and improve the calculation speed.

図2は、画像領域分割工程30によりHDRデジタル画像の領域を分割する過程の一例を示す図である。図2(a)は、本実施例の工業製品の意匠デザインである。図2(b)は、Lの分布を示す図である。図2(c)は、Lの分布を示す図である。図2(d)は、高輝度領域、中輝度領域、低輝度領域、第4の領域を示す図である。 FIG. 2 is a diagram illustrating an example of a process of dividing an HDR digital image area by the image area dividing step 30. FIG. 2A is a design design of the industrial product of this example. 2 (b) is a diagram showing a distribution of L H. 2 (c) is a diagram showing the distribution of L A. FIG. 2D is a diagram illustrating a high luminance region, a medium luminance region, a low luminance region, and a fourth region.

以上のように、本実施例の画像分割領域工程30は、第1〜第3のステップにより、各画素を少なくとも高輝度領域と、中輝度領域と、低輝度領域とに分割する。   As described above, the image dividing region process 30 of the present embodiment divides each pixel into at least a high luminance region, a medium luminance region, and a low luminance region by the first to third steps.

網膜応答圧縮工程40は、前述のように、人間の眼の網膜細胞が部分順応する過程の一部に対応する。すなわち、網膜応答圧縮工程40は、光の刺激を対数的に感知する網膜細胞の応答特性により、部分順応が起きる高輝度領域及び部分順応の影響を受ける中輝度領域の画素の輝度Yを階調圧縮する。 As described above, the retinal response compression process 40 corresponds to a part of the process in which the retinal cells of the human eye partially adapt. That, retinal response compression step 40, the response characteristic of retinal cells for sensing the stimulation of light logarithmically, floors luminance Y 1 of the pixel of the luminance regions in affected high-luminance region and partial adaptation of partial adaptation occurs Tone compression.

人間の目の網膜細胞の応答特性は、網膜細胞の応答電圧をRとし、その網膜細胞の応答電圧Rの最大値、最小値をRmax、Rminとし、網膜細胞が受ける刺激強度をIとすると、近似的に数式7で表現できる。尚、数式7において、σはRminとRmaxとの幾何平均である準飽和定数(semi−saturation constant)、nは刺激強度Iに対する網膜細胞の応答電圧Rの増加指数である。増加指数nの値は、個人差、環境差があるが、一般的に0.7〜2.0である。 The response characteristic of the retinal cell of the human eye is that the response voltage of the retinal cell is R, the maximum and minimum values of the response voltage R of the retinal cell are R max and R min, and the stimulation intensity received by the retinal cell is I. Then, it can be approximately expressed by Equation 7. In Equation 7, σ is a semi-saturation constant that is a geometric mean of R min and R max, and n is an increase index of the response voltage R of the retinal cell to the stimulation intensity I. The value of the increase index n is generally 0.7 to 2.0, although there are individual differences and environmental differences.

Figure 2008234315
網膜応答圧縮工程40は、数式7を利用して、高輝度領域及び中輝度領域の画素の輝度Yを圧縮する。すなわち、数式7における網膜細胞が受ける刺激強度Iを、網膜応答圧縮工程40により階調圧縮される前の第1の輝度Yに置き換え、数式7における網膜細胞の応答電圧Rを、網膜応答圧縮工程40により階調圧縮された後の第2の輝度Yに置き換える。このように数式7を利用することにより、高輝度領域及び中輝度領域の各画素の輝度YをYへ圧縮する数式8を得る。尚、数式8において、Ymax、Yminは、それぞれ、網膜細胞の応答電圧Rの最大値Rmax、最小値Rminに対応し、ユーザが適当な値を入力できる。また、増加指数nの値は、0.7〜2.0の範囲内でユーザが適当な値を選択できる。
Figure 2008234315
Retinal response compression step 40, using Equation 7, compresses the luminance Y 1 of the pixel in the high luminance region and the medium luminance area. That is, the stimulus intensity I received by the retinal cell in Equation 7 is replaced with the first luminance Y 1 before gradation compression by the retinal response compression step 40, and the response voltage R of the retinal cell in Equation 7 is replaced with the retinal response compression. replaced by step 40 to the second luminance Y 2 after being grayscale compression. By using Equation 7 in this way, Equation 8 is obtained that compresses the luminance Y 1 of each pixel in the high luminance region and the medium luminance region into Y 2 . In Equation 8, Y max and Y min correspond to the maximum value R max and minimum value R min of the response voltage R of the retinal cell, respectively, and the user can input appropriate values. Further, the value of the increase index n can be selected by the user within a range of 0.7 to 2.0.

Figure 2008234315
図3は、網膜応答圧縮工程40により階調圧縮される前の第1の輝度Yの対数値と、網膜応答圧縮工程40により階調圧縮された後の第2の輝度Yの対数値との入出力関係を示す曲線(以下、入出力応答曲線)の一例を示す図である。図3では、Ymax=200、Ymin=1の入出力応答曲線を、増加指数n=0.5、n=0.8487、n=1.0の3つの場合について図示した。また、図3では、入出力応答曲線に加えて、第1の輝度Yの対数値と第2の輝度Yの対数値とが同一であるとする入出力不変直線を図示した。尚、Ymax=200、Ymin=1のとき、σの値は、数式7から14.14となる。
Figure 2008234315
FIG. 3 shows a logarithmic value of the first luminance Y 1 before gradation compression by the retinal response compression step 40 and a logarithmic value of the second luminance Y 2 after gradation compression by the retinal response compression step 40. It is a figure which shows an example of the curve (henceforth an input / output response curve) which shows the input / output relationship. In FIG. 3, input / output response curves with Y max = 200 and Y min = 1 are shown for three cases of increasing exponents n = 0.5, n = 0.8487, and n = 1.0. Further, in FIG. 3, in addition to the input and output response curve illustrating the output invariant straight first and logarithm of luminance Y 1 and the second logarithm of the luminance Y 2 is assumed to be identical. When Y max = 200 and Y min = 1, the value of σ is expressed by Equation 7 to 14.14.

網膜応答圧縮工程40においては、光の刺激を対数的に感知する網膜細胞の応答特性により、輝度を階調圧縮する。このとき、入出力応答曲線は、階調圧縮前後でデジタル画像の対象物の材質感、及び形状の曲率を維持するため、入出力不変直線に対して漸近することが好ましい。そこで、増加指数nの値は、以下で説明するステップにより、算出する。   In the retinal response compression step 40, the luminance is gradation-compressed based on the response characteristics of retinal cells that logarithmically sense light stimulation. At this time, the input / output response curve is preferably asymptotic to the input / output invariant straight line in order to maintain the material texture and the curvature of the shape of the object of the digital image before and after gradation compression. Therefore, the value of the increase index n is calculated by the steps described below.

第1のステップでは、入出力応答曲線と入出力不変直線とが交差する点(第1の輝度Y=σ近傍)における入出力応答曲線の傾きgを、数式9を用いて最小二乗法により算出する。傾きgは、図3から明らかなように、増加指数nの関数である。尚、数式9において、Sはサンプリング数である。 In the first step, the slope g of the input / output response curve at the point where the input / output response curve intersects with the input / output invariant straight line (in the vicinity of the first luminance Y 1 = σ) is calculated by the least square method using Equation 9. calculate. The slope g is a function of the increase index n, as is apparent from FIG. In Equation 9, S is the sampling number.

Figure 2008234315
第2のステップでは、入出力応答曲線と入出力不変直線とが交差する点で両方の傾きが略一致するときの増加指数nの値を最急降下法により算出する。すなわち傾きgが略1になるときの、増加指数nの値を、最急降下法により算出する。最急降下法による算出では、「g−1」の絶対値が0.001以下、より好ましくは0.0001以下になるまで計算を繰り返す。
Figure 2008234315
In the second step, the value of the increase index n is calculated by the steepest descent method when the slopes of the input / output response curve and the input / output invariant straight line substantially coincide with each other. That is, the value of the increase index n when the slope g becomes approximately 1 is calculated by the steepest descent method. In the calculation by the steepest descent method, the calculation is repeated until the absolute value of “g−1” is 0.001 or less, more preferably 0.0001 or less.

このように、第1〜第2のステップにより、入出力応答曲線が入出力不変直線に漸近するときの増加指数nの値を算出する。例えば、Ymax=200、Ymin=1の場合、増加指数nの値は、図3から明らかなように、0.8487である。 Thus, the value of the increase index n when the input / output response curve asymptotically approaches the input / output invariant straight line is calculated by the first to second steps. For example, when Y max = 200 and Y min = 1, the value of the increase index n is 0.8487, as is apparent from FIG.

以上のように、本実施例の網膜応答圧縮工程40は、数式8に従って、部分順応の影響を受ける高輝度領域及び中輝度領域の各画素の輝度YをYへ対数的に階調圧縮する。 As described above, the retinal response compression process 40 of this embodiment performs logarithmic compression of the luminance Y 1 of each pixel in the high luminance region and the middle luminance region affected by the partial adaptation to Y 2 according to Equation 8. To do.

中輝度領域加重平均工程50は、前述のように、人間の眼の細胞が部分順応する過程の一部に対応する。すなわち、中輝度領域加重平均工程50は、中輝度領域が受ける部分順応の影響を緩和することに対応する。   As described above, the medium luminance region weighted average process 50 corresponds to a part of the process in which the cells of the human eye partially adapt. That is, the medium luminance area weighted average process 50 corresponds to alleviating the influence of partial adaptation on the medium luminance area.

具体的には、中輝度領域について、網膜応答圧縮工程40により階調圧縮される前の第1の輝度Yと、網膜応答圧縮工程40により階調圧縮された後の輝度Yとを加重平均し、中輝度領域における部分順応の影響を緩和する。部分順応の影響を緩和した後の第3の輝度Yは、数式10により算出できる。 Specifically, for the middle luminance region, the first luminance Y 1 before gradation compression by the retinal response compression step 40 and the luminance Y 2 after gradation compression by the retinal response compression step 40 are weighted. Average to mitigate the effect of partial adaptation in the medium luminance region. The third luminance Y 3 after mitigating the effect of partial adaptation can be calculated by Equation 10.

Figure 2008234315
中輝度領域加重平均工程50は、数式10から明らかなように、同じ中輝度領域内の画素であっても、輝度が高い画素は、部分順応の影響を比較的大きく受け、輝度が低い画素は、部分順応の影響を比較的小さく受けるように修正する。このように、中輝度領域の画素の輝度を修正することにより、階調圧縮後の輝度の階調を連続的につなぐことができる。
Figure 2008234315
As is clear from Equation 10, the medium luminance region weighted averaging step 50 is relatively affected by partial adaptation even if the pixels are in the same medium luminance region, and the pixels with low luminance are The correction is made so that the effect of partial adaptation is relatively small. Thus, by correcting the luminance of the pixels in the middle luminance region, the luminance gradation after gradation compression can be continuously connected.

以上のように、本実施例の中輝度加重平均工程50は、数式10に従って、中輝度領域が受ける部分順応の影響を緩和する。   As described above, the medium luminance weighted average process 50 according to the present embodiment mitigates the influence of partial adaptation on the medium luminance region in accordance with Equation 10.

色調階調圧縮工程60は、高輝度領域の各画素の輝度Y、中輝度領域の各画素の輝度Y、低輝度領域の各画素の輝度Yを用いて、後述する各ステップによりHDRデジタル画像の色調を階調圧縮する。 The tone gradation compression process 60 uses the luminance Y 2 of each pixel in the high luminance area, the luminance Y 3 of each pixel in the medium luminance area, and the luminance Y 1 of each pixel in the low luminance area, and performs HDR in each step described later. Tone compresses the tone of digital images.

第1のステップでは、高輝度領域の各画素の輝度Y、中輝度領域の各画素の輝度Y、低輝度領域の各画素の輝度Yを、XYZ表色系からL*a*b*表色系に変換する。XYZ表色系とL*a*b*表色系との間の色変換式は、JISZ8729が規定する式を適用する。ここで、後の説明を簡略化するため、第1のステップにより作成したL*a*b*表色系の輝度をL*と表現する。 In the first step, the luminance Y 2 of each pixel in the high luminance region, the luminance Y 3 of each pixel in the middle luminance region, and the luminance Y 1 of each pixel in the low luminance region are calculated from the XYZ color system by L * a * b. * Convert to color system. As a color conversion formula between the XYZ color system and the L * a * b * color system, the formula defined by JISZ8729 is applied. Here, in order to simplify the subsequent description, the luminance of the L * a * b * color system created in the first step is expressed as L * 1 .

第2のステップでは、前処理工程10により用意した各画素の色調(a*,b*)から階調圧縮後の色調を求める。ここでは、L*a*b*色空間が球状の均等色空間であることを利用し、(L*,a*,b*)の色のベクトルの方向を保ちつつ、彩度を変更する。すなわち、輝度がL*からL*へ階調圧縮されたことに伴い、(a*,b*)のベクトルの方向、つまり色相を維持しつつ、(a*,b*)のベクトルの大きさ、つまり彩度をL*/L*倍に変更する。このように、L*a*b*色空間における色のベクトルの方向を維持しつつ、輝度をXYZ色空間で階調圧縮し、色調をL*a*b*色空間で相対的に保持することにより、対象物の色の印象を再現できる。また、完全拡散反射面の輝度(Y=100)を閾値として利用できる。 In the second step, the color tone after gradation compression is obtained from the color tone (a 0 *, b 0 *) of each pixel prepared in the preprocessing step 10. Here, using the fact that the L * a * b * color space is a spherical uniform color space, while maintaining the direction of the color vector of (L 0 *, a 0 *, b 0 *), the saturation is increased. change. That is, with the gradation compression from L * 0 to L * 1 , the vector direction of (a 0 *, b 0 *), that is, the hue, while maintaining the hue, (a 0 *, b 0 *) ), That is, the saturation is changed to L * 1 / L * 0 times. Thus, while maintaining the direction of the color vector in the L * a * b * color space, the luminance is tone-compressed in the XYZ color space, and the color tone is relatively retained in the L * a * b * color space. Thus, the color impression of the object can be reproduced. Further, the luminance (Y = 100) of the complete diffuse reflection surface can be used as a threshold value.

第3のステップでは、第2のステップにより作成したL*a*b*表色系のデータをXYZ表色系のデータに変換する。XYZ表色系とL*a*b*表色系との間の色変換式は、JISZ8729が規定する式を適用する。XYZ表色系に変換することにより、汎用のCRTディスプレイ等でLDRデジタル画像のデータとして利用できる。   In the third step, the L * a * b * color system data created in the second step is converted into XYZ color system data. As a color conversion formula between the XYZ color system and the L * a * b * color system, the formula defined by JISZ8729 is applied. By converting to the XYZ color system, it can be used as LDR digital image data on a general-purpose CRT display or the like.

図4は、本実施例により作成したLDRデジタル画像と比較例により作成したLDRデジタル画像とを比較した図である。ここで、比較例のHDRデジタル画像の階調圧縮方法には、非特許文献2に記載の階調圧縮方法を用いた。図4(a)は、本実施例及び比較例で階調圧縮に用いた工業用製品の意匠デザインである。図4(b)は、本実施例により作成したLDRデジタル画像の図4(a)の線A−A’における画素の輝度分布を示した図である。図4(c)は、比較例により作成したLDRデジタル画像の図4(a)の線A−A’における画素の輝度分布を示した図である。   FIG. 4 is a diagram comparing the LDR digital image created by the present embodiment and the LDR digital image created by the comparative example. Here, the gradation compression method described in Non-Patent Document 2 was used as the gradation compression method of the HDR digital image of the comparative example. FIG. 4A is a design design of an industrial product used for gradation compression in the present example and the comparative example. FIG. 4B is a diagram showing the luminance distribution of the pixels along the line A-A ′ in FIG. 4A of the LDR digital image created according to the present embodiment. FIG. 4C is a diagram showing the luminance distribution of the pixels on the line A-A ′ in FIG. 4A of the LDR digital image created by the comparative example.

図4から明らかなように、比較例により作成したLDRデジタル画像の輝度分布は、ハイライト部分において輝度のバランスが維持できておらず、かつシェード部分において輝度の階調が全体的に高くなっている。これに対し、本実施例により作成したLDRデジタル画像の輝度分布は、ハイライト部分において輝度のバランスが維持できており、かつシェード部分において輝度の階調が一致している。   As apparent from FIG. 4, the luminance distribution of the LDR digital image created by the comparative example does not maintain the luminance balance in the highlight portion, and the luminance gradation generally increases in the shade portion. Yes. On the other hand, the luminance distribution of the LDR digital image created according to the present embodiment maintains the luminance balance in the highlight portion, and the luminance gradations match in the shade portion.

以上のように、本実施例の階調圧縮方法によりデジタル画像を階調圧縮すれば、比較例の場合と比較して、対象物の材質感及び形状の曲率を再現できた。   As described above, if the digital image is tone-compressed by the tone compression method of the present embodiment, the texture of the object and the curvature of the shape can be reproduced as compared with the comparative example.

以上、本発明の好ましい実施例について詳説したが、本発明は、上述した実施例に制限されることはなく、本発明の範囲を逸脱することなく、上述した実施例に種々の変形及び置換を加えることができる。   The preferred embodiments of the present invention have been described in detail above. However, the present invention is not limited to the above-described embodiments, and various modifications and substitutions can be made to the above-described embodiments without departing from the scope of the present invention. Can be added.

例えば、本実施例のデジタル画像の階調圧縮は、HDRデジタル画像をLDRデジタル画像に階調圧縮したが、デジタル画像の階調を圧縮することに用いる限り、例えば、24ビットのHDRデジタル画像を16ビットのHDRデジタル画像に階調圧縮することに用いることもできる。   For example, the gradation compression of the digital image of the present embodiment is the gradation compression of the HDR digital image into the LDR digital image. However, as long as it is used to compress the gradation of the digital image, for example, the 24-bit HDR digital image is converted. It can also be used for gradation compression into a 16-bit HDR digital image.

また、本実施例の線形補正工程20は、瞳孔の直径の値dをユーザが入力できる設定としたが、瞳孔の直径の二乗の比d /d の値をユーザが入力できる設定としても良い。瞳孔の直径の二乗の比d /d をユーザが入力することにより、dを算出するステップを省略し、計算速度を向上できる。 Further, the linear correction step 20 of the present embodiment is set so that the user can input the pupil diameter value d 1 , but the user can input the value of the pupil diameter square ratio d 1 2 / d 0 2. It is good also as a setting. By inputting the ratio d 1 2 / d 0 2 of the square of the pupil diameter, the step of calculating d 0 can be omitted, and the calculation speed can be improved.

本発明に係る画像階調圧縮方法の一実施例の工程を示す工程図である。It is process drawing which shows the process of one Example of the image gradation compression method which concerns on this invention. 画像領域分割工程30によりHDRデジタル画像の領域を分割する過程の一例を示す図である。FIG. 10 is a diagram illustrating an example of a process of dividing an HDR digital image area by an image area dividing step 30; 網膜応答圧縮工程40により階調圧縮される前の第1の輝度Yの対数値と、網膜応答圧縮工程40により階調圧縮された後の第2の輝度Yの対数値との入出力関係を示す曲線の一例を示す図である。Input / output of the logarithmic value of the first luminance Y 1 before gradation compression by the retinal response compression step 40 and the logarithmic value of the second luminance Y 2 after gradation compression by the retinal response compression step 40 It is a figure which shows an example of the curve which shows a relationship. 本実施例により作成したLDRデジタル画像と比較例により作成したLDRデジタル画像とを比較した図である。It is the figure which compared the LDR digital image produced by the present Example, and the LDR digital image produced by the comparative example.

符号の説明Explanation of symbols

10 前処理工程
20 線形補正工程
30 画像領域分割工程
40 網膜応答圧縮工程
50 中間領域加重平均工程
60 色調圧縮工程
DESCRIPTION OF SYMBOLS 10 Pre-processing process 20 Linear correction process 30 Image area segmentation process 40 Retina response compression process 50 Intermediate area weighted average process 60 Color tone compression process

Claims (6)

デジタル画像の階調圧縮方法において、
デジタル画像の画素の輝度に応じて、デジタル画像の領域を高輝度領域と低輝度領域とに分割する画像領域分割工程と、
光の刺激を対数的に感知する網膜細胞の応答特性により前記高輝度領域の画素の輝度を階調圧縮する網膜応答圧縮工程と、
を備えることを特徴とするデジタル画像の階調圧縮方法。
In the gradation compression method for digital images,
An image region dividing step for dividing the region of the digital image into a high luminance region and a low luminance region according to the luminance of the pixel of the digital image;
A retinal response compression step for gradation-compressing the luminance of the pixels in the high-luminance region according to the response characteristic of retinal cells that logarithmically sense light stimulation;
A gradation compression method for a digital image, comprising:
前記画像領域分割工程は、デジタル画像の画素の輝度に応じて、デジタル画像の領域を高輝度領域と中輝度領域と低輝度領域とに分割し、
前記網膜応答圧縮工程は、光の刺激を対数的に感知する網膜細胞の応答特性により前記高輝度領域及び前記中輝度領域の画素の輝度を階調圧縮し、
前記網膜応答圧縮工程により階調圧縮される前の第1の輝度と、前記網膜応答圧縮工程により階調圧縮された後の第2の輝度とを加重平均することにより、前記中輝度領域の画素の輝度を修正する中輝度領域加重平均工程を備えることを特徴とする請求項1に記載のデジタル画像の階調圧縮方法。
The image region dividing step divides the digital image region into a high luminance region, a medium luminance region, and a low luminance region according to the luminance of the pixel of the digital image,
In the retinal response compression step, the luminance of the pixels in the high-brightness region and the medium-brightness region is grayscale-compressed according to the response characteristics of retinal cells that logarithmically sense light stimulation,
Pixels in the medium luminance region are obtained by weighted averaging the first luminance before gradation compression by the retinal response compression step and the second luminance after gradation compression by the retinal response compression step. 2. The gradation compression method for a digital image according to claim 1, further comprising a medium luminance region weighted average process for correcting the luminance of the digital image.
前記画像領域分割工程によりデジタル画像の領域を分割する前に、デジタル画像の画素の輝度を線形補正する線形補正工程を更に含むことを特徴とする請求項1又は2に記載のデジタル画像の階調圧縮方法。   The gradation of the digital image according to claim 1, further comprising a linear correction step of linearly correcting the luminance of the pixel of the digital image before dividing the region of the digital image by the image region dividing step. Compression method. 前記網膜応答圧縮工程により階調圧縮される前の第1の輝度の対数値と前記網膜応答圧縮工程により階調圧縮された後の第2の輝度の対数値との入出力関係を示す入出力応答曲線の傾きが、前記第1の輝度の対数値と前記第2の輝度の対数値とが同一であるとする入出力不変直線と交差する点において、前記入出力不変直線の傾きと略一致することを特徴とする請求項1〜3いずれか一項に記載のデジタル画像の階調圧縮方法。   Input / output indicating the input / output relationship between the logarithmic value of the first luminance before gradation compression by the retinal response compression step and the logarithmic value of the second luminance after gradation compression by the retinal response compression step The slope of the response curve substantially coincides with the slope of the input / output invariant straight line at the point where it intersects with the input / output invariant straight line where the logarithmic value of the first luminance and the logarithmic value of the second luminance are the same. The gradation compression method for a digital image according to any one of claims 1 to 3. L*a*b*色空間における色のベクトルの方向を維持しつつ、輝度をXYZ色空間で階調圧縮し、色調をL*a*b*色空間で相対的に保持することを特徴とする請求項1〜4いずれか一項に記載のデジタル画像の階調圧縮方法。   While maintaining the direction of the color vector in the L * a * b * color space, the luminance is gradation-compressed in the XYZ color space, and the color tone is relatively retained in the L * a * b * color space. The gradation compression method of the digital image as described in any one of Claims 1-4. デジタル画像の画素の輝度に応じて、デジタル画像の領域を高輝度領域と低輝度領域とに分割する画像領域分割手段と、
光の刺激を対数的に感知する網膜細胞の応答特性により前記高輝度領域の画素の輝度を階調圧縮する網膜応答圧縮手段と、
を備えることを特徴とするデジタル画像の階調圧縮装置。
An image region dividing means for dividing the region of the digital image into a high luminance region and a low luminance region according to the luminance of the pixel of the digital image;
Retinal response compression means for gradation-compressing the luminance of the pixels in the high-luminance region based on response characteristics of retinal cells that logarithmically sense light stimulation;
A gradation compression apparatus for a digital image, comprising:
JP2007072984A 2007-03-20 2007-03-20 Gradation compression method and gradation compression device for digital image Pending JP2008234315A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007072984A JP2008234315A (en) 2007-03-20 2007-03-20 Gradation compression method and gradation compression device for digital image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007072984A JP2008234315A (en) 2007-03-20 2007-03-20 Gradation compression method and gradation compression device for digital image

Publications (1)

Publication Number Publication Date
JP2008234315A true JP2008234315A (en) 2008-10-02

Family

ID=39907012

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007072984A Pending JP2008234315A (en) 2007-03-20 2007-03-20 Gradation compression method and gradation compression device for digital image

Country Status (1)

Country Link
JP (1) JP2008234315A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010276968A (en) * 2009-05-29 2010-12-09 Canon Inc Image display and image display method
JP2012520619A (en) * 2009-03-13 2012-09-06 ドルビー ラボラトリーズ ライセンシング コーポレイション Hierarchical compression of high dynamic range, visual dynamic range and wide color gamut videos
JP2016225988A (en) * 2011-12-06 2016-12-28 ドルビー ラボラトリーズ ライセンシング コーポレイション Device and method of improving perceptual luminance nonlinearity-based image data exchange across different display capabilities
US9549194B2 (en) 2012-01-09 2017-01-17 Dolby Laboratories Licensing Corporation Context based inverse mapping method for layered codec
US10242650B2 (en) 2011-12-06 2019-03-26 Dolby Laboratories Licensing Corporation Perceptual luminance nonlinearity-based image data exchange across different display capabilities
US10362239B2 (en) 2016-11-17 2019-07-23 Canon Kabushiki Kaisha Image processing apparatus and method, and image capturing apparatus for tone conversion based on luminance values
CN113132696A (en) * 2021-04-27 2021-07-16 维沃移动通信有限公司 Image tone mapping method, device, electronic equipment and storage medium

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012520619A (en) * 2009-03-13 2012-09-06 ドルビー ラボラトリーズ ライセンシング コーポレイション Hierarchical compression of high dynamic range, visual dynamic range and wide color gamut videos
US8982963B2 (en) 2009-03-13 2015-03-17 Dolby Laboratories Licensing Corporation Compatible compression of high dynamic range, visual dynamic range, and wide color gamut video
JP2010276968A (en) * 2009-05-29 2010-12-09 Canon Inc Image display and image display method
JP2016225988A (en) * 2011-12-06 2016-12-28 ドルビー ラボラトリーズ ライセンシング コーポレイション Device and method of improving perceptual luminance nonlinearity-based image data exchange across different display capabilities
US10242650B2 (en) 2011-12-06 2019-03-26 Dolby Laboratories Licensing Corporation Perceptual luminance nonlinearity-based image data exchange across different display capabilities
JP7421674B2 (en) 2011-12-06 2024-01-24 ドルビー ラボラトリーズ ライセンシング コーポレイション Apparatus and method for improving perceptual luminance nonlinearity-based image data exchange between different display functions
US10621952B2 (en) 2011-12-06 2020-04-14 Dolby Laboratories Licensing Corporation Perceptual luminance nonlinearity-based image data exchange across different display capabilities
US10957283B2 (en) 2011-12-06 2021-03-23 Dolby Laboratories Licensing Corporation Perceptual luminance nonlinearity-based image data exchange across different display capabilities
US11887560B2 (en) 2011-12-06 2024-01-30 Dolby Laboratories Licensing Corporation Perceptual luminance nonlinearity-based image data exchange across different display capabilities
US11587529B2 (en) 2011-12-06 2023-02-21 Dolby Laboratories Licensing Corporation Perceptual luminance nonlinearity-based image data exchange across different display capabilities
US11600244B2 (en) 2011-12-06 2023-03-07 Dolby Laboratories Licensing Corporation Perceptual luminance nonlinearity-based image data exchange across different display capabilities
JP2023063449A (en) * 2011-12-06 2023-05-09 ドルビー ラボラトリーズ ライセンシング コーポレイション Device and method of improving perceptual luminance nonlinearity-based image data exchange across different display capabilities
US9549194B2 (en) 2012-01-09 2017-01-17 Dolby Laboratories Licensing Corporation Context based inverse mapping method for layered codec
US10362239B2 (en) 2016-11-17 2019-07-23 Canon Kabushiki Kaisha Image processing apparatus and method, and image capturing apparatus for tone conversion based on luminance values
CN113132696A (en) * 2021-04-27 2021-07-16 维沃移动通信有限公司 Image tone mapping method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US10134359B2 (en) Device or method for displaying image
JP4870617B2 (en) Image data automatic mapping method and image processing device
JP4870618B2 (en) Image data automatic mapping method and image processing device
JP5867390B2 (en) Color image processing method, color image processing apparatus, and color image processing program
JP4210577B2 (en) Method for enhancing gradation and spatial characteristics of digital images using selective spatial filters
JP5147287B2 (en) Image processing apparatus, image processing method, program, recording medium, and integrated circuit
JP2008234315A (en) Gradation compression method and gradation compression device for digital image
JP7180885B2 (en) Image adjustment device and program
CN109478316B (en) Real-time adaptive shadow and highlight enhancement
JP2006114005A (en) Gradation conversion apparatus, program, electronic camera, and method therefor
US9299003B2 (en) Image processing apparatus, non-transitory computer readable medium, and image processing method
Yu et al. Adaptive inverse hyperbolic tangent algorithm for dynamic contrast adjustment in displaying scenes
JP5410378B2 (en) Video signal correction apparatus and video signal correction program
KR101389932B1 (en) Apparatus and method for performing tone mapping for image
US10594902B2 (en) Image conversion method
JP2011097523A (en) Apparatus and method for processing image
US11810281B2 (en) Image processing apparatus, image processing method, and storage medium
JP2015076642A (en) Image processing device and program
KR101585187B1 (en) Image Processing Method and Apparatus for Integrated Multi-scale Retinex Based on CIELAB Color Space for Preserving Color
JP2011120299A (en) Gradation conversion apparatus, program, electronic camera, and method therefor
JP6627530B2 (en) Image processing device and program
KR102086756B1 (en) Apparatus and method for generating a high dynamic range image
CN115803802A (en) System and method for ambient light compensation using PQ offset