JP2006157453A - Image processing apparatus, image processing method, and imaging apparatus - Google Patents

Image processing apparatus, image processing method, and imaging apparatus Download PDF

Info

Publication number
JP2006157453A
JP2006157453A JP2004344796A JP2004344796A JP2006157453A JP 2006157453 A JP2006157453 A JP 2006157453A JP 2004344796 A JP2004344796 A JP 2004344796A JP 2004344796 A JP2004344796 A JP 2004344796A JP 2006157453 A JP2006157453 A JP 2006157453A
Authority
JP
Japan
Prior art keywords
dynamic range
compression ratio
compression
white balance
input 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.)
Withdrawn
Application number
JP2004344796A
Other languages
Japanese (ja)
Inventor
Takashi Tsuchiya
隆史 土屋
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2004344796A priority Critical patent/JP2006157453A/en
Publication of JP2006157453A publication Critical patent/JP2006157453A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Picture Signal Circuits (AREA)
  • Color Television Image Signal Generators (AREA)
  • Processing Of Color Television Signals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a technology of obtaining a dynamic range compression image without a sense of incongruity in comparison with a conventional dynamic range compression system in compressing a dynamic range of an image. <P>SOLUTION: A compression ratio processing section 31 calculates a compression ratio gy for compressing the dynamic range of input image signals Rin, Gin, Bin and a saturation correction section 34 applies saturation correction processing for changing the saturation in response to the compression ratio gy to image signals Rdc, Gdc, Bdc whose dynamic range is compressed. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、画像処理装置、画像処理方法及び撮像装置に関し、例えばビデオカメラ、電子スチルカメラ等における撮像結果の処理、記録、液晶表示装置等における画像表示、パーソナルコンピュータ等による画像処理、画像合成、さらにはこれらによる画像の伝送に適用される。   The present invention relates to an image processing device, an image processing method, and an imaging device, for example, processing and recording of an imaging result in a video camera, an electronic still camera, etc., image display on a liquid crystal display device, image processing by a personal computer, image synthesis, Furthermore, the present invention is applied to image transmission using these.

従来、撮像装置等の種々の画像処理回路においては、画像のダイナミックレンジを圧縮して記録、再生等の種々の処理を実行するようになされている。   2. Description of the Related Art Conventionally, various image processing circuits such as an imaging apparatus execute various processes such as recording and reproduction by compressing a dynamic range of an image.

このようなダイナミックレンジを圧縮する処理としては、画像全体の階調を補正する方法と、画像の低周波数成分についてのみ階調を補正する方法とがあり、前者においては、ガンマ補正、ニー補正、さらにはいわゆるヒストグラム等価等により階調を補正してダイナミックレンジを圧縮するようになされている。これに対して後者においては、ガンマ補正、ニー補正等によりダイナミックレンジを圧縮するようになされている。   As processing for compressing such a dynamic range, there are a method of correcting the gradation of the entire image and a method of correcting the gradation only for the low frequency components of the image. In the former, gamma correction, knee correction, Furthermore, the dynamic range is compressed by correcting the gradation by so-called histogram equivalence or the like. On the other hand, in the latter, the dynamic range is compressed by gamma correction, knee correction, or the like.

ダイナミックレンジを圧縮する必要のある画像というのは、多くの場合、被写体に2つ以上の照明が当たっており、それらの照明間に極端な強度差があるケースである。このような場合でも画像のダイナミックレンジを効果的に圧縮する手法として、画像のエッジ部分は保存したまま、エッジ以外の部分を平滑化し、その平滑化されたレベルに応じてダイナミックレンジの圧縮比を決め、その比に応じて画像全体のダイナミックレンジを圧縮する手法がある(例えば、特許文献1参照)。   An image that needs to be compressed in the dynamic range is often a case where two or more illuminations are applied to the subject, and there is an extreme intensity difference between the illuminations. Even in such a case, as a method of effectively compressing the dynamic range of the image, the edge portion of the image is preserved, the portion other than the edge is smoothed, and the compression ratio of the dynamic range is set according to the smoothed level. There is a method of deciding and compressing the dynamic range of the entire image according to the ratio (for example, see Patent Document 1).

この手法では、平滑化された画像を制御信号としているため、画像の細かい振幅成分は圧縮されずに保たれ、視認性の良いダイナミックレンジ圧縮画像を得ることができる。   In this method, since a smoothed image is used as a control signal, a fine amplitude component of the image is kept uncompressed, and a dynamic range compressed image with good visibility can be obtained.

特開2001−275015号公報JP 2001-275015 A

しかしながら、特許文献1に開示された従来の手法では、画像の極端な輝度差は効果的に圧縮されるものの、被写体に2つ以上の照明が当たっている場合は、通常それらの照明間でホワイトバランスも異なっているため、ダイナミックレンジを圧縮された画も、高輝度部のホワイトバランスがずれた画になってしまっていた。   However, in the conventional method disclosed in Patent Document 1, although the extreme luminance difference of the image is effectively compressed, when two or more illuminations are shining on the subject, it is usually white between those illuminations. Since the balance is also different, the image with the dynamic range compressed is also the image with the white balance of the high-brightness part shifted.

これはニー圧縮など従来のダイナミックレンジ圧縮手法でも同様に生じる問題ではあるものの、従来の圧縮手法では、輝度と同時に細かい振幅成分や彩度などがすべて一様に圧縮されてしまうため、視覚的な圧縮効果が低く、このホワイトバランスのずれが目立つことが少なかった。しかし、上述の如き従来の手法により効果的な輝度の圧縮を行った場合には、このホワイトバランスのずれが目立つ傾向にあった。   Although this is a problem that occurs in the conventional dynamic range compression method such as knee compression, the conventional compression method compresses all the fine amplitude components and saturation, etc., at the same time as the luminance. The compression effect was low, and this white balance shift was rare. However, when effective luminance compression is performed by the conventional method as described above, this white balance shift tends to be noticeable.

また、特許文献1に開示された従来の手法では、ニー圧縮などの他の従来のダイナミックレンジ圧縮手法と比較すると、高輝度部の彩度が圧縮されにくくなるため、従来の方式によってダイナミックレンジを圧縮された画と比較すると、高輝度部の彩度が高すぎる印象の画になることがあった。   In addition, in the conventional method disclosed in Patent Document 1, the saturation of the high-intensity part is difficult to be compressed as compared with other conventional dynamic range compression methods such as knee compression. Compared with the compressed image, the image may have an impression that the saturation of the high luminance part is too high.

そこで、本発明の目的は、上述の如き従来の問題点に鑑み、従来のダイナミックレンジ圧縮方式と比較して違和感のないダイナミックレンジ圧縮画像を得ることにある
本発明の更に他の目的、本発明によって得られる具体的な利点は、以下に説明される実施の形態の説明から一層明らかにされる。
Accordingly, an object of the present invention is to obtain a dynamic range compressed image that is not uncomfortable as compared with the conventional dynamic range compression method in view of the conventional problems as described above. The specific advantages obtained by the above will become more apparent from the description of the embodiments described below.

本発明に係る画像処理装置は、入力画像信号についてダイナミックレンジを圧縮するための圧縮比を算出する圧縮比算出手段と、上記圧縮比算出手段により算出された圧縮比を入力画像信号に乗じてダイナミックレンジを圧縮する圧縮処理手段と、上記圧縮処理手段によりダイナミックレンジを圧縮された入力画像信号に上記圧縮比算出手段により算出された圧縮比に応じて彩度を変化させる彩度補正処理を施す彩度補正手段とを備えることを特徴とする。   An image processing apparatus according to the present invention includes a compression ratio calculation unit that calculates a compression ratio for compressing a dynamic range of an input image signal, and a dynamic ratio obtained by multiplying the input image signal by the compression ratio calculated by the compression ratio calculation unit. Compression processing means for compressing the range; and saturation correction processing for changing the saturation according to the compression ratio calculated by the compression ratio calculation means for the input image signal whose dynamic range has been compressed by the compression processing means. Degree correction means.

また、 本発明に係る画像処理方法は、入力画像信号についてダイナミックレンジを圧縮するための圧縮比を算出し、算出された圧縮比を入力画像信号に乗じてダイナミックレンジを圧縮し、ダイナミックレンジが圧縮された入力画像信号に上記圧縮比に応じて彩度を変化させる彩度補正処理を施すことを特徴とする。   In addition, the image processing method according to the present invention calculates a compression ratio for compressing the dynamic range of the input image signal, multiplies the input image signal by the calculated compression ratio to compress the dynamic range, and compresses the dynamic range. The input image signal is subjected to saturation correction processing for changing the saturation according to the compression ratio.

さらに、本発明に係る撮像装置は、撮像手段と、上記撮像手段により被写体を撮像して得られた画像信号についてダイナミックレンジを圧縮するための圧縮比を算出する圧縮比算出手段と、上記圧縮比算出手段により算出された圧縮比を入力画像信号に乗じてダイナミックレンジを圧縮する圧縮処理手段と、上記圧縮処理手段によりダイナミックレンジを圧縮された入力画像信号に上記圧縮比算出手段により算出された圧縮比に応じて彩度を変化させる彩度補正処理を施す彩度補正手段とを備えることを特徴とする。   Furthermore, an imaging apparatus according to the present invention includes an imaging unit, a compression ratio calculation unit that calculates a compression ratio for compressing a dynamic range for an image signal obtained by imaging a subject by the imaging unit, and the compression ratio. A compression processing unit that multiplies the input image signal by the compression ratio calculated by the calculation unit to compress the dynamic range, and a compression that is calculated by the compression ratio calculation unit to the input image signal that has been compressed by the compression processing unit. And saturation correction means for performing saturation correction processing for changing the saturation according to the ratio.

本発明では、 画像のダイナミックレンジを圧縮する際に、高輝度部の彩度の量が絞られて、従来のダイナミックレンジ圧縮方式と比較して違和感のないダイナミックレンジ圧縮画像を得ることができる。   In the present invention, when the dynamic range of an image is compressed, the amount of saturation in the high-brightness part is reduced, and a dynamic range compressed image that is not uncomfortable compared to the conventional dynamic range compression method can be obtained.

以下、本発明の実施の形態について、図面を参照して詳細に説明する。なお、本発明は以下の例に限定されるものではなく、本発明の要旨を逸脱しない範囲で、任意に変更可能であることは言うまでもない。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. Needless to say, the present invention is not limited to the following examples, and can be arbitrarily changed without departing from the gist of the present invention.

本発明は、例えば図1に示すような構成の撮像装置100に適用される。   The present invention is applied to, for example, an imaging apparatus 100 configured as shown in FIG.

この撮像装置100は、C−MOSイメージセンサやCCD(Charge Coupled Device )イメージセンサ等の固体撮像素子により被写体を撮像する撮像部10、この撮像部10により撮像出力信号として得られた画像信号が供給される補正処理部20、この補正処理部20によりシェーディング成分などの補正処理が施された画像信号が供給されるダイナミックレンジ圧縮処理部30、このダイナミックレンジ圧縮処理部30によりダイナミックレンジが圧縮された画像信号が供給されるカメラ信号処理部40、このカメラ信号処理部40によりガンマ補正などのカメラ信号処理を施した画像信号をVTR等の記録系や表示系50等に供給するようになっている。   The imaging apparatus 100 is supplied with an imaging unit 10 that images a subject with a solid-state imaging device such as a C-MOS image sensor or a CCD (Charge Coupled Device) image sensor, and an image signal obtained as an imaging output signal by the imaging unit 10. Correction processing unit 20, a dynamic range compression processing unit 30 to which an image signal subjected to correction processing such as a shading component is supplied by the correction processing unit 20, and a dynamic range is compressed by the dynamic range compression processing unit 30. A camera signal processing unit 40 to which an image signal is supplied, and an image signal subjected to camera signal processing such as gamma correction by the camera signal processing unit 40 is supplied to a recording system such as a VTR, a display system 50 or the like. .

上記ダイナミックレンジ圧縮処理部30は、その具体的な構成例を図2のブロック図に示すように、上記補正処理部20から入力画像信号Rin,Gin,Binが供給される圧縮比算出処理部31及びホワイトバランス補正部32と、このホワイトバランス補正部32によりホワイトバランスが補正された画像信号Rwb,Gwb,Bwbが供給される圧縮処理部33と、この圧縮処理部33によりダイナミックレンジを圧縮された画像信号Rdc,Gdc,Bdcが供給される彩度補正部34からなる。   As shown in the block diagram of FIG. 2, the dynamic range compression processing unit 30 is supplied with the input image signals Rin, Gin, Bin from the correction processing unit 20, as shown in the block diagram of FIG. The white balance correction unit 32, the compression processing unit 33 to which the image signals Rwb, Gwb, and Bwb whose white balance has been corrected by the white balance correction unit 32 are supplied, and the dynamic range is compressed by the compression processing unit 33. The saturation correction unit 34 is supplied with image signals Rdc, Gdc, and Bdc.

上記圧縮比算出処理部31は、エッジ保存平滑化処理部311と圧縮比算出部312からなる。   The compression ratio calculation processing unit 31 includes an edge preserving smoothing processing unit 311 and a compression ratio calculation unit 312.

上記圧縮比算出処理部31のエッジ保存平滑化処理部311では、上記補正処理部20から供給される入力画像信号Rin,Gin,Binを1チャンネル例えば輝度信号Yにマージした後、水平方向のエッジ保存平滑化フィルタを通させ、水平方向の画素を垂直方向に並べ替え、その垂直方向に並べ替えられた信号を垂直方向のエッジ保存平滑化フィルタに通し、再び画素を垂直方向の画素を水平に並べ替えて、もう一度水平方向のエッジ保存平滑化フィルタを通すことで、水平、垂直両方向のエッジを保存しつつ平滑化を行う。   The edge preserving smoothing processing unit 311 of the compression ratio calculation processing unit 31 merges the input image signals Rin, Gin, Bin supplied from the correction processing unit 20 into one channel, for example, the luminance signal Y, and then the horizontal edge. Pass the preservation smoothing filter, rearrange the pixels in the horizontal direction in the vertical direction, pass the signals rearranged in the vertical direction through the edge preservation smoothing filter in the vertical direction, and again turn the pixels in the vertical direction horizontally By rearranging and passing the horizontal edge preserving smoothing filter again, smoothing is performed while preserving both horizontal and vertical edges.

例えば図3に示すように、上記エッジ保存平滑化処理部311は、縦続接続されたRGB合成部311A、水平方向平滑化部311B、フレームメモリ311C、垂直方向平滑化部311D、フレームメモリ311Eにより、入力画像信号Rin,Gin,Binのエッジを保存したまま上記入力画像信号Rin,Gin,Binを水平及び垂直方向に非線形平滑化するように構成されている。   For example, as shown in FIG. 3, the edge preserving smoothing processing unit 311 includes a cascade-connected RGB composition unit 311A, horizontal direction smoothing unit 311B, frame memory 311C, vertical direction smoothing unit 311D, and frame memory 311E. The input image signals Rin, Gin, and Bin are nonlinearly smoothed in the horizontal and vertical directions while preserving the edges of the input image signals Rin, Gin, and Bin.

このエッジ保存平滑化処理部311では、入力画像信号Rin,Gin,BinがRGB合成部311Aで混合され1チャンネルの輝度信号Yとされ、輝度信号Yは水平方向平滑化部311Bで非線形フィルタによりエッジが保存されたまま水平方向に平滑化されてフレームメモリ311Cに蓄えられる。このフレームメモリ311Cに蓄えられた信号Shは該フレームメモリ311Cから垂直方向に読み出され、垂直方向平滑化部311Dで水平方向と同様の非線形フィルタによりエッジが保存されたまま垂直方向に平滑化されてフレームメモリ311Eに蓄えられ、このフレームメモリ311Eに蓄えられた信号Shvが、該フレームメモリ311Eからは水平方向に読み出されて、上記水平及び垂直方向に非線形平滑化された画像信号Sとして上記圧縮比算出処理部31に供給される。   In the edge preserving smoothing processing unit 311, the input image signals Rin, Gin, and Bin are mixed by the RGB synthesizing unit 311A to form a one-channel luminance signal Y, and the luminance signal Y is edged by a non-linear filter in the horizontal direction smoothing unit 311B. Is stored and stored in the frame memory 311C. The signal Sh stored in the frame memory 311C is read out from the frame memory 311C in the vertical direction, and smoothed in the vertical direction by the vertical direction smoothing unit 311D with the same non-linear filter as that in the horizontal direction with the edges being preserved. The signal Shv stored in the frame memory 311E is read out from the frame memory 311E in the horizontal direction and nonlinearly smoothed in the horizontal and vertical directions as the image signal S. The compression ratio calculation processing unit 31 is supplied.

そして、上記圧縮比算出処理部31の圧縮比算出部312では、上記エッジ保存平滑化処理部311によりエッジ保存平滑化された信号Sをルックアップテーブを通して圧縮し、ルックアップテーブルを通っていない元の信号とルックアップテーブルを通り圧縮された信号との比gyを出力する。   The compression ratio calculation unit 312 of the compression ratio calculation processing unit 31 compresses the signal S that has been edge-preserved and smoothed by the edge preserving / smoothing processing unit 311 through a look-up table and does not pass through the look-up table. And the ratio gy of the signal compressed through the look-up table is output.

このようにして上記圧縮比算出処理部31により求められた圧縮比gyは、ホワイトバランス補正部32、圧縮処理部33及び彩度補正部34に供給される。   The compression ratio gy obtained by the compression ratio calculation processing unit 31 in this way is supplied to the white balance correction unit 32, the compression processing unit 33, and the saturation correction unit 34.

上記ホワイトバランス補正部32は、3チャンネルのホワイトバランス調整ゲイン生成部321R,321G,321Bとホワイトバランス調整用乗算器322R,322G,322Bからなり、上記圧縮比算出処理部31により算出された圧縮比gyから上記ホワイトバランス調整ゲイン生成部321R,321G,321Bによりホワイトバランス調整ゲインgr,gg,gbを生成し、生成したホワイトバランス調整ゲインgr,gg,gbを入力画像信号Rin,Gin,Binに乗算する。これにより、上記ホワイトバランス補正部32では、上記圧縮比算出処理部31により算出された圧縮比gyに応じて入力画像信号Rin,Gin,Binのホワイトバランスを変化させる。   The white balance correction unit 32 includes three-channel white balance adjustment gain generation units 321R, 321G, and 321B and white balance adjustment multipliers 322R, 322G, and 322B, and the compression ratio calculated by the compression ratio calculation processing unit 31 The white balance adjustment gains gr, gg, and gb are generated from the gy by the white balance adjustment gain generation units 321R, 321G, and 321B, and the generated white balance adjustment gains gr, gg, and gb are multiplied by the input image signals Rin, Gin, and Bin. To do. As a result, the white balance correction unit 32 changes the white balance of the input image signals Rin, Gin, Bin according to the compression ratio gy calculated by the compression ratio calculation processing unit 31.

また、上記圧縮処理部33は、3チャンネルのダイナミックレンジ圧縮用乗算器331R,331G,331Bからなり、上記3チャンネルのダイナミックレンジ圧縮用乗算器331R,331G,331Bにより、上記ホワイトバランス補正部32によりホワイトバランスが補正された入力画像信号Rwb,Gwb,Bwbに上記圧縮比算出処理部31により算出された圧縮比gyを乗じてダイナミックレンジを圧縮する処理を行う。   The compression processing unit 33 includes three-channel dynamic range compression multipliers 331R, 331G, and 331B. The three-channel dynamic range compression multipliers 331R, 331G, and 331B perform the above-described white balance correction unit 32. A process for compressing the dynamic range is performed by multiplying the input image signals Rwb, Gwb, and Bwb with the white balance corrected by the compression ratio gy calculated by the compression ratio calculation processing unit 31.

このとき、この輝度に対する圧縮比gyは、圧縮される割合が高いほど、すなわち、gyの値が小さいほど高輝度の照明が被写体に寄与している割合が高いと考えられることから、この圧縮比gyに従って画像のホワイトバランスを補正することによって、より自然なダイナミックレンジ圧縮画像を得ることができる。すなわち、gyの値が1.0(すなわち圧縮なし)のうちは、ホワイトバランスを低輝度の照明に合うようにしておき、gyの値が小さくなるに従って高輝度の照明のホワイトバランスに近づくように制御すれば、低輝度エリアは低輝度の照明のホワイトバランスが、高輝度のエリアは高輝度の照明のホワイトバランスが適用されるようになる。   At this time, the compression ratio gy with respect to the luminance is considered to be such that the higher the ratio of compression, that is, the higher the ratio of gy, the higher the ratio of high luminance illumination contributing to the subject. By correcting the white balance of the image according to gy, a more natural dynamic range compressed image can be obtained. That is, when the value of gy is 1.0 (that is, no compression), the white balance is adjusted to match the low-luminance illumination, and the white balance of the high-luminance illumination approaches as the gy value decreases. If controlled, the white balance of low-luminance illumination is applied to the low-luminance area, and the white balance of high-luminance illumination is applied to the high-luminance area.

すなわち、
gy:ダイナミックレンジ圧縮ゲイン(0≦gy≦1)
rh:Rチャンネルの高輝度部のホワイトバランスゲイン
gh:Gチャンネルの高輝度部のホワイトバランスゲイン
bh:Bチャンネルの高輝度部のホワイトバランスゲイン
rl:Rチャンネルの低輝度部のホワイトバランスゲイン
gl:Gチャンネルの低輝度部のホワイトバランスゲイン
bl:Bチャンネルの低輝度部のホワイトバランスゲイン
gr:gyに応じて制御されたRチャンネルのホワイトバランスゲイン
gg:gyに応じて制御されたGチャンネルのホワイトバランスゲイン
gb:gyに応じて制御されたBチャンネルのホワイトバランスゲイン
とすると、R,G,B各チャンネルのホワイトバランス調整用のゲインgr,gg,gbは、
gr = (1−gy )×rh+gy×rl (1−1)式
gg = (1−gy )×gh+gy×gl (1−2)式
gb = (1−gy )×bh+gy×bl (1−3)式
とする。
That is,
gy: Dynamic range compression gain (0 ≦ gy ≦ 1)
rh: white balance gain in the high luminance portion of the R channel gh: white balance gain in the high luminance portion of the G channel bh: white balance gain in the high luminance portion of the B channel rl: white balance gain in the low luminance portion of the R channel gl: White balance gain of the low luminance part of the G channel bl: White balance gain of the low luminance part of the B channel gr: White balance gain of the R channel controlled according to gy gg: White of the G channel controlled according to gy Balance gain gb: Assuming that the B channel white balance gain is controlled according to gy, the gains gr, gg, and gb for adjusting the white balance of the R, G, and B channels are:
gr = (1−gy) × rh + gy × rl (1-1) Equation gg = (1-gy) × gh + gy × gl (1-2) Equation gb = (1−gy) × bh + gy × bl (1-3) Let it be an expression.

なお、低輝度部のホワイトバランス調整用ゲインrl,gl,bl及び高輝度部のホワイトバランス調整用ゲインrh,gh,bhは、図4に示すように、R,G,Bの各チャンネルに閾値付きの積分器323R,323G,323Bを備えることによって検出することができ、システムコントローラ60を介して各チャンネルのホワイトバランス調整ゲイン生成部321R,321G,321Bに与えられる。閾値との判定に用いる信号には、エッジ保存平滑化された信号Sやエッジ保存平滑化前のYin=f(Rin,Gin,Bin )を使用することができ、これらの信号が設定した閾値より下であれば低輝度部のホワイトバランスが、閾値より上であれば高輝度部のホワイトバランスが検出できる。低輝度部のホワイトバランス調整用ゲインrl,gl,bl及び高輝度部のホワイトバランス調整用ゲインrh,gh,bhは、これらの積分値が各チャンネルで偏りがなくなるように設定される。   The white balance adjustment gains rl, gl, and bl of the low luminance portion and the white balance adjustment gains rh, gh, and bh of the high luminance portion are threshold values for the R, G, and B channels as shown in FIG. This can be detected by providing the attached integrators 323R, 323G, and 323B, and is provided to the white balance adjustment gain generation units 321R, 321G, and 321B of the respective channels via the system controller 60. As the signal used for the determination with the threshold value, edge-preserving smoothed signal S or Yin = f (Rin, Gin, Bin) before edge preserving smoothing can be used. If it is below, the white balance of the low luminance part can be detected, and if it is above the threshold, the white balance of the high luminance part can be detected. The white balance adjustment gains rl, gl, and bl in the low luminance portion and the white balance adjustment gains rh, gh, and bh in the high luminance portion are set so that these integral values are not biased in each channel.

各チャンネルの画像信号Rin,Gin,Binは、このゲインに従ってホワイトバランスを調整する。   The image signals Rin, Gin, Bin of each channel adjust the white balance according to this gain.

ここで、
Rwb:ホワイトバランス調整後のRチャンネル画像信号
Gwb:ホワイトバランス調整後のGチャンネル画像信号
Bwb:ホワイトバランス調整後のBチャンネル画像信号
Rdc:ダイナミックレンジ圧縮後のRチャンネル画像信号
Gdc:ダイナミックレンジ圧縮後のGチャンネル画像信号
Bdc:ダイナミックレンジ圧縮後のBチャンネル画像信号
とすると、ホワイトバランス調整後の各チャンネルの画像信号Rwb,Gwb,Bwbは次の(2−1)式〜(2−3)式にて示され、
Rwb=gr×Rin (2−1)式
Gwb=gg×Gin (2−2)式
Bwb=gb×Bin (2−3)式
これら各チャンネルの画像信号Rwb,Gwb,Bwbにダイナミックレンジ圧縮ゲインgyを乗じることにより、次の(2−4)式〜(2−5)式にて示されるホワイトバランスが調整されたダイナミックレンジ圧縮画像信号Rdc,Gdc,Bdcが得られる。
here,
Rwb: R channel image signal after white balance adjustment Gwb: G channel image signal after white balance adjustment Bwb: B channel image signal after white balance adjustment Rdc: R channel image signal after dynamic range compression Gdc: After dynamic range compression G channel image signal Bdc: When the B channel image signal after dynamic range compression is used, the image signals Rwb, Gwb, and Bwb of each channel after white balance adjustment are expressed by the following equations (2-1) to (2-3): Indicated by
Rwb = gr.times.Rin (2-1) Equation Gwb = gg.times.Gin (2-2) Equation Bwb = gb.times.Bin (2-3) Equation Dynamic range compression gain gy for the image signals Rwb, Gwb, Bwb of these channels. , Dynamic range compressed image signals Rdc, Gdc, and Bdc in which the white balance is adjusted as shown in the following equations (2-4) to (2-5) are obtained.

Rdc=gy×Rwb (2−4)式
Gdc=gy×Gwb (2−5)式
Bdc=gy×Bwb (2−6)式
このように、上記ダイナミックレンジ圧縮処理部30では、上記圧縮比算出処理部31により入力画像信号Rin,Gin,Binについてダイナミックレンジを圧縮するための圧縮比gyを算出し、上記ホワイトバランス補正部32により上記圧縮比gyに応じて入力画像信号Rin,Gin,Binのホワイトバランスを補正し、ホワイトバランスが補正された入力画像信号Rwb,Gwb,Bwbに上記圧縮処理部33により上記圧縮比gyを乗じてダイナミックレンジを圧縮する。
Rdc = gy × Rwb (2-4) Gdc = gy × Gwb (2-5) Bdc = gy × Bwb (2-6) In this way, the dynamic range compression processor 30 calculates the compression ratio. The processing unit 31 calculates a compression ratio gy for compressing the dynamic range for the input image signals Rin, Gin, Bin, and the white balance correction unit 32 calculates the input image signals Rin, Gin, Bin according to the compression ratio gy. The white balance is corrected, and the input image signals Rwb, Gwb, and Bwb corrected for white balance are multiplied by the compression ratio gy by the compression processing unit 33 to compress the dynamic range.

さらに、上記彩度補正部34は、上記圧縮処理部33によりダイナミックレンジを圧縮された画像信号Rdc,Gdc,Bdcに上記圧縮比gyに応じて彩度を変化させる彩度補正処理を施す。   Further, the saturation correction unit 34 performs a saturation correction process for changing the saturation according to the compression ratio gy to the image signals Rdc, Gdc, and Bdc whose dynamic range has been compressed by the compression processing unit 33.

このようにgyを用いて画像の彩度調整を行うことで、ニー圧縮など従来のダイナミックレンジ圧縮手法と比較しても、彩度が残り過ぎず違和感の少ないダイナミックレンジ圧縮画像を得ることができる。   By adjusting the saturation of an image using gy in this way, it is possible to obtain a dynamic range compressed image with less saturation and less discomfort than conventional dynamic range compression methods such as knee compression. .

すなわち、
sh:高輝度部の彩度の設定
gs:彩度調整用ゲイン
Ydc:ダイナミックレンジ圧縮処理後のRdc,Gdc,Bdc から作成した輝度信号
Rout:ホワイトバランス調整、ダイナミックレンジ圧縮、彩度調整後のRチャンネルビデオ
Gout:ホワイトバランス調整、ダイナミックレンジ圧縮、彩度調整後のGチャンネルビデオ
Bout:ホワイトバランス調整、ダイナミックレンジ圧縮、彩度調整後のBチャンネルビデオ
としたとき、
gs= (1.0−gy )×sh+gy×1.0 (3−1)式
Rout= (Rdc−Ydc )×gs+Ydc (3−2)式
Gout= (Gdc−Ydc )×gs+Ydc (3−3)式
Bout= (Bdc−Ydc )×gs+Ydc (3−4)式
とすることによって、ダイナミックレンジの圧縮比に応じて彩度も圧縮され、従来のダイナミックレンジ圧縮手法と比較して違和感の少ないダイナミックレンジ圧縮画像が得られる。
That is,
sh: Saturation setting of high luminance part gs: Gain for saturation adjustment Ydc: Luminance signal generated from Rdc, Gdc, Bdc after dynamic range compression processing Rout: After white balance adjustment, dynamic range compression, saturation adjustment R channel video Gout: G channel video after white balance adjustment, dynamic range compression, saturation adjustment Bout: B channel video after white balance adjustment, dynamic range compression, saturation adjustment
gs = (1.0−gy) × sh + gy × 1.0 (3-1) Equation Rout = (Rdc−Ydc) × gs + Ydc (3-2) Equation Gout = (Gdc−Ydc) × gs + Ydc (3-3) By using the formula Bout = (Bdc−Ydc) × gs + Ydc (3-4), the saturation is also compressed in accordance with the compression ratio of the dynamic range, and the dynamic range is less uncomfortable than the conventional dynamic range compression method. A compressed image is obtained.

このように、上記ダイナミックレンジ圧縮処理部30では、上記圧縮比算出処理部31により入力画像信号Rin,Gin,Binについてダイナミックレンジを圧縮するための圧縮比gyを算出し、上記ホワイトバランス補正部32により上記圧縮比gyに応じて入力画像信号Rin,Gin,Binのホワイトバランスを補正し、ホワイトバランスが補正された入力画像信号Rwb,Gwb,Bwbに上記圧縮処理部33により上記圧縮比gyを乗じてダイナミックレンジを圧縮する。そして、上記ダイナミックレンジを圧縮された画像信号Rdc,Gdc,Bdcに上記圧縮比gyに応じて彩度を変化させる彩度補正処理を上記彩度補正部34により施す。   As described above, in the dynamic range compression processing unit 30, the compression ratio calculation processing unit 31 calculates the compression ratio gy for compressing the dynamic range for the input image signals Rin, Gin, Bin, and the white balance correction unit 32. The white balance of the input image signals Rin, Gin, Bin is corrected according to the compression ratio gy, and the compression processing unit 33 multiplies the input image signals Rwb, Gwb, Bwb with the corrected white balance by the compression processing unit 33. To compress the dynamic range. Then, the saturation correction unit 34 performs saturation correction processing for changing the saturation according to the compression ratio gy to the image signals Rdc, Gdc, and Bdc compressed in the dynamic range.

この撮像装置100では、上記ダイナミックレンジ圧縮処理部30において、画像のダイナミックレンジを圧縮する際に、高輝度部の輝度を圧縮するのと同時に、高輝度部のホワイトバランスの補正を行うことによって、自然で違和感のないダイナミックレンジ圧縮画像を得ることができる。さらに、応じて彩度の調整も行うことによって、より自然で違和感のないダイナミックレンジ圧縮画像が得られる。   In the imaging apparatus 100, when the dynamic range compression processing unit 30 compresses the dynamic range of the image, by compressing the luminance of the high luminance part and simultaneously correcting the white balance of the high luminance part, It is possible to obtain a dynamic range compressed image that is natural and has no sense of incongruity. Furthermore, by adjusting the saturation accordingly, a more natural and uncomfortable dynamic range compressed image can be obtained.

本発明を適用した撮像装置の構成を示すブロック図である。It is a block diagram which shows the structure of the imaging device to which this invention is applied. 上記撮像装置におけるダイナミックレンジ圧縮処理部の構成を示すブロック図である。It is a block diagram which shows the structure of the dynamic range compression process part in the said imaging device. 上記ダイナミックレンジ圧縮処理部を構成するエッジ保存平滑化処理部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the edge preservation | save smoothing process part which comprises the said dynamic range compression process part. 上記ダイナミックレンジ圧縮処理部の構成を示すブロック図である。It is a block diagram which shows the structure of the said dynamic range compression process part.

符号の説明Explanation of symbols

10 撮像部、20 補正処理部、30 ダイナミックレンジ圧縮処理部、31 圧縮比算出処理部、32 ホワイトバランス補正部、33 圧縮処理部、34 彩度補正部、40 カメラ信号処理部、50 表示系、60 システムコントローラ、100 撮像装置、311 エッジ保存平滑化処理部、311A RGB合成部、311B 水平方向平滑化部、311C フレームメモリ、311D 垂直方向平滑化部、311E フレームメモリ、312 圧縮比算出部、321R,321G,321B ホワイトバランス調整ゲイン生成部、322R,322G,322B ホワイトバランス調整用乗算器、323R,323G,323B 閾値付きの積分器、331R,331G,331B ダイナミックレンジ圧縮用乗算器   10 imaging unit, 20 correction processing unit, 30 dynamic range compression processing unit, 31 compression ratio calculation processing unit, 32 white balance correction unit, 33 compression processing unit, 34 saturation correction unit, 40 camera signal processing unit, 50 display system, 60 system controller, 100 imaging device, 311 edge preserving smoothing processing unit, 311A RGB composition unit, 311B horizontal direction smoothing unit, 311C frame memory, 311D vertical direction smoothing unit, 311E frame memory, 312 compression ratio calculation unit, 321R , 321G, 321B White balance adjustment gain generator, 322R, 322G, 322B White balance adjustment multiplier, 323R, 323G, 323B Threshold integrator, 331R, 331G, 331B Dynamic range compression multiplier

Claims (3)

入力画像信号についてダイナミックレンジを圧縮するための圧縮比を算出する圧縮比算出手段と、
上記圧縮比算出手段により算出された圧縮比を入力画像信号に乗じてダイナミックレンジを圧縮する圧縮処理手段と、
上記圧縮処理手段によりダイナミックレンジを圧縮された入力画像信号に上記圧縮比算出手段により算出された圧縮比に応じて彩度を変化させる彩度補正処理を施す彩度補正手段とを備えることを特徴とする画像処理装置。
Compression ratio calculation means for calculating a compression ratio for compressing the dynamic range of the input image signal;
Compression processing means for compressing the dynamic range by multiplying the input image signal by the compression ratio calculated by the compression ratio calculation means;
Saturation correction means for performing saturation correction processing for changing the saturation according to the compression ratio calculated by the compression ratio calculation means on the input image signal whose dynamic range has been compressed by the compression processing means. An image processing apparatus.
入力画像信号についてダイナミックレンジを圧縮するための圧縮比を算出し、
算出された圧縮比を入力画像信号に乗じてダイナミックレンジを圧縮し、
ダイナミックレンジが圧縮された入力画像信号に上記圧縮比に応じて彩度を変化させる彩度補正処理を施すことを特徴とする画像処理方法。
Calculate the compression ratio to compress the dynamic range for the input image signal,
The dynamic range is compressed by multiplying the input image signal by the calculated compression ratio,
An image processing method, comprising: applying saturation correction processing for changing saturation according to the compression ratio to an input image signal having a compressed dynamic range.
撮像手段と、
上記撮像手段により被写体を撮像して得られた画像信号についてダイナミックレンジを圧縮するための圧縮比を算出する圧縮比算出手段と、
上記圧縮比算出手段により算出された圧縮比を入力画像信号に乗じてダイナミックレンジを圧縮する圧縮処理手段と、
上記圧縮処理手段によりダイナミックレンジを圧縮された入力画像信号に上記圧縮比算出手段により算出された圧縮比に応じて彩度を変化させる彩度補正処理を施す彩度補正手段と
を備えることを特徴とする撮像装置。
Imaging means;
Compression ratio calculating means for calculating a compression ratio for compressing the dynamic range of the image signal obtained by imaging the subject by the imaging means;
Compression processing means for compressing the dynamic range by multiplying the input image signal by the compression ratio calculated by the compression ratio calculation means;
Saturation correction means for performing saturation correction processing for changing saturation according to the compression ratio calculated by the compression ratio calculation means on the input image signal whose dynamic range is compressed by the compression processing means. An imaging device.
JP2004344796A 2004-11-29 2004-11-29 Image processing apparatus, image processing method, and imaging apparatus Withdrawn JP2006157453A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004344796A JP2006157453A (en) 2004-11-29 2004-11-29 Image processing apparatus, image processing method, and imaging apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004344796A JP2006157453A (en) 2004-11-29 2004-11-29 Image processing apparatus, image processing method, and imaging apparatus

Publications (1)

Publication Number Publication Date
JP2006157453A true JP2006157453A (en) 2006-06-15

Family

ID=36635199

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004344796A Withdrawn JP2006157453A (en) 2004-11-29 2004-11-29 Image processing apparatus, image processing method, and imaging apparatus

Country Status (1)

Country Link
JP (1) JP2006157453A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015084546A (en) * 2011-04-15 2015-04-30 ドルビー ラボラトリーズ ライセンシング コーポレイション Method for encoding, decoding, and representing high dynamic range images
US9036042B2 (en) 2011-04-15 2015-05-19 Dolby Laboratories Licensing Corporation Encoding, decoding, and representing high dynamic range images
US10511837B2 (en) 2011-04-15 2019-12-17 Dolby Laboratories Licensing Corporation Encoding, decoding, and representing high dynamic range images

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015084546A (en) * 2011-04-15 2015-04-30 ドルビー ラボラトリーズ ライセンシング コーポレイション Method for encoding, decoding, and representing high dynamic range images
US9036042B2 (en) 2011-04-15 2015-05-19 Dolby Laboratories Licensing Corporation Encoding, decoding, and representing high dynamic range images
US9271011B2 (en) 2011-04-15 2016-02-23 Dolby Laboratories Licensing Corporation Encoding, decoding, and representing high dynamic range images
US9654781B2 (en) 2011-04-15 2017-05-16 Dolby Laboratories Licensing Corporation Encoding, decoding, and representing high dynamic range images
US9819938B2 (en) 2011-04-15 2017-11-14 Dolby Laboratories Licensing Corporation Encoding, decoding, and representing high dynamic range images
US10027961B2 (en) 2011-04-15 2018-07-17 Dolby Laboratories Licensing Corporation Encoding, decoding, and representing high dynamic range images
US10264259B2 (en) 2011-04-15 2019-04-16 Dolby Laboratories Licensing Corporation Encoding, decoding, and representing high dynamic range images
US10511837B2 (en) 2011-04-15 2019-12-17 Dolby Laboratories Licensing Corporation Encoding, decoding, and representing high dynamic range images
US10992936B2 (en) 2011-04-15 2021-04-27 Dolby Laboratories Licensing Corporation Encoding, decoding, and representing high dynamic range images

Similar Documents

Publication Publication Date Title
US9412155B2 (en) Video system with dynamic contrast and detail enhancement
JP4273428B2 (en) Image processing apparatus, image processing method, program for image processing method, and recording medium recording program for image processing method
US7606438B2 (en) Image signal processor and image signal processing method
JP4214457B2 (en) Image processing apparatus and method, recording medium, and program
JP4785799B2 (en) Image processing apparatus, image processing method, and photographing apparatus
US7561189B2 (en) Method and apparatus of image dynamic response re-mapping and digital camera using the same
JP2012247873A (en) Image processing apparatus and method
JP4479527B2 (en) Image processing method, image processing apparatus, image processing program, and electronic camera
JP3184309B2 (en) Gradation correction circuit and imaging device
US7587089B2 (en) Method and apparatus for image processing
JP2000156797A (en) Image processor and image processing method
JP4415172B2 (en) Image processing apparatus, image processing method, and image processing program
JP2004246644A (en) Apparatus, method, and program for image processing
US10387999B2 (en) Image processing apparatus, non-transitory computer-readable medium storing computer program, and image processing method
JP2013106151A (en) Image processing apparatus and image processing method
JP2006050042A (en) Image processing apparatus
WO2001069918A1 (en) Video-apparatus with peaking filter
JP2006157453A (en) Image processing apparatus, image processing method, and imaging apparatus
JP5365881B2 (en) Image processing apparatus and image processing method
US20060115152A1 (en) Image processing apparatus and method
JP2006157469A (en) Image processing apparatus, image processing method, and imaging apparatus
JP5085243B2 (en) Image processing apparatus and image processing method
JP4632100B2 (en) Image processing apparatus, image processing method, recording medium, and program
CN100369455C (en) Device and method for re-distribution of image dynamic responding and camera therewith
JPH10173958A (en) Video signal processor

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080205