JP2005266576A - Image processor and image processing method - Google Patents
Image processor and image processing method Download PDFInfo
- Publication number
- JP2005266576A JP2005266576A JP2004081517A JP2004081517A JP2005266576A JP 2005266576 A JP2005266576 A JP 2005266576A JP 2004081517 A JP2004081517 A JP 2004081517A JP 2004081517 A JP2004081517 A JP 2004081517A JP 2005266576 A JP2005266576 A JP 2005266576A
- Authority
- JP
- Japan
- Prior art keywords
- lut
- address
- data
- lookup table
- writing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Controls And Circuits For Display Device (AREA)
- Image Processing (AREA)
- Liquid Crystal Display Device Control (AREA)
Abstract
Description
本発明は、ルックアップテーブルを用いて色補正を行う画像処理装置に関する。 The present invention relates to an image processing apparatus that performs color correction using a lookup table.
画像処理装置では、例えば液晶パネルのガンマ補正、色補正などの画像処理が行われている。この際、赤(R)、緑(G)、青(B)の各色信号の階調値と、ガンマ特性を補正するための階調値との非線形な対応関係が示されたルックアップテーブル(以下、「LUT」とも呼ぶ)により、画像信号の補正が行われている。 In the image processing apparatus, for example, image processing such as gamma correction and color correction of a liquid crystal panel is performed. At this time, a look-up table (not shown) showing a non-linear correspondence between the tone values of the red (R), green (G), and blue (B) color signals and the tone values for correcting the gamma characteristics. Hereinafter, the image signal is corrected by “LUT”.
上記のようなLUTを用いた色補正を行う画像処理装置では、例えば表示される画像のガンマ設定やコントラスト強調や彩度強調などの特性を調整したいときに、LUTの書き換えが行われる。しかし、LUTの書き換えは比較的時間を要するため、画像の表示途中にLUTの書き換えが発生してしまう場合がある。表示の途中に書き換えが発生すると、表示される画像の色が乱れてしまう場合(ちらつき、色バランス崩れなど)があった。 In an image processing apparatus that performs color correction using the LUT as described above, the LUT is rewritten when it is desired to adjust characteristics such as gamma setting, contrast enhancement, and saturation enhancement of the displayed image. However, since rewriting of the LUT requires a relatively long time, the LUT may be rewritten during image display. When rewriting occurs during the display, the color of the displayed image may be disturbed (flickering, color balance collapse, etc.).
このような問題を解決する技術として、特許文献1には、画像処理装置がRGB3チャンネルのLUTに空きLUTを追加した計4つのLUTを持ち、LUTの書き換えが必要となったときに、空きLUTに新R−LUT、旧G−LUTに新G−LUT、旧G−LUTに新B−LUT、・・・と順にLUTを書き換えていき、1つのLUTの書き換え中も他の3つのLUTを用いて画像を表示する技術が記載されている。
As a technique for solving such a problem,
しかしながら、特許文献1に記載された方法では、原理的にダブルバッファリングを行っており、LUTの容量が増えてしまうという問題があった。また、RGBのうち1チャンネルのLUTのみが更新された状態で画像を表示するので、色バランスが崩れた状態で画像を表示せざるを得ない。
However, in the method described in
また、特許文献2には、LUTメモリをデュアルポート(2ポート)SRAMで構成し、LUTの書き換えと読み出し(即ち、入力画像データのLUT参照)を同時に行うという技術が記載されている。しかし、この方法では、LUT書き換え中も、そのLUTをそのまま使用して表示するため、書き換え前と書き換え後のデータが混在した状態のLUTを用いて画像表示を行うことになり、上述の表示画像の色が乱れるなどの問題は解決できていなかった。
本発明は以上の点に鑑みてなされたものであり、ルックアップテーブルのメモリサイズを増やすことなく、ルックアップテーブルの書き換え中でも表示画像の大きな色乱れなどを生じさせない画像処理装置を提供することを課題とする。 The present invention has been made in view of the above points, and it is an object of the present invention to provide an image processing apparatus that does not increase the memory size of the lookup table and does not cause large color distortion of the display image even during rewriting of the lookup table. Let it be an issue.
本発明の1つの観点では、画像処理装置は、処理すべき画像データを取得する手段と、アドレス内のデータとして階調値を有するルックアップテーブルを記憶するルックアップテーブル記憶手段と、前記取得した画像データの階調値に基づいて前記ルックアップテーブルのアドレス内のデータを読み出す手段と、前記ルックアップテーブルのアドレス内のデータを複数回に分けて書き込む書き込み手段と、を有し、前記読み出し手段は、前記書き込み手段が書き込みを行っているときは、当該書き込みが行われていないアドレス内のデータを読み出す。 In one aspect of the present invention, the image processing apparatus has means for acquiring image data to be processed, lookup table storage means for storing a lookup table having gradation values as data in an address, and the acquisition Means for reading data in the address of the lookup table based on a gradation value of the image data; and writing means for writing the data in the address of the lookup table in a plurality of times, the reading means When the writing means is writing, the data in the address where the writing is not performed is read.
上記の画像処理装置は、取得した画像データの階調値に基づいてルックアップテーブル(以下、単に「LUT」とも呼ぶ)のアドレス内のデータを読み出す手段を有する。LUTは、アドレス内のデータとして階調値を有しており、ルックアップテーブル記憶手段が記憶している。また、画像処理装置は、LUTのアドレス内のデータを複数回に分けて書き込む(以下、「書き換え」とも呼ぶ)書き込み手段を有している。例えばLUTから読み出したアドレス内容に基づいて画像データを表示装置に表示させる場合において、この表示される画像のガンマ設定やコントラスト強調や彩度強調などを調整したいときに、LUTの書き換えが行われる。読み出し手段は、この書き込み手段が書き込みを行っているときは、書き込みが行われていないアドレス内のデータのみを読み出す。即ち、書き込み手段は複数の段階でLUTのアドレス内容を書き換え、読み出し手段は書き換え中でないアドレス内容を読み出す。これにより、LUTを用いた画像データを表示する際、LUTの書き換え途中においても、元のLUTと新しいLUTの両方のアドレス内容を読み出すことがないので表示される画像に大きな色乱れなどは生じない。また、書き込み手段は複数回に分けて書き込むので、LUTの書き換えのために別途メモリなどを設ける必要がない。したがって、画像処理装置内のメモリサイズが増加することはない。 The image processing apparatus includes means for reading data in an address of a look-up table (hereinafter also simply referred to as “LUT”) based on the gradation value of the acquired image data. The LUT has a gradation value as data in the address, and is stored in the lookup table storage means. In addition, the image processing apparatus has writing means for writing the data in the address of the LUT in a plurality of times (hereinafter also referred to as “rewriting”). For example, when image data is displayed on the display device based on the address contents read from the LUT, the LUT is rewritten when it is desired to adjust the gamma setting, contrast enhancement, saturation enhancement, etc. of the displayed image. When the writing unit is writing, the reading unit reads only the data in the address where writing is not performed. That is, the writing means rewrites the address contents of the LUT at a plurality of stages, and the reading means reads the address contents that are not being rewritten. As a result, when displaying image data using the LUT, even when the LUT is being rewritten, the address contents of both the original LUT and the new LUT are not read out, so that there is no large color distortion in the displayed image. . Further, since the writing means writes the data in a plurality of times, it is not necessary to provide a separate memory for rewriting the LUT. Therefore, the memory size in the image processing apparatus does not increase.
本発明の一態様では、画像処理装置は、前記取得した画像データの階調値が前記書き込みが行われているアドレスと一致する場合は、当該画像データの階調値を、当該アドレスの近傍で書き込みが行われていない2以上のアドレス内のデータに基づいて補間する補間手段を備えている。補間手段は、取得した画像データの階調値が書き込み中のアドレス番号と一致する場合は、このアドレスの近傍で書き込みが行われていない2以上のアドレス内のデータに基づいて補間する。これにより、書きこみ手段がLUTの書き換えを行っている際にも、表示される画像に違和感を生じない。 In one aspect of the present invention, when the gradation value of the acquired image data matches the address at which the writing is performed, the image processing apparatus sets the gradation value of the image data in the vicinity of the address. Interpolation means for interpolating based on data in two or more addresses that are not written is provided. When the gradation value of the acquired image data matches the address number being written, the interpolation means performs interpolation based on data in two or more addresses that are not written in the vicinity of this address. Thereby, even when the writing unit is rewriting the LUT, the displayed image does not feel strange.
本発明の他の一態様では、画像処理装置は、前記書き込み手段は、前記ルックアップテーブルの偶数アドレスと奇数アドレスを別々にしてアドレス内のデータを書き込む。即ち、書き込み手段は、2回に分けてLUTを書き換える。読み出し手段は、例えば、まずLUTの偶数アドレスの内容を読み出し、次は奇数アドレスの内容を読み出す。これにより、LUTの書き換え中において、読み出し手段が読み出すLUTのアドレス数は同じであり、更に奇数アドレスか偶数アドレスかであるため階調値の段差は小さいものとなる。これによっても、表示される画像に違和感を生じない。 In another aspect of the present invention, in the image processing apparatus, the writing means writes the data in the address separately for the even address and the odd address of the lookup table. That is, the writing unit rewrites the LUT in two steps. For example, the reading means first reads the contents of the even addresses of the LUT and then reads the contents of the odd addresses. Thereby, during rewriting of the LUT, the number of addresses of the LUT read by the reading unit is the same, and further, the difference in gradation value is small because it is an odd address or an even address. This also does not cause a sense of incongruity in the displayed image.
本発明の別の一態様によれば、画像処理装置は、前記ルックアップテーブルは、前記取得した画像データの階調数に対応する第1のルックアップテーブルと、第2のルックアップテーブルと、を有し、前記第2のルックアップテーブルは、ヌルデータが挿入されており、前記書き込み手段は、前記第1のルックアップテーブルの一部と前記第2のルックアップテーブルに、一度に前記階調数分のアドレス内のデータを書き込む。 According to another aspect of the present invention, in the image processing device, the lookup table includes a first lookup table corresponding to the number of gradations of the acquired image data, a second lookup table, And the second look-up table has null data inserted therein, and the writing means includes the gray scale at a time in a part of the first look-up table and the second look-up table. Write the data in the address for several minutes.
この態様では、ルックアップテーブルは、取得した画像データの階調数に対応する第1のルックアップテーブルと、ヌルデータが挿入されている第2のルックアップテーブルを有している。書き込み手段は、第1のルックアップテーブルの一部と前記第2のルックアップテーブルに、一度に階調数分のアドレス内のデータを書き込む。即ち、一度の書き換えでLUTが書き換えられる。これにより、読み出し手段がLUTの一部のアドレス内容のみを読み出す期間を短くすることができる。よって、表示される画像に違和感を生じない。また、LUTを通常の順序で書き換えることができるので、書き込み手段などの制御が容易になる。 In this aspect, the lookup table has a first lookup table corresponding to the number of gradation levels of the acquired image data, and a second lookup table in which null data is inserted. The writing means writes the data in the address corresponding to the number of gradations at a time to a part of the first lookup table and the second lookup table. That is, the LUT is rewritten by one rewriting. Thereby, the period during which the reading unit reads only a part of the address contents of the LUT can be shortened. Therefore, the displayed image does not feel strange. In addition, since the LUT can be rewritten in a normal order, the writing means and the like can be easily controlled.
本発明の別の一態様によれば、前記ルックアップテーブルは、前記取得した画像データの階調数に対応する第1のルックアップテーブルと、第2のルックアップテーブルと、を有し、前記書き込み手段は、1回目に前記第2のルックアップテーブルにアドレス内のデータを書き込む。 According to another aspect of the present invention, the lookup table includes a first lookup table corresponding to the number of gradations of the acquired image data, and a second lookup table, The writing means writes the data in the address in the second lookup table for the first time.
この態様では、ルックアップテーブルは、取得した画像データの階調数に対応する第1のルックアップテーブルと、第2のルックアップテーブルとを有する。書き込み手段は、1回目に第2のルックアップテーブルのみにアドレス内のデータを書き込む。1回目の書き換え時では、読み出し手段は、書き込み中でない第1のルックアップテーブルの内容を全て読み出す。2回目以降は、書き込み手段は第1のルックアップテーブルを書き換えていく。これにより、読み出し手段がLUTの一部のアドレス内容のみを読み出す期間を短くすることができる。 In this aspect, the lookup table includes a first lookup table corresponding to the number of gradation levels of the acquired image data, and a second lookup table. The writing means writes the data in the address only in the second lookup table for the first time. At the time of the first rewrite, the reading means reads all the contents of the first lookup table that is not being written. From the second time onward, the writing means rewrites the first lookup table. Thereby, the period during which the reading unit reads only a part of the address contents of the LUT can be shortened.
好適には、前記第2のルックアップテーブルは、前記第1のルックアップテーブルの半分のアドレス数であり、前記第1のルックアップテーブルのアドレス内のデータの中間値を有し、前記書き込み手段は、1回目に前記第2のルックアップテーブルにアドレス内のデータを書き込み、2回目に前記第1のルックアップテーブルの偶数アドレス又は奇数アドレスにアドレス内のデータを書き込み、3回目に前記第1のルックアップテーブルの2回目に書き換えなかった偶数アドレス又は奇数アドレスにアドレス内のデータを書き込む。この場合、書き換えるアドレスの間隔が一定であり、第2のルックアップテーブルは第1のルックアップテーブルの中間の階調値を有しているので、書き換え中に表示される全ての画像は違和感のないものとなる。また、上記のような処理を行う回路も、簡便に構成することができる。 Preferably, the second look-up table has half the number of addresses of the first look-up table, has an intermediate value of data in the address of the first look-up table, and the writing means Writes the data in the address to the second lookup table for the first time, writes the data in the address to the even or odd address of the first lookup table for the second time, and The data in the address is written to the even address or the odd address that has not been rewritten in the second look-up table. In this case, since the interval between addresses to be rewritten is constant and the second look-up table has intermediate gradation values of the first look-up table, all images displayed during rewriting are uncomfortable. It will not be. In addition, a circuit that performs the above-described processing can be simply configured.
好ましくは、前記ルックアップテーブル記憶手段は、2ポートRAMを2つ備える。この場合は、ライト1チャンネルの書き込みとリード1チャンネルの読み出しが同時に実行可能なものを用いる。 Preferably, the lookup table storage means includes two 2-port RAMs. In this case, the one that can execute the writing of the write 1 channel and the read of the read 1 channel at the same time is used.
更に、好ましくは、前記ルックアップテーブル記憶手段は、1ポートRAMを4つ備える。この場合は、ライト1チャンネルとリード1チャンネルの選択可能な1ポートRAMを4つ用いて構成される。 Further preferably, the lookup table storage means includes four 1-port RAMs. In this case, four 1-port RAMs with selectable write 1 channel and read 1 channel are used.
本発明の他の観点では、処理すべき画像データを取得する工程と、アドレス内容として階調値を有するルックアップテーブルを記憶するルックアップテーブル記憶工程と、前記取得した画像データの階調値から前記ルックアップテーブルのアドレス内容を読み出す工程と、前記ルックアップテーブルのアドレス内容を複数回に分けて書き込む書き込み工程と、を有し、前記読み出し工程は、前記書き込み手段が書き込みを行っているときは、書き込みが行われていないアドレス内容を読み出す。この画像処理方法を実行することにより、上記の画像処理装置と同様に、LUTのメモリサイズを増やすことなく、LUTの書き換え中でも表示画像の大きな色乱れなどを生じさせないことが可能となる。 In another aspect of the present invention, a step of acquiring image data to be processed, a lookup table storage step of storing a lookup table having a gradation value as address contents, and a gradation value of the acquired image data A process of reading the address contents of the lookup table and a writing process of writing the address contents of the lookup table in a plurality of times, wherein the reading process is performed when the writing means is writing Read the address contents that have not been written. By executing this image processing method, as in the case of the above-described image processing apparatus, it is possible to prevent a large color distortion of the display image even during rewriting of the LUT without increasing the memory size of the LUT.
以下、図面を参照して本発明の好適な実施形態について説明する。 Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings.
[第1実施形態]
まず、本発明の第1実施形態に係る画像処理部を含む画像表示装置について、図1を用いて説明する。図1には、第1実施形態に係る画像表示装置21の概略構成を示す。
[First Embodiment]
First, an image display apparatus including an image processing unit according to the first embodiment of the present invention will be described with reference to FIG. FIG. 1 shows a schematic configuration of an
画像表示装置21は、主に、画像形成部1と、LUT形成部2と、画像処理部10と、画像表示部7とから構成される。画像表示装置21では、画像形成部1で形成された画像を画像処理部10がLUT形成部2で形成されたLUTを用いて画像処理し、処理後の画像が画像表示部7に表示される。
The
画像形成部1は、図示しないCPU、RAM、ROM、描画装置、ディスクドライブ装置、制御ソフトウェアなどを備えて構成される。画像形成部1は、形成した画像に対応する信号S1を画像処理部10に供給する。なお、画像表示装置21においては、表示すべき画像を形成する画像形成部1を備えずに、処理又は表示すべき画像を外部より取得する受信装置などを備える構成をとってもよい。
The
LUT形成部2は、図示しないCPU、RAM、ROMなどを備えて構成される。LUT形成部2は、書き換えるLUTを形成する。例えば、ユーザからの指示によりガンマ設定やコントラスト強調や彩度強調などを調節するためのLUTが形成される。また、LUT形成部2は、外部の状態(例えば、画像表示部7の周辺が明るいか暗いかなど)に応じて自動的にLUTを形成することもできる。LUT形成部2は、形成したLUTに対応する信号S2を画像処理部10に供給する。
The
画像処理部10は、LUT書き込み制御部3と、LUT読み出し制御部4と、LUTメモリ5とを備える。画像処理部10は、前述の画像処理装置として機能する。
The
LUTメモリ5は、LUTを記憶している。このLUTには、アドレスに階調値(R、G、Bそれぞれの階調値)が対応付けられている。即ち、画像処理部10に入力された画像データの階調値に基づいてアドレス(入力された画像データの階調値に当たる)に対応付けられた階調値が読み出され、入力された画像の階調値がその読み出された階調値に変換されることになる(以下、この変換を「LUT変換」とも呼ぶ)。以上のように、LUTメモリ5は、LUTを記憶するルックアップテーブル記憶手段として機能する。
The
LUT読み出し制御部4は、画像形成部1より画像データに対応する信号S1を取得し、その画像データ(即ち、画像データの階調値)をLUTメモリ5のアドレス信号S11として使用してLUTメモリ5から読み出しデータS12を取得する。即ち、画像データのアドレス信号S11から対応するLUTの読み出しデータS12を取得する。これにより、画像処理部10に入力された画像データの階調値が、LUT変換により適切な階調値に変換されることになる。そして、LUT変換された画像データに対応する信号S3は画像表示部7に供給される。このように、LUT読み出し制御部4は、前述した読み出し手段として機能する。
The LUT read
LUT書き込み制御部3は、LUT形成部2より供給されたLUTに対応する信号S2に基づいて、LUTメモリ5に記憶されたLUTを複数回に分けて書き込む(以下、「書き換える」とも呼ぶ)。この場合、LUT書き込み制御部3は、新たなLUTが有する階調値(信号S22に相当する)と、その階調値に対応するアドレス番号(信号S21に相当する)とをLUTメモリ5に供給する。このように、LUT書き込み制御部3は前述した書き込み手段として機能する。このLUT書き込み制御部3によるLUTの書き換え、及びLUTの書き換え時のLUT読み出し制御部4の読み出し等については、詳細は後述する。
The LUT
ここで、図2を用いてLUT変換の具体例を説明する。図2は、横軸にLUT変換すべき画像データの階調値(入力階調値)を示し、縦軸にLUT変換後の階調値(出力階調値)を示す。曲線A1及びA2は、LUT変換による入出力特性を示す曲線(以下、「LUTパターン」とも呼ぶ)の例である。LUTメモリ5には、上記のようなLUTパターンが1つ記憶されており、前述したような場合にはLUT書き込み制御部3によりLUTパターンが書き換えられる。
Here, a specific example of LUT conversion will be described with reference to FIG. In FIG. 2, the horizontal axis indicates the gradation value (input gradation value) of the image data to be LUT converted, and the vertical axis indicates the gradation value (output gradation value) after the LUT conversion. Curves A1 and A2 are examples of curves indicating input / output characteristics by LUT conversion (hereinafter also referred to as “LUT patterns”). The
図1に戻って、画像表示部7について説明する。画像表示部7は、例えばLCDやCRTなどの表示デバイスを備え、画像処理部10での処理後の画像データS3を表示する。また、画像表示部7は、取得した画像データS5を更に画像処理することもできる。
Returning to FIG. 1, the
次に、図3を用いて、本発明の第1実施形態に係るLUTの書き換え方法、及び書き換え時のLUTの読み出し方法について説明する。第1実施形態においては、LUT書き込み制御部3は、LUTの偶数アドレスの内容と奇数アドレスの内容を別々に書き換える。即ち、LUT書き込み制御部3は、2回に分けてLUTの書き換えを行う。そして、LUT読み出し制御部4は、書き換え途中でないアドレス内のデータを読み出す。なお、以下で説明するLUTの書き込み及び読み出しは、上記のLUT書き込み制御部3及びLUT読み出し制御部4が行うものとする。
Next, the LUT rewriting method according to the first embodiment of the present invention and the LUT reading method during rewriting will be described with reference to FIG. In the first embodiment, the LUT
図3(a)は、LUTの書き換えが行われていない通常時のLUTの読み出しについて示している。符号31はLUTメモリ5に記憶されているLUTを示し、その中に書かれた数字はLUTのアドレス番号を示す。このアドレスに階調値(以下、「アドレス内容」又は「アドレス内のデータ」とも呼ぶ)が対応付けられている。図3(a)に示すように、LUT31の書き換えが行われていない通常時では、LUT読み出し制御部4はLUT31の全てのアドレス内容を読み出して、LUT変換後の画像データに対応する信号S3を出力している。
FIG. 3A shows reading of a normal LUT in which LUT rewriting is not performed.
図3(b)は、LUTの1回目の書き換えが行われている際のLUTの書き換え及び読み出しについて示す図である。1回目は、LUT書き込み制御部3はLUTの偶数アドレス内のデータのみを新たなアドレス内容で書き換える。LUT書き込み制御部3は、LUT形成部2より取得した信号S2に基づいて書き換えを行う。この信号S2は、新たなLUTが有する階調値(前述の信号S22)と、それに対応するアドレス番号(前述の信号S21)を含む。
FIG. 3B is a diagram illustrating LUT rewriting and reading when the first rewriting of the LUT is performed. At the first time, the LUT
以上により、1回目の書き換え終了後のLUT(符号32で示す)は、偶数アドレス内のデータのみが書き換えられ(「 ’」を付したアドレス番号で示す)、奇数アドレス内のデータはそのままである。一方、LUT読み出し制御部4は、LUT32の偶数アドレス内のデータが書き換えられているときは、書き換えが行われていない奇数アドレス内のデータを読み出して、LUT変換された画像データに対応する信号S3を出力する。この場合、LUT読み出し制御部4は、処理すべき画像データの階調値に対応するアドレスが書き換え中であれば、当該アドレスに隣接するアドレス内のデータをLUT32から読み出す。例えば、LUT読み出し制御部4は、処理すべき画像データの階調値が「2」であれば、LUT32のアドレス「1」又はアドレス「3」内のデータを読み出す。
As described above, in the LUT after the first rewrite (indicated by reference numeral 32), only the data in the even address is rewritten (indicated by the address number with “′”), and the data in the odd address remains unchanged. . On the other hand, when the data in the even address of the LUT 32 is rewritten, the LUT read
図3(c)は、LUTの2回目の書き換えが行われている際のLUTの書き換え及び読み出しについて示す図である。2回目は、LUT書き込み制御部3は、LUTの奇数アドレス内のデータを新たなアドレス内容で書き換える(矢印S2で示す)。よって、2回目の書き換え終了後のLUT(符号33で示す)は、偶数アドレス内のデータ及び奇数アドレスのデータ全てが書き換えられている。一方、LUT読み出し制御部4は、LUT33の奇数アドレス内のデータが書き換えられているときは、既に書き込みが完了している偶数アドレス内のデータを読み出す。このようにして、LUT書き込み制御部3は、LUT31を図3(d)に示すLUT34へと完全に書き換える。
FIG. 3C is a diagram showing LUT rewriting and reading when the LUT is rewritten for the second time. The second time, the LUT
以上のように第1実施形態では、LUT書き込み制御部3は2回に分けてLUTのアドレス内容を書き換え、LUT読み出し制御部4は書き換え途中でないアドレス内容を読み出している。これにより、画像表示部7に表示される画像に色乱れやちらつきや色バランスの崩れなどは生じない。また、画像処理部10はLUTの書き換えを2回に分けて行っておりダブルバッファリングなどを行ってはいないので、LUTメモリ5のメモリサイズが増加することはない。
As described above, in the first embodiment, the LUT
なお、図3においては1回目で偶数アドレスを書き換え、2回目に奇数アドレスを書き換える例について示したが、これには限定されない。1回目で奇数アドレスを書き換え、2回目に偶数アドレスを書き換えてもよい。また、LUTの書き換え回数も2回に限定はしない。 Although FIG. 3 shows an example in which even-numbered addresses are rewritten in the first time and odd-numbered addresses are rewritten in the second time, the present invention is not limited to this. The odd address may be rewritten at the first time, and the even address may be rewritten at the second time. Further, the number of times of rewriting the LUT is not limited to two.
更に、LUTメモリ5は、2ポートRAM又は1ポートRAMなどで構成することができる。2ポートRAMの場合は、ライト1チャンネルの書き込みとリード1チャンネルの読み出しが同時に実行可能なものを用いる。また、1ポートRAMの場合は物理的に2つのRAMで構成し、ライト1チャンネルの書き込みとリード1チャンネルの読み出しとが選択可能なものを用いる。
Further, the
[第2実施形態]
以下では、本発明の第2実施形態について説明する。まず、第2実施形態に係る画像表示装置の概略構成を示す図4について説明する。
[Second Embodiment]
Hereinafter, a second embodiment of the present invention will be described. First, FIG. 4 showing a schematic configuration of an image display apparatus according to the second embodiment will be described.
図4に示すように、画像表示装置22は、主に、画像形成部1と、LUT形成部2と、画像処理部11と、画像表示部7とから構成される。第2実施形態に係る画像表示装置22は、第1実施形態に示した画像表示装置21と画像処理部11の構成のみが異なるため、以下では画像処理部11の構成について主に説明する。
As shown in FIG. 4, the
画像処理部11は、LUT書き込み制御部3と、LUT読み出し制御部4と、LUTメモリ5と、補間処理部8とを備える。画像処理部11も、前述した画像処理装置として機能する。なお、LUT書き込み制御部3及びLUTメモリ5は、第1実施形態に示したものと同様であるため説明を省略する。
The
LUT読み出し制御部4は、画像形成部1より画像データに対応する信号S1を取得し、その画像データをLUTメモリ5のアドレス信号S11として使用して、LUTメモリ5から読み出しデータS12、S13を取得する。読み出しデータS12、S13の2つのデータを取得するのは、LUT変換すべき階調値に対応するアドレス内容が現在書き換え中であれば、読み出しデータS12、S13の2つのデータを用いて補間により、対応するデータを生成するためである。LUT読み出し制御部4は、読み出しデータS12、S13として、現在書き換え中であるアドレスの近傍にあるアドレス内のデータを読み出す。LUT読み出し制御部4は、こうして読み出した読み出しデータS12、S13に対応する信号S41及びS42を補間処理部8に供給する。なお、LUT変換すべき階調値に対応するアドレス内容が現在書き換え中でなければ、補間を行う必要は無いので、LUT読み出し制御部4は、LUTメモリ5から読み出しデータS12又はS13のみを取得するものとする。
The LUT read
補間処理部8は、LUT読み出し制御部4から取得した信号S41、S42に基づいて補間(以下、「補間処理」とも呼ぶ)を行う。補間処理部8は、取得した信号S41、S42を線形補間などによって補間処理を行う。補間処理部8は、こうして補間した画像データに対応する信号S5を画像表示部7に供給する。なお、LUT変換すべき階調値に対応するアドレス内容が現在書き換え中でなかった場合は、補間処理部8は補間処理を行わない。以上のように、補間処理部8は、前述した補間手段として機能する。
The
次に、図5を用いて、本発明の第2実施形態に係るLUTの書き換え方法、及び書き換え時のLUTの読み出し方法について説明する。なお、以下で説明するLUTの書き込み及び読み出しは、前述したLUT書き込み制御部3及びLUT読み出し制御部4が行うものとする。また、図5では、LUTを記憶するLUTメモリ5がライト1チャンネルとリード2チャンネルが同時処理可能な1つのRAMで構成されているものについて示す。
Next, a method for rewriting an LUT according to the second embodiment of the present invention and a method for reading the LUT at the time of rewriting will be described with reference to FIG. Note that the LUT writing and reading described below are performed by the LUT
図5(a)は、LUTの書き換えが行われていない通常時のLUTの読み出しについて示している。符号31はLUTメモリ5に記憶されているLUTを示し、その中に書かれた数字はLUTのアドレス番号を示す。このアドレスに階調値(アドレス内容)が対応付けられている。図5(a)に示すように、LUT31の書き換えが行われていない通常時では、LUT読み出し制御部4はLUT31の全てのアドレス内容を読み出して、LUT変換後の画像データに対応する信号S5を出力している。
FIG. 5A shows reading of the LUT at normal time when the LUT is not rewritten.
図5(b)は、LUTの1回目の書き換えが行われている際のLUTの書き換え及び読み出しについて示す図である。第2実施形態においても、LUT書き込み制御部3は、偶数アドレスと奇数アドレスを別々にして2回に分けてLUTの書き換えを行う。1回目は、LUT書き込み制御部3はLUTの偶数アドレス内のデータのみを新たなアドレス内容で書き換える(矢印S2で示す)。よって、1回目の書き換え終了後のLUT(符号32で示す)は、偶数アドレス内のデータのみが書き換えられ、奇数アドレス内のデータはそのままである。
FIG. 5B is a diagram illustrating LUT rewriting and reading when the first rewriting of the LUT is performed. Also in the second embodiment, the LUT
一方、LUT読み出し制御部4は、LUT32の偶数アドレス内のデータが書き換えられているときは、書き換えが行われていないLUT32の奇数アドレス内のデータを読み出す。このとき、LUT変換すべき画像データの階調値が偶数であった場合(即ち、画像データの階調値に対応するアドレス内容が書き換え途中である場合)、LUT読み出し制御部4は、当該アドレスに隣接する奇数アドレスのデータを2つ読み出す。そして、補間処理部8は、その2つのアドレス内容に基づいて補間処理を行う。また、LUT変換すべき画像データの階調値が奇数であった場合(即ち、画像データの階調値に対応するアドレス内容が書き換え途中でない場合)、LUT読み出し制御部4は、当該アドレス内容のみを読み出す。この場合、補間処理部8は補間処理を行わない。このようにして、補間処理部8で処理されたデータに対応する信号S5が生成される。
On the other hand, when the data in the even address of the LUT 32 is rewritten, the LUT read
図5(c)は、LUTの2回目の書き換えが行われている際のLUTの書き換え及び読み出しについて示す図である。2回目では、LUT書き込み制御部3はLUTの奇数アドレス内のデータを新たなアドレス内容で書き換える(矢印S2で示す)。よって、2回目の書き換え終了後のLUT(符号33で示す)は、偶数アドレス内のデータ及び奇数アドレス内のデータ全てが書き換えられている。一方、LUT読み出し制御部4は、LUT33の奇数アドレス内のデータが書き換えられているときは、既に書き込みが完了している偶数アドレス内のデータを読み出す。そして、補間処理部8は、LUT変換すべき画像データの階調値が奇数であった場合、当該アドレスに隣接する2つの偶数アドレスのデータで補間処理を行う。また、LUT変換すべき画像データの階調値が偶数であった場合、補間処理部8は補間処理を行わず当該階調値に対応するアドレス内容をそのまま用いる。このようにして、補間処理部8で処理されたデータに対応する信号S5が生成される。以上のように、LUT書き込み制御部3は、LUT31から図5(d)に示すLUT34へと完全に書き換える。
FIG. 5C is a diagram illustrating LUT rewriting and reading when the LUT is rewritten for the second time. At the second time, the LUT
このように第2実施形態でも、LUT書き込み制御部3は2回に分けてLUTのアドレス内容を書き換え、LUT読み出し制御部4は書き換え途中でないアドレス内容を読み出す。更に、第2実施形態では、LUT読み出し制御部4が読み出したアドレス内のデータに基づいて補間処理部8が補間処理を行う。これにより、LUTの書き換え中でも表示される画像の質は低下しない。
As described above, also in the second embodiment, the LUT
次に、第2実施形態に係るLUTメモリ5の構成例について図6を用いて説明する。
Next, a configuration example of the
図6(a)には、LUTメモリ5をライト1チャンネルとリード1チャンネルの同時処理可能な2ポートRAMを2つ用いて構成した例について示す。図6(a)に示すように、LUTメモリ5は、物理的に2つのRAM(LUTメモリ51とLUTメモリ52)を備える。この場合、LUT書き込み制御部3は、LUTメモリ51及びLUTメモリ52を同時に書き換える。また、LUT読み出し制御部4は、LUTメモリ51及びLUTメモリ52を同時に読み出す。
FIG. 6A shows an example in which the
図6(b)には、LUTメモリ5をライト1チャンネルとリード1チャンネルの選択可能な1ポートRAMを4つ用いて構成した例について示す。LUTメモリ5は物理的に4つのRAM(LUTメモリ51とLUTメモリ52とLUTメモリ53とLUTメモリ54)を備える。この場合、LUT書き込み制御部3は、偶数アドレスを書き換える場合はLUTメモリ51及びLUTメモリ53を選択して同時に書き換え、奇数アドレスを書き換える場合はLUTメモリ52及びLUTメモリ54を選択して同時に書き換える。また、LUT読み出し制御部4は、偶数アドレスが書き換えられている場合はLUTメモリ52及びLUTメモリ54を選択して同時に読み出し、奇数アドレスが書き換えられている場合はLUTメモリ51及びLUTメモリ53を選択して同時に読み出す。
FIG. 6B shows an example in which the
図7に、上記の図6(a)の2ポートRAMを2つ用いてLUTメモリ5を構成した場合の、LUT内の読み出されるアドレス内容について示す。図7において、「LUT(x)」はLUTにおけるアドレス(x)内のデータ(即ち、階調値)を示す。更に、LUTメモリ51が記憶するLUTを「LUT51」とし、LUTメモリ52が記憶するLUTを「LUT52」と表記する。また、「&」は読み出されたデータに対して補間処理を行うことを示す。
FIG. 7 shows the address contents read out in the LUT when the
まず、LUTの偶数アドレスが書き換え中であり、画像データの階調値が偶数(=2k)である場合について説明する。即ち、画像データの階調値に対応するLUTのアドレス内容が書き換え中である場合である。このとき、kが偶数であった場合、LUT読み出し制御部4は、LUTメモリ51が記憶するLUT51のアドレス(k+1)内のデータLUT51(k+1)と、LUTメモリ52が記憶するLUT52のアドレス(k−1)内のデータLUT52(k−1)とを取得する。例えば、画像データの階調値が「4」であった場合、LUT読み出し制御部4は、LUT51のアドレス(3)に対応するデータとLUT52のアドレス(1)に対応するデータを取得する。そして、補間処理部8は、LUT読み出し制御部4から取得したLUT51(k+1)とLUT52(k−1)を用いて補間処理する。
First, the case where the even address of the LUT is being rewritten and the gradation value of the image data is an even number (= 2k) will be described. That is, the LUT address content corresponding to the gradation value of the image data is being rewritten. At this time, if k is an even number, the LUT read
一方、kが奇数であった場合、LUT読み出し制御部4は、LUT51(k)とLUT52(k)を取得する。例えば、画像データの階調値が「6」であった場合、LUT読み出し制御部4は、LUT51のアドレス(3)に対応するデータとLUT52のアドレス(3)に対応するデータを取得する。そして、補間処理部8は上記のLUT51(k)とLUT52(k)を用いて補間処理する。
On the other hand, when k is an odd number, the LUT read
次に、LUTの偶数アドレスが書き換え中であり、画像データの階調値が奇数(=2k+1)である場合について説明する。LUT読み出し制御部4は、kが偶数である場合はLUT51(k+1)を取得し、kが偶数である場合はLUT52(k)を取得する。以上のような場合は、画像データの階調値に対応するLUT内のアドレスが書き換え中ではないため、補間処理は行われない。
Next, a case where the even address of the LUT is being rewritten and the gradation value of the image data is an odd number (= 2k + 1) will be described. The LUT read
更に、LUTの奇数アドレスが書き換え中である場合も、図7に示す方法で、LUT読み出し制御部4はLUT内のアドレス内容を読み出す。
Further, even when the odd address of the LUT is being rewritten, the LUT read
即ち、LUTの奇数アドレスが書き換え中であり、画像データの階調値が奇数(=2k+1)である場合について説明する。LUT読み出し制御部4は、kが偶数である場合はLUT51(k)を取得し、kが奇数である場合はLUT52(k−1)を取得する。以上のような場合は、画像データの階調値に対応するLUT内のアドレスが書き換え中ではないため、補間処理は行われない。
That is, the case where the odd address of the LUT is being rewritten and the gradation value of the image data is an odd number (= 2k + 1) will be described. The LUT read
次に、LUTの奇数アドレスが書き換え中であり、画像データの階調値が奇数(=2k+1)である場合について説明する。即ち、画像データの階調値に対応するLUTのアドレス内容が書き換え中である場合である。このとき、kが偶数であった場合、LUT読み出し制御部4は、LUTメモリ51が記憶するLUT51のアドレス(k)内のデータLUT51(k)と、LUTメモリ52が記憶するLUT52のアドレス(k)内のデータLUT52(k)とを取得する。そして、補間処理部8は、LUT読み出し制御部4から取得したLUT51(k)とLUT52(k)を用いて補間処理する。
Next, a case where the odd address of the LUT is being rewritten and the gradation value of the image data is an odd number (= 2k + 1) will be described. That is, the LUT address content corresponding to the gradation value of the image data is being rewritten. At this time, if k is an even number, the LUT read
一方、kが奇数であった場合、LUT読み出し制御部4は、LUT51(k+1)とLUT52(k−1)を取得する。そして、補間処理部8は上記のLUT51(k+1)とLUT52(k−1)を用いて補間処理する。
On the other hand, when k is an odd number, the LUT read
[第3実施形態]
以下では、本発明の第3実施形態について説明する。
[Third Embodiment]
Hereinafter, a third embodiment of the present invention will be described.
図8に、第3実施形態に係るLUTの書き換え方法、及びLUTの読み出し方法について示す。なお、図8で示すLUTの書き換え方法及び読み出し方法は、前述の第1実施形態で示した画像処理部10が行う。
FIG. 8 shows an LUT rewriting method and an LUT reading method according to the third embodiment. The LUT rewriting method and reading method shown in FIG. 8 are performed by the
図8(a)は、LUTの書き換えが行われていない通常時のLUTの読み出しについて示している。図8(a)に示すように、LUT62は、LUT60とLUT61を備える。LUT60は、アドレス内にデータは何も入っていない(即ち、ヌルデータが挿入されている)。LUT61は、処理すべき画像データの階調数に対応するLUTを有している。即ち、LUT61は第1のルックアップテーブルとして機能し、LUT60は第2のルックアップテーブルとして機能する。図8(a)に示すように、LUT62の書き換えが行われていない通常時では、LUT読み出し制御部4はLUT61のアドレス内容のみを読み出して、LUT変換後の画像データに対応する信号S3を出力している。
FIG. 8A shows reading of the LUT at the normal time when the LUT is not rewritten. As shown in FIG. 8A, the
図8(b)は、上記のLUT62の書き換えが行われている際のLUTの書き換え及び読み出しについて示す図である。第3実施形態においては、LUT書き込み制御部3は、LUT62を1回で書き換える。具体的には、LUT書き込み制御部3は、LUT61の偶数アドレス(奇数アドレスでもよい)と、ヌルデータが挿入されたLUT60とを一度に書き換える(符号S2で示す)。この場合、LUT書き込み制御部3は、LUT61の偶数アドレスを新たなLUTの偶数アドレスに対応するデータで書き換え、LUT60には新たなLUTの奇数アドレスに対応するデータを書き込む。これにより、書き換え終了後のLUT63では、新たなLUTのアドレス内容が全て書き込まれ、書き換え前のLUTの奇数アドレスの内容はそのままとなっている。
FIG. 8B is a diagram showing LUT rewriting and reading when the
このとき、LUT読み出し制御部4は、上記のような書き換え中は書き換えが行われていない奇数アドレス内のデータのみを読み出す。そして、LUT読み出し制御部4は、LUT変換された画像データに対応する信号S3を出力する。
At this time, the LUT read
図8(c)には、新たなLUTのアドレス内容が全て書き換えられたときのLUT64について示す。LUTのアドレス内容の書き込みが全て終了したとき、LUT書き込み制御部3は、LUT63において書き込みを行わなかった奇数アドレスにヌルデータを挿入する。これにより、図8(c)に示す新たなLUT64が生成される。そして、LUT読み出し制御部4は、LUT64のヌルデータでないアドレス内容のみを読み出す。なお、上記では、ヌルデータを挿入するものについて示したがこれに限定はされない。例えば、ヌルデータを挿入しないで、任意の値を挿入してもよい。この場合は、挿入された任意のデータをLUT変換に用いないようにする。
FIG. 8C shows the
以上のように第3実施形態では、ヌルデータが挿入された第2のルックアップテーブルを利用して、LUT書き換え制御部3は1回でLUTの書き換えを行う。これにより、LUTの偶数アドレス又は奇数アドレスのいずれか一方のアドレス内容のみを用いてLUT変換する期間を短くすることができる。よって、前述した実施形態よりも表示される画像に違和感を生じさせない。また、LUTを0、1、2、・・・と通常の順序で書き換えができるので、LUT書き込み制御部3などの制御が簡単になる。
As described above, in the third embodiment, the LUT
次に、第3実施形態に係る変形例について説明する。本変形例では、前述したLUTの書き込み方法及び読み出し方法を第2実施形態で示した画像処理部11で行うものである。
Next, a modification according to the third embodiment will be described. In this modification, the above-described LUT writing method and reading method are performed by the
図9に、第3実施形態の変形例に係るLUTの書き換え方法、及びLUTの書き換え時の読み出し方法について示す。 FIG. 9 shows an LUT rewriting method according to a modification of the third embodiment and a reading method at the time of LUT rewriting.
図9(a)は、LUTの書き換えが行われていない通常時のLUTの読み出しについて示しており、図8(a)と同様である。図9(b)には、LUT62の書き換えが行われている際のLUTの書き換え及び読み出しについて示す。この場合、LUT書き込み制御部3によるLUTの書き換え方法は前述したものと同様である。
FIG. 9A shows reading of a normal LUT without rewriting the LUT, which is the same as FIG. 8A. FIG. 9B shows LUT rewriting and reading when the
本変形例では、LUT読み出し制御部4が読み出したデータを補間処理部8が補間処理する点で前述したものとは異なる。LUT読み出し制御部4は、画像データの階調値に対応するアドレスが書き換え途中である場合、当該アドレスに隣接する書き込み中でないアドレス内容を2つ読み出す。そして、補間処理部8は、その2つのアドレス内容に基づいて補間処理を行う。また、画像データの階調値に対応するアドレスが書き換え途中でない場合、LUT読み出し制御部4は、当該アドレスのデータのみを読み出す。この場合、補間処理部8は補間処理を行わない。このようにして、補間処理部8で処理されたデータに対応する信号S5が生成される。
This modification differs from that described above in that the
以上のように、第3実施形態に係るLUTの書き換え方法及び読み出し方法に、補間処理部8による補間処理を付加することもできる。これにより、表示される画像を高品質にすることができる。
As described above, the interpolation processing by the
[第4実施形態]
以下では、第4実施形態に係るLUTの書き換え方法、及びLUTの書き換え時の読み出し方法について説明する。
[Fourth Embodiment]
Hereinafter, an LUT rewriting method according to the fourth embodiment and a reading method at the time of LUT rewriting will be described.
図10は、LUT変換に用いるLUTパターンA3について示している。図10において、横軸は入力階調値(LUTのアドレスに対応する)を示し、縦軸に出力階調値を示す。領域B1はLUTの範囲を示し(以下、領域B1を有するLUTを「基本LUT」と呼ぶ)、入力画像データの階調数が「256」階調であれば領域B1は均等に「256」分割されている。よって、基本LUTは「256」個のアドレスを有することになる。第4実施形態では、LUTパターンA3の特性曲線において傾きが急である領域B2内に、補助LUT(破線B3で示す)を挿入する。即ち、領域B2内を細かく分割する。補助LUTは、領域B2内を細かく分割することによって生じた階調値に対応する。これにより、入力された画像データの階調値が領域B2内にある場合、この階調値は詳細にLUT変換されることになる。 FIG. 10 shows the LUT pattern A3 used for LUT conversion. In FIG. 10, the horizontal axis represents the input gradation value (corresponding to the address of the LUT), and the vertical axis represents the output gradation value. The area B1 indicates the range of the LUT (hereinafter, the LUT having the area B1 is referred to as “basic LUT”). If the number of gradations of the input image data is “256” gradations, the area B1 is equally divided into “256”. Has been. Therefore, the basic LUT has “256” addresses. In the fourth embodiment, an auxiliary LUT (indicated by a broken line B3) is inserted into a region B2 having a steep slope in the characteristic curve of the LUT pattern A3. That is, the area B2 is finely divided. The auxiliary LUT corresponds to the gradation value generated by finely dividing the area B2. As a result, when the gradation value of the input image data is within the area B2, this gradation value is subjected to LUT conversion in detail.
本実施形態では、補助LUTは基本LUTの1/2のサイズを有する。即ち、基本LUTが「256」個のアドレスを有していれば、補助LUTは「128」個のアドレスを有する。また、補助LUTのアドレス内のデータは、基本LUTのアドレス内のデータの中間値を有するものとする。以上より、基本LUTは第1のルックアップテーブルとして機能し、補助LUTは第2のルックアップテーブルとして機能する。 In the present embodiment, the auxiliary LUT has a size that is ½ of the basic LUT. That is, if the basic LUT has “256” addresses, the auxiliary LUT has “128” addresses. The data in the auxiliary LUT address has an intermediate value of the data in the basic LUT address. As described above, the basic LUT functions as a first lookup table, and the auxiliary LUT functions as a second lookup table.
次に、上記の補助LUTを用いた第4実施形態に係るLUTの書き換え方法と読み出し方法について図11を用いて説明する。 Next, an LUT rewriting method and a reading method according to the fourth embodiment using the auxiliary LUT will be described with reference to FIG.
図11(a)は、LUTの書き換えが行われていない通常時のLUTの読み出しについて示している。図11(a)に示すように、LUT72は、基本LUT71aと補助LUT70aを備える。ここでは、説明の便宜のため、基本LUT71aを4ビット(16階調)とし、補助LUT70aを3ビット(8階調)とした場合のものについて示す。補助LUT70aは、基本LUT71aの半分のサイズを有しており、補助LUT70aのアドレス番号を「0.5、1.5、2.5、3.5・・・」のように示すものとする。LUT72の書き換えが行われていない通常時では、LUT読み出し制御部4は基本LUT71aと補助LUT70aの両方のアドレス内容を読み出して、LUT変換後の画像データに対応する信号S3を出力している。これにより、LUTパターンA3において傾きが大きい階調領域を高画質に表示することができる。
FIG. 11A shows reading of the LUT at the normal time when the LUT is not rewritten. As shown in FIG. 11A, the LUT 72 includes a basic LUT 71a and an
図11(b)は、1回目のLUT72の書き換えが行われている際のLUTの書き換え及び読み出しについて示す図である。第4実施形態では、3回に分けてLUTの書き換えを行う。また、書き換える新たなLUTは、基本LUT71bと補助LUT70bを有するものとする。まず、1回目では、LUT書き込み制御部3はLUT72内の補助LUT70aのみを、新たな基本LUT71bの偶数アドレスのデータで書き換える(符号S2で示す)。これにより、書き換え終了後のLUT73では、新たなLUTの基本LUT71bの偶数アドレスの内容が書き込まれ、元の基本LUT71aのアドレスの内容は全てそのままとなっている。
FIG. 11B is a diagram showing LUT rewriting and reading when the first LUT 72 is rewritten. In the fourth embodiment, the LUT is rewritten in three steps. The new LUT to be rewritten has a
上記の書き換え途中の際、LUT読み出し制御部4は、書き換えが行われていない基本LUT71aのアドレス内容を全て読み出す。そして、LUT読み出し制御部4は、LUT変換された画像データに対応する信号S3を出力する。
During the above rewriting, the LUT read
図11(c)は、2回目のLUT72の書き換えが行われている際のLUTの書き換え及び読み出しについて示す図である。2回目では、LUT書き込み制御部3は元の基本LUT71aの偶数アドレスの内容を、新たな基本LUT71bの奇数アドレスのデータで書き換える。これにより、書き換え終了後のLUT74では、新たな基本LUT71bのアドレス内容が全て書き込まれ、元の基本LUT71aの奇数アドレスの内容はそのままとなっている。書き換え途中の際、LUT読み出し制御部4は、書き換えが行われていない元の基本LUT71aの奇数アドレスの内容のみを読み出す。
FIG. 11C is a diagram showing LUT rewriting and reading when the LUT 72 is rewritten for the second time. At the second time, the LUT
図11(d)は、3回目のLUT72の書き換えが行われている際のLUTの書き換え及び読み出しについて示す図である。3回目では、LUT書き込み制御部3は元の基本LUT71aの奇数アドレスの内容を、新たな補助LUT70bのデータで書き換える。これにより、書き換え終了後のLUT75では、新たなLUTの基本LUT71bと補助LUT70bの内容にて全て書き換えられている。3回目の書き換え途中では、LUT読み出し制御部4は、そのとき書き換えが行われていない、新たな基本LUT71bの内容を全て読み出す。以上の処理が終了すると、新たな基本LUT71bと補助LUT70bを有するLUTとなり、LUT読み出し制御部4は、この新たなLUTの内容を全て読み出す。
FIG. 11D is a diagram illustrating LUT rewriting and reading when the LUT 72 is rewritten for the third time. At the third time, the LUT
このように、第4実施形態では補助LUTを利用して、LUT書き込み制御部3は3回に分けてLUTの書き換えを行う。単に、偶数アドレスを新しい偶数アドレスのアドレス内容で書き換えたり(以下、「偶数→偶数」などとして示す)、補助→補助と書き換えたりすると、アドレス間隔が「0.5」や「1」や「2」である場合が混在して不揃いなタイミングが生じ、表示される画像に対して違和感が生じてしまう。しかし、第4実施形態の方法では、偶数→奇数→補助と書き換えているため、基本LUT(LUT全体ではない)を使う期間が上記の場合よりも長くなる。したがって、第4実施形態の方法は、基本LUTは必ずアドレスが「1」刻みであるので、補間なしでの画質も違和感を生じず、補間する場合の回路も簡略に構成することができる。
As described above, in the fourth embodiment, the LUT
次に、第4実施形態に係る変形例について説明する。本変形例では、前述したLUTの書き込み方法及び読み出し方法を第2実施形態で示した画像処理部11で行うものについて示す。
Next, a modification according to the fourth embodiment will be described. In this modification, the LUT writing method and reading method described above are performed by the
図12に、第3実施形態の変形例に係るLUTの書き換え方法、及びLUTの書き換え時の読み出し方法について示す。 FIG. 12 shows an LUT rewriting method according to a modification of the third embodiment and a reading method at the time of LUT rewriting.
図12(a)、(b)は、上記した図11(a)、(b)と同様である。本変形例においては、図12(c)に示すように、2回目のLUT72の書き換え時において補間処理を行っている点で前述したものとは異なる。2回目の書き換え時において補間処理を行うのは、読み出されるLUTが奇数アドレスのみとなるためである。第4実施形態では、読み出されるLUTが奇数アドレスのみとなるのは2回目の書き換え時のみである。なお、補間処理は、第2実施形態にて示した画像処理部11の補間処理部8が行う。この補間処理は、前述したものと同様であるため説明は省略する。
12A and 12B are the same as FIGS. 11A and 11B described above. This modification differs from that described above in that interpolation processing is performed at the time of rewriting the LUT 72 for the second time, as shown in FIG. The reason why the interpolation process is performed at the time of the second rewrite is that the read LUT is only an odd address. In the fourth embodiment, the read-out LUT has only odd addresses only during the second rewrite. The interpolation processing is performed by the
以上のように、第4実施形態に係るLUTの書き換え方法及び読み出し方法に、補間処理部8による補間処理を付加することもできる。これにより、表示される画像を高品質にすることができる。また、補間処理を行う期間が短いため、補間処理のための演算回路を簡単なものにすることができる。
As described above, the interpolation processing by the
1 画像形成部、 2 LUT形成部、 3 LUT書き込み制御部、 4 LUT読み出し制御部、 5 LUTメモリ、 7 画像表示部、 8 補間処理部、 10、11 画像処理部、 21、22 画像表示装置
DESCRIPTION OF
Claims (9)
アドレス内のデータとして階調値を有するルックアップテーブルを記憶するルックアップテーブル記憶手段と、
前記取得した画像データの階調値に基づいて前記ルックアップテーブルのアドレス内のデータを読み出す手段と、
前記ルックアップテーブルのアドレス内のデータを複数回に分けて書き込む書き込み手段と、を有し、
前記読み出し手段は、前記書き込み手段が書き込みを行っているときは、当該書き込みが行われていないアドレス内のデータを読み出すことを特徴とする画像処理装置。 Means for obtaining image data to be processed;
Lookup table storage means for storing a lookup table having gradation values as data in the address;
Means for reading data in the address of the lookup table based on the gradation value of the acquired image data;
Writing means for writing the data in the address of the lookup table in a plurality of times,
An image processing apparatus according to claim 1, wherein when the writing unit is writing, the reading unit reads data in an address where the writing is not performed.
前記第2のルックアップテーブルは、ヌルデータが挿入されており、
前記書き込み手段は、前記第1のルックアップテーブルの一部と前記第2のルックアップテーブルに、一度に前記階調数分のアドレス内のデータを書き込むことを特徴とする請求項1及至3のいずれか一項に記載の画像処理装置。 The lookup table has a first lookup table corresponding to the number of gradations of the acquired image data, and a second lookup table,
In the second lookup table, null data is inserted,
4. The writing unit according to claim 1, wherein the writing means writes data in addresses corresponding to the number of gradations at a time in a part of the first look-up table and the second look-up table. The image processing apparatus according to any one of claims.
前記書き込み手段は、1回目に前記第2のルックアップテーブルにアドレス内のデータを書き込むことを特徴とする請求項1及至3のいずれか一項に記載の画像処理装置。 The lookup table has a first lookup table corresponding to the number of gradations of the acquired image data, and a second lookup table,
4. The image processing apparatus according to claim 1, wherein the writing unit writes data in an address in the second look-up table for the first time.
前記書き込み手段は、1回目に前記第2のルックアップテーブルにアドレス内のデータを書き込み、2回目に前記第1のルックアップテーブルの偶数アドレス又は奇数アドレスにアドレス内のデータを書き込み、3回目に前記第1のルックアップテーブルの2回目に書き換えなかった偶数アドレス又は奇数アドレスにアドレス内のデータを書き込むことを特徴とする請求項5に記載の画像処理装置。 The second look-up table is half the number of addresses of the first look-up table and has an intermediate value of the data in the address of the first look-up table;
The writing means writes the data in the address to the second lookup table for the first time, writes the data in the address to the even address or odd address of the first lookup table for the second time, and the third time. 6. The image processing apparatus according to claim 5, wherein data in the address is written to an even address or an odd address that has not been rewritten the second time in the first lookup table.
アドレス内容として階調値を有するルックアップテーブルを記憶するルックアップテーブル記憶工程と、
前記取得した画像データの階調値から前記ルックアップテーブルのアドレス内容を読み出す工程と、
前記ルックアップテーブルのアドレス内容を複数回に分けて書き込む書き込み工程と、を有し、
前記読み出し工程は、前記書き込み手段が書き込みを行っているときは、書き込みが行われていないアドレス内容を読み出すことを特徴とする画像処理方法。
Acquiring image data to be processed;
A look-up table storing step for storing a look-up table having gradation values as address contents;
Reading the address content of the lookup table from the gradation value of the acquired image data;
And writing the address contents of the lookup table in a plurality of times,
The image processing method according to claim 1, wherein, in the reading step, when the writing unit is writing, an address content that has not been written is read.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004081517A JP4815749B2 (en) | 2004-03-19 | 2004-03-19 | Image processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004081517A JP4815749B2 (en) | 2004-03-19 | 2004-03-19 | Image processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005266576A true JP2005266576A (en) | 2005-09-29 |
JP4815749B2 JP4815749B2 (en) | 2011-11-16 |
Family
ID=35091161
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004081517A Expired - Fee Related JP4815749B2 (en) | 2004-03-19 | 2004-03-19 | Image processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4815749B2 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007257372A (en) * | 2006-03-23 | 2007-10-04 | Fujitsu Ltd | Image processor |
WO2009101802A1 (en) * | 2008-02-15 | 2009-08-20 | Panasonic Corporation | Color management module, color management device, integrated circuit, display device, and color management method |
JP2010063042A (en) * | 2008-09-05 | 2010-03-18 | Seiko Epson Corp | Image processor |
JP2010160509A (en) * | 2010-03-03 | 2010-07-22 | Nanao Corp | Adjusting method and display device |
CN101996565A (en) * | 2010-12-10 | 2011-03-30 | 华映视讯(吴江)有限公司 | Display driving system and method |
Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62135888A (en) * | 1985-12-10 | 1987-06-18 | 株式会社 アスキ− | Display controller |
JPS62275292A (en) * | 1986-05-23 | 1987-11-30 | 株式会社日立製作所 | Dual port color mapped da converter |
JPS63159983A (en) * | 1986-12-23 | 1988-07-02 | Dainippon Screen Mfg Co Ltd | Method and device for generating look-up table data |
JPH02204781A (en) * | 1989-02-02 | 1990-08-14 | Matsushita Electric Ind Co Ltd | Device for composing color signal |
JPH0470796A (en) * | 1990-07-12 | 1992-03-05 | Oki Electric Ind Co Ltd | Image display device |
JPH06161409A (en) * | 1992-11-19 | 1994-06-07 | Toshiba Corp | Look-up table memory rewriting method and display device with look-up table memory |
JPH06175825A (en) * | 1992-12-04 | 1994-06-24 | Fuji Xerox Co Ltd | Arithmetic and logic unit |
JPH06195108A (en) * | 1992-12-25 | 1994-07-15 | Kawasaki Steel Corp | Adaptive filter |
JPH0876713A (en) * | 1994-09-02 | 1996-03-22 | Komatsu Ltd | Display controller |
JPH08114870A (en) * | 1994-10-18 | 1996-05-07 | Konica Corp | Method and device interpolating multi-dimension |
JPH08194457A (en) * | 1995-01-20 | 1996-07-30 | Fujitsu Ltd | Image processing device |
JPH1063241A (en) * | 1996-08-14 | 1998-03-06 | Nec Corp | Look-up table |
JPH1110943A (en) * | 1997-06-25 | 1999-01-19 | Ricoh Co Ltd | Data processor |
JPH1185119A (en) * | 1997-09-10 | 1999-03-30 | Hoshiden Philips Display Kk | Multi-sync circuit of monitor device |
JP2001356754A (en) * | 2000-06-15 | 2001-12-26 | Seiko Epson Corp | Picture display device and chrominance signal adjusting device to be used in the same device |
JP2003219157A (en) * | 2002-01-21 | 2003-07-31 | Panasonic Communications Co Ltd | Image signal processing apparatus |
JP2003233812A (en) * | 2002-02-13 | 2003-08-22 | Mega Chips Corp | Data converting circuit, digital camera and data converting method |
-
2004
- 2004-03-19 JP JP2004081517A patent/JP4815749B2/en not_active Expired - Fee Related
Patent Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62135888A (en) * | 1985-12-10 | 1987-06-18 | 株式会社 アスキ− | Display controller |
JPS62275292A (en) * | 1986-05-23 | 1987-11-30 | 株式会社日立製作所 | Dual port color mapped da converter |
JPS63159983A (en) * | 1986-12-23 | 1988-07-02 | Dainippon Screen Mfg Co Ltd | Method and device for generating look-up table data |
JPH02204781A (en) * | 1989-02-02 | 1990-08-14 | Matsushita Electric Ind Co Ltd | Device for composing color signal |
JPH0470796A (en) * | 1990-07-12 | 1992-03-05 | Oki Electric Ind Co Ltd | Image display device |
JPH06161409A (en) * | 1992-11-19 | 1994-06-07 | Toshiba Corp | Look-up table memory rewriting method and display device with look-up table memory |
JPH06175825A (en) * | 1992-12-04 | 1994-06-24 | Fuji Xerox Co Ltd | Arithmetic and logic unit |
JPH06195108A (en) * | 1992-12-25 | 1994-07-15 | Kawasaki Steel Corp | Adaptive filter |
JPH0876713A (en) * | 1994-09-02 | 1996-03-22 | Komatsu Ltd | Display controller |
JPH08114870A (en) * | 1994-10-18 | 1996-05-07 | Konica Corp | Method and device interpolating multi-dimension |
JPH08194457A (en) * | 1995-01-20 | 1996-07-30 | Fujitsu Ltd | Image processing device |
JPH1063241A (en) * | 1996-08-14 | 1998-03-06 | Nec Corp | Look-up table |
JPH1110943A (en) * | 1997-06-25 | 1999-01-19 | Ricoh Co Ltd | Data processor |
JPH1185119A (en) * | 1997-09-10 | 1999-03-30 | Hoshiden Philips Display Kk | Multi-sync circuit of monitor device |
JP2001356754A (en) * | 2000-06-15 | 2001-12-26 | Seiko Epson Corp | Picture display device and chrominance signal adjusting device to be used in the same device |
JP2003219157A (en) * | 2002-01-21 | 2003-07-31 | Panasonic Communications Co Ltd | Image signal processing apparatus |
JP2003233812A (en) * | 2002-02-13 | 2003-08-22 | Mega Chips Corp | Data converting circuit, digital camera and data converting method |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007257372A (en) * | 2006-03-23 | 2007-10-04 | Fujitsu Ltd | Image processor |
US8013875B2 (en) | 2006-03-23 | 2011-09-06 | Fujitsu Semiconductor Limited | Color signal adjustment module in image display apparatus |
WO2009101802A1 (en) * | 2008-02-15 | 2009-08-20 | Panasonic Corporation | Color management module, color management device, integrated circuit, display device, and color management method |
JP4893827B2 (en) * | 2008-02-15 | 2012-03-07 | パナソニック株式会社 | Color management module, color management device, integrated circuit, display device, and color management method |
US8212836B2 (en) | 2008-02-15 | 2012-07-03 | Panasonic Corporation | Color management module, color management apparatus, integrated circuit, display unit, and method of color management |
JP2010063042A (en) * | 2008-09-05 | 2010-03-18 | Seiko Epson Corp | Image processor |
JP2010160509A (en) * | 2010-03-03 | 2010-07-22 | Nanao Corp | Adjusting method and display device |
CN101996565A (en) * | 2010-12-10 | 2011-03-30 | 华映视讯(吴江)有限公司 | Display driving system and method |
Also Published As
Publication number | Publication date |
---|---|
JP4815749B2 (en) | 2011-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7312777B2 (en) | Liquid crystal display device and driving method thereof | |
JP3763397B2 (en) | Image processing apparatus, image display apparatus, personal computer, and image processing method | |
JP5153336B2 (en) | Method for reducing motion blur in a liquid crystal cell | |
US8035660B2 (en) | Liquid crystal display with corrected image data and method of driving the liquid crystal display | |
US20060208983A1 (en) | Liquid crystal display and driving method thereof | |
US8115713B2 (en) | Image processing apparatus, image processing method, and computer program | |
JP2006243729A (en) | Overdrive system and overdrive method | |
JPH06230760A (en) | Display device | |
JP4588754B2 (en) | Display device and television receiver | |
US8013875B2 (en) | Color signal adjustment module in image display apparatus | |
US20120249619A1 (en) | Display device | |
JP4523348B2 (en) | Display device and driving method thereof | |
JP4815749B2 (en) | Image processing device | |
JP3944204B2 (en) | Image processing apparatus and image display apparatus having the same | |
JP2004120366A (en) | Apparatus and method for image processing | |
JP5132081B2 (en) | Display device | |
WO2006126322A1 (en) | Display apparatus | |
JP2008039816A (en) | Display apparatus | |
JP2008301381A (en) | Signal adjusting device | |
JP4369837B2 (en) | Image processing apparatus and image display apparatus having the same | |
JP5311443B2 (en) | Color image display device and monochrome image display method | |
JP2001249655A (en) | Display device | |
JP2008020574A (en) | Liquid crystal dual screen display device | |
KR100339900B1 (en) | Image display apparatus | |
JP2008096791A (en) | Gray-scale correcting circuit and display device with the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070315 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20070403 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100706 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100830 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101005 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101201 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110308 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110323 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110802 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110815 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140909 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |