JP2012039274A - Color space conversion device, image processing device, image display device, and color space conversion method - Google Patents

Color space conversion device, image processing device, image display device, and color space conversion method Download PDF

Info

Publication number
JP2012039274A
JP2012039274A JP2010176007A JP2010176007A JP2012039274A JP 2012039274 A JP2012039274 A JP 2012039274A JP 2010176007 A JP2010176007 A JP 2010176007A JP 2010176007 A JP2010176007 A JP 2010176007A JP 2012039274 A JP2012039274 A JP 2012039274A
Authority
JP
Japan
Prior art keywords
signal
value
saturation
color
color difference
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2010176007A
Other languages
Japanese (ja)
Inventor
Fumio Koyama
文夫 小山
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2010176007A priority Critical patent/JP2012039274A/en
Publication of JP2012039274A publication Critical patent/JP2012039274A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a color space conversion device etc. capable of accurately adjusting the hue etc. of an image.SOLUTION: A second color space conversion circuit 140 for converting an HLS signal to a YUV signal comprises a saturation adjustment circuit 80, a first color difference output device 75, and a second color difference output device 76. A saturation adjustment circuit 80 adjusts a saturation signal included in the HLS signal according to a hue signal included in the HLS signal. The first color difference output device 75 and the second color difference output device 76 generate a color difference signal included in the YUV signal on the basis of the hue signal and the saturation signal adjusted by the saturation adjustment circuit 80.

Description

本発明は、色空間変換装置、画像処理装置、画像表示装置及び色空間変換方法等に関する。   The present invention relates to a color space conversion device, an image processing device, an image display device, a color space conversion method, and the like.

動画を含む各種画像を表示する画像表示装置では、画像信号を入力し、これをリアルタイムで処理し、表示している。表示や画像処理の簡略化を図るために、プロジェクターや、CRT(Cathode Ray Tube)や、LCD(Liquid Crystal Display)等の画像表示装置では、RGB形式の画像信号(RGB信号)やYUV形式の画像信号(YUV信号)が一般的に用いられる。RGB形式の画像信号は、R(赤)信号、G(緑)信号、B(青)信号により構成される。YUV形式の画像信号は、Y(輝度)信号、U(第1色差)信号、V(第2色差)信号により構成される。   In an image display device that displays various images including a moving image, an image signal is input, processed and displayed in real time. In order to simplify display and image processing, image display devices such as projectors, CRTs (Cathode Ray Tubes), LCDs (Liquid Crystal Displays), etc. use RGB format image signals (RGB signals) and YUV format images. A signal (YUV signal) is generally used. The RGB format image signal includes an R (red) signal, a G (green) signal, and a B (blue) signal. The YUV format image signal is composed of a Y (luminance) signal, a U (first color difference) signal, and a V (second color difference) signal.

こうした画像表示装置に表示される画像の色相、明るさ、彩度等は、画像信号のソース(例えば、DVDプレーヤー等)で調整することができ、最近では、プロジェクター等の画像表示装置も、調整の仕組みを備えている。ところが、画像の色味や明るさ、鮮やかさ等を、ユーザーが調整しようとすると、これらの画像表示装置が標準で扱っているRGB信号やYUV信号等を直接調整することになる。このため、これらの信号では、1つの信号を強めたり弱めたりすると、その変化は他の色にまで影響が及び、所望の画像を得るための調整が困難であった。   The hue, brightness, saturation, and the like of an image displayed on such an image display device can be adjusted by an image signal source (for example, a DVD player). Recently, an image display device such as a projector has also been adjusted. It has a mechanism. However, when the user tries to adjust the color, brightness, vividness, etc. of the image, the RGB signal, YUV signal, etc., which are handled by these image display devices as standard, are directly adjusted. Therefore, in these signals, if one signal is strengthened or weakened, the change affects other colors, and adjustment for obtaining a desired image is difficult.

そこで、従来から、例えばカラースキャナー等では、標準画像のRGB信号を一旦HLS信号に変換して、標準色からのズレを計算し、これを用いて、読み込んだ画像の色調整を行っていた(例えば下記特許文献1参照)。HLS信号とは、物体色の標準として、H(色相)・L(明度)・S(彩度)で表されたマンセル表色系に即した信号である。HLS信号によりカラーコレクションを行う技術は、特許文献2にも開示されている。   Therefore, conventionally, in a color scanner or the like, for example, the RGB signal of the standard image is once converted into an HLS signal, and the deviation from the standard color is calculated, and this is used to adjust the color of the read image ( For example, see Patent Document 1 below). The HLS signal is a signal conforming to the Munsell color system represented by H (hue), L (lightness), and S (saturation) as the standard of the object color. A technique for performing color correction using an HLS signal is also disclosed in Patent Document 2.

特開平9−18724号公報JP-A-9-18724 特開平11−69186号公報JP-A-11-69186

しかしながら、これらの技術は、いずれも画像処理系が本来持つズレやバランスのズレを補正するものである。このため、プロジェクターのような動画を扱うこともある画像表示装置において、リアルタイムで処理されている画像信号を、所望の状態に調整して表示することはできなかった。ユーザーからすれば、表示されている画像の色味、明るさ、鮮やかさ等を、好みに応じて調整したいのであって、RGB信号やYUV信号を調整したい訳ではない。従って、従来の画像表示装置では、こうしたユーザーの要望に応えることができないという問題があり、ユーザーによる画像の色味、明るさ、鮮やかさ等の調整は、できるだけ精度よく行うことができることが望ましい。   However, both of these techniques correct the deviation and balance deviation inherent in the image processing system. For this reason, in an image display apparatus such as a projector that sometimes handles moving images, it has been impossible to adjust and display an image signal processed in real time in a desired state. From the user's point of view, the user wants to adjust the color, brightness, vividness, etc. of the displayed image according to his / her preference, not the RGB signal or YUV signal. Therefore, the conventional image display apparatus has a problem that it cannot meet such user's demand, and it is desirable that the user can adjust the color, brightness, vividness, etc. of the image as accurately as possible.

本発明は、以上のような技術的課題に鑑みてなされたものである。本発明の幾つかの態様によれば、例えばユーザーの好みに応じて画像の色味等を高精度に調整できる色空間変換装置、画像処理装置、画像表示装置及び色空間変換方法等を提供することができる。   The present invention has been made in view of the above technical problems. According to some aspects of the present invention, for example, a color space conversion device, an image processing device, an image display device, a color space conversion method, and the like that can adjust the color and the like of an image with high accuracy according to user preferences are provided. be able to.

(1)本発明の一態様は、HLS信号をYUV信号に変換する色空間変換装置が、前記HLS信号に含まれる彩度信号を、前記HLS信号に含まれる色相信号に応じて調整する彩度信号調整部と、前記色相信号と、前記彩度信号調整部によって調整された前記彩度信号とに基づいて、前記YUV信号に含まれる色差信号を生成する色差信号生成部とを含む。   (1) According to one aspect of the present invention, a color space conversion device that converts an HLS signal into a YUV signal adjusts a saturation signal included in the HLS signal according to a hue signal included in the HLS signal. A color adjustment signal generation unit configured to generate a color difference signal included in the YUV signal based on the signal adjustment unit, the hue signal, and the saturation signal adjusted by the saturation signal adjustment unit;

本態様においては、HLS信号は、色相、明度及び彩度の3つの要素で表される信号であり、YUV信号は、輝度、2つの色差の3つの要素で表される信号である。本態様によれば、HLS信号をYUV信号に変換する際に、変換前後で色相を変化させることなくYUV信号を構成する色差信号を生成することができる。そのため、調整後のHLS信号をYUV信号に正確にマッピングできない場合であっても、変換前後で色が変化して見えることなく、例えばユーザーの好みに応じて画像の色味等を高精度に調整できるようになる。   In this aspect, the HLS signal is a signal represented by three elements of hue, lightness, and saturation, and the YUV signal is a signal represented by three elements of luminance and two color differences. According to this aspect, when the HLS signal is converted into the YUV signal, the color difference signal constituting the YUV signal can be generated without changing the hue before and after the conversion. Therefore, even if the adjusted HLS signal cannot be accurately mapped to the YUV signal, the color of the image is adjusted with high accuracy according to the user's preference, for example, without the color appearing before and after the conversion. become able to.

(2)本発明の他の態様に係る色空間変換装置では、前記彩度信号調整部は、前記色相信号に対応した彩度最大値を生成する彩度最大値生成部と、前記彩度信号に対応した彩度値又は前記彩度最大値のうち小さい方を出力する比較部とを含み、前記色差信号生成部は、前記色相信号と前記比較部からの出力信号とに基づいて、前記色差信号を生成する。
本態様によれば、上記の効果に加えて、簡素な構成により、変換前後で色相を変化させることなくYUV信号を構成する色差信号を生成できるようになる。
(2) In the color space conversion device according to another aspect of the present invention, the saturation signal adjustment unit includes a saturation maximum value generation unit that generates a saturation maximum value corresponding to the hue signal, and the saturation signal. A comparison unit that outputs a smaller one of the saturation value corresponding to the saturation value or the maximum saturation value, and the color difference signal generation unit is configured to output the color difference based on the hue signal and the output signal from the comparison unit. Generate a signal.
According to this aspect, in addition to the above-described effects, it is possible to generate a color difference signal constituting a YUV signal without changing the hue before and after conversion with a simple configuration.

(3)本発明の他の態様に係る色空間変換装置では、前記彩度最大値生成部は、前記YUV信号に対応した色域の境界値における彩度成分を前記彩度最大値として出力する。
本態様によれば、HLS信号をYUV信号に変換する際にYUV信号に対応した色域全体を用いることができるので、上記の効果に加えて、より一層正確な色空間変換を行うことが可能となる。
(3) In the color space conversion device according to another aspect of the present invention, the saturation maximum value generation unit outputs a saturation component in a boundary value of a color gamut corresponding to the YUV signal as the saturation maximum value. .
According to this aspect, when the HLS signal is converted into the YUV signal, the entire color gamut corresponding to the YUV signal can be used, so that more accurate color space conversion can be performed in addition to the above effect. It becomes.

(4)本発明の一態様は、HLS信号をYUV信号に変換する色空間変換装置が、前記HLS信号に含まれる色相信号及び彩度信号に基づいて、前記YUV信号に含まれる第1色差信号及び第2色差信号を生成する色差信号生成部と、前記第1色差信号の信号値と前記第2色差信号の信号値との比を維持しつつ、前記第1色差信号の信号値又は前記第2色差信号の信号値を前記YUV信号に対応した色域の境界値にクリッピングすることにより得られた前記第1色差信号及び前記第2色差信号を出力する色差信号調整部とを含む。   (4) According to one aspect of the present invention, a color space conversion device that converts an HLS signal into a YUV signal has a first color difference signal included in the YUV signal based on a hue signal and a saturation signal included in the HLS signal. And a color difference signal generation unit that generates a second color difference signal, and a signal value of the first color difference signal or the first color difference signal while maintaining a ratio between the signal value of the first color difference signal and the signal value of the second color difference signal. A color difference signal adjusting unit that outputs the first color difference signal and the second color difference signal obtained by clipping the signal value of the two color difference signals to the boundary value of the color gamut corresponding to the YUV signal.

本態様においては、HLS信号をYUV信号に変換する際に、変換前後で色相を変化させることなくYUV信号を構成する色差信号を生成することができる。そのため、調整後のHLS信号をYUV信号に正確にマッピングできない場合であっても、変換前後で色が変化して見えることなく、画像の色味等を高精度に調整できるようになる。   In this aspect, when the HLS signal is converted into the YUV signal, the color difference signal constituting the YUV signal can be generated without changing the hue before and after the conversion. Therefore, even when the adjusted HLS signal cannot be accurately mapped to the YUV signal, the color of the image can be adjusted with high accuracy without the color appearing before and after the conversion.

(5)本発明の一態様は、画像処理装置が、YUV信号をHLS信号に変換する第1色空間変換部と、前記第1色空間変換部によって変換された前記HLS信号を構成する色相信号、明度信号及び彩度信号の少なくとも1つを調整し、調整後のHLS信号を出力する色調整部と、前記色調整部によって調整されたHLS信号をYUV信号に変換する上記のいずれか記載の色空間変換装置とを含む。   (5) According to one aspect of the present invention, the image processing apparatus includes a first color space conversion unit that converts a YUV signal into an HLS signal, and a hue signal that constitutes the HLS signal converted by the first color space conversion unit. The color adjustment unit that adjusts at least one of a lightness signal and a saturation signal and outputs an adjusted HLS signal, and converts the HLS signal adjusted by the color adjustment unit into a YUV signal A color space conversion device.

本態様においては、YUV信号を一旦HLS信号に変換し、HLS信号の状態で色調整を行った後、色調整後のHLS信号をYUV信号に戻している。これにより、画像の色調整を、色相、明度、彩度の各要素において直感的に調整でき、且つ画像の色味等を高精度に調整できる画像処理装置を提供できるようになる。   In this aspect, the YUV signal is once converted into an HLS signal, color adjustment is performed in the state of the HLS signal, and then the HLS signal after color adjustment is returned to the YUV signal. As a result, it is possible to provide an image processing apparatus that can intuitively adjust image color adjustment for each element of hue, brightness, and saturation, and that can adjust the color of an image with high accuracy.

(6)本発明の一態様は、画像信号に基づいて画像を表示する画像表示装置が、前記画像信号に対応したHLS信号をYUV信号に変換する上記のいずれか記載の色空間変換装置を含み、前記色空間変換装置によって変換された前記YUV信号を用いて画像を表示する。   (6) One aspect of the present invention includes the color space conversion device according to any one of the above, wherein an image display device that displays an image based on an image signal converts an HLS signal corresponding to the image signal into a YUV signal. The image is displayed using the YUV signal converted by the color space conversion device.

本態様によれば、画像の色味等を高精度に調整できる画像表示装置を提供できるようになる。   According to this aspect, it is possible to provide an image display device that can adjust the color and the like of an image with high accuracy.

(7)本発明の一態様は、HLS信号をYUV信号に変換する色空間変換方法が、前記HLS信号に含まれる色相信号に応じて、前記HLS信号に含まれる彩度信号を調整する彩度信号調整ステップと、前記色相信号と、前記彩度信号調整ステップにおいて調整された彩度信号とに基づいて、前記YUV信号に含まれる色差信号を生成する色差信号生成ステップとを含む。   (7) According to one aspect of the present invention, a color space conversion method for converting an HLS signal into a YUV signal adjusts a saturation signal included in the HLS signal according to a hue signal included in the HLS signal. And a color difference signal generation step of generating a color difference signal included in the YUV signal based on the signal adjustment step, the hue signal, and the saturation signal adjusted in the saturation signal adjustment step.

(8)本発明の一態様は、HLS信号をYUV信号に変換する色空間変換方法が、前記HLS信号に含まれる色相信号及び彩度信号に基づいて、前記YUV信号に含まれる第1色差信号及び第2色差信号を生成する色差信号生成ステップと、前記第1色差信号の信号値と前記第2色差信号の信号値との比を維持しつつ、前記第1色差信号の信号値又は前記第2色差信号の信号値を前記YUV信号に対応した色域の境界値にクリッピングすることにより得られた前記第1色差信号及び前記第2色差信号を出力する色差信号調整ステップとを含む。   (8) In one aspect of the present invention, a color space conversion method for converting an HLS signal to a YUV signal is based on a hue signal and a saturation signal included in the HLS signal, and the first color difference signal included in the YUV signal. And a color difference signal generating step for generating a second color difference signal, and a signal value of the first color difference signal or the first color difference signal while maintaining a ratio between the signal value of the first color difference signal and the signal value of the second color difference signal. And a color difference signal adjustment step of outputting the first color difference signal and the second color difference signal obtained by clipping the signal value of the two color difference signals to the boundary value of the color gamut corresponding to the YUV signal.

上記のいずれかの態様においては、HLS信号をYUV信号に変換する際に、変換前後で色相を変化させることなくYUV信号を構成する色差信号を生成することができるようになる。従って、調整後のHLS信号をYUV信号に正確にマッピングできない場合であっても、変換前後で色が変化して見えることなく、例えばユーザーの好みに応じて画像の色味等を高精度に調整できるようになる。   In any one of the above aspects, when the HLS signal is converted into the YUV signal, the color difference signal constituting the YUV signal can be generated without changing the hue before and after the conversion. Therefore, even when the adjusted HLS signal cannot be accurately mapped to the YUV signal, the color of the image is adjusted with high accuracy according to the user's preference, for example, without the color appearing before and after the conversion. become able to.

第1実施形態における液晶プロジェクターの全体の構成を示すブロック図である。It is a block diagram which shows the whole structure of the liquid crystal projector in 1st Embodiment. 第1実施形態における色空間変換回路の構成を示すブロック図である。It is a block diagram which shows the structure of the color space conversion circuit in 1st Embodiment. YUV信号とHLS信号との関係を示した説明図である。It is explanatory drawing which showed the relationship between a YUV signal and a HLS signal. YUV空間とHLS空間とを、輝度、明度の要素に対応するY軸及びL軸上から見た説明図である。It is explanatory drawing which looked at YUV space and HLS space from the Y-axis and L-axis corresponding to the element of a brightness | luminance and a brightness. 浮動小数点変換器における浮動小数点演算の一例を示した説明図である。It is explanatory drawing which showed an example of the floating point calculation in a floating point converter. セレクター加算器が色相値を出力する算出方法を説明した説明図である。It is explanatory drawing explaining the calculation method in which a selector adder outputs a hue value. セレクター加算器が行う色相値の算出方法を、概念的に説明する説明図である。It is explanatory drawing which illustrates notionally the calculation method of the hue value which a selector adder performs. 色調整回路の構成を示すブロック図である。It is a block diagram which shows the structure of a color adjustment circuit. 色相調整用画像を示した説明図である。It is explanatory drawing which showed the image for hue adjustment. 彩度調整用画像を示した説明図である。It is explanatory drawing which showed the image for saturation adjustment. 彩度調整回路が行う処理の概念を示した説明図である。It is explanatory drawing which showed the concept of the process which a saturation adjustment circuit performs. YUV色空間及びHLS色空間をY軸及びL軸上から見た図である。It is the figure which looked at the YUV color space and the HLS color space from the Y-axis and the L-axis. 第1実施形態における第2色空間変換回路の構成を示すブロック図である。It is a block diagram which shows the structure of the 2nd color space conversion circuit in 1st Embodiment. Ph出力器が色相角と、象限値とを算出する算出方法を示した説明図である。It is explanatory drawing which showed the calculation method in which Ph output device calculates a hue angle and a quadrant value. 色相値に応じて彩度最大値生成回路が出力する彩度最大値の説明図である。It is explanatory drawing of the saturation maximum value which a saturation maximum value generation circuit outputs according to a hue value. 第1実施形態における第2色空間変換回路の動作説明図である。It is operation | movement explanatory drawing of the 2nd color space conversion circuit in 1st Embodiment. 第1色差出力器が行う演算の演算式を示した説明図である。It is explanatory drawing which showed the computing equation of the calculation which a 1st color difference output device performs. 第2色差出力器が行う演算の演算式を示した説明図である。It is explanatory drawing which showed the computing equation of the calculation which a 2nd color difference output device performs. 第2実施形態における第2色空間変換回路の構成例のブロック図である。It is a block diagram of the structural example of the 2nd color space conversion circuit in 2nd Embodiment. 第3実施形態における第2色空間変換回路の構成例のブロック図である。It is a block diagram of the structural example of the 2nd color space conversion circuit in 3rd Embodiment. 第3実施形態における第2色空間変換回路の動作説明図である。It is operation | movement explanatory drawing of the 2nd color space conversion circuit in 3rd Embodiment. 色差調整回路の動作説明図である。It is operation | movement explanatory drawing of a color difference adjustment circuit.

以下、本発明の実施の形態について図面を用いて詳細に説明する。なお、以下に説明する実施の形態は、特許請求の範囲に記載された本発明の内容を不当に限定するものではない。また以下で説明される構成のすべてが本発明の課題を解決するために必須の構成要件であるとは限らない。
なお、以下では、本発明に係る色空間変換装置等が画像表示装置である液晶プロジェクターに適用される例を説明するが、本発明に係る画像表示装置は液晶プロジェクターに限定されるものではない。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. The embodiments described below do not unduly limit the contents of the present invention described in the claims. In addition, all of the configurations described below are not necessarily indispensable configuration requirements for solving the problems of the present invention.
In the following, an example is described in which the color space conversion device according to the present invention is applied to a liquid crystal projector that is an image display device, but the image display device according to the present invention is not limited to a liquid crystal projector.

〔第1実施形態〕
図1に、本発明に係る第1実施形態における液晶プロジェクターの構成例のブロック図を示す。この液晶プロジェクター100は、光変調手段として液晶ライトバルブを採用したプロジェクターである。液晶プロジェクター100は、第1色空間変換回路110、色調整回路120、CPU130、第2色空間変換回路140を備えている。更に、液晶プロジェクター100は、液晶ライトバルブ駆動回路150、液晶ライトバルブ160、光源部170、投写レンズ180、操作制御部190、操作ボタン192を備えている。そして、液晶プロジェクター100は、第1色空間変換回路110に入力される画像信号に基づいて画像(動画)をスクリーン200に表示する。色調整回路120と、CPU130と、操作制御部190とは、内部バス102によって接続されている。画像信号は、図示しないビデオカメラやスキャナーやパーソナルコンピューター等の入力装置によってリアルタイムに第1色空間変換回路110に入力される。或いは、この画像信号は、図示しないコンピューターで読取可能な記憶媒体から第1色空間変換回路110に読み出されてもよい。ここで、コンピューターで読取可能な記憶媒体には、ROM、RAM、CD−ROM、DVD、FD、MD、メモリーカード等のいずれでもよい。
[First Embodiment]
FIG. 1 is a block diagram showing a configuration example of a liquid crystal projector according to the first embodiment of the present invention. The liquid crystal projector 100 is a projector that employs a liquid crystal light valve as light modulation means. The liquid crystal projector 100 includes a first color space conversion circuit 110, a color adjustment circuit 120, a CPU 130, and a second color space conversion circuit 140. Furthermore, the liquid crystal projector 100 includes a liquid crystal light valve driving circuit 150, a liquid crystal light valve 160, a light source unit 170, a projection lens 180, an operation control unit 190, and operation buttons 192. The liquid crystal projector 100 displays an image (moving image) on the screen 200 based on the image signal input to the first color space conversion circuit 110. The color adjustment circuit 120, the CPU 130, and the operation control unit 190 are connected by the internal bus 102. The image signal is input to the first color space conversion circuit 110 in real time by an input device such as a video camera, a scanner, or a personal computer (not shown). Alternatively, the image signal may be read to the first color space conversion circuit 110 from a computer-readable storage medium (not shown). Here, the computer-readable storage medium may be any of ROM, RAM, CD-ROM, DVD, FD, MD, memory card, and the like.

第1色空間変換回路110は、YUV信号として入力されたデジタルの画像信号に対してYUV−HLS変換を行い、HLS信号として画像信号を出力する電気回路である。色調整回路120は、第1色空間変換回路110から入力されたHLS信号に対応する色相、明度、彩度の各信号(以下、これら各信号を、色相信号、明度信号、彩度信号とも呼ぶ)に対して色調整処理を行う回路である。具体的には、色調整回路120は、HLS信号に対応する色相を変更することが可能である。また、色調整回路120は、HLS信号に対応する明度及び彩度については、その各信号の出力ゲインの値を補正(以下、ゲイン補正とも呼ぶ)することが可能である。色調整回路120は、CPU130からのコマンドによって、色相の変更やゲイン補正を行う。   The first color space conversion circuit 110 is an electric circuit that performs YUV-HLS conversion on a digital image signal input as a YUV signal and outputs the image signal as an HLS signal. The color adjustment circuit 120 includes hue, brightness, and saturation signals corresponding to the HLS signal input from the first color space conversion circuit 110 (hereinafter, these signals are also referred to as a hue signal, a brightness signal, and a saturation signal). ) For performing color adjustment processing. Specifically, the color adjustment circuit 120 can change the hue corresponding to the HLS signal. The color adjustment circuit 120 can correct the output gain value of each signal (hereinafter also referred to as gain correction) for the brightness and saturation corresponding to the HLS signal. The color adjustment circuit 120 performs hue change and gain correction in accordance with commands from the CPU 130.

CPU130は、図示しないROMに予め記憶した特定のプログラムを読み込んで、該プログラムに対応する処理を実行することで、各種の機能を実現することができる。例えば、CPU130は、このROMに記憶した特定のプログラムを読み込んで、該プログラムに対応する処理を実行することで、色調整指示部132の機能を実現することができる。この色調整指示部132は、上記の色調整回路120が行う処理内容を制御する。   The CPU 130 can implement various functions by reading a specific program stored in advance in a ROM (not shown) and executing processing corresponding to the program. For example, the CPU 130 can realize the function of the color adjustment instruction unit 132 by reading a specific program stored in the ROM and executing processing corresponding to the program. The color adjustment instruction unit 132 controls the processing content performed by the color adjustment circuit 120 described above.

第2色空間変換回路140は、色調整回路120から入力されるHLS信号をYUV信号に変換(以下、HLS−YUV変換とも呼ぶ)して出力する回路である。第2色空間変換回路140に入力されるHLS信号は、上記のユーザーによる色調整によって、色相の変更及びゲイン補正がされた信号である。   The second color space conversion circuit 140 is a circuit that converts the HLS signal input from the color adjustment circuit 120 into a YUV signal (hereinafter also referred to as HLS-YUV conversion) and outputs the YUV signal. The HLS signal input to the second color space conversion circuit 140 is a signal whose hue has been changed and gain correction has been performed by the above-described color adjustment by the user.

液晶ライトバルブ駆動回路150は、液晶ライトバルブ160を駆動する回路である。液晶ライトバルブ160は、液晶ライトバルブ駆動回路150で生成された信号を映像化する光変調素子である。具体的には、液晶ライトバルブ160は、光源部170から射出される光を、液晶ライトバルブ駆動回路150で生成された信号に基づいて変調して投写に必要な光をスクリーン200側へ向けて射出する。   The liquid crystal light valve driving circuit 150 is a circuit that drives the liquid crystal light valve 160. The liquid crystal light valve 160 is a light modulation element that visualizes the signal generated by the liquid crystal light valve driving circuit 150. Specifically, the liquid crystal light valve 160 modulates the light emitted from the light source unit 170 based on the signal generated by the liquid crystal light valve driving circuit 150 and directs the light necessary for projection toward the screen 200 side. Eject.

光源部170は、画像を投写するための光源であり、主に、光を発するランプ171と、このランプ171から発せられる光を平行光とするレンズ172とを有している。平行光は、液晶ライトバルブ160で変調された後、投写レンズ180に入射する。投写レンズ180は、光源部170から射出され、液晶ライトバルブ160で変調される光をスクリーンに拡大して表示させる。また、スクリーン200は、液晶プロジェクター100から投写される投写像を表示する投写面を有している。   The light source unit 170 is a light source for projecting an image, and mainly includes a lamp 171 that emits light and a lens 172 that collimates light emitted from the lamp 171. The parallel light is modulated by the liquid crystal light valve 160 and then enters the projection lens 180. The projection lens 180 enlarges and displays the light emitted from the light source unit 170 and modulated by the liquid crystal light valve 160 on the screen. The screen 200 has a projection surface that displays a projection image projected from the liquid crystal projector 100.

操作制御部190は、液晶プロジェクター100が投写した画像に対する色調整の指示を、操作ボタン192を通じてユーザーから受信し、内部バス102を介してCPU130に伝える。操作ボタン192は十字キーボタンと、決定ボタンとを備え、後述する色調整を行う際に、ユーザーはこれらのボタンを用いて画像の色調整を行う。なお、第1実施形態では、液晶プロジェクター100はユーザーからの指示を、操作制御部190及び操作ボタン192を介して受信しているが、これに限定されるものではない。例えばユーザーからの指示を、液晶プロジェクター100に備えた操作パネルや、液晶プロジェクター100に接続されたコンピューターが備えるマウスやキーボード等の外部操作機器を介して受信するものとしてもよい。   The operation control unit 190 receives a color adjustment instruction for the image projected by the liquid crystal projector 100 from the user via the operation button 192 and transmits the instruction to the CPU 130 via the internal bus 102. The operation button 192 includes a cross key button and a determination button. When performing color adjustment described later, the user performs image color adjustment using these buttons. In the first embodiment, the liquid crystal projector 100 receives an instruction from the user via the operation control unit 190 and the operation button 192. However, the present invention is not limited to this. For example, an instruction from the user may be received via an operation panel provided in the liquid crystal projector 100 or an external operation device such as a mouse or a keyboard provided in a computer connected to the liquid crystal projector 100.

図2に、図1の第1の色空間変換回路110の構成例のブロック図を示す。第1色空間変換回路110は、明度算出部10、彩度算出部20、色相算出部30を備えている。第1色空間変換回路110は、入力された画像信号に含まれる輝度信号(Y)、第1色差信号(U)、第2色差信号(V)を、明度信号(L)、彩度信号(S)、色相信号(H)に変換して出力する。なお、図示しない同期クロックが、各演算器に入力されており、回路間の動作を同期させているが、同期クロック信号については図示を省略している。従って、第1色空間変換回路110に入力されたYUV信号は、この同期クロックを用いたその一組の信号に対応したHLS信号として変換され、同期して出力される。   FIG. 2 shows a block diagram of a configuration example of the first color space conversion circuit 110 of FIG. The first color space conversion circuit 110 includes a lightness calculation unit 10, a saturation calculation unit 20, and a hue calculation unit 30. The first color space conversion circuit 110 converts a luminance signal (Y), a first color difference signal (U), and a second color difference signal (V) included in an input image signal into a lightness signal (L) and a saturation signal ( S), converted into a hue signal (H) and output. Note that a synchronous clock (not shown) is input to each arithmetic unit and synchronizes the operation between the circuits, but the synchronous clock signal is not shown. Therefore, the YUV signal input to the first color space conversion circuit 110 is converted as an HLS signal corresponding to the set of signals using this synchronous clock, and is output in synchronization.

ここで、YUV信号とHLS信号との関係について説明する。
図3に、YUV信号とHLS信号との関係の説明図を示す。図3に示すように、YUV信号は、画像信号を、輝度と、第1色差と、第2色差との3つの要素から成る3次元直交座標空間(以下、YUV色空間とも呼ぶ)で表した信号である。一方、HLS信号は、画像信号を、色相と、明度と、彩度との3つの要素から成る3次元極座標空間(以下、HLS色空間とも呼ぶ)で表した信号である。図3に示すように、YUV色空間上の輝度と、HLS色空間上の明度とは、両座標空間において軸方向が同じであり1対1の対応をしている。従って、輝度信号と明度信号とを同一の信号として扱うことができる。結果として、YUV信号として入力された画像信号を、HLS信号に変換することは、実質、画像信号に含まれる第1色差信号と第2色差信号とを、色相信号と彩度信号とに変換することに相当する。
Here, the relationship between the YUV signal and the HLS signal will be described.
FIG. 3 is an explanatory diagram of the relationship between the YUV signal and the HLS signal. As shown in FIG. 3, the YUV signal represents the image signal in a three-dimensional orthogonal coordinate space (hereinafter also referred to as a YUV color space) composed of three elements of luminance, first color difference, and second color difference. Signal. On the other hand, the HLS signal is a signal representing an image signal in a three-dimensional polar coordinate space (hereinafter also referred to as an HLS color space) composed of three elements of hue, brightness, and saturation. As shown in FIG. 3, the brightness in the YUV color space and the brightness in the HLS color space have the same axial direction in both coordinate spaces and have a one-to-one correspondence. Therefore, the luminance signal and the brightness signal can be handled as the same signal. As a result, converting an image signal input as a YUV signal into an HLS signal substantially converts the first color difference signal and the second color difference signal included in the image signal into a hue signal and a saturation signal. It corresponds to that.

図4に、図3に示した両座標空間を輝度、明度の要素に対応するY軸及びL軸上から見た図を示す。
彩度信号は、YUV信号をYUV空間上のUV平面に射影した信号に対応している。また、色相信号は、このYUV空間における彩度信号と第1色彩信号とのなす角に対応した信号である。図3及び図4に示した、YUV空間とHLS空間との関係に基づいて、図2に示した第1色空間変換回路110はYUV−HLS変換を行っている。
FIG. 4 shows a view of both coordinate spaces shown in FIG. 3 as seen from the Y-axis and L-axis corresponding to the luminance and brightness elements.
The saturation signal corresponds to a signal obtained by projecting the YUV signal onto the UV plane in the YUV space. The hue signal is a signal corresponding to an angle formed by the saturation signal in the YUV space and the first color signal. Based on the relationship between the YUV space and the HLS space shown in FIGS. 3 and 4, the first color space conversion circuit 110 shown in FIG. 2 performs YUV-HLS conversion.

図2において、明度算出部10は、色空間変換回路110に入力された輝度信号(Y)に対応する値(以下、輝度値とも呼ぶ)を、そのまま明度信号(L)に対応した値(以下、明度値とも呼ぶ)に適用して、明度信号(L)として出力する。これは図3で示したように、YUV色空間上の輝度と、HLS色空間上の明度とは、両座標空間において1対1の対応をしていることに拠っている。換言すれば、入力された輝度信号(Y)を、そのまま明度信号(L)として出力する。なお第1実施形態において、輝度信号(Y)及び明度信号(L)は、ともに10ビットの階調データである。   In FIG. 2, the lightness calculation unit 10 uses a value (hereinafter also referred to as a luminance value) corresponding to the luminance signal (Y) input to the color space conversion circuit 110 as a value (hereinafter referred to as the luminance signal (L)). , Also referred to as a lightness value) and output as a lightness signal (L). This is because, as shown in FIG. 3, the luminance in the YUV color space and the brightness in the HLS color space have a one-to-one correspondence in both coordinate spaces. In other words, the input luminance signal (Y) is output as it is as the brightness signal (L). In the first embodiment, the luminance signal (Y) and the lightness signal (L) are both 10-bit gradation data.

彩度算出部20は、第1色空間変換回路110に入力された第1色差信号(U)、及び第2色差信号(V)に基づいて、彩度信号(S)を出力する。彩度算出部20は、第1乗算器21、第2乗算器22、加算器23、浮動小数点変換器24、ルックアップテーブル25、彩度指数算出器26、ビットシフト演算器27を備える。なお、以下、ルックアップテーブルをLUTとも呼び、例えば、ルックアップテーブル25はLUT25とも表記する。   The saturation calculation unit 20 outputs a saturation signal (S) based on the first color difference signal (U) and the second color difference signal (V) input to the first color space conversion circuit 110. The saturation calculator 20 includes a first multiplier 21, a second multiplier 22, an adder 23, a floating point converter 24, a lookup table 25, a saturation index calculator 26, and a bit shift calculator 27. Hereinafter, the lookup table is also referred to as an LUT. For example, the lookup table 25 is also referred to as an LUT 25.

以下、彩度算出部20が第1色差信号(U)と第2色差信号(V)とを、彩度信号(S)に変換するまでを信号の流れる順に沿って説明する。第1色差信号(U)及び第2色差信号(V)は、それぞれ10ビットの階調データである。このため、両信号はそれぞれ、(0〜1023)の信号値をとることになるが、信号値が(512)のとき、無色であることを示すものとして扱うので、以下、こうした場合には信号値を(−512〜511)と表記する。   Hereinafter, the process until the saturation calculation unit 20 converts the first color difference signal (U) and the second color difference signal (V) into the saturation signal (S) will be described along the order in which the signals flow. The first color difference signal (U) and the second color difference signal (V) are each 10-bit gradation data. For this reason, both signals take a signal value of (0 to 1023), but when the signal value is (512), they are treated as indicating that they are colorless. The value is expressed as (−512 to 511).

第1乗算器21は、入力された第1色差信号を(−512〜511)の階調データに変換後、信号値を、0(零)を中心とした対称性をもった階調値で表すため、(−512〜511)の階調データを(−511〜511)の階調データに丸め処理を行う。丸め処理後、第1乗算器21は第1色差信号の値(以下、第1色差値Uvとも呼ぶ)をべき乗した第1乗算値Uvを算出する。第2乗算器22は、第1乗算器21と同様の処理を、入力された第2色差信号に対して行い、第2色差信号の値(以下、第2色差値Vvとも呼ぶ)をべき乗した第2乗算値Vvを算出する。加算器23は、第1乗算器21及び第2乗算器22から出力された第1乗算値Uv及び第2乗算値Vvを互い加算した加算値、つまりUv+Vvの値を算出する。 The first multiplier 21 converts the input first color difference signal into (−512 to 511) gradation data, and then converts the signal value to a gradation value having symmetry centered on 0 (zero). In order to express, gradation processing of (−512 to 511) is rounded to gradation data of (−511 to 511). After the rounding process, the first multiplier 21 calculates a first multiplication value Uv 2 that is a power of the value of the first color difference signal (hereinafter also referred to as the first color difference value Uv). The second multiplier 22 performs the same process as the first multiplier 21 on the input second color difference signal, and powers the value of the second color difference signal (hereinafter also referred to as the second color difference value Vv). calculating a second multiplication value Vv 2. The adder 23 calculates an addition value obtained by adding the first multiplication value Uv 2 and the second multiplication value Vv 2 output from the first multiplier 21 and the second multiplier 22 to each other, that is, a value of Uv 2 + Vv 2. .

加算器23が出力した加算値に対して、平方根の値を算出し、HLS信号のスケールに正規化した値が彩度値Svとなる。正規化は、加算値の平方根の値を開平結果値Rとすると、開平結果値Rに√2を乗ずることで行う。このとき、彩度値Svと開平結果値Rとは式(1)で表される。   A value obtained by calculating a square root value with respect to the added value output from the adder 23 and normalized to the scale of the HLS signal is the saturation value Sv. The normalization is performed by multiplying the square root result value R by √2, where the square root value of the added value is the square root result value R. At this time, the saturation value Sv and the square root extraction result value R are expressed by Expression (1).

浮動小数点変換器24は、加算値Uv+Vv、つまりRの値に対応した信号が入力されると、Rの値に対して浮動小数点演算を行い、式(2)を満たす第1実数値Ks及び第1指数値Lsの値を算出する。またこのとき、第1指数値Lsの値を偶数の値として算出する。浮動小数点変換器24における浮動小数点演算の一例を図5に示した。 When the floating point converter 24 receives the addition value Uv 2 + Vv 2 , that is, a signal corresponding to the value of R 2 , the floating point converter 24 performs a floating point operation on the value of R 2 , and satisfies the expression (2) The real value Ks and the first index value Ls are calculated. At this time, the value of the first index value Ls is calculated as an even value. An example of the floating point calculation in the floating point converter 24 is shown in FIG.

Sv=√2*R ・・・(1)
=Ks/2Ls ・・・(2)
Sv = √2 * R (1)
R 2 = Ks / 2 Ls (2)

次に、彩度値Svを、式(3)を満たす第2実数値Srと第2指数値Siとで表すと、式(1)〜式(3)により、第2実数値Sr及び第2指数値Siは、式(4)及び式(5)として表すことができる。なお、式(4)及び式(5)のnは、正の整数である。このnは、後述する各演算器による演算の性質上、出力される信号の値が小さくなり、その後の演算の精度が低下するのを回避する。演算の精度を確保するため、適宜、nに正の整数を代入し、演算によって出力される信号の値に対してビットシフトを行う。   Next, when the saturation value Sv is expressed by the second real value Sr and the second exponent value Si satisfying the equation (3), the second real value Sr and the second value are expressed by the equations (1) to (3). The index value Si can be expressed as Expression (4) and Expression (5). Note that n in the equations (4) and (5) is a positive integer. This n avoids a decrease in the accuracy of the subsequent calculation due to the small value of the output signal due to the nature of the calculation performed by each arithmetic unit described later. In order to ensure the accuracy of the operation, a positive integer is appropriately substituted for n, and a bit shift is performed on the value of the signal output by the operation.

Sv=Sr/2Si ・・・(3)
Sr=2*√2*√Ks ・・・(4)
Si=Ls/2+n ・・・(5)
Sv = Sr / 2 Si (3)
Sr = 2 n * √2 * √Ks (4)
Si = Ls / 2 + n (5)

図2に示すLUT25は、浮動小数点変換器24から出力された第1実数値Ksの値に対して、式(4)を満たす第2実数値Srを読み出すLUTである。第1実施形態においては、(0〜2047)の値をとる第1実数値Ksに対応した第2実数値Srの値が、LUT25に記憶されている。   The LUT 25 illustrated in FIG. 2 is an LUT that reads the second real value Sr that satisfies Expression (4) with respect to the value of the first real value Ks output from the floating point converter 24. In the first embodiment, the value of the second real value Sr corresponding to the first real value Ks taking a value of (0 to 2047) is stored in the LUT 25.

彩度指数算出器26は、浮動小数点変換器24から出力された第1指数値Lsの値に対して、式(5)に示す演算処理を行い、第2指数値Siを算出する算出器である。上記したように、浮動小数点変換器24は、第1指数値Lsを偶数の値で出力している。よって、彩度指数算出器26が式(5)に示す演算処理を行う際に、小数の概念を含んだ演算を行う必要がない。また、彩度指数算出器26は第2指数値Siを整数値で出力する。   The saturation index calculator 26 is a calculator that calculates the second index value Si by performing the arithmetic processing shown in Expression (5) on the value of the first index value Ls output from the floating point converter 24. is there. As described above, the floating point converter 24 outputs the first exponent value Ls as an even value. Therefore, when the saturation index calculator 26 performs the arithmetic processing shown in Expression (5), it is not necessary to perform arithmetic including the concept of decimal numbers. The saturation index calculator 26 outputs the second index value Si as an integer value.

ビットシフト演算器27は、LUT25から出力された第2実数値Sr及び彩度指数算出器26から出力された第2指数値Siから、式(3)を満たす彩度値Svを算出する演算器である。第2指数値Siは、彩度指数算出器26から整数値として出力されている。よってビットシフト演算器27は、式(3)の演算処理を行う際に、第2実数値Srの値に対してSi桁分のビットシフトを行うことで、彩度値Svを出力する。ここで、浮動小数点変換器24と、LUT25と、彩度指数算出器26と、ビットシフト演算器27とは、開平器に相当する。   The bit shift calculator 27 calculates a saturation value Sv satisfying the expression (3) from the second real value Sr output from the LUT 25 and the second exponent value Si output from the saturation index calculator 26. It is. The second exponent value Si is output from the saturation index calculator 26 as an integer value. Therefore, the bit shift calculator 27 outputs a saturation value Sv by performing a bit shift of Si digits on the value of the second real value Sr when performing the calculation process of the expression (3). Here, the floating point converter 24, the LUT 25, the saturation index calculator 26, and the bit shift calculator 27 correspond to a square root extractor.

次に、色相算出部30について説明する。図2に示すように、色相算出部30は第1色差信号(U)、第2色差信号(V)、彩度算出部20で算出した第1実数値Ks、及び第2指数値Siに基づいて、色相信号(H)を出力する。色相算出部30は、LUT31、Ur乗算器33、Vr乗算器34、セレクター35、LUT36、セレクター減算器37、セレクター加算器38を備えている。   Next, the hue calculation unit 30 will be described. As shown in FIG. 2, the hue calculation unit 30 is based on the first color difference signal (U), the second color difference signal (V), the first real value Ks calculated by the saturation calculation unit 20, and the second index value Si. The hue signal (H) is output. The hue calculation unit 30 includes an LUT 31, an Ur multiplier 33, a Vr multiplier 34, a selector 35, an LUT 36, a selector subtractor 37, and a selector adder 38.

ここで、第1色差値Uv、第2色差値Vv、開平結果値Rを用いて、式(6)及び式(7)に示す余弦値Ur及び正弦値Vrを定義する。また彩度算出部20で算出した第2実数値Srを用いて、第2実数値Srの逆数を、式(8)に示すinvSrで定義する。また、式(4)及び式(8)より、invSrを式(8a)で表すことができる。その結果、式(1)〜式(8)、式(8a)より、余弦値Ur及び正弦値Vrは、式(9)及び式(10)で表すことができる。なお、式(8)、式(8a)、式(9)、式(10)のw、mは、正の整数である。上記したnと同様に、後述する各演算器による演算の性質上、演算の精度を確保するため、適宜、w、mに正の整数を代入し、演算によって出力される信号の値に対してビットシフトを行う。   Here, using the first color difference value Uv, the second color difference value Vv, and the square rooted result value R, the cosine value Ur and the sine value Vr shown in the equations (6) and (7) are defined. Also, using the second real value Sr calculated by the saturation calculation unit 20, the reciprocal of the second real value Sr is defined by invSr shown in Expression (8). Moreover, invSr can be represented by Formula (8a) from Formula (4) and Formula (8). As a result, the cosine value Ur and the sine value Vr can be expressed by the equations (9) and (10) from the equations (1) to (8) and (8a). Note that w and m in Expression (8), Expression (8a), Expression (9), and Expression (10) are positive integers. As in the case of n described above, a positive integer is appropriately substituted for w and m in order to ensure the accuracy of the calculation due to the nature of the calculation by each calculation unit described later, and the value of the signal output by the calculation is Bit shift is performed.

Ur=Uv/R ・・・(6)
Vr=Vv/R ・・・(7)
invSr=w/Sr ・・・(8)
invSr=w/2*√2*√Ks ・・・(8a)
Ur=|Uv|*√2*invSr*2(Si−m) ・・・(9)
Vr=|Vv|*√2*invSr*2(Si−m) ・・・(10)
Ur = Uv / R (6)
Vr = Vv / R (7)
invSr = w / Sr (8)
invSr = w / 2 n * √2 * √Ks (8a)
Ur = | Uv | * √2 * invSr * 2 (Si-m) (9)
Vr = | Vv | * √2 * invSr * 2 (Si-m) (10)

図2に示すLUT31は、浮動小数点変換器24から出力された第1実数値Ksに対応して、式(8a)を満たすinvSrを読み出すLUTである。また、上記したLUT25と同様に、第1実施形態においては、(0〜2047)の値をとる第1実数値Ksに対応したinvSrの値がLUT31に記憶されている。   The LUT 31 illustrated in FIG. 2 is an LUT that reads invSr that satisfies the equation (8a) corresponding to the first real value Ks output from the floating point converter 24. Similarly to the LUT 25 described above, in the first embodiment, the value of invSr corresponding to the first real value Ks having a value of (0 to 2047) is stored in the LUT 31.

Ur乗算器33は、第1色差値Uv、彩度指数算出器26から出力された第2指数値Si、及びLUT31から出力されたinvSrに対して式(9)に示す演算処理を行い、余弦値Urを算出する。また、Vr乗算器34は、第2色差値Vv、彩度指数算出器26から出力された第2指数値Si、及びLUT31から出力されたinvSrに対して式(10)に示す演算処理を行い、正弦値Vrを算出する。   The Ur multiplier 33 performs the arithmetic processing shown in Expression (9) on the first color difference value Uv, the second exponent value Si output from the saturation index calculator 26, and invSr output from the LUT 31, and the cosine The value Ur is calculated. In addition, the Vr multiplier 34 performs the arithmetic processing shown in Expression (10) on the second color difference value Vv, the second exponent value Si output from the saturation index calculator 26, and invSr output from the LUT 31. The sine value Vr is calculated.

セレクター35は、Ur乗算器33及びVr乗算器34から出力された余弦値Ur及び正弦値Vrの大小を比較し、小さい方の値(以下、セレクター出力値Dとも表記する)を選択し出力する。また、セレクター35は、セレクター出力値Dとともに、余弦値Urと正弦値Vrとの比較の結果、どちらが小さかったのかを示すセレクター情報を出力する。   The selector 35 compares the magnitudes of the cosine value Ur and the sine value Vr output from the Ur multiplier 33 and the Vr multiplier 34, and selects and outputs the smaller value (hereinafter also referred to as the selector output value D). . The selector 35 outputs selector information indicating which is smaller as a result of the comparison between the cosine value Ur and the sine value Vr together with the selector output value D.

LUT36は、セレクター35が出力したセレクター出力値Dに対応して、式(11)を満たすLUT算出値Eを読み出すLUTである。式(11)のwは、上記のように正の整数である。   The LUT 36 is an LUT that reads the LUT calculation value E that satisfies the expression (11) corresponding to the selector output value D output from the selector 35. W in formula (11) is a positive integer as described above.

E=arcsin(D/w) ・・・(11)
なお、Eの単位は「度」である。
E = arcsin (D / w) (11)
The unit of E is “degree”.

セレクター減算器37はセレクター35から出力されたセレクター情報に基づいて、(12)又は式(13)で示す2つの減算処理を選択して、LUT出力値Eに対して、色相角Phを算出する。   Based on the selector information output from the selector 35, the selector subtracter 37 selects two subtraction processes shown in (12) or (13) and calculates the hue angle Ph for the LUT output value E. .

Ur≧Vrのとき Ph=E ・・・(12)
Ur<Vrのとき Ph=90−E ・・・(13)
When Ur ≧ Vr, Ph = E (12)
When Ur <Vr, Ph = 90−E (13)

図6に、セレクター加算器38が第1色差値Uvと第2色差値Vvと色相角Phに基づいて色相信号Hの値である色相値Hvを出力する算出方法の説明図を示す。セレクター加算器38は、入力される第1色差値Uvの値と、第2色差値Vvの値との組み合わせによって色相値Hvの出力方法を選択する。
図7に、セレクター加算器38が行う色相値Hvの算出方法を概念的に説明する説明図を示す。図7は、横軸を第1色差値Uv、縦軸を第2色差値VvとしたU−Vグラフである。以下、図6及び図7を用いて、具体例を示してセレクター加算器38による色相値Hvの算出方法を説明する。
FIG. 6 is an explanatory diagram of a calculation method in which the selector adder 38 outputs the hue value Hv that is the value of the hue signal H based on the first color difference value Uv, the second color difference value Vv, and the hue angle Ph. The selector adder 38 selects the output method of the hue value Hv according to the combination of the input first color difference value Uv and the second color difference value Vv.
FIG. 7 is an explanatory diagram conceptually illustrating a method for calculating the hue value Hv performed by the selector adder 38. FIG. 7 is a U-V graph in which the horizontal axis represents the first color difference value Uv and the vertical axis represents the second color difference value Vv. Hereinafter, the calculation method of the hue value Hv by the selector adder 38 will be described with reference to FIGS.

例えば、セレクター加算器38に入力された第1色差値Uvが正の値、第2色差値Vvが正の値である場合、図7に示すように色相角PhはU−Vグラフ上の第1象限上の角度に相当する。この場合、色相値Hvと色相角Phが同じであることが図7から理解できる。図6において、第1色差値Uvの値が正の値、第2色差値Vvの値が正の値に対応したHの算出方法はHv=Phとなっており、図7を用いて説明した色相値Hvの算出方法に対応していることが分かる。   For example, when the first color difference value Uv input to the selector adder 38 is a positive value and the second color difference value Vv is a positive value, as shown in FIG. 7, the hue angle Ph is the second value on the U-V graph. It corresponds to an angle in one quadrant. In this case, it can be understood from FIG. 7 that the hue value Hv and the hue angle Ph are the same. In FIG. 6, the calculation method of H corresponding to the positive value of the first color difference value Uv and the positive value of the second color difference value Vv is Hv = Ph, which has been described with reference to FIG. It turns out that it corresponds to the calculation method of hue value Hv.

次に、2つ目の具体例として、セレクター加算器38に入力された第1色差値Uvが負の値、第2色差値Vvが負の値である場合、図7に示すように色相角Ph、はU−Vグラフ上の第3象限上の角度に相当する。この場合、図7に示すように、色相値Hvは色相角Phに180度を加算することで求められることが理解できる。図6において、第1色差値Uvの値が負の値、第2色差値Vvの値が負の値に対応したHvの算出方法はHv=Ph+180となっており、図7を用いて説明した色相値Hvの算出方法に対応していることが分かる。上記2つの具体例で示したように、セレクター加算器38では図6に対応した算出方法で、第1色差値Uvと第2色差値Vvと色相角Phに基づいて色相値Hvを出力する。以上、第1色空間変換回路110は上記の方法により、画像信号として入力されたYUV信号に対してYUV−HLS変換を施して、HLS信号を出力する。   Next, as a second specific example, when the first color difference value Uv input to the selector adder 38 is a negative value and the second color difference value Vv is a negative value, as shown in FIG. Ph corresponds to an angle in the third quadrant on the U-V graph. In this case, as shown in FIG. 7, it can be understood that the hue value Hv is obtained by adding 180 degrees to the hue angle Ph. In FIG. 6, the calculation method of Hv corresponding to the negative value of the first color difference value Uv and the negative value of the second color difference value Vv is Hv = Ph + 180, which has been described with reference to FIG. It turns out that it corresponds to the calculation method of hue value Hv. As shown in the above two specific examples, the selector adder 38 outputs the hue value Hv based on the first color difference value Uv, the second color difference value Vv, and the hue angle Ph by the calculation method corresponding to FIG. As described above, the first color space conversion circuit 110 performs YUV-HLS conversion on the YUV signal input as the image signal by the above method, and outputs an HLS signal.

次に、ユーザーが行う色調整や、色調整の際の液晶プロジェクター100で行う処理の詳細について説明する。第1色空間変換回路110が行ったYUV−HLS変換によって出力されたHLS信号は、色調整回路120に入力される。
図8に、色調整回路120の構成例のブロック図を示す。図8は、色調整回路120に加えて、色調整回路120に各種信号を出力する第1色空間変換回路110及びCPU130をあわせて図示している。この色調整回路120は図示するように、色相調整回路40、彩度調整回路50、明度調整回路60を備えている。
Next, details of color adjustment performed by the user and processing performed by the liquid crystal projector 100 at the time of color adjustment will be described. The HLS signal output by the YUV-HLS conversion performed by the first color space conversion circuit 110 is input to the color adjustment circuit 120.
FIG. 8 shows a block diagram of a configuration example of the color adjustment circuit 120. FIG. 8 illustrates the first color space conversion circuit 110 and the CPU 130 that output various signals to the color adjustment circuit 120 in addition to the color adjustment circuit 120. The color adjustment circuit 120 includes a hue adjustment circuit 40, a saturation adjustment circuit 50, and a brightness adjustment circuit 60 as shown in the figure.

色相調整回路40はLUT41を備えている。LUT41は入力される色相信号(H)の値に対して、出力する色相信号(H)の値を記憶したLUTであり、RAMで構成されている。なお、以下、LUTに入力される信号の値を入力信号値、LUTから出力される信号の値を出力信号値とも呼ぶ。   The hue adjustment circuit 40 includes an LUT 41. The LUT 41 is an LUT that stores the value of the hue signal (H) to be output with respect to the value of the input hue signal (H), and is composed of a RAM. Hereinafter, the value of a signal input to the LUT is also referred to as an input signal value, and the value of a signal output from the LUT is also referred to as an output signal value.

彩度調整回路50は、LUT51、LUT52、彩度ゲイン補間回路53、彩度乗算回路54を備えている。彩度調整回路50には、色相信号(H)と彩度信号(S)とが入力される。LUT51は、彩度調整回路50に入力される色相信号と彩度信号のうち、彩度信号の信号値である彩度値がSv=0(彩度値の最小値)のときの、出力する彩度値に対応した出力ゲイン値を、各色相の値ごとに記憶したLUTである。LUT52は、彩度調整回路50に入力される彩度信号の信号値がSv=1023(彩度値の最大値)のときの、出力する彩度値に対応した出力ゲイン値を、各色相の値ごとに記憶したLUTである。彩度ゲイン補間回路53は、彩度信号の入力信号値が0〜1023の間のときの、各色相における彩度信号の出力ゲイン値である彩度ゲイン値を演算し出力する。彩度乗算回路54は、彩度信号(S)と、彩度ゲイン値とを乗算して、色調整後の彩度信号(S)として出力する。   The saturation adjustment circuit 50 includes an LUT 51, an LUT 52, a saturation gain interpolation circuit 53, and a saturation multiplication circuit 54. A hue signal (H) and a saturation signal (S) are input to the saturation adjustment circuit 50. The LUT 51 outputs when the saturation value which is the signal value of the saturation signal is Sv = 0 (minimum value of saturation value) among the hue signal and the saturation signal input to the saturation adjustment circuit 50. This is an LUT in which an output gain value corresponding to a saturation value is stored for each hue value. The LUT 52 outputs the output gain value corresponding to the output saturation value for each hue when the signal value of the saturation signal input to the saturation adjustment circuit 50 is Sv = 1023 (the maximum value of the saturation value). LUT stored for each value. The saturation gain interpolation circuit 53 calculates and outputs a saturation gain value that is an output gain value of the saturation signal in each hue when the input signal value of the saturation signal is between 0 and 1023. The saturation multiplication circuit 54 multiplies the saturation signal (S) and the saturation gain value and outputs the result as a saturation signal (S) after color adjustment.

明度調整回路60は上記の彩度調整回路50とほぼ構成は同じである。彩度調整回路50と比較して、構成及び処理で異なる点は、処理対象となる信号が明度信号(L)となった点である。明度調整回路60は、LUT61、LUT62、明度ゲイン補間回路63、明度乗算回路64を備えている。明度調整回路60には、色相信号(H)と明度信号(L)とが入力される。LUT61は、明度調整回路60に入力される色相信号と明度信号のうち、明度信号の信号値である明度値がLv=0(明度信号値の最小値)のときの、出力する明度値に対応した出力ゲイン値を、各色相の値ごとに記憶したLUTである。LUT62は、明度調整回路60に入力される明度信号の信号値がLv=1023(明度値の最大値)のときの、出力する明度値に対応した出力ゲイン値を、各色相の値ごとに記憶したLUTである。明度ゲイン補間回路63は、明度信号の入力信号値が0〜1023の間のときの、各色相における明度信号の出力ゲイン値である明度ゲイン値を演算し出力する。明度乗算回路64は、明度信号(L)と、明度ゲイン値とを乗算して、色調整後の明度信号(L)として出力する。なお、色調整回路120内の各LUTは、いずれも、液晶プロジェクター100の電源投入時に初期値が書き込まれる。このLUTの値は、以下に説明するユーザーの操作による色調整の指示により書き換えられる。   The brightness adjustment circuit 60 has substantially the same configuration as the saturation adjustment circuit 50 described above. Compared to the saturation adjustment circuit 50, the difference in configuration and processing is that the signal to be processed is a lightness signal (L). The brightness adjustment circuit 60 includes an LUT 61, an LUT 62, a brightness gain interpolation circuit 63, and a brightness multiplication circuit 64. A hue signal (H) and a brightness signal (L) are input to the brightness adjustment circuit 60. The LUT 61 corresponds to the lightness value to be output when the lightness value which is the signal value of the lightness signal is Lv = 0 (minimum value of the lightness signal value) among the hue signal and the lightness signal input to the lightness adjustment circuit 60. This is an LUT in which the output gain value is stored for each hue value. The LUT 62 stores, for each hue value, an output gain value corresponding to the output brightness value when the signal value of the brightness signal input to the brightness adjustment circuit 60 is Lv = 1023 (maximum value of brightness value). LUT. The lightness gain interpolation circuit 63 calculates and outputs a lightness gain value that is an output gain value of the lightness signal in each hue when the input signal value of the lightness signal is between 0 and 1023. The lightness multiplication circuit 64 multiplies the lightness signal (L) and the lightness gain value, and outputs the result as a lightness signal (L) after color adjustment. Note that initial values are written in the LUTs in the color adjustment circuit 120 when the power of the liquid crystal projector 100 is turned on. The value of the LUT is rewritten by a color adjustment instruction by a user operation described below.

次にユーザーの指示によって液晶プロジェクター100が行う色調整の処理について説明する。色調整を行うユーザーは、液晶プロジェクター100がスクリーン200に投写する色調整用画像を見ながら色調整を行う。色調整用画像は、色相調整用画像、彩度調整用画像及び明度調整用画像を含んで構成される。
図9に、色調整用画像のうち、色相調整用画像の説明図を示す。色相調整用画像は、LUT41が記憶している、入力信号値と出力信号値との対応関係に基づいて、CPU130が作成する。具体的には、図9の色相調整用画像の横軸が入力信号値に相当し、縦軸が出力信号値に相当する。CPU130は作成した色相調整用画像をスクリーン200に投写する。これらの機能はCPU130が色調整指示部132の機能として行う。そして、スクリーン200に投写された色相調整用画像を見たユーザーは、操作ボタン192を用いて、色相に関する色調整を行う。
Next, color adjustment processing performed by the liquid crystal projector 100 according to a user instruction will be described. A user who performs color adjustment performs color adjustment while viewing the color adjustment image projected on the screen 200 by the liquid crystal projector 100. The color adjustment image includes a hue adjustment image, a saturation adjustment image, and a brightness adjustment image.
FIG. 9 is an explanatory diagram of a hue adjustment image among the color adjustment images. The hue adjustment image is created by the CPU 130 based on the correspondence relationship between the input signal value and the output signal value stored in the LUT 41. Specifically, the horizontal axis of the hue adjustment image in FIG. 9 corresponds to the input signal value, and the vertical axis corresponds to the output signal value. The CPU 130 projects the created hue adjustment image on the screen 200. These functions are performed by the CPU 130 as functions of the color adjustment instruction unit 132. Then, the user who sees the hue adjustment image projected on the screen 200 uses the operation buttons 192 to perform color adjustment related to the hue.

操作ボタン192を介してユーザーが行う色調整の指示に従って、CPU130は、LUT41に記憶された色相信号(H)の出力信号値の書き換えを行う。出力信号値の書き換えを行ったLUT41は、色相調整回路40に入力された色相信号(H)の値を、書き換え後の出力信号値に従って変更し出力する。   The CPU 130 rewrites the output signal value of the hue signal (H) stored in the LUT 41 in accordance with a color adjustment instruction performed by the user via the operation button 192. The LUT 41 that has rewritten the output signal value changes the value of the hue signal (H) input to the hue adjustment circuit 40 in accordance with the rewritten output signal value and outputs it.

図9に示す色相調整用画像は、横軸が入力信号値に相当し、縦軸が出力信号値に相当する。縦軸、横軸ともに、青(B)、マゼンダ(M)、赤(R)、黄(Y)、緑(G)、シアン(C)に対応する色相値の箇所に基準軸を設けている。そして、色相調整用画像内の太線が、色相調整回路40が行っている色相信号の変更処理の内容を表現している。ユーザーは、操作ボタン192が備える十字キーボタン及び決定ボタンを用いて、青(B)、マゼンダ(M)、赤(R)、黄(Y)、緑(G)、シアン(C)のいずれかの色相軸を選択・決定する。そして、ユーザーは、選択した色相の太線を上下させることによって太線の形状を変形させ、液晶プロジェクター100が投写する画像の、色相に関する色調整を行う。一例として、図9の色相調整用画像が示す太線によると、色相調整回路40は、投写する画像の「赤(R)を黄(Y)に寄せ、シアン(C)を緑(G)に寄せる」処理を色相信号(H)に対して行う。   In the hue adjustment image shown in FIG. 9, the horizontal axis corresponds to the input signal value, and the vertical axis corresponds to the output signal value. Both the vertical axis and the horizontal axis are provided with reference axes at locations of hue values corresponding to blue (B), magenta (M), red (R), yellow (Y), green (G), and cyan (C). . The thick line in the hue adjustment image represents the content of the hue signal changing process performed by the hue adjustment circuit 40. The user can select one of blue (B), magenta (M), red (R), yellow (Y), green (G), and cyan (C) by using the cross key button and the determination button provided in the operation button 192. Select and determine the hue axis. Then, the user changes the shape of the thick line by moving the thick line of the selected hue up and down, and performs color adjustment related to the hue of the image projected by the liquid crystal projector 100. As an example, according to the thick line shown in the hue adjustment image in FIG. 9, the hue adjustment circuit 40 brings “red (R) to yellow (Y) and cyan (C) to green (G) of the projected image. The process is performed on the hue signal (H).

次に、ユーザーの指示によって液晶プロジェクター100が行う彩度の補正処理について説明する。
図10に、色調整用画像のうち、彩度調整用画像の説明図を示す。実際には、彩度調整用画像には、彩度値がSv=0のときの画像(以下、最小彩度画像とも呼ぶ)と、彩度値がSv=1023のときの画像(以下、最大彩度画像とも呼ぶ)との2つの画像がある。最小彩度画像と最大彩度画像は、処理内容を示す太線の形状は各々異なるが、それ以外の部分は同じであるので、図10にはSv=0のときの彩度調整用画像、つまり最小彩度画像を示した。
Next, a saturation correction process performed by the liquid crystal projector 100 according to a user instruction will be described.
FIG. 10 is an explanatory diagram of a saturation adjustment image among the color adjustment images. Actually, the saturation adjustment image includes an image when the saturation value is Sv = 0 (hereinafter also referred to as a minimum saturation image) and an image when the saturation value is Sv = 1023 (hereinafter, maximum). There are two images, also called chroma images. The minimum saturation image and the maximum saturation image are different in the shape of the thick line indicating the processing contents, but the other portions are the same. Therefore, FIG. 10 shows a saturation adjustment image when Sv = 0, that is, The minimum saturation image is shown.

図10に示す最小彩度画像の横軸は、色調整回路120に入力される色相信号の値を示している。縦軸は、入力された彩度信号の入力信号値に対応して出力する彩度信号の出力ゲインの値を示している。横軸には、青(B)、マゼンダ(M)、赤(R)、黄(Y)、緑(G)、シアン(C)に対応する色相値の箇所に基準軸を設けている。そして、最小彩度画像内の太線が、入力色相信号の値ごとの、Sv=0の入力彩度信号に対して、出力する彩度信号の値に対応した出力ゲイン値を表現している。なお上記のように、最大彩度画像は、図10に示した最小彩度画像の太線の形状以外は同様の画像であるので、説明は省略する。   The horizontal axis of the minimum saturation image shown in FIG. 10 indicates the value of the hue signal input to the color adjustment circuit 120. The vertical axis represents the value of the output gain of the saturation signal that is output corresponding to the input signal value of the input saturation signal. On the horizontal axis, reference axes are provided at locations of hue values corresponding to blue (B), magenta (M), red (R), yellow (Y), green (G), and cyan (C). The thick line in the minimum saturation image represents the output gain value corresponding to the value of the saturation signal to be output with respect to the input saturation signal of Sv = 0 for each value of the input hue signal. As described above, the maximum saturation image is the same image except for the shape of the thick line of the minimum saturation image shown in FIG.

ユーザーは、上記の色相調整の操作と同様に、操作ボタン192が備える十字キーボタン及び決定ボタンを用いて、青(B)、マゼンダ(M)、赤(R)、黄(Y)、緑(G)、シアン(C)のいずれかの色相軸を選択・決定する。そして、ユーザーは、最小彩度画像及び最大彩度画像の太線の形状を変形させて、液晶プロジェクター100が投写する画像の、彩度信号の出力ゲインを調整することによって、彩度に関する色調整を行う。   In the same manner as the hue adjustment operation described above, the user uses the cross key button and the determination button included in the operation button 192 to select blue (B), magenta (M), red (R), yellow (Y), green ( G) Selects or determines the hue axis of cyan (C). Then, the user changes the shape of the thick line of the minimum saturation image and the maximum saturation image, and adjusts the output gain of the saturation signal of the image projected by the liquid crystal projector 100, thereby adjusting the color adjustment related to saturation. Do.

上記の彩度調整回路50が行う処理内容について、図11を用いて具体例を示して説明する。
図11に、彩度調整回路50が行う処理の具体例の内容に沿った概念の説明図を示す。図11のLUT51、LUT52に示すように、事前にユーザーが最小彩度画像及び最大彩度画像の太線の形状を変形させることによって、Sv=0、Sv=1023のときの彩度信号の出力ゲイン値が設定されているものとする。ここで、色調整回路120に画像信号が入力され、その画像信号に含まれる色相信号(H)と彩度信号(S)とが彩度調整回路50に入力された場合を考える。このときの、例えば、色相値Hv、彩度値SvをそれぞれHv=p、Sv=qであるものとする。LUT51、LUT52にそれぞれ、Hv=pの色相信号が入力されると、LUT51はSv=0のときの出力ゲイン値を、LUT52はSv=1023のときの出力ゲイン値を出力する。本具体例においては、図11に示すように、LUT51におけるSv=0のときの出力ゲイン値は1.5である。またLUT52におけるSv=1023のときの出力ゲイン値は0.7である。この2つの出力ゲイン値が、彩度ゲイン補間回路53に入力される。
The processing contents performed by the saturation adjustment circuit 50 will be described with reference to FIG.
FIG. 11 is an explanatory diagram of a concept along the contents of a specific example of processing performed by the saturation adjustment circuit 50. As shown in LUT 51 and LUT 52 in FIG. 11, the output gain of the saturation signal when Sv = 0 and Sv = 1023 is obtained by the user deforming the shape of the thick line of the minimum saturation image and the maximum saturation image in advance. It is assumed that a value has been set. Here, a case where an image signal is input to the color adjustment circuit 120 and a hue signal (H) and a saturation signal (S) included in the image signal are input to the saturation adjustment circuit 50 is considered. For example, the hue value Hv and the saturation value Sv are assumed to be Hv = p and Sv = q, respectively. When a hue signal of Hv = p is input to each of the LUT 51 and the LUT 52, the LUT 51 outputs an output gain value when Sv = 0, and the LUT 52 outputs an output gain value when Sv = 1023. In this specific example, as shown in FIG. 11, the output gain value when Sv = 0 in the LUT 51 is 1.5. The output gain value in the LUT 52 when Sv = 1023 is 0.7. These two output gain values are input to the saturation gain interpolation circuit 53.

彩度ゲイン補間回路53は、図11に示すように、Hv=pのときの補間直線を生成する。補間直線は、Sv=0のときの出力ゲイン値1.5に対応する点と、Sv=1023のときの出力ゲイン値0.7に対応する点とを直線で結んだ線である。彩度ゲイン補間回路53は、Hv=pに対応した補間直線を生成すると、入力された彩度信号の入力信号値(彩度値)Sv=qに対応する彩度ゲイン値を補間直線より算出し、彩度乗算回路54に向けて出力する。本具体例においては、図11に示すように、入力信号値(彩度値)Sv=qに対応する彩度ゲイン値は1.3となる。彩度乗算回路54は、彩度調整回路50に入力された彩度信号(S)の入力信号値に彩度ゲイン値1.3を乗じた値に対応した彩度信号を、色調整後の彩度信号として出力する。   As shown in FIG. 11, the saturation gain interpolation circuit 53 generates an interpolation straight line when Hv = p. The interpolation straight line is a line obtained by connecting a point corresponding to the output gain value 1.5 when Sv = 0 and a point corresponding to the output gain value 0.7 when Sv = 01023 by a straight line. When the saturation gain interpolation circuit 53 generates an interpolation line corresponding to Hv = p, the saturation gain value corresponding to the input signal value (saturation value) Sv = q of the input saturation signal is calculated from the interpolation line. And output to the saturation multiplication circuit 54. In this specific example, as shown in FIG. 11, the saturation gain value corresponding to the input signal value (saturation value) Sv = q is 1.3. The saturation multiplication circuit 54 outputs a saturation signal corresponding to a value obtained by multiplying the input signal value of the saturation signal (S) input to the saturation adjustment circuit 50 by the saturation gain value 1.3, after color adjustment. Output as a saturation signal.

次に、ユーザーの指示によって液晶プロジェクター100が行う明度の補正処理について説明する。色調整を行うユーザーは、液晶プロジェクター100がスクリーン200に投写する色調整用画像のうち、明度調整用画像を見ながら明度に関する色調整を行う。ユーザーが画像の明度調整を行うための明度調整用画像については、上記で説明した彩度調整用画像と同様の画像であり、調整の対象となる要素が明度になったことが、上記の彩度調整用画像とは異なる。よって、明度調整用画像の説明及び図は省略する。   Next, brightness correction processing performed by the liquid crystal projector 100 in accordance with a user instruction will be described. The user who performs color adjustment performs color adjustment related to lightness while viewing the lightness adjustment image among the color adjustment images projected on the screen 200 by the liquid crystal projector 100. The brightness adjustment image for the user to adjust the brightness of the image is the same image as the saturation adjustment image described above, and the fact that the adjustment target element has become the brightness is the above-mentioned saturation adjustment image. It is different from the image for adjusting the degree. Therefore, description and illustration of the brightness adjustment image are omitted.

以上のように、液晶プロジェクター100では、操作制御部190及び操作ボタン192を介してユーザーが行う色調整の指示に従って、CPU130が色調整指示部132の処理として、色調整回路120に備える各LUTの書き換えが行われる。その結果、液晶プロジェクター100が投写する画像の色調整が行われる。なお、液晶プロジェクター100は、図示しないOSD(オンスクリーンディスプレイ)処理部を備えている。そして、CPU130はOSD処理部の機能として、色相調整用画像、彩度調整用画像、明度調整用画像をそれぞれ、投写画像に重畳してスクリーン200に投写する。また、色調整用画像上に表現された変更・補正処理の内容を示す太線は、ユーザーが色調整の操作によって上下させると、滑らかな曲線形状となるような曲線補間処理を、色調整指示部132が行っている。   As described above, in the liquid crystal projector 100, according to the color adjustment instruction performed by the user via the operation control unit 190 and the operation button 192, the CPU 130 performs processing of the color adjustment instruction unit 132 for each LUT included in the color adjustment circuit 120. Rewriting is performed. As a result, color adjustment of an image projected by the liquid crystal projector 100 is performed. The liquid crystal projector 100 includes an OSD (On Screen Display) processing unit (not shown). Then, as a function of the OSD processing unit, the CPU 130 projects the hue adjustment image, the saturation adjustment image, and the lightness adjustment image on the screen 200 by superimposing them on the projection image. In addition, the thick line indicating the content of the change / correction process expressed on the color adjustment image is subjected to a curve interpolation process that forms a smooth curve shape when the user moves up and down by a color adjustment operation. 132 is doing.

上記のように、第1色空間変換回路110によってHLS信号に変換してから、色相、彩度及び明度を調整するようにしたので、ユーザーにとって直感的に調整しやすくなる。一方、液晶ライトバルブ160は、YUV信号やRGB信号により制御されるため、第1実施形態では、第1色空間変換回路140で変換したHLS信号を第2色空間変換回路140がYUV信号に変換する。第2色空間変換回路140は、ユーザーによって色調整が行われ、色調整回路120によって変更・補正が施された後のHLS信号に対して、HLS−YUV変換をし、変換したYUV信号を液晶ライトバルブ駆動回路150に向けて出力する回路である。ところが、単純にHLS信号をYUV信号に変換する場合、次のような不都合が生じる。   As described above, since the hue, saturation, and brightness are adjusted after being converted into the HLS signal by the first color space conversion circuit 110, the user can easily adjust intuitively. On the other hand, since the liquid crystal light valve 160 is controlled by a YUV signal or an RGB signal, in the first embodiment, the second color space conversion circuit 140 converts the HLS signal converted by the first color space conversion circuit 140 into a YUV signal. To do. The second color space conversion circuit 140 performs HLS-YUV conversion on the HLS signal that has been color-adjusted by the user and has been changed and corrected by the color adjustment circuit 120, and the converted YUV signal is liquid crystal. It is a circuit that outputs to the light valve drive circuit 150. However, when simply converting an HLS signal to a YUV signal, the following inconvenience occurs.

図12に、YUV色空間及びHLS色空間をY軸及びL軸上から見た図を示す。ここで、YUV色空間は3次元直交座標空間であり、図12では色域C1内においてYUV信号が定義される。一方、HLS色空間は3次元極座標空間であり、図12では色域C2内においてHLS信号が定義される。即ち、第2色空間変換回路140が行う変換処理は、色域C2内の(S,H)を色域C1内の(U,V)に変換する処理である。しかしながら、ユーザーが上記の色調整の指示によって彩度を上げて位置Pに対応する色に調整した場合、位置Pにおける彩度信号(S)及び色相信号(H)に対応するHLS信号をYUV信号に変換すると、色域C1内の位置P1にマッピングされてしまう。この位置P1におけるHLS信号は、図12に示すように例えば彩度信号(S1)及び色相信号(H1)となり、変換前後で色相の違いが生じ、変換前後の色の変化がより目立つようになる。そこで、第2色空間変換回路140は、次のように変換前後で色相が変化しないようにHLS信号をYUV信号に変換する。   FIG. 12 shows a view of the YUV color space and the HLS color space as viewed from the Y axis and the L axis. Here, the YUV color space is a three-dimensional orthogonal coordinate space, and a YUV signal is defined in the color gamut C1 in FIG. On the other hand, the HLS color space is a three-dimensional polar coordinate space, and an HLS signal is defined in the color gamut C2 in FIG. That is, the conversion process performed by the second color space conversion circuit 140 is a process of converting (S, H) in the color gamut C2 to (U, V) in the color gamut C1. However, when the user increases the saturation by the color adjustment instruction and adjusts the color corresponding to the position P, the HLS signal corresponding to the saturation signal (S) and the hue signal (H) at the position P is converted into the YUV signal. Is converted to the position P1 in the color gamut C1. The HLS signal at the position P1 becomes, for example, a saturation signal (S1) and a hue signal (H1) as shown in FIG. 12, and a difference in hue occurs before and after the conversion, and the color change before and after the conversion becomes more conspicuous. . Therefore, the second color space conversion circuit 140 converts the HLS signal into a YUV signal so that the hue does not change before and after the conversion as follows.

図13に、第2色空間変換回路140の構成例のブロック図を示す。第2色空間変換回路140は、Ph出力器71、LUT73、LUT74、第1色差出力器75、第2色差出力器76、彩度調整回路(彩度信号調整部)80を備えている。ここで、Ph出力器71、LUT73、LUT74、第1色差出力器75、第2色差出力器76は、色差信号生成回路(色差信号生成部)として機能する。なお、第1色空間変換回路110の構成と同様に、図示しない同期クロックが、各演算器に入力されており、回路間の動作を同期させているが、同期クロック信号については図示を省略している。よって、第2色空間変換回路140に入力されたHLS信号は、この同期クロックを用いたその一組の信号に対応したYUV信号として変換され、同期して出力される。   FIG. 13 shows a block diagram of a configuration example of the second color space conversion circuit 140. The second color space conversion circuit 140 includes a Ph output device 71, LUT 73 and LUT 74, a first color difference output device 75, a second color difference output device 76, and a saturation adjustment circuit (saturation signal adjustment unit) 80. Here, the Ph output device 71, LUT 73, LUT 74, first color difference output device 75, and second color difference output device 76 function as a color difference signal generation circuit (color difference signal generation unit). Similar to the configuration of the first color space conversion circuit 110, a synchronous clock (not shown) is input to each arithmetic unit to synchronize the operation between the circuits, but the synchronous clock signal is not shown. ing. Therefore, the HLS signal input to the second color space conversion circuit 140 is converted as a YUV signal corresponding to the set of signals using this synchronous clock, and is output in synchronization.

第2色空間変換回路140に入力された明度信号(L)は、上記のように、図3に示した座標空間において、輝度信号(Y)と1対1で対応しているので、明度信号(L)をそのまま輝度信号(Y)として出力する。   As described above, the lightness signal (L) input to the second color space conversion circuit 140 has a one-to-one correspondence with the luminance signal (Y) in the coordinate space shown in FIG. (L) is output as it is as the luminance signal (Y).

Ph出力器71は入力された色相信号(H)から、色相角Phと、色相信号(H)に対応する色相値HvのU−Vグラフ(図7)上での象限値DIV_H(第1象限から第4象限に対応した値)とを算出する。
図14に、Ph出力器71に入力された色相値Hvに対応して、色相角Phと、象限値DIV_Hとを算出する算出方法を示した説明図を示す。色相値Hvの大きさによって、色相角Phの算出する方法が異なる。一例として、色相値Hv=100(度)のとき、色相値Hvは図14において、90〜180(度)の範囲に対応しているので、色相角Phの算出方法はPh=180−Hvとなり、Ph=80(度)となる。またこのとき、色相値Hv(=100(度))はU−Vグラフ(図7)では第2象限に存在し、DIV_H=1として出力される。このようにして、色相値Hvから色相角Phと象限値DIV_Hとを出力する。
The Ph output device 71 calculates a quadrant value DIV_H (first quadrant) on the U-V graph (FIG. 7) of the hue angle Ph and the hue value Hv corresponding to the hue signal (H) from the input hue signal (H). To a value corresponding to the fourth quadrant).
FIG. 14 is an explanatory diagram showing a calculation method for calculating the hue angle Ph and the quadrant value DIV_H corresponding to the hue value Hv input to the Ph output device 71. The method of calculating the hue angle Ph differs depending on the magnitude of the hue value Hv. As an example, when the hue value Hv = 100 (degrees), the hue value Hv corresponds to the range of 90 to 180 (degrees) in FIG. 14, and thus the calculation method of the hue angle Ph is Ph = 180−Hv. , Ph = 80 (degrees). At this time, the hue value Hv (= 100 (degrees)) exists in the second quadrant in the U-V graph (FIG. 7) and is output as DIV_H = 1. In this way, the hue angle Ph and the quadrant value DIV_H are output from the hue value Hv.

図13において、Ph出力器71から出力された色相角Phに対応する信号はLUT73及びLUT74に入力される。LUT73は、入力された色相角Phの信号に対応して、その余弦値であるcos(Ph)を出力するLUTである。またLUT74は、入力された色相角Phの信号に対応して、その正弦値であるsin(Ph)を出力するLUTである。Ph出力器から出力された色相角Phに対応する信号は、LUT73及びLUT74を介して、cos(Ph)及びsin(Ph)に対応する信号に変換され、第1色差出力器75及び第2色差出力器76に向けて出力される。   In FIG. 13, a signal corresponding to the hue angle Ph output from the Ph output unit 71 is input to the LUT 73 and the LUT 74. The LUT 73 is an LUT that outputs cos (Ph) that is a cosine value in response to the input signal of the hue angle Ph. The LUT 74 is a LUT that outputs sin (Ph), which is a sine value, corresponding to the input hue angle Ph signal. A signal corresponding to the hue angle Ph output from the Ph output device is converted into a signal corresponding to cos (Ph) and sin (Ph) via the LUT 73 and the LUT 74, and the first color difference output device 75 and the second color difference are output. It is output toward the output device 76.

彩度調整回路80は、比較器(比較部)81、彩度最大値生成回路(彩度最大値生成部)82を備えている。彩度最大値生成回路82は、色域C1内において色相値Hvに対応する彩度値Svの最大値である彩度最大値Smaxを出力する。色域C1が明確に定義できるため、この彩度最大値生成回路82は、色相値Hvに対応した彩度値Svのうち色域C1の境界値における彩度成分を彩度最大値Smaxとして出力すればよい。このような彩度最大値生成回路82は、LUTにより構成することができる。   The saturation adjustment circuit 80 includes a comparator (comparison unit) 81 and a saturation maximum value generation circuit (saturation maximum value generation unit) 82. The saturation maximum value generation circuit 82 outputs a saturation maximum value Smax that is the maximum value of the saturation value Sv corresponding to the hue value Hv in the color gamut C1. Since the color gamut C1 can be clearly defined, the saturation maximum value generation circuit 82 outputs the saturation component at the boundary value of the color gamut C1 among the saturation values Sv corresponding to the hue value Hv as the saturation maximum value Smax. do it. Such a saturation maximum value generation circuit 82 can be configured by an LUT.

図15に、色相値Hvに応じて彩度最大値生成回路82が出力する彩度最大値Smaxの説明図を示す。彩度最大値生成回路82がLUTにより構成される場合、色相値Hvを入力信号値、彩度最大値Smaxを出力信号値として、各色相値に対応して予め演算して求めた彩度最大値Smaxを記憶させておけばよい。そして、色相値Hvが入力信号値として与えられたとき、該入力信号値に対応して記憶された出力信号値を彩度最大値Smaxとして出力すればよい。   FIG. 15 is an explanatory diagram of the maximum saturation value Smax output from the maximum saturation value generation circuit 82 in accordance with the hue value Hv. When the saturation maximum value generation circuit 82 is configured by an LUT, the saturation maximum obtained by calculating in advance corresponding to each hue value using the hue value Hv as an input signal value and the saturation maximum value Smax as an output signal value. The value Smax may be stored. Then, when the hue value Hv is given as the input signal value, the output signal value stored corresponding to the input signal value may be output as the saturation maximum value Smax.

比較器81は、彩度値Svと、彩度最大値Smaxとを比較し、その比較結果に応じた値を出力する。具体的には、比較器81は、彩度値Sv及び彩度最大値Smaxのうち小さい方を選択出力する。即ち、色調整回路120からの彩度値Svが彩度最大値Smax以下であるとき、比較器81は、彩度値Svを選択出力する。色調整回路120からの彩度値Svが彩度最大値Smaxより大きいとき、比較器81は、彩度最大値Smax選択出力する。こうして比較器81により選択出力された値が、彩度値Svとして第1色差出力器75及び第2色差出力器76に入力される。   The comparator 81 compares the saturation value Sv with the maximum saturation value Smax and outputs a value corresponding to the comparison result. Specifically, the comparator 81 selects and outputs the smaller one of the saturation value Sv and the saturation maximum value Smax. That is, when the saturation value Sv from the color adjustment circuit 120 is equal to or less than the maximum saturation value Smax, the comparator 81 selectively outputs the saturation value Sv. When the saturation value Sv from the color adjustment circuit 120 is larger than the maximum saturation value Smax, the comparator 81 selects and outputs the maximum saturation value Smax. The value thus selected and output by the comparator 81 is input to the first color difference output unit 75 and the second color difference output unit 76 as the saturation value Sv.

図16に、第2色空間変換回路140の動作説明図を示す。図16は、YUV色空間及びHLS色空間をY軸及びL軸上から見た図であり、色域C1、C2については、図12と同様である。上記のように第2色空間変換回路140が色空間変換処理を行うため、色域C2内の位置Pの色は、色相値Hvを一定にしたまま色域C1内の位置P2にマッピングされる。この位置P2におけるHLS信号は、変換前後の彩度値は異なるものの、色相値は変換前後で変わらない。従って、変換前後で色の違いが見えにくくなり、その結果、色調整後にYUV信号に変換しても、元の色を維持することができる。   FIG. 16 is an operation explanatory diagram of the second color space conversion circuit 140. FIG. 16 is a view of the YUV color space and the HLS color space as viewed from the Y axis and the L axis, and the color gamuts C1 and C2 are the same as those in FIG. Since the second color space conversion circuit 140 performs the color space conversion process as described above, the color at the position P in the color gamut C2 is mapped to the position P2 in the color gamut C1 while keeping the hue value Hv constant. . Although the HLS signal at this position P2 has different saturation values before and after conversion, the hue value does not change before and after conversion. Therefore, it is difficult to see the difference in color before and after the conversion, and as a result, the original color can be maintained even if the color is converted to a YUV signal.

図13に示すように、第1色差出力器75は、彩度値Svと、cos(Ph)と、象限値DIV_Hとに対応した信号に基づいて、第1色差値Uvに対応した信号を出力する。
図17に、第1色差出力器75が行う演算の演算式を、象限値DIV_Hの値に対応させて示した説明図を示す。第1色差出力器75は、象限値DIV_Hの値(0〜3)に基づいて、第1色差値Uvを出力する演算式を選択する。そして、象限値DIV_Hに対応して選択した演算式を用いて、入力された彩度値Svと、cos(Ph)とに基づいて第1色差値Uvに対応する信号を出力する。
As shown in FIG. 13, the first color difference output unit 75 outputs a signal corresponding to the first color difference value Uv based on a signal corresponding to the saturation value Sv, cos (Ph), and the quadrant value DIV_H. To do.
FIG. 17 is an explanatory diagram illustrating an arithmetic expression performed by the first color difference output unit 75 in correspondence with the value of the quadrant value DIV_H. The first color difference output unit 75 selects an arithmetic expression for outputting the first color difference value Uv based on the value (0 to 3) of the quadrant value DIV_H. Then, a signal corresponding to the first color difference value Uv is output based on the input saturation value Sv and cos (Ph) using the arithmetic expression selected corresponding to the quadrant value DIV_H.

第2色差出力器76は、彩度値Svと、sin(Ph)と、象限値DIV_Hとに対応した信号に基づいて、第2色差値Vvに対応した信号を出力する。
図18に、第2色差出力器76が行う演算の演算式を、象限値DIV_Hの値に対応させて示した説明図を示す。第2色差出力器76は、象限値DIV_Hの値に基づいて、第2色差値Vvを出力する演算式を選択する。そして、象限値DIV_Hに対応して選択した演算式を用いて、彩度値Svと、sin(Ph)とに基づいて第2色差値Vvに対応する信号を出力する。こうして、第2色空間変換回路140は、入力されたHLS信号に対して、HLS−YUV変換を行い、YUV信号を出力する。
The second color difference output unit 76 outputs a signal corresponding to the second color difference value Vv based on a signal corresponding to the saturation value Sv, sin (Ph), and the quadrant value DIV_H.
FIG. 18 is an explanatory diagram showing an arithmetic expression of the calculation performed by the second color difference output unit 76 in correspondence with the value of the quadrant value DIV_H. The second color difference output unit 76 selects an arithmetic expression for outputting the second color difference value Vv based on the value of the quadrant value DIV_H. Then, a signal corresponding to the second color difference value Vv is output based on the saturation value Sv and sin (Ph) using the arithmetic expression selected corresponding to the quadrant value DIV_H. Thus, the second color space conversion circuit 140 performs HLS-YUV conversion on the input HLS signal and outputs a YUV signal.

以上説明したように、液晶プロジェクター100は、入力されたYUV信号の画像信号を、第1色空間変換回路110でYUV−HLS変換し、HLS信号を出力する。そして、色調整回路120において、ユーザーからの色調整の指示により、HLS信号である画像信号を変更・補正する。その後、液晶プロジェクター100は、第2色空間変換回路140で色相を維持しながらHLS−YUV変換し、YUV信号を出力する。このとき、色調整回路120が、画像信号をHLS信号の状態で変更・補正処理を行うので、液晶プロジェクター100は、その処理内容を、色相、明度、彩度の3つの要素、つまりマンセル表色系で表現した色調整用画像として、ユーザーに示すことができる。また、ユーザーは、その色調整用画像を見ながら、画像の色調整を、色相、明度、彩度の各要素において変更・補正することができる。更に、第1実施形態では、色調整用画像における色相を、青(B)、マゼンダ(M)、赤(R)、黄(Y)、緑(G)、シアン(C)の6つの基準軸を用いて表現している。そのため、ユーザーは色の目安となる、上記6つの色相を基準にしながら容易に画像の色調整を行うことができる。加えて、液晶プロジェクター100は、ハードウェアとして第1色空間変換回路110及び色調整指示部132を備えるので、処理が高速であり、入力される画像信号のHLS信号への変換及び変更・補正処理をリアルタイムに行うことが可能となる。更にまた、色相が変化しないように変換を行っているので、変換前後で色の違いが見えにくくなり、元の色を維持することができるようになる。その結果、画像の色味等を高精度に調整できるようになる。   As described above, the liquid crystal projector 100 performs YUV-HLS conversion on the input image signal of the YUV signal by the first color space conversion circuit 110 and outputs an HLS signal. Then, the color adjustment circuit 120 changes / corrects the image signal, which is an HLS signal, according to a color adjustment instruction from the user. Thereafter, the liquid crystal projector 100 performs HLS-YUV conversion while maintaining the hue in the second color space conversion circuit 140, and outputs a YUV signal. At this time, since the color adjustment circuit 120 changes and corrects the image signal in the state of the HLS signal, the liquid crystal projector 100 determines the processing contents as three elements of hue, brightness, and saturation, that is, Munsell color specification. It can be shown to the user as a color adjustment image expressed in a system. Further, the user can change and correct the color adjustment of the image in each element of hue, brightness, and saturation while viewing the color adjustment image. Furthermore, in the first embodiment, the hues in the color adjustment image have six reference axes of blue (B), magenta (M), red (R), yellow (Y), green (G), and cyan (C). It expresses using. Therefore, the user can easily adjust the color of the image with reference to the above six hues, which are the color standards. In addition, since the liquid crystal projector 100 includes the first color space conversion circuit 110 and the color adjustment instruction unit 132 as hardware, the processing is performed at high speed, and the input image signal is converted into an HLS signal, and is changed and corrected. Can be performed in real time. Furthermore, since the conversion is performed so that the hue does not change, it becomes difficult to see the difference in color before and after the conversion, and the original color can be maintained. As a result, the color and the like of the image can be adjusted with high accuracy.

〔第2実施形態〕
第1実施形態では、第2色空間変換回路140において、彩度調整回路90が色調整回路120からの色相値Hvに基づいて彩度最大値を生成する例について説明したが、これに限定されるものではない。
[Second Embodiment]
In the first embodiment, the example in which the saturation adjustment circuit 90 generates the maximum saturation value based on the hue value Hv from the color adjustment circuit 120 in the second color space conversion circuit 140 has been described. However, the present invention is not limited to this. It is not something.

図19に、本発明に係る第2実施形態における第2色空間変換回路の構成例のブロック図を示す。第2実施形態における第2色空間変換回路140aは、第2色空間変換回路140に代えて図1の液晶プロジェクター100に適用できる。なお、図19において、図13と同様の部分には同一符号を付し、適宜説明を省略する。
第2色空間変換回路140aが第2色空間変換回路140と異なる点は、彩度最大値生成回路92が色相角Phと象限値DIV_Hとに基づいて彩度最大値Smaxを出力し、比較器91が彩度値Svとこの彩度最大値Smaxとを比較する点である。色調整回路120からの色相値Hvは、色相角Ph及び象限値DIV_Hの組み合わせに対応している。そのため、彩度最大値生成回路92は、例えば図15のように色相角Ph及び象限値DIV_Hの組み合わせに対応した彩度最大値Smaxを出力するLUTにより構成でき、説明及び図示は省略する。
FIG. 19 is a block diagram showing a configuration example of the second color space conversion circuit according to the second embodiment of the present invention. The second color space conversion circuit 140a in the second embodiment can be applied to the liquid crystal projector 100 of FIG. 1 instead of the second color space conversion circuit 140. In FIG. 19, the same parts as those in FIG.
The second color space conversion circuit 140a differs from the second color space conversion circuit 140 in that the saturation maximum value generation circuit 92 outputs the saturation maximum value Smax based on the hue angle Ph and the quadrant value DIV_H, and the comparator. 91 is a point for comparing the saturation value Sv with the maximum saturation value Smax. The hue value Hv from the color adjustment circuit 120 corresponds to a combination of the hue angle Ph and the quadrant value DIV_H. Therefore, the saturation maximum value generation circuit 92 can be configured by an LUT that outputs the saturation maximum value Smax corresponding to the combination of the hue angle Ph and the quadrant value DIV_H as shown in FIG.

〔第3実施形態〕
第1実施形態及び第2実施形態では、第2色空間変換回路が色相に応じた彩度を用いて第1色差信号及び第2色差信号を出力するものとして説明したが、これに限定されるものではない。本発明に係る第3実施形態では、第2色空間変換回路が色相及び彩度に基づいて生成した第1色差信号及び第2色差信号の比を一定に維持しながら、第1色差信号及び第2色差信号を調整することで、変換前後の色相が変化しないようにしている。
[Third Embodiment]
In the first embodiment and the second embodiment, the second color space conversion circuit has been described as outputting the first color difference signal and the second color difference signal using the saturation corresponding to the hue. However, the present invention is not limited to this. It is not a thing. In the third embodiment according to the present invention, the first color difference signal and the second color space conversion circuit maintain a constant ratio between the first color difference signal and the second color difference signal generated based on the hue and saturation. By adjusting the two-color difference signal, the hue before and after conversion is prevented from changing.

図20に、本発明に係る第3実施形態における第2色空間変換回路の構成例のブロック図を示す。第3実施形態における第2色空間変換回路140bは、第2色空間変換回路140に代えて図1の液晶プロジェクター100に適用できる。なお、図20において、図13と同様の部分には同一符号を付し、適宜説明を省略する。
第2色空間変換回路140bが第2色空間変換回路140と異なる点は、彩度最大値生成回路82が省略され、色差調整回路(色差信号調整部)95が設けられている点である。色差調整回路95には、第1色差出力器75が出力する第1色差値Uvに対応した信号u1、第2色差出力器76が出力する第2色差値Vvに対応した信号v1が入力される。そして、色差調整回路95は、信号u1及び信号v1の比を維持しつつ、信号u1又は信号v1をYUV信号に対応した色域C1(図12参照)の境界値にクリッピングすることにより得られる第1色差信号U及び第2色差信号Vを出力する。
FIG. 20 is a block diagram showing a configuration example of the second color space conversion circuit according to the third embodiment of the present invention. The second color space conversion circuit 140b in the third embodiment can be applied to the liquid crystal projector 100 of FIG. 1 instead of the second color space conversion circuit 140. In FIG. 20, the same parts as those in FIG.
The second color space conversion circuit 140b is different from the second color space conversion circuit 140 in that the saturation maximum value generation circuit 82 is omitted and a color difference adjustment circuit (color difference signal adjustment unit) 95 is provided. The color difference adjustment circuit 95 receives a signal u1 corresponding to the first color difference value Uv output from the first color difference output unit 75 and a signal v1 corresponding to the second color difference value Vv output from the second color difference output unit 76. . The color difference adjustment circuit 95 is obtained by clipping the signal u1 or the signal v1 to the boundary value of the color gamut C1 (see FIG. 12) corresponding to the YUV signal while maintaining the ratio of the signal u1 and the signal v1. 1 color difference signal U and 2nd color difference signal V are output.

図21に、第2色空間変換回路140bの動作説明図を示す。図21は、YUV色空間及びHLS色空間をY軸及びL軸上から見た図であり、色域C1、C2については、図12と同様である。また、図21では、信号u1、v1の色域C3をあわせて図示している。
図21では、色差調整回路95の処理によって、信号u1及び信号v1を有する色域C2内の位置Pの色は、信号u1及び信号v1の比を維持しつつ色域C1の境界位置である位置P3にマッピングされる。図22の場合、信号u1が色域C1の境界値にクリッピングされる。信号u1及び信号v1の比は、色相値Hvに対応しているため、この位置P3におけるHLS信号は、変換前後の彩度値は異なるものの、色相値は変換前後で変わらない。従って、変換前後で色の違いが見えにくくなり、その結果、色調整後にYUV信号に変換しても、元の色を維持することができる。
FIG. 21 is an operation explanatory diagram of the second color space conversion circuit 140b. FIG. 21 is a view of the YUV color space and the HLS color space viewed from the Y axis and the L axis, and the color gamuts C1 and C2 are the same as those in FIG. FIG. 21 also shows the color gamut C3 of the signals u1 and v1.
In FIG. 21, by the processing of the color difference adjustment circuit 95, the color at the position P in the color gamut C2 having the signal u1 and the signal v1 is the position that is the boundary position of the color gamut C1 while maintaining the ratio between the signal u1 and the signal v1. Mapped to P3. In the case of FIG. 22, the signal u1 is clipped to the boundary value of the color gamut C1. Since the ratio of the signal u1 and the signal v1 corresponds to the hue value Hv, the hue value of the HLS signal at this position P3 does not change before and after the conversion, although the saturation value before and after the conversion is different. Therefore, it is difficult to see the difference in color before and after the conversion, and as a result, the original color can be maintained even if the color is converted to a YUV signal.

このような色差調整回路95は、次のような動作を行うことで実現できる。
図22に、色差調整回路95の動作説明図を示す。色差調整回路95は、信号u1、v1の比較結果に応じて、図22に示す演算式で得られた第1色差信号U及び第2色差信号Vを出力する。色差調整回路95がLUTにより構成される場合、信号u1及び信号v1を入力信号値、第1色差信号U及び第2色差信号Vを出力信号値として、信号u1及び信号v1の組み合わせに対応した第1色差信号U及び第2色差信号Vを記憶させておけばよい。そして、信号u1及び信号v1が入力信号値として与えられたとき、該入力信号値に対応して記憶された出力信号値を第1色差信号U及び第2色差信号Vとして出力すればよい。
Such a color difference adjustment circuit 95 can be realized by performing the following operation.
FIG. 22 shows an operation explanatory diagram of the color difference adjustment circuit 95. The color difference adjustment circuit 95 outputs the first color difference signal U and the second color difference signal V obtained by the arithmetic expression shown in FIG. 22 according to the comparison result of the signals u1 and v1. When the color difference adjustment circuit 95 is configured by an LUT, the signal u1 and the signal v1 are input signal values, the first color difference signal U and the second color difference signal V are output signal values, and the first corresponding to the combination of the signal u1 and the signal v1. The one color difference signal U and the second color difference signal V may be stored. Then, when the signal u1 and the signal v1 are given as input signal values, the output signal values stored corresponding to the input signal values may be output as the first color difference signal U and the second color difference signal V.

なお、本発明は上記の実施形態に限られるものではなく、その要旨を逸脱しない範囲において種々の態様において実施することが可能であり、例えば次のような変形も可能である。   The present invention is not limited to the above-described embodiment, and can be implemented in various modes without departing from the gist thereof. For example, the following modifications are possible.

(1)上記の実施形態では、色調整回路120が出力したHLS信号を、第2色空間変換回路140がYUV信号に変換しているが、本発明これに限定されるものではない。例えば第2色空間変換回路140が行う信号変換は、YUV信号への信号変換に限らず、画像表示に適した信号であれば、その他の信号形式への変換でもよい。また液晶プロジェクター100が、YUV信号形式で画像を表示可能な回路及び処理部を備えるようにすれば、液晶プロジェクター100は第2色空間変換回路140を備えないとしても、第1実施形態と同様の効果を得ることができる。   (1) In the above embodiment, the second color space conversion circuit 140 converts the HLS signal output from the color adjustment circuit 120 into a YUV signal, but the present invention is not limited to this. For example, the signal conversion performed by the second color space conversion circuit 140 is not limited to the signal conversion to the YUV signal, but may be conversion to other signal formats as long as the signal is suitable for image display. Further, if the liquid crystal projector 100 includes a circuit and a processing unit that can display an image in the YUV signal format, the liquid crystal projector 100 is the same as that of the first embodiment even though the second color space conversion circuit 140 is not included. An effect can be obtained.

(2)上記の実施形態では、色調整用画像を、液晶プロジェクター100がスクリーン200に投写することによってユーザーに示したが、本発明はこれに限定されるものではない。例えば液晶プロジェクター100に接続されたコンピューターのディスプレイ画面上に、色調整用画像を表示することによって、ユーザーに示すようにしてもよい。   (2) In the above-described embodiment, the color adjustment image is shown to the user by the liquid crystal projector 100 projecting onto the screen 200, but the present invention is not limited to this. For example, a color adjustment image may be displayed on a display screen of a computer connected to the liquid crystal projector 100 to be shown to the user.

(3)上記の実施形態では、色調整回路120が行っている処理内容を、色調整用画像として、ユーザーが視認可能な表示部に示し、ユーザーがその色調整用画像を見ながら投写画像の色調整を行うとしたが、本発明はこれに限定されるものではない。例えば液晶プロジェクター100が色調整用画像を表示せず、色相、明度、彩度、つまりマンセル表色系で表現された色調整用操作パネルや、色調整用の青(B)等の色相ごとの調整用ダイヤルを備えるようにしてもよい。この場合、別に備える切換ボタンによって、色相調整、明度調整、彩度調整を切り替えて色調整を行うことができる。或いは、色調整用の操作機能部を、液晶プロジェクター100が備えるようにし、ユーザーがスクリーン200上の投写画像を見ながら、その操作機能部を操作して投写画像の色調整をするとしてもよい。   (3) In the above embodiment, the processing content performed by the color adjustment circuit 120 is shown as a color adjustment image on the display unit that can be visually recognized by the user, and the user can view the projection image while viewing the color adjustment image. Although the color adjustment is performed, the present invention is not limited to this. For example, the liquid crystal projector 100 does not display a color adjustment image, and the hue, lightness, and saturation, that is, a color adjustment operation panel expressed in the Munsell color system, and each hue such as blue (B) for color adjustment. An adjustment dial may be provided. In this case, color adjustment can be performed by switching hue adjustment, lightness adjustment, and saturation adjustment with a separate switching button. Alternatively, the liquid crystal projector 100 may be provided with an operation function unit for color adjustment, and the user may adjust the color of the projection image by operating the operation function unit while viewing the projection image on the screen 200.

(4)上記の実施形態では、色調整用画像において、色調整用画像における色相を、青(B)マゼンダ(M)、赤(R)、黄(Y)、緑(G)、シアン(C)の6つの基準軸を用いて表現したが、基準軸の数は3つ、4つ、8つ等、任意の数としてもよい。また、色調整用画像における色相の基準軸の数を、ユーザーが任意に設定できるとしてもよい。その他、色調整用画像に色相の基準軸を設けず、色相を連続階調で表現するとしてもよい。また、色調整用画像を、マンセル色立体を3次元表現した画像としてユーザーに示し、液晶プロジェクター100に接続されたコンピューターが備えるマウス等で直接、ユーザーが、マンセル色立体上に表現された変更・補正処理の内容を操作するとしてもよい。   (4) In the above embodiment, in the color adjustment image, the hue in the color adjustment image is set to blue (B) magenta (M), red (R), yellow (Y), green (G), cyan (C However, the number of reference axes may be any number such as 3, 4, 8, or the like. Further, the user may arbitrarily set the number of hue reference axes in the color adjustment image. In addition, the hue reference axis may not be provided in the color adjustment image, and the hue may be expressed by continuous tone. Also, the color adjustment image is shown to the user as a three-dimensional representation of the Munsell color solid, and the user can directly display the change / representation on the Munsell color solid with a mouse or the like provided in a computer connected to the liquid crystal projector 100. The content of the correction process may be manipulated.

(5)上記の実施形態では、画像表示装置として液晶プロジェクター100を例示したが、光変調素子を液晶ライトバルブに限定するものではなく、例えば、DMD(Digital Micromirror Device)を用いることができる。また、本発明はプラズマディスプレイや有機ELディスプレイ等、直視型の画像表示装置として実装することもできる。   (5) In the above embodiment, the liquid crystal projector 100 is exemplified as the image display device. However, the light modulation element is not limited to the liquid crystal light valve, and for example, a DMD (Digital Micromirror Device) can be used. The present invention can also be implemented as a direct-view image display device such as a plasma display or an organic EL display.

(6)上記の実施形態において、入力される彩度値Sv及び色相値Hvに基づいて、直接、第1色差信号U及び第2色差信号Vを調整するようにしてもよい。   (6) In the above embodiment, the first color difference signal U and the second color difference signal V may be directly adjusted based on the input saturation value Sv and hue value Hv.

(7)なお、本発明は、種々の態様で実現することが可能である。例えば、色空間変換装置及び方法、画像処理装置及び方法、画像表示装置及び方法、それらの装置又は方法の機能を実現するための集積回路、コンピュータープログラム、そのコンピュータープログラムを記録した記録媒体等の形態で実現することができる。   (7) The present invention can be realized in various modes. For example, a color space conversion device and method, an image processing device and method, an image display device and method, an integrated circuit for realizing the functions of these devices or methods, a computer program, a recording medium on which the computer program is recorded, and the like Can be realized.

10…明度算出部、 20…彩度算出部、 21…第1乗算器、 22…第2乗算器、
23…加算器、 24…浮動小数点変換器、 25,31,36,41,51,52,61,62,73,74…LUT、 26…彩度指数算出器、
27…ビットシフト演算器、 30…色相算出部、 35…セレクター、
37…セレクター減算器、 38…セレクター加算器、 40…色相調整回路、
50…彩度調整回路、 53…彩度ゲイン補間回路、 54…彩度乗算回路、
60…明度調整回路、 63…明度ゲイン補間回路、 64…明度乗算回路、
75…第1色差出力器、 76…第2色差出力器、
80,90…彩度調整回路(彩度信号調整部)、 81,91…比較器(比較部)、
82,92…彩度最大値生成回路(彩度最大値生成部)、
95…色差調整回路(色差信号調整部)、 100…液晶プロジェクター、
102…内部バス、 110…第1色空間変換回路、
120…色調整回路(色調整部)、 130…CPU、 132…色調整指示部、
140,140a,140b…第2色空間変換回路、
150…液晶ライトバルブ駆動回路、 160…液晶ライトバルブ、
170…光源部、 171…ランプ、 172…レンズ、 180…投写レンズ、
190…操作制御部、 192…操作ボタン、 200…スクリーン、
C1〜C3…色域、 D…セレクター出力値、 DIV_H…象限値、
R…開平結果値、 H…色相信号、 Hv…色相値、 Ks…第1実数値、
L…明度信号、 Ls…第1指数値、 Lv…明度値、 S…彩度信号、
Sv…彩度値、 U…第1色差信号、 Uv…第1色差値、 Uv…第1乗算値、
V…第2色差信号、 Vv…第2色差値、 Vv…第2乗算値
DESCRIPTION OF SYMBOLS 10 ... Lightness calculation part, 20 ... Saturation calculation part, 21 ... 1st multiplier, 22 ... 2nd multiplier,
23 ... Adder, 24 ... Floating point converter, 25, 31, 36, 41, 51, 52, 61, 62, 73, 74 ... LUT, 26 ... Saturation index calculator,
27: Bit shift computing unit, 30 ... Hue calculation unit, 35 ... Selector,
37 ... selector subtractor, 38 ... selector adder, 40 ... hue adjustment circuit,
50 ... saturation adjustment circuit, 53 ... saturation gain interpolation circuit, 54 ... saturation multiplication circuit,
60: Lightness adjustment circuit 63: Lightness gain interpolation circuit 64: Lightness multiplication circuit
75 ... 1st color difference output device, 76 ... 2nd color difference output device,
80, 90 ... saturation adjustment circuit (saturation signal adjustment unit), 81, 91 ... comparator (comparison unit),
82, 92 ... saturation maximum value generation circuit (saturation maximum value generation unit),
95: Color difference adjustment circuit (color difference signal adjustment unit), 100 ... Liquid crystal projector,
102 ... Internal bus 110 ... First color space conversion circuit,
120: Color adjustment circuit (color adjustment unit), 130: CPU, 132 ... Color adjustment instruction unit,
140, 140a, 140b ... second color space conversion circuit,
150 ... Liquid crystal light valve drive circuit, 160 ... Liquid crystal light valve,
170 ... light source unit, 171 ... lamp, 172 ... lens, 180 ... projection lens,
190 ... Operation control unit, 192 ... Operation buttons, 200 ... Screen,
C1 to C3 ... color gamut, D ... selector output value, DIV_H ... quadrant value,
R: Square root result value, H: Hue signal, Hv: Hue value, Ks: First real value,
L: Lightness signal, Ls: First exponent value, Lv: Lightness value, S: Saturation signal,
Sv ... saturation value, U ... first color difference signal, Uv ... first color difference value, Uv 2 ... first multiplication value,
V: second color difference signal, Vv: second color difference value, Vv 2 : second multiplication value

Claims (8)

HLS信号をYUV信号に変換する色空間変換装置であって、
前記HLS信号に含まれる彩度信号を、前記HLS信号に含まれる色相信号に応じて調整する彩度信号調整部と、
前記色相信号と、前記彩度信号調整部によって調整された前記彩度信号とに基づいて、前記YUV信号に含まれる色差信号を生成する色差信号生成部とを含むことを特徴とする色空間変換装置。
A color space conversion device for converting an HLS signal into a YUV signal,
A saturation signal adjustment unit that adjusts a saturation signal included in the HLS signal according to a hue signal included in the HLS signal;
A color space conversion comprising: a color difference signal generation unit that generates a color difference signal included in the YUV signal based on the hue signal and the saturation signal adjusted by the saturation signal adjustment unit apparatus.
請求項1において、
前記彩度信号調整部は、
前記色相信号に対応した彩度最大値を生成する彩度最大値生成部と、
前記彩度信号に対応した彩度値又は前記彩度最大値のうち小さい方を出力する比較部とを含み、
前記色差信号生成部は、
前記色相信号と前記比較部からの出力信号とに基づいて、前記色差信号を生成することを特徴とする色空間変換装置。
In claim 1,
The saturation signal adjustment unit
A saturation maximum value generation unit for generating a saturation maximum value corresponding to the hue signal;
A comparison unit that outputs the smaller one of the saturation value corresponding to the saturation signal or the saturation maximum value, and
The color difference signal generation unit
The color space conversion device, wherein the color difference signal is generated based on the hue signal and an output signal from the comparison unit.
請求項2において、
前記彩度最大値生成部は、
前記YUV信号に対応した色域の境界値における彩度成分を前記彩度最大値として出力することを特徴とする色空間変換装置。
In claim 2,
The saturation maximum value generation unit
A color space conversion apparatus, wherein a saturation component at a boundary value of a color gamut corresponding to the YUV signal is output as the maximum saturation value.
HLS信号をYUV信号に変換する色空間変換装置であって、
前記HLS信号に含まれる色相信号及び彩度信号に基づいて、前記YUV信号に含まれる第1色差信号及び第2色差信号を生成する色差信号生成部と、
前記第1色差信号の信号値と前記第2色差信号の信号値との比を維持しつつ、前記第1色差信号の信号値又は前記第2色差信号の信号値を前記YUV信号に対応した色域の境界値にクリッピングすることにより得られた前記第1色差信号及び前記第2色差信号を出力する色差信号調整部とを含むことを特徴とする色空間変換装置。
A color space conversion device for converting an HLS signal into a YUV signal,
A color difference signal generation unit that generates a first color difference signal and a second color difference signal included in the YUV signal based on a hue signal and a saturation signal included in the HLS signal;
While maintaining the ratio between the signal value of the first color difference signal and the signal value of the second color difference signal, the signal value of the first color difference signal or the signal value of the second color difference signal corresponds to the YUV signal. A color space conversion apparatus comprising: a color difference signal adjustment unit that outputs the first color difference signal and the second color difference signal obtained by clipping to a boundary value of a region.
YUV信号をHLS信号に変換する第1色空間変換部と、
前記第1色空間変換部によって変換された前記HLS信号を構成する色相信号、明度信号及び彩度信号の少なくとも1つを調整し、調整後のHLS信号を出力する色調整部と、
前記色調整部によって調整されたHLS信号をYUV信号に変換する請求項1乃至4のいずれか記載の色空間変換装置とを含むことを特徴とする画像処理装置。
A first color space converter for converting a YUV signal into an HLS signal;
A color adjustment unit that adjusts at least one of a hue signal, a lightness signal, and a saturation signal that constitute the HLS signal converted by the first color space conversion unit, and outputs an adjusted HLS signal;
An image processing apparatus comprising: the color space conversion apparatus according to claim 1, which converts an HLS signal adjusted by the color adjustment unit into a YUV signal.
画像信号に基づいて画像を表示する画像表示装置であって、
前記画像信号に対応したHLS信号をYUV信号に変換する請求項1乃至4のいずれか記載の色空間変換装置を含み、
前記色空間変換装置によって変換された前記YUV信号を用いて画像を表示することを特徴とする画像表示装置。
An image display device that displays an image based on an image signal,
The color space conversion device according to claim 1, which converts an HLS signal corresponding to the image signal into a YUV signal.
An image display device that displays an image using the YUV signal converted by the color space conversion device.
HLS信号をYUV信号に変換する色空間変換方法であって、
前記HLS信号に含まれる色相信号に応じて、前記HLS信号に含まれる彩度信号を調整する彩度信号調整ステップと、
前記色相信号と、前記彩度信号調整ステップにおいて調整された彩度信号とに基づいて、前記YUV信号に含まれる色差信号を生成する色差信号生成ステップとを含むことを特徴とする色空間変換方法。
A color space conversion method for converting an HLS signal into a YUV signal,
A saturation signal adjustment step of adjusting a saturation signal included in the HLS signal according to a hue signal included in the HLS signal;
A color space conversion method comprising: a color difference signal generation step for generating a color difference signal included in the YUV signal based on the hue signal and the saturation signal adjusted in the saturation signal adjustment step. .
HLS信号をYUV信号に変換する色空間変換方法であって、
前記HLS信号に含まれる色相信号及び彩度信号に基づいて、前記YUV信号に含まれる第1色差信号及び第2色差信号を生成する色差信号生成ステップと、
前記第1色差信号の信号値と前記第2色差信号の信号値との比を維持しつつ、前記第1色差信号の信号値又は前記第2色差信号の信号値を前記YUV信号に対応した色域の境界値にクリッピングすることにより得られた前記第1色差信号及び前記第2色差信号を出力する色差信号調整ステップとを含むことを特徴とする色空間変換方法。
A color space conversion method for converting an HLS signal into a YUV signal,
A color difference signal generating step for generating a first color difference signal and a second color difference signal included in the YUV signal based on a hue signal and a saturation signal included in the HLS signal;
While maintaining the ratio between the signal value of the first color difference signal and the signal value of the second color difference signal, the signal value of the first color difference signal or the signal value of the second color difference signal corresponds to the YUV signal. A color space conversion method comprising: a color difference signal adjustment step of outputting the first color difference signal and the second color difference signal obtained by clipping to a boundary value of a region.
JP2010176007A 2010-08-05 2010-08-05 Color space conversion device, image processing device, image display device, and color space conversion method Withdrawn JP2012039274A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010176007A JP2012039274A (en) 2010-08-05 2010-08-05 Color space conversion device, image processing device, image display device, and color space conversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010176007A JP2012039274A (en) 2010-08-05 2010-08-05 Color space conversion device, image processing device, image display device, and color space conversion method

Publications (1)

Publication Number Publication Date
JP2012039274A true JP2012039274A (en) 2012-02-23

Family

ID=45850798

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010176007A Withdrawn JP2012039274A (en) 2010-08-05 2010-08-05 Color space conversion device, image processing device, image display device, and color space conversion method

Country Status (1)

Country Link
JP (1) JP2012039274A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI492608B (en) * 2013-06-27 2015-07-11 Sonix Technology Co Ltd Image processing device and grouping method for color space
JP2021071905A (en) * 2019-10-30 2021-05-06 キヤノン株式会社 Image processing system, image processing method and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI492608B (en) * 2013-06-27 2015-07-11 Sonix Technology Co Ltd Image processing device and grouping method for color space
JP2021071905A (en) * 2019-10-30 2021-05-06 キヤノン株式会社 Image processing system, image processing method and program
JP7427423B2 (en) 2019-10-30 2024-02-05 キヤノン株式会社 Image processing device, image processing method and program

Similar Documents

Publication Publication Date Title
JP6288943B2 (en) Video display device
US20070273837A1 (en) Projection device, image display system, information storage medium, and image processing method
WO2003001499A1 (en) Image display system, projector, image processing method, and information recording medium
JP2008107507A (en) Video data converter and video display apparatus
KR20170074909A (en) METHOD AND DEVICE FOR DISPLAYING IMAGE BASED ON METADATA, AND RECORDING MEDIUM THEREFOR
WO2006085274A2 (en) Method of displaying an image and correspond image-display system
JP5304375B2 (en) Image display device
JP2004072696A (en) Color correction circuit and image display device provided with the same
KR100839959B1 (en) Display apparatus
JP2014072855A (en) Image display apparatus
KR20210045027A (en) Color Gamut Mapping Device Capable Of Fine Adjustment
JP6459577B2 (en) Signal adjustment device, display device, and signal adjustment method
JP2012039274A (en) Color space conversion device, image processing device, image display device, and color space conversion method
JP2010056997A (en) Video display
JP2012248911A (en) Image display device
JP4528805B2 (en) Image forming apparatus, image processing method, and image processing program
JP2008304758A (en) Image processor and image processing method
JP2006030998A (en) Hue and saturation adjusting device, image display device, and hue and saturation adjusting method
JP2010232774A (en) Color space conversion circuit, color signal conversion device, and image display device
US9554102B2 (en) Processing digital images to be projected on a screen
JP4951054B2 (en) Video display device
JP3933145B2 (en) Image display device and image display method
JP4860514B2 (en) 7-axis color correction apparatus and method
JP2014095905A (en) Display device, program, and information storage medium
JP4292135B2 (en) Image display device

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20131105