JP2018142947A - Signal processing circuit and program - Google Patents

Signal processing circuit and program Download PDF

Info

Publication number
JP2018142947A
JP2018142947A JP2017094092A JP2017094092A JP2018142947A JP 2018142947 A JP2018142947 A JP 2018142947A JP 2017094092 A JP2017094092 A JP 2017094092A JP 2017094092 A JP2017094092 A JP 2017094092A JP 2018142947 A JP2018142947 A JP 2018142947A
Authority
JP
Japan
Prior art keywords
matrix
signal
circuit
rgb
signals
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2017094092A
Other languages
Japanese (ja)
Other versions
JP6902922B2 (en
Inventor
俊夫 安江
Toshio Yasue
俊夫 安江
顕一郎 正岡
Kenichiro Masaoka
顕一郎 正岡
島本 洋
Hiroshi Shimamoto
洋 島本
山下 誉行
Takayuki Yamashita
誉行 山下
林田 哲哉
Tetsuya Hayashida
哲哉 林田
剛 崎山
Tsuyoshi Sakiyama
剛 崎山
忠明 柳
Tadaaki Yanagi
忠明 柳
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.)
Hitachi Kokusai Electric Inc
Japan Broadcasting Corp
Original Assignee
Hitachi Kokusai Electric Inc
Nippon Hoso Kyokai NHK
Japan Broadcasting 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 Hitachi Kokusai Electric Inc, Nippon Hoso Kyokai NHK, Japan Broadcasting Corp filed Critical Hitachi Kokusai Electric Inc
Publication of JP2018142947A publication Critical patent/JP2018142947A/en
Application granted granted Critical
Publication of JP6902922B2 publication Critical patent/JP6902922B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Color Television Image Signal Generators (AREA)

Abstract

PROBLEM TO BE SOLVED: To maintain the grayscale of high-saturation RGB signals when performing a linear matrix color correction process and a knee or limit process.SOLUTION: A linear matrix circuit 10-1 multiplies RGB signal values by a preset matrix LM1 and thereby performs a first instance of linear matrix color correction process and generates RGB signals (Rmid, Gmid, Bmid signals). A dynamic range compression circuit 102 performs a dynamic range compression process such as a knee process or a grip process on the RGB signals (Rmid, Gmid, Bmid signals) and generates RGB signals (Rmid', Gmid', Bmid' signals). A linear matrix circuit 11-1 multiplies the RGB signals (Rmid', Gmid', Bmid' signals) by a preset matrix LM2 and thereby performs a second instance of linear matrix color correction process and generates RGB signals (Rfin, Gfin, Bfin signals).SELECTED DRAWING: Figure 1

Description

本発明は、RGB信号を処理する回路及びプログラムに関する。 The present invention relates to a circuit and program for processing RGB signals.

従来、撮像装置においては、目的とする表色系に合致する色再現を得るために、リニアマトリクスを用いた色補正処理が行われる。このリニアマトリクスを用いた色補正処理は、撮像素子から得られるRGB信号の値に対し、3行3列の行列を掛け合わせることにより、RGB信号の値を目的とする信号の値に近くなるように補正する処理である。   2. Description of the Related Art Conventionally, in an imaging apparatus, color correction processing using a linear matrix is performed in order to obtain color reproduction that matches a target color system. In this color correction process using the linear matrix, the value of the RGB signal is approximated to the value of the target signal by multiplying the value of the RGB signal obtained from the image sensor by a matrix of 3 rows and 3 columns. This is a process of correcting to.

リニアマトリクスの色補正処理により、撮像素子及び光学系によって生じる誤差を補正することができると共に、一般的な表色系において必要となる負の撮像特性を再現することができる。このため、この処理は非常に広く用いられている。図9は、負の撮像特性の例を示す図であり、ITU-R rec.BT2020に規定された超高精細映像に定められる広色域表色系の理想撮像特性を示す。横軸は波長(nm)、縦軸は感度(任意単位)である。リニアマトリクスの色補正処理により、図9に示すように、RGB信号のそれぞれについて負の撮像特性を再現することができる。   By the color correction processing of the linear matrix, it is possible to correct errors caused by the image sensor and the optical system, and to reproduce negative imaging characteristics required in a general color system. For this reason, this process is very widely used. FIG. 9 is a diagram showing an example of negative imaging characteristics, and shows ideal imaging characteristics of a wide color gamut color system defined for ultra-high definition video defined in ITU-R rec.BT2020. The horizontal axis represents wavelength (nm) and the vertical axis represents sensitivity (arbitrary unit). By the linear matrix color correction processing, as shown in FIG. 9, negative imaging characteristics can be reproduced for each of the RGB signals.

一方で、撮像装置においては、撮像素子から得られるRGB信号の値を伝送または表示可能な範囲に納めるために、ニー、クリップ等の非線形な信号処理(ダイナミックレンジ圧縮処理)が行われることが多い。   On the other hand, in an imaging device, nonlinear signal processing (dynamic range compression processing) such as knee and clipping is often performed in order to keep the RGB signal values obtained from the imaging device within a transmittable or displayable range. .

このようなリニアマトリクスの色補正処理及びダイナミックレンジ圧縮処理等を含む、撮像素子から得られたRGB信号に対する信号処理を行う撮像装置が知られている(例えば、特許文献1〜3を参照)。   There is known an imaging apparatus that performs signal processing on RGB signals obtained from an imaging element, including such linear matrix color correction processing and dynamic range compression processing (see, for example, Patent Documents 1 to 3).

図7は、従来の信号処理回路の構成例を示すブロック図である。この信号処理回路100は、リニアマトリクス回路101及びダイナミックレンジ圧縮回路102を備えている。撮像素子から得られたRGB信号に対する従来の処理では、リニアマトリクスの色補正処理を行った後に、ダイナミックレンジ圧縮処理を行うことが一般的である。   FIG. 7 is a block diagram illustrating a configuration example of a conventional signal processing circuit. The signal processing circuit 100 includes a linear matrix circuit 101 and a dynamic range compression circuit 102. In a conventional process for RGB signals obtained from an image sensor, a dynamic range compression process is generally performed after a linear matrix color correction process.

図8は、従来の信号処理回路100の処理例を説明する図である。図8(a)〜(c)において、横軸は入射光強度を示し、縦軸はRGB信号の信号値を示す。青が支配的な被写体光のRGB信号が撮像素子から出力されたものと仮定し、当該RGB信号が信号処理回路100に入力されるものとする。   FIG. 8 is a diagram for explaining a processing example of the conventional signal processing circuit 100. 8A to 8C, the horizontal axis represents the incident light intensity, and the vertical axis represents the signal value of the RGB signal. It is assumed that an RGB signal of subject light in which blue is dominant is output from the image sensor, and the RGB signal is input to the signal processing circuit 100.

図8(a)は、リニアマトリクス回路101に入力されるRGB信号の特性を示し、図8(b)は、リニアマトリクス回路101から出力され、ダイナミックレンジ圧縮回路102に入力されるRGB信号の特性を示す。また、図8(c)は、ダイナミックレンジ圧縮回路102から出力されるRGB信号の特性を示す。尚、図8(a)〜(c)の特性は、信号処理回路100の処理例を説明するために、彩度の程度及び階調の程度を直感的に把握できるように便宜的に示した概略である。   8A shows the characteristics of the RGB signal input to the linear matrix circuit 101, and FIG. 8B shows the characteristics of the RGB signal output from the linear matrix circuit 101 and input to the dynamic range compression circuit 102. Indicates. FIG. 8C shows the characteristics of the RGB signal output from the dynamic range compression circuit 102. The characteristics shown in FIGS. 8A to 8C are shown for convenience so that the degree of saturation and the degree of gradation can be intuitively understood in order to explain the processing example of the signal processing circuit 100. It is an outline.

図7には図示しない撮像素子から得られたRGB信号に対し、ゲイン調整、ノイズ除去等の処理が行われた後、RGB信号が、リニアマトリクス回路101に入力される。一般に、撮像素子から得られたRGB信号は、負の特性を実現できないことや、クロストークの影響を受けることから、理想的な信号値に比べて彩度が落ち、くすんだ色の信号となってしまう。そこで、リニアマトリクス回路101により、色補正処理が行われる。すなわちRGB信号の各成分の色に対してバランスを整える処理、及び彩度を上げる処理が行われる。   After RGB signals obtained from an image sensor not shown in FIG. 7 are subjected to processing such as gain adjustment and noise removal, the RGB signals are input to the linear matrix circuit 101. In general, the RGB signal obtained from the image sensor cannot achieve negative characteristics or is affected by crosstalk, so the saturation is lower than the ideal signal value and the signal becomes dull. End up. Therefore, color correction processing is performed by the linear matrix circuit 101. That is, processing for adjusting the balance of the colors of the RGB signals and processing for increasing the saturation are performed.

リニアマトリクス回路101は、RGB信号の値に対し、予め設定された3行3列の行列LMorgを掛け合わせることで、リニアマトリクスの色補正処理を行う(色再現の補正を行う)。3行3列の行列LMorgの各要素であるマトリクス係数は、目的とする色再現を実現するべく、任意の値をとることができる。   The linear matrix circuit 101 performs linear matrix color correction processing (corrects color reproduction) by multiplying RGB signal values by a preset matrix of 3 rows and 3 columns LMorg. The matrix coefficient, which is each element of the 3 × 3 matrix LMorg, can take any value in order to achieve the desired color reproduction.

例えば、図8(a)に示すRGB信号がリニアマトリクス回路101に入力されたものとする。図8(a)に示すRGB信号に対しリニアマトリクスの色補正処理が行われることで、B信号の信号値が大きくなり、R,G信号の信号値が小さくなり、図8(b)に示すRGB信号が生成される。これにより、RGB信号の彩度が上がる。   For example, it is assumed that the RGB signal shown in FIG. 8A is input to the linear matrix circuit 101. By performing color correction processing of the linear matrix on the RGB signal shown in FIG. 8A, the signal value of the B signal is increased, and the signal values of the R and G signals are reduced, as shown in FIG. 8B. An RGB signal is generated. This increases the saturation of the RGB signal.

ダイナミックレンジ圧縮回路102は、リニアマトリクス回路101によりリニアマトリクスの色補正処理が行われたRGB信号の値に対し、ニー処理、クリップ処理等のダイナミックレンジ圧縮処理を行う。ニー処理は、閾値(ニーポイント)を超えたRGB信号の値を、ある比率(ニースロープ)に従って減少させる処理である。クリップ処理は、閾値(クリップポイント)を超えたRGB信号の値を、閾値に制限する処理である。ここでは、階調表現を線形から変化させる処理を一般的に、ダイナミック圧縮処理と定義する。   The dynamic range compression circuit 102 performs dynamic range compression processing such as knee processing and clip processing on the values of the RGB signals that have undergone linear matrix color correction processing by the linear matrix circuit 101. The knee process is a process of reducing the value of the RGB signal exceeding the threshold (knee point) according to a certain ratio (knee slope). The clipping process is a process of limiting the RGB signal value exceeding the threshold (clip point) to the threshold. Here, processing for changing the gradation expression from linear is generally defined as dynamic compression processing.

例えば、図8(b)に示すRGB信号に対しダイナミック圧縮処理(クリップ処理)が行われることで、ダイナミックレンジ圧縮処理された領域ではB信号の信号値が上限値に制限され、図8(c)に示すRGB信号が生成される。図8(c)に示すRGB信号は、入射光強度の全範囲において、青色となる。   For example, by performing dynamic compression processing (clip processing) on the RGB signal shown in FIG. 8B, the signal value of the B signal is limited to the upper limit value in the region subjected to dynamic range compression processing, and FIG. RGB signals shown in FIG. The RGB signal shown in FIG. 8C is blue in the entire range of incident light intensity.

特公昭59−41357号公報Japanese Patent Publication No.59-41357 特開平11−191893号公報JP-A-11-191893 特許第4004849号公報Japanese Patent No. 4004849

このように、信号処理回路100のリニアマトリクス回路101により、高彩度の被写体のRGB信号に対しリニアマトリクスの色補正処理が行われることで、目的とする表色系における色域の境界付近の高彩度信号が得られることがある。また、色域外となる信号が得られることもある。   As described above, the linear matrix circuit 101 of the signal processing circuit 100 performs the linear matrix color correction processing on the RGB signal of the high-saturation subject, so that the high-saturation signal near the boundary of the color gamut in the target color system is obtained. May be obtained. In addition, a signal out of the color gamut may be obtained.

そして、ダイナミックレンジ圧縮回路102により、高彩度信号または色域外信号に対しダイナミックレンジ圧縮処理が行われると、RGB信号のうち支配的な信号の値のダイナミックレンジが圧縮されてしまう。このため、図8(c)に示すように、ダイナミックレンジ圧縮処理によりB信号の信号値が一定となった領域において、RGB信号の階調が損なわれる、いわゆる階調潰れが発生する。   When dynamic range compression processing is performed on the high saturation signal or the out-of-gamut signal by the dynamic range compression circuit 102, the dynamic range of the dominant signal value of the RGB signals is compressed. For this reason, as shown in FIG. 8C, in the region where the signal value of the B signal becomes constant by the dynamic range compression processing, the gradation of the RGB signal is impaired, so-called gradation collapse occurs.

ここで、目的とする表色系の青の原色(プライマリーカラー)に等しい色の光が、光学系から撮像素子へ入射された場合を想定する。センサの出力信号の階調を12ビット(0〜4095)とする。   Here, it is assumed that light having a color equal to the primary primary color (primary color) of the color system is incident on the image sensor from the optical system. The gradation of the sensor output signal is 12 bits (0 to 4095).

リニアマトリクスの色補正処理により正しい色再現を得た場合、リニアマトリクスの色補正後のRGB信号は、光量の増大(入射光強度の増大)に伴い、(R,G,B)=(0,0,0:黒)〜(0,0,4095:青)〜(4095,4095,4095:白)と変化する。   When correct color reproduction is obtained by the color correction processing of the linear matrix, the RGB signal after the color correction of the linear matrix is accompanied by (R, G, B) = (0, 0, 0: Black) to (0, 0, 4095: Blue) to (4095, 4095, 4095: White).

そして、このリニアマトリクスの色補正後のRGB信号に対し、ダイナミックレンジ圧縮処理としてクリップ処理を行う。そうすると、ダイナミックレンジ圧縮処理後のRGB信号は、(0,0,0:黒)〜(0,0,1023:青)〜(1023,1023,1023:白)と変化する。ここで、例えばダイナミックレンジ圧縮前の信号値が(0,0,1023)〜(0,0,4095)である場合、圧縮後は全て(0,0,1023)に変化する。   Then, clipping processing is performed as dynamic range compression processing on the RGB signals after color correction of the linear matrix. Then, the RGB signal after the dynamic range compression process changes from (0, 0, 0: black) to (0, 0, 1023: blue) to (1023, 1023, 1023: white). Here, for example, when the signal value before dynamic range compression is (0, 0, 1023) to (0, 0, 4095), all the values after compression change to (0, 0, 1023).

このため、B信号の階調が損なわれ、映像に違和感が生じてしまう。これは、R(赤)信号またはG(緑)信号の値が0ではない場合であっても、R,G<<Bとなるときに、同様の現象が発生する。また、ダイナミックレンジ圧縮処理としてクリップ処理ではなくニー処理を行う場合も同様である。ここでは、目的とする表色系の青の原色に等しい色の光が入射した場合を例示したが、この現象は、青に限らず赤または緑の原色に等しい色の光が入射した場合も、同様に発生する。   For this reason, the gradation of the B signal is impaired, and the video is uncomfortable. Even if the value of the R (red) signal or the G (green) signal is not 0, the same phenomenon occurs when R, G << B. The same applies to the case where knee processing is performed instead of clip processing as dynamic range compression processing. Here, the case where light of the same color as the primary color of blue of the target color system is incident is illustrated, but this phenomenon is not limited to blue but also when light of the same color as the primary color of red or green is incident. Occur as well.

近年では、塗料または染色技術の進歩、LEDを始めとする照明技術の進歩により、高彩度の被写体を撮影する機会が多くなっており、このような現象が、違和感のある映像を生み出している。   In recent years, due to advances in paint or dyeing technology and advances in lighting technology such as LEDs, there have been many opportunities to photograph high-saturation subjects, and such a phenomenon has produced an uncomfortable image.

そこで、本発明は前記課題を解決するためになされたものであり、その目的は、リニアマトリクスの色補正処理、及び、ニーまたはリミットの処理を行う際に、高彩度のRGB信号の階調を保つことが可能な信号処理回路及びプログラムを提供することにある。   Therefore, the present invention has been made to solve the above-described problems, and its purpose is to maintain the gradation of a highly saturated RGB signal when performing linear matrix color correction processing and knee or limit processing. It is an object of the present invention to provide a signal processing circuit and a program that can be used.

前記課題を解決するため、請求項1の信号処理回路は、RGB信号に対し所定の処理を行う信号処理回路において、前記RGB信号に対し、予め設定された3行3列の第1の行列を掛け合わせることで、リニアマトリクスの色補正処理を行う第1のリニアマトリクス回路と、前記第1のリニアマトリクス回路により前記色補正処理が行われたRGB信号に対し、ダイナミックレンジ圧縮処理を行うダイナミックレンジ圧縮回路と、前記ダイナミックレンジ圧縮回路により前記ダイナミックレンジ圧縮処理が行われたRGB信号に対し、予め設定された3行3列の第2の行列を掛け合わせることで、リニアマトリクスの色補正処理を行う第2のリニアマトリクス回路と、を備え、前記第1のリニアマトリクス回路により前記第1の行列を用いて前記色補正処理が行われたRGB信号を、前記第1の行列と前記第2の行列との積である3行3列の行列を用いて前記色補正処理が行われた場合のRGB信号よりも彩度を落とした信号とする、ことを特徴とする。   In order to solve the above problem, the signal processing circuit according to claim 1 is a signal processing circuit that performs predetermined processing on the RGB signal, and sets a first matrix of 3 rows and 3 columns set in advance for the RGB signal. By multiplying, a first linear matrix circuit that performs color correction processing of a linear matrix and a dynamic range that performs dynamic range compression processing on the RGB signals that have been subjected to the color correction processing by the first linear matrix circuit. A linear matrix color correction process is performed by multiplying an RGB signal that has been subjected to the dynamic range compression process by the compression circuit and the dynamic range compression circuit by a preset second matrix of 3 rows and 3 columns. And a second linear matrix circuit that performs the first linear matrix circuit using the first matrix. From the RGB signal when the color correction processing is performed using the 3 × 3 matrix which is the product of the first matrix and the second matrix, the RGB signal subjected to the color correction processing Is also characterized by a signal with reduced saturation.

また、請求項2の信号処理回路は、請求項1に記載の信号処理回路において、前記第1のリニアマトリクス回路が、前記RGB信号に対し、前記第1の行列を掛け合わせてリニアマトリクスの色補正処理を行うことで、前記RGB信号の彩度を落とし、前記第2のリニアマトリクス回路が、前記ダイナミックレンジ圧縮回路により前記ダイナミックレンジ圧縮処理が行われたRGB信号に対し、前記第2の行列を掛け合わせてリニアマトリクスの色補正処理を行うことで、前記RGB信号の彩度を上げると共に、前記RGB信号の色バランスを整える、ことを特徴とする。   According to a second aspect of the present invention, there is provided the signal processing circuit according to the first aspect, wherein the first linear matrix circuit multiplies the first matrix with the RGB signal by multiplying the first matrix. By performing correction processing, the saturation of the RGB signal is reduced, and the second linear matrix circuit applies the second matrix to the RGB signal subjected to the dynamic range compression processing by the dynamic range compression circuit. And performing color correction processing of the linear matrix to increase the saturation of the RGB signal and adjust the color balance of the RGB signal.

また、請求項3の信号処理回路は、請求項1に記載の信号処理回路において、前記第1のリニアマトリクス回路が、前記RGB信号に対し、前記第1の行列を掛け合わせてリニアマトリクスの色補正処理を行うことで、前記RGB信号の色バランスを整え、前記第2のリニアマトリクス回路が、前記ダイナミックレンジ圧縮回路により前記ダイナミックレンジ圧縮処理が行われたRGB信号に対し、前記第2の行列を掛け合わせてリニアマトリクスの色補正処理を行うことで、前記RGB信号の彩度を上げる、ことを特徴とする。   According to a third aspect of the present invention, there is provided the signal processing circuit according to the first aspect, wherein the first linear matrix circuit multiplies the first matrix with the RGB signal by multiplying the first matrix. By performing correction processing, the color balance of the RGB signal is adjusted, and the second linear matrix circuit performs the second matrix on the RGB signal on which the dynamic range compression processing has been performed by the dynamic range compression circuit. And the color correction processing of the linear matrix is performed to increase the saturation of the RGB signal.

また、請求項4の信号処理回路は、請求項1に記載の信号処理回路において、前記第1の行列と前記第2の行列との積である3行3列の行列をLMorg、αを予め設定された正の実数のパラメータとして、前記第1の行列LM1及び前記第2の行列LM2を、
とする、ことを特徴とする。
According to a fourth aspect of the present invention, there is provided the signal processing circuit according to the first aspect, wherein a matrix of 3 rows and 3 columns, which is a product of the first matrix and the second matrix, is set to LMorg and α in advance. As the set positive real parameter, the first matrix LM1 and the second matrix LM2 are set as follows:
It is characterized by that.

また、請求項5の信号処理回路は、請求項1に記載の信号処理回路において、前記第1の行列と前記第2の行列との積である3行3列の行列をLMorg、αR,αG,αBを前記RGB信号のそれぞれに対応する予め設定された正の実数のパラメータとして、前記第1の行列LM1及び前記第2の行列LM2を、
とする、ことを特徴とする。
The signal processing circuit according to claim 5 is a signal processing circuit according to claim 1, wherein a matrix of 3 rows and 3 columns, which is a product of the first matrix and the second matrix, is defined as LMorg, α R , Using α G and α B as preset positive real parameters corresponding to the RGB signals, the first matrix LM1 and the second matrix LM2,
It is characterized by that.

また、請求項6の信号処理回路は、請求項1に記載の信号処理回路において、前記第1の行列と前記第2の行列との積である3行3列の行列をLMorg、βを予め設定された正の実数のパラメータとして、前記第2の行列LM2及び前記第1の行列LM1を、
とする、ことを特徴とする。
A signal processing circuit according to a sixth aspect is the signal processing circuit according to the first aspect, wherein a matrix of 3 rows and 3 columns, which is a product of the first matrix and the second matrix, is preliminarily set as LMorg and β. As the set positive real parameter, the second matrix LM2 and the first matrix LM1 are set as follows:
It is characterized by that.

また、請求項7の信号処理回路は、請求項1に記載の信号処理回路において、前記第1の行列と前記第2の行列との積である3行3列の行列をLMorg、βR,βG,βBを前記RGB信号のそれぞれに対応する予め設定された正の実数のパラメータとして、前記第2の行列LM2及び前記第1の行列LM1を、
とする、ことを特徴とする。
The signal processing circuit according to claim 7 is the signal processing circuit according to claim 1, wherein a matrix of 3 rows and 3 columns, which is a product of the first matrix and the second matrix, is defined as LMorg, β R , Using β G and β B as preset positive real parameters corresponding to the RGB signals, the second matrix LM2 and the first matrix LM1
It is characterized by that.

また、請求項8の信号処理回路は、請求項1から7までのいずれか一項に記載の信号処理回路において、前記第2の行列を、前記第1の行列の逆行列とする、ことを特徴とする。   The signal processing circuit according to claim 8 is the signal processing circuit according to any one of claims 1 to 7, wherein the second matrix is an inverse matrix of the first matrix. Features.

また、請求項9の信号処理回路は、請求項1から8までのいずれか一項に記載の信号処理回路において、前記第1のリニアマトリクス回路が、撮像素子により得られた前記RGB信号に対し、前記第1の行列を掛け合わせることで、前記リニアマトリクスの色補正処理を行う、ことを特徴とする。   A signal processing circuit according to a ninth aspect is the signal processing circuit according to any one of the first to eighth aspects, wherein the first linear matrix circuit applies the RGB signal obtained by the image sensor. The color correction processing of the linear matrix is performed by multiplying the first matrix.

また、請求項10の信号処理回路は、請求項1から9までのいずれか一項に記載の信号処理回路において、さらに、前記RGB信号に対し、前記第2の行列と前記第1の行列との積である3行3列の予め設定された第3の行列を掛け合わせることで、リニアマトリクスの色補正処理を行う第3のリニアマトリクス回路と、前記第3のリニアマトリクス回路により前記色補正処理が行われたRGB信号のそれぞれに対し、予め設定された基準値よりも小さい信号を前記基準値にクリップし、クリップ後のRGB信号を生成するクリップ回路と、前記クリップ回路により生成されたRGB信号に対し、前記第3の行列の逆行列である予め設定された第4の行列を掛け合わせることで、リニアマトリクスの色補正処理を行う第4のリニアマトリクス回路と、を備え、前記第1のリニアマトリクス回路が、前記第4のリニアマトリクス回路により前記色補正処理が行われたRGB信号に対し、前記第1の行列を掛け合わせることで、リニアマトリクスの色補正処理を行う、ことを特徴とする。   A signal processing circuit according to a tenth aspect is the signal processing circuit according to any one of the first to ninth aspects, further comprising the second matrix and the first matrix for the RGB signal. Are multiplied by a preset third matrix of 3 rows and 3 columns, and the color correction is performed by the third linear matrix circuit that performs color correction processing of the linear matrix and the third linear matrix circuit. For each processed RGB signal, a signal that is smaller than a preset reference value is clipped to the reference value, and a clip circuit that generates an RGB signal after clipping, and the RGB generated by the clip circuit A fourth linear matrix that performs color correction processing of the linear matrix by multiplying the signal by a preset fourth matrix that is an inverse matrix of the third matrix. And the first linear matrix circuit multiplies the first matrix with the RGB signal that has been subjected to the color correction processing by the fourth linear matrix circuit. Color correction processing is performed.

また、請求項11の信号処理回路は、請求項10に記載の信号処理回路において、前記第4のリニアマトリクス回路及び前記第1のリニアマトリクス回路の代わりに、第5のリニアマトリクス回路を備え、前記第5のリニアマトリクス回路が、前記クリップ回路により生成されたRGB信号に対し、前記第1の行列と前記第4の行列との積である3行3列の予め設定された第5の行列を掛け合わせることで、リニアマトリクスの色補正処理を行い、前記ダイナミックレンジ圧縮回路が、前記第5のリニアマトリクス回路により前記色補正処理が行われたRGB信号に対し、ダイナミックレンジ圧縮処理を行う、ことを特徴とする。   The signal processing circuit according to claim 11 is the signal processing circuit according to claim 10, comprising a fifth linear matrix circuit instead of the fourth linear matrix circuit and the first linear matrix circuit, The fifth linear matrix circuit is a preset fifth matrix of 3 rows and 3 columns that is the product of the first matrix and the fourth matrix for the RGB signal generated by the clip circuit. Are multiplied by a linear matrix color correction process, and the dynamic range compression circuit performs a dynamic range compression process on the RGB signal subjected to the color correction process by the fifth linear matrix circuit. It is characterized by that.

さらに、請求項12のプログラムは、コンピュータを、請求項1から11までのいずれか一項に記載の信号処理回路として機能させることを特徴とする。   Furthermore, a program according to a twelfth aspect causes a computer to function as the signal processing circuit according to any one of the first to eleventh aspects.

以上のように、本発明によれば、リニアマトリクスの色補正処理、及び、ニーまたはリミットの処理を行う際に、高彩度のRGB信号の階調を保つことが可能となる。   As described above, according to the present invention, it is possible to maintain the gradation of a highly saturated RGB signal when performing linear matrix color correction processing and knee or limit processing.

実施例1の信号処理回路の構成例を示すブロック図である。FIG. 3 is a block diagram illustrating a configuration example of a signal processing circuit according to the first embodiment. 実施例2の信号処理回路の構成例を示すブロック図である。FIG. 6 is a block diagram illustrating a configuration example of a signal processing circuit according to a second embodiment. 実施例3の信号処理回路の構成例を示すブロック図である。FIG. 10 is a block diagram illustrating a configuration example of a signal processing circuit according to a third embodiment. 実施例4の撮像装置の構成例を示すブロック図である。FIG. 10 is a block diagram illustrating a configuration example of an imaging apparatus according to a fourth embodiment. 第1の手法の行列LM1,LM2を用いた信号処理回路の処理例を説明する図である。It is a figure explaining the process example of the signal processing circuit using matrix LM1, LM2 of the 1st method. 高彩度のRGB信号を入力したときの実施例1の実験結果を説明する図である。It is a figure explaining the experimental result of Example 1 when a high saturation RGB signal is input. 従来の信号処理回路の構成例を示すブロック図である。It is a block diagram which shows the structural example of the conventional signal processing circuit. 従来の信号処理回路の処理例を説明する図である。It is a figure explaining the process example of the conventional signal processing circuit. 負の撮像特性の例を示す図である。It is a figure which shows the example of a negative imaging characteristic. 実施例5の信号処理回路の構成例を示すブロック図である。FIG. 10 is a block diagram illustrating a configuration example of a signal processing circuit according to a fifth embodiment. 実施例6の信号処理回路の構成例を示すブロック図である。FIG. 10 is a block diagram illustrating a configuration example of a signal processing circuit according to a sixth embodiment. 色域外信号処理がない場合の信号値の変移を説明する図である。It is a figure explaining transition of a signal value when there is no signal processing outside a color gamut. 色域外信号処理がある場合の信号値の変移を説明する図である。It is a figure explaining transition of a signal value in case there is signal processing outside a color gamut. 高彩度のRGB信号を入力したときの実施例6の実験結果を説明する図である。It is a figure explaining the experimental result of Example 6 when a RGB signal of high saturation is input.

以下、本発明を実施するための形態について図面を用いて詳細に説明する。
〔実施例1〕
まず、本発明の第1の実施形態(実施例1)について説明する。図1は、実施例1の信号処理回路の構成例を示すブロック図である。この信号処理回路1は、リニアマトリクス回路10−1,11−1及びダイナミックレンジ圧縮回路102を備えている。
Hereinafter, embodiments for carrying out the present invention will be described in detail with reference to the drawings.
[Example 1]
First, the first embodiment (Example 1) of the present invention will be described. FIG. 1 is a block diagram illustrating a configuration example of a signal processing circuit according to the first embodiment. The signal processing circuit 1 includes linear matrix circuits 10-1 and 11-1 and a dynamic range compression circuit 102.

例えば信号処理回路1が撮像装置に使用される場合、図1には図示しない撮像素子から得られた信号が、適宜必要とされるゲイン調整、ノイズ除去等の処理が行われた後に、信号処理回路1に入力される。図7に示した従来技術の場合と同様に、撮像素子から得られたRGB信号は、隣接する異なる素子の影響を受けてしまうことから、実際の被写体光に比べて彩度が落ち、くすんだ色の信号となってしまう。そこで、信号処理回路1は、目的とする表色系における最適な信号値に色補正すると共に、ダイナミックレンジ圧縮処理に起因する高彩度光の階調潰れを軽減する。   For example, when the signal processing circuit 1 is used in an image pickup apparatus, a signal obtained from an image pickup device (not shown in FIG. 1) is subjected to signal processing after processing such as gain adjustment and noise removal that are appropriately required. Input to the circuit 1. As in the case of the prior art shown in FIG. 7, the RGB signal obtained from the image sensor is affected by different adjacent elements, so that the saturation is lowered and dull compared to the actual subject light. It becomes a color signal. Therefore, the signal processing circuit 1 corrects the color to an optimum signal value in the target color system, and reduces the gradation loss of high saturation light caused by the dynamic range compression processing.

信号処理回路1は、撮像装置の他、映像信号に対して変換処理等を行う映像信号処理装置にも適用がある。変換処理の例としては、HDR(High Dynamic Range:高ダイナミックレンジ)の信号をSDR(Standard Dynamic Range:標準ダイナミックレンジ)の信号に変換する処理がある。後述する実施例2の信号処理回路2及び実施例3の信号処理回路3についても同様である。   The signal processing circuit 1 is applicable to a video signal processing apparatus that performs conversion processing or the like on a video signal in addition to an imaging apparatus. As an example of the conversion process, there is a process of converting an HDR (High Dynamic Range) signal into an SDR (Standard Dynamic Range) signal. The same applies to the signal processing circuit 2 of the second embodiment and the signal processing circuit 3 of the third embodiment which will be described later.

リニアマトリクス回路10−1は、RGB信号を入力し、RGB信号の値に対し、予め設定された3行3列の行列LM1を掛け合わせることで、1回目のリニアマトリクスの色補正処理を行う。これにより、図7に示した従来のリニアマトリクス回路101により出力されるRGB信号よりも彩度を落としたRGB信号が生成される。   The linear matrix circuit 10-1 receives the RGB signal and performs a first linear matrix color correction process by multiplying the RGB signal value by a preset 3 × 3 matrix LM 1. As a result, an RGB signal with a lower saturation than the RGB signal output by the conventional linear matrix circuit 101 shown in FIG. 7 is generated.

リニアマトリクス回路10−1は、1回目のリニアマトリクスの色補正処理後のRGB信号(Rmid,Gmid,Bmid信号)をダイナミックレンジ圧縮回路102に出力する。予め設定された行列LM1の詳細については後述する。   The linear matrix circuit 10-1 outputs the RGB signals (Rmid, Gmid, Bmid signals) after the first linear matrix color correction processing to the dynamic range compression circuit 102. Details of the preset matrix LM1 will be described later.

ダイナミックレンジ圧縮回路102は、リニアマトリクス回路10−1から1回目のリニアマトリクスの色補正処理が行われたRGB信号(Rmid,Gmid,Bmid信号)を入力する。そして、ダイナミックレンジ圧縮回路102は、図7に示したダイナミックレンジ圧縮回路102と同様に、RGB信号(Rmid,Gmid,Bmid信号)の値に対し、ニー処理、クリップ処理等のダイナミックレンジ圧縮処理を行う。これにより、従来よりも彩度を落としたRGB信号(Rmid,Gmid,Bmid信号)に対してダイナミックレンジ圧縮処理が行われるから、従来に比べて階調潰れが抑制されたRGB信号(Rmid’,Gmid’,Bmid信号’)が生成される。   The dynamic range compression circuit 102 inputs RGB signals (Rmid, Gmid, Bmid signals) that have undergone the first linear matrix color correction processing from the linear matrix circuit 10-1. Then, similarly to the dynamic range compression circuit 102 shown in FIG. 7, the dynamic range compression circuit 102 performs dynamic range compression processing such as knee processing and clip processing on the values of the RGB signals (Rmid, Gmid, and Bmid signals). Do. As a result, the dynamic range compression processing is performed on the RGB signals (Rmid, Gmid, Bmid signals) whose saturation is lower than that of the prior art, so that the RGB signals (Rmid ′, Gmid ′, Bmid signal ′) is generated.

ダイナミックレンジ圧縮回路102は、ダイナミックレンジ圧縮処理後のRGB信号(Rmid’,Gmid’,Bmid’信号)をリニアマトリクス回路11−1に出力する。   The dynamic range compression circuit 102 outputs the RGB signals (Rmid ′, Gmid ′, Bmid ′ signals) after the dynamic range compression processing to the linear matrix circuit 11-1.

尚、ダイナミックレンジ圧縮回路102は、ダイナミックレンジ圧縮処理として、ニー処理のみを行うようにしてもよいし、クリップ処理のみを行うようにしてもよい。また、ダイナミックレンジ圧縮回路102は、ニー処理及びクリップ処理以外のダイナミックレンジ圧縮処理を行うようにしてもよい。また、ダイナミックレンジ圧縮回路102は、ニー処理及びクリップ処理等の複数の処理を行うようにしてもよい。   Note that the dynamic range compression circuit 102 may perform only knee processing or only clip processing as dynamic range compression processing. The dynamic range compression circuit 102 may perform dynamic range compression processing other than knee processing and clip processing. The dynamic range compression circuit 102 may perform a plurality of processes such as a knee process and a clip process.

リニアマトリクス回路11−1は、ダイナミックレンジ圧縮回路102からダイナミックレンジ圧縮処理が行われたRGB信号(Rmid’,Gmid’,Bmid’信号)を入力する。そして、リニアマトリクス回路11−1は、RGB信号(Rmid’,Gmid’,Bmid’信号)の値に対し、予め設定された3行3列の行列LM2を掛け合わせることで、2回目のリニアマトリクスの色補正処理を行う。この2回目のリニアマトリクスの色補正処理により、所望する色再現が実現される。これにより、従来と同様の目的とする色補正処理が行われ、かつ、従来に比べて階調潰れが抑制されたRGB信号(Rfin,Gfin,Bfin信号)が生成される。   The linear matrix circuit 11-1 inputs RGB signals (Rmid ', Gmid', Bmid 'signals) subjected to dynamic range compression processing from the dynamic range compression circuit 102. The linear matrix circuit 11-1 then multiplies the value of the RGB signal (Rmid ′, Gmid ′, Bmid ′ signal) by a preset 3 × 3 matrix LM2 to obtain the second linear matrix. The color correction process is performed. The desired color reproduction is realized by the second linear matrix color correction processing. As a result, the same color correction processing as that of the prior art is performed, and RGB signals (Rfin, Gfin, Bfin signals) in which gradation collapse is suppressed as compared with the prior art are generated.

リニアマトリクス回路11−1は、2回目のリニアマトリクスの色補正処理後のRGB信号(Rfin,Gfin,Bfin信号)を出力する。予め設定された行列LM2の詳細については後述する。   The linear matrix circuit 11-1 outputs RGB signals (Rfin, Gfin, Bfin signals) after color correction processing of the second linear matrix. Details of the preset matrix LM2 will be described later.

(行列LM1,LM2)
次に、予め設定された行列LM1,LM2について詳細に説明する。行列LM1,LM2は、所定の手法にて設計者の演算により得られ、予め設定される。この設定手法には2種類ある。第1は、最初に行列LM1が算出され、次に行列LM2が算出される手法であり、第2は、最初に行列LM2が算出され、次に行列LM1が算出される手法である。
(Matrix LM1, LM2)
Next, the preset matrices LM1 and LM2 will be described in detail. The matrices LM1 and LM2 are obtained by a designer's calculation using a predetermined method and set in advance. There are two types of setting methods. The first is a method in which the matrix LM1 is calculated first and then the matrix LM2 is calculated, and the second is a method in which the matrix LM2 is calculated first and then the matrix LM1 is calculated.

いずれの手法も、行列LM1,LM2の要素であるリニアマトリクス係数は、リニアマトリクス回路10−1,11−1による1番目及び2番目のリニアマトリクスの色補正処理を合わせることで、目的とする色補正処理が行われるように決定される。すなわち、行列LM1,LM2のリニアマトリクス係数は、行列LM1,LM2の積であるLM2・LM1=LMorgで表現される色補正処理(信号処理回路1全体で目的とする色補正処理)が行われるように決定される。言い換えると、リニアマトリクス回路10−1により行列LM1を用いて行われる色補正処理及びリニアマトリクス回路11−1により行列LM2を用いて行われる色補正処理と、行列LM1,LM2の積であるLM2・LM1=LMorgの行列を用いて行われる色補正処理とが等価であるものとして、リニアマトリクス係数が決定される。行列LMorgは、図7に示したリニアマトリクス回路101が用いる行列である。   In either method, the linear matrix coefficients that are the elements of the matrices LM1 and LM2 are obtained by combining the color correction processing of the first and second linear matrices by the linear matrix circuits 10-1 and 11-1 to obtain the target color. It is determined that correction processing is performed. That is, the linear matrix coefficients of the matrices LM1 and LM2 are subjected to color correction processing (target color correction processing for the entire signal processing circuit 1) expressed by LM2 · LM1 = LMorg which is the product of the matrices LM1 and LM2. To be determined. In other words, the color correction process performed using the matrix LM1 by the linear matrix circuit 10-1 and the color correction process performed using the matrix LM2 by the linear matrix circuit 11-1, and LM2 · The linear matrix coefficient is determined on the assumption that the color correction processing performed using the matrix of LM1 = LMorg is equivalent. The matrix LMorg is a matrix used by the linear matrix circuit 101 shown in FIG.

(第1の手法)
行列LM1,LM2を設定する第1の手法は、前述のとおり、最初に行列LM1が算出され、次に行列LM2が算出される。まず、行列LM1のリニアマトリクス係数は、正の実数であるαをパラメータとして、以下のように定義することで決定される。
(First method)
As described above, the first method for setting the matrices LM1 and LM2 is to calculate the matrix LM1 first, and then calculate the matrix LM2. First, the linear matrix coefficient of the matrix LM1 is determined by defining as follows using α which is a positive real number as a parameter.

パラメータαは、図7に示した従来技術のダイナミックレンジ圧縮回路102の入力信号よりも彩度の落ちたRGB信号(Rmid,Gmid,Bmid信号)が実施例1のダイナミックレンジ圧縮回路102に入力されるように、リニアマトリクス回路10−1に入力されるRGB信号(撮像素子の出力信号)を基準として、彩度を落とす度合いを決定するパラメータである。パラメータαの値が大きいほど、RGB信号(Rmid,Gmid,Bmid信号)の彩度が落ちる程度は大きく、パラメータαの値が小さいほど彩度が落ちる程度は小さい。   As the parameter α, an RGB signal (Rmid, Gmid, Bmid signal) whose saturation is lower than that of the input signal of the conventional dynamic range compression circuit 102 shown in FIG. 7 is input to the dynamic range compression circuit 102 of the first embodiment. As described above, this is a parameter for determining the degree of desaturation based on the RGB signal (output signal of the image sensor) input to the linear matrix circuit 10-1. The greater the value of the parameter α, the greater the degree of saturation of the RGB signal (Rmid, Gmid, Bmid signal), and the smaller the value of the parameter α, the smaller the degree of saturation.

この行列LM1は、図7に示した従来のリニアマトリクス回路101による色補正処理の行列LMorgと比較して、色バランスの補正を主たる目的とせず、入力信号に対して彩度を落とした信号を生成するように機能する。   Compared with the matrix LMorg of the color correction processing by the conventional linear matrix circuit 101 shown in FIG. 7, this matrix LM1 is not intended to mainly correct the color balance, and is a signal whose saturation is reduced with respect to the input signal. Functions to generate.

ただし、リニアマトリクスの色補正処理は、当該処理を行う行列をLMとすると、入力信号であるRGB信号に対して以下の式のように作用し、出力信号であるRGB信号(Rout, Gout, Bout)が得られるものとする。
However, the color correction processing of the linear matrix acts on the RGB signal that is the input signal as shown in the following formula, and the RGB signal (Rout, Gout, Bout) that is the output signal, assuming that the matrix for performing the processing is LM. ) Shall be obtained.

次に、行列LM2のリニアマトリクス係数は、信号処理回路1全体の色補正を最適値とするために、以下のように定義することで決定される。
LM1-1は、LM1の逆行列を示す。行列LMorgは、図7に示した従来のリニアマトリクス回路101の色補正処理に用いられ、全体として目的とする色補正処理を行うための行列であり、行列LM1,LM2の積である。
Next, the linear matrix coefficients of the matrix LM2 are determined by defining as follows in order to make the color correction of the entire signal processing circuit 1 an optimum value.
LM1 -1 represents an inverse matrix of LM1. The matrix LMorg is used for the color correction processing of the conventional linear matrix circuit 101 shown in FIG. 7, and is a matrix for performing the target color correction processing as a whole, and is the product of the matrices LM1 and LM2.

この行列LM2は、図7に示した従来のリニアマトリクス回路101による色補正処理の行列LMorgと同様に、色バランス処理を行うが、加えて、行列LM1による彩度の低下を補償するように機能する。   The matrix LM2 performs color balance processing in the same manner as the matrix LMorg for color correction processing by the conventional linear matrix circuit 101 shown in FIG. 7, but additionally functions to compensate for the decrease in saturation due to the matrix LM1. To do.

次に、第1の手法により設定された行列LM1,LM2を用いた場合の処理について説明する。図5は、第1の手法の行列LM1,LM2を用いた信号処理回路1の処理例を説明する図である。図5(a)〜(d)において、横軸は入射光強度を示し、縦軸はRGB信号の信号値を示す。図5(a)は、リニアマトリクス回路10−1に入力されるRGB信号の特性を示し、図5(b)は、リニアマトリクス回路10−1から出力され、ダイナミックレンジ圧縮回路102に入力されるRGB信号の特性を示す。また、図5(c)は、ダイナミックレンジ圧縮回路102により出力され、リニアマトリクス回路11−1に入力されるRGB信号の特性を示し、図5(d)は、リニアマトリクス回路11−1により出力されるRGB信号の特性を示す。尚、図5(a)〜(d)は、信号処理回路1の処理例を説明するために、彩度の程度及び階調の程度を直感的に把握できるように便宜的に示した概略である。   Next, processing when the matrices LM1 and LM2 set by the first method are used will be described. FIG. 5 is a diagram for explaining a processing example of the signal processing circuit 1 using the matrices LM1 and LM2 of the first technique. 5A to 5D, the horizontal axis indicates the incident light intensity, and the vertical axis indicates the signal value of the RGB signal. FIG. 5A shows the characteristics of the RGB signals input to the linear matrix circuit 10-1, and FIG. 5B is output from the linear matrix circuit 10-1 and input to the dynamic range compression circuit 102. The characteristics of the RGB signal are shown. 5C shows the characteristics of the RGB signal output from the dynamic range compression circuit 102 and input to the linear matrix circuit 11-1, and FIG. 5D is output from the linear matrix circuit 11-1. The characteristic of the RGB signal to be performed is shown. 5A to 5D are schematic diagrams that are shown for the sake of convenience so that the degree of saturation and the degree of gradation can be intuitively understood in order to explain the processing example of the signal processing circuit 1. is there.

リニアマトリクス回路10−1は、RGB信号の値に対し、第1の手法により設定された行列LM1を用いて、1回目のリニアマトリクスの色補正処理を行う。そして、リニアマトリクス回路10−1は、図7に示した従来のリニアマトリクス回路101により色補正処理が行われた信号と比較して、彩度を落としたRGB信号(Rmid,Gmid,Bmid信号)を生成する。   The linear matrix circuit 10-1 performs the first linear matrix color correction processing on the RGB signal values using the matrix LM1 set by the first method. Then, the linear matrix circuit 10-1 has RGB signals (Rmid, Gmid, Bmid signals) with reduced saturation as compared with the signal subjected to the color correction processing by the conventional linear matrix circuit 101 shown in FIG. Is generated.

図5(a)に示すRGB信号に対し、行列LM1を用いて1回目のリニアマトリクスの色補正処理が行われる。これにより、B信号の信号値が小さくなり、R,G信号の信号値が大きくなることで、図5(b)に示すように、RGB信号よりも彩度の落ちたRGB信号(Rmid,Gmid,Bmid信号)が生成される。   The first linear matrix color correction processing is performed on the RGB signal shown in FIG. 5A using the matrix LM1. As a result, the signal value of the B signal is reduced, and the signal values of the R and G signals are increased, so that the RGB signals (Rmid, Gmid, which are less saturated than the RGB signals, as shown in FIG. 5B). , Bmid signal) is generated.

ダイナミックレンジ圧縮回路102は、従来よりも彩度が低い状態のRGB信号(Rmid,Gmid,Bmid信号)に対してダイナミックレンジ圧縮処理を行う。   The dynamic range compression circuit 102 performs dynamic range compression processing on RGB signals (Rmid, Gmid, and Bmid signals) whose saturation is lower than that in the prior art.

図5(b)に示すRGB信号(Rmid,Gmid,Bmid信号)に対し、ダイナミックレンジ圧縮処理が行われる。これにより、ダイナミックレンジ圧縮処理の対象でない入射光強度の領域において、階調潰れがなく、かつRGB信号(Rmid,Gmid,Bmid信号)と同様に彩度が低い状態のままの、図5(c)に示すRGB信号(Rmid’,Gmid’,Bmid’信号)が生成される。また、ダイナミックレンジ圧縮処理の対象の入射光強度の領域において、B信号の信号値が上限値に制限され、RGB信号(Rmid,Gmid,Bmid信号)よりも彩度がさらに落ちた、図5(c)に示すRGB信号(Rmid’,Gmid’,Bmid’信号)が生成される。   Dynamic range compression processing is performed on the RGB signals (Rmid, Gmid, and Bmid signals) shown in FIG. As a result, in the region of the incident light intensity that is not the target of the dynamic range compression processing, there is no gradation collapse and the saturation is low as in the RGB signal (Rmid, Gmid, Bmid signal). RGB signals (Rmid ′, Gmid ′, Bmid ′ signals) shown in FIG. Further, in the region of the incident light intensity to be subjected to the dynamic range compression processing, the signal value of the B signal is limited to the upper limit value, and the saturation is further lowered than the RGB signal (Rmid, Gmid, Bmid signal). The RGB signals (Rmid ′, Gmid ′, Bmid ′ signals) shown in c) are generated.

リニアマトリクス回路11−1は、彩度が低いRGB信号(Rmid’,Gmid’,Bmid’信号)に対し、第1の手法により設定された行列LM2を用いて、2回目のリニアマトリクスの色補正処理(この場合は色バランス処理)を行う。そして、リニアマトリクス回路11−1は、階調潰れのない、かつ彩度の高いRGB信号(Rfin,Gfin,Bfin信号)を出力する。   The linear matrix circuit 11-1 uses the matrix LM2 set by the first method for RGB signals (Rmid ′, Gmid ′, Bmid ′ signals) with low saturation to perform color correction of the second linear matrix. Processing (in this case, color balance processing) is performed. Then, the linear matrix circuit 11-1 outputs RGB signals (Rfin, Gfin, Bfin signals) with no gradation collapse and high saturation.

図5(c)に示すRGB信号(Rmid’,Gmid’,Bmid’信号)に対し、行列LM2を用いて2回目のリニアマトリクスの色補正処理が行われる。これにより、ダイナミックレンジ圧縮処理の対象の入射光強度の領域において、R,G信号の信号値が大きくなる。つまり、図5(d)に示すように、階調潰れのない、かつ彩度の高いRGB信号(Rfin,Gfin,Bfin信号)が生成される。このRGB信号(Rfin,Gfin,Bfin信号)は、入射光強度の低い領域から高い領域へ、青色から白色へ変化する自然な階調となる。   For the RGB signals (Rmid ′, Gmid ′, Bmid ′ signals) shown in FIG. 5C, a second linear matrix color correction process is performed using the matrix LM2. This increases the signal values of the R and G signals in the region of the incident light intensity that is the target of the dynamic range compression process. That is, as shown in FIG. 5D, RGB signals (Rfin, Gfin, and Bfin signals) with no gradation collapse and high saturation are generated. This RGB signal (Rfin, Gfin, Bfin signal) has a natural gradation that changes from a low incident light intensity region to a high region, from blue to white.

以上のように、第1の手法にて設定された行列LM1,LM2を用いることにより、従来と同様の目的とする色補正処理が行われ、かつ、従来に比べて階調潰れを抑制することができる。   As described above, by using the matrices LM1 and LM2 set by the first method, the same color correction processing as that of the conventional method is performed, and gradation collapse is suppressed as compared with the conventional method. Can do.

尚、行列LM1は、前記数式(1)の代わりに、以下の数式を用いるようにしてもよい。この行列LM1のリニアマトリクス係数は、RGB信号毎の正の実数であるαR,αG,αBをパラメータとして決定される。
パラメータαR,αG,αBは、RGB信号の各色に対して彩度を落とす度合いを決定するパラメータである。αR=αG=αB=αの場合、行列LM1は、前記数式(1)となる。
The matrix LM1 may use the following mathematical formula instead of the mathematical formula (1). The linear matrix coefficients of the matrix LM1 are determined using α R , α G , and α B that are positive real numbers for each RGB signal as parameters.
The parameters α R , α G , and α B are parameters that determine the degree of desaturation for each color of the RGB signal. When α R = α G = α B = α, the matrix LM1 is expressed by the above equation (1).

(第2の手法)
行列LM1,LM2を設定する第2の手法は、前述のとおり、最初に行列LM2が算出され、次に行列LM1が算出される。まず、行列LM2のリニアマトリクス係数は、正の実数であるβをパラメータとして、以下のように定義することで決定される。
(Second method)
As described above, in the second method for setting the matrices LM1 and LM2, the matrix LM2 is calculated first, and then the matrix LM1 is calculated. First, the linear matrix coefficient of the matrix LM2 is determined by defining the following as a parameter, which is a positive real number β.

パラメータβは、図7に示した従来技術のダイナミックレンジ圧縮回路102の入力信号よりも彩度の落ちたRGB信号(Rmid,Gmid,Bmid信号)が実施例1のダイナミックレンジ圧縮回路102に入力されるように、リニアマトリクス回路11−1により出力されるRGB信号(Rfin,Gfin,Bfin信号)を基準として、彩度を落とす度合いを決定するパラメータである。パラメータβの値が大きいほど、RGB信号(Rmid,Gmid,Bmid信号)の彩度が落ちる程度は大きく、パラメータβの値が小さいほど彩度が落ちる程度は小さい。   As the parameter β, RGB signals (Rmid, Gmid, and Bmid signals) whose saturation is lower than that of the input signal of the conventional dynamic range compression circuit 102 shown in FIG. 7 are input to the dynamic range compression circuit 102 of the first embodiment. As described above, it is a parameter that determines the degree of desaturation based on the RGB signals (Rfin, Gfin, Bfin signals) output from the linear matrix circuit 11-1. The greater the value of the parameter β, the greater the degree of saturation of the RGB signal (Rmid, Gmid, Bmid signal), and the smaller the value of the parameter β, the smaller the degree of saturation.

この行列LM2は、入力信号に対して、色バランス処理を行わず、彩度を上げた信号を生成するように機能する。   The matrix LM2 functions to generate a signal with increased saturation without performing color balance processing on the input signal.

次に、行列LM1のリニアマトリクス係数は、全体の色補正を最適値とするために、以下のように定義することで決定される。
LM2-1は、LM2の逆行列を示す。
Next, the linear matrix coefficients of the matrix LM1 are determined by defining as follows in order to set the overall color correction to an optimum value.
LM2 −1 represents an inverse matrix of LM2.

この行列LM1は、図7に示した従来のリニアマトリクス回路101による色補正処理の行列LMorgと同様に、色バランス処理を行うが、行列LMorgに比較して、彩度の低い信号を生成するように機能する。   The matrix LM1 performs color balance processing similarly to the matrix LMorg of the color correction processing by the conventional linear matrix circuit 101 shown in FIG. 7, but generates a signal with lower saturation than the matrix LMorg. To work.

第2の手法により設定された行列LM1,LM2を用いた場合も、第1の手法の場合と同様に、従来と同様の目的とする色補正が行われ、かつ、従来に比べて階調潰れを抑制することができる。   When the matrices LM1 and LM2 set by the second method are used, the same color correction as that of the conventional method is performed and the gradation is crushed compared to the conventional method as in the case of the first method. Can be suppressed.

尚、行列LM2は、前記数式(5)の代わりに、以下の数式を用いるようにしてもよい。この行列LM2のリニアマトリクス係数は、RGB信号毎の正の実数であるβR,βG,βBをパラメータとして決定される。
パラメータβR,βG,βBは、RGB信号の各色に対して彩度を落とす度合いを決定するパラメータである。βR=βG=βB=βの場合、行列LM2は、前記数式(5)となる。
The matrix LM2 may use the following formula instead of the formula (5). The linear matrix coefficients of the matrix LM2 are determined using β R , β G , and β B that are positive real numbers for each RGB signal as parameters.
The parameters β R , β G , β B are parameters that determine the degree of desaturation for each color of the RGB signal. When β R = β G = β B = β, the matrix LM2 is expressed by the above equation (5).

第1の手法と第2の手法との違いは、ダイナミックレンジ圧縮回路102の入力信号であるRGB信号(Rmid,Gmid,Bmid信号)の違いにある。   The difference between the first method and the second method is a difference in RGB signals (Rmid, Gmid, Bmid signals) that are input signals of the dynamic range compression circuit 102.

第1の手法では、ダイナミックレンジ圧縮回路102の入力信号であるRGB信号(Rmid,Gmid,Bmid信号)を、当該信号処理回路1の入力信号であるRGB信号(例えば撮像素子から得られたRGB信号)を基準として、図7に示した従来技術のダイナミックレンジ圧縮回路102の入力信号よりも彩度の落ちた信号とすることができる。これに対し、第2の手法では、ダイナミックレンジ圧縮回路102の入力信号であるRGB信号(Rmid,Gmid,Bmid信号)を、当該信号処理回路1の出力信号であるRGB信号(Rfin,Gfin,Bfin信号)を基準として、図7に示した従来技術のダイナミックレンジ圧縮回路102の入力信号よりも彩度の落ちた信号とすることができる。   In the first method, an RGB signal (Rmid, Gmid, Bmid signal) that is an input signal of the dynamic range compression circuit 102 is converted into an RGB signal (for example, an RGB signal obtained from an image sensor) of the signal processing circuit 1. ) As a reference, it can be a signal whose saturation is lower than that of the input signal of the conventional dynamic range compression circuit 102 shown in FIG. On the other hand, in the second method, RGB signals (Rmid, Gmid, Bmid signals) that are input signals of the dynamic range compression circuit 102 are converted into RGB signals (Rfin, Gfin, Bfin) that are output signals of the signal processing circuit 1. Signal) as a reference, it can be a signal whose saturation is lower than that of the input signal of the conventional dynamic range compression circuit 102 shown in FIG.

したがって、例えば撮像素子の特性に応じて、第1の手法または第2の手法を適宜選択して使用することにより、より好適な結果を得ることができる。   Therefore, for example, a more preferable result can be obtained by appropriately selecting and using the first method or the second method according to the characteristics of the imaging element.

また、入射する光がR,G,Bそれぞれの場合であって、撮像素子から得られるRGB信号の彩度に大きな違いが無い場合には、RGB信号に共通のパラメータαによる前記数式(1)の行列LM1、またはRGB信号に共通のパラメータβによる前記数式(5)の行列LM2が用いられる。   In addition, when the incident light is R, G, and B, respectively, and there is no significant difference in the saturation of the RGB signal obtained from the image sensor, the equation (1) using the parameter α common to the RGB signal is used. Matrix LM1 or the matrix LM2 of the equation (5) with the parameter β common to the RGB signals is used.

一方、彩度に違いがある場合には、RGB信号毎のパラメータαR,αG,αBによる前記数式(4)の行列LM1、またはRGB信号毎のパラメータβR,βG,βBによる前記数式(7)の行列LM2が用いられる。 On the other hand, when there is a difference in saturation, the matrix LM1 of the equation (4) using the parameters α R , α G , α B for each RGB signal, or the parameters β R , β G , β B for each RGB signal. The matrix LM2 of Equation (7) is used.

つまり、前記数式(4)の行列LM1または前記数式(7)の行列LM2は、彩度に違いがある場合に用いられ、階調潰れを効果的に抑制することができる。例えば、青の被写体を撮影した場合のRGB信号の彩度が、赤または緑の被写体を撮影した場合のRGB信号の彩度よりも大きい場合、B信号のパラメータαBまたはβBが他のパラメータαR,αGまたはβR,βGよりも大きい値に設定された行列LM1または行列LM2が用いられる。 That is, the matrix LM1 of the equation (4) or the matrix LM2 of the equation (7) is used when there is a difference in saturation, and gradation collapse can be effectively suppressed. For example, when the saturation of the RGB signal when shooting a blue subject is larger than the saturation of the RGB signal when shooting a red or green subject, the parameter α B or β B of the B signal is another parameter. The matrix LM1 or the matrix LM2 set to a value larger than α R , α G or β R , β G is used.

(実施例1の実験結果)
次に、実施例1の計算機シミュレーションによる実験結果について説明する。図6は、高彩度のRGB信号を入力したときの実施例1の実験結果を説明する図である。(1)は、図7に示した従来技術の信号処理回路100による信号値の変化を示し、(2)は、(1)における映像信号の変化を示す。また、(3)は、図1に示した実施例1の信号処理回路1による信号値の変化を示し、(4)は、(3)における映像信号の変化を示す。ただし、(1)及び(3)に示す信号値は、ガンマ補正後の値を記載しており、信号値の変化が曲線となって表されている。
(Experimental result of Example 1)
Next, the experimental result by the computer simulation of Example 1 will be described. FIG. 6 is a diagram for explaining experimental results of Example 1 when a high-saturation RGB signal is input. (1) shows changes in the signal value by the signal processing circuit 100 of the prior art shown in FIG. 7, and (2) shows changes in the video signal in (1). Further, (3) shows the change of the signal value by the signal processing circuit 1 of the first embodiment shown in FIG. 1, and (4) shows the change of the video signal in (3). However, the signal values shown in (1) and (3) are values after gamma correction, and the change in the signal value is represented as a curve.

図6(1)及び(3)において、横軸は入射光強度を示し、縦軸はRGB信号の信号値を示す。このRGB信号は、図1に示した信号処理回路1の出力信号、すなわちRGB信号(Rfin,Gfin,Bfin信号)である。また、図6(2)及び(4)において、横軸は図6(1)及び(3)と同じ入射光強度を示す。図6(2)及び(4)は、入射光強度の全範囲における階調を示している。   6 (1) and 6 (3), the horizontal axis indicates the incident light intensity, and the vertical axis indicates the signal value of the RGB signal. This RGB signal is an output signal of the signal processing circuit 1 shown in FIG. 1, that is, an RGB signal (Rfin, Gfin, Bfin signal). 6 (2) and 6 (4), the horizontal axis indicates the same incident light intensity as in FIGS. 6 (1) and 6 (3). 6 (2) and 6 (4) show gradations in the entire range of incident light intensity.

図6(1)〜(4)は、従来技術の信号処理回路100にて用いるリニアマトリクス回路101の行列LMorgと、実施例1の信号処理回路1にて用いるリニアマトリクス回路10−1,11−1の行列LM1,LM2の積とを同一とした場合の実験結果である。すなわち、前記数式(3)(6)に示すように、LMorg=LM2・LM1である。   6 (1) to 6 (4) show the matrix LMorg of the linear matrix circuit 101 used in the signal processing circuit 100 of the prior art and the linear matrix circuits 10-1 and 11- used in the signal processing circuit 1 of the first embodiment. It is an experimental result when the product of 1 matrix LM1, LM2 is made the same. That is, LMorg = LM2 · LM1 as shown in the mathematical expressions (3) and (6).

青が支配的な被写体光のRGB信号が撮像素子から出力されるものと仮定し、当該RGB信号が信号処理回路100及び実施例1の信号処理回路1に入力されるものとする。   Assume that an RGB signal of subject light in which blue is dominant is output from the image sensor, and the RGB signal is input to the signal processing circuit 100 and the signal processing circuit 1 of the first embodiment.

図6(1)から、従来技術では、入射光強度が約80以上かつ600以下の範囲において、ダイナミックレンジ圧縮処理によりB信号の信号値が抑えられているが、R,G信号の信号値は増加しておらず、信号値全体として停滞していることがわかる。このため、図6(2)に示すように、映像信号の階調が潰れている。   From FIG. 6 (1), in the conventional technique, the signal value of the B signal is suppressed by the dynamic range compression process in the range where the incident light intensity is about 80 or more and 600 or less, but the signal value of the R and G signals is It can be seen that the signal value does not increase and is stagnated as a whole. For this reason, as shown in FIG. 6B, the gradation of the video signal is crushed.

これに対し、図6(3)から、実施例1では、入射光強度が約80以上かつ600以下の範囲において、ダイナミックレンジ圧縮処理によりB信号の信号値が抑えられ、R,G信号の信号値が増加しており、入射光強度が高くなるほど、白色に近づいていることがわかる。このため、図6(4)に示すように、映像信号は、潰れのない自然な階調が保たれる。   On the other hand, from FIG. 6 (3), in Example 1, the signal value of the B signal is suppressed by the dynamic range compression processing in the range where the incident light intensity is about 80 or more and 600 or less. It can be seen that the value increases, and the closer to the white, the higher the incident light intensity. For this reason, as shown in FIG. 6 (4), the video signal maintains a natural gradation without being crushed.

以上のように、実施例1の信号処理回路1によれば、リニアマトリクス回路10−1は、RGB信号の値に対し、予め設定された行列LM1を掛け合わせることで、1回目のリニアマトリクスの色補正処理を行い、RGB信号(Rmid,Gmid,Bmid信号)を生成する。ダイナミックレンジ圧縮回路102は、RGB信号(Rmid,Gmid,Bmid信号)の値に対し、ニー処理、クリップ処理等のダイナミックレンジ圧縮処理を行い、RGB信号(Rmid’,Gmid’,Bmid’信号)を生成する。リニアマトリクス回路11−1は、RGB信号(Rmid’,Gmid’,Bmid’信号)の値に対し、予め設定された行列LM2を掛け合わせることで、2回目のリニアマトリクスの色補正処理を行い、RGB信号(Rfin,Gfin,Bfin信号)を生成する。   As described above, according to the signal processing circuit 1 of the first embodiment, the linear matrix circuit 10-1 multiplies the value of the RGB signal by the preset matrix LM1 to obtain the first linear matrix. Color correction processing is performed to generate RGB signals (Rmid, Gmid, Bmid signals). The dynamic range compression circuit 102 performs dynamic range compression processing such as knee processing and clip processing on the values of the RGB signals (Rmid, Gmid, and Bmid signals) to generate RGB signals (Rmid ′, Gmid ′, and Bmid ′ signals). Generate. The linear matrix circuit 11-1 performs color correction processing of the second linear matrix by multiplying the value of the RGB signal (Rmid ′, Gmid ′, Bmid ′ signal) by a preset matrix LM2, RGB signals (Rfin, Gfin, Bfin signals) are generated.

これにより、RGB信号(Rfin,Gfin,Bfin信号)は、従来と同様の目的とする色補正処理が行われ、かつ、従来に比べて階調潰れが抑制された信号となる。RGB信号(Rfin,Gfin,Bfin信号)が従来と同様の目的とする色補正処理が行われた信号となるのは、LMorg=LM2・LM1が成り立つように、リニアマトリクス回路10−1,11−1の処理が行われるからである。また、RGB信号(Rfin,Gfin,Bfin信号)が従来に比べて階調潰れの抑制された信号となるのは、従来よりも彩度を落としたRGB信号(Rmid,Gmid,Bmid信号)に対しダイナミックレンジ圧縮処理が行われ、ダイナミックレンジ圧縮処理後のRGB信号(Rmid’,Gmid’,Bmid’信号)が従来よりも階調のある信号となるからである。   As a result, the RGB signals (Rfin, Gfin, and Bfin signals) are subjected to the same color correction processing as that of the prior art, and the gradation collapse is suppressed as compared with the prior art. The RGB signals (Rfin, Gfin, and Bfin signals) are subjected to the same color correction processing as that of the prior art, and the linear matrix circuits 10-1 and 11- so that LMorg = LM2 · LM1 is satisfied. This is because the process 1 is performed. In addition, the RGB signals (Rfin, Gfin, Bfin signals) are signals with suppressed gradation loss compared to the conventional RGB signals (Rmid, Gmid, Bmid signals) with lower saturation than in the past. This is because the dynamic range compression processing is performed, and the RGB signals (Rmid ′, Gmid ′, Bmid ′ signals) after the dynamic range compression processing become signals having gradations as compared with the conventional case.

したがって、入力したRGB信号に対して、目的とする表色系における最適な信号値に色補正することができ、かつ、ダイナミックレンジ圧縮処理に起因する高彩度光の階調潰れを軽減し、ダイナミックレンジ圧縮処理後にも、自然な階調を保つことができる。つまり、リニアマトリクスの色補正処理及びダイナミックレンジ圧縮処理を行う際に、高彩度のRGB信号の階調を保つことができる。   Therefore, the input RGB signal can be color-corrected to the optimum signal value in the target color system, and the gradation loss of high saturation light caused by the dynamic range compression process can be reduced, and the dynamic range can be reduced. Even after compression processing, natural gradation can be maintained. That is, when performing linear matrix color correction processing and dynamic range compression processing, the gradation of RGB signals with high saturation can be maintained.

〔実施例2〕
次に、本発明の第2の実施形態(実施例2)について説明する。図2は、実施例2の信号処理回路の構成例を示すブロック図である。この信号処理回路2は、リニアマトリクス回路10−2,11−2及びダイナミックレンジ圧縮回路102を備えている。信号処理回路2は、全体としてみるとリニアマトリクスの色補正処理を行わず、ダイナミックレンジ圧縮処理のみを行う。
[Example 2]
Next, a second embodiment (Example 2) of the present invention will be described. FIG. 2 is a block diagram illustrating a configuration example of the signal processing circuit according to the second embodiment. The signal processing circuit 2 includes linear matrix circuits 10-2 and 11-2 and a dynamic range compression circuit 102. As a whole, the signal processing circuit 2 does not perform linear matrix color correction processing but performs only dynamic range compression processing.

図1に示した実施例1の信号処理回路1と図2に示す実施例2の信号処理回路2とを比較すると、全体として同じ構成の下で、ダイナミックレンジ圧縮回路102を備えている点で共通する。一方、実施例2の信号処理回路2は、実施例1の信号処理回路1のリニアマトリクス回路10−1,11−1とは異なるリニアマトリクス回路10−2,11−2を備えている点で相違する。具体的には、実施例1では、リニアマトリクス回路11−1にて行列LM2が用いられるのに対し、実施例2では、リニアマトリクス回路11−2にて行列LM1-1(リニアマトリクス回路10−2にて用いる行列LM1の逆行列)が用いられる。 When the signal processing circuit 1 of the first embodiment shown in FIG. 1 and the signal processing circuit 2 of the second embodiment shown in FIG. 2 are compared, the dynamic range compression circuit 102 is provided under the same configuration as a whole. Common. On the other hand, the signal processing circuit 2 according to the second embodiment includes linear matrix circuits 10-2 and 11-2 that are different from the linear matrix circuits 10-1 and 11-1 of the signal processing circuit 1 according to the first embodiment. Is different. Specifically, in the first embodiment, the matrix LM2 is used in the linear matrix circuit 11-1, whereas in the second embodiment, the matrix LM1 -1 (linear matrix circuit 10- 2) is used.

リニアマトリクス回路10−2は、RGB信号の値に対し、予め設定された3行3列の行列LM1を掛け合わせることで、1回目のリニアマトリクスの色補正処理を行う。   The linear matrix circuit 10-2 performs the first color correction process of the linear matrix by multiplying the value of the RGB signal by a preset matrix LM1 of 3 rows and 3 columns.

ダイナミックレンジ圧縮回路102は、図1に示したダイナミックレンジ圧縮回路102と同様の処理を行う。   The dynamic range compression circuit 102 performs the same processing as the dynamic range compression circuit 102 shown in FIG.

リニアマトリクス回路11−2は、RGB信号(Rmid’,Gmid’,Bmid’信号)の値に対し、予め設定された3行3列の行列LM1-1を掛け合わせることで、2回目のリニアマトリクスの色補正処理を行う。 The linear matrix circuit 11-2 multiplies the value of the RGB signal (Rmid ′, Gmid ′, Bmid ′ signal) by a preset 3 × 3 matrix LM1 −1 to obtain the second linear matrix. The color correction process is performed.

リニアマトリクス回路11−2は、従来と同様の目的とする色補正処理が行われ、かつ、従来に比べて階調潰れが抑制されたRGB信号(Rfin,Gfin,Bfin信号)を出力する。当該信号処理回路2の出力信号であるRGB信号(Rfin,Gfin,Bfin信号)は、入力信号であるRGB信号と比較して、ダイナミックレンジ圧縮処理が行われた信号である点で相違するのみである。つまり、信号処理回路2の処理によっては、ダイナミックレンジ圧縮処理による信号値の変化が起きない範囲において、リニアマトリクス回路10−2による特性とリニアマトリクス回路11−2による特性とが互いに打ち消され、RGB信号の色は変化しない。   The linear matrix circuit 11-2 outputs an RGB signal (Rfin, Gfin, Bfin signal) that has been subjected to the same color correction processing as that of the prior art and that has suppressed gradation collapse compared to the prior art. The RGB signal (Rfin, Gfin, Bfin signal) that is the output signal of the signal processing circuit 2 is different from the RGB signal that is the input signal only in that it is a signal that has undergone dynamic range compression processing. is there. That is, depending on the processing of the signal processing circuit 2, the characteristics of the linear matrix circuit 10-2 and the characteristics of the linear matrix circuit 11-2 cancel each other within a range where the signal value does not change due to the dynamic range compression processing. The signal color does not change.

行列LM1,LM2(=LM1-1)は、所定の手法にて設計者の演算により得られ、予め設定される。この設定手法は、実施例1と同様の第1の手法が用いられ、さらに、LM2をLM1の逆行列とする条件(LM2・LM1=I)が追加される。Iは3行3列の単位行列である。 The matrices LM1 and LM2 (= LM1 −1 ) are obtained by a designer's calculation using a predetermined method and set in advance. As this setting method, the same first method as that in the first embodiment is used, and a condition (LM2 · LM1 = I) in which LM2 is an inverse matrix of LM1 is further added. I is a unit matrix of 3 rows and 3 columns.

以上のように、実施例2の信号処理回路2によれば、リニアマトリクス回路10−2は、実施例1のリニアマトリクス回路10−1と同様に、RGB信号の値に対し、予め設定された行列LM1を掛け合わせることで、1回目のリニアマトリクスの色補正処理を行い、RGB信号(Rmid,Gmid,Bmid信号)を生成する。ダイナミックレンジ圧縮回路102は、RGB信号(Rmid,Gmid,Bmid信号)の値に対し、ニー処理、クリップ処理等のダイナミックレンジ圧縮処理を行い、RGB信号(Rmid’,Gmid’,Bmid’信号)を生成する。リニアマトリクス回路11−2は、RGB信号(Rmid’,Gmid’,Bmid’信号)の値に対し、予め設定された行列LM1-1を掛け合わせることで、2回目のリニアマトリクスの色補正処理を行い、RGB信号(Rfin,Gfin,Bfin信号)を生成する。 As described above, according to the signal processing circuit 2 of the second embodiment, the linear matrix circuit 10-2 is preset with respect to the values of the RGB signals, like the linear matrix circuit 10-1 of the first embodiment. By multiplying the matrix LM1, the first linear matrix color correction processing is performed to generate RGB signals (Rmid, Gmid, Bmid signals). The dynamic range compression circuit 102 performs dynamic range compression processing such as knee processing and clip processing on the values of the RGB signals (Rmid, Gmid, and Bmid signals) to generate RGB signals (Rmid ′, Gmid ′, and Bmid ′ signals). Generate. The linear matrix circuit 11-2 multiplies the value of the RGB signal (Rmid ′, Gmid ′, Bmid ′ signal) by a preset matrix LM1 −1 to perform the second linear matrix color correction process. Then, RGB signals (Rfin, Gfin, Bfin signals) are generated.

これにより、RGB信号(Rfin,Gfin,Bfin信号)は、ダイナミックレンジ圧縮の影響を受けない信号の範囲においては入力したRGB信号と同じ色となり、かつ、従来に比べて階調潰れが抑制された信号となる。したがって、実施例1と同様に、リニアマトリクスの色補正処理及びダイナミックレンジ圧縮処理を行う際に、高彩度のRGB信号の階調を保つことができる。   As a result, the RGB signals (Rfin, Gfin, and Bfin signals) have the same color as the input RGB signal in the signal range that is not affected by the dynamic range compression, and gradation collapse is suppressed compared to the conventional case. Signal. Therefore, as in the first embodiment, when performing linear matrix color correction processing and dynamic range compression processing, it is possible to maintain the gradation of RGB signals with high saturation.

尚、信号処理回路2は、第1の手法にて設定された行列LM1,LM1-1を用いる代わりに、第2の手法にて設定された行列LM2-1,LM2を用いるようにしてもよい。具体的には、リニアマトリクス回路10−2は、RGB信号の値に対し、予め設定された3行3列の行列LM2-1を掛け合わせることで、1回目のリニアマトリクスの色補正処理を行う。リニアマトリクス回路11−2は、RGB信号(Rmid’,Gmid’,Bmid’信号)の値に対し、予め設定された3行3列の行列LM2を掛け合わせることで、2回目のリニアマトリクスの色補正処理を行う。 The signal processing circuit 2 may use the matrices LM2 −1 and LM2 set by the second method instead of using the matrices LM1 and LM1 −1 set by the first method. . Specifically, the linear matrix circuit 10-2, to the value of the RGB signal, by multiplying the matrix LM2 -1 preset three rows and three columns, performs color correction processing of the first linear matrix . The linear matrix circuit 11-2 multiplies the value of the RGB signal (Rmid ′, Gmid ′, Bmid ′ signal) by a preset 3 × 3 matrix LM2 to thereby change the color of the second linear matrix. Perform correction processing.

この場合の行列LM1(=LM2-1),LM2は、所定の手法にて設計者の演算により得られ、予め設定される。この設定手法は、実施例1と同様の第2の手法が用いられ、さらに、LM1をLM2の逆行列とする条件(LM2・LM1=I)が追加される。 The matrices LM1 (= LM2 −1 ) and LM2 in this case are obtained by a designer's calculation using a predetermined method and set in advance. As this setting method, the second method similar to that of the first embodiment is used, and further, a condition (LM2 · LM1 = I) in which LM1 is an inverse matrix of LM2 is added.

〔実施例3〕
次に、本発明の第3の実施形態(実施例3)について説明する。図3は、実施例3の信号処理回路の構成例を示すブロック図である。この信号処理回路3は、リニアマトリクス回路10−1,11−1及びレベルダイヤ調整回路103を備えている。
Example 3
Next, a third embodiment (Example 3) of the present invention will be described. FIG. 3 is a block diagram illustrating a configuration example of the signal processing circuit according to the third embodiment. The signal processing circuit 3 includes linear matrix circuits 10-1 and 11-1 and a level diagram adjustment circuit 103.

図1に示した実施例1の信号処理回路1と図3に示す実施例3の信号処理回路3とを比較すると、全体として同じ構成をしており、リニアマトリクス回路10−1,11−1を備えている点で共通する。一方、実施例3の信号処理回路3は、実施例1の信号処理回路1のダイナミックレンジ圧縮回路102とは異なるレベルダイヤ調整回路103を備えている点で相違する。   When the signal processing circuit 1 of the first embodiment shown in FIG. 1 and the signal processing circuit 3 of the third embodiment shown in FIG. 3 are compared, the overall configuration is the same, and the linear matrix circuits 10-1 and 11-1 are the same. Common in that it has. On the other hand, the signal processing circuit 3 of the third embodiment is different in that a level diagram adjustment circuit 103 different from the dynamic range compression circuit 102 of the signal processing circuit 1 of the first embodiment is provided.

リニアマトリクス回路10−1は、図1に示したリニアマトリクス回路10−1と同様に、予め設定された3行3列の行列LM1を用いて、1回目のリニアマトリクスの色補正処理を行う。そして、リニアマトリクス回路10−1は、RGB信号(Rmid,Gmid,Bmid信号)をレベルダイヤ調整回路103に出力する。   Similar to the linear matrix circuit 10-1 shown in FIG. 1, the linear matrix circuit 10-1 performs a first color correction process of the linear matrix using a preset 3 × 3 matrix LM1. The linear matrix circuit 10-1 then outputs RGB signals (Rmid, Gmid, Bmid signals) to the level diagram adjustment circuit 103.

レベルダイヤ調整回路103は、リニアマトリクス回路10−1からRGB信号(Rmid,Gmid,Bmid信号)を入力する。そして、レベルダイヤ調整回路103は、RGB信号(Rmid,Gmid,Bmid信号)間の飽和点を揃えるためのクリップ処理を行うことで、レベルダイヤ調整処理を行う。レベルダイヤ調整回路103は、RGB信号(Rmid’,Gmid’,Bmid’信号)をリニアマトリクス回路11−1に出力する。   The level diagram adjusting circuit 103 receives RGB signals (Rmid, Gmid, Bmid signals) from the linear matrix circuit 10-1. The level diagram adjustment circuit 103 performs level diagram adjustment processing by performing clip processing for aligning saturation points between RGB signals (Rmid, Gmid, and Bmid signals). The level diagram adjusting circuit 103 outputs RGB signals (Rmid ′, Gmid ′, Bmid ′ signals) to the linear matrix circuit 11-1.

これにより、カラーバランス処理が行われたRGB信号(Rmid,Gmid,Bmid信号)は、これらの信号間で差異が生じたとき同一の信号値にクリップされるから、飽和後に正しい白色のRGB信号(Rmid’,Gmid’,Bmid’信号)が出力される。   As a result, the RGB signals (Rmid, Gmid, Bmid signals) that have undergone color balance processing are clipped to the same signal value when a difference occurs between these signals. Rmid ′, Gmid ′, Bmid ′ signals) are output.

リニアマトリクス回路11−1は、レベルダイヤ調整回路103からレベルダイヤ調整処理(クリップ処理)が行われたRGB信号(Rmid’,Gmid’,Bmid’信号)を入力する。そして、リニアマトリクス回路11−1は、図1に示したリニアマトリクス回路11−1と同様に、予め設定された3行3列の行列LM2を用いて、2回目のリニアマトリクスの色補正処理を行う。   The linear matrix circuit 11-1 receives RGB signals (Rmid ′, Gmid ′, Bmid ′ signals) that have undergone level diamond adjustment processing (clip processing) from the level diamond adjustment circuit 103. Then, similarly to the linear matrix circuit 11-1 shown in FIG. 1, the linear matrix circuit 11-1 performs a second linear matrix color correction process using a preset 3 × 3 matrix LM2. Do.

リニアマトリクス回路11−1は、従来と同様の目的とする色補正処理が行われ、かつ、従来に比べて階調潰れが抑制されたRGB信号(Rfin,Gfin,Bfin信号)を出力する。   The linear matrix circuit 11-1 outputs an RGB signal (Rfin, Gfin, Bfin signal) that has been subjected to the same color correction processing as that of the prior art and in which gradation collapse is suppressed as compared with the prior art.

以上のように、実施例3の信号処理回路3によれば、リニアマトリクス回路10−1,11−1は、実施例1と同様の処理を行い、レベルダイヤ調整回路103は、RGB信号(Rmid,Gmid,Bmid信号)間の飽和点を揃えるためのクリップ処理を行うことで、レベルダイヤ調整処理を行う。   As described above, according to the signal processing circuit 3 of the third embodiment, the linear matrix circuits 10-1 and 11-1 perform the same processing as that of the first embodiment, and the level diagram adjustment circuit 103 performs the RGB signal (Rmid , Gmid, Bmid signals), the level diagram adjustment processing is performed by performing the clipping processing for aligning the saturation points.

この場合も、リニアマトリクス回路11−1が出力するRGB信号(Rfin,Gfin,Bfin信号)は、従来と同様の目的とする色補正処理が行われ、かつ、従来に比べて階調潰れが抑制された信号となる。したがって、リニアマトリクスの色補正処理及びレベルダイヤ調整処理を行う際に、高彩度のRGB信号の階調を保つことができる。実施例3は、当該信号処理回路3を撮像装置に適用した場合、特に、HDR撮影において有効となる。   Also in this case, the RGB signals (Rfin, Gfin, and Bfin signals) output from the linear matrix circuit 11-1 are subjected to the same color correction processing as that in the past, and the gradation collapse is suppressed as compared with the conventional case. Signal. Therefore, when performing linear matrix color correction processing and level diagram adjustment processing, the gradation of RGB signals with high saturation can be maintained. The third embodiment is particularly effective in HDR imaging when the signal processing circuit 3 is applied to an imaging apparatus.

尚、信号処理回路3は、図1に示した実施例1と同様にリニアマトリクス回路10−1,11−1を備えるようにしたが、これらの代わりに、図2に示した実施例2のリニアマトリクス回路10−2,11−2を備えるようにしてもよい。   The signal processing circuit 3 includes linear matrix circuits 10-1 and 11-1 as in the first embodiment shown in FIG. 1, but instead of these, the signal processing circuit 3 of the second embodiment shown in FIG. Linear matrix circuits 10-2 and 11-2 may be provided.

〔実施例4〕
次に、本発明の第4の実施形態(実施例4)について説明する。図4は、実施例4の撮像装置の構成例を示すブロック図である。この撮像装置20は、撮像素子21、ブラックバランス/ホワイトバランス回路22、信号処理回路1,2,3及び映像処理回路23を備えている。
Example 4
Next, a fourth embodiment (Example 4) of the present invention will be described. FIG. 4 is a block diagram illustrating a configuration example of the imaging apparatus according to the fourth embodiment. The imaging device 20 includes an imaging device 21, a black balance / white balance circuit 22, signal processing circuits 1, 2, 3 and a video processing circuit 23.

実施例4は、図1に示した実施例1の信号処理回路1、図2に示した実施例2の信号処理回路2及び図3に示した実施例3の信号処理回路3を、撮像装置20に適用した例である。信号処理回路1,2,3は、図1に示した実施例1の信号処理回路1、図2に示した実施例2の信号処理回路2、及び図3に示した実施例3の信号処理回路3のうち、いずれか1つの回路である。   In the fourth embodiment, the signal processing circuit 1 of the first embodiment shown in FIG. 1, the signal processing circuit 2 of the second embodiment shown in FIG. 2, and the signal processing circuit 3 of the third embodiment shown in FIG. This is an example applied to FIG. The signal processing circuits 1, 2, and 3 are the signal processing circuit 1 of the first embodiment shown in FIG. 1, the signal processing circuit 2 of the second embodiment shown in FIG. 2, and the signal processing of the third embodiment shown in FIG. Any one of the circuits 3 is provided.

撮像素子21は、図示しない光学系を介して被写体光を入射し、その光量を電気信号に変換し、RGB信号として出力する。このRGB信号は増幅され、アナログのRGB信号がデジタルのRGB信号に変換される。   The image sensor 21 receives subject light through an optical system (not shown), converts the light amount into an electrical signal, and outputs the signal as an RGB signal. The RGB signal is amplified, and the analog RGB signal is converted into a digital RGB signal.

ブラックバランス/ホワイトバランス回路22は、撮像素子21からRGB信号を入力し、RGB信号の値に対し、黒レベル調整処理、白レベル調整処理等の各種処理を行い、調整処理後のRGB信号を信号処理回路1,2,3に出力する。   The black balance / white balance circuit 22 receives an RGB signal from the image sensor 21, performs various processes such as a black level adjustment process and a white level adjustment process on the RGB signal value, and outputs the RGB signal after the adjustment process. Output to the processing circuits 1, 2, 3.

信号処理回路1,2,3は、前述のとおり、信号処理回路1,2,3のうちのいずれか1つの回路であり、ブラックバランス/ホワイトバランス回路22から調整後のRGB信号を入力する。そして、信号処理回路1,2,3は、1回目のリニアマトリクスの色補正処理を行い、ダイナミックレンジ圧縮処理またはレベルダイヤ調整処理を行い、2回目のリニアマトリクスの色補正処理を行う。信号処理回路1,2,3は、RGB信号(Rfin,Gfin,Bfin信号)を映像処理回路23に出力する。   As described above, the signal processing circuits 1, 2, and 3 are any one of the signal processing circuits 1, 2, and 3, and input the adjusted RGB signal from the black balance / white balance circuit 22. Then, the signal processing circuits 1, 2, and 3 perform the first linear matrix color correction process, the dynamic range compression process or the level diagram adjustment process, and the second linear matrix color correction process. The signal processing circuits 1, 2, 3 output RGB signals (Rfin, Gfin, Bfin signals) to the video processing circuit 23.

映像処理回路23は、信号処理回路1,2,3からRGB信号(Rfin,Gfin,Bfin信号)を入力し、RGB信号(Rfin,Gfin,Bfin信号)の値に対し、ノイズリダクション処理、ディテール強調処理等の各種の映像処理を行う。そして、映像処理回路23は、映像処理後のRGB信号を映像信号として出力する。   The video processing circuit 23 receives RGB signals (Rfin, Gfin, Bfin signals) from the signal processing circuits 1, 2, 3, and performs noise reduction processing and detail enhancement on the values of the RGB signals (Rfin, Gfin, Bfin signals). Various video processing such as processing is performed. Then, the video processing circuit 23 outputs the RGB signal after the video processing as a video signal.

以上のように、実施例4の撮像装置20によれば、信号処理回路1,2,3を撮像装置20に適用することができる。したがって、実施例1〜3と同様に、リニアマトリクスの色補正処理、及び、ダイナミックレンジ圧縮処理またはレベルダイヤ調整処理を行う際に、高彩度のRGB信号の階調を保つことができる。   As described above, according to the imaging device 20 of the fourth embodiment, the signal processing circuits 1, 2, and 3 can be applied to the imaging device 20. Therefore, as in the first to third embodiments, when performing linear matrix color correction processing, dynamic range compression processing, or level diagram adjustment processing, it is possible to maintain the gradation of a highly saturated RGB signal.

尚、図4に示した撮像装置20は、ブラックバランス/ホワイトバランス回路22を備えているが、必ずしもブラックバランス/ホワイトバランス回路22を備えていなくてもよい。この場合、信号処理回路1,2,3は、撮像素子21からRGB信号を入力する。   4 includes the black balance / white balance circuit 22, but the black balance / white balance circuit 22 may not necessarily be provided. In this case, the signal processing circuits 1, 2, and 3 receive RGB signals from the image sensor 21.

〔実施例5〕
次に、本発明の第5の実施形態(実施例5)について説明する。前述のとおり、実施例1,2,3の信号処理回路1,2,3により、従来と同様の目的とする色補正処理が行われ、かつ、従来に比べて階調潰れが抑制されたRGB信号(Rfin,Gfin,Bfin信号)を得ることができる。
Example 5
Next, a fifth embodiment (Example 5) of the present invention will be described. As described above, the signal processing circuits 1, 2, and 3 of the first, second, and third embodiments perform the same color correction processing as that of the prior art, and RGB that suppresses the collapse of gradation compared to the prior art. Signals (Rfin, Gfin, Bfin signals) can be obtained.

しかしながら、信号処理回路1,2,3の色補正処理により色域外信号が生成され、階調潰れを十分に抑制することができない場合がある。ここで、色域外信号とは、色補正処理が施された後のRGB信号のそれぞれの信号において、当該信号の何れかの値が色域の所定範囲に含まれず、所定範囲の最小値である基準値よりも小さい値(例えば負値)の信号をいう。   However, there are cases where an out-of-gamut signal is generated by the color correction processing of the signal processing circuits 1, 2, 3, and gradation collapse cannot be sufficiently suppressed. Here, the out-of-gamut signal is the minimum value of the predetermined range in which any value of the signal is not included in the predetermined range of the color gamut in each of the RGB signals after the color correction processing is performed. A signal having a value (eg, negative value) smaller than a reference value.

図12は、図1に示した実施例1の信号処理回路1における信号値の変移、すなわち後述する色域外信号処理部30による色域外信号処理がない場合の信号値の変移を説明する図である。青が支配的な被写体光のRGB信号が信号処理回路1に入力されるものとする。   FIG. 12 is a diagram for explaining the transition of the signal value in the signal processing circuit 1 of the first embodiment shown in FIG. is there. It is assumed that an RGB signal of subject light in which blue is dominant is input to the signal processing circuit 1.

図12(a)〜(d)において、横軸は入射光強度を示し、縦軸はRGB信号の信号値を示す。図12(a)は、リニアマトリクス回路10−1に入力されるRGB信号の特性を示し、図12(b)は、リニアマトリクス回路10−1から出力され、ダイナミックレンジ圧縮回路102に入力されるRGB信号(Rmid,Gmid,Bmid信号)の特性を示す。また、図12(c)は、ダイナミックレンジ圧縮回路102により出力され、リニアマトリクス回路11−1に入力されるRGB信号(Rmid’,Gmid’,Bmid’信号)の特性を示し、図12(d)は、リニアマトリクス回路11−1により出力されるRGB信号(Rfin,Gfin,Bfin信号)の特性を示す。図12(a)(b)(c)に示す信号値の変移は、図5(a)(b)(c)と同様である。   12A to 12D, the horizontal axis indicates the incident light intensity, and the vertical axis indicates the signal value of the RGB signal. FIG. 12A shows the characteristics of the RGB signals input to the linear matrix circuit 10-1, and FIG. 12B is output from the linear matrix circuit 10-1 and input to the dynamic range compression circuit 102. The characteristics of RGB signals (Rmid, Gmid, Bmid signals) are shown. FIG. 12C shows the characteristics of the RGB signals (Rmid ′, Gmid ′, Bmid ′ signals) output from the dynamic range compression circuit 102 and input to the linear matrix circuit 11-1, and FIG. ) Shows the characteristics of the RGB signals (Rfin, Gfin, Bfin signals) output from the linear matrix circuit 11-1. The signal value transitions shown in FIGS. 12A, 12B, and 12C are the same as those shown in FIGS. 5A, 5B, and 5C.

図12(d)を参照して、信号処理回路1の色補正処理により生成されるRGB信号(Rfin,Gfin,Bfin信号)において、R,G信号の信号値の潜り込みが発生し、信号値が負値となる領域が存在する。具体的には、B信号がダイナミックレンジ圧縮回路102によって抑制された入射光強度の領域に、R,G信号が負値から正値へ変化する所定位置(点P2)があり、これよりも左側の領域では、R,G信号の信号値は負値となる。   Referring to FIG. 12D, in the RGB signals (Rfin, Gfin, Bfin signals) generated by the color correction processing of the signal processing circuit 1, the signal values of the R and G signals are submerged, and the signal values are reduced. There is a negative value area. Specifically, there is a predetermined position (point P2) at which the R and G signals change from a negative value to a positive value in the region of the incident light intensity in which the B signal is suppressed by the dynamic range compression circuit 102. In this area, the signal values of the R and G signals are negative values.

したがって、点P1と点P2との間の入射光強度の領域(B信号の信号値が抑制された開始点からR,G信号の信号値が負値から正値に変化する点までの間の領域)において、B信号の信号値に変化がなく、R,G信号の信号値に変化はあるが当該信号値は負値である。この領域のR,G信号は、色域外信号である。このため、点P1と点P2との間の入射光強度の領域では、階調潰れが生じる。後述のとおり、実施例5では、この色域外信号を基準値にクリップする。   Therefore, the region of the incident light intensity between the points P1 and P2 (between the start point where the signal value of the B signal is suppressed and the point where the signal value of the R and G signals changes from a negative value to a positive value) In the region), the signal value of the B signal is not changed, and the signal value of the R and G signals is changed, but the signal value is a negative value. The R and G signals in this area are out-of-gamut signals. For this reason, in the region of the incident light intensity between the points P1 and P2, gradation collapse occurs. As described later, in the fifth embodiment, this out-of-gamut signal is clipped to a reference value.

このように、信号処理回路1,2,3の色補正処理により色域外信号が生成され、点P1と点P2との間の入射光強度の領域では、階調潰れを十分に抑制することができない。つまり、高彩度のRGB信号に対して階調を保つ効果は得られるが、色域外信号が存在する所定領域では、その効果が十分ではない場合がある。   As described above, an out-of-gamut signal is generated by the color correction processing of the signal processing circuits 1, 2, and 3, and in the region of the incident light intensity between the points P 1 and P 2, the gradation collapse is sufficiently suppressed. Can not. In other words, the effect of maintaining gradation with respect to a highly saturated RGB signal can be obtained, but the effect may not be sufficient in a predetermined area where an out-of-gamut signal exists.

そこで、実施例5では、色補正処理により色域外信号が生成されないように、色補正処理に先立って、予め色域外信号を色域範囲の基準値にクリップするようにした。   Therefore, in the fifth embodiment, the out-of-gamut signal is clipped in advance to the reference value of the gamut range before the color correction process so that the out-of-gamut signal is not generated by the color correction process.

図10は、実施例5の信号処理回路の構成例を示すブロック図である。この信号処理回路4は、前述した信号処理回路1,2,3に加え、その前段に色域外信号処理部30を備えている。信号処理回路1,2,3は、図1に示した実施例1の信号処理回路1、図2に示した実施例2の信号処理回路2、及び図3に示した実施例3の信号処理回路3のうち、いずれか1つの回路である。   FIG. 10 is a block diagram illustrating a configuration example of the signal processing circuit according to the fifth embodiment. The signal processing circuit 4 includes an out-of-gamut signal processing unit 30 in front of the signal processing circuits 1, 2, and 3 described above. The signal processing circuits 1, 2, and 3 are the signal processing circuit 1 of the first embodiment shown in FIG. 1, the signal processing circuit 2 of the second embodiment shown in FIG. 2, and the signal processing of the third embodiment shown in FIG. Any one of the circuits 3 is provided.

図1〜3に示した実施例1,2,3の信号処理回路1,2,3と図10に示す実施例5の信号処理回路4とを比較すると、実施例5の信号処理回路4は、信号処理回路1,2,3を備えており、さらに色域外信号処理部30を備えている点で、実施例1,2,3の信号処理回路1,2,3と相違する。   1 to 3 and the signal processing circuit 4 of the fifth embodiment shown in FIG. 10 are compared with the signal processing circuit 4 of the fifth embodiment. The signal processing circuits 1, 2, and 3 are different from the signal processing circuits 1, 2, and 3 of the first, second, and third embodiments in that an out-of-gamut signal processing unit 30 is provided.

色域外信号処理部30は、リニアマトリクス回路31,33及びクリップ回路32を備えている。リニアマトリクス回路31は、RGB信号を入力し、RGB信号の値に対し、予め設定された3行3列の行列LMorgを掛け合わせることで、リニアマトリクスの色補正処理を行う。行列LMorgは、前記数式(3)(6)のとおり、後段の信号処理回路1,2,3全体で施されるリニアマトリクス係数からなる行列であり、行列LM2と行列LM1との積の値が用いられる。これにより、後段の信号処理回路1,2,3による色補正処理にて得られる出力信号が再現される。   The out-of-gamut signal processing unit 30 includes linear matrix circuits 31 and 33 and a clip circuit 32. The linear matrix circuit 31 receives an RGB signal and performs a color correction process on the linear matrix by multiplying the value of the RGB signal by a preset 3 × 3 matrix LMorg. The matrix LMorg is a matrix composed of linear matrix coefficients applied to the entire signal processing circuits 1, 2, 3 in the subsequent stage, as expressed by the equations (3) and (6). Used. As a result, the output signal obtained by the color correction processing by the signal processing circuits 1, 2 and 3 in the subsequent stage is reproduced.

リニアマトリクス回路31は、リニアマトリクスの色補正処理後のRGB信号(R1,G1,B1信号)をクリップ回路32に出力する。   The linear matrix circuit 31 outputs RGB signals (R1, G1, B1 signals) after color correction processing of the linear matrix to the clip circuit 32.

クリップ回路32は、リニアマトリクス回路31からリニアマトリクスの色補正処理が行われたRGB信号(R1,G1,B1信号)を入力し、RGB信号(R1,G1,B1信号)のそれぞれの信号に対して、予め設定された基準値よりも小さい信号である色域外信号を基準値にクリップする処理を施す。   The clip circuit 32 receives the RGB signals (R1, G1, B1 signals) that have undergone linear matrix color correction processing from the linear matrix circuit 31, and outputs the RGB signals (R1, G1, B1 signals) to the respective signals. Thus, a process of clipping an out-of-gamut signal that is a signal smaller than a preset reference value to the reference value is performed.

予め設定された基準値は、例えば一般的な画像信号について0が用いられる。尚、RGB信号として取り得る色域範囲の最小の信号値が規格により定められている場合には、その最小値が基準値として用いられる。例えば、10ビットのSDI信号の最小値は4であるから、基準値として4が用いられる。また、基準値としてマイナスの値が用いられる場合もある。   As the reference value set in advance, for example, 0 is used for a general image signal. In addition, when the minimum signal value of the color gamut range that can be taken as the RGB signal is defined by the standard, the minimum value is used as the reference value. For example, since the minimum value of the 10-bit SDI signal is 4, 4 is used as the reference value. Further, a negative value may be used as the reference value.

クリップ回路32は、クリップ処理後のRGB信号(R2,G2,B2信号)をリニアマトリクス回路33に出力する。   The clip circuit 32 outputs the RGB signals (R2, G2, B2 signals) after the clip process to the linear matrix circuit 33.

リニアマトリクス回路33は、クリップ回路32からクリップ処理が行われたRGB信号(R2,G2,B2信号)を入力し、予め設定された3行3列の行列LMorg-1を掛け合わせることで、リニアマトリクスの色補正処理を行う。リニアマトリクス回路33で用いる行列LMorg-1は、リニアマトリクス回路31で用いた行列LMorgの逆行列である。これにより、クリップの影響を受けない色域内信号については、元の入力信号であるRGB信号が再現される。また、色域外信号については、色域内にクリップされたRGB信号が再現される。 The linear matrix circuit 33 inputs the RGB signal (R2, G2, B2 signal) subjected to the clipping process from the clip circuit 32, and multiplies the matrix LMorg −1 of 3 rows and 3 columns set in advance, so that the linear matrix circuit 33 Perform matrix color correction processing. The matrix LMorg −1 used in the linear matrix circuit 33 is an inverse matrix of the matrix LMorg used in the linear matrix circuit 31. As a result, the RGB signal that is the original input signal is reproduced for the in-gamut signal that is not affected by the clip. For signals outside the color gamut, RGB signals clipped within the color gamut are reproduced.

リニアマトリクス回路33は、リニアマトリクスの色補正処理後のRGB信号(R’,G’,B’信号)を信号処理回路1,2,3に出力する。   The linear matrix circuit 33 outputs the RGB signals (R ′, G ′, B ′ signals) after the linear matrix color correction processing to the signal processing circuits 1, 2, 3.

このように、色域外信号処理部30に備えたリニアマトリクス回路31,33及びクリップ回路32により、色域外信号(後段の信号処理回路1,2,3が当該信号処理回路4の入力信号であるRGB信号に対し色補正処理を行った場合に発生する色域外信号)が色域内にクリップされる。つまり、信号処理回路1,2,3にて色補正処理が行われた場合に色域外信号が発生しないように、当該信号処理回路1,2,3に入力されるRGB信号(R’,G’,B’信号)が生成される。   As described above, the linear matrix circuits 31 and 33 and the clip circuit 32 included in the out-of-gamut signal processing unit 30 allow the out-of-gamut signal (the signal processing circuits 1, 2, and 3 in the subsequent stages are input signals of the signal processing circuit 4). An out-of-gamut signal generated when color correction processing is performed on an RGB signal is clipped into the color gamut. That is, the RGB signals (R ′, G) input to the signal processing circuits 1, 2, 3 are prevented so that out-of-gamut signals are not generated when the color correction processing is performed in the signal processing circuits 1, 2, 3. ', B' signal) is generated.

信号処理回路1,2,3は、色域外信号処理部30のリニアマトリクス回路33からリニアマトリクスの色補正処理後のRGB信号(R’,G’,B’信号)を入力し、図1〜図3にて説明した同様の処理を行う。そして、信号処理回路1,2,3は、所望する色再現を実現すると共に、階調潰れが抑制されたRGB信号(Rfin,Gfin,Bfin信号)を出力する。   The signal processing circuits 1, 2, and 3 receive RGB signals (R ′, G ′, B ′ signals) after linear matrix color correction processing from the linear matrix circuit 33 of the out-of-gamut signal processing unit 30. The same processing described in FIG. 3 is performed. Then, the signal processing circuits 1, 2, and 3 output RGB signals (Rfin, Gfin, and Bfin signals) in which desired color reproduction is achieved and gradation collapse is suppressed.

尚、行列LMorg,LMorg-1は、所定の手法にて設計者の演算により得られ、予め設定される。この場合、行列LMorgと行列LMorg-1との積は単位行列である(LMorg-1・LMorg=I、Iは3行3列の単位行列)。 The matrices LMorg and LMorg- 1 are obtained by a designer's calculation using a predetermined method and set in advance. In this case, the product of the matrix LMorg and the matrix LMorg −1 is a unit matrix (LMorg −1 · LMorg = I, I is a 3 × 3 unit matrix).

以上のように、実施例5の信号処理回路4によれば、色域外信号処理部30のリニアマトリクス回路31は、RGB信号の値に対し、予め設定された行列LMorgを掛け合わせることで、リニアマトリクスの色補正処理を行い、RGB信号(R1,G1,B1信号)を生成する。クリップ回路32は、RGB信号(R1,G1,B1信号)のそれぞれの値に対し、予め設定された基準値よりも小さい信号を基準値にクリップし、RGB信号(R2,G2,B2信号)を生成する。リニアマトリクス回路33は、RGB信号(R2,G2,B2信号)の値に対し、予め設定された行列LMorg-1を掛け合わせることで、リニアマトリクスの色補正処理を行い、RGB信号(R’,G’,B’信号)を生成する。 As described above, according to the signal processing circuit 4 of the fifth embodiment, the linear matrix circuit 31 of the out-of-gamut signal processing unit 30 linearly multiplies the RGB signal value by the preset matrix LMorg. Matrix color correction processing is performed to generate RGB signals (R1, G1, B1 signals). The clipping circuit 32 clips a signal smaller than a reference value set in advance for each value of the RGB signals (R1, G1, B1 signals) to a reference value, and outputs the RGB signals (R2, G2, B2 signals). Generate. The linear matrix circuit 33 performs color correction processing of the linear matrix by multiplying the value of the RGB signal (R2, G2, B2 signal) by a preset matrix LMorg −1 to obtain the RGB signal (R ′, G ′ and B ′ signals).

これにより、RGB信号(R’,G’,B’信号)に対する後段の信号処理回路1,2,3の色補正処理により、色域外信号が生成されることがない。   As a result, an out-of-gamut signal is not generated by the color correction processing of the signal processing circuits 1, 2, and 3 in the subsequent stage for the RGB signals (R ', G', B 'signals).

そして、信号処理回路1,2,3は、RGB信号(R’,G’,B’信号)の値に対し、実施例1,2,3と同様の処理を行い、RGB信号(Rfin,Gfin,Bfin信号)を生成する。   Then, the signal processing circuits 1, 2, and 3 perform the same processing as that of the first, second, and third embodiments on the values of the RGB signals (R ′, G ′, B ′ signals), and the RGB signals (Rfin, Gfin). , Bfin signal).

つまり、信号処理回路1,2,3の前段に設けられた色域外信号処理部30は、信号処理回路1,2,3と同様の色補正処理を行った後にクリップ処理を行い、色域外信号を色域内の信号に変化させ、色補正処理を行う前の元のRGB信号に対応するRGB信号(R’,G’,B’信号)に戻す。そして、信号処理回路1,2,3は、このRGB信号(R’,G’,B’信号)に対して色補正処理を行い、RGB信号(Rfin,Gfin,Bfin信号)を生成する。   That is, the out-of-gamut signal processing unit 30 provided in the previous stage of the signal processing circuits 1, 2, and 3 performs the clip processing after performing the same color correction processing as that of the signal processing circuits 1, 2, and 3, and outputs the out-of-gamut signal. Is changed to a signal in the color gamut and returned to the RGB signal (R ′, G ′, B ′ signal) corresponding to the original RGB signal before the color correction processing. Then, the signal processing circuits 1, 2, and 3 perform color correction processing on the RGB signals (R ′, G ′, and B ′ signals) to generate RGB signals (Rfin, Gfin, and Bfin signals).

これにより、RGB信号(Rfin,Gfin,Bfin信号)には、色域外信号が含まれることがなく、階調潰れを十分に抑制することができる。したがって、リニアマトリクスの色補正処理、及び、ニーまたはリミットの処理を行う際に、高彩度のRGB信号の階調を十分に保つことが可能となる。   Thereby, the RGB signals (Rfin, Gfin, and Bfin signals) do not include out-of-gamut signals, and the gradation collapse can be sufficiently suppressed. Therefore, it is possible to sufficiently maintain the gradation of the RGB signal of high saturation when performing the color correction processing of the linear matrix and the knee or limit processing.

尚、実施例5の信号処理回路4は、図4に示した実施例4の撮像装置20に適用がある。つまり、実施例4の撮像装置20は、信号処理回路1,2,3の代わりに信号処理回路4を備えるようにしてもよい。   The signal processing circuit 4 according to the fifth embodiment is applicable to the imaging device 20 according to the fourth embodiment illustrated in FIG. That is, the imaging device 20 according to the fourth embodiment may include the signal processing circuit 4 instead of the signal processing circuits 1, 2, and 3.

〔実施例6〕
次に、本発明の第6の実施形態(実施例6)について説明する。実施例6は、実施例5において、色域外信号処理部30のリニアマトリクス回路33と、信号処理回路1,2,3のリニアマトリクス回路10−1,10−2とを結合し、1つのリニアマトリクス回路を構成する例である。これにより、実施例5に比べ、回路の数を少なくすることができ、全体として小型化及びコスト低減を図ることができる。
Example 6
Next, a sixth embodiment (Example 6) of the present invention will be described. In the sixth embodiment, the linear matrix circuit 33 of the out-of-gamut signal processing unit 30 and the linear matrix circuits 10-1 and 10-2 of the signal processing circuits 1, 2, and 3 are combined in the fifth embodiment to form one linear. It is an example which comprises a matrix circuit. Thereby, compared with Example 5, the number of circuits can be decreased and the whole can be reduced in size and cost.

図11は、実施例6の信号処理回路の構成例を示すブロック図である。この信号処理回路5は、リニアマトリクス回路31,40、クリップ回路32、ダイナミックレンジ圧縮回路102またはレベルダイヤ調整回路103、及びリニアマトリクス回路11−1またはリニアマトリクス回路11−2を備えている。   FIG. 11 is a block diagram illustrating a configuration example of the signal processing circuit according to the sixth embodiment. The signal processing circuit 5 includes linear matrix circuits 31 and 40, a clip circuit 32, a dynamic range compression circuit 102 or a level diagram adjustment circuit 103, and a linear matrix circuit 11-1 or a linear matrix circuit 11-2.

図10に示した実施例5の信号処理回路4と図11に示す実施例6の信号処理回路5とを比較すると、両信号処理回路4,5は等価である。一方、信号処理回路5は、信号処理回路4のリニアマトリクス回路33と信号処理回路1,2,3のリニアマトリクス回路10−1,10−2とを結合したリニアマトリクス回路40を備えている点で、信号処理回路4と相違する。   When the signal processing circuit 4 of the fifth embodiment shown in FIG. 10 and the signal processing circuit 5 of the sixth embodiment shown in FIG. 11 are compared, the signal processing circuits 4 and 5 are equivalent. On the other hand, the signal processing circuit 5 includes a linear matrix circuit 40 in which the linear matrix circuit 33 of the signal processing circuit 4 and the linear matrix circuits 10-1 and 10-2 of the signal processing circuits 1, 2, and 3 are combined. This is different from the signal processing circuit 4.

色域外信号処理部30のリニアマトリクス回路31及びクリップ回路32、並びに信号処理回路1,2,3のダイナミックレンジ圧縮回路102、レベルダイヤ調整回路103及びリニアマトリクス回路11−1,11−2は前述のとおりであるから、説明を省略する。   The linear matrix circuit 31 and clip circuit 32 of the out-of-gamut signal processing unit 30, the dynamic range compression circuit 102, the level diagram adjustment circuit 103, and the linear matrix circuits 11-1 and 11-2 of the signal processing circuits 1, 2, and 3 are described above. Since it is as follows, description is abbreviate | omitted.

リニアマトリクス回路40は、クリップ回路32からクリップ処理が行われたRGB信号(R2,G2,B2信号)を入力し、予め設定された3行3列の行列LM1・LMorg-1を掛け合わせることで、リニアマトリクスの色補正処理を行う。 The linear matrix circuit 40 receives the RGB signal (R2, G2, B2 signal) subjected to the clipping process from the clipping circuit 32, and multiplies the matrix LM1 · LMorg −1 of 3 rows and 3 columns set in advance. The color correction processing of the linear matrix is performed.

行列LM1は、リニアマトリクス回路10−1,10−2にて用いる予め設定された3行3列の行列である。行列LMorg-1は、リニアマトリクス回路33にて用いる予め設定された3行3列の行列である。リニアマトリクス回路40では、行列LM1及び行列LMorg-1の積である行列LM1・LMorg-1が用いられる。 The matrix LM1 is a preset 3 × 3 matrix used in the linear matrix circuits 10-1 and 10-2. The matrix LMorg −1 is a preset 3 × 3 matrix used in the linear matrix circuit 33. The linear matrix circuit 40 is the product of a matrix LM1 and matrix LMorg -1 matrix LM1 · LMorg -1 is used.

リニアマトリクス回路40は、リニアマトリクスの色補正処理後のRGB信号(Rmid,Gmid,Bmid信号)をダイナミックレンジ圧縮回路102またはレベルダイヤ調整回路103に出力する。   The linear matrix circuit 40 outputs RGB signals (Rmid, Gmid, Bmid signals) after color correction processing of the linear matrix to the dynamic range compression circuit 102 or the level diagram adjustment circuit 103.

以上のように、実施例6の信号処理回路5によれば、リニアマトリクス回路40は、リニアマトリクス回路33とリニアマトリクス回路10−1,10−2とを結合して構成され、クリップ回路32によりクリップ処理が施されたRGB信号(R2,G2,B2信号)の値に対し、予め設定された行列LM1・LMorg-1を掛け合わせることで、リニアマトリクスの色補正処理を行い、RGB信号(Rmid,Gmid,Bmid信号)を生成する。 As described above, according to the signal processing circuit 5 of the sixth embodiment, the linear matrix circuit 40 is configured by combining the linear matrix circuit 33 and the linear matrix circuits 10-1 and 10-2. By multiplying the values of the RGB signals (R2, G2, B2 signals) subjected to the clip processing by a preset matrix LM1 · LMorg −1 , color correction processing of the linear matrix is performed, and the RGB signal (Rmid , Gmid, Bmid signals).

この信号処理回路5は、実施例5のリニアマトリクス回路33及びリニアマトリクス回路10−1,10−2からなる2つの回路の代わりに、これらの回路と等価の1つのリニアマトリクス回路40を備える。   The signal processing circuit 5 includes one linear matrix circuit 40 equivalent to these circuits instead of the two circuits including the linear matrix circuit 33 and the linear matrix circuits 10-1 and 10-2 of the fifth embodiment.

これにより、実施例5と同様に、リニアマトリクスの色補正処理、及び、ニーまたはリミットの処理を行う際に、高彩度のRGB信号の階調を十分に保つことが可能となる。また、実施例5に比べ、回路の数を少なくすることができ、全体として小型化及びコスト低減を図ることができる。   As a result, as in the fifth embodiment, when performing linear matrix color correction processing and knee or limit processing, it is possible to sufficiently maintain the gradation of the RGB signal of high saturation. Further, compared to the fifth embodiment, the number of circuits can be reduced, and the overall size and cost can be reduced.

尚、実施例6の信号処理回路5は、図4に示した実施例4の撮像装置20に適用がある。つまり、実施例4の撮像装置20は、信号処理回路1,2,3の代わりに信号処理回路5を備えるようにしてもよい。   The signal processing circuit 5 according to the sixth embodiment is applicable to the imaging device 20 according to the fourth embodiment illustrated in FIG. That is, the imaging device 20 according to the fourth embodiment may include the signal processing circuit 5 instead of the signal processing circuits 1, 2, and 3.

次に、実施例6の信号処理回路5における信号値の変移について説明する。図13は、図11に示した実施例6の信号処理回路5における信号値の変移、すなわち色域外信号処理がある場合の信号値の変移を説明する図である。青が支配的な被写体光のRGB信号が信号処理回路5に入力されるものとする。   Next, the transition of the signal value in the signal processing circuit 5 according to the sixth embodiment will be described. FIG. 13 is a diagram for explaining signal value transition in the signal processing circuit 5 of the sixth embodiment illustrated in FIG. 11, that is, signal value transition when there is out-of-gamut signal processing. It is assumed that an RGB signal of subject light in which blue is dominant is input to the signal processing circuit 5.

図13(a)〜(f)において、横軸は入射光強度を示し、縦軸はRGB信号の信号値を示す。図13(a)は、リニアマトリクス回路31に入力されるRGB信号の特性を示し、図13(b)は、リニアマトリクス回路31から出力され、クリップ回路32に入力されるRGB信号(R1,G1,B1信号)の特性を示す。また、図13(c)は、クリップ回路32により出力され、リニアマトリクス回路40に入力されるRGB信号(R2,G2,B2信号)の特性を示し、図13(d)は、リニアマトリクス回路40により出力され、ダイナミックレンジ圧縮回路102に入力されるRGB信号(Rmid,Gmid,Bmid信号)の特性を示す。   13A to 13F, the horizontal axis indicates the incident light intensity, and the vertical axis indicates the signal value of the RGB signal. 13A shows the characteristics of the RGB signals input to the linear matrix circuit 31, and FIG. 13B shows the RGB signals (R1, G1) output from the linear matrix circuit 31 and input to the clip circuit 32. , B1 signal). 13C shows the characteristics of the RGB signals (R2, G2, B2 signals) output from the clip circuit 32 and input to the linear matrix circuit 40, and FIG. 13D shows the linear matrix circuit 40. The characteristics of the RGB signals (Rmid, Gmid, Bmid signals) output by the above and input to the dynamic range compression circuit 102 are shown.

また、図13(e)は、ダイナミックレンジ圧縮回路102により出力され、リニアマトリクス回路11−1に入力されるRGB信号(Rmid’,Gmid’,Bmid’信号)の特性を示し、図13(f)は、リニアマトリクス回路11−1により出力されるRGB信号(Rfin,Gfin,Bfin信号)の特性を示す。   FIG. 13E shows the characteristics of the RGB signals (Rmid ′, Gmid ′, Bmid ′ signals) output from the dynamic range compression circuit 102 and input to the linear matrix circuit 11-1. FIG. ) Shows the characteristics of the RGB signals (Rfin, Gfin, Bfin signals) output from the linear matrix circuit 11-1.

図13(a)に示すRGB信号に対し、リニアマトリクス回路31により、行列LMorgを用いてリニアマトリクスの色補正処理が行われ、図13(b)に示すRGB信号(R1,G1,B1信号)が生成される。これにより、B信号の信号値が大きくなり、R,G信号の信号値が小さくなって色域外信号となる。   The linear matrix circuit 31 performs linear matrix color correction processing on the RGB signals shown in FIG. 13A using the matrix LMorg, and the RGB signals (R1, G1, B1 signals) shown in FIG. Is generated. As a result, the signal value of the B signal increases, the signal value of the R and G signals decreases, and the signal is out of gamut.

図13(b)に示すRGB信号(R1,G1,B1信号)のそれぞれに対し、クリップ回路32により、基準値(0値)よりも小さい信号(負値の信号)が基準値にクリップされ、図13(c)に示すRGB信号(R2,G2,B2信号)が生成される。これにより、負値のR,G信号である色域外信号は、基準値である0値にクリップされる。   For each of the RGB signals (R1, G1, B1 signals) shown in FIG. 13 (b), a signal (negative signal) smaller than the reference value (0 value) is clipped to the reference value by the clipping circuit 32. RGB signals (R2, G2, B2 signals) shown in FIG. 13C are generated. As a result, the out-of-gamut signal, which is a negative R, G signal, is clipped to a reference value of 0.

図13(c)に示すRGB信号(R2,G2,B2信号)に対し、リニアマトリクス回路40により、行列LM1・LMorg-1を用いてリニアマトリクスの色補正処理が行われ、図13(d)に示すRGB信号(Rmid,Gmid,Bmid信号)が生成される。これにより、RGB信号(Rmid,Gmid,Bmid信号)は、図13(b)よりも彩度の落ちた信号となる。 For the RGB signals (R2, G2, B2 signals) shown in FIG. 13C, the linear matrix circuit 40 performs linear matrix color correction processing using the matrices LM1 and LMorg −1 , and FIG. RGB signals (Rmid, Gmid, Bmid signals) shown in FIG. As a result, the RGB signals (Rmid, Gmid, and Bmid signals) are signals with lower saturation than in FIG.

図13(d)に示すRGB信号(Rmid,Gmid,Bmid信号)に対し、ダイナミックレンジ圧縮回路102により、ダイナミックレンジ圧縮処理が行われ、図13(e)に示すRGB信号(Rmid’,Gmid’,Bmid’信号)が生成される。図13(e)は、図5(c)及び図12(c)に対応している。   The dynamic range compression circuit 102 performs dynamic range compression processing on the RGB signals (Rmid, Gmid, Bmid signals) shown in FIG. 13D, and the RGB signals (Rmid ′, Gmid ′ shown in FIG. 13E). , Bmid ′ signal) is generated. FIG. 13E corresponds to FIGS. 5C and 12C.

図13(e)に示すRGB信号(Rmid’,Gmid’,Bmid’信号)に対し、リニアマトリクス回路11−1により、行列LM2を用いてリニアマトリクスの色補正処理が行われ、図13(f)に示すRGB信号(Rfin,Gfin,Bfin信号)が生成される。これにより、図13(f)に示すR,G信号(Rfin,Gfin信号)は、図12(d)に示したR,G信号(Rfin,Gfin信号)と異なり、負値を含まない信号となる。したがって、R,G信号の信号値の潜り込みを回避することができ、負値の信号値に起因する階調潰れを抑制することが可能となる。   For the RGB signals (Rmid ′, Gmid ′, Bmid ′ signals) shown in FIG. 13E, the linear matrix circuit 11-1 performs color correction processing of the linear matrix using the matrix LM2, and FIG. RGB signals (Rfin, Gfin, Bfin signals) shown in FIG. Thus, the R and G signals (Rfin and Gfin signals) shown in FIG. 13 (f) are different from the R and G signals (Rfin and Gfin signals) shown in FIG. Become. Therefore, it is possible to avoid the signal values of the R and G signals from being hidden, and to suppress the gradation collapse caused by the negative signal value.

(実施例6の実験結果)
次に、実施例6の計算機シミュレーションによる実験結果について説明する。図14は、高彩度のRGB信号を入力したときの実施例6の実験結果を説明する図である。(1)は、図7に示した従来技術の信号処理回路100による信号値の変化を示し、(2)は、(1)における映像信号の変化を示す。また、(3)は、図1に示した実施例1の信号処理回路1による信号値の変化を示し、(4)は、(3)における映像信号の変化を示す。そして、(5)は、図11に示した実施例6の信号処理回路5による信号値の変化を示し、(6)は、(5)における映像信号の変化を示す。
(Experimental result of Example 6)
Next, experimental results by computer simulation of Example 6 will be described. FIG. 14 is a diagram for explaining experimental results of Example 6 when a high-saturation RGB signal is input. (1) shows changes in the signal value by the signal processing circuit 100 of the prior art shown in FIG. 7, and (2) shows changes in the video signal in (1). Further, (3) shows the change of the signal value by the signal processing circuit 1 of the first embodiment shown in FIG. 1, and (4) shows the change of the video signal in (3). (5) shows a change in the signal value by the signal processing circuit 5 of the sixth embodiment shown in FIG. 11, and (6) shows a change in the video signal in (5).

図14(1)(3)及び(5)において、横軸は入射光強度を示し、縦軸はRGB信号の信号値を示す。このRGB信号は、それぞれ信号処理回路100,1,5の出力信号、すなわちRGB信号(Rfin,Gfin,Bfin信号)である。また、図14(2)(4)及び(6)において、横軸は図14(1)(3)及び(5)と同じ入射光強度を示す。図14(2)(4)及び(6)は、入射光強度の全範囲における階調を示している。   14 (1), (3), and (5), the horizontal axis indicates the incident light intensity, and the vertical axis indicates the signal value of the RGB signal. The RGB signals are output signals of the signal processing circuits 100, 1, 5 respectively, that is, RGB signals (Rfin, Gfin, Bfin signals). 14 (2), (4), and (6), the horizontal axis indicates the same incident light intensity as in FIGS. 14 (1), (3), and (5). FIGS. 14 (2), (4), and (6) show gradations in the entire range of incident light intensity.

図14(1)〜(6)は、図6(1)〜(4)と同様に、従来技術の信号処理回路100にて用いる行列LMorgと、実施例1の信号処理回路1及び実施例6の信号処理回路5にて用いる行列LM1,LM2の積とを同一とした場合の実験結果である。また、従来技術の信号処理回路100にて用いる行列LMorgと、実施例6の信号処理回路5にて用いる行列LMorgとは同一である。   14 (1) to 14 (6) are similar to FIGS. 6 (1) to 6 (4), the matrix LMorg used in the signal processing circuit 100 of the prior art, the signal processing circuit 1 of the first embodiment, and the sixth embodiment. This is an experimental result when the product of the matrices LM1 and LM2 used in the signal processing circuit 5 is the same. Further, the matrix LMorg used in the signal processing circuit 100 of the prior art is the same as the matrix LMorg used in the signal processing circuit 5 of the sixth embodiment.

青が支配的な被写体光のRGB信号が撮像素子から出力されるものと仮定し、当該RGB信号が、それぞれ信号処理回路100,1,5に入力されるものとする。   It is assumed that the RGB signal of subject light in which blue is dominant is output from the image sensor, and the RGB signal is input to the signal processing circuits 100, 1, and 5, respectively.

図14(1)から、従来技術では、入射光強度が約80以上かつ600以下の範囲において、ダイナミックレンジ圧縮処理によりB信号の信号値が抑えられているが、R,G信号の信号値は増加しておらず、信号値全体として停滞していることがわかる。このため、図14(2)に示すように、映像信号の階調が潰れている。   From FIG. 14 (1), in the prior art, the signal value of the B signal is suppressed by the dynamic range compression processing in the range where the incident light intensity is about 80 or more and 600 or less, but the signal value of the R and G signals is It can be seen that the signal value does not increase and is stagnated as a whole. For this reason, as shown in FIG. 14B, the gradation of the video signal is crushed.

また、図14(3)から、実施例1のB信号の信号値は、入射光強度が約80以上かつ600以下の範囲において、ダイナミックレンジ圧縮処理により抑えられ、R,G信号の信号値は、入射光強度が約250以上かつ600以下の範囲において、それぞれ増加しており、入射光強度が高くなるほど、白色に近づいていることがわかる。   Also, from FIG. 14 (3), the signal value of the B signal of Example 1 is suppressed by the dynamic range compression processing in the range where the incident light intensity is about 80 to 600, and the signal values of the R and G signals are It can be seen that the incident light intensity increases in the range of about 250 or more and 600 or less, and approaches white as the incident light intensity increases.

しかしながら、実施例1のRGB信号全ての信号値は、入射光強度が約80以上かつ約250以下の範囲において変化がない(この範囲のR,G信号は、図12(d)に示したように、色域外信号となっている)。このため、図14(4)に示すように、映像信号は、全範囲に渡って階調の変化は見られるものの、一部の範囲(入射光強度が約80以上かつ約250以下の範囲)では階調の変化がなく、部分的な階調潰れが発生している。   However, the signal values of all the RGB signals of Example 1 do not change when the incident light intensity is in the range of about 80 to about 250 (the R and G signals in this range are as shown in FIG. 12D). The signal is out of gamut). For this reason, as shown in FIG. 14 (4), the video signal shows a change in gradation over the entire range, but a part of the range (incident light intensity is a range of about 80 or more and about 250 or less). In, there is no change in gradation, and partial gradation collapse occurs.

これに対し、図14(5)から、実施例6のB信号の信号値は、入射光強度が約80以上かつ600以下の範囲において、ダイナミックレンジ圧縮処理により抑えられ、R,G信号の信号値は、入射光強度が約110以上かつ600以下の範囲において、それぞれ増加しており、入射光強度が高くなるほど、白色に近づいていることがわかる。このため、図14(6)に示すように、映像信号は、図14(4)よりも広い範囲で階調の変化が見られ、潰れのない自然な階調が保たれている。   On the other hand, from FIG. 14 (5), the signal value of the B signal of Example 6 is suppressed by the dynamic range compression processing in the range where the incident light intensity is about 80 or more and 600 or less. It can be seen that the values increase in the range where the incident light intensity is about 110 or more and 600 or less, respectively, and approach white as the incident light intensity increases. For this reason, as shown in FIG. 14 (6), the video signal shows a change in gradation in a wider range than that in FIG. 14 (4), and a natural gradation without collapse is maintained.

このように、実施例1は、従来技術に比べて階調潰れを抑制することができ、実施例6は、実施例1に比べて階調潰れを一層抑制することができる。   As described above, the first embodiment can suppress the gradation collapse compared to the conventional technique, and the sixth embodiment can further suppress the gradation collapse compared to the first embodiment.

尚、本発明の実施例1,2,3,5,6による信号処理回路1,2,3,4,5のハードウェア構成としては、通常のコンピュータを使用することができる。信号処理回路1,2,3,4,5は、CPU、RAM等の揮発性の記憶媒体、ROM等の不揮発性の記憶媒体、及びインターフェース等を備えたコンピュータによって構成される。信号処理回路1に備えたリニアマトリクス回路10−1,11−1及びダイナミックレンジ圧縮回路102の各機能は、これらの機能を記述したプログラムをCPUに実行させることによりそれぞれ実現される。また、信号処理回路2に備えたリニアマトリクス回路10−2,11−2及びダイナミックレンジ圧縮回路102の各機能は、これらの機能を記述したプログラムをCPUに実行させることによりそれぞれ実現される。また、信号処理回路3に備えたリニアマトリクス回路10−1,11−1及びレベルダイヤ調整回路103の各機能は、これらの機能を記述したプログラムをCPUに実行させることによりそれぞれ実現される。   Note that a normal computer can be used as the hardware configuration of the signal processing circuits 1, 2, 3, 4, and 5 according to the first, second, third, fifth, and sixth embodiments of the present invention. The signal processing circuits 1, 2, 3, 4, and 5 are configured by a computer including a volatile storage medium such as a CPU and a RAM, a non-volatile storage medium such as a ROM, and an interface. Each function of the linear matrix circuits 10-1 and 11-1 and the dynamic range compression circuit 102 provided in the signal processing circuit 1 is realized by causing the CPU to execute a program describing these functions. Each function of the linear matrix circuits 10-2 and 11-2 and the dynamic range compression circuit 102 provided in the signal processing circuit 2 is realized by causing the CPU to execute a program describing these functions. Each function of the linear matrix circuits 10-1 and 11-1 and the level diagram adjusting circuit 103 provided in the signal processing circuit 3 is realized by causing the CPU to execute a program describing these functions.

また、信号処理回路4に備えたリニアマトリクス回路31,33及びクリップ回路32等の各機能は、これらの機能を記述したプログラムをCPUに実行させることによりそれぞれ実現される。さらに、信号処理回路5に備えたリニアマトリクス回路31,40及びクリップ回路32等の各機能は、これらの機能を記述したプログラムをCPUに実行させることによりそれぞれ実現される。   Each function of the linear matrix circuits 31 and 33 and the clip circuit 32 provided in the signal processing circuit 4 is realized by causing the CPU to execute a program describing these functions. Furthermore, each function of the linear matrix circuits 31 and 40 and the clip circuit 32 provided in the signal processing circuit 5 is realized by causing the CPU to execute a program describing these functions.

これらのプログラムは、前記記憶媒体に格納されており、CPUに読み出されて実行される。また、これらのプログラムは、磁気ディスク(フロッピー(登録商標)ディスク、ハードディスク等)、光ディスク(CD−ROM、DVD等)、半導体メモリ等の記憶媒体に格納して頒布することもでき、ネットワークを介して送受信することもできる。   These programs are stored in the storage medium and read out and executed by the CPU. These programs can also be stored and distributed in a storage medium such as a magnetic disk (floppy (registered trademark) disk, hard disk, etc.), optical disk (CD-ROM, DVD, etc.), semiconductor memory, etc. You can also send and receive.

また、本発明の実施例1,2,3,5,6において、図1に示した実施例1の信号処理回路1のリニアマトリクス回路10−1からリニアマトリクス回路11−1までの各構成部の処理、図2に示した実施例2の信号処理回路2のリニアマトリクス回路10−2からリニアマトリクス回路11−2までの各構成部の処理、図3に示した実施例3の信号処理回路3のリニアマトリクス回路10−1からリニアマトリクス回路11−1までの各構成部の処理、図10に示した実施例5の信号処理回路4のリニアマトリクス回路31から信号処理回路1,2,3に備えたリニアマトリクス回路11−1,11−2までの各構成部の処理、及び、図11に示した実施例6の信号処理回路5のリニアマトリクス回路31からリニアマトリクス回路11−1,11−2までの各構成部の処理は、それぞれ信号処理回路1,2,3,4,5に搭載される集積回路であるLSIのチップにより実現されるようにしてもよい。これらは、個別に1チップ化されていてもよいし、これらの一部または全部が1チップ化されていてもよい。   In the first, second, third, fifth, and sixth embodiments of the present invention, each component from the linear matrix circuit 10-1 to the linear matrix circuit 11-1 of the signal processing circuit 1 according to the first embodiment shown in FIG. 2, the processing of each component from the linear matrix circuit 10-2 to the linear matrix circuit 11-2 of the signal processing circuit 2 of the second embodiment shown in FIG. 2, the signal processing circuit of the third embodiment shown in FIG. 3, the processing of each component from the linear matrix circuit 10-1 to the linear matrix circuit 11-1, the signal processing circuits 1, 2, 3 from the linear matrix circuit 31 of the signal processing circuit 4 of the fifth embodiment shown in FIG. The processing of each component up to the linear matrix circuits 11-1 and 11-2 and the linear matrix circuit 31 to the linear matrix circuit 11- of the signal processing circuit 5 of the sixth embodiment shown in FIG. The processing of each component up to 11-2 may also be realized by LSI chip is an integrated circuit mounted to the signal processing circuit 1,2,3,4,5. These may be individually made into one chip, or a part or all of them may be made into one chip.

また、LSIの代わりに、集積度の異なるVLSI、ULSI等のチップにより実現されるようにしてもよい。さらに、LSI等のチップに限るものではなく、専用回路または汎用プロセッサを用いるようにしてもよいし、FPGA(Field Programmable Gate Array)を用いるようにしてもよい。   Further, instead of the LSI, it may be realized by a chip such as a VLSI or ULSI having a different degree of integration. Furthermore, the present invention is not limited to a chip such as an LSI, and a dedicated circuit or a general-purpose processor may be used, or an FPGA (Field Programmable Gate Array) may be used.

1,2,3,4,5,100 信号処理回路
10,11,31,33,40,101 リニアマトリクス回路
20 撮像装置
21 撮像素子
22 ブラックバランス/ホワイトバランス回路
23 映像処理回路
30 色域外信号処理部
32 クリップ回路
102 ダイナミックレンジ圧縮回路
103 レベルダイヤ調整回路
1, 2, 3, 4, 5, 100 Signal processing circuit 10, 11, 31, 33, 40, 101 Linear matrix circuit 20 Imaging device 21 Imaging element 22 Black balance / white balance circuit 23 Video processing circuit 30 Out-of-gamut signal processing Part 32 clip circuit 102 dynamic range compression circuit 103 level diagram adjustment circuit

Claims (12)

RGB信号に対し所定の処理を行う信号処理回路において、
前記RGB信号に対し、予め設定された3行3列の第1の行列を掛け合わせることで、リニアマトリクスの色補正処理を行う第1のリニアマトリクス回路と、
前記第1のリニアマトリクス回路により前記色補正処理が行われたRGB信号に対し、ダイナミックレンジ圧縮処理を行うダイナミックレンジ圧縮回路と、
前記ダイナミックレンジ圧縮回路により前記ダイナミックレンジ圧縮処理が行われたRGB信号に対し、予め設定された3行3列の第2の行列を掛け合わせることで、リニアマトリクスの色補正処理を行う第2のリニアマトリクス回路と、を備え、
前記第1のリニアマトリクス回路により前記第1の行列を用いて前記色補正処理が行われたRGB信号を、前記第1の行列と前記第2の行列との積である3行3列の行列を用いて前記色補正処理が行われた場合のRGB信号よりも彩度を落とした信号とする、ことを特徴とする信号処理回路。
In a signal processing circuit that performs predetermined processing on RGB signals,
A first linear matrix circuit that performs color correction processing of a linear matrix by multiplying the RGB signal by a first matrix of 3 rows and 3 columns set in advance;
A dynamic range compression circuit that performs dynamic range compression processing on the RGB signal that has undergone the color correction processing by the first linear matrix circuit;
A second color correction process for a linear matrix is performed by multiplying the RGB signal that has been subjected to the dynamic range compression process by the dynamic range compression circuit by a preset second matrix of 3 rows and 3 columns. A linear matrix circuit,
An RGB signal, which has been subjected to the color correction processing using the first matrix by the first linear matrix circuit, is a 3 × 3 matrix that is the product of the first matrix and the second matrix. A signal processing circuit characterized in that the signal has a lower saturation than the RGB signal in the case where the color correction processing is performed using.
請求項1に記載の信号処理回路において、
前記第1のリニアマトリクス回路は、
前記RGB信号に対し、前記第1の行列を掛け合わせてリニアマトリクスの色補正処理を行うことで、前記RGB信号の彩度を落とし、
前記第2のリニアマトリクス回路は、
前記ダイナミックレンジ圧縮回路により前記ダイナミックレンジ圧縮処理が行われたRGB信号に対し、前記第2の行列を掛け合わせてリニアマトリクスの色補正処理を行うことで、前記RGB信号の彩度を上げると共に、前記RGB信号の色バランスを整える、ことを特徴とする信号処理回路。
The signal processing circuit according to claim 1,
The first linear matrix circuit includes:
By multiplying the RGB signal by the first matrix and performing a linear matrix color correction process, the saturation of the RGB signal is reduced,
The second linear matrix circuit includes:
The RGB signal subjected to the dynamic range compression processing by the dynamic range compression circuit is multiplied by the second matrix to perform a linear matrix color correction process, thereby increasing the saturation of the RGB signal, A signal processing circuit for adjusting a color balance of the RGB signals.
請求項1に記載の信号処理回路において、
前記第1のリニアマトリクス回路は、
前記RGB信号に対し、前記第1の行列を掛け合わせてリニアマトリクスの色補正処理を行うことで、前記RGB信号の色バランスを整え、
前記第2のリニアマトリクス回路は、
前記ダイナミックレンジ圧縮回路により前記ダイナミックレンジ圧縮処理が行われたRGB信号に対し、前記第2の行列を掛け合わせてリニアマトリクスの色補正処理を行うことで、前記RGB信号の彩度を上げる、ことを特徴とする信号処理回路。
The signal processing circuit according to claim 1,
The first linear matrix circuit includes:
By multiplying the RGB signal by the first matrix and performing color correction processing of a linear matrix, the color balance of the RGB signal is adjusted,
The second linear matrix circuit includes:
Increasing the saturation of the RGB signal by multiplying the RGB signal that has been subjected to the dynamic range compression processing by the dynamic range compression circuit with the second matrix and performing linear matrix color correction processing; A signal processing circuit.
請求項1に記載の信号処理回路において、
前記第1の行列と前記第2の行列との積である3行3列の行列をLMorg、αを予め設定された正の実数のパラメータとして、前記第1の行列LM1及び前記第2の行列LM2を、
とする、ことを特徴とする信号処理回路。
The signal processing circuit according to claim 1,
The first matrix LM1 and the second matrix are defined as a 3-by-3 matrix, which is the product of the first matrix and the second matrix, with LMorg and α as a preset positive real parameter. LM2
A signal processing circuit characterized by that.
請求項1に記載の信号処理回路において、
前記第1の行列と前記第2の行列との積である3行3列の行列をLMorg、αR,αG,αBを前記RGB信号のそれぞれに対応する予め設定された正の実数のパラメータとして、前記第1の行列LM1及び前記第2の行列LM2を、
とする、ことを特徴とする信号処理回路。
The signal processing circuit according to claim 1,
A matrix of 3 rows and 3 columns, which is the product of the first matrix and the second matrix, is set to LMorg, and α R , α G , and α B are set to positive real numbers set in advance corresponding to the RGB signals, respectively. As parameters, the first matrix LM1 and the second matrix LM2 are
A signal processing circuit characterized by that.
請求項1に記載の信号処理回路において、
前記第1の行列と前記第2の行列との積である3行3列の行列をLMorg、βを予め設定された正の実数のパラメータとして、前記第2の行列LM2及び前記第1の行列LM1を、
とする、ことを特徴とする信号処理回路。
The signal processing circuit according to claim 1,
The second matrix LM2 and the first matrix with LMorg as a matrix of 3 rows and 3 columns, which is the product of the first matrix and the second matrix, and β as a preset positive real parameter LM1
A signal processing circuit characterized by that.
請求項1に記載の信号処理回路において、
前記第1の行列と前記第2の行列との積である3行3列の行列をLMorg、βR,βG,βBを前記RGB信号のそれぞれに対応する予め設定された正の実数のパラメータとして、前記第2の行列LM2及び前記第1の行列LM1を、
とする、ことを特徴とする信号処理回路。
The signal processing circuit according to claim 1,
A matrix of 3 rows and 3 columns, which is the product of the first matrix and the second matrix, is set to LMorg, β R , β G , and β B are set to positive real numbers set in advance corresponding to the RGB signals, respectively. As parameters, the second matrix LM2 and the first matrix LM1,
A signal processing circuit characterized by that.
請求項1から7までのいずれか一項に記載の信号処理回路において、
前記第2の行列を、前記第1の行列の逆行列とする、ことを特徴とする信号処理回路。
In the signal processing circuit according to any one of claims 1 to 7,
The signal processing circuit, wherein the second matrix is an inverse matrix of the first matrix.
請求項1から8までのいずれか一項に記載の信号処理回路において、
前記第1のリニアマトリクス回路は、
撮像素子により得られた前記RGB信号に対し、前記第1の行列を掛け合わせることで、前記リニアマトリクスの色補正処理を行う、ことを特徴とする信号処理回路。
In the signal processing circuit according to any one of claims 1 to 8,
The first linear matrix circuit includes:
A signal processing circuit that performs color correction processing of the linear matrix by multiplying the first matrix by the RGB signal obtained by an image sensor.
請求項1から9までのいずれか一項に記載の信号処理回路において、
さらに、前記RGB信号に対し、前記第2の行列と前記第1の行列との積である3行3列の予め設定された第3の行列を掛け合わせることで、リニアマトリクスの色補正処理を行う第3のリニアマトリクス回路と、
前記第3のリニアマトリクス回路により前記色補正処理が行われたRGB信号のそれぞれに対し、予め設定された基準値よりも小さい信号を前記基準値にクリップし、クリップ後のRGB信号を生成するクリップ回路と、
前記クリップ回路により生成されたRGB信号に対し、前記第3の行列の逆行列である予め設定された第4の行列を掛け合わせることで、リニアマトリクスの色補正処理を行う第4のリニアマトリクス回路と、を備え、
前記第1のリニアマトリクス回路は、
前記第4のリニアマトリクス回路により前記色補正処理が行われたRGB信号に対し、前記第1の行列を掛け合わせることで、リニアマトリクスの色補正処理を行う、ことを特徴とする信号処理回路。
In the signal processing circuit according to any one of claims 1 to 9,
Further, by multiplying the RGB signal by a preset third matrix of 3 rows and 3 columns, which is the product of the second matrix and the first matrix, color correction processing of a linear matrix is performed. A third linear matrix circuit to perform;
A clip that clips a signal smaller than a preset reference value to the reference value for each of the RGB signals subjected to the color correction processing by the third linear matrix circuit, and generates a clipped RGB signal Circuit,
A fourth linear matrix circuit that performs linear matrix color correction processing by multiplying the RGB signal generated by the clipping circuit by a preset fourth matrix that is an inverse matrix of the third matrix. And comprising
The first linear matrix circuit includes:
A signal processing circuit that performs color correction processing of a linear matrix by multiplying the RGB signal subjected to the color correction processing by the fourth linear matrix circuit with the first matrix.
請求項10に記載の信号処理回路において、
前記第4のリニアマトリクス回路及び前記第1のリニアマトリクス回路の代わりに、第5のリニアマトリクス回路を備え、
前記第5のリニアマトリクス回路は、
前記クリップ回路により生成されたRGB信号に対し、前記第1の行列と前記第4の行列との積である3行3列の予め設定された第5の行列を掛け合わせることで、リニアマトリクスの色補正処理を行い、
前記ダイナミックレンジ圧縮回路は、
前記第5のリニアマトリクス回路により前記色補正処理が行われたRGB信号に対し、ダイナミックレンジ圧縮処理を行う、ことを特徴とする信号処理回路。
The signal processing circuit according to claim 10.
In place of the fourth linear matrix circuit and the first linear matrix circuit, a fifth linear matrix circuit is provided,
The fifth linear matrix circuit includes:
By multiplying the RGB signal generated by the clipping circuit by a preset fifth matrix of 3 rows and 3 columns, which is the product of the first matrix and the fourth matrix, Perform color correction processing,
The dynamic range compression circuit includes:
A signal processing circuit, wherein dynamic range compression processing is performed on an RGB signal that has been subjected to the color correction processing by the fifth linear matrix circuit.
コンピュータを、請求項1から11までのいずれか一項に記載の信号処理回路として機能させるためのプログラム。   The program for functioning a computer as a signal processing circuit as described in any one of Claim 1-11.
JP2017094092A 2017-02-28 2017-05-10 Signal processing circuits and programs Active JP6902922B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017035890 2017-02-28
JP2017035890 2017-02-28

Publications (2)

Publication Number Publication Date
JP2018142947A true JP2018142947A (en) 2018-09-13
JP6902922B2 JP6902922B2 (en) 2021-07-14

Family

ID=63528407

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017094092A Active JP6902922B2 (en) 2017-02-28 2017-05-10 Signal processing circuits and programs

Country Status (1)

Country Link
JP (1) JP6902922B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020523873A (en) * 2017-06-13 2020-08-06 コーニンクレッカ フィリップス エヌ ヴェKoninklijke Philips N.V. Gamut mapping for HDR encoding (decoding)
JP2020150380A (en) * 2019-03-12 2020-09-17 日本放送協会 Video signal converter and program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0568260A (en) * 1991-02-01 1993-03-19 Philips Gloeilampenfab:Nv Color image display device and color camera
JPH09331539A (en) * 1996-04-12 1997-12-22 Sony Corp Video camera equipment, video signal processor, level compression method and gradation conversion method for color video signal
JP2003143623A (en) * 2001-08-22 2003-05-16 Fuji Photo Film Co Ltd Method and apparatus for photographing image
JP2004023347A (en) * 2002-06-14 2004-01-22 Canon Inc Apparatus, system and method of image processing, storage medium and program
JP2016066354A (en) * 2014-09-24 2016-04-28 日本放送協会 Color gamut conversion apparatus and color gamut conversion method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0568260A (en) * 1991-02-01 1993-03-19 Philips Gloeilampenfab:Nv Color image display device and color camera
JPH09331539A (en) * 1996-04-12 1997-12-22 Sony Corp Video camera equipment, video signal processor, level compression method and gradation conversion method for color video signal
JP2003143623A (en) * 2001-08-22 2003-05-16 Fuji Photo Film Co Ltd Method and apparatus for photographing image
JP2004023347A (en) * 2002-06-14 2004-01-22 Canon Inc Apparatus, system and method of image processing, storage medium and program
JP2016066354A (en) * 2014-09-24 2016-04-28 日本放送協会 Color gamut conversion apparatus and color gamut conversion method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020523873A (en) * 2017-06-13 2020-08-06 コーニンクレッカ フィリップス エヌ ヴェKoninklijke Philips N.V. Gamut mapping for HDR encoding (decoding)
JP7203048B2 (en) 2017-06-13 2023-01-12 コーニンクレッカ フィリップス エヌ ヴェ Gamut mapping for HDR encoding (decoding)
JP2020150380A (en) * 2019-03-12 2020-09-17 日本放送協会 Video signal converter and program
JP7220593B2 (en) 2019-03-12 2023-02-10 日本放送協会 Video signal converter and program

Also Published As

Publication number Publication date
JP6902922B2 (en) 2021-07-14

Similar Documents

Publication Publication Date Title
US8144985B2 (en) Method of high dynamic range compression with detail preservation and noise constraints
US7973860B2 (en) Method and apparatus for adjusting contrast of image
JP2005353069A (en) Chroma-adaptive image improvement device and method
JPH11331596A (en) Image processing method and its device
US9013594B1 (en) Preventing color artifacts in overexposed regions and preserving maximum signals in near-overexposed regions of digital images
US9712797B2 (en) Image processing apparatus, image pickup apparatus, image processing method, and non-transitory computer-readable medium
TWI783643B (en) Image processing method and apparatus
CN112288661B (en) Image color correction method
JP2004328564A (en) Color correcting apparatus, color correcting method, color correcting program, and digital camera using color correcting apparatus
JP6902922B2 (en) Signal processing circuits and programs
US20100033495A1 (en) Image processing apparatus and image processing method
US20180013920A1 (en) Image processing apparatus and image processing method
US8253862B2 (en) Method and device for image sharpness adjustment
US9565412B2 (en) Image processing apparatus that develops photographed data, image processing method, and recording medium
JP2015162712A (en) Image processing apparatus, image processing method, control program and recording medium
JP7390849B2 (en) Video signal conversion device and program
US20080219551A1 (en) Image processing apparatus
US9635331B2 (en) Image processing apparatus that performs tone correction and edge enhancement, control method therefor, and storage medium
US11651495B2 (en) Method and system for image correction
JP2008227959A (en) Image processing device, image processing method and image processing system
JP2008530952A (en) Color correction techniques for color profiles
JP2002044679A (en) Image signal processing circuit
US20240046436A1 (en) Image processing apparatus, endoscopic apparatus, image processing method, and non-transitory computer-readable storage medium
JP2008301341A (en) Image signal processing apparatus
JP2009218962A (en) Color conversion output device, color conversion output method, color conversion output program, color conversion table, color conversion table recording medium, and color conversion integrated circuit

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170516

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200401

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200918

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201023

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201211

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210527

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210622

R150 Certificate of patent or registration of utility model

Ref document number: 6902922

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250