Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4466085B2 - Image processing apparatus and decompression writing circuit - Google Patents
[go: Go Back, main page]

JP4466085B2 - Image processing apparatus and decompression writing circuit - Google Patents

Image processing apparatus and decompression writing circuit Download PDF

Info

Publication number
JP4466085B2
JP4466085B2 JP2004013371A JP2004013371A JP4466085B2 JP 4466085 B2 JP4466085 B2 JP 4466085B2 JP 2004013371 A JP2004013371 A JP 2004013371A JP 2004013371 A JP2004013371 A JP 2004013371A JP 4466085 B2 JP4466085 B2 JP 4466085B2
Authority
JP
Japan
Prior art keywords
data
image
writing
command
display
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.)
Expired - Fee Related
Application number
JP2004013371A
Other languages
Japanese (ja)
Other versions
JP2004341483A (en
Inventor
丈詞 近藤
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.)
Denso Corp
Original Assignee
Denso 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 Denso Corp filed Critical Denso Corp
Priority to JP2004013371A priority Critical patent/JP4466085B2/en
Publication of JP2004341483A publication Critical patent/JP2004341483A/en
Application granted granted Critical
Publication of JP4466085B2 publication Critical patent/JP4466085B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Image Input (AREA)

Description

本発明は、所定の圧縮形式で圧縮されたデータで示される画像を表示装置に表示させるための画像処理装置、および、この画像処理装置の一部として利用可能な解凍書込用回路に関する。   The present invention relates to an image processing device for displaying an image represented by data compressed in a predetermined compression format on a display device, and a decompression writing circuit that can be used as a part of the image processing device.

従来から、メモリに記録されたデータで示される画像を表示装置に表示させる画像処理装置においては、メモリの記録容量を有効に利用するために、データ量の圧縮されたデータをメモリに記録させておくことが一般的である。   2. Description of the Related Art Conventionally, in an image processing apparatus that displays an image indicated by data recorded in a memory on a display device, in order to effectively use the recording capacity of the memory, the compressed data amount is recorded in the memory. It is common to leave.

この種の画像表示装置としては、例えば、画像データ(画像情報)を連続的に表示させるためのビュワー機能を備えた画像表示装置であって、圧縮されて記録(記憶)されている一連の画像データを順次表示させる際に、表示されている画像データの次に表示すべき画像データを同時に解凍して保持しておき、次の表示指示に基づき保持しておいた画像データを表示する、といった画像処理装置が提案されている(特許文献1参照)。
特開平11−341491号公報(段落[0004],図1)
As this type of image display device, for example, an image display device having a viewer function for continuously displaying image data (image information), and a series of images that are compressed and recorded (stored) When displaying the data sequentially, the image data to be displayed next to the displayed image data is simultaneously decompressed and stored, and the stored image data is displayed based on the next display instruction. An image processing apparatus has been proposed (see Patent Document 1).
Japanese Patent Laid-Open No. 11-341491 (paragraph [0004], FIG. 1)

しかし、この画像処理装置においても、単一のCPUからなる表示処理部がメモリからのデータの読出しから表示装置に画像を表示させるまでの一連の処理を行うように構成されている。そのため、表示装置に表示させるべき画像を複数のデータで示される画像要素それぞれにより構成する場合には、画像を構成する画像要素の数が多くなるほど、圧縮されたデータを解凍するための処理の負荷が大きくなってしまう。こうして、表示処理部に対する処理の負荷が大きくなっている状態のときに表示処理部が他の処理を同時(並列的)に行わなければならない状況になると、この処理の開始タイミングが遅くなったり、処理時間そのものが長くなったりしてしまう。   However, this image processing apparatus is also configured such that a display processing unit including a single CPU performs a series of processes from reading data from a memory to displaying an image on the display apparatus. Therefore, when an image to be displayed on the display device is configured by each of image elements indicated by a plurality of data, the processing load for decompressing the compressed data increases as the number of image elements constituting the image increases. Will become bigger. Thus, when the display processing unit has to perform other processing simultaneously (in parallel) when the processing load on the display processing unit is large, the start timing of this processing is delayed, The processing time itself becomes longer.

本発明は、上記課題を解決するためになされたものであり、その目的は、メモリに圧縮された状態で記録されたデータで示される画像を表示装置に表示させる画像処理装置において、表示処理部に対する処理の負荷を軽減させるための技術を提供することである。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a display processing unit in an image processing apparatus that displays an image indicated by data recorded in a compressed state in a memory on a display device. It is providing the technique for reducing the processing load with respect to.

上記課題を解決するため請求項1に記載の画像処理装置は、各種画像を構成可能な画像要素を示す複数の要素データそれぞれが所定の圧縮形式で圧縮された状態で記録されている要素メモリと、表示装置の表示領域に対応づけられた記録領域を有し、この記録領域内の所定の書込位置に書き込まれたデータが、この書込位置に対応する表示領域内の表示位置に表示される画像を示すデータとなる画像メモリと、要素メモリに記録された要素データの解凍および画像メモリへの書込みに関する処理を行うことによって、要素データで示される画像を表示装置に表示させる表示処理部と、を備えた画像処理装置である。これらのうち、表示処理部は、所定の画像を構成する1以上の画像要素それぞれについて、この画像要素を示す要素データを読み出すべき要素メモリにおける読出位置、および、この画像要素を表示させるべき表示装置における表示位置を特定可能なコマンドデータを、複数種類の画像要素それぞれに対応するものとしてあらかじめ用意された複数のコマンドデータの中から選択するコマンド選択手段と、該コマンド選択手段により選択されたコマンドデータを、解凍書込プロセッサ側へ向けて出力するコマンド出力手段が設けられている。
In order to solve the above-described problem, an image processing apparatus according to claim 1 includes an element memory in which a plurality of element data indicating image elements that can form various images are recorded in a compressed state. The recording device has a recording area associated with the display area of the display device, and data written at a predetermined writing position in the recording area is displayed at a display position in the display area corresponding to the writing position. An image memory serving as data indicating an image to be displayed, and a display processing unit for displaying an image indicated by the element data on the display device by performing processing relating to decompression of element data recorded in the element memory and writing to the image memory And an image processing apparatus. Among these, the display processing unit, for each of one or more image elements constituting a predetermined image, a reading position in an element memory from which element data indicating the image element is to be read, and a display device to display the image element Command selection means for selecting command data capable of specifying a display position in a plurality of command data prepared in advance as corresponding to each of a plurality of types of image elements, and command data selected by the command selection means Is output to the decompression writing processor side.

また、この画像処理装置には、要素読出手段、要素解凍手段および要素書込手段を備え、表示処理部からの指令を受けて要素メモリに記録された要素データの解凍および画像メモリへの書き込みを行う解凍書込プロセッサが備えられている。これらのうち、要素読出手段は、表示処理部側から入力したコマンドデータで特定される読出位置から要素データを読み出す。また、要素解凍手段は、要素読出手段により読み出された要素データを解凍して圧縮されていない状態のデータとする。また、要素書込手段は、要素解凍手段により解凍された要素データを、コマンドデータで読取位置と共に特定される表示位置に基づき、この表示位置に対応する画像メモリの記録領域内の書込位置に書き込む。そして、コマンドデータで特定される読出位置それぞれに対して、要素読出手段による読み出し、要素解凍手段による解凍、および、要素書込手段による書き込みが繰り返し行われるように構成されている。   The image processing apparatus also includes an element reading unit, an element decompressing unit, and an element writing unit, and decompresses element data recorded in the element memory and writes it to the image memory in response to an instruction from the display processing unit. A decompression and writing processor is provided. Among these, the element reading means reads element data from the reading position specified by the command data input from the display processing unit side. The element decompressing means decompresses the element data read by the element reading means to obtain uncompressed data. Further, the element writing means sets the element data decompressed by the element decompressing means to the writing position in the recording area of the image memory corresponding to the display position based on the display position specified together with the reading position by the command data. Write. Then, for each reading position specified by the command data, reading by the element reading means, decompression by the element decompressing means, and writing by the element writing means are repeatedly performed.

このように構成された画像処理装置によれば、表示処理部は、表示装置への画像の表示を指令するためのコマンドデータを解凍書込プロセッサへ向けて出力するだけで、要素データの読出しから表示装置に画像を表示させるまでの一連の処理を表示処理部とは別体に設けられた解凍書込プロセッサにより実行させることができる。   According to the image processing apparatus configured as described above, the display processing unit simply outputs the command data for instructing the display of the image on the display apparatus to the decompression writing processor. A series of processing until an image is displayed on the display device can be executed by a decompression writing processor provided separately from the display processing unit.

そのため、表示装置に表示させるべき画像を構成する画像要素の数が多い場合であっても、要素データを解凍するための表示処理部に対する処理の負荷が大きくなることがない。   Therefore, even when the number of image elements constituting an image to be displayed on the display device is large, the processing load on the display processing unit for decompressing the element data does not increase.

このように、表示装置に画像を表示させる際に、表示処理部に対する処理の負荷を大幅に軽減することができるため、表示処理部が画像の表示に拘わる処理(コマンドデータの出力)の他に何らかの処理を同時(並列的)に行わなければならない状況になったとしても、この処理の開始タイミングの遅れや処理時間の長さなどを従来よりも大幅に短くすることができる。   As described above, when displaying an image on the display device, the processing load on the display processing unit can be greatly reduced. Therefore, the display processing unit can perform processing related to image display (command data output). Even if some processing must be performed simultaneously (in parallel), the delay of the start timing of the processing, the length of processing time, and the like can be significantly shortened compared to the conventional case.

なお、上述した要素メモリに記録されている要素データは、所定の圧縮形式で圧縮された状態となっているが、この圧縮形式とは、要素データのデータ量を圧縮して小さくできる形式であれば、その具体的な形式は特に限定されない。   The element data recorded in the element memory is compressed in a predetermined compression format. This compression format is a format that can reduce the data amount of the element data. For example, the specific format is not particularly limited.

また、表示処理部のコマンド出力手段は、コマンドデータを解凍書込プロセッサ側へ向けて出力する手段であって、解凍書込プロセッサ側からアクセス可能なメモリへコマンドデータを出力した(記録させた)後にコマンドデータの読み込みを解凍書込プロセッサに指令するように構成すればよいし、直接解凍書込プロセッサへ直接コマンドデータを出力するように構成してもよい。また、コマンド出力手段により出力されるコマンドデータは、あらかじめ複数種類用意(メモリ内に記録)されたもののうちの画像に対応するコマンドデータとすればよいし、画像毎に生成されたコマンドデータとしてもよい。   The command output means of the display processing unit is a means for outputting the command data to the decompression write processor side, and outputs (records) the command data to a memory accessible from the decompression write processor side. It may be configured to instruct the decompression writing processor to read the command data later, or may be configured to output the command data directly to the decompression writing processor. The command data output by the command output means may be command data corresponding to an image among those prepared in advance (recorded in the memory), or may be command data generated for each image. Good.

また、解凍書込プロセッサの要素解凍手段は、要素データを解凍(または、伸張,展開)して圧縮されていない状態のデータに戻す手段であって、あらかじめ定められた圧縮形式で示される手順(アルゴリズム)に従って解凍するように構成すればよい。また、要素データの圧縮形式が特定可能であれば、この特定した形式で示される手順に従って解凍するように構成すればよい。この場合、それぞれが異なる圧縮形式で圧縮されたデータを要素データとして採用することができるようになる。   The element decompression means of the decompression writing processor is means for decompressing (or expanding or decompressing) the element data and returning it to uncompressed data, and is a procedure (shown in a predetermined compression format). What is necessary is just to comprise so that it may decompress | decompress according to an algorithm. Further, if the compression format of the element data can be specified, the decompression may be performed according to the procedure shown in the specified format. In this case, data compressed in different compression formats can be used as element data.

また、請求項に記載の画像処理装置は、画像要素の各画素における階調と各画素を表示させるべき色の属性との対応関係により画像要素における色の分布を示すカラーパレットが複数種類記録されているパレットメモリを備えており、要素メモリには、要素データとしてグレースケールの画像要素を示すデータが記録されている。また、表示処理部において、コマンド出力手段は、1以上の画像要素それぞれについて、読出位置および表示位置だけでなく、画像要素の色の分布を決定するためのカラーパレットが記録されているパレットメモリにおける記録位置を特定可能なデータをコマンドデータとして出力する。そし
て、解凍書込プロセッサにおいては、要素解凍手段により解凍された要素データを、コマンドデータで読取位置と共に特定される記録位置に基づいて、この記録位置に記録されているカラーパレットで示される色の分布からなる画像要素を示すデータに変換するパレット変換手段が設けられ、要素書込手段が、パレット変換手段により変換された要素データを、コマンドデータで読取位置と共に特定される表示位置に基づいて、この表示位置に対応する画像メモリの記録領域内の書込位置に書き込む。
The image processing apparatus according to claim 1 records a plurality of types of color palettes indicating the color distribution in the image element based on the correspondence between the gradation in each pixel of the image element and the attribute of the color to display each pixel. The element memory stores data indicating grayscale image elements as element data. In the display processing unit, the command output means is a pallet memory in which a color palette for determining the color distribution of the image elements is recorded for each of the one or more image elements as well as the reading position and the display position. Data that can specify the recording position is output as command data. In the decompression / writing processor, the element data decompressed by the element decompression means is processed based on the recording position specified together with the reading position by the command data, in the color indicated by the color palette recorded at the recording position. Palette conversion means for converting into data indicating an image element consisting of a distribution is provided, and the element writing means converts the element data converted by the palette conversion means based on the display position specified together with the reading position by the command data, Writing is performed at a writing position in the recording area of the image memory corresponding to the display position.

このように構成された画像処理装置によれば、表示処理部は、表示装置への画像の表示を指令するためのコマンドデータとしてカラーパレットの記録位置を特定可能なデータを解凍書込プロセッサ側へ向けて出力するだけで、要素データの読出しから表示装置にカラーの画像を表示させるまでの一連の処理を解凍書込プロセッサにより実行させることができる。   According to the image processing apparatus configured as described above, the display processing unit sends data that can specify the recording position of the color palette to the decompression writing processor as command data for instructing display of the image on the display apparatus. The decompression writing processor can execute a series of processes from reading out element data to displaying a color image on the display device.

特に、この構成であれば、要素メモリに記録された要素データで示されるグレースケールの画像を、パレットメモリ内に記録されているカラーパレットによりそれぞれ異なる色の分布で表現したカラーの画像として表示装置に表示させることができる。そのため、色の分布のみが異なる同一種類の要素データを複数用意しなくても同一種類の画像要素を異なる色の分布で表現することができ、色の分布を示すパターンおよび画像要素の種類が多いほど要素メモリの記録領域を節約することができる。   In particular, with this configuration, the gray scale image indicated by the element data recorded in the element memory is displayed as a color image expressed by different color distributions depending on the color palette recorded in the palette memory. Can be displayed. Therefore, it is possible to represent the same type of image element with different color distributions without preparing multiple pieces of the same type of element data that differ only in color distribution, and there are many patterns and types of image elements indicating the color distribution. The recording area of the element memory can be saved as much as possible.

なお、上述したパレットメモリに記録されている「カラーパレット」とは、画像要素の色の分布を決定するためのデータであって、例えば、画像要素の各画素における階調と、この画素を表示させるべき色の属性(色相、彩度、明度)との対応関係を示すデータである。   The “color palette” recorded in the palette memory described above is data for determining the color distribution of the image element. For example, the gradation in each pixel of the image element and the display of this pixel are displayed. This is data indicating a correspondence relationship with attributes (hue, saturation, brightness) of colors to be generated.

また、請求項に記載の画像処理装置では、表示処理部におけるコマンド出力手段が、1以上の画像要素それぞれについて、読出位置,表示位置および記録位置だけでなく、画像要素における色の属性を表示位置が同一となる他の画像要素における色の属性に合わせて調整すべき調整度合いを特定可能なデータをコマンドデータとして出力する。また、解凍書込プロセッサにおいては、パレット変換手段により変換された要素データを、コマンドデータで読取位置と共に特定される調整度合いに基づいて、要素データで示される画像要素における色の属性が調整されたデータに変換する要素変換手段が設けられ、要素書込手段が、要素変換手段により変換された要素データを、コマンドデータで読取位置と共に特定される表示位置に基づいて、この表示位置に対応する画像メモリの記録領域内の書込位置に書き込む。
Further, in the image processing apparatus according to claim 2 , the command output means in the display processing unit displays not only the reading position, the display position, and the recording position but also the color attribute in the image element for each of the one or more image elements. Data capable of specifying the degree of adjustment to be adjusted in accordance with the color attribute of other image elements having the same position is output as command data. In the decompression and writing processor, the attribute of the color in the image element indicated by the element data is adjusted based on the adjustment degree specified by the command data together with the reading position of the element data converted by the palette conversion means. An element conversion means for converting to data is provided, and the element writing means is an image corresponding to the display position based on the display position specified by the command data together with the reading position of the element data converted by the element conversion means. Write to the write position in the recording area of the memory.

このように構成された画像処理装置によれば、表示処理部は、表示装置への画像の表示を指令するためのコマンドデータとして調整度合いを特定可能なデータを解凍書込プロセッサ側へ向けて出力するだけで、要素データが読み出されてから画像要素における色の属性が変更されてなるカラーの画像を表示させるまでの一連の処理を解凍書込プロセッサに実行させることができる。   According to the image processing device configured as described above, the display processing unit outputs data that can specify the degree of adjustment to the decompression writing processor side as command data for instructing display of an image on the display device. Thus, the decompression and writing processor can execute a series of processes from reading the element data to displaying a color image in which the color attribute of the image element is changed.

なお、上述したコマンドデータにより特定される「調整度合い」とは、画像要素における色の属性(色相、彩度、明度のうち1以上)を、同じ表示位置となる他の画像要素における色の属性に合わせて調整(変更)するためのパラメータを示すものであって、例えば、画像要素の色を、同じ表示位置に配置される他の画像要素の色と混ぜた色にするための混ぜる割合を示すパラメータなどが考えられる。この場合、特定の画像要素における色の属性を、表示位置が同一となる他の画像要素における色の属性と「調整度合い」で示される割合で混ぜ合わせることにより調整すればよい。   The “adjustment degree” specified by the command data described above refers to the color attribute (one or more of hue, saturation, and brightness) in the image element, and the color attribute in another image element at the same display position. Is a parameter for adjusting (changing) to match the color of the image element. For example, the mixing ratio for changing the color of the image element to the color of the other image element arranged at the same display position. The parameters shown can be considered. In this case, the color attribute of a specific image element may be adjusted by mixing the color attribute of another image element having the same display position with the ratio indicated by “adjustment degree”.

また、「調整度合い」としては、特定の画像要素を、同一の表示位置に配置される他の画像要素を透過させた状態で表示させるための透過割合を示すパラメータなども考えられる。この場合、特定の画像要素における色の属性を、他の画像要素の色が「調整度合い」で示される透過割合だけ透過した状態となるように調整すればよい。   Further, as the “adjustment degree”, a parameter indicating a transmission ratio for displaying a specific image element in a state in which the other image element arranged at the same display position is transmitted can be considered. In this case, the color attribute of the specific image element may be adjusted so that the color of the other image element is transmitted through the transmission ratio indicated by the “adjustment degree”.

ところで、表示装置の表示領域に画像要素を表示させるためには、この画像要素の各画素それぞれに対応する記録領域に、画像要素を示す要素データの書き込みを行うことになるが、このときの表示位置および画像メモリの構成によっては、画像要素が意図しない状態で表示されてしまう恐れがある。   By the way, in order to display an image element in the display area of the display device, element data indicating the image element is written in a recording area corresponding to each pixel of the image element. Depending on the position and the configuration of the image memory, the image element may be displayed in an unintended state.

例えば、画像メモリが、表示領域を構成する各画素に対応づけられた記録領域を含む記録領域で構成され、各記録領域に連続するアドレスが割り当てられたメモリであって、一定のアドレス幅の間隔で区切った記録領域それぞれが表示領域を構成する横方向1ライン分の画素に対応づけられたものであれば、表示領域の第n(nは任意の数)ラインに対応する記録領域が連続した後、直ぐに次のアドレスから第n+1ライン分の記録領域が始まることになる。この構成において、画像要素を第nラインの終端側(または始端側)に位置させ、その一部が表示領域の端部からはみ出す状態で表示させる場合には、このはみ出す部分がアドレスの連続性に起因して第n+1ラインの始端側(または第n−1ラインの終端側)に対応する記録領域へ書き込まれてしまう。そのため、画像要素は、表示領域の端部からはみ出した部分が、本来表示させるべきではない始端側(または終端側)に回り込んで表示されてしまう。   For example, the image memory is a memory composed of a recording area including a recording area associated with each pixel constituting the display area, and a continuous address is assigned to each recording area, and a constant address width interval. If each of the recording areas divided by is associated with one horizontal line of pixels constituting the display area, the recording areas corresponding to the nth (n is an arbitrary number) lines of the display area are continuous. Thereafter, the recording area for the (n + 1) th line starts immediately from the next address. In this configuration, when an image element is positioned on the end side (or start end side) of the nth line and a part of the image element is projected from the end of the display area, the protruding part is used for address continuity. As a result, data is written in the recording area corresponding to the start end side of the (n + 1) th line (or the end side of the (n-1) th line). For this reason, the image element is displayed in such a manner that the portion that protrudes from the end of the display area wraps around the start end (or end) that should not be displayed.

そこで、このような意図しない状態で表示されてしまうことを防止するために、以下に示すような構成を採用するとよい。例えば、請求項に記載の画像処理装置のように、解凍書込プロセッサにおける要素書込手段を、要素データを画像メモリに書き込む際、この要素データで示される画像要素の一部が表示領域の端部からはみ出して表示される場合に、この「はみ出す部分」に対応する要素データのデータ領域について、画像メモリへの書き込みを行わない、といった構成である。
Therefore, in order to prevent the display in such an unintended state, the following configuration may be employed. For example, when the element writing means in the decompression writing processor writes the element data into the image memory as in the image processing apparatus according to claim 3 , a part of the image element indicated by the element data is a display area. In the case where the data is displayed so as to protrude from the end, the data area of the element data corresponding to the “protruding part” is not written to the image memory.

このように構成すれば、画像要素に表示領域の端部からはみ出す部分が存在する場合であっても、そのような部分に対応するデータ領域については画像メモリへ書き込まれることがないため、画像要素がラインの始端側(または終端側)に回り込んで表示されてしまうことを防止できる。   With this configuration, even when the image element includes a portion that protrudes from the end of the display area, the data area corresponding to such a portion is not written to the image memory. Can be prevented from being displayed around the start side (or end side) of the line.

なお、この構成において、要素書込手段がはみ出す部分に対応する要素データのデータ領域をどのように特定するか否かについては特に限定されない。例えば、表示処理部におけるコマンド出力手段が、読出位置および表示位置だけでなく、要素データのうち、「はみ出す部分」に対応するデータ領域を特定可能なコマンドデータを出力するように構成されている場合であれば、要素書込手段は、請求項に記載のように、要素データを画像メモリに書き込む際、この要素データのデータ領域のうち、コマンドデータで読取位置および表示位置と共に特定されるはみ出す部分に対応するデータ領域について、画像メモリへの書き込みを行わない、ように構成すればよい。
In this configuration, there is no particular limitation on how to specify the data area of the element data corresponding to the part protruding from the element writing means. For example, when the command output means in the display processing unit is configured to output not only the reading position and the display position but also command data that can specify the data area corresponding to the “protruding portion” of the element data Then, as described in claim 4 , when the element writing means writes the element data into the image memory, the element writing means protrudes from the data area of the element data specified by the command data together with the reading position and the display position. What is necessary is just to comprise so that the data area corresponding to a part may not be written in an image memory.

このように構成すれば、表示処理部から出力されたコマンドデータに基づいて、「はみ出す部分」を特定し、画像メモリへの書き込みを行わせないようにすることができる。
また、請求項に記載の解凍書込用回路は、請求項1からのいずれかに記載の解凍書込プロセッサとして機能するために必要な回路が形成されてなるものである。
According to this configuration, it is possible to identify the “protruding portion” based on the command data output from the display processing unit and prevent writing to the image memory.
According to a fifth aspect of the present invention, there is provided a decompression writing circuit in which a circuit necessary for functioning as the decompression writing processor according to any one of the first to fourth aspects is formed.

このように構成された解凍書込用回路によれば、請求項1からのいずれかに記載の解凍書込プロセッサの一部を構成することができる。 According to the decompression / write circuit configured as described above, a part of the decompression / write processor according to any one of claims 1 to 4 can be configured.

本発明をナビゲーションシステムに適用した例を説明する。
ナビゲーションシステム1は、CPU11,ROM12,RAM13,VRAM14,表示部15,液晶ディスプレイ(以降、「LCD」とする;Liquid Crystal Display)16,ハードディスク17,操作パネル18,位置検出部20,解凍書込プロセッサ30などを備えている。
An example in which the present invention is applied to a navigation system will be described.
The navigation system 1 includes a CPU 11, a ROM 12, a RAM 13, a VRAM 14, a display unit 15, a liquid crystal display (hereinafter referred to as “LCD”) 16, a hard disk 17, an operation panel 18, a position detection unit 20, a decompression writing processor. 30 and so on.

CPU11は、ROM12に記録されている処理手順に従いRAM13に処理結果を記録させながらナビゲーションシステム1の各構成要素にバス19を介して指令を送ることによって、ナビゲーションシステム1全体の動作を制御する。   The CPU 11 controls the overall operation of the navigation system 1 by sending commands to each component of the navigation system 1 via the bus 19 while recording the processing result in the RAM 13 according to the processing procedure recorded in the ROM 12.

ROM12には、CPU11による処理手順の他に、それぞれがLCD16の表示領域に表示させるべき画像を構成可能な画像要素を示す複数の圧縮要素データ、所定の画像のLCD16による表示を解凍書込プロセッサ30に実行させるためのコマンドデータ、それぞれ異なる色の分布を示す複数のカラーパレットなどが記録されている。なお、ROM12に記録されている圧縮要素データは、グレースケールの画像要素を示すものであって、所定の圧縮形式でデータ量が圧縮されたデータである。また、カラーパレットは、画像要素の色の分布を決定するためのデータであって、画像要素の各画素における階調と、この画素を表示させるべき色の属性(色相、彩度、明度)との対応関係を示すデータである。   In the ROM 12, in addition to the processing procedure by the CPU 11, a plurality of compressed element data indicating image elements each capable of constituting an image to be displayed in the display area of the LCD 16, and display of the predetermined image on the LCD 16 are decompressed and written processor 30. Command data to be executed, and a plurality of color palettes indicating different color distributions are recorded. The compressed element data recorded in the ROM 12 indicates gray scale image elements, and is data in which the data amount is compressed in a predetermined compression format. The color palette is data for determining the color distribution of the image element, and the gradation of each pixel of the image element and the attributes (hue, saturation, brightness) of the color on which the pixel is to be displayed. It is the data which shows the corresponding relationship.

VRAM14は、図2に示すように、LCD16の表示領域を構成するw×hの各画素(例えば、640×480)に対応づけられた記録領域を含む記録領域で構成され、各記録領域に対して連続するアドレス(0〜nのうち、i〜jが表示領域に対応づけられたアドレス;i,j≦n)の割り当てられたメモリであって、一定のアドレス幅(640)で区切られた記憶領域それぞれがLCD16の表示領域を構成する横方向1ライン分の画素に対応づけられている。そして、この記録領域における所定の書込位置に書き込まれたデータは、表示部15によって、このデータで示される画像が書込位置に対応するLCD16の表示位置に表示(描画)される。   As shown in FIG. 2, the VRAM 14 is composed of recording areas including recording areas associated with w × h pixels (for example, 640 × 480) that constitute the display area of the LCD 16. Assigned addresses (i to j of 0 to n are addresses associated with display areas; i, j ≦ n), and are delimited by a fixed address width (640) Each storage area is associated with pixels for one horizontal line constituting the display area of the LCD 16. Then, the data written at a predetermined writing position in the recording area is displayed (drawn) by the display unit 15 at the display position of the LCD 16 corresponding to the writing position.

ハードディスク17には、地図データなどナビゲーションシステムとしての機能を実現するために必要な種々のデータが記録されている。
操作パネル18は、利用者による操作を受け付けるための各種入力キーにより構成されている。
The hard disk 17 stores various data necessary for realizing a navigation system function such as map data.
The operation panel 18 includes various input keys for accepting user operations.

位置検出部20は、地磁気センサ,ジャイロスコープ,距離センサ,GPS(global positioning system )受信機などからなり、ナビゲーションシステム1(の搭載された被搭載物)の現在位置を検出可能に構成されている。   The position detection unit 20 includes a geomagnetic sensor, a gyroscope, a distance sensor, a GPS (global positioning system) receiver, and the like, and is configured to be able to detect the current position of the navigation system 1 (the mounted object). .

解凍書込プロセッサ30は、上述のコマンドデータに基づいて動作することにより(後述の「解凍書込プロセッサ30の動作(図5)」参照)、所定の画像をLCD16に表示させる機能を実現する集積回路である。
・CPU11によるコマンド出力処理
以下に、CPU11により実行されるコマンド出力処理の処理手順を図3に基づいて説明する。このコマンド出力処理は、操作パネル18により所定の画像をLCD16に表示させる契機となる操作が行われた際、または、外部(例えば、位置検出部20など)からLCD16に所定の画像を表示させる旨の指令を受けた際に開始される。
The decompression / writing processor 30 operates based on the above-described command data (see “Operation of the decompression / writing processor 30 (FIG. 5)” described later), thereby realizing a function of displaying a predetermined image on the LCD 16. Circuit.
-Command output process by CPU11 Below, the process sequence of the command output process performed by CPU11 is demonstrated based on FIG. This command output processing is performed when an operation that triggers the display of a predetermined image on the LCD 16 by the operation panel 18 or when the predetermined image is displayed on the LCD 16 from the outside (for example, the position detection unit 20 or the like). It is started when the command is received.

まず、操作パネル18により行われた操作または外部からの指令に基づいて、LCD16に表示させるべき画像を特定する(s110)。
次に、s110の処理で特定された画像のLCD16による表示を解凍書込プロセッサ30に行わせるためのコマンドデータを、ROM12に記録されている複数のコマンドデータの中から読み出す(s120)。本実施形態においては、s110の処理で特定される可能性のある画像それぞれに対応するコマンドデータがあらかじめROM12に記録されており、このs120の処理では、s110の処理で特定された画像に対応するコマンドデータをROM12から読み出す。
First, an image to be displayed on the LCD 16 is specified based on an operation performed on the operation panel 18 or an external command (s110).
Next, command data for causing the decompression / writing processor 30 to display the image specified in the process of s110 on the LCD 16 is read from the plurality of command data recorded in the ROM 12 (s120). In the present embodiment, command data corresponding to each image that may be specified in the process of s110 is recorded in the ROM 12 in advance, and this process of s120 corresponds to the image specified in the process of s110. Read command data from ROM 12.

このコマンドデータは、複数のコマンドにより構成されており、所定の画像を構成するのに必要なp(1≦p)個の画像要素それぞれについて、画像要素における色の分布を示すカラーパレットが記録されているROM12における記録領域、画像要素を示す圧縮要素データが記録されているROM12における記録領域(読出位置)、画像要素を表示すべきLCD16の表示位置に対応するVRAM14における記録領域(書込位置)、画像要素を表示するにあたり同じ表示位置に表示される他の画像要素と色を混ぜるか否か、他の画像要素と色を混ぜる場合における色の混合割合、などを特定可能なデータである。   This command data is composed of a plurality of commands, and for each of p (1 ≦ p) image elements necessary for constituting a predetermined image, a color palette indicating the color distribution in the image elements is recorded. A recording area in the ROM 12, a recording area (reading position) in the ROM 12 in which compressed element data indicating an image element is recorded, and a recording area (writing position) in the VRAM 14 corresponding to the display position of the LCD 16 on which the image element is to be displayed. This is data that can specify whether or not to mix colors with other image elements displayed at the same display position when displaying image elements, and the mixing ratio of colors when mixing colors with other image elements.

より具体的には、図4に示すように、コマンドデータを構成する全てのコマンドの数Nを示す「コマンド数」コマンド、カラーパレットのROM12における記録位置(アドレスa)を示す「パレット読込」コマンド、画像要素の表示に関する「要素表示」コマンドなどが順番に配列されたものである。この「要素表示」コマンドは、要素データのROM12における記録位置のアドレスb,および,VRAM14における画素毎の記録領域のアドレスc;c1〜ck、他の画像要素と色を混ぜるか否かを示すブレンドイネーブル(0:混ぜる,1:混ぜない)、他の画像要素と色を混ぜる場合における混合割合を示すブレンド値(0〜100%)、画像要素を表示領域に表示させたときに画像要素の左側が表示領域の左端からはみ出すか否かを示すレフトフラグ(0:はみ出さない,1:はみ出す)などを示すコマンドである。また、本実施形態においては、「コマンド数」コマンド,「パレット読込」コマンドの後に、画像要素における色の分布を変更すべき画像要素となるまで「要素表示」コマンドが配列され、「パレット読込」コマンドが挿入された後、再度、色の分布を変更すべき画像要素となるまで「要素表示」コマンドが配列されるといった繰り返しが「コマンド数」コマンドで示されるコマンドの数Nとなるまで続いている。   More specifically, as shown in FIG. 4, a “command number” command indicating the number N of all commands constituting the command data, and a “pallet read” command indicating the recording position (address a) in the ROM 12 of the color palette. The “element display” command related to the display of image elements is arranged in order. This “element display” command is an address b of the recording position of the element data in the ROM 12, an address c of the recording area for each pixel in the VRAM 14; c 1 to ck, and a blend indicating whether or not colors are mixed with other image elements Enable (0: mix, 1: do not mix), blend value (0 to 100%) indicating the mixing ratio when mixing color with other image elements, left side of image element when image element is displayed in display area Is a command indicating a left flag indicating whether or not to protrude from the left end of the display area (0: does not protrude, 1: protrudes). In this embodiment, after the “number of commands” command and the “read palette” command, an “element display” command is arranged until an image element whose color distribution in the image element is to be changed, and “read palette” is displayed. After the command is inserted, the “element display” command is repeated until the image element whose color distribution is to be changed again is repeated until the number N of commands indicated by the “command number” command is reached. Yes.

次に、s120の処理で読み出されたコマンドデータをRAM13に記録する(s130)。こうして、図5に示すように、ROM12内のコマンドデータがRAM13に記録される(図5の矢印a参照)。   Next, the command data read in the process of s120 is recorded in the RAM 13 (s130). In this way, as shown in FIG. 5, the command data in the ROM 12 is recorded in the RAM 13 (see arrow a in FIG. 5).

次に、s110の処理で特定された画像の表示に関する動作を解凍書込プロセッサ30に開始させる(s140)。この処理では、画像の表示に関する動作を開始させる旨の開始指令データを解凍書込プロセッサ30へ出力する(図5における矢印b参照)。この開始指令データを入力した解凍書込プロセッサ30は、後述の動作手順(図5)に従って動作した後、LCD16に画像を表示させた旨を通知してくる(図5の矢印s参照)。そのため、CPU11は、この通知によって、s110の処理で特定された画像がLCD16に表示されたことを認識することができる(図5の矢印t参照)。   Next, the decompression / writing processor 30 is caused to start an operation relating to the display of the image specified in the process of s110 (s140). In this process, start command data for starting an operation relating to image display is output to the decompression / write processor 30 (see arrow b in FIG. 5). The decompression / writing processor 30 that has input the start command data operates in accordance with an operation procedure described later (FIG. 5), and then notifies that the image is displayed on the LCD 16 (see arrow s in FIG. 5). Therefore, the CPU 11 can recognize that the image specified in the process of s110 is displayed on the LCD 16 by this notification (see an arrow t in FIG. 5).

次に、解凍書込プロセッサ30から画像を表示させた旨の通知を受けるまで待機する(s150:NO)。
そして、s150の処理で通知を受けたら(s150:YES)、s130の処理でRAM13に記録したコマンドデータを削除した後(s160)、本コマンド出力処理を終了する。
・解凍書込プロセッサ30の動作手順
以下に、解凍書込プロセッサ30の動作手順を図5に基づいて説明する。
Next, it waits until it receives notification from the decompression writing processor 30 that an image has been displayed (s150: NO).
When the notification is received in the process of s150 (s150: YES), the command data recorded in the RAM 13 is deleted in the process of s130 (s160), and this command output process is terminated.
-Operation procedure of decompression writing processor 30 Hereinafter, the operation procedure of the decompression writing processor 30 will be described with reference to FIG.

解凍書込プロセッサ30は、インターフェース部(以降、「I/F」とする)31,設定レジスタ32,コマンド処理部33,取得部34,解凍部35,変換部36,混合部37、書込部38などからなり、I/F31を介して外部との間でデータを入出力しながら動作する。   The decompression writing processor 30 includes an interface unit (hereinafter referred to as “I / F”) 31, a setting register 32, a command processing unit 33, an acquisition unit 34, a decompression unit 35, a conversion unit 36, a mixing unit 37, and a writing unit. 38, and operates while inputting / outputting data to / from the outside via the I / F 31.

この解凍書込プロセッサ30は、CPU11からの指令を受けて動作を開始する。この指令とは、図3におけるs140の処理でCPU11が出力した開始指令データであり、CPU11は、この開始指令データを設定レジスタ32に書き込むことにより(矢印b)、画像の表示に関する動作の開始を指令する。
(1)コマンドデータの取得(図5の矢印c〜f参照)
コマンド処理部33は、設定レジスタ32の内容を監視しており(矢印c)、CPU11により開始指令データが書き込まれた際に、RAM13からのコマンドデータの読み取りを取得部34に指令する(矢印d)。ここで、RAM13から読み取るべきコマンドデータは、図3におけるs130の処理でCPU11により記録されたものである(矢印a参照)。
The decompression / writing processor 30 starts its operation in response to a command from the CPU 11. This command is the start command data output by the CPU 11 in the process of s140 in FIG. 3, and the CPU 11 writes the start command data into the setting register 32 (arrow b) to start the operation related to the image display. Command.
(1) Acquisition of command data (see arrows cf in FIG. 5)
The command processing unit 33 monitors the contents of the setting register 32 (arrow c), and instructs the acquisition unit 34 to read command data from the RAM 13 when the start command data is written by the CPU 11 (arrow d). ). Here, the command data to be read from the RAM 13 is recorded by the CPU 11 in the process of s130 in FIG. 3 (see arrow a).

この指令を受けた取得部34は、RAM13からコマンドデータを読み取り(矢印e)、このコマンドデータをコマンド処理部33へ渡す(矢印f)。コマンド処理部33は、このコマンドデータを内蔵のレジスタ内へコマンド毎に格納し、以降、それぞれのコマンドに従って順番に動作を行う。   Receiving this command, the acquisition unit 34 reads command data from the RAM 13 (arrow e), and passes this command data to the command processing unit 33 (arrow f). The command processing unit 33 stores the command data in a built-in register for each command, and thereafter performs operations in order according to the respective commands.

なお、それぞれのコマンドに従って順番に動作を行うにあたり、コマンドが「コマンド数」である場合、このコマンドはコマンドデータを構成する全てのコマンドの数をコマンド処理部33に認識させるだけのコマンドであるため、このコマンドに対する動作は行われない。
(2)カラーパレットに対する動作(図5の矢印d,g参照)
それぞれのコマンドに従って順番に動作を行うにあたり、コマンドが「パレット読込」である場合、コマンド処理部33は、ROM12からのカラーパレットの読み取りを取得部34に指令する(矢印d)。ここで、ROM12から読み取るべきカラーパレットは、「パレット読込」コマンドで示される記録位置に記録されたものである。
When performing the operations in order according to each command, if the command is “number of commands”, this command is only a command for causing the command processing unit 33 to recognize the number of all commands constituting the command data. No action is taken for this command.
(2) Operation for color palette (see arrows d and g in FIG. 5)
When performing the operation in order according to each command, if the command is “pallet reading”, the command processing unit 33 instructs the acquisition unit 34 to read the color palette from the ROM 12 (arrow d). Here, the color palette to be read from the ROM 12 is recorded at the recording position indicated by the “read palette” command.

この指令を受けた取得部34は、ROM12からカラーパレットを読み取り(矢印g)、このカラーパレットを変換部36へ渡す(矢印h)。この変換部36は、カラーパレットを格納(設定)可能なレジスタを有し、取得部34から入力したカラーパレットをレジスタ内に格納しておくことによって、以降、解凍部35から入力したデータで示される画像要素を格納済みのカラーパレットに従った色の分布に変換することができる。
(3)圧縮要素データに対する動作1(図5の矢印d,i〜o参照)
それぞれのコマンドに従って順番に動作を行うにあたり、コマンドが「要素表示」である場合において、このコマンドが他の画像要素と色を混ぜない旨のコマンドであるとき、コマンド処理部33は、混合割合「0%」(つまり色を混合しない)を示す割合データを混合部37に渡すと共に(矢印i)、「要素表示」コマンドで示されるレフトフラグおよび書込位置を示す書込位置データを書込部38に渡した後(矢印j)、ROM12からの圧縮要素データの読み取りを取得部34に指令する(矢印d)。ここで、ROM12から読み取らせるべき圧縮要素データは、「要素表示」コマンドで示される記録領域(読出位置)に記録されたものである。
Receiving this instruction, the acquisition unit 34 reads the color palette from the ROM 12 (arrow g), and passes this color palette to the conversion unit 36 (arrow h). The conversion unit 36 has a register capable of storing (setting) a color palette. By storing the color palette input from the acquisition unit 34 in the register, the conversion unit 36 indicates the data input from the decompression unit 35 hereinafter. Can be converted into a color distribution according to a stored color palette.
(3) Operation 1 for compressed element data (see arrows d and i to o in FIG. 5)
When performing the operation in order according to each command, when the command is “element display” and the command is a command indicating that the color is not mixed with other image elements, the command processing unit 33 displays the mixing ratio “ The ratio data indicating “0%” (that is, the colors are not mixed) is passed to the mixing unit 37 (arrow i), and the left flag indicated by the “element display” command and the writing position data indicating the writing position are written to the writing unit. 38 (arrow j), the acquisition unit 34 is instructed to read the compressed element data from the ROM 12 (arrow d). Here, the compressed element data to be read from the ROM 12 is recorded in the recording area (reading position) indicated by the “element display” command.

この指令を受けた取得部34は、ROM12から圧縮要素データを読み取り(矢印k)、この圧縮要素データを解凍部35へ渡す(矢印l)。
この圧縮要素データを入力した解凍部35は、圧縮要素データを解凍(または、伸張,展開)してなる解凍要素データとした後、この解凍要素データを変換部36へ渡す(矢印m)。なお、解凍部35は、所定の圧縮形式で圧縮された圧縮データを解凍してなる解凍データとするための構成である。
Receiving this command, the acquisition unit 34 reads the compressed element data from the ROM 12 (arrow k), and passes this compressed element data to the decompressing unit 35 (arrow l).
The decompressing unit 35 that has input the compressed element data converts the compressed element data into decompressed element data obtained by decompressing (or expanding or expanding), and then passes the decompressed element data to the converting unit 36 (arrow m). The decompressing unit 35 is a configuration for obtaining decompressed data obtained by decompressing compressed data compressed in a predetermined compression format.

この解凍要素データを入力した変換部36は、上述のように、解凍部35から入力した解凍要素データを、格納済みのカラーパレットに従った色の分布に変換した画像要素を示す解凍要素データとした後、この解凍要素データを混合部37に渡す(矢印n)。   As described above, the conversion unit 36 to which the decompression element data is input has the decompression element data indicating the image element obtained by converting the decompression element data input from the decompression unit 35 into a color distribution according to the stored color palette; Then, the decompressed element data is transferred to the mixing unit 37 (arrow n).

この解凍要素データを入力した混合部37は、解凍要素データをそのまま書込部38へ渡す(矢印o)。混合部37は、割合データを格納可能なレジスタを有しており、このレジスタに格納された割合データで示される混合割合が「0%」である場合のみ、変換済みの解凍要素データをそのまま書込部38へ渡すものである。この動作においては、矢印iにおいて混合割合「0%」を示す割合データを入力(およびレジスタへ格納)しているため、変換済みの解凍要素データをそのまま書込部38に渡している。   The mixing unit 37 that has input the decompressed element data passes the decompressed element data as it is to the writing unit 38 (arrow o). The mixing unit 37 has a register capable of storing the ratio data. Only when the mixing ratio indicated by the ratio data stored in this register is “0%”, the converted decompressed element data is written as it is. The data is passed to the insertion unit 38. In this operation, since the ratio data indicating the mixing ratio “0%” at the arrow i is input (and stored in the register), the converted decompressed element data is directly passed to the writing unit 38.

そして、この解凍要素データを入力した書込部38は、上述のように、混合部37から入力した解凍要素データをVRAM14に書き込む(矢印p)。この書込部38は、書込位置データを格納可能なレジスタを有しており、このレジスタに書込位置データを格納しておくことによって、以降、混合部37から入力したデータを、VRAM14の記録領域のうち書込位置データで示される書込位置に書き込むことができる。ここでは、矢印jにおいて、コマンド処理部33から書込位置データを入力(およびレジスタへ格納)しているため、この書込位置データで示される画像要素を構成する画素それぞれの書込位置(アドレスc1〜ckのいずれか)に、解凍要素データの該当部分がライン毎に順次書き込まれる。   Then, the writing unit 38 to which the decompression element data is input writes the decompression element data input from the mixing unit 37 into the VRAM 14 as described above (arrow p). The writing unit 38 has a register capable of storing write position data. By storing the write position data in this register, data input from the mixing unit 37 is stored in the VRAM 14 thereafter. It is possible to write in the write position indicated by the write position data in the recording area. Here, since the write position data is input (and stored in the register) from the command processing unit 33 at the arrow j, the write position (address) of each of the pixels constituting the image element indicated by the write position data. In any one of c1 to ck), the corresponding portion of the decompressed element data is sequentially written for each line.

ただし、書込部38は、書込位置データで示される書込位置のアドレスが特定の書込位置となっていると判定される書込位置についての解凍要素データの書き込みを行わない。この「特定の書込位置」として判定される書込位置には、例えば、書込位置データで示される書込位置のアドレスがLCD16の表示領域以外のアドレスとなっている(つまり、アドレスがiより小さく、jより大きい)書込位置がある。このような書込位置は、解凍要素データを書き込んだとしても、LCD16に対応する表示領域が存在していないことから表示されることがないため(図6における画像要素100の波線部分100a参照)、解凍要素データの書き込みを行わないようにしている。   However, the writing unit 38 does not write the decompression element data for the writing position determined as the address of the writing position indicated by the writing position data being the specific writing position. In the writing position determined as the “specific writing position”, for example, the address of the writing position indicated by the writing position data is an address other than the display area of the LCD 16 (that is, the address is i There is a writing position that is smaller and larger than j. Such a writing position is not displayed because there is no display area corresponding to the LCD 16 even if decompression element data is written (see the wavy line portion 100a of the image element 100 in FIG. 6). The decompression element data is not written.

また、「特定の書込位置」として判定される書込位置には、解凍要素データを書き込むべきライン毎の記録領域のうち、表示領域の先頭アドレス(i)に表示領域のアドレス幅(640)を積算して求められるライン毎の先頭アドレスおよび最終アドレスから外れたアドレスとなる書込位置がある。具体的には、レフトフラグに「1」がセットされている場合であれば、ライン毎の先頭アドレスよりも小さいアドレスとなっている書込位置であり、レフトフラグに「0」がセットされている場合であれば、ライン毎の最終アドレスよりも大きいアドレスとなっている書込位置である。このような書込位置を含む記録領域に、そのまま解凍要素データを書き込んでしまうと、この解凍要素データで示される画像要素の一部分が表示領域の端部側からはみ出した状態となり、このはみ出す部分がVRAM14における記録領域に割り当てられたアドレスの連続性に起因して表示領域における反対の端部に表示されてしまう(図6における画像要素200,300の波線部200a,300a参照)。そのため、画像要素の一部が回り込んで表示されてしまうことがないように、解凍要素データの書き込みを行わないようにしている。   In addition, the writing position determined as “specific writing position” includes the address width (640) of the display area at the start address (i) of the display area in the recording area for each line in which the decompression element data is to be written. There is a writing position that is an address deviating from the head address and the last address for each line obtained by integrating. Specifically, if “1” is set in the left flag, the writing position is an address smaller than the head address for each line, and “0” is set in the left flag. If it is, the write position is an address larger than the final address for each line. If the decompression element data is written as it is in the recording area including such a writing position, a part of the image element indicated by the decompression element data is protruded from the end side of the display area. Due to the continuity of the addresses assigned to the recording area in the VRAM 14, it is displayed at the opposite end in the display area (see the wavy lines 200a and 300a of the image elements 200 and 300 in FIG. 6). For this reason, the decompression element data is not written so that a part of the image element may not be displayed.

こうして、VRAM14に書き込まれた解凍要素データは、表示部15によりカラーの画像要素としてLCD16の表示領域に描画される。
(4)圧縮要素データに対する動作2(図5の矢印d,i〜r参照)
それぞれのコマンドに従って順番に動作を行うにあたり、コマンドが「要素表示」である場合において、個のコマンドが他の画像要素と色を混ぜる旨のコマンドであるとき、まず、コマンド処理部33は、VRAM14からの解凍要素データの読み取りを取得部34に指令する(矢印d)。このとき読み取らせるべき解凍要素データは、「要素表示」コマンドで示される書込位置に記録されたものである。
In this manner, the decompressed element data written in the VRAM 14 is drawn on the display area of the LCD 16 as a color image element by the display unit 15.
(4) Operation 2 for compressed element data (see arrows d and i to r in FIG. 5)
When performing the operation in order according to each command, when the command is “element display” and the command is a command for mixing colors with other image elements, first, the command processing unit 33 executes the VRAM 14. Is commanded to the acquisition unit 34 (arrow d). The decompressed element data to be read at this time is recorded at the writing position indicated by the “element display” command.

この指令を受けた取得部34は、VRAM14から解凍要素データを読み取り(矢印q)、この解凍要素データを混合部37へ渡す(矢印r)。この混合部37は、割合データを格納可能なレジスタの他に、解凍要素データを格納可能なレジスタを有し、取得部34から入力した解凍要素データをレジスタ内に格納しておくことによって、以降、変換部36から入力した解凍要素データを、このデータで示される画像要素の色が格納済みの解凍要素データで示される画像要素の色と混ぜられた状態の画像要素を示すデータに変換することができる。このとき、変換部36から入力した解凍要素データで示される画像要素の色は、格納済みの割合データで示される混合割合で、格納済みの解凍要素データで示される画像要素の色と混ぜられる。   Receiving this command, the acquisition unit 34 reads the decompression element data from the VRAM 14 (arrow q), and passes this decompression element data to the mixing unit 37 (arrow r). The mixing unit 37 has a register that can store the decompression element data in addition to the register that can store the ratio data, and stores the decompression element data input from the acquisition unit 34 in the register, so that The decompression element data input from the conversion unit 36 is converted into data indicating an image element in a state where the color of the image element indicated by this data is mixed with the color of the image element indicated by the stored decompression element data. Can do. At this time, the color of the image element indicated by the decompressed element data input from the conversion unit 36 is mixed with the color of the image element indicated by the stored decompressed element data at the mixing ratio indicated by the stored ratio data.

また、コマンド処理部33は、解凍要素データの読み取りを取得部34に指令した後、「要素表示」コマンドで示される混合割合を示す割合データを混合部37に渡すと共に(矢印i)、「要素表示」コマンドで示される書込位置を示す書込位置データを書込部38に渡した後(矢印j)、ROM12からの圧縮要素データの読み取りを取得部34に指令する(矢印d)。   Further, the command processing unit 33 instructs the acquisition unit 34 to read the decompression element data, and then passes the ratio data indicating the mixing ratio indicated by the “element display” command to the mixing unit 37 (arrow i). After the writing position data indicating the writing position indicated by the “display” command is transferred to the writing unit 38 (arrow j), the acquisition unit 34 is instructed to read the compressed element data from the ROM 12 (arrow d).

この指令を受けた取得部34は、ROM12から圧縮要素データを読み取り(矢印k)、この圧縮要素データを解凍部35へ渡す(矢印l)。
この圧縮要素データを入力した解凍部35は、圧縮要素データを解凍してなる解凍要素データとした後、変換部36へ渡す(矢印m)。
Receiving this command, the acquisition unit 34 reads the compressed element data from the ROM 12 (arrow k), and passes this compressed element data to the decompressing unit 35 (arrow l).
The decompressing unit 35 that has input the compressed element data uses decompressed compressed element data to obtain decompressed element data, and then passes the decompressed element data to the converting unit 36 (arrow m).

この解凍要素データを入力した変換部36は、上述のように、解凍部35から入力した解凍要素データを、格納済みのカラーパレットに従った色の分布に変換した画像要素を示す解凍要素データとした後、変換済みの解凍要素データを混合部37に渡す(矢印n)。   As described above, the conversion unit 36 to which the decompression element data is input has the decompression element data indicating the image element obtained by converting the decompression element data input from the decompression unit 35 into a color distribution according to the stored color palette; After that, the converted decompressed element data is passed to the mixing unit 37 (arrow n).

この解凍要素データを入力した混合部37は、上述のように、変化南部36から入力した解凍要素データを、このデータで示される画像要素の色が格納済みの解凍要素データで示される画像要素の色と格納済みの割合データで示される混合割合で混ぜられた画像要素を示す解凍要素データに変換した後、この解凍要素データを混合部37に渡す(矢印o)。   As described above, the mixing unit 37 to which the decompression element data is input converts the decompression element data input from the southern part 36 of the image element indicated by the decompression element data in which the color of the image element indicated by this data is stored. After being converted into decompression element data indicating image elements mixed at the mixing ratio indicated by the color and the stored ratio data, the decompression element data is passed to the mixing unit 37 (arrow o).

そして、この解凍要素データを入力した書込部38は、上述のように、混合部37から入力した解凍要素データをVRAM14に書き込む(矢印p)。
(5)動作の終了(矢印s,t)
こうして、コマンド処理部33は、(2)から(4)の動作を繰り返して全てのコマンドに対する動作を行うことによって、1以上の画像要素からなる画像をLCD16に表示させた後、動作を終了する旨を報知するための報知データを設定レジスタに書き込む(矢印s)。ここで、CPU11は、設定レジスタ32の内容を監視しており、報知データが設定レジスタ32に書き込まれたことを検出することによって(矢印t)、解凍書込プロセッサ30による画像の表示に関する動作が終了してLCD16に画像が表示されたことを認識することができる(図3;s150)。
Then, the writing unit 38 to which the decompression element data is input writes the decompression element data input from the mixing unit 37 into the VRAM 14 as described above (arrow p).
(5) End of operation (arrows s, t)
In this way, the command processing unit 33 repeats the operations (2) to (4) to perform operations for all commands, thereby displaying an image composed of one or more image elements on the LCD 16, and then ends the operation. Information data for informing the effect is written to the setting register (arrow s). Here, the CPU 11 monitors the contents of the setting register 32, and detects that the notification data has been written to the setting register 32 (arrow t), whereby the operation related to the image display by the decompression writing processor 30 is performed. It can be recognized that the image has been displayed on the LCD 16 after finishing (FIG. 3; s150).

[効果]
このように構成されたナビゲーションシステム1によれば、CPU11は、LCD16への画像の表示を指令するためのコマンドデータをRAM13に記録させた後、開始指令データを解凍書込プロセッサ30へ出力する(設定レジスタ32に書き込む)だけで、圧縮要素データの読出しからLCD16に画像(1以上の画像要素からなる画像)を表示させるまでの一連の処理をCPU11とは別体に設けられた解凍書込プロセッサ30により実行させることができる。
[effect]
According to the navigation system 1 configured as described above, the CPU 11 records command data for instructing display of an image on the LCD 16 in the RAM 13 and then outputs start command data to the decompression writing processor 30 ( A decompression writing processor provided separately from the CPU 11 for a series of processes from reading compressed element data to displaying an image (an image made up of one or more image elements) on the LCD 16 only by writing to the setting register 32 30 can be executed.

そのため、LCD16に表示させるべき画像を構成する画像要素の数が多い場合であっても、圧縮要素データを解凍するためのCPU11に対する処理の負荷が大きくなることがない。   Therefore, even when the number of image elements constituting an image to be displayed on the LCD 16 is large, the processing load on the CPU 11 for decompressing the compressed element data does not increase.

このように、LCD16に画像を表示させる際に、CPU11に対する処理の負荷を大幅に軽減することができるため、CPU11が画像の表示に拘わる処理(コマンドデータのRAM13への記録)の他に何らかの処理を同時(並列的)に行わなければならない状況になったとしても、この処理の開始タイミングの遅れや処理時間の長さなどを従来よりも大幅に短くすることができる。   As described above, when displaying an image on the LCD 16, the processing load on the CPU 11 can be greatly reduced. Therefore, the CPU 11 performs some processing in addition to processing related to image display (recording of command data in the RAM 13). Even if it becomes a situation that must be performed simultaneously (in parallel), the delay of the start timing of this processing, the length of the processing time, etc. can be significantly shortened compared to the conventional case.

また、ROM12に記録された圧縮要素データで示されるグレースケールの画像要素を、ROM12に記録されているカラーパレットに基づく色の分布で表現したカラーの画像要素としてLCD16に表示させることができる。そのため、色の分布のみが異なる同一種類の圧縮要素データを複数用意しなくても同一種類の画像要素を異なる色の分布で表現することができ、色の分布を示すパターンおよび画像要素の種類が多いほどROM12の記録領域を節約することができる。   Further, the gray scale image element indicated by the compressed element data recorded in the ROM 12 can be displayed on the LCD 16 as a color image element expressed by a color distribution based on the color palette recorded in the ROM 12. For this reason, the same type of image element can be expressed with different color distributions without preparing multiple pieces of the same type of compressed element data that differ only in color distribution, and the pattern indicating the color distribution and the type of image element are different. As the number increases, the recording area of the ROM 12 can be saved.

また、コマンドデータは、「パレット読込」コマンドにより読み込ませたカラーパレットでグレースケールの画像要素をカラーの画像要素に変換する旨を指令するものであるため、これにより、解凍書込プロセッサ30は、圧縮要素データの読出しからLCD16にカラーの画像を表示させるまでの一連の処理を実行することができる。   Further, since the command data instructs to convert the gray scale image element into the color image element in the color palette read by the “palette read” command, the decompression writing processor 30 thereby A series of processing from reading the compressed element data to displaying a color image on the LCD 16 can be executed.

また、コマンドデータを構成するコマンドのうち、「要素表示」コマンドによって、画像要素の色を同一の表示位置に表示させる他の画像要素と色を混ぜる旨を指令することもできるため、これにより、解凍書込プロセッサ30は、圧縮要素データの読出しからLCD16にカラーの画像を、同一の表示位置に表示される複数の画像要素それぞれの色が混ぜられた状態で表示させるまでの一連の処理を実行することができる。   In addition, among the commands constituting the command data, the “element display” command can be used to instruct that the color of the image element is mixed with other image elements that display the color of the image element at the same display position. The decompression and writing processor 30 executes a series of processes from reading the compressed element data to displaying the color image on the LCD 16 in a state where the colors of the plurality of image elements displayed at the same display position are mixed. can do.

また、書込部38は、画像要素に表示領域の端部からはみ出す部分が存在する場合、そのような部分に対応する解凍要素データの該当部分(データ領域)についてはVRAM14へ書き込まないため、画像要素がラインの始端側(または終端側)に回り込んで表示されてしまうことを防止できる。このとき、画像要素に表示領域の端部からはみ出す部分が存在するか否かについては、要素表示コマンドで特定されるアドレスc1〜ckおよびレフトフラグに基づいて判定(特定)することができる。   The writing unit 38 does not write the corresponding part (data area) of the decompressed element data corresponding to such a part when the image element includes a part that protrudes from the end of the display area. It is possible to prevent the element from being displayed around the start side (or end side) of the line. At this time, whether or not the image element has a portion that protrudes from the end of the display area can be determined (specified) based on the addresses c1 to ck and the left flag specified by the element display command.

[変形例]
以上、本発明の実施形態について説明したが、本発明は上記の具体的な実施形態に限定されず、このほかにも様々な形態で実施することができる。
[Modification]
As mentioned above, although embodiment of this invention was described, this invention is not limited to said specific embodiment, It can implement with a various form besides this.

例えば、上記実施形態においては、ナビゲーションシステム1に本発明の画像処理装置を適用したものを例示したが、本発明の画像処理装置は、メモリに記録されたデータで示される画像を表示装置に表示させる装置であれば、ナビゲーションシステム以外の装置にも適用することができる。   For example, in the above-described embodiment, the navigation system 1 to which the image processing apparatus of the present invention is applied has been exemplified. However, the image processing apparatus of the present invention displays an image indicated by data recorded in a memory on a display device. Any device other than the navigation system can be applied.

また、上述したROM12に記録されている圧縮要素データは、所定の圧縮形式で圧縮された状態となっているが、この圧縮形式は、データ量を圧縮して小さくできる形式であれば、その具体的な形式は特に限定されず、周知の圧縮形式を採用すればよく、また、独自の圧縮形式を採用してもよい。   The compressed element data recorded in the ROM 12 is compressed in a predetermined compression format. If this compression format is a format that can be reduced by compressing the data amount, the specific data The specific format is not particularly limited, and a known compression format may be employed, or a unique compression format may be employed.

また、上記実施形態においては、CPU11が、RAM13からのコマンドデータの読み込みを解凍書込プロセッサ30に指令する(開始指令データを設定レジスタ32に書き込む)ことによって、解凍書込プロセッサ30自身にコマンドデータを取得させるように構成されたものを例示した。しかし、CPU11を、図3におけるs130,s140の処理の代わりに、解凍書込プロセッサ30の設定レジスタ32へs120の処理で読み出されたコマンドデータを開始指令データの代わりに書き込むようにして、解凍書込プロセッサ30を、設定レジスタ32にコマンドデータが書き込まれた際に、このコマンドデータを内蔵のレジスタ内へコマンド毎に格納し、以降、それぞれのコマンドに従って順番に動作を行うように構成してもよい。   In the above embodiment, the CPU 11 instructs the decompression / write processor 30 to read command data from the RAM 13 (writes the start command data to the setting register 32), whereby the command data is sent to the decompression / write processor 30 itself. The thing comprised so that it might acquire was illustrated. However, the CPU 11 writes the command data read in the process of s120 to the setting register 32 of the decompression / write processor 30 instead of the processes of s130 and s140 in FIG. The write processor 30 is configured so that when command data is written to the setting register 32, the command data is stored in the built-in register for each command, and thereafter, the operation is performed in accordance with each command. Also good.

また、上記実施形態においては、ROM12内にあらかじめ複数種類のコマンドデータが記録されており、図3におけるs120の処理において、該当するコマンドデータが読み出されるように構成されたものを例示した。しかし、ROM12内にコマンドデータを記録しておかずに、図3におけるs120の処理を行う毎にコマンドデータを生成するように構成してもよい。具体的には、s110の処理で特定された画像に基づいて、この画像を構成するのに必要な1以上の画像要素、これら画像要素における色の分布、および、これら画像要素をLCD16の表示領域においてどのように配置するかを決定して、これら決定された事項に基づいて、複数のコマンドからなるコマンドデータを生成する、といった構成である。   In the above embodiment, a plurality of types of command data are recorded in advance in the ROM 12, and the configuration is such that the corresponding command data is read out in the processing of s120 in FIG. However, the command data may be generated every time the processing of s120 in FIG. 3 is performed without recording the command data in the ROM 12. Specifically, based on the image specified in the processing of s110, one or more image elements necessary for composing the image, the color distribution in these image elements, and the image elements are displayed on the display area of the LCD 16 In this configuration, it is determined how to arrange the command data, and command data including a plurality of commands is generated based on the determined items.

また、上記実施形態においては、解凍書込プロセッサ30の解凍部35が、所定の圧縮形式で圧縮された圧縮要素データのみを解凍するように構成されたものを例示した。しかし、解凍部35を、取得部34から入力した圧縮要素データの圧縮形式を特定し、この特定した形式で示される手順(アルゴリズム)に従って圧縮要素データを解凍するように構成してもよい。この場合、それぞれが異なる圧縮形式で圧縮されたデータを圧縮要素データとして採用することができる。   Moreover, in the said embodiment, what decompress | decompressed part 35 of the decompression write processor 30 illustrated what was comprised so that only the compression element data compressed by the predetermined compression format might be decompress | decompressed. However, the decompressing unit 35 may be configured to identify the compression format of the compressed element data input from the acquisition unit 34 and decompress the compressed element data according to the procedure (algorithm) indicated in the identified format. In this case, data compressed in different compression formats can be used as the compressed element data.

また、上記実施形態において、コマンドデータを構成するコマンドのうち、「要素表示」コマンドは、他の画像要素と色を混ぜる場合における混合割合を示すコマンドであり、解凍書込プロセッサ30の混合部37が、この「要素表示」コマンドに従って画像要素の色を他の画像要素の色と混ぜるための処理を行うように構成されたものを例示した。しかし、「要素表示」コマンドを、他の画像要素と表示位置が重なる領域について、この他の画像要素を透過させて表示させるための透過割合を示すものとしてもよい。この場合、コマンド処理部33が、図5における矢印jにおいて透過割合を示す割合データを混合部37に渡すようにして、混合部37が、特定の画像要素における色の属性を、他の画像要素の色が割合データで示される透過割合だけ透過した状態となるように調整するように構成すればよい。   In the above embodiment, among the commands constituting the command data, the “element display” command is a command indicating a mixing ratio when mixing colors with other image elements, and the mixing unit 37 of the decompression writing processor 30. However, according to this “element display” command, the image element is configured to perform processing for mixing the color of an image element with the color of another image element. However, the “element display” command may indicate a transmission ratio for transmitting other image elements in a region where the display position overlaps with other image elements. In this case, the command processing unit 33 passes the ratio data indicating the transmission ratio at the arrow j in FIG. 5 to the mixing unit 37, so that the mixing unit 37 assigns the color attribute of the specific image element to another image element. The color may be adjusted so as to be in a state of being transmitted by the transmission ratio indicated by the ratio data.

[本発明との対応関係]
本実施形態において、ナビゲーションシステム1は、本発明における画像処理装置である。また、CPU11は本発明における表示処理部であり、ROM12は本発明における要素メモリおよびパレットメモリであり、RAM13は本発明における要素メモリであり、VRAM14は本発明における画像メモリであり、LCD16は本発明における表示装置である。
[Correspondence with the present invention]
In the present embodiment, the navigation system 1 is an image processing apparatus according to the present invention. The CPU 11 is a display processing unit in the present invention, the ROM 12 is an element memory and a palette memory in the present invention, the RAM 13 is an element memory in the present invention, the VRAM 14 is an image memory in the present invention, and the LCD 16 is in the present invention. In the display device.

また、解凍書込プロセッサ30において、取得部34およびコマンド処理部33は本発明における要素読出手段であり、解凍部35は本発明における要素解凍手段であり、書込部38およびコマンド処理部33は本発明における要素書込手段であり、変換部36およびコマンド処理部33は本発明におけるパレット変換手段であり、混合部37およびコマンド処理部33は、本発明における要素変換手段である。   In the decompression writing processor 30, the acquisition unit 34 and the command processing unit 33 are element reading means in the present invention, the decompression unit 35 is an element decompressing means in the present invention, and the writing unit 38 and the command processing unit 33 are The element writing unit in the present invention, the conversion unit 36 and the command processing unit 33 are palette conversion units in the present invention, and the mixing unit 37 and the command processing unit 33 are element conversion units in the present invention.

また、図3におけるs130の処理は、本発明におけるコマンド出力手段である。   Further, the processing of s130 in FIG. 3 is command output means in the present invention.

本実施形態におけるナビゲーションシステムの構成を示すブロック図The block diagram which shows the structure of the navigation system in this embodiment. VRAMの記録領域とLCDの表示領域との関係を示す図The figure which shows the relationship between the recording area of VRAM, and the display area of LCD コマンド出力処理の処理手順を示すフローチャートFlow chart showing processing procedure of command output processing コマンドデータのデータ構造およびコマンドの種類を示す図Diagram showing command data structure and command types 解凍書込プロセッサの動作を示す機能ブロック図Functional block diagram showing operation of decompression writing processor VRAMの記録領域に画像要素を書き込んだ状態を示す図The figure which shows the state which wrote the image element in the recording area of VRAM

符号の説明Explanation of symbols

1・・・ナビゲーションシステム、11・・・CPU、12・・・ROM、13・・・RAM、14・・・VRAM、15・・・表示部、16・・・液晶ディスプレイ、17・・・ハードディスク、18・・・操作パネル、19・・・バス、20・・・位置検出部、30・・・解凍書込プロセッサ、31・・・インターフェース部、32・・・設定レジスタ、33・・・コマンド処理部、34・・・取得部、35・・・解凍部、36・・・変換部、37・・・混合部、38・・・書込部。   DESCRIPTION OF SYMBOLS 1 ... Navigation system, 11 ... CPU, 12 ... ROM, 13 ... RAM, 14 ... VRAM, 15 ... Display part, 16 ... Liquid crystal display, 17 ... Hard disk , 18 ... Operation panel, 19 ... Bus, 20 ... Position detection unit, 30 ... Decompression writing processor, 31 ... Interface unit, 32 ... Setting register, 33 ... Command Processing part 34 ... Acquisition part 35 ... Decompression part 36 ... Conversion part 37 ... Mixing part 38 ... Writing part.

Claims (5)

各種画像を構成可能な画像要素を示す複数の要素データそれぞれが所定の圧縮形式で圧縮された状態で記録されている要素メモリと、
表示装置の表示領域に対応づけられた記録領域を有し、該記録領域内の所定の書込位置に書き込まれたデータが、該書込位置に対応する前記表示領域内の表示位置に表示される画像を示すデータとなる画像メモリと、
前記要素メモリに記録された要素データの解凍および前記画像メモリへの書込みに関する処理を行うことによって、前記要素データで示される画像を表示装置に表示させる表示処理部と、を備えた画像処理装置であって、
前記表示処理部からの指令を受けて、前記要素メモリに記録された要素データの解凍および前記画像メモリへの書き込みを行う解凍書込プロセッサを備え、
前記表示処理部は、
所定の画像を構成する1以上の画像要素それぞれについて、該画像要素を示す要素データを読み出すべき前記要素メモリにおける読出位置、および、前記画像要素を表示させるべき表示装置における表示位置を特定可能なコマンドデータを、複数種類の画像それぞれに対応するものとしてあらかじめ用意された複数のコマンドデータの中から選択するコマンド選択手段と、
該コマンド選択手段により選択されたコマンドデータを、前記解凍書込プロセッサへ向けて出力するコマンド出力手段が設けられており、
前記解凍書込プロセッサは、
前記表示処理部側から入力したコマンドデータで特定される前記読出位置から前記要素データを読み出す要素読出手段と、
該要素読出手段により読み出された要素データを解凍して圧縮されていない状態のデータとする要素解凍手段と、
該要素解凍手段により解凍された要素データを、前記コマンドデータで前記読取位置と共に特定される前記表示位置に基づき、該表示位置に対応する前記画像メモリの記録領域内の書込位置に書き込む要素書込手段と、が設けられ、
前記コマンドデータで特定される前記読出位置それぞれに対して、前記要素読出手段による読み出し、前記要素解凍手段による解凍、および、前記要素書込手段による書き込みを繰り返すように構成されており、
さらに、
画像要素の各画素における階調と各画素を表示させるべき色の属性との対応関係により画像要素における色の分布を示すカラーパレットが複数種類記録されているパレットメモリを備え、
前記要素メモリには、前記要素データとしてグレースケールの画像要素を示すデータが記録されており、
前記表示処理部において、
前記コマンド出力手段は、前記1以上の画像要素それぞれについて、前記読出位置および前記表示位置だけでなく、該画像要素の色の分布を決定するためのカラーパレットが記録されている前記パレットメモリにおける記録位置を特定可能なデータをコマンドデータとして出力して、
前記解凍書込プロセッサにおいては、
前記要素解凍手段により解凍された要素データを、前記コマンドデータで前記読取位置と共に特定される前記記録位置に基づいて、該記録位置に記録されている前記カラーパレットで示される色の分布からなる画像要素を示すデータに変換するパレット変換手段が設けられ、
前記要素書込手段が、前記パレット変換手段により変換された要素データを、前記コマンドデータで前記読取位置と共に特定される前記表示位置に基づいて、該表示位置に対応する前記画像メモリの記録領域内の書込位置に書き込む
ことを特徴とする画像処理装置。
An element memory in which a plurality of element data indicating image elements that can form various images are recorded in a compressed state in a predetermined compression format;
There is a recording area associated with the display area of the display device, and data written at a predetermined writing position in the recording area is displayed at a display position in the display area corresponding to the writing position. An image memory serving as data indicating an image
A display processing unit for displaying an image indicated by the element data on a display device by performing processing relating to decompression of element data recorded in the element memory and writing to the image memory. There,
In response to a command from the display processing unit, a decompression writing processor is provided for decompressing the element data recorded in the element memory and writing to the image memory,
The display processing unit
For each of one or more image elements constituting a predetermined image, a command capable of specifying a reading position in the element memory from which element data indicating the image element is to be read and a display position in a display device on which the image element is to be displayed Command selection means for selecting data from a plurality of command data prepared in advance as corresponding to each of a plurality of types of images;
Command output means for outputting the command data selected by the command selection means to the decompression writing processor is provided,
The decompression write processor
Element reading means for reading the element data from the reading position specified by the command data input from the display processing unit side;
Element decompression means for decompressing the element data read by the element readout means into uncompressed data;
An element document for writing the element data decompressed by the element decompression means to the writing position in the recording area of the image memory corresponding to the display position based on the display position specified together with the reading position by the command data And is provided with,
Each of the reading positions specified by the command data is configured to repeat reading by the element reading means, thawing by the element thawing means, and writing by the element writing means ,
further,
A palette memory in which a plurality of color palettes indicating the color distribution in the image element are recorded according to the correspondence between the gradation in each pixel of the image element and the attribute of the color to be displayed on each pixel;
In the element memory, data indicating a gray scale image element is recorded as the element data,
In the display processing unit,
The command output means records in the palette memory in which not only the readout position and the display position but also a color palette for determining the color distribution of the image element is recorded for each of the one or more image elements. Output data that can specify the position as command data,
In the decompression writing processor,
Based on the recording position specified together with the reading position by the command data, the element data decompressed by the element decompressing means is an image having a color distribution indicated by the color palette recorded at the recording position. Pallet conversion means for converting into data indicating elements is provided,
In the recording area of the image memory corresponding to the display position, the element writing means converts the element data converted by the pallet conversion means based on the display position specified together with the reading position by the command data. An image processing apparatus for writing to the writing position .
前記表示処理部において、
前記コマンド出力手段は、前記1以上の画像要素それぞれについて、前記読出位置,前記表示位置および前記記録位置だけでなく、前記画像要素における色の属性を前記表示位置が同一となる他の前記画像要素における色の属性に合わせて調整すべき調整度合いを特定可能なデータをコマンドデータとして出力して、
前記解凍書込プロセッサにおいては、
前記パレット変換手段により変換された要素データを、前記コマンドデータで前記読取位置と共に特定される前記調整度合いに基づいて、前記要素データで示される画像要素における色の属性が調整されたデータに変換する要素変換手段が設けられ、
前記要素書込手段が、前記要素変換手段により変換された要素データを、前記コマンドデータで前記読取位置と共に特定される前記表示位置に基づいて、該表示位置に対応する前記画像メモリの記録領域内の書込位置に書き込む
ことを特徴とする請求項に記載の画像処理装置。
In the display processing unit,
The command output means includes, for each of the one or more image elements, not only the reading position, the display position, and the recording position, but also the other image elements having the same display position with respect to color attributes in the image element. Output data that can specify the degree of adjustment to be adjusted according to the color attribute in the command data,
In the decompression writing processor,
The element data converted by the palette converting means is converted into data in which the color attribute of the image element indicated by the element data is adjusted based on the adjustment degree specified together with the reading position by the command data. Element conversion means are provided,
In the recording area of the image memory corresponding to the display position, the element writing means converts the element data converted by the element conversion means based on the display position specified together with the reading position by the command data. The image processing apparatus according to claim 1 , wherein writing is performed at a writing position.
前記解凍書込プロセッサにおいて、
前記要素書込手段は、前記要素データを前記画像メモリに書き込む際、該要素データで示される画像要素の一部が前記表示領域の端部からはみ出して表示される場合に、該はみ出す部分に対応する前記要素データのデータ領域について、前記画像メモリへの書き込みを行わない
ことを特徴とする請求項1または請求項2に記載の画像処理装置。
In the decompression writing processor,
The element writing means corresponds to a protruding portion when a part of an image element indicated by the element data is displayed protruding from an end of the display area when writing the element data to the image memory. the data area of the element data to the image processing apparatus according to claim 1 or claim 2, characterized in that not write to the image memory.
前記表示処理部において、
前記コマンド出力手段は、前記読出位置および前記表示位置だけでなく、前記要素データのうち、前記はみ出す示部分に対応するデータ領域を特定可能なコマンドデータを出力して、
前記解凍書込プロセッサにおいて、
前記要素書込手段は、前記要素データを前記画像メモリに書き込む際、該要素データのデータ領域のうち、前記コマンドデータで前記読取位置および前記表示位置と共に特定される前記はみ出す部分に対応するデータ領域について、前記画像メモリへの書き込みを行わない
ことを特徴とする請求項に記載の画像処理装置。
In the display processing unit,
The command output means outputs not only the reading position and the display position, but also command data that can specify a data area corresponding to the protruding portion of the element data,
In the decompression writing processor,
When the element writing means writes the element data into the image memory, the data area corresponding to the protruding portion specified together with the reading position and the display position by the command data in the data area of the element data The image processing apparatus according to claim 3 , wherein writing to the image memory is not performed.
請求項1からのいずれかに記載の解凍書込プロセッサとして機能するために必要な回路が形成されてなる解凍書込用回路。 Thawing write circuit composed is formed circuitry required to function as a decompression write processor according to any one of claims 1 to 4.
JP2004013371A 2003-04-23 2004-01-21 Image processing apparatus and decompression writing circuit Expired - Fee Related JP4466085B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004013371A JP4466085B2 (en) 2003-04-23 2004-01-21 Image processing apparatus and decompression writing circuit

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2003118620 2003-04-23
JP2004013371A JP4466085B2 (en) 2003-04-23 2004-01-21 Image processing apparatus and decompression writing circuit

Publications (2)

Publication Number Publication Date
JP2004341483A JP2004341483A (en) 2004-12-02
JP4466085B2 true JP4466085B2 (en) 2010-05-26

Family

ID=33543176

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004013371A Expired - Fee Related JP4466085B2 (en) 2003-04-23 2004-01-21 Image processing apparatus and decompression writing circuit

Country Status (1)

Country Link
JP (1) JP4466085B2 (en)

Also Published As

Publication number Publication date
JP2004341483A (en) 2004-12-02

Similar Documents

Publication Publication Date Title
US8803905B2 (en) Display control device and display layer combination program
KR101033434B1 (en) Operation method of liquid crystal display, LC driver, and LC driver
US6700625B1 (en) Image processing apparatus and method for accepting image signals from a medium or source of a plurality of types to display images of a plurality of frames simultaneously on a screen
US9176935B2 (en) Image forming apparatus capable of displaying print preview on screen
KR101996646B1 (en) Display driving method and display driving apparatus
US7023455B2 (en) Apparatus and method for processing video signal
JP2006145850A (en) Data output method and apparatus, and liquid crystal panel driving apparatus and liquid crystal display apparatus using the same
US8144378B2 (en) Image processing device, image processing method, and computer program product
JP3722097B2 (en) Image display device
JP4466085B2 (en) Image processing apparatus and decompression writing circuit
US20090040234A1 (en) Image processing device
JP2006129471A (en) Image processing method and image processing apparatus
US20100245914A1 (en) Image processing apparatus and method
JP3508630B2 (en) Frame buffer device with digital image input / output and image display device
US20020000989A1 (en) Display control apparatus and method
JPH09298670A (en) Image processing apparatus and method
JP4952153B2 (en) Printing apparatus and printing method
JP2006067513A (en) Image enlargement / reduction converter and digital video system
JP3576575B2 (en) Image processing apparatus and image processing method
US7342683B2 (en) Data processing method for color management module
JP2003087790A (en) Image data compressing method and image data outputting device
JPH05197353A (en) Natural picture display system
JP2004241901A (en) Image processor
JPS63185169A (en) Image processing device
JP2009060486A (en) Image processing apparatus, printer including the same, and image processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060308

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081119

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081125

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090126

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091201

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100106

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100215

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

Free format text: PAYMENT UNTIL: 20130305

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140305

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees