JP2004206138A - Apparatus and method for image processing - Google Patents

Apparatus and method for image processing Download PDF

Info

Publication number
JP2004206138A
JP2004206138A JP2004024234A JP2004024234A JP2004206138A JP 2004206138 A JP2004206138 A JP 2004206138A JP 2004024234 A JP2004024234 A JP 2004024234A JP 2004024234 A JP2004024234 A JP 2004024234A JP 2004206138 A JP2004206138 A JP 2004206138A
Authority
JP
Japan
Prior art keywords
image
image processing
raster
raster image
memory
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
JP2004024234A
Other languages
Japanese (ja)
Other versions
JP3781039B2 (en
JP2004206138A5 (en
Inventor
Daigo Sasaki
大吾 佐々木
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2004024234A priority Critical patent/JP3781039B2/en
Publication of JP2004206138A publication Critical patent/JP2004206138A/en
Publication of JP2004206138A5 publication Critical patent/JP2004206138A5/ja
Application granted granted Critical
Publication of JP3781039B2 publication Critical patent/JP3781039B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an apparatus and a method for image processing that can display an image which is not inferior to a normal raster image even when the memory capacity of a memory incorporated display is reduced. <P>SOLUTION: The image processing apparatus when inputting a raster image 1 to a memory 2 performs multi-valued dither processing at an image processing part front stage 4 and processes a raster image outputted from the memory 2 reversely to the multi-valued dither processing at an image processing part rear stage 5. Consequently, a feeling of granularity and false colors can be suppressed and a display device of high picture quality can be obtained. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

本発明は、画像処理装置及び画像処理方法に関し、特にラスタ画像を蓄積するメモリを有したディスプレイの画像処理における高画質化並びにコンピュータからディスプレイへのラスタ画像の伝送効率を向上する画像処理装置及び画像処理方法に関する。   The present invention relates to an image processing apparatus and an image processing method, and more particularly, to an image processing apparatus and an image that improve image quality in image processing of a display having a memory for storing a raster image and improve transmission efficiency of a raster image from a computer to a display. Regarding the processing method.

現在、コンピュータからディスプレイへの画像伝送方法としては、ラスタ画像をフレーム周波数ごとに伝送する方法が用いられている。この方法は、データ伝送量が多く、静止画を表示している場合などには無駄が多いものであった。   At present, as a method of transmitting an image from a computer to a display, a method of transmitting a raster image for each frame frequency is used. This method has a large amount of data transmission and is wasteful when a still image is displayed.

データ伝送量を減らす方法としては、画像をJPEGやGIF等のファイル形式に圧縮して伝送する方法が考えられる。しかしながら、フレームごとに圧縮及び展開処理を行うには高速動作を行う演算処理部が必要であり、コスト増加につながる。   As a method of reducing the amount of data transmission, a method of transmitting an image by compressing the image into a file format such as JPEG or GIF can be considered. However, performing a compression and decompression process for each frame requires an arithmetic processing unit that operates at high speed, which leads to an increase in cost.

一方、静止画表示における伝送の無駄を減らす方法として、ディスプレイ側に内蔵したラスタ画像を蓄積するメモリであるフレームメモリを搭載し、静止画を表示している場合はデータ伝送を中断する方法が考えられる。これは、同時に消費電力を減少させることができるため、携帯情報機器などにおいて特に有効である。   On the other hand, as a method of reducing the waste of transmission in displaying a still image, a method of mounting a frame memory which is a memory for storing a raster image built in the display side and interrupting data transmission when a still image is displayed is considered. Can be This is particularly effective in portable information devices and the like because power consumption can be reduced at the same time.

携帯情報機器に搭載されているディスプレイは、特に消費電力の減少、チップ面積の減少が重要である。この要求を満たすため、静止画表示においてはメモリに蓄積された画像を表示し、かつ、チップ面積を占める割合の大きいメモリ部の容量が小さいことが望ましい。このように、メモリに画像を蓄積することでデータ伝送時の消費電力を減少し、メモリ容量を小さくすることでチップ面積を減少する。   For a display mounted on a portable information device, it is particularly important to reduce power consumption and chip area. In order to satisfy this demand, it is desirable that the image stored in the memory is displayed in the still image display, and that the capacity of the memory unit that occupies a large area in the chip area is small. As described above, the power consumption during data transmission is reduced by storing images in the memory, and the chip area is reduced by reducing the memory capacity.

メモリ容量を減少するには、画像データを圧縮する方法が考えられる。しかしながら、JPEG形式やGIF形式といった画像圧縮方法では、展開するための画像処理部が必要となり、チップ面積の減少、消費電力の減少という効果が薄れてしまう。   To reduce the memory capacity, a method of compressing image data can be considered. However, an image compression method such as the JPEG format or the GIF format requires an image processing unit for decompression, and the effects of reducing the chip area and power consumption are diminished.

その他の方法として、ラスタ画像のビットプレーン数を減らすことが考えられる。ここでビットプレーン数とは、2のn乗で量子化されたディジタル画像において、その階調を表すデータのビット数nであり、当該ビット数nのことを指すものである。このビットプレーン数を減らす方法には、多値ディザ法や固定しきい値法などがあり、その詳細は、非特許文献1に開示されている。これら多値ディザ法や固定しきい値法は、JPEG形式やGIF形式といった画像圧縮方法と異なり、圧縮画像を展開する必要がない。   As another method, it is conceivable to reduce the number of bit planes of the raster image. Here, the number of bit planes is the number n of bits of data representing the gradation in a digital image quantized by the power of 2 n, and indicates the number n of bits. Methods for reducing the number of bit planes include a multi-valued dither method and a fixed threshold method, the details of which are disclosed in Non-Patent Document 1. Unlike the image compression methods such as the JPEG format and the GIF format, the multi-value dither method and the fixed threshold method do not need to expand a compressed image.

図38は、従来の画像処理装置の概略構成を示すブロック図である。図38を用いて、従来の多値ディザ法を用いたラスタ画像のビットプレーン圧縮例として、RGB各色6ビットのラスタ画像がコンピュータから伝送され、各色6ビット表示を行うディスプレイ画像表示部を備える構成について説明する。   FIG. 38 is a block diagram showing a schematic configuration of a conventional image processing apparatus. Referring to FIG. 38, as a bit plane compression example of a raster image using a conventional multi-valued dither method, a configuration is provided in which a raster image of 6 bits for each color of RGB is transmitted from a computer and performs a 6-bit display for each color. Will be described.

まず、各色6ビットのラスタ画像1のうち、下位2ビットが比較器12に送られる。しきい値生成部11は、組織的ディザに基づくディザマトリクスを生成し、入力された画像の画素(XY座標値)から一意に決まる2ビット値を比較器12に出力する。   First, the lower 2 bits of the raster image 1 of 6 bits for each color are sent to the comparator 12. The threshold generation unit 11 generates a dither matrix based on organized dither, and outputs a 2-bit value uniquely determined from pixels (XY coordinate values) of the input image to the comparator 12.

比較器12は、ラスタ画像1から送られる下位2ビットとしきい値生成部11から送られる2ビット値とを比較し、しきい値生成部11から送られてきた値の方が大きいときは「1」を、その他の場合は「0」をセレクタ13に出力する。   The comparator 12 compares the lower 2 bits sent from the raster image 1 with the 2-bit value sent from the threshold generator 11, and when the value sent from the threshold generator 11 is larger, “ 1 is output to the selector 13 in other cases.

セレクタ13は、比較器12からの出力値に基づき、ラスタ画像1の上位4ビットをそのまま、又は1を減算した値をメモリ2に出力する。メモリ2に蓄積された各色4ビット画像は、ビット付加部14で4ビットのうちの上位2ビットの値を、入力された4ビット値の下位ビットとして付加し、6ビット画像として画像表示部3に出力する。   The selector 13 outputs to the memory 2 a value obtained by subtracting 1 from the upper 4 bits of the raster image 1 as it is, based on the output value from the comparator 12. The 4-bit image of each color stored in the memory 2 is added by the bit adding unit 14 with the value of the higher 2 bits of the 4 bits as the lower bit of the input 4-bit value, and is converted into a 6-bit image by the image display unit 3. Output to

このような構成により、多値ディザ法によるビットプレーン数の減少が行われ、擬似的に各色6ビットの画像を表示するものである。   With such a configuration, the number of bit planes is reduced by the multi-value dither method, and a 6-bit image of each color is displayed in a pseudo manner.

一方、特許文献1には、ディジタル化した入力信号をレベル圧縮した後伝送し、伝送された圧縮信号をレベル伸張するディジタル信号において、最大値を検出した後、最大値に応じてディザ値を加算した後レベル圧縮し、レベル伸張した後にディザ値を減算する各回路を備えるディジタル信号の処理装置(以下、第1の従来技術)が開示されている。   On the other hand, Patent Document 1 discloses that a digital signal which is obtained by level-compressing a digitized input signal and which expands the level of the transmitted compressed signal, detects a maximum value, and adds a dither value according to the maximum value. A digital signal processing device (hereinafter, referred to as a first related art) including circuits for performing a level compression after performing a level expansion, and subtracting a dither value after performing a level expansion is disclosed.

このような構成にすることにより、1次元信号であるディジタル化されたオーディオ信号において誤差の少ない出力が得られている。
特公平2−8493号公報 画像電子学会編、「新版画像電子ハンドブック」、初版、コロナ社、1993年3月31日、p.41−51
With such a configuration, an output with less error is obtained in a digitized audio signal that is a one-dimensional signal.
Japanese Patent Publication No. 2-8493 Image Electronics Society of Japan, "New Edition Image Electronics Handbook", First Edition, Corona, March 31, 1993, pp. 41-51

しかしながら、従来の多値ディザ法や固定しきい値法では、ビットプレーン数を減らすことにより、偽輪郭、偽色の発生、粒状感等がみられ、画質が低下してしまうという問題点があった。
また、ディスプレイへの表示形態として、スーパーインポーズと呼ばれる手法がある。これは、ある表示画面上に「文字」のような異なる画面を重ねて表示する技術である。この場合、入力画像として、複数の画面(例えば、画像と文字)を用意しなければならないため、入力画像のデータ容量が大きくなってしまい、入力画像をメモリに蓄積したり、バス幅に制限のある伝送路を介して伝送することが難しくなってしまう。
さらに、携帯端末など、表示画面の最大解像度が小さいディスプレイでは、地図などの大きい画像を表示する際に画像をスクロールさせる必要がある。このスクロール表示は一見単純な動作であるが、表示メモリの書き換え量が多くなり、これに伴って消費電力が増大してしまうという問題がある。
However, in the conventional multi-valued dither method and the fixed threshold value method, there is a problem that, by reducing the number of bit planes, false contours, false colors, graininess, etc. are observed, and the image quality is reduced. Was.
As a display form on a display, there is a technique called superimposition. This is a technique in which different screens such as "characters" are superimposed and displayed on a certain display screen. In this case, since a plurality of screens (for example, images and characters) must be prepared as the input image, the data capacity of the input image becomes large, and the input image is stored in the memory or the bus width is limited. Transmission via a certain transmission path becomes difficult.
Further, in a display having a small maximum resolution of a display screen such as a mobile terminal, it is necessary to scroll an image when displaying a large image such as a map. This scroll display is a simple operation at first glance, but there is a problem in that the amount of rewriting of the display memory increases and the power consumption increases accordingly.

また、図39(a)に示すように、ディスプレイなどの表示装置に画像を表示させる場合、主走査方向のラインに沿って各画素に対して画像信号を入力していき、これを副走査方向に複数ライン繰り返すことで全ての画素に対して画像信号を入力することになる。   When an image is displayed on a display device such as a display as shown in FIG. 39A, an image signal is input to each pixel along a line in the main scanning direction, and the image signal is input to the sub-scanning direction. The image signal is input to all the pixels by repeating a plurality of lines.

ここで、第1の従来技術を、画像表示に適用した場合を考える。なお、この例では、ディザ周期を4ビットとする。
(b)に示すように、表示装置の主走査方向の画素数が4n+1の場合は、主走査方向、副走査方向ともにディザに周期性が現れるため、画像の圧縮・伸張に伴う画質の劣化は小さい。これは、表示装置の主走査方向の画素数が4n+2や4n+3の場合も同様である。すなわち、表示装置の主走査方向の画素数がディザ周期を因数として含まない場合は、画像の圧縮・伸張に伴う画質の劣化は小さい。
しかし、表示装置の主走査方向の画素数が4nである場合、換言すると、表示装置の主走査方向の画素数がディザ周期を因数として含む場合は、(c)に示すように、主走査方向にはディザの周期性が表れるが副走査方向にはディザの周期性が見られなくなり、画像の圧縮・伸張にともなう画質の劣化が大きくなってしまう。
Here, a case is considered in which the first related art is applied to image display. In this example, the dither cycle is 4 bits.
As shown in (b), when the number of pixels in the main scanning direction of the display device is 4n + 1, the dithering appears in both the main scanning direction and the sub-scanning direction. small. This is the same when the number of pixels in the main scanning direction of the display device is 4n + 2 or 4n + 3. That is, when the number of pixels in the main scanning direction of the display device does not include the dither cycle as a factor, deterioration of image quality due to image compression / expansion is small.
However, when the number of pixels in the main scanning direction of the display device is 4n, in other words, when the number of pixels in the main scanning direction of the display device includes the dither cycle as a factor, as shown in FIG. , The dither periodicity appears, but the dither periodicity is not seen in the sub-scanning direction, and the image quality is greatly deteriorated due to the compression and expansion of the image.

ラスタ画像に対するディザ処理の場合は、ディザ周期が小さいほど高周波な微小ノイズが得られるため、画質の劣化を小さくできる。しかし、一般的に、表示装置の主走査方向の画素数は、“2”〜“6”を因数として含む数(480,720,840等)であるため、第1の従来技術を画像表示に適用すると、図39(c)の状態となり、画像の圧縮・伸張に伴って画質が劣化してしまうことになる。
表示装置の主走査方向の画素数の因数とならないように、ディザの周期を大きくした場合は、ディザ処理の本来の目的である高周波な微小ノイズが得られなくなり、やはり画像の圧縮・伸張に伴って画質が劣化してしまうことになる。
In the case of dither processing on a raster image, the smaller the dither cycle is, the higher the frequency of minute noise is obtained, so that deterioration in image quality can be reduced. However, in general, the number of pixels in the main scanning direction of the display device is a number including “2” to “6” as factors (480, 720, 840, etc.). When applied, the state shown in FIG. 39C is reached, and the image quality is degraded as the image is compressed and expanded.
If the period of dither is increased so as not to be a factor of the number of pixels in the main scanning direction of the display device, high-frequency minute noise, which is the original purpose of dither processing, cannot be obtained. Image quality is degraded.

また、第1の従来技術をそのまま適用すると、複数ビットからなるディジタル信号のどの桁にディザ値を加算するかを特定するために、圧縮側に最大値検出回路を設けた上で、最大値の最大利用桁ビットが何桁目であるかを示す信号を随時、ディジタル信号とともに受信側へ送信しなければならなくなる。さらに、圧縮したディジタル信号をメモリなどに蓄積する場合は、ディジタル信号とともに最大利用桁ビットが何桁目であるかを示す信号を蓄積しなければならない。
しかし、このような処理を行う構成は、回路が複雑となり、消費電力やチップ面積が増大してしまうためディスプレイなどの画像処理装置に適用する構成として好ましいものではない。
Further, if the first prior art is applied as it is, a maximum value detection circuit is provided on the compression side in order to specify which digit of the digital signal to be added with the dither value, and then the maximum value A signal indicating the number of the most significant digit bit must be transmitted to the receiving side together with the digital signal at any time. Further, when storing the compressed digital signal in a memory or the like, it is necessary to store a signal indicating the number of the maximum available digit bit together with the digital signal.
However, a configuration for performing such processing is not preferable as a configuration applied to an image processing apparatus such as a display because a circuit becomes complicated and power consumption and a chip area increase.

さらに、第1の従来技術ではディジタル信号の最大値及び最小値での処理方法について何ら示唆されていない。このため、ディスプレイなどのように、最大値である「白」表示(例えば、文字出力や幾何学図形の表示など)や最小値である「黒」表示が頻繁に行われる画像処理装置においては画質の劣化を招いてしまうことになる。これは「黒」・「白」表示において粒状感がみられやすくなるためである。
このように、第1の従来技術をそのまま画像処理に適用した場合は、画像の圧縮・伸張に伴う画質の劣化を招くことになる。
Further, the first prior art does not suggest any processing method using the maximum value and the minimum value of the digital signal. For this reason, in an image processing apparatus such as a display which frequently displays a maximum value of “white” (for example, a character output or a display of a geometric figure) or a minimum value of “black”, the image quality is high. Will be deteriorated. This is because graininess is more likely to be seen in “black” and “white” displays.
As described above, when the first related art is directly applied to the image processing, the image quality is deteriorated due to the compression and expansion of the image.

よって、第1の従来技術を画像表示に応用する場合は、二次元信号であるラスタ画像に適したディザマトリクスの構成を適用しなければならない。さらに画像はその種類(文字表示か自然画表示か)によって画素の階調値に偏りが生じることから、よりラスタ画像に適した画像処理を行うのが望ましい。   Therefore, when the first related art is applied to image display, it is necessary to apply a dither matrix configuration suitable for a raster image which is a two-dimensional signal. Further, since the gradation value of the pixel is biased depending on the type (character display or natural image display) of the image, it is desirable to perform image processing more suitable for a raster image.

さらに、表示装置の画像表示においては、全ての画像に対して圧縮するとは限らない。たとえば動画表示のような場合には、フレームごとに画像を圧縮伸張処理することとなり、消費電力や演算量が増加してしまうため、画像を圧縮伸張することはあまり望ましくない。   Furthermore, in the image display of the display device, not all images are compressed. For example, in the case of displaying a moving image, the image is subjected to compression / expansion processing for each frame, which increases power consumption and the amount of calculation. Therefore, it is not desirable to compress / expand the image.

本発明は、上記問題点を解消するために成されたものであり、メモリ容量を減らしても通常のラスタ画像と遜色のない画像処理を行うとともに、メモリ容量のみならず、ラスタ画像のデータ伝送においても画質劣化を抑えながら伝送容量を減らすことのできる画像処理装置及び画像処理方法を提供することを目的とする。さらに本発明は、そのような画像処理を用いて画像伝送、メモリの効率利用をはかり、消費電力や演算量を低減できる優れた画像処理装置及び画像処理方法を提供することを目的とする。   SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and performs image processing that is comparable to that of a normal raster image even when the memory capacity is reduced. It is another object of the present invention to provide an image processing apparatus and an image processing method capable of reducing transmission capacity while suppressing image quality deterioration. It is a further object of the present invention to provide an image processing apparatus and an image processing method which can use such image processing to transmit an image and efficiently use a memory to reduce power consumption and the amount of calculation.

上記目的を達成するため、本発明は、第1の態様として、入力されたラスタ画像を原画像のままの状態で蓄積手段へ蓄積できなかったり、表示装置において表示できない場合には、原画像に対して圧縮・伸張を行う画像処理装置を提供するものである。
本発明の第4の態様は、入力された画像データを蓄積手段に蓄積し、該蓄積手段から読み出した画像データに基づいて所定の表示装置に画像表示を行わせる画像処理装置であって、原画像である第1のラスタ画像を圧縮して圧縮ラスタ画像を生成する第1の画像処理手段と、圧縮ラスタ画像を蓄積手段に蓄積させる手段と、蓄積手段に蓄積された圧縮ラスタ画像を読み出して伸張し、第2のラスタ画像を生成する第2の画像処理手段と、第2のラスタ画像を表示装置へ出力する手段とを有し、第1のラスタ画像のデータ量が蓄積手段の蓄積容量よりも大きい場合は圧縮ラスタ画像を生成することを特徴とする画像処理装置である。上記本発明の第1の態様においては、第1及び第2の画像処理手段は、第1のラスタ画像及び第2のラスタ画像の要素成分の最大値及び最小値が一致するように画像処理を行うことが好ましい。
上記本発明の第1の態様のいずれの構成においても、第1のラスタ画像のデータ量が蓄積手段の蓄積容量以下の場合には、該第1のラスタ画像を非圧縮で蓄積手段に蓄積するか第1の画像処理手段による処理を施して蓄積手段に蓄積するかを選択する手段をさらに有することが好ましい。また、第1のラスタ画像を、第1の画像処理手段、蓄積手段及び第2の画像処理手段を介さずに表示装置へ出力する手段と、表示装置に第1のラスタ画像及び第2のラスタ画像のいずれを出力するかを選択する手段とをさらに有することが好ましく、これに加えて、表示装置へ第1のラスタ画像を出力する場合には、第1の画像処理手段、蓄積手段及び第2の画像処理手段の動作を停止させる手段をさらに有することがより好ましい。また、第2の画像処理手段が、表示装置の駆動回路と同じ基板上に形成されることが好ましい。また、第1の画像処理手段が、表示装置の駆動回路と同じ基板上に形成されることが好ましい。
In order to achieve the above object, the present invention provides, as a first aspect, a case where an input raster image cannot be stored in a storage means in the state of the original image as it is or cannot be displayed on a display device. It is intended to provide an image processing apparatus that performs compression / expansion.
A fourth aspect of the present invention is an image processing apparatus that stores input image data in a storage unit and causes a predetermined display device to display an image based on the image data read from the storage unit. First image processing means for compressing a first raster image as an image to generate a compressed raster image, means for accumulating the compressed raster image in the accumulating means, and reading the compressed raster image accumulated in the accumulating means. A second image processing unit that expands the image to generate a second raster image; and a unit that outputs the second raster image to a display device. The data amount of the first raster image is stored in the storage capacity of the storage unit. An image processing apparatus characterized in that a compressed raster image is generated when the size is larger than the threshold value. In the first aspect of the present invention, the first and second image processing means perform image processing so that the maximum value and the minimum value of the element components of the first raster image and the second raster image match. It is preferred to do so.
In any configuration of the first aspect of the present invention, when the data amount of the first raster image is equal to or less than the storage capacity of the storage unit, the first raster image is stored in the storage unit without compression. It is preferable that the apparatus further comprises means for selecting whether to perform the processing by the first image processing means and store the processed data in the storage means. A means for outputting the first raster image to the display device without passing through the first image processing means, the storage means, and the second image processing means; and a means for outputting the first raster image and the second raster image to the display device. Preferably, the image processing apparatus further includes a unit for selecting which one of the images is to be output. In addition to this, when the first raster image is output to the display device, the first image processing unit, the storage unit, and the It is more preferable to further include means for stopping the operation of the second image processing means. Further, it is preferable that the second image processing means is formed on the same substrate as the drive circuit of the display device. Further, it is preferable that the first image processing means is formed on the same substrate as the drive circuit of the display device.

上記本発明の第1の態様によれば、入力されたラスタ画像を原画像のままの状態で蓄積手段へ蓄積できなかったり、表示装置において表示できない場合には、原画像に対して圧縮・伸張を行うため、入力された原画像をそのデータ量やサイズに関わらず蓄積手段に蓄積することが可能となる。すなわち、原画像のデータ量や画像サイズに関わらず第2のラスタ画像を生成し、表示装置へ出力することが可能となる。
例えば、本態様の画像処理装置は、自然画像に1ビット分の圧縮・伸張処理を行い、得られた1ビット分の容量を文字情報に適用することによって、メモリ容量の増加を招くことなくスーパーインポーズ処理を行うことが可能である。
また、地図などの表示装置の最大解像度よりも大きい画像を表示する場合においても、ビットプレーン数の圧縮・伸張処理によって、少ないメモリ容量で画像を保存することができ、外部から画像を再取得することなく表示装置においてスクロール表示することができる。これにより、画像表示に伴う消費電力の低減が可能となる。
なお、本態様の画像処理装置を基板(例えば、ガラス基板)上に駆動回路を形成した表示装置に適用する場合は、同じプロセスで基板上に形成することが可能である。よって、本態様の画像処理装置を表示装置に適用すれば、省メモリによる面積減少、及び低消費電力を実現できる。
According to the first aspect of the present invention, when the input raster image cannot be stored in the storage means in the state of the original image as it is or cannot be displayed on the display device, the original image is compressed and decompressed. Is performed, the input original image can be stored in the storage unit regardless of the data amount and size. That is, the second raster image can be generated and output to the display device regardless of the data amount or the image size of the original image.
For example, the image processing apparatus according to this aspect performs a 1-bit compression / expansion process on a natural image, and applies the obtained 1-bit capacity to character information, so that the memory capacity is not increased and a super It is possible to perform an imposition process.
Also, when displaying an image larger than the maximum resolution of a display device such as a map, the image can be saved with a small memory capacity by compressing / expanding the number of bit planes, and the image is reacquired from outside. Scroll display can be performed on the display device without the need. As a result, it is possible to reduce power consumption associated with image display.
Note that in the case where the image processing device of this embodiment is applied to a display device in which a driver circuit is formed over a substrate (for example, a glass substrate), the image processing device can be formed over the substrate by the same process. Therefore, if the image processing device of this aspect is applied to a display device, it is possible to realize a reduction in area due to memory saving and low power consumption.

また、上記目的を達成するため、本発明は、第2の態様として、入力されたラスタ画像を原画像のままの状態で蓄積手段へ蓄積できなかったり、表示装置において表示できない場合には、原画像に対して圧縮・伸張を行う画像処理方法を提供するものである。
本発明の第11の態様は、入力された画像データを蓄積手段に蓄積し、該蓄積手段から読み出した画像データに基づいて所定の表示装置に画像表示を行わせる画像処理方法であって、原画像である第1のラスタ画像のデータ量が蓄積手段の蓄積容量よりも大きい場合には、該第1のラスタ画像を圧縮して圧縮ラスタ画像を生成する第1の画像処理ステップと、圧縮ラスタ画像を蓄積手段に蓄積するステップと、蓄積手段に蓄積された圧縮ラスタ画像を読み出して伸張し、第2のラスタ画像を生成する第2の画像処理ステップと、第2のラスタ画像を表示装置へ出力するステップとを有することを特徴とする画像処理方法である。
上記本発明の第2の態様においては、第1の画像処理ステップの前段に、第1のラスタ画像のデータ量が蓄積手段の蓄積容量以下の場合、該第1のラスタ画像を非圧縮で蓄積手段に蓄積するか圧縮して蓄積手段に蓄積するかを選択する選択ステップをさらに有し、該選択ステップにおいて第1のラスタ画像を圧縮することが選択された場合には、データ量が蓄積手段の蓄積容量以下の第1のラスタ画像に対しても第1の画像処理ステップにおいて画像処理を実行することが好ましい。
また、上記本発明の第2の態様のいずれの画像処理方法においても、表示装置に第1のラスタ画像及び第2のラスタ画像のいずれを出力するかを選択する出力切替ステップを最前段にさらに有することが好ましく、これに加えて、出力切替ステップの後段に、当該出力切替ステップにおいて第1のラスタ画像が選択された場合には、第1の画像処理ステップ及び第2の画像処理ステップによる画像処理を停止させる処理停止ステップをさらに有することがより好ましい。
In order to achieve the above object, the present invention provides, as a second aspect, the case where the input raster image cannot be stored in the storage means as it is in the original image or cannot be displayed on the display device. An image processing method for compressing / expanding an image is provided.
An eleventh aspect of the present invention is an image processing method that stores input image data in a storage unit and causes a predetermined display device to display an image based on the image data read from the storage unit. A first image processing step of compressing the first raster image to generate a compressed raster image when the data amount of the first raster image as the image is larger than the storage capacity of the storage unit; Storing the image in the storage means, reading and expanding the compressed raster image stored in the storage means, generating a second raster image, and transmitting the second raster image to the display device. Outputting the image.
In the second aspect of the present invention, before the first image processing step, if the data amount of the first raster image is equal to or less than the storage capacity of the storage means, the first raster image is stored without compression. A step of selecting whether the first raster image is to be stored in the storage means or to compress the first raster image in the storage means. It is preferable to execute the image processing in the first image processing step also for the first raster image having the storage capacity equal to or less than.
In any of the image processing methods according to the second aspect of the present invention, an output switching step of selecting which of the first raster image and the second raster image to output to the display device is further provided at the forefront. Preferably, in addition to this, after the output switching step, when the first raster image is selected in the output switching step, the image by the first image processing step and the second image processing step More preferably, the method further includes a processing stop step of stopping the processing.

上記本発明の第2の態様によれば、入力されたラスタ画像を原画像のままの状態で蓄積手段へ蓄積できなかったり、表示装置において表示できない場合には、原画像に対して圧縮・伸張を行うため、入力された原画像をそのデータ量やサイズに関わらず蓄積手段に蓄積することが可能となる。すなわち、本態様の画像処理方法を実行する装置は、原画像のデータ量や画像サイズに関わらず第2のラスタ画像を生成し、表示装置へ出力することが可能となる。
例えば、地図などの表示装置の最大解像度よりも大きい画像を表示する場合においても、ビットプレーン数の圧縮・伸張処理によって、少ないメモリ容量で画像を保存することができ、外部から画像を再取得することなく表示装置においてスクロール表示することができる。これにより、画像表示に伴う消費電力の低減が可能となる。また、地図などのデータ量が蓄積手段の蓄積容量よりも大きい画像を圧縮して蓄積手段へ蓄積し、外部から画像を再取得することなく表示装置において表示できる。
According to the second aspect of the present invention, when the input raster image cannot be stored in the storage means as it is in the original image or cannot be displayed on the display device, the original image is compressed and decompressed. Is performed, the input original image can be stored in the storage unit regardless of the data amount and size. That is, the apparatus that executes the image processing method of the present embodiment can generate the second raster image regardless of the data amount and the image size of the original image and output the second raster image to the display device.
For example, even when displaying an image larger than the maximum resolution of a display device such as a map, the image can be saved with a small memory capacity by compressing / expanding the number of bit planes, and the image is reacquired from outside. Scroll display can be performed on the display device without the need. As a result, it is possible to reduce power consumption associated with image display. Further, an image in which the data amount of a map or the like is larger than the storage capacity of the storage means can be compressed and stored in the storage means, and can be displayed on the display device without reacquiring the image from outside.

本発明によれば、表示装置に送るビットマップ画像の圧縮・伸張を少ないロジック数で行うことができ、メモリ容量や伝送容量の減少を図ることができる。   According to the present invention, compression / expansion of a bitmap image to be sent to a display device can be performed with a small number of logics, and the memory capacity and the transmission capacity can be reduced.

また、本発明によれば、ビット付加を行った画像は原画像との誤差が多値ディザ法と比較して小さくなることから、誤差が大きい場合に現れる粒状感や偽色を抑制でき、高画質な表示が得られる。   Further, according to the present invention, since an error in the bit-added image is smaller than that in the original image in comparison with the multi-value dither method, it is possible to suppress graininess and false color appearing when the error is large, High quality display is obtained.

また、本発明によれば、例えば、静止画表示時には圧縮された画像を選択し、動画表示時には画像処理を行わずにそのまま表示を行うことができる。よって、動画表示時には蓄積手段(例えば、メモリ)を介さずに表示できることから、蓄積手段の動作を停止させて、低消費電力化を図ることが可能である。   Further, according to the present invention, for example, a compressed image can be selected at the time of displaying a still image, and can be displayed without performing image processing at the time of displaying a moving image. Therefore, when a moving image is displayed, the moving image can be displayed without the intervention of the storage unit (for example, a memory). Therefore, it is possible to stop the operation of the storage unit and reduce power consumption.

また、本発明によれば、スーパーインポーズ表示においては、自然画像に1ビット分の圧縮・伸張処理を行い、得られた1ビット分の容量を文字情報に適用することによって、メモリ容量の増加を招くことなくスーパーインポーズ処理を行うことが可能である。
また、地図などの表示装置の最大解像度よりも大きい画像を表示する場合においても、ビットプレーン数の圧縮・伸張処理によって、少ないメモリ容量で画像を保存することができ、外部から画像を再取得することなく表示装置においてスクロール表示することができる。これにより、画像表示に伴う消費電力の低減が可能となる。
Further, according to the present invention, in the superimposed display, compression / expansion processing for one bit is performed on a natural image, and the obtained one-bit capacity is applied to character information, thereby increasing the memory capacity. , It is possible to perform the superimposing process without inducing.
Also, when displaying an image larger than the maximum resolution of a display device such as a map, the image can be saved with a small memory capacity by compressing / expanding the number of bit planes, and the image is reacquired from outside. Scroll display can be performed on the display device without the need. As a result, it is possible to reduce power consumption associated with image display.

また、本発明によれば、伝送容量の効率化を図った画像伝送装置及び画像処理方法を得ることができる。例えば、バス幅が16ビットしかない伝送路を用いてRGB各色6ビット(計18ビット)のラスタ画像のデータを伝送したい場合に、ラスタ画像に対してビットプレーン圧縮を施すことで、データをパラレル伝送することが可能となる。   Further, according to the present invention, it is possible to obtain an image transmission device and an image processing method that achieve an efficient transmission capacity. For example, when it is desired to transmit raster image data of 6 bits for each of RGB (18 bits in total) using a transmission path having a bus width of only 16 bits, the data is parallelized by performing bit plane compression on the raster image. It becomes possible to transmit.

また、本発明によれば、画像を受信するための伝送路における伝送容量の効率化を図った画像受信装置を得ることができる。
換言すると、ビットプレーン数が原画像よりも減少させられた状態の画像を受信することで、画像を受信するための伝送路の本数を削減したり、伝送の効率を高めたりするることが可能となる。また、受信した画像のビットプレーン数を増加させることにより、原画像と比較して画質に遜色がない画像を得ることができる。
Further, according to the present invention, it is possible to obtain an image receiving apparatus that achieves efficient transmission capacity in a transmission path for receiving an image.
In other words, by receiving an image with the number of bit planes reduced compared to the original image, it is possible to reduce the number of transmission paths for receiving images and to increase the transmission efficiency It becomes. Further, by increasing the number of bit planes of the received image, it is possible to obtain an image having the same image quality as the original image.

また、本発明によれば、基板(例えば、ガラス基板)上に駆動回路を形成した表示装置において、同じプロセスを用いて画像処理装置を基板上に形成することが可能である。よって、本発明を表示装置に適用すれば、省メモリによる面積減少、及び低消費電力を実現できる。   Further, according to the present invention, in a display device in which a drive circuit is formed over a substrate (for example, a glass substrate), an image processing device can be formed over the substrate by using the same process. Therefore, when the present invention is applied to a display device, it is possible to achieve a reduction in area due to memory saving and low power consumption.

本発明の原理は、ディザ処理という雑音付加処理を行ってビットプレーン数減少を行った画像に対して、その雑音付加処理とは逆の処理によりビットプレーン数を増加することで、従来、雑音付加により生じていた誤差成分を最小限にするものである。このようにすることで、粒状感の減少が図れるとともに、偽色を抑制することが可能となる。   The principle of the present invention is to increase the number of bit planes by performing processing opposite to the noise addition processing on an image in which the number of bit planes is reduced by performing noise addition processing called dither processing. This minimizes the error component caused by the above. By doing so, the graininess can be reduced, and false colors can be suppressed.

例えば、多値ディザ処理により6ビット信号を4ビット信号に変換し、その4ビット信号から6ビット信号に展開する場合を考える。ここで多値ディザ処理におけるディザマトリクスを組織的ディザによるものとすると、6−4=2ビット分のディザであるため、2進数で00、01、10、11のいずれかのディザ成分が入力信号に付加される。入力された6ビット信号をX、ディザ成分をDとすると、多値ディザ処理は、次式で表すことができる。
Y=int((X−D)/4)
For example, consider a case where a 6-bit signal is converted into a 4-bit signal by multi-value dither processing, and the 4-bit signal is expanded into a 6-bit signal. Here, if the dither matrix in the multi-level dither processing is based on the systematic dither, which is 6-4 = 2 bits of dither, any one of the dither components of 00, 01, 10, and 11 in binary is input signal. Is added to Assuming that the input 6-bit signal is X and the dither component is D, the multilevel dither processing can be represented by the following equation.
Y = int ((X−D) / 4)

ここで、int(X)はXの整数成分を示す。また、4で除算するのは6ビットから4ビットへの変換に対応している。例えば、入力信号が37(2進数で100101)であるなら、多値ディザ処理により、ディザ成分が00の場合は9(1001)、01の場合は9(1001)、10の場合は8(1000)、11の場合は8(1000)、というように変換されることになる。   Here, int (X) indicates an integer component of X. Division by 4 corresponds to conversion from 6 bits to 4 bits. For example, if the input signal is 37 (100101 in binary), the multi-level dither processing performs 9 (1001) when the dither component is 00, 9 (1001) when the dither component is 01, and 8 (1000) when the dither component is 10. ), 11 is converted to 8 (1000), and so on.

次に、この4ビット信号から6ビット信号への展開を行う。その際の変換式は以下に示すものである。
Z=4×Y+D+2
Next, the 4-bit signal is expanded into a 6-bit signal. The conversion formula at that time is shown below.
Z = 4 × Y + D + 2

ここで、定数の2を除いてみると、Y=(Z−D)/4となり、多値ディザ処理の逆の処理となることが分かる。上記変換式に基づいて上述した入力信号が37(2進数で100101)の信号を変換すると、ディザ成分が00の場合は38(100110)、01の場合は39(100111)、10の場合は36(100100)、11の場合は37(100101)となる。変換式における定数の2は、変換後の信号の平均値が入力信号に対して最も近い値をとるように付加されたオフセット値である。   Here, excluding the constant 2, Y = (Z−D) / 4, which indicates that the process is the reverse of the multi-value dither process. When the above-mentioned input signal is converted into a signal of 37 (100101 in binary) based on the above conversion formula, 38 (100110) when the dither component is 00, 39 (100111) when the dither component is 01, and 36 when the dither component is 10 In the case of (100100) and 11, it becomes 37 (100101). The constant 2 in the conversion formula is an offset value added so that the average value of the converted signal takes a value closest to the input signal.

この変換結果を従来の多値ディザの6ビット変換と比較すると、従来の変換によれば、4ビットのうち上位2ビット成分を下位2ビットとして付加するものであるので、00の場合は38(100110)、01の場合は38(100110)、10の場合は34(100010)、11の場合は34(100010)、というように変換される。   When this conversion result is compared with the conventional multi-bit dither 6-bit conversion, according to the conventional conversion, the upper 2 bit components of the 4 bits are added as the lower 2 bits. 100110), 01 is 38 (100110), 10 is 34 (100010), 11 is 34 (100010), and so on.

このことから明らかなように、本発明の変換処理によれば、全体的に入力信号に近い値をとっていることが分かる。これは本発明において粒状感の減少及び偽色の抑制が図れることを示している。   As is clear from this, according to the conversion processing of the present invention, it is understood that the overall value takes a value close to the input signal. This indicates that the graininess can be reduced and the false color can be suppressed in the present invention.

なお、ここでは6ビット信号から4ビット信号に変換したラスタ画像を6ビットに展開したが、これに限定するものではなく、5ビットに展開することも可能である。この場合、ディザ成分の上位ビットを用いて演算処理を行うことになる。具体的には、Z=2×Y+int(D/2)+1という演算を行う。このような構成において、5ビットに展開したラスタ画像に対しても、粒状感の減少及び偽色の減少が図れる。   Here, the raster image converted from the 6-bit signal to the 4-bit signal is expanded to 6 bits, but is not limited to this, and may be expanded to 5 bits. In this case, arithmetic processing is performed using the upper bits of the dither component. Specifically, an operation of Z = 2 × Y + int (D / 2) +1 is performed. With such a configuration, it is possible to reduce the graininess and the false color even for a raster image expanded to 5 bits.

また、多値ディザによる処理としてここではディザ値を減算した後量子化を行い、その後ディザ値を加算する構成にしている。ディザ値を加算することにより、最大階調である「白」付近の誤差は最小となる。これは、後に図6において示すように、ディザ値を加算した結果、「白」を表示する階調(図6では階調値63)よりも大きな階調の出力は全て「白」を表示する階調に丸められてしまうために、全階調の中で「白」付近の誤差が最小となるものである。このような構成にすることにより、最大階調である「白」表示の誤差を最小にしてディザ特有の粒状感をなくし、「白」表示付近の階調の階調つぶれを抑えることができる。
文字や地図などの幾何学図形では、全信号成分が最大階調である「白」をはじめ、信号成分の一つが最大階調である「赤」、「青」、「緑」、「黄」などが多用されることが多い。このため、本発明は、そのような画像の表示品質を向上させることとなる。これは、第1の従来技術では得られない、本発明特有の新規効果・作用である。
Further, as processing by multi-valued dither, here, the dither value is subtracted, quantization is performed, and then the dither value is added. By adding the dither value, the error near the maximum gray scale "white" is minimized. This is because, as shown in FIG. 6 later, as a result of addition of the dither value, all grayscale outputs larger than the grayscale for displaying “white” (grayscale value 63 in FIG. 6) display “white”. Since the gradation is rounded, the error near “white” is minimized in all the gradations. With such a configuration, it is possible to minimize the error of “white” display, which is the maximum gradation, to eliminate the granularity peculiar to dither, and to suppress the gradation loss near the “white” display.
In geometrical figures such as characters and maps, all signal components have the maximum gradation, "white", and one of the signal components has the maximum gradation, "red", "blue", "green", "yellow". Are often used. Therefore, the present invention improves the display quality of such an image. This is a novel effect / action unique to the present invention, which cannot be obtained by the first prior art.

本発明は、それぞれの画素に対して多値ディザ並みの非常に簡単な処理を施すことにより画質を改善することができる。   According to the present invention, image quality can be improved by performing a very simple process on a par with a multi-valued dither for each pixel.

本発明におけるラスタ画像の信号構成としては、上述したRGB信号以外に、YCbCrといった輝度信号と色度信号とで構成された信号、HSVやLCH信号など輝度信号と彩度信号と色相信号とで構成された信号、などの様々な信号を適用することができる。
また、ここでは画像処理の一例として多値ディザ処理を示したがこれに限ることはなく、上記のような作用が得られる画像処理であればよい。特にビットプレーン数の減少時と増加時とで逆の画像処理を行うような画像処理方法は効果的である。
The signal configuration of the raster image in the present invention includes, in addition to the above-described RGB signals, a signal composed of a luminance signal such as YCbCr and a chrominance signal, a luminance signal such as an HSV or LCH signal, a chroma signal, and a hue signal. Various signals, such as the generated signal, can be applied.
Here, multi-value dither processing has been described as an example of image processing, but the present invention is not limited to this, and any image processing capable of achieving the above-described operation can be used. In particular, an image processing method in which image processing is performed in reverse when the number of bit planes decreases and increases is effective.

以下、添付図面を参照しながら本発明の実施形態である画像処理装置、画像伝送装置及び画像処理方法を詳細に説明する。図1から図37に、本発明に係る画像処理装置、画像伝送装置及び画像処理方法の好適な実施の形態を示す。   Hereinafter, an image processing apparatus, an image transmission apparatus, and an image processing method according to embodiments of the present invention will be described in detail with reference to the accompanying drawings. 1 to 37 show preferred embodiments of the image processing apparatus, the image transmission apparatus, and the image processing method according to the present invention.

〈第1の実施形態〉
図1は、本発明の第1の実施形態である画像処理方法の処理の流れを示すフローチャートである。
<First embodiment>
FIG. 1 is a flowchart showing the flow of processing of the image processing method according to the first embodiment of the present invention.

本実施形態による画像処理方法について説明する。画像処理装置にラスタ画像が入力されると(ステップS1)、入力されたラスタ画像に対してビットプレーン数を減少させる処理を施す(ステップS2)。ビットプレーン数が減少したラスタ画像は、メモリへ入力するなどして蓄積する(ステップS3)。その後、メモリに蓄積されたラスタ画像を読み出し、これに対してビットプレーン数を増加する処理を施す(ステップS4)。
このとき、ビットプレーン数を減少させる処理及びビットプレーン数を増加させる処理は、少ないロジック数で行えることが望ましい。さらにいえば、画像処理のロジック数が、この処理によって減少可能なメモリのロジック数(トランジスタ数やセル数など)と比較して十分少ないことが望ましい。通常、ビットプレーン数の減少処理、増加処理における必要ロジック数は少ないため、好適にビットプレーン数の減少・増加を行うことができる。例えば、ビットプレーン数を減少させる処理として「ビット落とし」いわゆる「所定ビットの切り捨て」があるが、その場合は、演算処理を行う必要がない。
An image processing method according to the present embodiment will be described. When a raster image is input to the image processing apparatus (step S1), a process for reducing the number of bit planes is performed on the input raster image (step S2). The raster image with the reduced number of bit planes is input to a memory and accumulated (step S3). Thereafter, the raster image stored in the memory is read out, and a process for increasing the number of bit planes is performed on the raster image (step S4).
At this time, it is desirable that the process of decreasing the number of bit planes and the process of increasing the number of bit planes can be performed with a small number of logics. Furthermore, it is desirable that the number of logics in image processing be sufficiently smaller than the number of logics in the memory (such as the number of transistors and the number of cells) that can be reduced by this processing. Normally, the number of required logics in the process of reducing and increasing the number of bit planes is small, so that the number of bit planes can be suitably reduced or increased. For example, as a process for reducing the number of bit planes, there is "bit dropping", so-called "predetermined bit truncation", but in that case, there is no need to perform arithmetic processing.

以上の画像処理方法によって、画像表示処理におけるメモリ容量の減少を計ることが可能となる。さらに、ビットプレーン数の減少・増加においては圧縮率((圧縮前のデータ容量−圧縮後のデータ容量)/圧縮前のデータ容量)が一定となるため、原画像の画像データを圧縮してメモリに蓄積し、蓄積した画像データを伸張して表示する画像処理装置(ディスプレイシステム)における各種画像処理を実行しやすくなる。   With the above image processing method, it is possible to reduce the memory capacity in the image display processing. Furthermore, since the compression ratio ((data capacity before compression−data capacity after compression) / data capacity before compression) becomes constant when the number of bit planes decreases or increases, the image data of the original image is compressed and stored in the memory. And an image processing apparatus (display system) that expands the stored image data and displays the image data.

また、本実施形態においては、ビットプレーン数の減少及び増加処理の間に、ラスタ画像の画像データをメモリに格納する処理を行う場合を例に説明を行ったが、これに限定されることはなく、ラスタ画像の画像データをメモリへ格納する処理の代わりに、所定のバス幅の伝送路を介してラスタ画像の画像データを伝送する処理を行ってもよい。
例えば、ビットプレーン数減少処理を行う機能部とビットプレーン数増加処理を行う機能部との間の伝送路が、ラスタ画像を原画像の状態で伝送するのに十分なバス幅を有していない場合を考える。この場合は、ビットプレーン数減少処理によってラスタ画像のビットプレーン数を伝送可能なビットプレーン数に減少させ、ビットプレーン数が減少したラスタ画像を伝送する。その後、ビットプレーン数増加処理によって、ラスタ画像のビットプレーン数を増加させた後に画像表示部などへ出力することによって、画像表示部などにおいてラスタ画像を表示できる。
このように、ビットプレーン数減少処理とビットプレーン数増加処理との間に、ビットプレーン数が原画像の状態ではラスタ画像に対して施すことができない処理を行う画像処理方法であれば、上記同様の効果が得られる。
Further, in the present embodiment, the case where the process of storing the image data of the raster image in the memory during the process of decreasing and increasing the number of bit planes has been described as an example, but is not limited thereto. Instead, instead of storing the image data of the raster image in the memory, a process of transmitting the image data of the raster image via a transmission path having a predetermined bus width may be performed.
For example, the transmission path between the function unit that performs the bit plane number reduction process and the function unit that performs the bit plane number increase process does not have a sufficient bus width to transmit the raster image in the original image state. Consider the case. In this case, the number of bit planes of the raster image is reduced to the number of transmittable bit planes by the bit plane number reduction process, and the raster image with the reduced number of bit planes is transmitted. Thereafter, the raster image can be displayed on the image display unit or the like by increasing the number of bit planes of the raster image and then outputting it to the image display unit or the like by the bit plane number increase process.
As described above, an image processing method that performs processing that cannot be performed on a raster image when the number of bit planes is the original image between the bit plane number reduction processing and the bit plane number increase processing is the same as described above. The effect of is obtained.

また、ビットプレーン数の減少方法及び増加方法は、他の実施形態においていくつかの例を示して説明しているが、ビットプレーン数の減少方法としてディザ処理、ビットプレーン数の増加方法として減少処理の逆処理を行うと、画質の劣化が少ない画像圧縮・伸張を行えるため好ましい。   The method of decreasing and increasing the number of bit planes has been described with some examples in other embodiments. However, dither processing is used as a method of decreasing the number of bit planes, and reduction processing is used as a method of increasing the number of bit planes. It is preferable to perform the reverse process of the above because image compression / decompression with little deterioration in image quality can be performed.

〈第2の実施形態〉
図2は、本発明の第2の実施形態である画像処理装置の概略構成を示すブロック図である。図2において、コンピュータから送出されたRGB各色6ビットのラスタ画像1を画像処理部前段4で処理した後、各色4ビットのラスタ画像をメモリ2に蓄積し、当該蓄積された各色4ビットのラスタ画像を画像処理部後段5で各色6ビットに変換して、6ビット表示可能な画像表示部3に出力する構成となっている。なお、図2ではRGBのうちの1色に対するブロック構成を示しているが、他の2色に対しても同様な構成を並列で有している。
<Second embodiment>
FIG. 2 is a block diagram illustrating a schematic configuration of an image processing apparatus according to a second embodiment of the present invention. In FIG. 2, after a raster image 1 of 6 bits for each color of RGB sent from a computer is processed in the former stage 4 of the image processing section, a raster image of 4 bits for each color is stored in a memory 2 and the stored raster image of 4 bits for each color is stored. The image is converted into 6 bits for each color by the image processing unit rear stage 5 and output to the image display unit 3 capable of displaying 6 bits. Although FIG. 2 shows a block configuration for one of the RGB colors, the same configuration is also provided in parallel for the other two colors.

画像処理部前段4は、しきい値生成部11Aと、比較器12と、セレクタ13と、減算器と、を有して構成される。入力されたラスタ画像1の6ビットの階調データのうち下位2ビットは比較器12に送られ、比較器12でしきい値生成部11Aから出力された2ビット信号と比較される。   The first stage of the image processing unit 4 includes a threshold value generation unit 11A, a comparator 12, a selector 13, and a subtractor. The lower 2 bits of the input 6-bit gradation data of the raster image 1 are sent to the comparator 12, where the comparator 12 compares the lower 2 bits with the 2-bit signal output from the threshold generator 11A.

図3は、しきい値生成部の出力信号の生成方法を示す平面図である。
ここではしきい値として、組織的ディザのマトリクスを用いる。しきい値生成部11Aは、入力された画素のxy座標値(x,y)をもとに出力信号を生成する。図3において、[xmod 2 ]とは画素のX座標値(x)を2で割った余りを示し、[ymod 2 ]とは画素のY座標値(y)を2で割った余りを示す。これら[xmod 2 ]、[ymod 2 ]の結果から出力値を生成する。
FIG. 3 is a plan view illustrating a method of generating an output signal of the threshold value generation unit.
Here, a matrix of organized dither is used as the threshold. The threshold generation unit 11A generates an output signal based on the xy coordinate values (x, y) of the input pixels. In FIG. 3, [xmod 2] indicates a remainder obtained by dividing the X coordinate value (x) of the pixel by 2, and [ymod 2] indicates a remainder obtained by dividing the Y coordinate value (y) of the pixel by 2. An output value is generated from the results of [xmod 2] and [ymod 2].

比較器12は、入力されたラスタ画像1の6ビットの階調データのうち下位2ビットの値をA、しきい値生成部11aの出力値をBとして、A<Bの場合に1を出力し、その他の場合は0をセレクタ13にSEL信号を出力する。このSEL信号は、セレクタ13のセレクト信号となる。   The comparator 12 outputs the value of A when the value of the lower 2 bits of the input 6-bit gradation data of the raster image 1 is B, and the output value of the threshold value generation unit 11a is B, where A <B. In other cases, 0 is output to the selector 13 as a SEL signal. This SEL signal becomes a select signal of the selector 13.

セレクタ13には、入力されたラスタ画像1の6ビットの階調データのうち上位4ビットの値と減算器で1を減算した値とが入力され、比較器12から出力されるSEL信号が0なら上位4ビットの値をそのまま出力し、SEL信号が1なら減算器で1を減算した値を出力することで、画像処理部前段4の4ビット出力信号となる。   The selector 13 receives the value of the upper 4 bits of the input 6-bit gradation data of the raster image 1 and the value obtained by subtracting 1 from the subtractor, and outputs the SEL signal of 0 from the comparator 12 to 0. If the SEL signal is 1, the value obtained by subtracting 1 with the subtractor is output, and the 4-bit output signal of the image processing unit front stage 4 is output.

図4は、画像処理部前段の処理を示す模式図である。
ここでは横軸の各画素(画像位置)において、左の縦軸で示している6ビット入力階調を右の縦軸で示している4ビット出力階調に変換する処理を行っている。例えば、一番左の画素位置にある“◆”は、入力階調が“011110”であることを示している。その値はしきい値である“011111”と“011011”との間にあるため、その間に引かれた横線の間に間引きされる。出力階調は“■”で示されており、この時の出力階調は“0110”である。上記プロセスを画素位置ごとに行って、6ビットの階調データであるラスタ画像1を4ビット出力階調に変換する。
なお、しきい値と入力階調値とが同じ場合は、しきい値よりも高くて最も近い4ビット値に変換される。換言すると、しきい値と入力階調値とが同じ場合は、図中でしきい値よりも上側となる4ビットの階調値のうち、しきい値に最も近い値が出力階調値として選択される。
図4において、画像処理部前段4は、入力された画素のxy座標値(x,y)に応じて変わるしきい値に基づいて4ビット階調に変換している。このように各色6ビットから各色4ビットに変換することにより、ビットプレーン数を減少したラスタ画像をメモリ2に蓄積していく。
FIG. 4 is a schematic diagram illustrating a process in a preceding stage of the image processing unit.
Here, for each pixel (image position) on the horizontal axis, a process of converting a 6-bit input gray scale indicated by the left vertical axis to a 4-bit output gray scale indicated by the right vertical axis is performed. For example, “◆” at the leftmost pixel position indicates that the input gradation is “011110”. Since the value is between the threshold values “011111” and “011011”, it is thinned out between the horizontal lines drawn therebetween. The output gradation is indicated by “■”, and the output gradation at this time is “0110”. The above process is performed for each pixel position, and the raster image 1 which is 6-bit gradation data is converted into 4-bit output gradation.
If the threshold value is the same as the input gradation value, the value is converted to a 4-bit value that is higher and closest to the threshold value. In other words, when the threshold value and the input gradation value are the same, the value closest to the threshold value among the 4-bit gradation values higher than the threshold value in the figure is set as the output gradation value. Selected.
In FIG. 4, the first stage of the image processing unit 4 converts the pixel into a 4-bit gradation based on a threshold value that changes according to the xy coordinate value (x, y) of the input pixel. By converting 6 bits for each color into 4 bits for each color in this manner, a raster image with a reduced number of bit planes is stored in the memory 2.

メモリ2に蓄積されたビットプレーン数が減少したラスタ画像は、画像処理部後段5で各色6ビットに変換され、画像表示部3に送られる。画像処理部後段5は、ビット付加部14と、しきい値生成部11Bと、から構成されている。ここで、しきい値生成部11Bは、しきい値生成部11Aと同一構成である。   The raster image in which the number of bit planes stored in the memory 2 is reduced is converted into 6 bits for each color in the latter stage of the image processing unit 5 and sent to the image display unit 3. The latter stage of the image processing unit 5 includes a bit adding unit 14 and a threshold value generating unit 11B. Here, the threshold generator 11B has the same configuration as the threshold generator 11A.

図5は、ビット付加部の内部構成を示す回路図である。
ビット付加部14は、メモリ2から出力された4ビット信号すべてのORをとったものを下位ビットとして付加することで5ビットとなった信号に、しきい値生成部11Bから出力された2ビットの信号のうち上位ビットを加算器17で加算する。さらに、加算器17から得られた5ビット信号を上位ビットとして、しきい値生成部11から出力された下位ビット信号を付加した6ビット信号を画像表示部3へ出力する。
FIG. 5 is a circuit diagram showing the internal configuration of the bit addition unit.
The bit adding unit 14 adds the OR of all the 4-bit signals output from the memory 2 as lower bits and adds the 2-bit signal to the 5-bit signal, thereby adding the 2-bit signal output from the threshold generation unit 11B. Are added by the adder 17. Further, the 5-bit signal obtained from the adder 17 is set as the upper bit, and the 6-bit signal to which the lower bit signal output from the threshold value generator 11 is added is output to the image display unit 3.

具体的な例を1つ示す。メモリ信号1000、しきい値信号11の場合、加算器17に入力する5ビット信号は10001、1ビット信号は1なので、加算器17の出力は10010となる。それにしきい値信号の下位ビット信号1を付加した6ビットの出力信号は100101となる。   One specific example will be described. In the case of the memory signal 1000 and the threshold signal 11, the 5-bit signal input to the adder 17 is 10001 and the 1-bit signal is 1, so the output of the adder 17 is 10010. A 6-bit output signal obtained by adding the lower-order bit signal 1 of the threshold signal thereto becomes 100101.

ここで、4ビット信号のすべてのORをとり下位ビットとして付加するのは、入出力間の信号誤差を最小にするためである。図6は、入力信号としきい値生成部の出力値に対してメモリ2に蓄積される信号(4ビット値)及び出力信号(6ビット値)を示している。
図中では、各入力信号としきい値生成部における信号値とを10進数で示している。メモリに蓄積される信号は、4ビットの階調値の10進数表現、各出力信号は6ビット階調値の10進数表現である。
入力信号が7以上の場合は最大誤差が2、入力信号が6以下の場合は最大誤差が3となっていることが分かる。また、多値ディザ(従来技術)による出力信号、それぞれの入力信号に対する平均値、平均値と入力信号値との差、出力信号の標準偏差も併せて示している。
The reason why all ORs of the 4-bit signal are taken and added as lower bits is to minimize a signal error between input and output. FIG. 6 shows a signal (4-bit value) and an output signal (6-bit value) stored in the memory 2 with respect to the input signal and the output value of the threshold value generation unit.
In the figure, each input signal and the signal value in the threshold generation unit are shown in decimal numbers. The signal stored in the memory is a decimal representation of a 4-bit gradation value, and each output signal is a decimal representation of a 6-bit gradation value.
It can be seen that the maximum error is 2 when the input signal is 7 or more, and 3 when the input signal is 6 or less. Further, an output signal by multi-level dither (prior art), an average value for each input signal, a difference between the average value and the input signal value, and a standard deviation of the output signal are also shown.

平均値と入力信号との差が小さいほど色変化や輝度変化が少なく良い階調性を有しており、標準偏差が全体的に小さいほど粒状感が少ないといえる。従来技術の誤差と比較して本実施例の平均値と入力信号値との差は、ほとんど改善されており、標準偏差はほとんどの階調で減少し、かつ安定して低い値をとっていることが分かる。このことは、従来技術では色誤差や粒状感がでてしまうものが、本実施例では抑制されることを示している。   It can be said that the smaller the difference between the average value and the input signal, the smaller the color change and the change in luminance, and the better the gradation, and the smaller the standard deviation as a whole, the less graininess. Compared with the error of the prior art, the difference between the average value and the input signal value of the present embodiment is almost improved, the standard deviation is reduced at most gradations, and has a stable low value. You can see that. This indicates that in the present embodiment, color errors and graininess appear in the prior art, but are suppressed in the present embodiment.

なお、4ビット信号のすべてのORをとらずに、メモリ2からの出力を上位4ビット、しきい値生成部11からの出力を下位2ビットとして6ビットに結合するだけの場合、平均値と入力信号値の差が−1.5となり、ORをとる場合と比較して色変化や輝度変化があらわれてしまう。しかしながら、入力信号2から40までに対しては、従来技術よりも入力信号との差は小さくするという効果がある。   In the case where only the output from the memory 2 is combined with the upper 4 bits and the output from the threshold generator 11 as the lower 2 bits without combining all of the 4-bit signals into 6 bits, the average value and The difference between the input signal values is -1.5, and a color change and a luminance change appear as compared with the case of ORing. However, for the input signals 2 to 40, there is an effect that the difference from the input signal is smaller than that of the related art.

また、図6において入力信号0〜3の場合、出力信号が同じとなってしまうが、これはメモリに蓄積される信号が同じとなってしまうためである。もし、この入力信号における階調再現性をだしたいのであれば、入力信号の階調読み替えを行うとよい。この入力信号の階調読み替えとは、入力信号を例えば、(新しい入力信号)=INT((読み替え前の入力信号)×60/63+3))という変換を行うもので、ここでのINT(A)はAの整数成分を意味するものである。   In the case of the input signals 0 to 3 in FIG. 6, the output signals are the same, because the signals stored in the memory are the same. If it is desired to obtain the gradation reproducibility of the input signal, it is preferable to read the gradation of the input signal. The gradation read of the input signal is performed by converting the input signal into, for example, (new input signal) = INT ((input signal before read) × 60/63 + 3), where INT (A) is used. Represents an integer component of A.

また、最大階調及び最小階調に関しては上記処理の前後で全てのディザ値に対して同じ値となることが望ましい。たとえば、上記階調の読み替えに加えて、メモリに蓄積された信号値が0の場合は出力値にディザ値を加算しない、といった条件を付加することによって実現可能である。もちろん、上記条件を満たす処理であればその他の処理方法でもよいことはいうまでもない。   It is desirable that the maximum gradation and the minimum gradation have the same value for all dither values before and after the above processing. For example, this can be realized by adding a condition that, when the signal value stored in the memory is 0, the dither value is not added to the output value, in addition to the above-described reading of the gradation. Of course, other processing methods may be used as long as the processing satisfies the above conditions.

さらに、画像処理部前段4は、セレクタ13と比較器12とを用いて表現されているが、図7に示すように、減算器と量子化器18とで表現しても同じ出力が得られる。量子化器18は入力6ビットのうち上位4ビットをそのまま出力する機能を有している。   Further, although the former stage 4 of the image processing unit is expressed by using the selector 13 and the comparator 12, the same output can be obtained by expressing by the subtractor and the quantizer 18 as shown in FIG. . The quantizer 18 has a function of outputting the upper 4 bits of the input 6 bits as they are.

図5と図7から画像処理部前段4と画像処理部後段5とでの一連の処理は、画像処理部前段4でしきい値生成部11Aからの出力を減算した値を画像処理部後段5で加算していることがわかる。このように、ディザ処理による画質への影響を最小限にすることにより、粒状感や偽色の発生を抑えることが可能であることがわかる。   5 and FIG. 7, a series of processing in the image processing unit front stage 4 and the image processing unit rear stage 5 is performed by subtracting the output from the threshold value generation unit 11A in the image processing unit front stage 4 by the image processing unit rear stage 5. It can be seen that the addition is performed. Thus, it can be seen that by minimizing the effect of the dither processing on the image quality, it is possible to suppress the occurrence of graininess and false colors.

なお、本実施形態では、しきい値生成部で組織的ディザを使用したがこれに限定されるものではない。換言すると、画像の縦横いずれの方向に対しても微小長さを一周期として同一のパターンが繰り返される二次元ディザマトリクスであれば、上記効果が得られる。なお、ディザマトリクスの周期が小さいほど周期的なノイズの周波数が高くなり、ノイズとして目立ちにくくなる。よって、縦横いずれも2画素周期の二次元ディザマトリクスが最も好ましい。   In the present embodiment, the threshold value generation unit uses organized dither, but the present invention is not limited to this. In other words, if the two-dimensional dither matrix is such that the same pattern is repeated with a minute length as one cycle in both the vertical and horizontal directions of the image, the above-described effect can be obtained. Note that the smaller the cycle of the dither matrix is, the higher the frequency of the periodic noise becomes, and the less noticeable the noise becomes. Therefore, a two-dimensional dither matrix having a two-pixel cycle in both the vertical and horizontal directions is most preferable.

また、しきい値生成部11Bは、しきい値生成部11Aと同じ構成である。よって、図8に示すように、しきい値生成部11Aと11Bとを切り替えて使用する構成として、しきい値生成部11を全体で1つ備えているだけでもよい。この場合、しきい値生成部11の出力が比較器12への入力なのか、ビット付加部14への入力なのかを制御すればよい。図8にその制御方法の一例を示す。   The threshold generation unit 11B has the same configuration as the threshold generation unit 11A. Therefore, as shown in FIG. 8, as a configuration in which the threshold generation units 11A and 11B are switched and used, only one threshold generation unit 11 may be provided as a whole. In this case, it suffices to control whether the output of the threshold generation unit 11 is an input to the comparator 12 or an input to the bit addition unit 14. FIG. 8 shows an example of the control method.

図8において、セレクタ13Aとデマルチプレクサ15とに入る制御信号SEL2を入出力切り替え制御部16から出力する。入出力切り替え制御部16は、しきい値生成部11の出力を比較器12に送る場合にSEL2として0を選択して出力し、ビット付加部14に送る場合に1を選択し出力する。   8, a control signal SEL2 input to the selector 13A and the demultiplexer 15 is output from the input / output switching control unit 16. The input / output switching control section 16 selects and outputs 0 as SEL2 when sending the output of the threshold value generating section 11 to the comparator 12, and selects and outputs 1 when sending it to the bit adding section 14.

以上のように、本発明の第2の実施形態として、ラスタ画像1に画像処理を施してビットプレーン数を減少させる画像処理部前段4と、画像処理部前段の出力信号(ラスタ画像)を蓄積するメモリと2、メモリ2からのラスタ画像のビットプレーン数を元のビットプレーン数に戻す画像処理部後段5と、を有し、画像処理部前段4と画像処理部後段5とで逆の処理を行う画像処理装置を説明した。上記構成により、画質への影響を最小限にして、チップ面積の減少と、消費電力の減少とを図ることができる。   As described above, as the second embodiment of the present invention, the image processing unit first stage 4 that performs image processing on the raster image 1 to reduce the number of bit planes and the output signal (raster image) of the image processing unit front stage are stored. And a second image processing unit 5 for returning the number of bit planes of the raster image from the memory 2 to the original number of bit planes. The reverse processing is performed between the first image processing unit 4 and the second image processing unit 5. The image processing apparatus that performs the above has been described. With the above configuration, it is possible to reduce the chip area and the power consumption while minimizing the influence on the image quality.

また、画像処理部前段4と画像処理部後段5とにおけるビットプレーン数の増減は、多値ディザ法で行うことにより、画像処理部の構成を簡略化した画像処理装置を得ることができる。   Also, by increasing or decreasing the number of bit planes in the former stage 4 of the image processing unit and the latter stage 5 of the image processing unit by a multi-valued dither method, an image processing apparatus with a simplified configuration of the image processing unit can be obtained.

なお、画像処理をソフトウェアにて処理する構成とすることも可能である。
図9は、本実施形態における画像処理部前段の画像処理方法の一例を示すフローチャートであり、図10は、本実施形態における画像処理部後段の画像処理方法の一例を示すフローチャートである。なお、図9及び図10において、画像処理部前段、画像処理部後段の両方の処理をソフトウェア構成としたが、これらは片方のみソフトウェア構成にして、もう片方をハードウェア構成としても問題ない。
Note that a configuration in which image processing is performed by software is also possible.
FIG. 9 is a flowchart illustrating an example of an image processing method in the first stage of the image processing unit according to the present embodiment, and FIG. 10 is a flowchart illustrating an example of an image processing method in the second stage of the image processing unit in the present embodiment. In FIG. 9 and FIG. 10, both processes of the former stage of the image processing unit and the latter stage of the image processing unit are configured as software, but there is no problem if only one of them is configured as software and the other is configured as hardware.

図9には、入力信号が6ビット、圧縮時のビットプレーン数がbビット(ただしbは2〜6の整数)の時の画像処理方法を示している。画像処理部前段4では、入力信号階調I(6ビット)、画素のX座標x、画素のY座標yを入力する(ステップS11)。次に、しきい値を生成するために必要なディザマトリクスを定義する(ステップS12)。ここでは4×4の組織的ディザのディザマトリクスのうちBayer配列と呼ばれる、[[10,4,6,8],[12,0,2,14 ],[7,9,11,5],[3,15,13,1 ]]というマトリクス構成を採用している。   FIG. 9 shows an image processing method when the input signal is 6 bits and the number of bit planes at the time of compression is b bits (where b is an integer of 2 to 6). The input signal gradation I (6 bits), the X coordinate x of the pixel, and the Y coordinate y of the pixel are input to the former stage 4 of the image processing unit (step S11). Next, a dither matrix required to generate a threshold is defined (step S12). Here, in the dither matrix of the 4 × 4 systematic dither, it is called a Bayer array, [[10,4,6,8], [12,0,2,14], [7,9,11,5], [3,15,13,1]].

そして、画素座標値x、yをもとにしきい値を生成する(ステップS13)。しきい値の生成方法は図中に示している通りである。xmod4 とは、xを4で割った余りを示している。ここでディザマトリクスを2のべき乗で除算するのは、しきい値が出力階調のビット数bによって異なり、それぞれのビット数に対応した値にするためである。例えば、b=4ならばしきい値は2ビットの値をとる。ディザマトリクスの値は4ビットなので、2ビットにするために2^(4−2)=4で除算している。   Then, a threshold value is generated based on the pixel coordinate values x and y (step S13). The method of generating the threshold is as shown in the figure. xmod4 indicates the remainder of dividing x by 4. Here, the reason why the dither matrix is divided by a power of 2 is that the threshold value differs depending on the number of bits b of the output gradation and is set to a value corresponding to each number of bits. For example, if b = 4, the threshold takes a 2-bit value. Since the value of the dither matrix is 4 bits, it is divided by 2 ^ (4-2) = 4 to make it 2 bits.

ステップS14では入力信号階調からしきい値dを減算し、下位ビットの切捨てを行う。上記例ではb=4なので6−4=2で下位2ビットを切り捨て、上位4ビットを出力する。   In step S14, the threshold value d is subtracted from the input signal gradation, and lower bits are discarded. In the above example, since b = 4, the lower 2 bits are truncated at 6-4 = 2, and the upper 4 bits are output.

図10において、画像処理部後段5では、入力信号階調Iはbビットであり、画素のX座標x、画素のY座標yを入力する(ステップS21)。ステップS22、ステップS23では、画像処理部前段4と同じ構成のものを使用する。そして、入力信号Iが0であれば出力Iout=dであり、そうでなければステップS24に示すようにIを上位ビット、dを下位ビットとし、原信号との誤差を減少させるために2^(5−b)を付加したものを出力する。この2^(5−b)は、図5で示したOR成分に対応している。   In FIG. 10, in the latter stage 5 of the image processing unit, the input signal gradation I is b bits, and the X coordinate x of the pixel and the Y coordinate y of the pixel are input (Step S21). In steps S22 and S23, those having the same configuration as the former stage 4 of the image processing unit are used. If the input signal I is 0, the output Iout = d. Otherwise, as shown in step S24, I is the upper bit and d is the lower bit, and 2 ^ is used to reduce the error from the original signal. The one with (5-b) added is output. This 2 ^ (5-b) corresponds to the OR component shown in FIG.

以上のようなアルゴリズムにより、図2に示した画像処理装置と等価系の画像処理装置を、画像処理をソフトウエアによって行う構成として実現できる。
なお、図9及び図10で示したフローチャートは一例であり、本実施形態を満足する構成であれば、これに限定されるものではない。
With the above algorithm, an image processing apparatus equivalent to the image processing apparatus shown in FIG. 2 can be realized as a configuration in which image processing is performed by software.
Note that the flowcharts shown in FIG. 9 and FIG. 10 are examples, and the present invention is not limited to this as long as the configuration satisfies the present embodiment.

〈第3の実施形態〉
図11は、本発明の第3の実施形態である画像処理装置の第1の構成例を示すブロック図である。本発明の第2の実施形態と異なるのは、画像処理部後段5と画像表示部3との間に、ラスタ画像1をそのまま画像表示部3に送るか、メモリ2からのラスタ画像を画像表示部3に送るかを選択するセレクタ13Bとを有し、セレクタ13Bにおける選択制御を行うメモリ使用切替制御部6を備えている点である。
<Third embodiment>
FIG. 11 is a block diagram illustrating a first configuration example of an image processing apparatus according to a third embodiment of the present invention. The difference from the second embodiment of the present invention is that the raster image 1 is directly sent to the image display unit 3 or the raster image from the memory 2 is displayed between the image processing unit 5 and the image display unit 3. And a selector 13B for selecting whether to send the data to the unit 3 and a memory use switching control unit 6 for performing selection control in the selector 13B.

メモリ切替制御部6は、画像表示部3に送りたい画像に応じてセレクタ13Bの制御を行う。例えば、静止画表示を行っている場合は、画像の書き換えが行われないのでメモリ2に蓄積されている画像を表示するために、メモリ使用切替制御部6から「1」を出力し、セレクタ13Bは画像処理部後段5から出力されたラスタ画像を画像表示部3に送る。一方、動画表示を行っている場合は、メモリにラスタ画像1を蓄積せず、そのまま画像表示部3に表示するのでメモリ使用切替制御部6からセレクタ13Bに「0」を出力する。   The memory switching control unit 6 controls the selector 13B according to an image to be sent to the image display unit 3. For example, when a still image is displayed, since the image is not rewritten, "1" is output from the memory use switching control unit 6 to display the image stored in the memory 2, and the selector 13B Sends the raster image output from the image processing unit rear stage 5 to the image display unit 3. On the other hand, when a moving image is displayed, the raster image 1 is not stored in the memory, but is displayed on the image display unit 3 as it is. Therefore, “0” is output from the memory use switching control unit 6 to the selector 13B.

以上のような構成とすることにより、動画・静止画の切替表示が可能であるとともに、静止画表示においては少ないチップ面積で、消費電力の減少を図った画像表示を行うことができる。   With the above-described configuration, switching display between a moving image and a still image is possible, and in still image display, image display with reduced power consumption can be performed with a small chip area.

図12は、本発明の第3の実施形態である画像処理装置の第2の構成例を示すブロック図である。図12では、メモリ使用切替制御部6の出力信号が「0」の場合、すなわちメモリ2を介さずにラスタ画像1をそのまま画像表示部3に表示する際に、処理ON・OFF制御部7を用いて画像処理部前段4、メモリ2、画像処理部後段5の処理を停止するように制御する。このように画像処理部前段4、メモリ2、画像処理部後段5の処理を停止することで、消費電力の減少を図ることができる。   FIG. 12 is a block diagram illustrating a second configuration example of the image processing apparatus according to the third embodiment of the present invention. In FIG. 12, when the output signal of the memory use switching control unit 6 is “0”, that is, when displaying the raster image 1 on the image display unit 3 without passing through the memory 2, the process ON / OFF control unit 7 The control is performed so as to stop the processing of the former stage 4 of the image processing unit, the memory 2 and the latter stage 5 of the image processing unit. As described above, by stopping the processes of the first stage of the image processing unit 4, the memory 2, and the second stage of the image processing unit 5, power consumption can be reduced.

〈第4の実施形態〉
図13は、本発明の第4の実施形態である画像処理装置の概略構成を示すブロック図である。図11に示した本発明の第3の実施形態と異なるのは、ビット付加部14Aの構成と、メモリ使用切替制御部6からの出力が階調制御部7に入力され、当該階調制御部7により画像表示部3の階調制御を行う点である。
<Fourth embodiment>
FIG. 13 is a block diagram illustrating a schematic configuration of an image processing apparatus according to a fourth embodiment of the present invention. The difference from the third embodiment of the present invention shown in FIG. 11 is that the configuration of the bit addition unit 14A and the output from the memory use switching control unit 6 are input to the gradation control unit 7, and the gradation control unit 7 is that gradation control of the image display unit 3 is performed.

図14は、本発明の第4の実施形態におけるビット付加部の概略構成を示すブロック図である。ビット付加部14Aは、メモリ2からの出力を上位4ビット、しきい値生成部11Bからの出力を下位2ビットとしてビット結合を行い、それをセレクタ13Bに出力している。これは、図5に示した本発明の第2の実施形態におけるビット付加部14と比較して、非常に簡略化された構成である。   FIG. 14 is a block diagram illustrating a schematic configuration of a bit adding unit according to the fourth embodiment of the present invention. The bit addition unit 14A performs bit combination with the output from the memory 2 as the upper 4 bits and the output from the threshold value generator 11B as the lower 2 bits, and outputs the result to the selector 13B. This is a very simplified configuration as compared with the bit adding unit 14 in the second embodiment of the present invention shown in FIG.

図15は、本発明の第4の実施形態における入力信号、メモリに蓄積される信号、画像処理部後段からの出力信号の値を示す図である。図15に示すように、図5の構成を図14に変更することによって、出力信号の平均値が入力信号よりも小さくなっていることが分かる。このままではセレクタ13Bで表示切替を行った際に表示画像の明るさに差が生じてしまうため、階調制御部7で表示階調の変更制御を行う。すなわち、メモリ使用切替表示部6の出力が「0」の場合、階調制御部7は通常の階調制御を行うが、出力「1」の場合、階調制御部7は、図16に示すように図15の出力信号よりも大きな値の出力階調となるように調整する。このことにより、セレクタ13Bによる表示の切替時(すなわち、メモリ2の使用時。)においてもほぼ同じ明るさの画像を得ることができる。   FIG. 15 is a diagram illustrating values of an input signal, a signal stored in a memory, and an output signal from a subsequent stage of an image processing unit according to the fourth embodiment of the present invention. As shown in FIG. 15, it can be seen that by changing the configuration of FIG. 5 to FIG. 14, the average value of the output signal is smaller than that of the input signal. In this state, when the display is switched by the selector 13B, a difference occurs in the brightness of the display image. Therefore, the gradation control unit 7 controls the change of the display gradation. That is, when the output of the memory use switching display unit 6 is “0”, the gradation control unit 7 performs normal gradation control, but when the output is “1”, the gradation control unit 7 performs the operation shown in FIG. As described above, the adjustment is performed so that the output gradation becomes a value larger than the output signal of FIG. Thus, an image having substantially the same brightness can be obtained even when the display is switched by the selector 13B (that is, when the memory 2 is used).

階調制御部7の構成としては、いくつかのものが考えられる。例えば、ルックアップテーブルを形成し、入力信号の読み替えを行ってもよい。また、ハードウェア構成では、画像表示部がアナログ階調方式のLCD(liquid crystal display)や有機EL(electroluminescent)ディスプレイの場合、液晶のV−T特性をメモリ使用切替制御部6の値に応じて変化するように液晶の階調電圧の値を変更するといった方法が挙げられる。   Several configurations can be considered for the configuration of the tone control unit 7. For example, a look-up table may be formed, and input signals may be read. In the hardware configuration, when the image display unit is an analog gradation type LCD (liquid crystal display) or organic EL (electroluminescent) display, the VT characteristic of the liquid crystal is changed according to the value of the memory use switching control unit 6. There is a method of changing the value of the gradation voltage of the liquid crystal so as to change.

以上のような構成にすることにより、本発明の第1、第2の実施形態と比較して、画像処理部後段5の処理がほとんどない構成の画像処理装置を提供することができる。   With the above-described configuration, it is possible to provide an image processing apparatus having a configuration in which there is almost no processing in the second stage of the image processing unit as compared with the first and second embodiments of the present invention.

〈第5の実施形態〉
図17は、本発明の第5の実施形態である画像処理装置の概略構成を示すブロック図である。図11に示した本発明の第3の実施形態と異なるのは、R,G,Bそれぞれの階調において、メモリ2に蓄積するビットプレーン数がそれぞれ4,5,3である点である。この構成においては、本発明の第3の実施形態と同じメモリ容量で構成されている。
<Fifth embodiment>
FIG. 17 is a block diagram illustrating a schematic configuration of an image processing apparatus according to a fifth embodiment of the present invention. The difference from the third embodiment of the present invention shown in FIG. 11 is that the number of bit planes stored in the memory 2 is 4, 5, and 3 for each of R, G, and B gradations. This configuration has the same memory capacity as the third embodiment of the present invention.

このようにGに多いビットプレーン数を割り当て、Bに少ないビットプレーン数を割り当てるのは、多値ディザ処理において画質低下となる粒状感が色差よりも輝度差によるところが大きいためである。Gは輝度成分に最も大きな影響を与え、Bは最も影響が少ない。このような構成とすることにより、粒状感をさらに抑えることができる。なお、通常の多値ディザ処理においてビットプレーン数を上記のような構成にすると、Bの色誤差が大きくなってしまい、肌色の画質が劣化することとなる。   The reason why a large number of bit planes is assigned to G and a small number of bit planes are assigned to B is that the granularity that causes image quality deterioration in the multi-value dither processing is largely due to the luminance difference rather than the color difference. G has the greatest effect on the luminance component, and B has the least effect. With such a configuration, the granularity can be further suppressed. If the number of bit planes is set as described above in the ordinary multi-value dither processing, the color error of B becomes large, and the image quality of flesh color deteriorates.

図18は、本発明の第5の実施形態において、画素階調Bにおける入力信号、メモリに蓄積される信号、画像処理部後段からの出力信号の値を示す図である。また、多値ディザ(従来技術)による出力信号、それぞれの入力信号に対する平均値、平均値と入力信号値との差、出力信号の標準偏差も併せて示している。従来技術の誤差と比較して本実施形態の標準偏差は、ほとんどの階調で減少しており、かつ安定して低い値をとっていることが分かる。このことは、ビットプレーン数が変化しても、本実施形態では色誤差や粒状感が抑制されることを示している。   FIG. 18 is a diagram illustrating values of an input signal, a signal stored in a memory, and an output signal from a subsequent stage of an image processing unit in a pixel gradation B according to the fifth embodiment of the present invention. Further, an output signal by multi-level dither (prior art), an average value for each input signal, a difference between the average value and the input signal value, and a standard deviation of the output signal are also shown. It can be seen that the standard deviation of the present embodiment is reduced in most gradations and has a stable low value compared to the error of the related art. This indicates that even if the number of bit planes changes, color errors and graininess are suppressed in the present embodiment.

図17において、ラスタ画像のR成分に対しては4ビットのメモリを使用しているため、本発明の第2の実施形態で示した画像処理部前段4、画像処理部後段5と同じ処理を施しているが、G成分、B成分においては、しきい値生成部の構成、及び各部に送られるビット幅が異なる。図19に画像処理部前段4G及び4B、画像処理部後段5G及び5Bの構成を示す。図19において、しきい値生成部11G及び11Bは、図20に示す生成方法により出力信号が生成される。   In FIG. 17, since a 4-bit memory is used for the R component of the raster image, the same processing as the image processing unit front stage 4 and the image processing unit rear stage 5 shown in the second embodiment of the present invention is performed. However, the G component and the B component are different in the configuration of the threshold value generation unit and the bit width sent to each unit. FIG. 19 shows a configuration of the former stage 4G and 4B of the image processing unit and the latter stage 5G and 5B of the image processing unit. In FIG. 19, the threshold generation units 11G and 11B generate output signals by the generation method shown in FIG.

以上のような構成とすることにより、RGBカラー表示における輝度誤差を減少させることができ、さらに粒状感の少ない、通常の6ビット表示と遜色ない画質の画像を得ることができる。   With the above-described configuration, it is possible to reduce the luminance error in the RGB color display, and it is possible to obtain an image with little graininess and an image quality comparable to that of a normal 6-bit display.

さらに、図17において、本発明の第2の実施形態と同様に、しきい値生成部を全体で1つだけ備えた構成にすることも可能である。図21にその構成例を示す。図21に示すしきい値生成部11は、図20に示したしきい値生成部11Bの生成方法を使用して、R成分への出力はそのうち上位2ビット、G成分への出力は上位1ビットのみを使用する。このことにより、RGB各成分ごとにしきい値生成部を設ける必要がなく、効率化が図れる。   Further, in FIG. 17, similarly to the second embodiment of the present invention, it is also possible to adopt a configuration in which only one threshold value generation unit is provided as a whole. FIG. 21 shows an example of the configuration. The threshold generation unit 11 shown in FIG. 21 uses the generation method of the threshold generation unit 11B shown in FIG. 20 to output the R component to the upper 2 bits and output the G component to the upper 1 bit. Use only bits. Thus, it is not necessary to provide a threshold value generation unit for each of the RGB components, and efficiency can be improved.

〈第6の実施形態〉
これまで、各色6ビットのラスタ画像を4ビットメモリに蓄積し、そのデータをもとに各色6ビット表示可能な画像表示部への高画質な画像表示を行う画像処理装置について述べてきた。ここでは、各色4ビット表示可能な画像表示部に対して、FRC(Frame Rate Control)を用いることにより、6ビット相当の表示が行える画像処理装置について説明する。
<Sixth embodiment>
So far, an image processing apparatus has been described in which a 6-bit raster image of each color is stored in a 4-bit memory, and based on the data, a high-quality image is displayed on an image display unit capable of displaying 6 bits of each color. Here, an image processing apparatus capable of displaying 6 bits equivalent by using FRC (Frame Rate Control) for an image display unit capable of displaying 4 bits for each color will be described.

FRCは、限定階調表示の画像表示装置において、周期的に階調を変化させることにより表示可能な階調を増加させる方法である。例えば0〜15階調まで表示可能な画像表示装置において、4フレームを1周期として14,14,14,15のように周期的に表示階調を変化させると、表示可能な階調は、15×4+1=61階調となり、ほぼ6ビット表示相当となる。   The FRC is a method of increasing a displayable gray scale by periodically changing the gray scale in an image display device of a limited gray scale display. For example, in an image display device capable of displaying from 0 to 15 gray scales, if the display gray scale is periodically changed as 14, 14, 14, 15 with four frames as one cycle, the displayable gray scale is 15 × 4 + 1 = 61 gradations, which is almost equivalent to 6-bit display.

図22は、本発明の第6の実施形態である画像処理装置の概略構成を示すブロック図である。図2に示す本発明の第2の実施形態との違いは、図2における画像処理部後段5に替えてFRC画像処理部後段9を設けた点、FRC画像処理部後段9にフレームの始まりを示すVSyncが入力する点、及び画像表示部3Aが各色4ビット表示可能である点である。なお、ここでは便宜的にRGBのうち1つのブロックのみ示している。   FIG. 22 is a block diagram illustrating a schematic configuration of an image processing apparatus according to a sixth embodiment of the present invention. The difference from the second embodiment of the present invention shown in FIG. 2 is that an FRC image processing unit rear stage 9 is provided instead of the image processing unit rear stage 5 in FIG. This point is that VSync is input, and that the image display unit 3A can display 4 bits for each color. Here, only one block of RGB is shown for convenience.

以下、FRC画像処理部後段9を中心に説明していく。FRC画像処理部後段9は、画素のXY座標をもとにしきい値を生成するしきい値生成部11Bと、VSyncを計数する2ビットカウンタ19と、しきい値生成部11Bと2ビットカウンタ19の出力をもとにキャリーを生成するキャリー生成部20と、メモリ2からの出力のうち、キャリー値に応じて出力に1を加算した値を画像表示部3に出力するか、又は、そのままの値を画像表示部3に出力するか、を設定するセレクタ13と、から構成されている。   Hereinafter, the description will be focused on the latter stage 9 of the FRC image processing unit. The rear stage 9 of the FRC image processing unit includes a threshold generation unit 11B for generating a threshold based on the XY coordinates of the pixel, a 2-bit counter 19 for counting VSync, a threshold generation unit 11B and a 2-bit counter 19 And a carry generation unit 20 for generating a carry based on the output of the memory 2, and a value obtained by adding 1 to the output according to the carry value among the outputs from the memory 2 is output to the image display unit 3, or And a selector 13 for setting whether to output a value to the image display unit 3.

しきい値生成部11Bは、図3に示すような出力を行う。これは本発明の第2の実施形態の出力値と同様である。2ビットカウンタ19は、VSyncが入力される度に計数され、その出力値が00→11→01→10→00→…と変化する。その状態遷移表を図23に示す。図23に示したように、次の状態と出力値とは同じとなるようにしている。   The threshold generation unit 11B performs an output as shown in FIG. This is the same as the output value of the second embodiment of the present invention. The 2-bit counter 19 is counted every time VSync is input, and its output value changes from 00 → 11 → 01 → 10 → 00 →. FIG. 23 shows the state transition table. As shown in FIG. 23, the next state and the output value are set to be the same.

キャリー生成部20は、しきい値生成部11Bの出力であるしきい値と2ビットカウンタ19の出力値とをもとにキャリー値を設定する。図24にしきい値とカウンタ出力値とキャリー出力値との関係を示す。(しきい値)>(カウンタ出力値)のときには「1」を、それ以外のときは「0」を出力している。このように、4フレームを1周期とし、その中でしきい値分のキャリーを発生させるようにしている。   Carry generating section 20 sets a carry value based on the threshold value output from threshold value generating section 11B and the output value of 2-bit counter 19. FIG. 24 shows the relationship among the threshold value, the counter output value, and the carry output value. "1" is output when (threshold value)> (counter output value), and "0" is output otherwise. In this manner, four frames are defined as one cycle, and a carry corresponding to the threshold value is generated in the four frames.

そして、キャリー値をもとにセレクタ13で出力する信号を選択する。キャリー値が「0」の場合はメモリ2からの出力値を、「1」の場合はメモリ2からの出力値に1を加算した値を画像表示部3に出力する。   Then, the selector 13 selects a signal to be output based on the carry value. When the carry value is “0”, the output value from the memory 2 is output to the image display unit 3 when the carry value is “1”.

図25は、本発明の第6の実施形態における入力信号、メモリに蓄積される信号、FRC画像処理部後段からの出力信号の値を示す。また、多値ディザ(従来技術)による出力信号、それぞれの入力信号に対する平均値、平均値と入力信号値との差、出力信号の標準偏差も併せて示している。ここで出力信号は、本来4ビットであるが、入力信号との誤差を比較するために4ビット→6ビット変換した値を使用している。また、FRC画像処理部後段9からの出力信号は、FRC画像処理部後段9によって得られる4フレーム(1周期)分の平均値である。従来技術の誤差と比較して本実施形態の標準偏差は、ほとんどの階調で減少しており、かつ安定して低い値をとっていることが分かる。また図6の結果との比較でもほとんど遜色ない標準偏差であることが分かる。このことから、4ビットのメモリ、4ビット表示可能な画像表示装置であっても、本発明を使用することにより6ビット相当の画質の画像が得られることが分かる。   FIG. 25 shows the values of the input signal, the signal stored in the memory, and the output signal from the subsequent stage of the FRC image processing unit in the sixth embodiment of the present invention. Further, an output signal by multi-level dither (prior art), an average value for each input signal, a difference between the average value and the input signal value, and a standard deviation of the output signal are also shown. Here, the output signal is originally 4 bits, but a value converted from 4 bits to 6 bits is used to compare an error with the input signal. The output signal from the latter stage 9 of the FRC image processing unit is an average value for four frames (one cycle) obtained by the latter stage 9 of the FRC image processing unit. It can be seen that the standard deviation of the present embodiment is reduced in most gradations and has a stable low value compared to the error of the related art. In addition, it can be seen that the standard deviation is almost comparable to the result of FIG. From this, it can be seen that even with an image display device capable of displaying 4-bit memory and 4-bit, an image having an image quality equivalent to 6 bits can be obtained by using the present invention.

以上のような構成とすることにより、従来の多値ディザ処理よりも高画質で従来のFRCのように6ビット分のメモリを必要としない、画像処理装置を得ることができる。   With the above configuration, it is possible to obtain an image processing apparatus that has higher image quality than conventional multi-value dither processing and does not require a memory for 6 bits unlike the conventional FRC.

〈第7の実施形態〉
本発明を好適に実施した第7の実施形態について説明する。図26は、本発明の第7の実施形態である画像処理装置の構成例を示すブロック図である。本発明の第3の実施形態と異なるのは、画像処理部前段4と画像処理部後段5の代わりに、圧縮処理部4Aと伸張処理部5Aとを有している点である。
<Seventh embodiment>
A description will be given of a seventh embodiment in which the present invention is preferably implemented. FIG. 26 is a block diagram illustrating a configuration example of an image processing apparatus according to a seventh embodiment of the present invention. The difference from the third embodiment of the present invention lies in that a compression processing unit 4A and a decompression processing unit 5A are provided instead of the image processing unit front stage 4 and the image processing unit rear stage 5.

メモリ切替制御部6は、画像表示部3に送りたい画像に応じてセレクタ13Bの制御を行う。例えば、静止画表示を行っている場合は、画像の書き換えが行われないのでメモリ2に蓄積されている画像を表示するために、メモリ使用切替制御部6から「1」を出力し、セレクタ13Bは伸張処理部5Aから出力されたラスタ画像を画像表示部3に送る。一方、動画表示を行っている場合は、メモリ2にラスタ画像1を蓄積せず、そのまま画像表示部3に表示するのでメモリ使用切替制御部6からセレクタ13Bに「0」を出力する。   The memory switching control unit 6 controls the selector 13B according to an image to be sent to the image display unit 3. For example, when a still image is displayed, since the image is not rewritten, "1" is output from the memory use switching control unit 6 to display the image stored in the memory 2, and the selector 13B Sends the raster image output from the expansion processing unit 5A to the image display unit 3. On the other hand, when a moving image is displayed, the raster image 1 is not stored in the memory 2 but is displayed on the image display unit 3 as it is. Therefore, “0” is output from the memory use switching control unit 6 to the selector 13B.

以上のような構成とすることにより、動画・静止画の切替表示が可能であるとともに、静止画表示においては少ないチップ面積で、消費電力の減少を図った画像表示を行うことができる。この切り替え表示においては、画像処理部前段4と画像処理部後段5とのような特定の圧縮・伸張処理でなくても、任意の圧縮処理部4Aと伸張処理部5Aとでも適用可能であり、しかも大きな効果を有する。
換言すると、圧縮処理部4A及び伸張処理部5Aは、メモリ2へ入力される画像信号及びメモリ2から読み出された画像信号に対して、特定の関係(例えば、二次元ディザマトリクスが同一。)の圧縮・伸張処理を行う必要はない。
例えば、圧縮処理部4A及び伸張処理部5Aは、メモリ2へ入力される画像信号及びメモリ2から読み出された画像信号に対して、異なる二次元ディザマトリクスを用いて圧縮・伸張処理を行ってもよい。すなわち、圧縮処理部4A及び伸張処理部5Aは、構成の異なるしきい値生成部を備えていてもよい。
また、圧縮処理部4A及び伸張処理部5Aが行う圧縮・伸張処理は、二次元ディザマトリクスを用いた処理でなく他の処理方法であっても、上記同様の効果が得られることは明らかである。
With the above-described configuration, switching display between a moving image and a still image is possible, and in still image display, image display with reduced power consumption can be performed with a small chip area. In this switching display, it is possible to apply any compression processing unit 4A and expansion processing unit 5A, instead of the specific compression / expansion processing such as the image processing unit front stage 4 and the image processing unit rear stage 5, Moreover, it has a great effect.
In other words, the compression processing unit 4A and the decompression processing unit 5A have a specific relationship (for example, the two-dimensional dither matrix is the same) with respect to the image signal input to the memory 2 and the image signal read from the memory 2. It is not necessary to perform the compression / decompression processing of.
For example, the compression processing unit 4A and the expansion processing unit 5A perform compression and expansion processing on the image signal input to the memory 2 and the image signal read from the memory 2 using different two-dimensional dither matrices. Is also good. That is, the compression processing unit 4A and the decompression processing unit 5A may include threshold generation units having different configurations.
Further, it is apparent that the same effects as described above can be obtained even if the compression / expansion processing performed by the compression processing unit 4A and the expansion processing unit 5A is not a processing using a two-dimensional dither matrix but another processing method. .

〈第8の実施形態〉
本発明を好適に実施した第8の実施形態について説明する。図27は、本発明の第8の実施形態である画像処理装置の構成例を示すブロック図である。この画像処理装置は、第7の実施形態による画像処理装置の構成に加えて、処理ON・OFF制御部7をさらに有する。処理ON・OFF制御部7は、メモリ使用切替制御部6の出力信号が「0」の場合、すなわちメモリ2を介さずにラスタ画像1をそのまま画像表示部3に表示する際に、圧縮処理部4A、メモリ2、伸張処理部5Aの処理を停止するように制御する。
<Eighth embodiment>
An eighth preferred embodiment of the present invention will be described. FIG. 27 is a block diagram illustrating a configuration example of an image processing apparatus according to an eighth embodiment of the present invention. This image processing apparatus further includes a processing ON / OFF control unit 7 in addition to the configuration of the image processing apparatus according to the seventh embodiment. When the output signal of the memory use switching control unit 6 is “0”, that is, when the raster image 1 is displayed on the image display unit 3 without passing through the memory 2, the processing ON / OFF control unit 7 4A, the memory 2, and the processing of the decompression processing unit 5A are controlled to be stopped.

本実施形態による画像処理装置は、メモリ使用切替制御部6が「0」を出力している場合、すなわちメモリ2を使用しない場合は、処理ON・OFF制御部7が圧縮処理部4A、メモリ2、伸張処理部5Aの処理を停止する。これにより、第10の実施形態による画像処理装置と同様の効果が得られることに加え、さらに消費電力の減少を図ることができる。   In the image processing apparatus according to the present embodiment, when the memory use switching control unit 6 outputs “0”, that is, when the memory 2 is not used, the processing ON / OFF control unit 7 sets the compression processing unit 4A and the memory 2 Then, the processing of the decompression processing unit 5A is stopped. Thus, in addition to obtaining the same effects as the image processing apparatus according to the tenth embodiment, it is possible to further reduce the power consumption.

〈第9の実施形態〉
本発明を好適に実施した第9の実施形態について説明する。図28は、本発明の第9の実施形態である画像処理装置の構成例を示すブロック図である。第3の実施形態による画像処理装置と異なるのは、解像度が縦X*横Yで各6ビット表示可能な画像表示部3の表示容量と同じ容量の画像(すなわち、X*Y画素の画像)を蓄積できるメモリ2を有している点である。
なお、本明細書中において、”表示装置の「解像度」”とは、この表示装置(例えば、画像表示部3)が横方向及び縦方向に一画面で表示できる最大画素数を表すものである。例えば、解像度が640×480の表示装置は、横方向には640画素、縦方向には480画素を備えており、これ以下の画像を一画面中に表示できる。
また、“画像の「解像度」”とは、画像を構成する画素の総数を縦方向の画素数と横方向の画素数の積として表したものである。例えば、解像度が640×480の画像とは、横方向の画素が640、縦方向の画素が480の矩形で表される領域を占める画像のことである。
<Ninth embodiment>
A ninth preferred embodiment of the present invention will be described. FIG. 28 is a block diagram illustrating a configuration example of an image processing apparatus according to a ninth embodiment of the present invention. The image processing apparatus according to the third embodiment is different from the image processing apparatus according to the third embodiment in that the resolution is X * Y and the image has the same capacity as the display capacity of the image display unit 3 capable of displaying 6 bits each (that is, an image of X * Y pixels). In that it has a memory 2 that can store
In the present specification, the “resolution of the display device” indicates the maximum number of pixels that the display device (for example, the image display unit 3) can display on one screen in the horizontal and vertical directions. For example, a display device having a resolution of 640 × 480 has 640 pixels in the horizontal direction and 480 pixels in the vertical direction, and can display an image of less than 640 pixels on one screen.
The “resolution of an image” represents the total number of pixels constituting the image as the product of the number of pixels in the vertical direction and the number of pixels in the horizontal direction. Is an image occupying an area represented by a rectangle having 640 horizontal pixels and 480 vertical pixels.

このような場合、例えば図28に示しているように、画像表示部3の解像度(X*Y)の縦方向に2倍の画像(X*2Y)がラスタ画像1として入力された場合、画像処理部前段4において圧縮率1/2で圧縮、すなわちビットプレーン数を半分にすることにより、全ての画像をメモリ2に蓄積できる。換言すると、ラスタ画像1として入力された、縦方向に画像表示部3の解像度の2倍の画素を有する画像を全てメモリ2に蓄積できる。そして、この入力画像のX*Yの大きさの任意の領域に関して画像処理部後段5で伸張処理を行い、画像表示部3でその解像度より大きな画像の任意の領域の表示を行うことができる。以上により、フレーム周期ごとに外部から画像を入力しなくても、メモリ2に蓄積された画像が、スクロール画像のように大きな解像度の画像(換言すると、画像表示部3の解像度よりも画素数が多い画像。)であっても表示可能となる。   In such a case, for example, as shown in FIG. 28, when an image (X * 2Y) twice as long as the resolution (X * Y) of the image display unit 3 in the vertical direction is input as the raster image 1, All the images can be stored in the memory 2 by compressing the data at the compression ratio 前 in the former stage 4 of the processing unit, that is, by halving the number of bit planes. In other words, all the images input as the raster image 1 and having pixels in the vertical direction having twice the resolution of the image display unit 3 can be stored in the memory 2. Then, expansion processing is performed in the latter stage of the image processing section 5 on an arbitrary area of X * Y size of the input image, and the image display section 3 can display an arbitrary area of an image larger than the resolution. As described above, even if an image is not input from the outside in each frame period, the image stored in the memory 2 is converted into an image having a large resolution such as a scroll image (in other words, the number of pixels is smaller than the resolution of the image display unit 3). Many images can be displayed.

メモリ2を介さない画像表示を行う場合、入力画像の解像度はX*Yが最大である。換言すると、ラスタ画像1として入力された入力画像がX*Y画素よりも小さい場合、メモリ使用切換制御部6はセレクタ13Bに「0」を出力し、ラスタ画像1をメモリ2を介さずに直接画像表示部3に表示させる。   When an image is displayed without passing through the memory 2, the resolution of the input image is X * Y at the maximum. In other words, when the input image input as the raster image 1 is smaller than X * Y pixels, the memory use switching control unit 6 outputs “0” to the selector 13B, and directly outputs the raster image 1 without passing through the memory 2. The image is displayed on the image display unit 3.

なお、この例での入力画像は連続した2画面分の画像であったが、これに限定することはなく、異なる2以上の画面の画像でも同じ効果が得られることはいうまでもない。
換言すると、例えば、X*Y画素のラスタ画像をメモリ2に二つ蓄積する場合も、画像処理部前段4において上記同様の圧縮処理を施すことで、各ラスタ画像をメモリ2に蓄積することが可能である。また、各ラスタ画像をメモリ2から読み出し、画像処理部後段5において伸張処理を施したうえで、画像表示部3において表示させることが可能である。
Although the input image in this example is an image for two continuous screens, the present invention is not limited to this, and it goes without saying that the same effect can be obtained with images of two or more different screens.
In other words, for example, even when two raster images of X * Y pixels are stored in the memory 2, each raster image can be stored in the memory 2 by performing the same compression processing in the former stage of the image processing unit 4. It is possible. It is also possible to read out each raster image from the memory 2, perform expansion processing in the subsequent stage 5 of the image processing unit, and then display it on the image display unit 3.

このように、本実施形態によれば、画像表示部3のm倍(mは任意の正数)の解像度の画像がラスタ画像1として入力された場合は、入力画像をm分の1に圧縮してメモリ2へ蓄積する。よって、入力画像が画像表示部3の解像度よりも画素数が多いラスタ画像であっても、メモリ2へ蓄積することが可能となる。
また、メモリ2に蓄積した画像の画像信号に対し画像処理部後段5において伸張処理を行うことによって、画像表示部3でその解像度より大きな画像の任意の領域の表示を行うことができる。
さらに、フレーム周期ごとに外部から画像を入力しなくても、メモリ2に蓄積された画像が、スクロール画像のように大きな解像度の画像(換言すると、画像表示部3の解像度よりも画素数が多い画像。)であっても表示可能となる。
As described above, according to the present embodiment, when an image having a resolution of m times (m is an arbitrary positive number) of the image display unit 3 is input as the raster image 1, the input image is compressed to 1 / m. And store it in the memory 2. Therefore, even if the input image is a raster image having a larger number of pixels than the resolution of the image display unit 3, it can be stored in the memory 2.
In addition, by performing expansion processing on the image signal of the image stored in the memory 2 in the subsequent stage 5 of the image processing unit, the image display unit 3 can display an arbitrary area of the image larger than the resolution.
Furthermore, even if an image is not input from the outside in each frame cycle, the image stored in the memory 2 has a larger number of pixels than the resolution of the image display unit 3 such as a scroll image. Image)).

〈第10の実施形態〉
本発明を好適に実施した第10の実施形態について説明する。図29は、本発明の第10の実施形態である画像処理装置の構成例を示すブロック図である。本実施形態による画像処理装置は、画像処理部前段4とメモリ2との間にセレクタ13Cを備え、画像処理部後段5とセレクタ13Bとの間にセレクタ13Dを備え、さらにセレクタ13C及び13Dの制御を行うメモリ入力信号切替制御部27を有している点で第9の実施形態による画像処理装置と異なる。
<Tenth embodiment>
A tenth preferred embodiment of the present invention will be described. FIG. 29 is a block diagram illustrating a configuration example of an image processing apparatus according to a tenth embodiment of the present invention. The image processing apparatus according to the present embodiment includes a selector 13C between the former stage 4 of the image processing unit and the memory 2, a selector 13D between the latter stage 5 of the image processing unit and the selector 13B, and further controls the selectors 13C and 13D. The image processing apparatus according to the ninth embodiment differs from the image processing apparatus according to the ninth embodiment in having a memory input signal switching control unit 27 for performing

メモリ入力信号切替制御部27は入力画像の解像度などを参照して、メモリ2に蓄積する画像を圧縮画像か、非圧縮画像かを選択する。以下の説明においては、解像度を参照することで圧縮画像又は非圧縮画像を選択しているが、これに限らず、ビットプレーン数といった画像のデータ容量を参照することによって圧縮画像又は非圧縮画像を選択するようにしてもよいことはいうまでもない。   The memory input signal switching control unit 27 selects an image stored in the memory 2 as a compressed image or a non-compressed image with reference to the resolution of the input image. In the following description, the compressed image or the non-compressed image is selected by referring to the resolution. However, the present invention is not limited to this, and the compressed image or the non-compressed image is selected by referring to the data capacity of the image such as the number of bit planes. It goes without saying that a selection may be made.

例えば、ラスタ画像1の画素数がX*Yでメモリ2を使用する場合、メモリ入力信号切替制御部27は、セレクタ13C及びセレクタ13Dに「0」を出力し、メモリ使用切替部6は、セレクタ13Bに「1」を出力する。これによって、メモリ2には非圧縮画像が蓄積され、画像表示部3には非圧縮画像が表示される。   For example, when the number of pixels of the raster image 1 is X * Y and the memory 2 is used, the memory input signal switching control unit 27 outputs “0” to the selectors 13C and 13D, and the memory use switching unit 6 13B is output as "1". As a result, the uncompressed image is stored in the memory 2, and the uncompressed image is displayed on the image display unit 3.

また、ラスタ画像1の画素数がX*2Yでメモリ2を使用する場合、メモリ入力信号切替部27はセレクタ13C及び13Dに「1」を出力し、メモリ使用切替部6は、セレクタ13Bに「1」を出力する。これによって、メモリ2には、画像処理部前段4において圧縮された画像が蓄積され、画像表示部3には、メモリ2から読み出され画像処理部後段5において伸張された画像が表示される。   When the number of pixels of the raster image 1 is X * 2Y and the memory 2 is used, the memory input signal switching unit 27 outputs “1” to the selectors 13C and 13D, and the memory use switching unit 6 outputs “1” to the selector 13B. 1 "is output. Thus, the image compressed in the former stage 4 of the image processing unit is stored in the memory 2, and the image read out from the memory 2 and expanded in the latter stage 5 of the image processing unit is displayed on the image display unit 3.

なお、ラスタ画像1の画素数がX*Yでメモリ2を使用しない場合は、本実施形態の第1の構成例と同様であり、メモリ使用切換制御部6はセレクタ13Bに「0」を出力し、メモリ2を介さずにラスタ画像1を直接画像表示部3に表示させる。   When the number of pixels of the raster image 1 is X * Y and the memory 2 is not used, the operation is the same as in the first configuration example of the present embodiment, and the memory use switching control unit 6 outputs “0” to the selector 13B. Then, the raster image 1 is directly displayed on the image display unit 3 without going through the memory 2.

以上のような構成により、メモリ2に蓄積する画像として、圧縮画像か、非圧縮画像かを選択することが可能となる。画質よりもその表示可能な画像の大きさを優先する場合は、圧縮画像を選択することによって、地図のような一画面に入りきらない画像を蓄積することが可能である。また、自然画の静止画像のように画質を優先する場合には、非圧縮画像を選択することにより、画質とメモリの効率化に優れた、適応的な画像処理装置を得ることができる。   With the above configuration, it is possible to select a compressed image or a non-compressed image as an image to be stored in the memory 2. When the size of the displayable image is prioritized over the image quality, by selecting a compressed image, it is possible to accumulate an image such as a map that does not fit on one screen. In the case where priority is given to image quality as in the case of a still image of a natural image, by selecting an uncompressed image, it is possible to obtain an adaptive image processing apparatus which is excellent in image quality and memory efficiency.

〈第11の実施形態〉
本発明を好適に実施した第11の実施形態について説明する。図30は、本発明の第11の実施形態である画像処理装置の構成例を示すブロック図である。本実施形態において原画像であるラスタ画像1は、画像1Aと文字情報1Bとに分割されて画像処理装置に入力される。
本実施形態による画像処理装置は、画像合成部28を有する点が第9の実施形態による画像処理装置と異なる。画像合成部28は、画像処理部後段5においてビットプレーン数が増加された画像1Aと、文字情報1Bとの合成画像を生成する。
<Eleventh embodiment>
An eleventh preferred embodiment of the present invention will be described. FIG. 30 is a block diagram illustrating a configuration example of an image processing apparatus according to an eleventh embodiment of the present invention. In the present embodiment, a raster image 1, which is an original image, is divided into an image 1A and character information 1B and input to an image processing apparatus.
The image processing apparatus according to the present embodiment is different from the image processing apparatus according to the ninth embodiment in having an image combining unit 28. The image synthesizing unit 28 generates a synthesized image of the image 1A whose number of bit planes has been increased in the subsequent stage 5 of the image processing unit and the character information 1B.

入力画像であるラスタ画像が、画像1A(画素数X*Y;6ビット)及び文字情報1B(画素数X*Y;1ビット)の二つのレイヤーに分割されて入力された場合を考える。非圧縮状態での合成画像は、X*Yそれぞれの画素において、6ビット+1ビット=7ビットのデータとなる。メモリ2に蓄積できる最大のデータ量は、X*Yそれぞれの画素において6ビットのデータであるため、非圧縮状態での合成画像はメモリ2には蓄積できない。   It is assumed that a raster image, which is an input image, is divided into two layers of an image 1A (pixel number X * Y; 6 bits) and character information 1B (pixel number X * Y; 1 bit) and input. The synthesized image in the uncompressed state is data of 6 bits + 1 bit = 7 bits in each of X * Y pixels. Since the maximum amount of data that can be stored in the memory 2 is 6-bit data for each pixel of X * Y, a composite image in an uncompressed state cannot be stored in the memory 2.

このような場合、メモリ使用切替制御部6は、セレクタ13Bに「1」を出力し、画像1Aを画像処理部前段4に入力する。画像処理部前段4において、画像1Aに対して上記同様の圧縮処理が施され、画像1Aのビットプレーン数が「6」から「5」に減少する。ビットプレーン数が減少した画像1Aと文字情報1Bとのデータ量の合計は、X*Yそれぞれの画素において、5ビット+1ビット=6ビットのデータ量となるため、メモリ2に蓄積することが可能となる。   In such a case, the memory use switching control unit 6 outputs “1” to the selector 13B and inputs the image 1A to the former stage 4 of the image processing unit. In the former stage 4 of the image processing unit, the same compression processing as described above is performed on the image 1A, and the number of bit planes of the image 1A is reduced from “6” to “5”. Since the total data amount of the image 1A and the character information 1B with the reduced number of bit planes is the data amount of 5 bits + 1 bit = 6 bits in each of X * Y pixels, it can be stored in the memory 2. It becomes.

また、メモリ2から読み出されたビットプレーン数が「5」に減少した画像1Aは、画像処理部後段5において上記同様の伸張処理が施され、ビットプレーン数が「5」から「6」に増加される。画像合成部28は、画像処理部後段5においてビット数が増やされた画像1Aと、メモリ2から読み出した文字情報1Bとの合成画像を生成する。この合成画像は、画像表示部3において表示される。   The image 1A read from the memory 2 with the number of bit planes reduced to “5” is subjected to the same decompression processing in the latter stage of the image processing unit 5, and the number of bit planes is changed from “5” to “6”. Will be increased. The image synthesizing unit 28 generates a synthesized image of the image 1A whose number of bits has been increased in the subsequent stage 5 of the image processing unit and the character information 1B read from the memory 2. This composite image is displayed on the image display unit 3.

このように本実施形態による画像処理装置は、ラスタ画像が二つのレイヤーに分割して入力され、それらが非圧縮ではメモリ2に蓄積不可能なときは、少なくとも一方のレイヤーのデータを圧縮、又はビットプレーン数を減少させてメモリ2に蓄積し、伸張又はビットプレーン数の増加により得られた二つのレイヤーを合成して表示できる。
例えば、図30に示しているように画像1Aが通常の6ビット画像で、文字情報1Bが1ビットの文字情報であるような場合、画像合成部28で文字のオーバーレイ表示を実現することができる。また、オーバーレイ表示のための新たなメモリを設けることなく画像表示が可能である。
As described above, the image processing apparatus according to the present embodiment compresses the data of at least one of the layers when the raster image is divided into two layers and input, and when they cannot be stored in the memory 2 without compression. The number of bit planes is reduced and stored in the memory 2, and two layers obtained by decompression or increase of the number of bit planes can be combined and displayed.
For example, as shown in FIG. 30, when the image 1A is a normal 6-bit image and the character information 1B is 1-bit character information, the image combining unit 28 can realize the overlay display of the character. . Further, an image can be displayed without providing a new memory for overlay display.

さらに、本実施形態による画像処理装置は、画像1A及び文字情報1Bを独立に変更することが可能である。例えば、画像1Aとして静止画像を文字情報1Bとして時刻を表示する時計を考えた場合、文字情報1Bのみを所定の間隔(例えば、1秒ごと、1分ごと)で取得してメモリ2へ入力することで、画像処理部前段4、メモリ2及び画像処理部後段5における処理を省略できる。これにより、ラスタ画像1を画像表示部3で表示する際に、消費電力を低減することが可能となる。   Further, the image processing apparatus according to the present embodiment can change the image 1A and the character information 1B independently. For example, assuming a clock that displays a time as a still image as character information 1B as image 1A, only character information 1B is acquired at predetermined intervals (for example, every second and every minute) and input to memory 2. This makes it possible to omit the processing in the former stage 4 of the image processing unit, the memory 2 and the latter stage 5 of the image processing unit. This makes it possible to reduce power consumption when displaying the raster image 1 on the image display unit 3.

なお、本実施形態ではラスタ画像を構成する二つのレイヤーの例として多階調映像と文字情報とをあげたが、これに限定されることはなく、その他の構成、例えば二つの映像の重ね合わせといった構成でも適用可能である。   In the present embodiment, the multi-tone image and the character information have been described as examples of the two layers constituting the raster image. However, the present invention is not limited to this. Such a configuration is also applicable.

〈第12の実施形態〉
本発明を好適に実施した第12の実施形態について説明する。図31は、本発明の第12の実施形態である画像処理装置の構成例を示すブロック図である。本実施形態においてラスタ画像1を表示させるための信号は、画像1Aと画素ごとの制御信号29との二つのレイヤーに分割されて画像処理装置へ入力される。
本実施形態による画像処理装置が第9の実施形態による画像処理装置と異なる点は、画像1Aと制御信号29とが非圧縮ではメモリ2に蓄積不可能なときは、画像1Aを圧縮又はビットプレーン数を減少させてメモリ2に蓄積し、伸張又はビットプレーン数の増加により得られた映像を制御信号29に基づいて画像表示部3において表示することである。
<Twelfth embodiment>
A twelfth preferred embodiment of the present invention will be described. FIG. 31 is a block diagram illustrating a configuration example of an image processing apparatus according to a twelfth embodiment of the present invention. In the present embodiment, a signal for displaying the raster image 1 is divided into two layers of an image 1A and a control signal 29 for each pixel, and is input to the image processing device.
The image processing apparatus according to the present embodiment is different from the image processing apparatus according to the ninth embodiment in that when the image 1A and the control signal 29 cannot be stored in the memory 2 without compression, the image 1A is compressed or bit-planed. The number is stored in the memory 2 with the number reduced, and the image obtained by decompression or the increase in the number of bit planes is displayed on the image display unit 3 based on the control signal 29.

ラスタ画像1を表示させるための信号が、画像1A(画素数X*Y;6ビット)及び各画素ごとの制御信号29(1ビット)の二つのレイヤーに分割されて入力された場合を考える。画像1Aと制御信号29のデータ量の合計は、X*Yそれぞれの画素において6ビット+1ビット=7ビット分のデータとなる。メモリ2に蓄積できる最大のデータ量は、X*Yそれぞれの画素において6ビット分のデータであるため、非圧縮状態ではラスタ画像1を表示させるための信号はメモリ2に蓄積できない。   It is assumed that a signal for displaying the raster image 1 is input after being divided into two layers of an image 1A (the number of pixels X * Y; 6 bits) and a control signal 29 (1 bit) for each pixel. The total data amount of the image 1A and the control signal 29 is 6 bits + 1 bit = 7 bits of data in each of X * Y pixels. Since the maximum amount of data that can be stored in the memory 2 is 6 bits of data for each pixel of X * Y, a signal for displaying the raster image 1 cannot be stored in the memory 2 in an uncompressed state.

このような場合、メモリ使用切替制御部6は、セレクタ13Bに「1」を出力し、ラスタ画像1を表示するための信号を画像処理部前段4に入力する。画像処理部前段4において、画像1Aに対して上記同様の圧縮処理が施され、画像1Aのビットプレーン数が「6」から「5」に減少する。ビットプレーン数が減少した画像1Aと各画素の制御信号29とのデータ量の合計は、X*Yそれぞれの画素において5ビット+1ビット=6ビット分のデータ量となるため、メモリ2に蓄積することが可能となる。   In such a case, the memory use switching control unit 6 outputs “1” to the selector 13B, and inputs a signal for displaying the raster image 1 to the image processing unit front stage 4. In the former stage 4 of the image processing unit, the same compression processing as described above is performed on the image 1A, and the number of bit planes of the image 1A is reduced from “6” to “5”. Since the total data amount of the image 1A with the reduced number of bit planes and the control signal 29 of each pixel is 5 bits + 1 bit = 6 bits in each pixel of X * Y, it is accumulated in the memory 2. It becomes possible.

また、メモリ2から読み出されたビットプレーン数が「5」に減少した画像1Aは、画像処理部後段5において上記同様の伸張処理が施され、ビットプレーン数が「5」から「6」に増加される。ビットプレーン数が増やされた画像1Aは、メモリ2から読み出された各画素ごとの制御信号29に基づいて画像表示部3において表示される。   The image 1A read from the memory 2 with the number of bit planes reduced to “5” is subjected to the same decompression processing in the latter stage of the image processing unit 5, and the number of bit planes is changed from “5” to “6”. Will be increased. The image 1A with the increased number of bit planes is displayed on the image display unit 3 based on the control signal 29 for each pixel read from the memory 2.

このように本実施形態による画像処理装置は、ラスタ画像1を表示させるための信号が少なくとも一つの画像と少なくとも一つの制御信号とに分割して入力され、それらが非圧縮ではメモリ2に蓄積不可能なとき、少なくとも一つの画像を圧縮、又はビットプレーン数を減少させてメモリ2に蓄積し、伸張又はビットプレーン数の増加により得られた画像を制御信号に基づいて表示できる。   As described above, in the image processing apparatus according to the present embodiment, the signal for displaying the raster image 1 is divided into at least one image and at least one control signal, and is input. When possible, at least one image can be compressed or stored in the memory 2 with a reduced number of bit planes, and an image obtained by decompression or an increase in the number of bit planes can be displayed based on a control signal.

さらに、本実施形態による画像処理装置は、画像1A及び制御情報29を独立に変更することが可能である。これは、第14の実施形態と同様であり、例えばメモリ2に蓄積された画像1A及び制御情報29のうち、制御情報29のみを更新することで、画像処理部前段4、メモリ2及び画像処理部後段5における処理を省略できる。これにより、ラスタ画像1を画像表示部3で表示する際に、消費電力を低減することが可能となる。   Further, the image processing apparatus according to the present embodiment can change the image 1A and the control information 29 independently. This is the same as in the fourteenth embodiment. For example, by updating only the control information 29 of the image 1A and the control information 29 stored in the memory 2, the former stage 4, the memory 2, and the image processing unit The processing in the post-stage 5 can be omitted. This makes it possible to reduce power consumption when displaying the raster image 1 on the image display unit 3.

〈第13の実施形態〉
上述する本発明の第12の実施形態まででメモリを有する構成において、メモリ容量の減少、消費電力の減少を図り、かつ画質が従来技術と遜色ないものが得られる画像処理装置について説明した。本発明の第13及び第14の実施形態では、その他にも、第1の装置から第2の装置へのラスタ画像の転送において、その伝送容量を減少させることが可能である。以下その構成について説明する。
<Thirteenth embodiment>
In the above-described configuration having a memory up to the twelfth embodiment of the present invention, an image processing apparatus has been described in which a memory capacity is reduced, power consumption is reduced, and an image quality comparable to that of the related art is obtained. In addition, in the thirteenth and fourteenth embodiments of the present invention, it is possible to reduce the transmission capacity in the transfer of the raster image from the first device to the second device. The configuration will be described below.

図32は、本発明の第13の実施形態である画像伝送装置の概略構成を示すブロック図である。図32において、本発明の第13の実施形態である画像伝送装置は、ラスタ画像を送信する第1の装置7と、ラスタ画像を受信する第2の装置8と、を有して構成され、第1の装置7では各色6ビット階調のラスタ画像1を画像処理部前段4で各色4ビット階調に変換し、それを第2の装置8に伝送する。第2の装置8では、第1の装置7から受け取ったラスタ画像を画像処理部後段5で処理を行い、各色6ビット階調のラスタ画像に戻し、画像表示部3へ出力する。   FIG. 32 is a block diagram illustrating a schematic configuration of an image transmission device according to a thirteenth embodiment of the present invention. In FIG. 32, the image transmission device according to the thirteenth embodiment of the present invention includes a first device 7 for transmitting a raster image and a second device 8 for receiving a raster image, In the first device 7, the raster image 1 having 6-bit gradation for each color is converted into 4-bit gradation for each color by the former stage 4 of the image processing unit, and is transmitted to the second device 8. In the second device 8, the raster image received from the first device 7 is processed in the latter stage of the image processing unit 5, returned to a raster image of 6-bit gradation for each color, and output to the image display unit 3.

ここで、画像処理部前段4、画像処理部後段5は、上述する各実施形態で説明してきた構成と同じものである。   Here, the former stage 4 of the image processing unit and the latter stage 5 of the image processing unit have the same configuration as that described in each of the above embodiments.

以上のような構成とすることにより、第1の装置7から第2の装置8へのラスタ画像の伝送において画質劣化がほとんどなく、少ない伝送容量で画像伝送が行えることが分かる。これは、画像の伝送容量が不足している場合や、第1の装置と第2の装置間の伝送路の本数を減らすのに効果がある。   With the above configuration, it can be seen that image quality is hardly degraded in transmission of a raster image from the first device 7 to the second device 8, and image transmission can be performed with a small transmission capacity. This is effective in the case where the image transmission capacity is insufficient, and in reducing the number of transmission paths between the first device and the second device.

なお、本実施形態による画像伝送装置が有する第2の装置8は、本発明による画像受信装置の好適な実施形態をも示している。
本発明による画像受信装置は、第2の装置8のように、原画像よりもビットプレーン数が減少したラスタ画像を受信し、受信した画像のビットプレーン数を増加させることによって、原画像と比較して画質に遜色のない画像を得ることができる。また、送信側においてビットプレーン数を原画像よりも減少させた状態の画像を受信するため、画像を効率的に受信できる。
例えば、画像を受信するための伝送路が16ビットのバス幅しか備えていない装置において各色6ビット(計18ビット)のラスタ画像を受信したい場合などは、送信側においてビットプレーン数が減少された状態のラスタ画像を受信して、この画像のビットプレーン数を増加させることにより、原画像と比較して画質に遜色のない画像を各色パラレルに受信することが可能となる。
Note that the second device 8 included in the image transmission device according to the present embodiment also shows a preferred embodiment of the image receiving device according to the present invention.
The image receiving apparatus according to the present invention, like the second apparatus 8, receives a raster image having a smaller number of bit planes than the original image and increases the number of bit planes of the received image to compare with the original image. As a result, it is possible to obtain an image comparable in image quality. Further, since the transmitting side receives an image in a state where the number of bit planes is smaller than that of the original image, the image can be efficiently received.
For example, in a case where a transmission line for receiving an image has only a 16-bit bus width and wants to receive a raster image of 6 bits for each color (18 bits in total), the number of bit planes is reduced on the transmission side. By receiving the raster image in the state and increasing the number of bit planes of the image, it is possible to receive an image having the same image quality as the original image in parallel with each color.

〈第14の実施形態〉
図33に、本発明の第14の実施形態である画像伝送装置を示す。この画像伝送装置は、ラスタ画像を送信する第1の装置7と、ラスタ画像を受信する第2の装置8a,8b,8cを有する。なお、第1の装置7と第2の装置8a,8b,8cとの間の伝送路のバス幅は、それぞれ15ビット、12ビット、9ビットとする。
第1の装置7は、画像処理部前段4、ビットプレーン減少数制御部50、セレクタ51及びデマルチプレクサ52を有する。画像処理部前段4は、ラスタ画像1のビットプレーン数(各色6ビット階調)を所定の値まで減少させ、ビットプレーン減少数制御部50からの指示に応じたビットプレーン数のラスタ画像をセレクタ51に出力する。ビットプレーン減少数制御部50は、ラスタ画像1を第2の装置8a〜8cのいずれに伝送するかに応じてセレクタ51を制御し、受信側の装置に適したビットプレーン数の画像を画像処理部前段4に出力させる。また、デマルチプレクサ52を制御して、画像処理部前段4がビットプレーン数を減少させたラスタ画像の伝送路を選択する。
第2の装置8aは、画像処理部後段8a及び画像表示部3aを有する。画像処理部後段5aは、第1の装置7から伝送されてきた各色5ビットのラスタ画像に上記同様の処理を行い、各色6ビットのラスタ画像に復元する。画像表示部3は、各色6ビットに復元されたラスタ画像を表示する。
なお、第2の装置8bは、画像処理部後段5bにおいて各色4ビットのラスタ画像を各色6ビットに復元し、第2の装置8cは、画像処理部後段5cにおいて各色3ビットのラスタ画像を各色6ビットに復元する他は、第2の装置8aと同様である。
<Fourteenth Embodiment>
FIG. 33 shows an image transmission apparatus according to a fourteenth embodiment of the present invention. This image transmission device has a first device 7 for transmitting a raster image and second devices 8a, 8b, 8c for receiving a raster image. The bus width of the transmission path between the first device 7 and the second devices 8a, 8b, 8c is 15 bits, 12 bits, and 9 bits, respectively.
The first device 7 includes a former stage 4 of the image processing unit, a bit plane reduction number control unit 50, a selector 51, and a demultiplexer 52. The image processing unit front stage 4 reduces the number of bit planes (6-bit gradation for each color) of the raster image 1 to a predetermined value, and selects a raster image of the number of bit planes according to the instruction from the bit plane reduction number control unit 50. 51. The bit plane reduction number control unit 50 controls the selector 51 according to which of the second devices 8a to 8c the raster image 1 is to be transmitted, and performs image processing on the image with the number of bit planes suitable for the receiving device. Output to the front stage 4 Also, by controlling the demultiplexer 52, the image processing unit front stage 4 selects the transmission path of the raster image in which the number of bit planes is reduced.
The second device 8a has an image processing unit rear stage 8a and an image display unit 3a. The subsequent stage 5a of the image processing unit performs the same processing as described above on the 5-bit raster image of each color transmitted from the first device 7, and restores the raster image of 6 bits for each color. The image display unit 3 displays a raster image restored to 6 bits for each color.
The second device 8b restores the 4-bit raster image of each color to 6 bits of each color in the subsequent stage 5b of the image processing unit, and the second device 8c converts the 3-bit raster image of each color into each color in the subsequent stage 5c of the image processing unit. Except for restoring to 6 bits, it is the same as the second device 8a.

本実施形態による画像伝送装置の動作について説明する。なお、ここではラスタ画像1を第2の装置8aへ伝送する場合を例に説明を行う。画像処理部前段4は、各色6ビットのラスタ画像1に処理を施し、各色5ビット、4ビット、3ビットのラスタ画像をそれぞれ生成する。ビットプレーン削減数制御部50は、セレクタ51を制御し、受信側の装置に応じたラスタ画像、すなわち各色5ビットのラスタ画像をデマルチプレクサ52に入力させる。この時ビットプレーン減少数制御部50は、制御信号を“a”としてセレクタ51へ送る。ビットプレーン減少数制御部50から出力される制御信号が“a”であるため、デマルチプレクサ52に入力されたラスタ画像は、第2の装置8aへの伝送路へ出力される。
第2の装置8aでは、第1の装置7から受け取ったラスタ画像に対して画像処理部後段5で処理を行って各色6ビット階調のラスタ画像に戻し、画像表示部3aにおいて表示する。
The operation of the image transmission device according to the present embodiment will be described. Here, a case where the raster image 1 is transmitted to the second device 8a will be described as an example. The first stage of the image processing unit 4 performs processing on the raster image 1 of 6 bits for each color to generate a raster image of 5 bits, 4 bits, and 3 bits for each color. The bit plane reduction number control unit 50 controls the selector 51 to input a raster image corresponding to the device on the receiving side, that is, a 5-bit raster image for each color to the demultiplexer 52. At this time, the bit plane reduction number control unit 50 sends the control signal to the selector 51 as “a”. Since the control signal output from the bit plane reduction number control unit 50 is “a”, the raster image input to the demultiplexer 52 is output to the transmission path to the second device 8a.
In the second device 8a, the raster image received from the first device 7 is processed in the latter stage of the image processing unit 5 to return to a raster image of 6-bit gradation for each color and displayed on the image display unit 3a.

このように、本実施形態による画像伝送装置は、ラスタ画像のビットプレーン数をどの程度減少させるかを、受信側の装置に応じて選択することが可能となる。よって、受信側の装置への伝送路のバス幅や画像処理部後段5a〜5cの能力に応じたビットプレーン数のラスタ画像を伝送することができるため、伝送容量の効率化を計ることができる。   As described above, the image transmission device according to the present embodiment can select how much the number of bit planes of a raster image is reduced according to the device on the receiving side. Therefore, raster images can be transmitted with the number of bit planes according to the bus width of the transmission path to the receiving-side device and the capabilities of the subsequent stages 5a to 5c of the image processing unit, so that the transmission capacity can be made more efficient. .

〈第15の実施形態〉
本発明は、チップ面積の減少や消費電力の減少を狙ったものであるため、その画像処理部は複雑な処理を必要とせず、簡潔な構成である。そのことから、本発明は、メモリを内蔵した表示装置のドライバやコントローラチップに搭載し、上記効果を得られるものであるが、さらに、ガラス基板上にこれらドライバやコントローラを搭載するポリシリコン回路にも適用可能である。
<Fifteenth embodiment>
Since the present invention aims at reducing the chip area and the power consumption, the image processing unit does not require complicated processing and has a simple configuration. Therefore, the present invention is mounted on a driver or a controller chip of a display device having a built-in memory to obtain the above-mentioned effect, and further, a polysilicon circuit mounting these drivers and a controller on a glass substrate is provided. Is also applicable.

図34は、本発明の第15の実施形態であるガラス基板上にポリシリコン薄膜トランジスタ回路を用いて、画像処理部や駆動回路部を形成した液晶表示装置である。入力信号としてRGB各色6ビット、メモリはRGB各色4ビット分、出力はRGB各色6ビットとしている。外部からのラスタ画像1を液晶表示部10に表示する。液晶表示部10は、マトリクス状に配置された画素31と薄膜トランジスタ32、そして画素31及び薄膜トランジスタ32の組に対して格子状に配置した複数のデータ線33及び複数のゲート線34がそれぞれの薄膜トランジスタ32に対して1本ずつ接続した構成となっている。それぞれの画素31は、ゲート線34からの信号により薄膜トランジスタ32がON状態になったときに、薄膜トランジスタ32と接続しているデータ線33の信号が書き込まれる。   FIG. 34 shows a liquid crystal display device according to a fifteenth embodiment of the present invention in which an image processing unit and a driving circuit unit are formed using a polysilicon thin film transistor circuit on a glass substrate. The input signal is 6 bits for each color of RGB, the memory is 4 bits for each color of RGB, and the output is 6 bits for each color of RGB. The external raster image 1 is displayed on the liquid crystal display unit 10. The liquid crystal display unit 10 includes a plurality of pixels 31 and thin film transistors 32 arranged in a matrix, and a plurality of data lines 33 and a plurality of gate lines 34 arranged in a lattice for a set of the pixels 31 and the thin film transistors 32. Are connected one by one. In each pixel 31, when the thin film transistor 32 is turned on by a signal from the gate line 34, a signal of the data line 33 connected to the thin film transistor 32 is written.

ラスタ画像1は、画像処理部前段4及びデータレジスタ23に送られる。画像処理部前段4に入力したラスタ画像は、本発明の第12の実施形態までで説明したような画像処理を行い、RGBで合計12ビットのメモリ2に蓄積される。そして、必要に応じてメモリ2からデータを読み込み、画像処理部後段5で画像処理を行う。画像処理部後段5の出力は、セレクタ13Bに送られる。ここで、画像処理部前段4、メモリ2、画像処理部後段5における処理は、本発明の第12の実施形態までで説明した方法によるものである。よって、画像処理部前段4及び画像処理部後段5に入力する制御信号としては、メモリ2に書き込む又は読み出すときの画素のXY座標が必要となる。なお、画素のXY座標でなくとも、画素のXY座標を導出できるような制御信号、例えば、VSync,HSync,CLKであってもよい。メモリ2は、メモリ制御部26により読み出し、書き込みの切り換え、データ入出力のアドレスの制御を行われる。メモリ制御部26へは、画像処理部前段4及び画像処理部後段5と同じく、少なくとも画素のXY座標が入力される。   The raster image 1 is sent to the former stage 4 of the image processing unit and the data register 23. The raster image input to the former stage 4 of the image processing unit is subjected to the image processing as described up to the twelfth embodiment of the present invention, and is stored in the memory 2 of 12 bits in RGB. Then, data is read from the memory 2 as necessary, and image processing is performed in the subsequent stage 5 of the image processing unit. The output of the latter stage 5 of the image processing unit is sent to the selector 13B. Here, the processing in the first stage of the image processing unit, the memory 2, and the second stage of the image processing unit are performed by the method described up to the twelfth embodiment of the present invention. Therefore, the control signals to be input to the former stage 4 and the latter stage 5 of the image processing unit need the XY coordinates of the pixel when writing or reading to or from the memory 2. Instead of the XY coordinates of the pixel, a control signal that can derive the XY coordinates of the pixel, for example, VSync, HSync, or CLK may be used. The memory 2 is controlled by the memory control unit 26 to switch between reading and writing, and to control data input / output addresses. The XY coordinates of at least the pixel are input to the memory control unit 26 as in the former stage 4 and the latter stage 5 of the image processing unit.

図35は、液晶表示装置におけるシフトレジスタ21A、データレジスタ22の構成を示す回路図である。データレジスタ22に入力したラスタ画像は、S/R(シフトレジスタ)21Aからの出力信号に基づき、6ビットデータが順次蓄積されていき、ラッチ23でラッチされる。ラッチ23からの出力はセレクタ13Bに送られる。   FIG. 35 is a circuit diagram showing a configuration of the shift register 21A and the data register 22 in the liquid crystal display device. The raster image input to the data register 22 is sequentially accumulated with 6-bit data based on the output signal from the S / R (shift register) 21A and latched by the latch 23. The output from the latch 23 is sent to the selector 13B.

図36は、液晶表示装置におけるセレクタ13Bの構成を示す回路図である。
セレクタ13Bは、画像処理部後段5からメモリ2に蓄積されていた画像を表示するのか、外部からの画像をそのまま表示するのかによって、メモリ使用切替制御部6からの制御データに基づいてDAC24に送るデータを選択する。DAC24では、セレクタ13Bからの各色6ビットのディジタル信号をアナログ信号に変換し、データラインセレクタ25で所望のデータラインへ出力する。
FIG. 36 is a circuit diagram showing a configuration of the selector 13B in the liquid crystal display device.
The selector 13B sends the image stored in the memory 2 from the latter stage of the image processing unit 5 to the DAC 24 based on the control data from the memory use switching control unit 6, depending on whether to display the image stored in the memory 2 or the image from the outside as it is. Select data. The DAC 24 converts a 6-bit digital signal for each color from the selector 13B into an analog signal, and outputs the analog signal to a desired data line by the data line selector 25.

データラインセレクタ25からの出力は、液晶表示部10に送られ、シフトレジスタ21Bで選択されたゲート線34の行の薄膜トランジスタ32を介して、画素31に書き込まれる。   The output from the data line selector 25 is sent to the liquid crystal display unit 10, and is written to the pixel 31 via the thin film transistor 32 in the row of the gate line 34 selected by the shift register 21B.

このような構成において、本発明の第15の実施形態では、本発明の第12の実施形態までに示した画像処理回路をガラス基板上に内蔵した液晶表示装置を得ることが可能である。また、画像処理部前段4及び画像処理部後段5は、それぞれ少ないトランジスタ数で構成可能である。   With such a configuration, in the fifteenth embodiment of the present invention, it is possible to obtain a liquid crystal display device in which the image processing circuit shown in the twelfth embodiment of the present invention is built in a glass substrate. Further, the former stage 4 of the image processing unit and the latter stage 5 of the image processing unit can each be configured with a small number of transistors.

図37に、6ビット信号を4ビットメモリに蓄積し、また6ビットに展開する画像処理部前段4及び画像処理部後段5のロジック構成の一例を示す。図37においては、2入力、3入力NAND及びインバータのみで構成している。よって、メモリ面積よりもこの画像処理回路の面積の方が十分小さく、回路部の面積を減少させることが可能であることが分かる。   FIG. 37 shows an example of the logic configuration of the former stage 4 and the latter stage 5 of accumulating a 6-bit signal in a 4-bit memory and expanding it into 6 bits. In FIG. 37, only a two-input, three-input NAND and an inverter are used. Therefore, it is understood that the area of the image processing circuit is sufficiently smaller than the memory area, and the area of the circuit unit can be reduced.

なお、上述した各実施形態は本発明の好適な実施形態の一例であり、本発明の主旨を逸脱しない範囲内において種々変形して実施することが可能である。   Each of the embodiments described above is an example of a preferred embodiment of the present invention, and can be variously modified and implemented without departing from the gist of the present invention.

例えば、上記各実施形態においては、画像処理方法として、二次元ディザマトリクスを用いた多値ディザ処理、及び、二次元ディザマトリクスを基にしたビット付加を行うものとしたが、本発明はこれに限定されるものではなく、上記偽色や偽輪郭、粒状感が見られないような画像処理であれば適用可能である。   For example, in each of the embodiments described above, as the image processing method, multi-value dither processing using a two-dimensional dither matrix and bit addition based on the two-dimensional dither matrix are performed. The image processing is not limited, and any image processing can be applied as long as the above-described false color, false contour, and graininess are not seen.

また、上記各実施形態においては、上記ラスタ画像のビットプレーン数を減少させるときは、二次元ディザマトリクスを用いて多値ディザ処理を施し、ビットプレーン数を増加させるときは多値ディザ処理で用いた二次元ディザマトリクスをもとにビット付加を行うものとしているが、二次元ディザマトリクスの代わりにランダムディザを用いて多値ディザ処理を行うといった、ビットプレーン数の減少時と増加時に逆の画像処理を行うようなその他の画像処理方法を適用してもよい。   Further, in each of the above embodiments, when reducing the number of bit planes of the raster image, multi-value dither processing is performed using a two-dimensional dither matrix, and when increasing the number of bit planes, multi-value dither processing is used. Bit addition is performed based on the existing two-dimensional dither matrix, but when the number of bit planes decreases and increases, such as when multi-value dither processing is performed using random dither instead of the two-dimensional dither matrix, images are reversed. Other image processing methods for performing processing may be applied.

さらに、第2の実施形態において、画像処理をソフトウエア処理で行う場合の構成について説明したが、他の実施形態による画像処理装置や画像伝送装置においても、第2の実施形態と同様に画像処理をソフトウエア処理で行う構成とすることが可能である。
このように、本発明は、様々な変形実施が可能である。
Furthermore, in the second embodiment, the configuration in the case where the image processing is performed by software processing has been described. However, the image processing apparatus and the image transmission apparatus according to the other embodiments may perform the image processing similarly to the second embodiment. Can be performed by software processing.
As described above, the present invention can be variously modified.

本発明の第1の実施形態である画像処理方法の処理の流れを示すフローチャートである。4 is a flowchart illustrating a flow of processing of an image processing method according to the first embodiment of the present invention. 本発明の第2の実施形態である画像処理装置の概略構成を示すブロック図である。FIG. 6 is a block diagram illustrating a schematic configuration of an image processing apparatus according to a second embodiment of the present invention. 図2のしきい値生成部の出力信号の生成方法を示す平面図である。FIG. 3 is a plan view illustrating a method of generating an output signal of a threshold value generation unit in FIG. 2. 図2の画像処理部前段の処理を示す模式図である。FIG. 3 is a schematic diagram illustrating a process at a preceding stage of an image processing unit in FIG. 2; 図2のビット付加部の内部構成を示す回路図である。FIG. 3 is a circuit diagram illustrating an internal configuration of a bit addition unit in FIG. 2. 本発明の第2の実施形態における入力信号と出力信号とを示す一覧表である。9 is a table showing input signals and output signals according to the second embodiment of the present invention. 図2の画像処理部前段の他の構成を示すブロック図である。FIG. 4 is a block diagram illustrating another configuration of the preceding stage of the image processing unit in FIG. 2. 本発明の第2の実施形態である画像処理装置の他の構成を示すブロック図である。FIG. 11 is a block diagram illustrating another configuration of the image processing apparatus according to the second embodiment of the present invention. 画像処理部前段による画像処理方法を示すフローチャートである。9 is a flowchart illustrating an image processing method performed by a former stage of the image processing unit. 画像処理部後段による画像処理方法を示すフローチャートである。9 is a flowchart illustrating an image processing method performed by a subsequent stage of the image processing unit. 本発明の第3の実施形態である画像処理装置の構成を示すブロック図である。It is a block diagram showing the composition of the image processing device which is a 3rd embodiment of the present invention. 本発明の第3の実施形態である画像処理装置の他の構成を示すブロック図である。FIG. 13 is a block diagram illustrating another configuration of the image processing apparatus according to the third embodiment of the present invention. 本発明の第4の実施形態である画像処理装置の構成を示すブロック図である。It is a block diagram showing the composition of the image processing device which is a 4th embodiment of the present invention. 図11のビット付加部の内部構成を示す回路図である。FIG. 12 is a circuit diagram illustrating an internal configuration of a bit addition unit in FIG. 11. 本発明の第4の実施形態における入力信号と出力信号とを示す一覧表である。11 is a table showing input signals and output signals according to a fourth embodiment of the present invention. 図11の階調制御部による入力信号の種類に基づく階調の変更を示す図である。FIG. 12 is a diagram illustrating a change in gradation based on the type of an input signal by the gradation control unit in FIG. 11. 本発明の第5の実施形態である画像処理装置の構成を示すブロック図である。It is a block diagram showing the composition of the image processing device which is a 5th embodiment of the present invention. 本発明の第5の実施形態におけるB成分の入力信号と出力信号とを示す一覧表である。15 is a table showing an input signal and an output signal of a B component according to a fifth embodiment of the present invention. 図15の画像処理部前段及び画像処理部後段の詳細な構成を示すブロック図である。FIG. 16 is a block diagram illustrating a detailed configuration of a former stage of the image processing unit and a latter stage of the image processing unit in FIG. 15. 図15のしきい値生成部における入出力信号値を示す一覧表である。16 is a list showing input / output signal values in the threshold generation unit of FIG. 本発明の第5の実施形態である画像処理装置の他の構成を示すブロック図である。It is a block diagram showing other composition of the image processing device which is a 5th embodiment of the present invention. 本発明の第6の実施形態である画像処理装置の構成を示すブロック図である。It is a block diagram showing the composition of the image processing device which is a 6th embodiment of the present invention. 図20の2ビットカウンタの状態遷移図である。FIG. 21 is a state transition diagram of the 2-bit counter of FIG. 20. 図20のキャリー生成部の入出力信号値を示す一覧表である。21 is a list showing input / output signal values of the carry generation unit in FIG. 20. 本発明の第6の実施形態における入力信号と出力信号とを示す一覧表である。15 is a table showing input signals and output signals according to a sixth embodiment of the present invention. 本発明の第7の実施形態である画像処理装置の構成を示すブロック図である。It is a block diagram showing the composition of the image processing device which is a 7th embodiment of the present invention. 本発明の第8の実施形態である画像処理装置の構成を示すブロック図である。It is a block diagram showing the composition of the image processing device which is an 8th embodiment of the present invention. 本発明の第9の実施形態である画像処理装置の構成を示すブロック図である。It is a block diagram showing the composition of the image processing device which is a 9th embodiment of the present invention. 本発明の第10の実施形態である画像処理装置の構成を示すブロック図である。It is a block diagram showing the composition of the image processing device which is a 10th embodiment of the present invention. 本発明の第11の実施形態である画像処理装置の構成を示すブロック図である。It is a block diagram showing the composition of the image processing device which is an 11th embodiment of the present invention. 本発明の第12の実施形態である画像処理装置の構成を示すブロック図である。It is a block diagram showing the composition of the image processing device which is a 12th embodiment of the present invention. 本発明の第13の実施形態である画像伝送装置の概略構成を示すブロック図である。FIG. 39 is a block diagram illustrating a schematic configuration of an image transmission device according to a thirteenth embodiment of the present invention. 本発明の第14の実施形態である画像伝送装置の概略構成を示すブロック図である。FIG. 21 is a block diagram illustrating a schematic configuration of an image transmission device according to a fourteenth embodiment of the present invention. 液晶表示装置の構成を示すブロック図である。FIG. 3 is a block diagram illustrating a configuration of a liquid crystal display device. 図34におけるシフトレジスタ、データレジスタの構成を示すブロック図である。FIG. 35 is a block diagram showing a configuration of a shift register and a data register in FIG. 34. 図34のセレクタの内部構成を示す回路図である。FIG. 35 is a circuit diagram showing the internal configuration of the selector of FIG. 34. 図34の液晶表示装置における画像処理部前段、画像処理部後段のロジック構成図である。FIG. 35 is a logic configuration diagram of the liquid crystal display device of FIG. 34 in a stage preceding the image processing unit and a stage following the image processing unit. 従来の画像処理装置を示すブロック図である。FIG. 10 is a block diagram illustrating a conventional image processing device. 特公平2−8493号公報に記載の発明を画像処理に適用した場合の問題を示す図である。FIG. 9 is a diagram illustrating a problem when the invention described in Japanese Patent Publication No. 2-8473 is applied to image processing.

符号の説明Explanation of reference numerals

1 ラスタ画像
1A ラスタ画像(画像)
1B ラスタ画像(文字情報)
2 表示画像用メモリ
3、3A 画像表示部
4 画像処理部前段
4A 圧縮処理部
5 画像処理部後段
5A 伸張処理部
6 メモリ使用切替制御部
7 ラスタ画像送信側(第1の装置)
8 ラスタ画像受信側(第2の装置)
9 FRC画像処理部後段
10 液晶表示部
11、11A、11B しきい値生成部
12 比較器
13、13A、13B、13C、13D、51 セレクタ
14、14A ビット付加部
15、52 デマルチプレクサ
16 入出力切り替え制御部
17 加算器
18 量子化器
19 カウンタ
20 キャリー生成部
21A、21B シフトレジスタ
22 データレジスタ
23 ラッチ
24 D/Aコンバータ
25 データラインセレクタ
26 メモリ制御部
27 メモリ入力信号切替制御部
28 画像合成部
29 制御信号
31 画素
32 薄膜トランジスタ
33 データ線
34 ゲート線
50 ビットプレーン減少数制御部
1 raster image 1A raster image (image)
1B raster image (character information)
Reference Signs List 2 Display image memory 3, 3A Image display unit 4 Pre-stage of image processing unit 4A Compression processing unit 5 Post-stage of image processing unit 5A Decompression processing unit 6 Memory use switching control unit 7 Raster image transmission side (first device)
8 Raster image receiving side (second device)
9 FRC image processing unit subsequent stage 10 Liquid crystal display unit 11, 11A, 11B Threshold generation unit 12 Comparator 13, 13A, 13B, 13C, 13D, 51 Selector 14, 14A Bit addition unit 15, 52 Demultiplexer 16 Input / output switching Control unit 17 Adder 18 Quantizer 19 Counter 20 Carry generation unit 21A, 21B Shift register 22 Data register 23 Latch 24 D / A converter 25 Data line selector 26 Memory control unit 27 Memory input signal switching control unit 28 Image synthesis unit 29 Control signal 31 Pixel 32 Thin film transistor 33 Data line 34 Gate line 50 Bit plane reduction number control unit

Claims (11)

入力された画像データを蓄積手段に蓄積し、該蓄積手段から読み出した画像データに基づいて所定の表示装置に画像表示を行わせる画像処理装置であって、
原画像である第1のラスタ画像を圧縮して圧縮ラスタ画像を生成する第1の画像処理手段と、
前記圧縮ラスタ画像を前記蓄積手段に蓄積させる手段と、
前記蓄積手段に蓄積された前記圧縮ラスタ画像を読み出して伸張し、第2のラスタ画像を生成する第2の画像処理手段と、
前記第2のラスタ画像を前記表示装置へ出力する手段とを有し、
前記第1のラスタ画像のデータ量が前記蓄積手段の蓄積容量よりも大きい場合は前記圧縮ラスタ画像を生成することを特徴とする画像処理装置。
An image processing apparatus that stores input image data in a storage unit and causes a predetermined display device to perform image display based on the image data read from the storage unit,
First image processing means for generating a compressed raster image by compressing a first raster image as an original image;
Means for storing the compressed raster image in the storage means;
Second image processing means for reading and decompressing the compressed raster image stored in the storage means to generate a second raster image;
Means for outputting the second raster image to the display device,
The image processing apparatus according to claim 1, wherein the compressed raster image is generated when a data amount of the first raster image is larger than a storage capacity of the storage unit.
前記第1及び第2の画像処理手段は、前記第1のラスタ画像及び前記第2のラスタ画像の要素成分の最大値及び最小値が一致するように画像処理を行うことを特徴とする請求項1記載の画像処理装置。   2. The image processing device according to claim 1, wherein the first and second image processing units perform image processing such that maximum and minimum values of element components of the first raster image and the second raster image match. 2. The image processing device according to 1. 前記第1のラスタ画像のデータ量が前記蓄積手段の蓄積容量以下の場合には、該第1のラスタ画像を非圧縮で前記蓄積手段に蓄積するか前記第1の画像処理手段による処理を施して前記蓄積手段に蓄積するかを選択する手段をさらに有することを特徴とする請求項1又は2記載の画像処理装置。   When the data amount of the first raster image is equal to or less than the storage capacity of the storage unit, the first raster image is stored in the storage unit without compression or subjected to processing by the first image processing unit. 3. The image processing apparatus according to claim 1, further comprising: means for selecting whether to store the data in the storage means. 前記第1のラスタ画像を、前記第1の画像処理手段、前記蓄積手段及び前記第2の画像処理手段を介さずに前記表示装置へ出力する手段と、
前記表示装置に前記第1のラスタ画像及び前記第2のラスタ画像のいずれを出力するかを選択する手段とをさらに有することを特徴とする請求項1から3のいずれか1項記載の画像処理装置。
Means for outputting the first raster image to the display device without passing through the first image processing means, the storage means, and the second image processing means;
4. The image processing apparatus according to claim 1, further comprising: a unit configured to select which of the first raster image and the second raster image is to be output to the display device. 5. apparatus.
前記表示装置へ第1のラスタ画像を出力する場合には、前記第1の画像処理手段、前記蓄積手段及び前記第2の画像処理手段の動作を停止させる手段をさらに有することを特徴とする請求項4記載の画像処理装置。   When outputting the first raster image to the display device, further comprising means for stopping the operations of the first image processing means, the accumulation means, and the second image processing means. Item 5. The image processing device according to Item 4. 前記第2の画像処理手段が、前記表示装置の駆動回路と同じ基板上に形成されたことを特徴とする請求項1から5のいずれか1項に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the second image processing unit is formed on a same substrate as a driving circuit of the display device. 前記第1の画像処理手段が、前記表示装置の駆動回路と同じ基板上に形成されたことを特徴とする請求項1から6のいずれか1項に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the first image processing unit is formed on a same substrate as a drive circuit of the display device. 入力された画像データを蓄積手段に蓄積し、該蓄積手段から読み出した画像データに基づいて所定の表示装置に画像表示を行わせる画像処理方法であって、
原画像である第1のラスタ画像のデータ量が前記蓄積手段の蓄積容量よりも大きい場合には、該第1のラスタ画像を圧縮して圧縮ラスタ画像を生成する第1の画像処理ステップと、
前記圧縮ラスタ画像を前記蓄積手段に蓄積するステップと、
前記蓄積手段に蓄積された前記圧縮ラスタ画像を読み出して伸張し、第2のラスタ画像を生成する第2の画像処理ステップと、
前記第2のラスタ画像を前記表示装置へ出力するステップとを有することを特徴とする画像処理方法。
An image processing method that stores input image data in a storage unit and causes a predetermined display device to display an image based on the image data read from the storage unit,
A first image processing step of compressing the first raster image to generate a compressed raster image when the data amount of the first raster image as the original image is larger than the storage capacity of the storage unit;
Storing the compressed raster image in the storage unit;
A second image processing step of reading and decompressing the compressed raster image stored in the storage unit and generating a second raster image;
Outputting the second raster image to the display device.
前記第1の画像処理ステップの前段に、
前記第1のラスタ画像のデータ量が前記蓄積手段の蓄積容量以下の場合、該第1のラスタ画像を非圧縮で前記蓄積手段に蓄積するか圧縮して前記蓄積手段に蓄積するかを選択する選択ステップをさらに有し、
該選択ステップにおいて前記第1のラスタ画像を圧縮することが選択された場合には、データ量が前記蓄積手段の蓄積容量以下の第1のラスタ画像に対しても前記第1の画像処理ステップにおいて画像処理を実行することを特徴とする請求項8記載の画像処理方法。
Before the first image processing step,
When the data amount of the first raster image is equal to or less than the storage capacity of the storage unit, the user selects whether to store the first raster image in the storage unit without compression or to store it in the storage unit after compression. Further comprising a selection step,
If it is selected in the selecting step that the first raster image is compressed, the first image processing step also applies to the first raster image whose data amount is equal to or less than the storage capacity of the storage means. The image processing method according to claim 8, wherein image processing is performed.
前記表示装置に前記第1のラスタ画像及び前記第2のラスタ画像のいずれを出力するかを選択する出力切替ステップを最前段にさらに有することを特徴とする請求項8又は9記載の画像処理方法。   10. The image processing method according to claim 8, further comprising an output switching step of selecting which of the first raster image and the second raster image is output to the display device. . 前記出力切替ステップの後段に、当該出力切替ステップにおいて前記第1のラスタ画像が選択された場合には、前記第1の画像処理ステップ及び前記第2の画像処理ステップによる画像処理を停止させる処理停止ステップをさらに有することを特徴とする請求項10記載の画像処理方法。   After the output switching step, if the first raster image is selected in the output switching step, stop the image processing in the first image processing step and the second image processing step The image processing method according to claim 10, further comprising a step.
JP2004024234A 2001-09-14 2004-01-30 Image processing apparatus and image processing method Expired - Fee Related JP3781039B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004024234A JP3781039B2 (en) 2001-09-14 2004-01-30 Image processing apparatus and image processing method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2001280646 2001-09-14
JP2004024234A JP3781039B2 (en) 2001-09-14 2004-01-30 Image processing apparatus and image processing method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2002206186A Division JP3620521B2 (en) 2001-09-14 2002-07-15 Image processing apparatus, image transmission apparatus, image receiving apparatus, and image processing method

Publications (3)

Publication Number Publication Date
JP2004206138A true JP2004206138A (en) 2004-07-22
JP2004206138A5 JP2004206138A5 (en) 2005-05-26
JP3781039B2 JP3781039B2 (en) 2006-05-31

Family

ID=32827391

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004024234A Expired - Fee Related JP3781039B2 (en) 2001-09-14 2004-01-30 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP3781039B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008129420A (en) * 2006-11-22 2008-06-05 Nec Electronics Corp Display device and controller driver
CN100437742C (en) * 2004-09-17 2008-11-26 日本电气株式会社 Image processing apparatus, image transmission apparatus, display, image processing method, and image transmission method
TWI480844B (en) * 2012-03-09 2015-04-11 Lg Display Co Ltd Display device and method for controlling panel self refresh operation thereof
TWI608465B (en) * 2012-04-24 2017-12-11 矽工廠股份有限公司 Embedded displayport system and method for controlling panel self refresh mode

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100437742C (en) * 2004-09-17 2008-11-26 日本电气株式会社 Image processing apparatus, image transmission apparatus, display, image processing method, and image transmission method
JP2008129420A (en) * 2006-11-22 2008-06-05 Nec Electronics Corp Display device and controller driver
TWI480844B (en) * 2012-03-09 2015-04-11 Lg Display Co Ltd Display device and method for controlling panel self refresh operation thereof
TWI608465B (en) * 2012-04-24 2017-12-11 矽工廠股份有限公司 Embedded displayport system and method for controlling panel self refresh mode

Also Published As

Publication number Publication date
JP3781039B2 (en) 2006-05-31

Similar Documents

Publication Publication Date Title
JP3620521B2 (en) Image processing apparatus, image transmission apparatus, image receiving apparatus, and image processing method
JP2003162272A5 (en)
US7808510B2 (en) Image processing apparatus, image transmission apparatus, display, image processing method, and image transmission method
US8923636B2 (en) Image processing circuit, and display panel driver and display device mounting the circuit
JP4107314B2 (en) Image processing, compression, expansion, transmission, transmission, reception apparatus and method, program thereof, and display apparatus
JP5548064B2 (en) Display system and display device driver
JP5100312B2 (en) Liquid crystal display device and LCD driver
US10089953B2 (en) Image processing circuit for image compression and decompression and display panel driver incorporating the same
JP2007108439A (en) Display driving circuit
JP2005242026A (en) Drive system of display
JP4438997B2 (en) Liquid crystal display method and liquid crystal display device
JP6744757B2 (en) Image compression device, image decompression device, image compression decompression system, and display driver
JP2017204811A5 (en)
JP2018173639A (en) Display, display device, and method for driving source driver
JP4780112B2 (en) Image processing apparatus, image transmission apparatus and method, program thereof, and display apparatus
JP3716855B2 (en) Image processing apparatus and image processing method
JP3781039B2 (en) Image processing apparatus and image processing method
JP4552400B2 (en) Image display device, image display method, and image display program
JP2004206138A5 (en)
JP2005055825A (en) Image display device, image display method and image display program
JP2010141775A (en) Display device driving circuit and display device
JP2006163201A (en) Apparatus and method for transferring data, and image display apparatus
JP2008092140A (en) Image processing method, image processing device, and display device equipped with the same

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040811

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050318

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050809

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051011

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051115

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060116

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: 20060214

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060227

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100317

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100317

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110317

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110317

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120317

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120317

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130317

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130317

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140317

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees