JP2005266576A - Image processor and image processing method - Google Patents

Image processor and image processing method Download PDF

Info

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
Application number
JP2004081517A
Other languages
Japanese (ja)
Other versions
JP4815749B2 (en
Inventor
Kenji Mori
賢次 森
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 JP2004081517A priority Critical patent/JP4815749B2/en
Publication of JP2005266576A publication Critical patent/JP2005266576A/en
Application granted granted Critical
Publication of JP4815749B2 publication Critical patent/JP4815749B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

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

<P>PROBLEM TO BE SOLVED: To provide an image processor in which the large color disorder or the like of a display image is not caused even dualing the rewriting of the lookup table without increasing the memory size of a lookup table. <P>SOLUTION: The image processor has a gradation value as data in a lookup table (LUT) address and a LUT storage means stores it. In addition, the image processor has a means for rewriting the data in the address of a LUT by dividing it into plurality of times. For example, when gamma setting, contrast emphasis, chroma emphasis, etc. of an image are desired to be adjusted, the LUT is rewritten. As for reading, while the rewriting means performs writing, only data in an address to which no writing is performed is read. Thus, since address contents of both new and old LUTs are not read even in the middle of rewriting the LUT, the large color disorder, etc. is not generated in the displayed image. Since the writing means performs writing by dividing it into a plurality of times, the memory size in the image processor is not increased. <P>COPYRIGHT: (C)2005,JPO&NCIPI

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, Patent Document 1 discloses that when an image processing apparatus has a total of four LUTs in which an empty LUT is added to an RGB3 channel LUT and the LUT needs to be rewritten, the empty LUT The new R-LUT, the old G-LUT, the new G-LUT, the old G-LUT, the new B-LUT, etc. are rewritten in order, and the other three LUTs are rewritten while one LUT is being rewritten. Techniques for displaying images using them are described.

しかしながら、特許文献1に記載された方法では、原理的にダブルバッファリングを行っており、LUTの容量が増えてしまうという問題があった。また、RGBのうち1チャンネルのLUTのみが更新された状態で画像を表示するので、色バランスが崩れた状態で画像を表示せざるを得ない。   However, in the method described in Patent Document 1, double buffering is performed in principle, and there is a problem that the capacity of the LUT increases. In addition, since an image is displayed in a state where only one channel LUT of RGB is updated, the image must be displayed in a state where color balance is lost.

また、特許文献2には、LUTメモリをデュアルポート(2ポート)SRAMで構成し、LUTの書き換えと読み出し(即ち、入力画像データのLUT参照)を同時に行うという技術が記載されている。しかし、この方法では、LUT書き換え中も、そのLUTをそのまま使用して表示するため、書き換え前と書き換え後のデータが混在した状態のLUTを用いて画像表示を行うことになり、上述の表示画像の色が乱れるなどの問題は解決できていなかった。   Patent Document 2 describes a technique in which a LUT memory is configured by a dual port (2 port) SRAM, and LUT rewriting and reading (ie, LUT reference of input image data) are performed simultaneously. However, in this method, since the LUT is used as it is during the LUT rewriting, the image is displayed using the LUT in a state where the data before rewriting and the data after rewriting are mixed. The problem of the color of the mess was not solved.

特開2001−356754号公報JP 2001-356754 A 特開平8−194457号公報JP-A-8-194457

本発明は以上の点に鑑みてなされたものであり、ルックアップテーブルのメモリサイズを増やすことなく、ルックアップテーブルの書き換え中でも表示画像の大きな色乱れなどを生じさせない画像処理装置を提供することを課題とする。   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 image display device 21 according to the first embodiment.

画像表示装置21は、主に、画像形成部1と、LUT形成部2と、画像処理部10と、画像表示部7とから構成される。画像表示装置21では、画像形成部1で形成された画像を画像処理部10がLUT形成部2で形成されたLUTを用いて画像処理し、処理後の画像が画像表示部7に表示される。   The image display device 21 mainly includes an image forming unit 1, an LUT forming unit 2, an image processing unit 10, and an image display unit 7. In the image display device 21, the image processing unit 10 performs image processing on the image formed by the image forming unit 1 using the LUT formed by the LUT forming unit 2, and the processed image is displayed on the image display unit 7. .

画像形成部1は、図示しないCPU、RAM、ROM、描画装置、ディスクドライブ装置、制御ソフトウェアなどを備えて構成される。画像形成部1は、形成した画像に対応する信号S1を画像処理部10に供給する。なお、画像表示装置21においては、表示すべき画像を形成する画像形成部1を備えずに、処理又は表示すべき画像を外部より取得する受信装置などを備える構成をとってもよい。   The image forming unit 1 includes a CPU, RAM, ROM, drawing device, disk drive device, control software, and the like (not shown). The image forming unit 1 supplies a signal S1 corresponding to the formed image to the image processing unit 10. The image display device 21 may be configured to include a receiving device that obtains an image to be processed or displayed from the outside without including the image forming unit 1 that forms an image to be displayed.

LUT形成部2は、図示しないCPU、RAM、ROMなどを備えて構成される。LUT形成部2は、書き換えるLUTを形成する。例えば、ユーザからの指示によりガンマ設定やコントラスト強調や彩度強調などを調節するためのLUTが形成される。また、LUT形成部2は、外部の状態(例えば、画像表示部7の周辺が明るいか暗いかなど)に応じて自動的にLUTを形成することもできる。LUT形成部2は、形成したLUTに対応する信号S2を画像処理部10に供給する。   The LUT forming unit 2 includes a CPU, a RAM, a ROM, and the like (not shown). The LUT forming unit 2 forms an LUT to be rewritten. For example, an LUT for adjusting gamma setting, contrast enhancement, saturation enhancement, and the like according to an instruction from the user is formed. Further, the LUT forming unit 2 can automatically form an LUT according to an external state (for example, whether the periphery of the image display unit 7 is bright or dark). The LUT forming unit 2 supplies a signal S2 corresponding to the formed LUT to the image processing unit 10.

画像処理部10は、LUT書き込み制御部3と、LUT読み出し制御部4と、LUTメモリ5とを備える。画像処理部10は、前述の画像処理装置として機能する。   The image processing unit 10 includes an LUT write control unit 3, an LUT read control unit 4, and an LUT memory 5. The image processing unit 10 functions as the above-described image processing device.

LUTメモリ5は、LUTを記憶している。このLUTには、アドレスに階調値(R、G、Bそれぞれの階調値)が対応付けられている。即ち、画像処理部10に入力された画像データの階調値に基づいてアドレス(入力された画像データの階調値に当たる)に対応付けられた階調値が読み出され、入力された画像の階調値がその読み出された階調値に変換されることになる(以下、この変換を「LUT変換」とも呼ぶ)。以上のように、LUTメモリ5は、LUTを記憶するルックアップテーブル記憶手段として機能する。   The LUT memory 5 stores the LUT. In this LUT, an address is associated with a tone value (R, G, and B tone values). That is, the gradation value associated with the address (corresponding to the gradation value of the input image data) is read based on the gradation value of the image data input to the image processing unit 10, and the input image The gradation value is converted into the read gradation value (hereinafter, this conversion is also referred to as “LUT conversion”). As described above, the LUT memory 5 functions as a lookup table storage unit that stores the LUT.

LUT読み出し制御部4は、画像形成部1より画像データに対応する信号S1を取得し、その画像データ(即ち、画像データの階調値)をLUTメモリ5のアドレス信号S11として使用してLUTメモリ5から読み出しデータS12を取得する。即ち、画像データのアドレス信号S11から対応するLUTの読み出しデータS12を取得する。これにより、画像処理部10に入力された画像データの階調値が、LUT変換により適切な階調値に変換されることになる。そして、LUT変換された画像データに対応する信号S3は画像表示部7に供給される。このように、LUT読み出し制御部4は、前述した読み出し手段として機能する。   The LUT read control unit 4 acquires the signal S1 corresponding to the image data from the image forming unit 1, and uses the image data (that is, the gradation value of the image data) as the address signal S11 of the LUT memory 5 to use the LUT memory. The read data S12 is acquired from 5. That is, the read data S12 of the corresponding LUT is acquired from the address signal S11 of the image data. As a result, the gradation value of the image data input to the image processing unit 10 is converted to an appropriate gradation value by LUT conversion. The signal S3 corresponding to the LUT-converted image data is supplied to the image display unit 7. In this way, the LUT read control unit 4 functions as the read means described above.

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 writing control unit 3 writes the LUT stored in the LUT memory 5 in a plurality of times based on the signal S2 corresponding to the LUT supplied from the LUT forming unit 2 (hereinafter also referred to as “rewriting”). In this case, the LUT write control unit 3 supplies the LUT memory 5 with the gradation value (corresponding to the signal S22) of the new LUT and the address number (corresponding to the signal S21) corresponding to the gradation value. To do. Thus, the LUT write control unit 3 functions as the above-described writing means. Details of the rewriting of the LUT by the LUT writing control unit 3 and the reading of the LUT reading control unit 4 at the time of rewriting the LUT will be described later.

ここで、図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 LUT memory 5 stores one LUT pattern as described above. In the case described above, the LUT pattern is rewritten by the LUT write control unit 3.

図1に戻って、画像表示部7について説明する。画像表示部7は、例えばLCDやCRTなどの表示デバイスを備え、画像処理部10での処理後の画像データS3を表示する。また、画像表示部7は、取得した画像データS5を更に画像処理することもできる。   Returning to FIG. 1, the image display unit 7 will be described. The image display unit 7 includes a display device such as an LCD or a CRT, and displays the image data S3 after being processed by the image processing unit 10. Further, the image display unit 7 can further perform image processing on the acquired image data S5.

次に、図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 write control unit 3 rewrites the contents of the even address and the odd address of the LUT separately. That is, the LUT write control unit 3 rewrites the LUT in two steps. Then, the LUT read control unit 4 reads data in an address that is not being rewritten. The LUT writing and reading described below are performed by the LUT writing control unit 3 and the LUT reading control unit 4 described above.

図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. Reference numeral 31 indicates an LUT stored in the LUT memory 5, and a number written therein indicates an address number of the LUT. A gradation value (hereinafter also referred to as “address content” or “data in the address”) is associated with this address. As shown in FIG. 3A, in a normal time when the LUT 31 is not rewritten, the LUT read control unit 4 reads all the address contents of the LUT 31 and outputs a signal S3 corresponding to the image data after the LUT conversion. Output.

図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 write control unit 3 rewrites only the data in the even address of the LUT with the new address contents. The LUT writing control unit 3 performs rewriting based on the signal S2 acquired from the LUT forming unit 2. This signal S2 includes the gradation value (previously described signal S22) of the new LUT and the corresponding address number (previously described signal S21).

以上により、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 control unit 4 reads the data in the odd address that has not been rewritten, and the signal S3 corresponding to the image data subjected to the LUT conversion. Is output. In this case, if the address corresponding to the gradation value of the image data to be processed is being rewritten, the LUT read control unit 4 reads the data in the address adjacent to the address from the LUT 32. For example, if the gradation value of the image data to be processed is “2”, the LUT read control unit 4 reads the data in the address “1” or the address “3” of the LUT 32.

図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 write control unit 3 rewrites the data in the odd address of the LUT with the new address contents (indicated by the arrow S2). Therefore, in the LUT after the second rewriting (indicated by reference numeral 33), all the data in the even address and the data in the odd address are rewritten. On the other hand, when the data in the odd address of the LUT 33 has been rewritten, the LUT read control unit 4 reads the data in the even address that has already been written. In this way, the LUT write control unit 3 completely rewrites the LUT 31 into the LUT 34 shown in FIG.

以上のように第1実施形態では、LUT書き込み制御部3は2回に分けてLUTのアドレス内容を書き換え、LUT読み出し制御部4は書き換え途中でないアドレス内容を読み出している。これにより、画像表示部7に表示される画像に色乱れやちらつきや色バランスの崩れなどは生じない。また、画像処理部10はLUTの書き換えを2回に分けて行っておりダブルバッファリングなどを行ってはいないので、LUTメモリ5のメモリサイズが増加することはない。   As described above, in the first embodiment, the LUT write control unit 3 rewrites the address contents of the LUT in two steps, and the LUT read control unit 4 reads the address contents that are not being rewritten. As a result, the image displayed on the image display unit 7 does not cause color disturbance, flickering, or color balance collapse. Further, since the image processing unit 10 rewrites the LUT twice and does not perform double buffering or the like, the memory size of the LUT memory 5 does not increase.

なお、図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 LUT memory 5 can be constituted by a 2-port RAM or a 1-port RAM. In the case of a 2-port RAM, a RAM that can execute writing of one write channel and reading of one read channel simultaneously is used. Further, in the case of a 1-port RAM, a physically configured RAM is used that can select one write channel and one read channel.

[第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 image display device 22 mainly includes an image forming unit 1, an LUT forming unit 2, an image processing unit 11, and an image display unit 7. Since the image display device 22 according to the second embodiment is different from the image display device 21 shown in the first embodiment only in the configuration of the image processing unit 11, the configuration of the image processing unit 11 will be mainly described below.

画像処理部11は、LUT書き込み制御部3と、LUT読み出し制御部4と、LUTメモリ5と、補間処理部8とを備える。画像処理部11も、前述した画像処理装置として機能する。なお、LUT書き込み制御部3及びLUTメモリ5は、第1実施形態に示したものと同様であるため説明を省略する。   The image processing unit 11 includes an LUT writing control unit 3, an LUT reading control unit 4, an LUT memory 5, and an interpolation processing unit 8. The image processing unit 11 also functions as the above-described image processing device. Note that the LUT write control unit 3 and the LUT memory 5 are the same as those described in the first embodiment, and thus description thereof is omitted.

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 control unit 4 acquires the signal S1 corresponding to the image data from the image forming unit 1 and uses the image data as the address signal S11 of the LUT memory 5 to acquire the read data S12 and S13 from the LUT memory 5. To do. The two pieces of read data S12 and S13 are acquired if the address content corresponding to the gradation value to be LUT converted is currently being rewritten, by interpolation using the two pieces of read data S12 and S13. This is to generate corresponding data. The LUT read control unit 4 reads data at an address in the vicinity of the address currently being rewritten as read data S12 and S13. The LUT read control unit 4 supplies signals S41 and S42 corresponding to the read data S12 and S13 read in this way to the interpolation processing unit 8. If the address content corresponding to the gradation value to be LUT converted is not currently being rewritten, it is not necessary to perform interpolation, so the LUT read control unit 4 acquires only the read data S12 or S13 from the LUT memory 5. Shall.

補間処理部8は、LUT読み出し制御部4から取得した信号S41、S42に基づいて補間(以下、「補間処理」とも呼ぶ)を行う。補間処理部8は、取得した信号S41、S42を線形補間などによって補間処理を行う。補間処理部8は、こうして補間した画像データに対応する信号S5を画像表示部7に供給する。なお、LUT変換すべき階調値に対応するアドレス内容が現在書き換え中でなかった場合は、補間処理部8は補間処理を行わない。以上のように、補間処理部8は、前述した補間手段として機能する。   The interpolation processing unit 8 performs interpolation (hereinafter also referred to as “interpolation processing”) based on the signals S41 and S42 acquired from the LUT read control unit 4. The interpolation processing unit 8 performs interpolation processing on the acquired signals S41 and S42 by linear interpolation or the like. The interpolation processing unit 8 supplies the image display unit 7 with a signal S5 corresponding to the image data thus interpolated. If the address content corresponding to the gradation value to be LUT converted is not currently being rewritten, the interpolation processing unit 8 does not perform the interpolation processing. As described above, the interpolation processing unit 8 functions as the interpolation means described above.

次に、図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 writing control unit 3 and the LUT reading control unit 4 described above. FIG. 5 shows a case where the LUT memory 5 for storing the LUT is composed of one RAM capable of simultaneously processing the write 1 channel and the read 2 channel.

図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. Reference numeral 31 indicates an LUT stored in the LUT memory 5, and a number written therein indicates an address number of the LUT. A gradation value (address content) is associated with this address. As shown in FIG. 5A, in a normal time when the LUT 31 is not rewritten, the LUT read control unit 4 reads all the address contents of the LUT 31 and outputs a signal S5 corresponding to the image data after the LUT conversion. Output.

図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 write control unit 3 rewrites the LUT by dividing the even address and the odd address twice. At the first time, the LUT write control unit 3 rewrites only the data in the even address of the LUT with the new address contents (indicated by the arrow S2). Therefore, in the LUT after the first rewriting (indicated by reference numeral 32), only the data in the even address is rewritten, and the data in the odd address remains as it is.

一方、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 control unit 4 reads the data in the odd address of the LUT 32 that has not been rewritten. At this time, when the gradation value of the image data to be LUT converted is an even number (that is, when the address content corresponding to the gradation value of the image data is being rewritten), the LUT read control unit 4 Two pieces of data of odd addresses adjacent to are read out. The interpolation processing unit 8 performs interpolation processing based on the contents of the two addresses. Further, when the gradation value of the image data to be LUT converted is an odd number (that is, when the address content corresponding to the gradation value of the image data is not in the middle of rewriting), the LUT read control unit 4 performs only the address content. Is read. In this case, the interpolation processing unit 8 does not perform interpolation processing. In this way, the signal S5 corresponding to the data processed by the interpolation processing unit 8 is generated.

図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 write control unit 3 rewrites the data in the odd address of the LUT with the new address contents (indicated by the arrow S2). Therefore, in the LUT (indicated by reference numeral 33) after completion of the second rewrite, all the data in the even address and the data in the odd address are rewritten. On the other hand, when the data in the odd address of the LUT 33 has been rewritten, the LUT read control unit 4 reads the data in the even address that has already been written. Then, when the gradation value of the image data to be LUT converted is an odd number, the interpolation processing unit 8 performs an interpolation process using data of two even addresses adjacent to the address. When the gradation value of the image data to be LUT converted is an even number, the interpolation processing unit 8 does not perform the interpolation process and uses the address contents corresponding to the gradation value as it is. In this way, the signal S5 corresponding to the data processed by the interpolation processing unit 8 is generated. As described above, the LUT write control unit 3 completely rewrites the LUT 31 to the LUT 34 shown in FIG.

このように第2実施形態でも、LUT書き込み制御部3は2回に分けてLUTのアドレス内容を書き換え、LUT読み出し制御部4は書き換え途中でないアドレス内容を読み出す。更に、第2実施形態では、LUT読み出し制御部4が読み出したアドレス内のデータに基づいて補間処理部8が補間処理を行う。これにより、LUTの書き換え中でも表示される画像の質は低下しない。   As described above, also in the second embodiment, the LUT write control unit 3 rewrites the address content of the LUT in two steps, and the LUT read control unit 4 reads the address content that is not being rewritten. Furthermore, in the second embodiment, the interpolation processing unit 8 performs interpolation processing based on the data in the address read by the LUT read control unit 4. Thereby, the quality of the displayed image does not deteriorate even during rewriting of the LUT.

次に、第2実施形態に係るLUTメモリ5の構成例について図6を用いて説明する。   Next, a configuration example of the LUT memory 5 according to the second embodiment will be described with reference to FIG.

図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 LUT memory 5 is configured by using two 2-port RAMs that can simultaneously process one write channel and one read channel. As shown in FIG. 6A, the LUT memory 5 physically includes two RAMs (LUT memory 51 and LUT memory 52). In this case, the LUT write control unit 3 rewrites the LUT memory 51 and the LUT memory 52 at the same time. Further, the LUT read control unit 4 reads the LUT memory 51 and the LUT memory 52 at the same time.

図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 LUT memory 5 is configured by using four 1-port RAMs that can select one write channel and one read channel. The LUT memory 5 physically includes four RAMs (LUT memory 51, LUT memory 52, LUT memory 53, and LUT memory 54). In this case, the LUT write controller 3 selects the LUT memory 51 and the LUT memory 53 and rewrites them at the same time when rewriting even addresses, and rewrites the LUT memory 52 and LUT memory 54 at the same time when rewriting odd addresses. Further, the LUT read control unit 4 selects the LUT memory 52 and the LUT memory 54 when the even address is rewritten and simultaneously reads, and selects the LUT memory 51 and the LUT memory 53 when the odd address is rewritten. Read simultaneously.

図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 memory 5 is configured by using the two 2-port RAMs of FIG. In FIG. 7, “LUT (x)” indicates data (that is, gradation value) in the address (x) in the LUT. Further, the LUT stored in the LUT memory 51 is referred to as “LUT 51”, and the LUT stored in the LUT memory 52 is referred to as “LUT 52”. “&” Indicates that interpolation processing is performed on the read data.

まず、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 control unit 4 causes the data LUT 51 (k + 1) in the address (k + 1) of the LUT 51 stored in the LUT memory 51 and the address (k of the LUT 52 stored in the LUT memory 52). -1) to obtain the data LUT 52 (k-1). For example, when the gradation value of the image data is “4”, the LUT read control unit 4 acquires data corresponding to the address (3) of the LUT 51 and data corresponding to the address (1) of the LUT 52. The interpolation processing unit 8 performs interpolation processing using the LUT 51 (k + 1) and the LUT 52 (k−1) acquired from the LUT read control unit 4.

一方、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 control unit 4 acquires the LUT 51 (k) and the LUT 52 (k). For example, when the gradation value of the image data is “6”, the LUT read control unit 4 acquires data corresponding to the address (3) of the LUT 51 and data corresponding to the address (3) of the LUT 52. The interpolation processing unit 8 performs interpolation processing using the LUT 51 (k) and the LUT 52 (k).

次に、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 control unit 4 acquires the LUT 51 (k + 1) when k is an even number, and acquires the LUT 52 (k) when k is an even number. In such a case, the interpolation process is not performed because the address in the LUT corresponding to the gradation value of the image data is not being rewritten.

更に、LUTの奇数アドレスが書き換え中である場合も、図7に示す方法で、LUT読み出し制御部4はLUT内のアドレス内容を読み出す。   Further, even when the odd address of the LUT is being rewritten, the LUT read control unit 4 reads the address contents in the LUT by the method shown in FIG.

即ち、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 control unit 4 acquires the LUT 51 (k) when k is an even number, and acquires the LUT 52 (k−1) when k is an odd number. In such a case, the interpolation process is not performed because the address in the LUT corresponding to the gradation value of the image data is not being rewritten.

次に、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 control unit 4 determines the data LUT 51 (k) in the address (k) of the LUT 51 stored in the LUT memory 51 and the address (k of the LUT 52 stored in the LUT memory 52. The data LUT 52 (k) in the parenthesis is acquired. Then, the interpolation processing unit 8 performs an interpolation process using the LUT 51 (k) and the LUT 52 (k) acquired from the LUT read control unit 4.

一方、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 control unit 4 acquires the LUT 51 (k + 1) and the LUT 52 (k−1). The interpolation processing unit 8 performs interpolation processing using the LUT 51 (k + 1) and the LUT 52 (k−1).

[第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 image processing unit 10 shown in the first embodiment.

図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 LUT 62 includes an LUT 60 and an LUT 61. In the LUT 60, no data is contained in the address (that is, null data is inserted). The LUT 61 has an LUT corresponding to the number of gradations of image data to be processed. That is, the LUT 61 functions as a first lookup table, and the LUT 60 functions as a second lookup table. As shown in FIG. 8A, in a normal time when the LUT 62 is not rewritten, the LUT read control unit 4 reads only the address contents of the LUT 61 and outputs a signal S3 corresponding to the image data after the LUT conversion. doing.

図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 62 is rewritten. In the third embodiment, the LUT write control unit 3 rewrites the LUT 62 once. Specifically, the LUT write control unit 3 rewrites the even address (may be an odd address) of the LUT 61 and the LUT 60 into which null data has been inserted (indicated by reference sign S2). In this case, the LUT write control unit 3 rewrites the even address of the LUT 61 with data corresponding to the even address of the new LUT, and writes data corresponding to the odd address of the new LUT to the LUT 60. Thereby, in the LUT 63 after the rewriting is completed, all the address contents of the new LUT are written, and the contents of the odd addresses of the LUT before the rewriting remain as they are.

このとき、LUT読み出し制御部4は、上記のような書き換え中は書き換えが行われていない奇数アドレス内のデータのみを読み出す。そして、LUT読み出し制御部4は、LUT変換された画像データに対応する信号S3を出力する。   At this time, the LUT read control unit 4 reads only the data in the odd address that has not been rewritten during the rewrite as described above. Then, the LUT read control unit 4 outputs a signal S3 corresponding to the LUT-converted image data.

図8(c)には、新たなLUTのアドレス内容が全て書き換えられたときのLUT64について示す。LUTのアドレス内容の書き込みが全て終了したとき、LUT書き込み制御部3は、LUT63において書き込みを行わなかった奇数アドレスにヌルデータを挿入する。これにより、図8(c)に示す新たなLUT64が生成される。そして、LUT読み出し制御部4は、LUT64のヌルデータでないアドレス内容のみを読み出す。なお、上記では、ヌルデータを挿入するものについて示したがこれに限定はされない。例えば、ヌルデータを挿入しないで、任意の値を挿入してもよい。この場合は、挿入された任意のデータをLUT変換に用いないようにする。   FIG. 8C shows the LUT 64 when the address contents of the new LUT are all rewritten. When all the writing of the address contents of the LUT is completed, the LUT writing control unit 3 inserts null data at odd addresses that were not written in the LUT 63. As a result, a new LUT 64 shown in FIG. 8C is generated. The LUT read control unit 4 then reads only the address contents that are not null data in the LUT 64. In addition, although shown about what inserts null data in the above, it is not limited to this. For example, an arbitrary value may be inserted without inserting null data. In this case, the inserted arbitrary data is not used for the LUT conversion.

以上のように第3実施形態では、ヌルデータが挿入された第2のルックアップテーブルを利用して、LUT書き換え制御部3は1回でLUTの書き換えを行う。これにより、LUTの偶数アドレス又は奇数アドレスのいずれか一方のアドレス内容のみを用いてLUT変換する期間を短くすることができる。よって、前述した実施形態よりも表示される画像に違和感を生じさせない。また、LUTを0、1、2、・・・と通常の順序で書き換えができるので、LUT書き込み制御部3などの制御が簡単になる。   As described above, in the third embodiment, the LUT rewrite control unit 3 rewrites the LUT at a time using the second lookup table in which null data is inserted. As a result, the LUT conversion period using only the address contents of either the even address or the odd address of the LUT can be shortened. Therefore, a sense of incongruity is not caused in the displayed image as compared with the above-described embodiment. Further, since the LUT can be rewritten in the normal order of 0, 1, 2,..., The control of the LUT write control unit 3 and the like is simplified.

次に、第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 image processing unit 11 shown in the second embodiment.

図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 62 is rewritten. In this case, the LUT rewrite method by the LUT write control unit 3 is the same as described above.

本変形例では、LUT読み出し制御部4が読み出したデータを補間処理部8が補間処理する点で前述したものとは異なる。LUT読み出し制御部4は、画像データの階調値に対応するアドレスが書き換え途中である場合、当該アドレスに隣接する書き込み中でないアドレス内容を2つ読み出す。そして、補間処理部8は、その2つのアドレス内容に基づいて補間処理を行う。また、画像データの階調値に対応するアドレスが書き換え途中でない場合、LUT読み出し制御部4は、当該アドレスのデータのみを読み出す。この場合、補間処理部8は補間処理を行わない。このようにして、補間処理部8で処理されたデータに対応する信号S5が生成される。   This modification differs from that described above in that the interpolation processing unit 8 performs interpolation processing on the data read by the LUT read control unit 4. When the address corresponding to the gradation value of the image data is being rewritten, the LUT read control unit 4 reads two address contents adjacent to the address that are not being written. The interpolation processing unit 8 performs interpolation processing based on the contents of the two addresses. In addition, when the address corresponding to the gradation value of the image data is not in the middle of rewriting, the LUT read control unit 4 reads only the data at the address. In this case, the interpolation processing unit 8 does not perform interpolation processing. In this way, the signal S5 corresponding to the data processed by the interpolation processing unit 8 is generated.

以上のように、第3実施形態に係るLUTの書き換え方法及び読み出し方法に、補間処理部8による補間処理を付加することもできる。これにより、表示される画像を高品質にすることができる。   As described above, the interpolation processing by the interpolation processing unit 8 can be added to the LUT rewriting method and reading method according to the third embodiment. Thereby, the displayed image can be made high quality.

[第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 auxiliary LUT 70a. Here, for convenience of explanation, a case where the basic LUT 71a is 4 bits (16 gradations) and the auxiliary LUT 70a is 3 bits (8 gradations) is shown. The auxiliary LUT 70a has half the size of the basic LUT 71a, and the address number of the auxiliary LUT 70a is indicated as “0.5, 1.5, 2.5, 3.5. At normal times when the LUT 72 is not rewritten, the LUT read control unit 4 reads the address contents of both the basic LUT 71a and the auxiliary LUT 70a, and outputs a signal S3 corresponding to the image data after the LUT conversion. As a result, a gradation region having a large inclination in the LUT pattern A3 can be displayed with high image quality.

図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 basic LUT 71b and an auxiliary LUT 70b. First, in the first time, the LUT write control unit 3 rewrites only the auxiliary LUT 70a in the LUT 72 with the data of the even address of the new basic LUT 71b (indicated by reference numeral S2). As a result, in the LUT 73 after completion of rewriting, the contents of the even addresses of the basic LUT 71b of the new LUT are written, and the contents of the addresses of the original basic LUT 71a are all left as they are.

上記の書き換え途中の際、LUT読み出し制御部4は、書き換えが行われていない基本LUT71aのアドレス内容を全て読み出す。そして、LUT読み出し制御部4は、LUT変換された画像データに対応する信号S3を出力する。   During the above rewriting, the LUT read control unit 4 reads all the address contents of the basic LUT 71a that has not been rewritten. Then, the LUT read control unit 4 outputs a signal S3 corresponding to the LUT-converted image data.

図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 write control unit 3 rewrites the contents of the even address of the original basic LUT 71a with the data of the odd address of the new basic LUT 71b. As a result, in the LUT 74 after completion of rewriting, all the address contents of the new basic LUT 71b are written, and the odd address contents of the original basic LUT 71a remain unchanged. During rewriting, the LUT read control unit 4 reads only the contents of the odd addresses of the original basic LUT 71a that has not been rewritten.

図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 write control unit 3 rewrites the contents of the odd address of the original basic LUT 71a with the data of the new auxiliary LUT 70b. Thereby, in the LUT 75 after the rewriting is completed, all the contents of the basic LUT 71b and the auxiliary LUT 70b of the new LUT are rewritten. During the third rewrite, the LUT read control unit 4 reads all the contents of the new basic LUT 71b that has not been rewritten at that time. When the above processing is completed, the LUT having the new basic LUT 71b and the auxiliary LUT 70b is obtained, and the LUT read control unit 4 reads all the contents of the new 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 write control unit 3 rewrites the LUT in three steps using the auxiliary LUT. If the even address is simply rewritten with the address content of the new even address (hereinafter referred to as “even number → even number”, etc.) or rewritten as auxiliary → auxiliary, the address interval becomes “0.5”, “1” or “2”. "Are mixed and ununiform timing occurs, and the displayed image is uncomfortable. However, since the method of the fourth embodiment is rewritten as even → odd → auxiliary, the period in which the basic LUT (not the entire LUT) is used is longer than in the above case. Therefore, in the method of the fourth embodiment, since the address of the basic LUT is always in increments of “1”, the image quality without interpolation does not cause a sense of incongruity, and the circuit for interpolation can be configured simply.

次に、第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 image processing unit 11 shown in the second embodiment.

図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 interpolation processing unit 8 of the image processing unit 11 shown in the second embodiment. Since this interpolation processing is the same as that described above, description thereof is omitted.

以上のように、第4実施形態に係るLUTの書き換え方法及び読み出し方法に、補間処理部8による補間処理を付加することもできる。これにより、表示される画像を高品質にすることができる。また、補間処理を行う期間が短いため、補間処理のための演算回路を簡単なものにすることができる。   As described above, the interpolation processing by the interpolation processing unit 8 can be added to the LUT rewriting method and reading method according to the fourth embodiment. Thereby, the displayed image can be made high quality. In addition, since the period for performing the interpolation process is short, the arithmetic circuit for the interpolation process can be simplified.

本発明の第1実施形態に係る画像表示装置の概略構成を示す図である。1 is a diagram illustrating a schematic configuration of an image display device according to a first embodiment of the present invention. LUT変換の一例を示す図である。It is a figure which shows an example of LUT conversion. 本発明の第1実施形態に係るLUTの書き換え方法と読み出し方法を示す図である。It is a figure which shows the rewriting method and reading method of LUT which concern on 1st Embodiment of this invention. 本発明の第2実施形態に係る画像表示装置の概略構成を示す図である。It is a figure which shows schematic structure of the image display apparatus which concerns on 2nd Embodiment of this invention. 本発明の第2実施形態に係るLUTの書き換え方法と読み出し方法を示す図である。It is a figure which shows the rewriting method and reading method of LUT which concern on 2nd Embodiment of this invention. 本発明の第2実施形態に係るLUTメモリの構成例を示す図である。It is a figure which shows the structural example of the LUT memory which concerns on 2nd Embodiment of this invention. LUTから読み出されるアドレス内容を示す図である。It is a figure which shows the address content read from LUT. 本発明の第3実施形態に係るLUTの書き換え方法と読み出し方法を示す図である。It is a figure which shows the rewriting method and reading method of LUT which concern on 3rd Embodiment of this invention. 第3実施形態に係る他のLUTの書き換え方法と読み出し方法を示す図である。It is a figure which shows the rewriting method of another LUT and the reading method which concern on 3rd Embodiment. 本発明の第4実施形態に係るLUT変換を示す図である。It is a figure which shows LUT conversion which concerns on 4th Embodiment of this invention. 本発明の第4実施形態に係るLUTの書き換え方法と読み出し方法を示す図である。It is a figure which shows the rewriting method and reading method of LUT which concern on 4th Embodiment of this invention. 第4実施形態に係る他のLUTの書き換え方法と読み出し方法を示す図である。It is a figure which shows the rewriting method and read-out method of other LUT which concern on 4th Embodiment.

符号の説明Explanation of symbols

1 画像形成部、 2 LUT形成部、 3 LUT書き込み制御部、 4 LUT読み出し制御部、 5 LUTメモリ、 7 画像表示部、 8 補間処理部、 10、11 画像処理部、 21、22 画像表示装置
DESCRIPTION OF SYMBOLS 1 Image formation part, 2 LUT formation part, 3 LUT write control part, 4 LUT read control part, 5 LUT memory, 7 Image display part, 8 Interpolation process part, 10, 11 Image process part, 21, 22 Image display apparatus

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に記載の画像処理装置。 When the gradation value of the acquired image data matches the address at which the writing is performed, the gradation value of the image data is set in two or more addresses that are not written in the vicinity of the address. The image processing apparatus according to claim 1, further comprising interpolation means for performing interpolation based on data. 前記書き込み手段は、前記ルックアップテーブルの偶数アドレスと奇数アドレスを別々にしてアドレス内のデータを書き込むことを特徴とする請求項1又は2に記載の画像処理装置。 3. The image processing apparatus according to claim 1, wherein the writing unit writes the data in the address separately for the even address and the odd address of the lookup table. 前記ルックアップテーブルは、前記取得した画像データの階調数に対応する第1のルックアップテーブルと、第2のルックアップテーブルと、を有し、
前記第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回目に前記第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.
前記第2のルックアップテーブルは、前記第1のルックアップテーブルの半分のアドレス数であり、前記第1のルックアップテーブルのアドレス内のデータの中間値を有し、
前記書き込み手段は、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.
前記ルックアップテーブル記憶手段は、2ポートRAMを2つ備えることを特徴とする請求項2及至5のいずれか一項に記載の画像処理装置。 6. The image processing apparatus according to claim 2, wherein the lookup table storage unit includes two 2-port RAMs. 前記ルックアップテーブル記憶手段は、1ポートRAMを4つ備えることを特徴とする請求項2及至5のいずれか一項に記載の画像処理装置。 6. The image processing apparatus according to claim 2, wherein the lookup table storage unit includes four 1-port RAMs. 処理すべき画像データを取得する工程と、
アドレス内容として階調値を有するルックアップテーブルを記憶するルックアップテーブル記憶工程と、
前記取得した画像データの階調値から前記ルックアップテーブルのアドレス内容を読み出す工程と、
前記ルックアップテーブルのアドレス内容を複数回に分けて書き込む書き込み工程と、を有し、
前記読み出し工程は、前記書き込み手段が書き込みを行っているときは、書き込みが行われていないアドレス内容を読み出すことを特徴とする画像処理方法。
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.
JP2004081517A 2004-03-19 2004-03-19 Image processing device Expired - Fee Related JP4815749B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (17)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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