JP2014045290A - Image output device, image processing apparatus, image output control method and image output control program - Google Patents

Image output device, image processing apparatus, image output control method and image output control program Download PDF

Info

Publication number
JP2014045290A
JP2014045290A JP2012186022A JP2012186022A JP2014045290A JP 2014045290 A JP2014045290 A JP 2014045290A JP 2012186022 A JP2012186022 A JP 2012186022A JP 2012186022 A JP2012186022 A JP 2012186022A JP 2014045290 A JP2014045290 A JP 2014045290A
Authority
JP
Japan
Prior art keywords
data
line
plane
conversion
image data
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.)
Pending
Application number
JP2012186022A
Other languages
Japanese (ja)
Inventor
Yasuhiro Kajiwara
康宏 梶原
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2012186022A priority Critical patent/JP2014045290A/en
Publication of JP2014045290A publication Critical patent/JP2014045290A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PROBLEM TO BE SOLVED: To perform format conversion of data and output the data to the outside while suppressing data traffic and memory capacity.SOLUTION: In an image display device 1, when a display control signal generation section 11 converts YCbCr data to target image data of an RGB format to be output to a display 20 by converting corresponding pieces of line data of planes, Cb and Cr planes of line data of the YCbCr data, which are planes with fewer lines, are lossless-compressed line by line by a static Huffman coding method in a compression processing section 12 and then retained in a storage section 13, and under the control of a control section 15, the Cb and Cr planes of line data from a system memory 30 and line data expanded in an expansion processing section 14 from the line data in the storage section 13 are alternately input into the display control signal generation section 11 in synchronism with a Y plane of line data from the system memory 30.

Description

本発明は、画像出力装置、画像処理装置、画像出力制御方法及び画像出力制御プログラムに関し、詳細には、データのフォーマット変換を行なって外部にデータ出力する画像出力装置、画像処理装置、画像出力制御方法及び画像出力制御プログラムに関する。   The present invention relates to an image output apparatus, an image processing apparatus, an image output control method, and an image output control program. More specifically, the present invention relates to an image output apparatus, an image processing apparatus, and an image output control that perform data format conversion and externally output data. The present invention relates to a method and an image output control program.

プリンタ装置、複写装置、複合装置、スキャナ装置等の画像処理装置においては、画像処理装置のメモリ内に保管されている所定フォーマットの画像データ、例えば、色差(Cb、Cr)と輝度(Y)からなるYCbCr、例えば、YCbCr420(以下、適宜、単に、YCbCrという。)でフォーマットされている画像データを、LCD(Liquid Crystal Display)等の表示部に表示させるが、表示部は、RGB(赤(Red)、緑(Green)、青(Blue))でフォーマットされている画像データに基づいて画像を表示する。   In an image processing apparatus such as a printer apparatus, a copying apparatus, a composite apparatus, or a scanner apparatus, image data in a predetermined format stored in a memory of the image processing apparatus, for example, color difference (Cb, Cr) and luminance (Y) Image data formatted in YCbCr, for example, YCbCr420 (hereinafter simply referred to as YCbCr as appropriate) is displayed on a display unit such as an LCD (Liquid Crystal Display). ), Green, and blue) to display an image.

そして、従来、画像処理装置は、画像処理装置のメモリ内のYCbCrの画像データを、画像処理部で、ライン毎にRGBの画像データへフォーマット変換して、RGBのピクセルデータを走査順に表示部に転送し、表示部で該画像データを表示出力している。   Conventionally, the image processing apparatus converts the format of YCbCr image data in the memory of the image processing apparatus into RGB image data for each line by the image processing unit, and converts the RGB pixel data to the display unit in the scanning order. The image data is transferred and displayed on the display unit.

ところが、YCbCrの画像データは、Yプレーン、Cbプレーン、Crプレーンの3つのプレーンが重ね合わされたフレームとして構成されているが、CbプレーンとCrプレーンの副走査方向の標本数が、Yプレーンの副走査方向標本数の1/2である。   However, the image data of YCbCr is configured as a frame in which three planes of Y plane, Cb plane, and Cr plane are overlapped. However, the number of samples in the sub-scanning direction of Cb plane and Cr plane is equal to that of Y plane. One half of the number of samples in the scanning direction.

そこで、従来の画像処理装置は、CbプレーンとCrプレーンについては、ラインバッファを画像処理部内に備えて、Yプレーンの2ラインをRGB画像データに変換する間、ラインバッファのCbプレーンとCrプレーンのラインデータを、該Yプレーンの1ライン毎に対応させてRGB変換する方法、または、画像処理部が、Yプレーン、Cbプレーン及びCrプレーンのラインデータをそれぞれ走査順にメモリから取得し、変換処理を1ライン行なった後、Yプレーンについてはメモリの次のラインにアクセスし、Cbプレーン、Crプレーンについては、メモリの再び同じラインにアクセスしてラインデータを取得して変換処理を行なう動作を2ライン毎に繰り返す方法を用いている。   Therefore, the conventional image processing apparatus includes a line buffer in the image processing unit for the Cb plane and the Cr plane, and converts the two lines of the Y plane into RGB image data, while converting the Cb plane and the Cr plane of the line buffer. A method in which line data is converted to RGB corresponding to each line of the Y plane, or the image processing unit acquires line data of the Y plane, Cb plane, and Cr plane from the memory in the scanning order, and performs conversion processing. After performing one line, for the Y plane, the next line of the memory is accessed, and for the Cb plane and the Cr plane, the same line of the memory is accessed again to acquire line data and perform conversion processing. A method of repeating every time is used.

ところが、CbプレーンとCrプレーンについてラインバッファを用いる方法は、各プレーン用に1ライン分のデータ量以上の容量のバッファを必要とするため、ディスプレイの水平方向の解像度が増えるのに従って容量の大きいバッファが必要となり、バッファの容量が増加して、コストが高くなるという問題があった。   However, the method using the line buffer for the Cb plane and the Cr plane requires a buffer having a capacity larger than the data amount for one line for each plane, so that the buffer having a larger capacity as the horizontal resolution of the display increases. There is a problem that the capacity of the buffer increases and the cost increases.

また、Yプレーンの1ラインに対して、Cbプレーン、Crプレーンについては、2回メモリにアクセスする方法は、Cbプレーン、Crプレーンについては、1プレーンのデータ量以上のデータがメモリから画像処理部に転送されることとなるため、メモリ側と画像処理部との間のバス帯域に負荷がかかるという問題があった。   In addition, with respect to one line of the Y plane, the method of accessing the memory twice for the Cb plane and the Cr plane is as follows. Therefore, there is a problem that a load is applied to the bus band between the memory side and the image processing unit.

そして、従来、カラー画像の表示データをRGB各色成分のプレーンに分割して、各画素について走査方向に隣接する画素との差分値を算出して、所定の処理画素単位ごとに、差分値を判定して差分値の大きさに応じた圧縮データの格納方法を設定し、圧縮データの格納方法を示す圧縮情報データを圧縮情報用バッファに格納して、この圧縮情報データに対応する圧縮データを圧縮データ用バッファに格納する。そして、差分値のいずれかが所定の閾値を超える場合、各画素の元データを圧縮データとし、差分値全てが閾値以下の場合、各画素の差分値を圧縮データとし、差分値全てが0の場合、圧縮データを無しとする表示データ処理装置が提案されている(特許文献1参照)。   Conventionally, color image display data is divided into RGB color component planes, and the difference value between each pixel and a pixel adjacent in the scanning direction is calculated, and the difference value is determined for each predetermined processing pixel unit. Then, the compressed data storage method corresponding to the size of the difference value is set, the compressed information data indicating the compressed data storage method is stored in the compressed information buffer, and the compressed data corresponding to the compressed information data is compressed. Store in the data buffer. If any of the difference values exceeds a predetermined threshold value, the original data of each pixel is set as compressed data. If all the difference values are equal to or less than the threshold value, the difference value of each pixel is set as compressed data, and all the difference values are 0. In this case, a display data processing apparatus that eliminates compressed data has been proposed (see Patent Document 1).

すなわち、この従来技術は、カラー画像を各色のプレーンに分けて、各プレーン毎に走査方向に隣接する画素毎の差分値に基づいて圧縮した圧縮データを、圧縮データ用バッファにデータを格納し、その圧縮値から表示データを復元している。   That is, this prior art divides a color image into planes of each color, stores compressed data compressed based on a difference value for each pixel adjacent in the scanning direction for each plane, and stores the data in a compressed data buffer. Display data is restored from the compressed value.

しかしながら、上記公報記載の従来技術にあっては、カラー画像を各色のプレーンに分けて、各プレーン毎に走査方向に隣接する画素毎の差分値に基づいて圧縮した圧縮データを、圧縮データ用バッファにデータを格納し、その圧縮値から表示データを復元するのみであるため、例えば、YCbCrのCbプレーンとCrプレーンのように、その副走査方向の標本数が異なるプレーンを有するフォーマットの画像データをフォーマット変換して出力する場合には、ラインバッファを用いることによるコストが高くなる問題及び少ラインのプレーンについては、他のプレーンよりも多くメモリにアクセスすることによるメモリ側との間のバス帯域へかかる負荷の問題を解決することができない。   However, in the prior art described in the above publication, a compressed image is obtained by dividing a color image into planes of each color and compressing compressed data based on a difference value for each pixel adjacent in the scanning direction for each plane. Since the display data is only restored from the compressed value, for example, the image data of a format having a plane in which the number of samples in the sub-scanning direction is different, such as a Cb plane and a Cr plane of YCbCr. In the case of output after converting the format, the cost of using a line buffer is high, and for planes with a small number of lines, the bus bandwidth between the memory side by accessing more memory than other planes Such a load problem cannot be solved.

そこで、本発明は、ライン数の少ない少ラインデータの少ラインプレーンを含む複数プレーンからなる所定フォーマットの変換元画像データを、該変換元画像データの取り込みデータ量を抑制しつつ、安価に所定フォーマットの変換先画像データに変換することを目的としている。   In view of this, the present invention provides conversion source image data of a predetermined format composed of a plurality of planes including a small line plane of a small number of lines with a small number of lines. It is intended to convert to the destination image data.

上記目的を達成するために、請求項1記載の画像出力装置は、主走査方向の1列をラインとしてラインデータが所定ライン数該主走査方向と直交する副走査方向に並んでいるプレーンを複数有するとともに、該副走査方向においてライン数が所定の倍率で少ない少ラインデータからなる少ラインプレーンを含む所定フォーマットの変換元画像データを、各プレーンの対応するラインデータ毎に変換処理を施して所定フォーマットの変換先画像データに変換するフォーマット変換手段と、前記変換元画像データのうち、前記少ラインプレーンのラインデータを所定の圧縮方式で1ラインずつ圧縮する圧縮手段と、前記圧縮手段の圧縮した1ライン分の圧縮データを保管する所定容量の保管手段と、前記保管手段の保管する前記圧縮データを元データに伸張する伸張手段と、前記変換元画像データを外部から取り込んで、該変換元画像データのうち、前記少ラインプレーンのラインデータと前記伸張手段が伸張したラインデータのうちいずれかのラインデータを、該少ラインプレーン以外の前記プレーンの対応するラインデータに合わせて前記フォーマット変換手段へ入力させるデータ制御手段と、を備えていることを特徴としている。   In order to achieve the above object, the image output apparatus according to claim 1, wherein a plurality of planes in which one line in the main scanning direction is a line and the line data is arranged in a sub-scanning direction orthogonal to the main scanning direction are a predetermined number of lines. Conversion source image data of a predetermined format including a small line plane consisting of small line data with a small number of lines at a predetermined magnification in the sub-scanning direction is subjected to conversion processing for each corresponding line data of each plane Format conversion means for converting the image data into the conversion destination image data, compression means for compressing the line data of the small line plane from the conversion source image data line by line by a predetermined compression method, and compression by the compression means A storage unit having a predetermined capacity for storing compressed data for one line, and the compressed data stored in the storage unit A decompression unit that decompresses the conversion source image data from the outside, and the line data of any one of the line data of the small line plane and the line data decompressed by the decompression unit of the conversion source image data And a data control means for inputting the data to the format conversion means in accordance with the line data corresponding to the plane other than the small line plane.

本発明によれば、ライン数の少ない少ラインデータの少ラインプレーンを含む複数プレーンからなる所定フォーマットの変換元画像データを、該変換元画像データの取り込みデータ量を抑制しつつ、安価に所定フォーマットの変換先画像データに変換することができる。   According to the present invention, conversion source image data of a predetermined format composed of a plurality of planes including a small line plane of a small number of lines and a small number of lines can be converted into a predetermined format at a low cost while suppressing the amount of captured data of the conversion source image data. Can be converted into the destination image data.

本発明の一実施例を適用した画像表示装置のブロック構成図。1 is a block configuration diagram of an image display device to which an embodiment of the present invention is applied. 画像処理分の要部の詳細なブロック構成図。The detailed block block diagram of the principal part for image processing. 画像表示制御処理を示すフローチャート。The flowchart which shows an image display control process. 圧縮処理を示すフローチャート。The flowchart which shows a compression process. 伸長処理を示すフローチャート。10 is a flowchart showing decompression processing.

以下、本発明の好適な実施例を添付図面に基づいて詳細に説明する。なお、以下に述べる実施例は、本発明の好適な実施例であるので、技術的に好ましい種々の限定が付されているが、本発明の範囲は、以下の説明によって不当に限定されるものではなく、また、本実施の形態で説明される構成の全てが本発明の必須の構成要件ではない。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In addition, since the Example described below is a suitable Example of this invention, various technically preferable restrictions are attached | subjected, However, The range of this invention is unduly limited by the following description. However, not all the configurations described in the present embodiment are essential constituent elements of the present invention.

図1〜図5は、本発明の画像出力装置、画像処理装置、画像出力制御方法及び画像出力制御プログラムの一実施例を示す図であり、図1は、本発明の画像出力装置、画像処理装置、画像出力制御方法及び画像出力制御プログラムの一実施例を適用した画像出力装置1のブロック構成図である。   1 to 5 are diagrams showing an embodiment of an image output apparatus, an image processing apparatus, an image output control method, and an image output control program according to the present invention. FIG. 1 shows an image output apparatus and image processing according to the present invention. 1 is a block configuration diagram of an image output apparatus 1 to which an embodiment of an apparatus, an image output control method, and an image output control program are applied.

図1において、画像出力装置1は、例えば、プリンタ装置、複写装置、複合装置、スキャナ装置等の画像処理装置の表示部として適用され、画像処理部10とディスプレイ20等を備えている。なお、画像の出力先は、ディスプレイ20に限るものではなく、外部のコンピュータや他の画像処理装置等の外部装置であってもよい。   In FIG. 1, an image output apparatus 1 is applied as a display unit of an image processing apparatus such as a printer apparatus, a copying apparatus, a composite apparatus, or a scanner apparatus, and includes an image processing section 10 and a display 20. Note that the output destination of the image is not limited to the display 20, but may be an external device such as an external computer or another image processing device.

画像処理部10は、画像出力装置1の適用される画像処理装置等のシステムメモリ(外部)30からYCbCrフォーマットのプレーンデータ(以下、適宜、画像データともいう。)をライン単位で読み出して、RGBフォーマットのラインデータに変換し、ライン単位で映像信号に変換してディスプレイ20に出力して画像を表示させる。   The image processing unit 10 reads out plane data in YCbCr format (hereinafter also referred to as image data as appropriate) from a system memory (external) 30 such as an image processing apparatus to which the image output apparatus 1 is applied, and performs RGB processing. The data is converted into line data in the format, converted into a video signal line by line, and output to the display 20 to display an image.

ディスプレイ20は、所定表示サイズのLCD(Liquid Crystal Display)が用いられており、画像処理部10から送られてくるRGBの映像信号に基づいて画像を表示出力する。   The display 20 uses an LCD (Liquid Crystal Display) having a predetermined display size, and displays and outputs an image based on RGB video signals sent from the image processing unit 10.

画像処理部10は、ディスプレイ制御信号生成部11、圧縮処理部12、記憶部13、伸張処理部14及び制御部15等を備えており、画像処理部10としては外部であるシステムメモリ30から読み取ったYCbCrフォーマットのラインデータが、圧縮処理部12と伸張処理部14及びディスプレイ制御信号生成部11に入力される。   The image processing unit 10 includes a display control signal generation unit 11, a compression processing unit 12, a storage unit 13, an expansion processing unit 14, a control unit 15, and the like. The image processing unit 10 reads from the system memory 30 that is external. The line data in the YCbCr format is input to the compression processing unit 12, the expansion processing unit 14, and the display control signal generation unit 11.

圧縮処理部(圧縮手段)12は、制御部15の制御下で、YCbCrラインデータのうち、CbラインデータとCrラインデータに対して、静的ハフマン符号化方式による可逆圧縮処理を施して、記憶部13に格納する。   Under the control of the control unit 15, the compression processing unit (compression unit) 12 performs reversible compression processing by the static Huffman coding method on the Cb line data and the Cr line data among the YCbCr line data, and stores them. Stored in the unit 13.

記憶部(保管手段)13は、RAM(Random Access Memory)等の所定容量のメモリで構成され、圧縮処理部12で圧縮された圧縮画像データを1ライン分保管する。   The storage unit (storage unit) 13 is configured by a memory having a predetermined capacity such as a RAM (Random Access Memory), and stores the compressed image data compressed by the compression processing unit 12 for one line.

伸張処理部(伸張手段)14は、後述するように、制御部15の制御下で、システムメモリ30からのCbラインデータとCrラインデータをそのまま選択してディスプレイ制御信号生成部1に出力する処理と、記憶部13に格納されている圧縮されたCbラインデータとCrラインデータを伸張してディスプレイ制御信号生成部11に出力する処理と、を選択的に行なう。   As will be described later, the decompression processing unit (decompression unit) 14 selects Cb line data and Cr line data from the system memory 30 as they are and outputs them to the display control signal generation unit 1 under the control of the control unit 15. And a process of decompressing the compressed Cb line data and Cr line data stored in the storage unit 13 and outputting them to the display control signal generation unit 11 is selectively performed.

制御部(データ制御手段)15は、予め格納されている本発明の画像出力制御プログラムに基づいて、底生魚信号生成部11、圧縮処理部12、記憶部13及び伸張処理部14の動作を制御して、YCbCr画像データの取り込みデータ量を抑制しつつ、安価にRGB画像データに変換して出力するYCbCr画像データの取り込みデータ量を抑制しつつ、安価にRGB画像データに変換して出力する画像出力制御処理を実行する。   The control unit (data control means) 15 controls the operations of the benthic fish signal generation unit 11, the compression processing unit 12, the storage unit 13 and the expansion processing unit 14 based on the image output control program of the present invention stored in advance. An image that is converted into RGB image data at a low cost and output while suppressing the amount of YCbCr image data that is converted into RGB image data and output at a low cost while suppressing the amount of data taken in the YCbCr image data. Execute output control processing.

ディスプレイ制御信号生成部(フォーマット変換手段、映像信号生成手段)11は、システムメモリ(外部、外部記憶手段)30からのYCbCr画像データのうち、Yプレーンのラインデータについては、データバッファ16(図2参照)を介してタイミング調整された後、入力され、Cbプレーンのラインデータ及びCrプレーンのラインデータについては、伸張処理部14で選択されて、そのまま、または、圧縮処理部12で圧縮されて記憶部13に格納された後に伸張処理部14で伸張されて、それぞれ1ラインずつ入力される。なお、外部、外部記憶手段としてのシステムメモリ30は、NVRAM(Non-Volatile Random Access Memory)等の不揮発性メモリやDRAM(Dynamic Random Access Memory)、SRAM(Static Random Access Memory)等の揮発性メモリである。   The display control signal generation unit (format conversion means, video signal generation means) 11 includes a data buffer 16 (FIG. 2) for the Y plane line data among the YCbCr image data from the system memory (external, external storage means) 30. The Cb plane line data and the Cr plane line data are selected by the decompression processing unit 14 and stored as they are or after being compressed by the compression processing unit 12. After being stored in the unit 13, it is expanded by the expansion processing unit 14 and is input one line at a time. The system memory 30 as external and external storage means is a non-volatile memory such as NVRAM (Non-Volatile Random Access Memory) or a volatile memory such as DRAM (Dynamic Random Access Memory) or SRAM (Static Random Access Memory). is there.

ディスプレイ制御信号生成部11は、入力されるYプレーンのラインデータ、Cbプレーンのラインデータ及びCrプレーンのラインデータを、図示しないクロック生成部からの所定のクロックに基いて、ライン毎に、RGBのラインデータに変換し、また、このRGBデータから画像(映像)をディスプレイ20に表示させる映像信号を生成して、ライン単位で、ディスプレイ20に出力して画像表示させる。   The display control signal generation unit 11 converts the input Y plane line data, Cb plane line data, and Cr plane line data into R, G, and B for each line based on a predetermined clock from a clock generation unit (not shown). The image data is converted to line data, and a video signal for displaying an image (video) on the display 20 is generated from the RGB data. The video signal is output to the display 20 and displayed on a line basis.

そして、画像処理部10は、その要部が、図2に示すように構成されており、Yデータバッファ16を備えているとともに、圧縮処理部12が、Cbライン圧縮部12bとCrライン圧縮部12rを、記憶部13が、それぞれオーバーフローフラグ13bf、13rfを備えたCbデータバッファ13b、Crデータバッファ13rを、伸張処理部14が、Cbライン伸張部14b、Crライン伸張部14r、Cbデータセレクタ14bs及びCrデータセレクタ14rsを備えている。   The main part of the image processing unit 10 is configured as shown in FIG. 2 and includes a Y data buffer 16, and the compression processing unit 12 includes a Cb line compression unit 12b and a Cr line compression unit. 12r, the storage unit 13 includes a Cb data buffer 13b and a Cr data buffer 13r each having overflow flags 13bf and 13rf, and the expansion processing unit 14 includes a Cb line expansion unit 14b, a Cr line expansion unit 14r, and a Cb data selector 14bs. And a Cr data selector 14rs.

Yデータバッファ16は、上述のように、システムメモリ30からのYプレーンのラインデータが入力され、タイミング調整した後、該Yプレーンのラインデータを、ディスプレイ制御信号生成部11へ出力する。   As described above, the Y data buffer 16 receives the Y plane line data from the system memory 30, adjusts the timing, and then outputs the Y plane line data to the display control signal generation unit 11.

圧縮部12は、そのCbライン圧縮部12bに、システムメモリ30からのCbプレーンのラインデータが入力され、そのCrライン圧縮部12rに、システムメモリ30からのCrプレーンのラインデータが入力される。   In the compression unit 12, the Cb plane line data from the system memory 30 is input to the Cb line compression unit 12b, and the Cr plane line data from the system memory 30 is input to the Cr line compression unit 12r.

Cbライン圧縮部12bは、制御部15の制御下で、Cbプレーンのラインデータに対して、所定のハフマンテーブルを用いた静的ハフマン符号化方式による可逆圧縮を行なって、記憶部13のCbデータバッファ13bに保管し、Crライン圧縮部12rは、制御部15の制御下で、Crプレーンのラインデータに対して、所定のハフマンテーブルを用いた静的ハフマン符号化による可逆圧縮を行なって、記憶部13のCrデータバッファ13rに保管する。   Under the control of the control unit 15, the Cb line compression unit 12 b performs lossless compression on the Cb plane line data by a static Huffman coding method using a predetermined Huffman table, and stores the Cb data in the storage unit 13. Stored in the buffer 13b, the Cr line compression unit 12r performs lossless compression by static Huffman coding using a predetermined Huffman table on the Cr plane line data under the control of the control unit 15, and stores the data. The data is stored in the Cr data buffer 13r of the unit 13.

Cbデータバッファ13bのCbデータバッファオーバーフローフラグ13bf及びCrデータバッファ13rのCrデータバッファオーバーフローフラグ13rfは、後述するように、制御部14によって、クリアとセットが制御され、Cbデータバッファ13b、Crデータバッファ13rへのデータの保管とCbデータバッファ13b、Crデータバッファ13rからのデータの読み出しの制御に用いられる。   As will be described later, the Cb data buffer overflow flag 13bf of the Cb data buffer 13b and the Cr data buffer overflow flag 13rf of the Cr data buffer 13r are controlled to be cleared and set by the control unit 14, as will be described later. It is used to store data in 13r and control reading of data from the Cb data buffer 13b and Cr data buffer 13r.

Cbデータバッファ13b及びCrデータバッファ13rは、それぞれCbライン圧縮部12b及びCrライン圧縮部12rで圧縮されたCbプレーンの1ライン分のラインデータ及びCrプレーンの1ライン分のラインデータを保管する容量を有しており、制御部15の制御下で、1ライン分のCbプレーンのラインデータ及びCrプレーンのラインデータの保管と読み出しを行う。   The Cb data buffer 13b and the Cr data buffer 13r each store the line data for one line of the Cb plane and the line data for one line of the Cr plane compressed by the Cb line compression unit 12b and the Cr line compression unit 12r, respectively. Under the control of the control unit 15, Cb plane line data and Cr plane line data for one line are stored and read.

伸張処理部14は、そのCbライン伸張部14bにCbデータバッファ13bから圧縮された1ライン分のCbプレーンのラインデータが順次入力され、そのCrライン伸張部14rに、Crデータバッファ13rから圧縮された1ライン分のCrプレーンのラインデータが順次入力される。   The decompression processing unit 14 sequentially inputs the Cb plane line data for one line compressed from the Cb data buffer 13b to the Cb line decompression unit 14b, and compresses the Cr line decompression unit 14r from the Cr data buffer 13r. One line of Cr plane line data is sequentially input.

Cbライン伸張部14bは、圧縮時と同じハフマンテーブルを用いて、静的ハフマン符号化によって可逆圧縮されたCbプレーンのラインデータを伸張して、バスb(1)を介してCbデータセレクタ14bsに出力し、Crライン伸張部14rは、圧縮時と同じハフマンテーブルを用いて、静的ハフマン符号化によって可逆圧縮されたCrプレーンのラインデータを伸張して、バスr(1)を介してCrデータセレクタ14rsに出力する。   The Cb line decompression unit 14b decompresses the line data of the Cb plane that has been reversibly compressed by static Huffman coding using the same Huffman table as that used for compression, and sends it to the Cb data selector 14bs via the bus b (1). The Cr line decompression unit 14r decompresses the Cr plane line data reversibly compressed by static Huffman coding using the same Huffman table as that used for compression, and the Cr data is transmitted via the bus r (1). Output to the selector 14rs.

Cbデータセレクタ14bsには、2つのバスb(0)とバスb(1)が接続されており、バスb(0)には、システムメモリ30からのCbプレーンのラインデータが直接入力され、バスb(1)には、Cbライン伸張部14bで伸張されたCbプレーンのラインデータが入力される。Cbデータセレクタ14bsは、制御部15の制御下で、バスb(0)からのCbプレーンのラインデータとバスb(1)からのCbプレーンのラインデータのいずれかをライン毎に選択してディスプレイ制御信号生成部11に出力する。   Two buses b (0) and b (1) are connected to the Cb data selector 14bs, and line data of the Cb plane from the system memory 30 is directly input to the bus b (0). The line data of the Cb plane expanded by the Cb line expansion unit 14b is input to b (1). Under the control of the control unit 15, the Cb data selector 14bs selects either the line data of the Cb plane from the bus b (0) or the line data of the Cb plane from the bus b (1) for each line and displays it. Output to the control signal generator 11.

Crデータセレクタ14rsには、2つのバスr(0)とバスr(1)が接続されており、バスr(0)には、システムメモリ30からのCrプレーンのラインデータが直接入力され、バスr(1)には、Crライン伸張部14rで伸張されたCrプレーンのラインデータが入力される。Crデータセレクタ14rsは、制御部15の制御下で、バスr(0)からのCrプレーンのラインデータとバスr(1)からのCrプレーンのラインデータのいずれかをライン毎に選択してディスプレイ制御信号生成部11に出力する。   Two buses r (0) and r (1) are connected to the Cr data selector 14rs, and line data of the Cr plane from the system memory 30 is directly input to the bus r (0). In r (1), the line data of the Cr plane expanded by the Cr line expansion unit 14r is input. Under the control of the control unit 15, the Cr data selector 14rs selects and displays either the Cr plane line data from the bus r (0) or the Cr plane line data from the bus r (1) for each line. Output to the control signal generator 11.

そして、画像表示装置1は、ROM、EEPROM(Electrically Erasable and Programmable Read Only Memory )、EPROM、フラッシュメモリ、フレキシブルディスク、CD−ROM(Compact Disc Read Only Memory )、CD−RW(Compact Disc Rewritable )、DVD(Digital Versatile Disk)、SD(Secure Digital)カード、MO(Magneto-Optical Disc)等のコンピュータが読み取り可能な記録媒体に記録されている本発明の画像出力制御方法を実行する画像出力制御プログラムを読み込んで画像処理部10の図示しないROM等の不揮発性メモリに導入することで、後述するデータ転送量を削減しつつ、データバッファ13b、13rの容量を削減する画像出力制御方法を実行する画像表示装置として構築されている。この画像出力制御プログラムは、アセンブラ、C、C++、C#、Java(登録商標)等のレガシープログラミング言語やオブジェクト指向ブログラミング言語等で記述されたコンピュータ実行可能なプログラムであり、上記記録媒体に格納して頒布することができる。   The image display device 1 includes a ROM, an EEPROM (Electrically Erasable and Programmable Read Only Memory), an EPROM, a flash memory, a flexible disk, a CD-ROM (Compact Disc Read Only Memory), a CD-RW (Compact Disc Rewritable), a DVD. An image output control program for executing the image output control method of the present invention recorded on a computer-readable recording medium such as a (Digital Versatile Disk), an SD (Secure Digital) card, or an MO (Magneto-Optical Disc) is read. The image display device that executes the image output control method for reducing the capacity of the data buffers 13b and 13r while reducing the data transfer amount described later by introducing the image processing unit 10 into a non-illustrated nonvolatile memory such as a ROM. Is built as. This image output control program is a computer-executable program written in a legacy programming language such as assembler, C, C ++, C #, Java (registered trademark) or an object-oriented programming language, and is stored in the recording medium. And can be distributed.

また、画像表示装置1は、図示しないが、ディスプレイ制御信号生成部11が、RGB画像データに基いて、ディスプレイ20へ画像を表示させる映像信号を所定のクロックに基いて生成し、このディスプレイ制御信号生成部11、圧縮処理部12、伸張処理部14及び制御部15が、ディスプレイ制御信号生成部11と同じクロックに同期して動作処理を行なっている。   Further, although not shown in the figure, the display control signal generation unit 11 generates a video signal for displaying an image on the display 20 based on the RGB image data, based on the predetermined clock, and this display control signal. The generation unit 11, the compression processing unit 12, the expansion processing unit 14, and the control unit 15 perform operation processing in synchronization with the same clock as the display control signal generation unit 11.

次に、本実施例の作用について説明する。本実施例の画像表示装置1は、YCbCr画像データの取り込みデータ量を抑制しつつ、安価にRGB画像データに変換して出力する。   Next, the operation of this embodiment will be described. The image display apparatus 1 according to the present embodiment converts RGB image data at low cost and outputs it while suppressing the amount of YCbCr image data taken in.

画像表示装置1は、画像処理部10が、システムメモリ30に保管されているYCbCr画像データを1ラインずつRGB画像データに変換してディスプレイ20に表示出力させる。   In the image display device 1, the image processing unit 10 converts the YCbCr image data stored in the system memory 30 into RGB image data line by line and causes the display 20 to display and output the image data.

ところが、YCbCrの各プレーンが重ね合わされたフレームである画像データは、上述のように、CbプレーンとCrプレーンの副走査方向の標本数が、Yプレーンの1/2であるため、Yプレーンの2ラインをRGB画像データに変換する間、CbプレーンとCrプレーンについては、同じラインを2ライン分用意する必要があるが、その都度、システムメモリ30から画像データを読み出していると、システムメモリ30とのバスのトラフィックが多くなる。一方、画像処理部10に、CbプレーンとCrプレーンのそれぞれについて1ライン分のメモリを設けると、コストが高くつく。   However, as described above, since the number of samples in the sub-scanning direction of the Cb plane and the Cr plane is 1/2 of the Y plane, the image data that is a frame in which the YCbCr planes are overlapped is 2 in the Y plane. While the lines are converted into RGB image data, it is necessary to prepare two identical lines for the Cb plane and the Cr plane. When image data is read from the system memory 30 each time, the system memory 30 Bus traffic will increase. On the other hand, if the image processing unit 10 is provided with a memory for one line for each of the Cb plane and the Cr plane, the cost increases.

そこで、本実施例の画像表示装置1は、画像処理部10が、システムメモリ30からのCbプレーンのラインデータ及びCrプレーンのラインデータを、データセレクタ14bs、14rsに渡すバスb(0)とバスr(0)及び圧縮部12b、12rで圧縮して、データバッファ13b、13rに保存した後、次のラインの変換タイミングに伸張部14b、14rで伸張したCbプレーンのラインデータ及びCrプレーンのラインデータを、データセレクタ14bs、14rsに渡すバスb(1)とバスr(1)を備え、システムメモリ30へのアクセス回数を削減するとともに、Cbプレーンのラインデータ及びCrプレーンのラインデータを保管するデータバッファ13b、13rの容量を削減してコストを削減している。   Therefore, in the image display apparatus 1 according to the present embodiment, the image processing unit 10 uses the bus b (0) and the bus that pass the Cb plane line data and the Cr plane line data from the system memory 30 to the data selectors 14bs and 14rs. The line data of the Cb plane and the line of the Cr plane that are compressed by the r (0) and the compression units 12b and 12r, stored in the data buffers 13b and 13r, and then expanded by the expansion units 14b and 14r at the next line conversion timing A bus b (1) and a bus r (1) for passing data to the data selectors 14bs and 14rs are provided, the number of accesses to the system memory 30 is reduced, and line data of the Cb plane and line data of the Cr plane are stored. The capacity is reduced by reducing the capacity of the data buffers 13b and 13r.

そして、画像処理部10は、YCbCrの画像データをプレーンの先頭のデータからディスプレイ30へ表示する表示処理を行なう場合、Cbプレーンのデータ処理について、図3に示すように、Cbデータ及びCrデータの圧縮、保管及び伸張処理を行なって、システムメモリ30へのアクセスを削減するとともに、データバッファ13b、13rの容量を削減してコストを削減している。   When the image processing unit 10 performs display processing for displaying the YCbCr image data on the display 30 from the data at the head of the plane, the Cb plane data processing is performed as shown in FIG. The compression, storage, and decompression processes are performed to reduce access to the system memory 30, and the capacity of the data buffers 13b and 13r is reduced to reduce costs.

すなわち、制御部15は、最初にプレーンの先頭に入ると、Cbデータセレクタ14bsにバスb(0)を、Crデータセレクタ14rsにバスr(0)を、それぞれ選択させて(ステップS101)、ディスプレイ制御信号生成部11に、Yデータバッファ16を介して1ライン目のYデータを入力させるとともに、バスb(0)からのCbデータ、バスr(0)からのCrデータを入力させ、1ライン目のYCbCr画像データをRGBデータに変換させて、該RGBデータによる映像信号をディスプレイ20に出力させて1ライン目を表示させる。   That is, when the controller 15 first enters the head of the plane, the control unit 15 causes the Cb data selector 14bs to select the bus b (0) and the Cr data selector 14rs to select the bus r (0) (step S101). The control signal generator 11 is supplied with the Y data of the first line via the Y data buffer 16, and the Cb data from the bus b (0) and the Cr data from the bus r (0) are input. The YCbCr image data of the eye is converted into RGB data, and a video signal based on the RGB data is output to the display 20 to display the first line.

この間に、制御部15は、システムメモリ30から読み込んだ1ライン目のCrプレーンのラインデータ及びCdプレーンのラインデータを、それぞれ、Cbライン圧縮部12b及びCrライン圧縮部12rに入力して、Cbライン圧縮部12b及びCrライン圧縮部12rに、それぞれ所定のハフマンテーブルを用いた静的ハフマン符号化方式による可逆圧縮を行わせて、記憶部13のCdデータバッファ13b及びCrデータバッファ13rに保管させる(ステップS102)。   During this time, the control unit 15 inputs the line data of the first Cr plane and the line data of the Cd plane read from the system memory 30 to the Cb line compression unit 12b and the Cr line compression unit 12r, respectively. The line compression unit 12b and the Cr line compression unit 12r each perform lossless compression by a static Huffman coding method using a predetermined Huffman table, and store them in the Cd data buffer 13b and the Cr data buffer 13r of the storage unit 13. (Step S102).

制御部15は、1ライン分の圧縮が完了すると、データバッファ13b、13rのデータバッファオーバーフローフラグ13bf、13rfが上がっているかチェックし(ステップS103)、データバッファオーバーフローフラッグ13bf、13rfが上がっていないとき(ステップS103で、NOのとき)には、Cbデータセレクタ14bsにバスb(1)を、Crデータセレクタ14rsにバスr(1)を、それぞれ選択させて(ステップS104)、伸張処理部14に記憶部13の圧縮データを伸張させて、バスb(1)及びバスr(1)からの伸張されたCbプレーンのラインデータ及びCrプレーンのラインデータを、ディスプレイ制御信号生成部11に入力させる。   When the compression for one line is completed, the control unit 15 checks whether the data buffer overflow flags 13bf and 13rf of the data buffers 13b and 13r are raised (step S103), and when the data buffer overflow flags 13bf and 13rf are not raised. (When NO in step S103), the Cb data selector 14bs selects the bus b (1), the Cr data selector 14rs selects the bus r (1) (step S104), and the decompression processing unit 14 The compressed data in the storage unit 13 is expanded, and the expanded Cb plane line data and Cr plane line data from the bus b (1) and the bus r (1) are input to the display control signal generation unit 11.

すなわち、制御部15は、バッファオーバーフローフラグが上がっていないときには、1ライン分の圧縮されたCbラインデータ、Crラインデータが、Cbデータバッファ13b、Crデータバッファ13rに格納されていると判断して、Cbデータセレクタ14bsに、バスb(1)を、Crデータセレクタ14rsに、バスr(1)を、それぞれ選択させ、Cbライン伸張部14bに、Cbデータバッファ13bの1ライン分の圧縮されたCbラインデータを、Crライン伸張部14rに、Crデータバッファ13rの1ライン分の圧縮されたCrラインデータを、それぞれ圧縮時と同じハフマンテーブルを用いて、静的ハフマン符号化によって伸張させて、バスb(1)及びバスr(1)を介してCbデータセレクタ14bs及びCrデータセレクタ14rsに出力させる(ステップS105)。   That is, when the buffer overflow flag is not raised, the control unit 15 determines that the compressed Cb line data and Cr line data for one line are stored in the Cb data buffer 13b and the Cr data buffer 13r. The Cb data selector 14bs selects the bus b (1), the Cr data selector 14rs selects the bus r (1), and the Cb line expansion unit 14b compresses one line of the Cb data buffer 13b. The Cb line data is expanded by the static Huffman coding by using the same Huffman table as that used for compression in the Cr line decompression unit 14r and the compressed Cr line data corresponding to one line of the Cr data buffer 13r. Cb data selectors 14bs and C via bus b (1) and bus r (1) It is output to the data selector 14Rs (step S105).

そして、Cbデータセレクタ14bsは、Cbライン伸張部14bで伸張されてバスb(1)から入力されるCbラインデータをディスプレイ制御信号生成部11に出力し、Crデータセレクタ14rsは、Crライン伸張部14rで伸張されてバスr(1)から入力されるCrラインデータをディスプレイ制御信号生成部11に出力する。   The Cb data selector 14bs outputs the Cb line data expanded from the Cb line expansion unit 14b and input from the bus b (1) to the display control signal generation unit 11, and the Cr data selector 14rs includes the Cr line expansion unit. The Cr line data expanded at 14r and input from the bus r (1) is output to the display control signal generator 11.

ディスプレイ制御信号生成部11は、Yデータバッファ16でタイミング調整されて入力される同じラインのYプレーンのラインデータと、圧縮・伸張された同じラインのCbプレーンのラインデータ、Crプレーンのラインデータに基づいてRGBデータを生成し、RGBデータから映像信号を生成して、ディスプレイ20に表示させる。   The display control signal generation unit 11 converts the Y-line data of the Y line of the same line, the line data of the Cb plane of the same line that has been compressed and expanded, and the line data of the Cr plane, which are input after being adjusted in timing by the Y data buffer 16. Based on this, RGB data is generated, a video signal is generated from the RGB data, and displayed on the display 20.

制御部15は、上記1ライン分YCbCrのRGBへの変換とディスプレイ20への表示を行うと、各プレーンが重ね合わされた画像を構成するフレームの最後のラインであるかチェックし(ステップS106)、最後のラインでないときには、ステップS101に戻って、次のラインについて上記同様に処理する(ステップS101〜S106)。   When converting the YCbCr for one line into RGB and displaying it on the display 20, the control unit 15 checks whether each plane is the last line of the frame constituting the superimposed image (step S106). If it is not the last line, the process returns to step S101, and the next line is processed in the same manner as above (steps S101 to S106).

ステップS106で、フレームの最後のラインの処理を完了すると、画像出力制御処理を終了する。   When the process for the last line of the frame is completed in step S106, the image output control process ends.

そして、画像処理部10は、上記圧縮処理を、図4に示すように実行する。なお、図4では、Cbラインデータの圧縮処理について示しているが、Crラインデータの圧縮処理についても同様である。すなわち、制御部15は、圧縮処理を開始すると、図4に示すように、まず、バッファオーバーフローフラグ13bf、13rfをクリアし(ステップS201)、Cbライン圧縮部12b及びCrライン圧縮部12rにそれぞれCbデータ及びCrデータを取り込ませて(ステップS202)、それぞれ所定のハフマンテーブルを用いた静的ハフマン符号化による可逆圧縮を行わせる(ステップS203)。   Then, the image processing unit 10 executes the compression process as shown in FIG. FIG. 4 shows the Cb line data compression process, but the same applies to the Cr line data compression process. That is, when starting the compression process, the control unit 15 first clears the buffer overflow flags 13bf and 13rf (step S201), as shown in FIG. 4, and sets the Cb line compression unit 12b and the Cr line compression unit 12r to Cb. Data and Cr data are taken in (step S202), and lossless compression is performed by static Huffman coding using a predetermined Huffman table (step S203).

この静的ハフマン符号化による可逆圧縮においては、自然画像においてCbデータ、Crデータは、偏った値を取る傾向があるため、静的ハフマン符号化により多くのデータにおいては、入力データサイズよりも、符号化したデータサイズが小さくなるが、可逆圧縮であるため、逆にデータサイズが大きくなることもあり得る。   In this lossless compression by static Huffman coding, Cb data and Cr data tend to take biased values in natural images, so in many data by static Huffman coding, rather than the input data size, Although the encoded data size is small, the data size may be large because it is lossless compression.

そこで、制御部15は、Cbライン圧縮部12b及びCrライン圧縮部12rが圧縮したCbデータ及びCrデータを、格納する空き容量が、Cbデータバッファ13b及びCrデータバッファ13rにあるかチェックし(ステップS204)、空き容量があるとき(ステップS204で、YESのとき)には、圧縮されたCbデータ及びCrデータをそれぞれCbデータバッファ13b及びCrデータバッファ13rに格納する(ステップS205)。   Therefore, the control unit 15 checks whether the Cb data buffer 13b and the Cr data buffer 13r have enough free space for storing the Cb data and the Cr data compressed by the Cb line compression unit 12b and the Cr line compression unit 12r (Step S15). When there is free space (YES in step S204), the compressed Cb data and Cr data are stored in the Cb data buffer 13b and the Cr data buffer 13r, respectively (step S205).

制御部15は、圧縮されたCbデータ及びCrデータをそれぞれCbデータバッファ13b及びCrデータバッファ13rに格納すると、該データが最後のラインであるかチェックし(ステップS206)、最後のラインのデータでないとき(ステップS206で、NOのとき)には、ステップS202に戻って、次のラインのCbデータ及びCrデータを取得して、Cbライン圧縮部12b及びCrライン圧縮部12rに渡して圧縮させる処理から上記同様に処理する(ステップS202〜S206)。   When storing the compressed Cb data and Cr data in the Cb data buffer 13b and the Cr data buffer 13r, respectively, the control unit 15 checks whether the data is the last line (step S206), and is not the data of the last line. When (NO in step S206), the process returns to step S202 to acquire the Cb data and Cr data of the next line, and pass them to the Cb line compression unit 12b and the Cr line compression unit 12r for compression. To the same processing as described above (steps S202 to S206).

制御部15は、ステップS204で、Cbデータバッファ13bとCrデータバッファ13rのいずれか、または、双方に、空きがなくなると(ステップS204で、NOのとき)、該Cbデータバッファ13bとCrデータバッファ13rのいずれか、または、双方がオーバーフローしているかチェックし(ステップS207)、オーバーフローしていないときには、そのラインがプレーンの最後のラインであればそのまま圧縮処理を終わらせることができるため、そのままステップS206に移行して、プレーンの最後のラインであるかチェックする(ステップS206)。   When there is no free space in either or both of the Cb data buffer 13b and the Cr data buffer 13r in step S204 (NO in step S204), the control unit 15 selects the Cb data buffer 13b and the Cr data buffer. It is checked whether one or both of 13r has overflowed (step S207), and if not, if the line is the last line of the plane, the compression process can be terminated as it is, so the step is continued. The process proceeds to S206 to check if it is the last line of the plane (step S206).

制御部15は、ステップS207で、Cbデータバッファ13bとCrデータバッファ13rのいずれか、または、双方がオーバーフローしているときには、1プレーン分の圧縮データを格納することができないと判断して、オーバーフローしているCbデータバッファ13bとCrデータバッファ13rのいずれか、または、双方のバッファオーバーフローフラグ13bf、13rfを上げて、ステップS206に移行して、最後のラインであるかチェックする(ステップS206)。   In step S207, the control unit 15 determines that one plane of compressed data cannot be stored when one or both of the Cb data buffer 13b and the Cr data buffer 13r overflow, and overflows. The buffer overflow flags 13bf and 13rf of either the Cb data buffer 13b and the Cr data buffer 13r, or both, are raised, and the process proceeds to step S206 to check whether it is the last line (step S206).

最後のラインでないときには、制御部15は、ステップS202に戻って、上記同様に処理し(ステップS202〜S208)、ステップS206で、最後のラインであると(ステップS206で、YESのとき)、圧縮処理を終了する。   If it is not the last line, the control unit 15 returns to step S202 and performs the same processing as above (steps S202 to S208). If it is the last line in step S206 (YES in step S206), compression is performed. The process ends.

なお、上記圧縮処理において、制御部15は、ステップS208で、Cbデータバッファ13bとCrデータバッファ13rの双方がオーバーフローすると、そのまま処理を終了してもよい。   In the compression process, the control unit 15 may end the process as it is when both the Cb data buffer 13b and the Cr data buffer 13r overflow in step S208.

そして、画像処理部10は、上記伸張処理を、図5に示すように実行する。なお、図5では、Cbラインデータの伸張処理について示しているが、Crラインデータの伸張処理についても同様である。すなわち、制御部15は、伸張処理を開始すると、図5に示すように、まず、Cbデータバッファ13b及びCrデータバッファ13rから圧縮された1ライン分のCbデータ及びCrデータをそれぞれ取得してCbライン伸張部14b及びCrライン伸張部14rに渡し(ステップS301)、Cbライン伸張部14b及びCrライン伸張部14rにそれぞれCbデータ及びCrデータの伸張処理(復元処理)を行わせる(ステップS302)。   Then, the image processing unit 10 executes the expansion process as shown in FIG. 5 shows the Cb line data expansion process, the same applies to the Cr line data expansion process. That is, when starting the decompression process, the control unit 15 first acquires Cb data and Cr data for one line compressed from the Cb data buffer 13b and the Cr data buffer 13r, respectively, as shown in FIG. The data is transferred to the line decompression unit 14b and the Cr line decompression unit 14r (step S301), and the Cb line decompression unit 14b and the Cr line decompression unit 14r are caused to perform decompression processing (restoration processing) of Cb data and Cr data, respectively (step S302).

Cbライン伸張部14b及びCrライン伸張部14rは、この伸張処理を、上述のように、圧縮時と同じハフマンテーブルを用いて、静的ハフマン符号化によって、圧縮されているCbデータ及びCrデータを伸張する。   As described above, the Cb line decompression unit 14b and the Cr line decompression unit 14r perform the decompression process on the Cb data and Cr data that are compressed by static Huffman coding using the same Huffman table as that used for compression. Stretch.

制御部15は、1ライン分の伸長処理を行わせると、プレーンの最後のラインデータであるかチェックし(ステップS303)、最後のラインデータでないときには、ステップS301に戻って、上記同様に処理する(ステップS301〜S303)。   When the decompression process for one line is performed, the control unit 15 checks whether it is the last line data of the plane (step S303). If it is not the last line data, the control unit 15 returns to step S301 and performs the same processing as described above. (Steps S301 to S303).

制御部15は、ステップS303で、プレーンの最後のラインであると、伸長処理を終了する。   In step S303, the control unit 15 ends the decompression process when it is the last line of the plane.

なお、上記説明においては、画像をディスプレイ20に表示出力する場合について説明したが、画像を表示出力する場合に限るものではなく、YCbCrフォーマットの画像データ等のように、副走査方向の標本数が異なる複数の画像データからなる画像データを、RGBフォーマットの画像データのように、副走査方向の標本数が同じまたは元画像データと標本数の異なるフォーマットの画像データに変換して出力する画像出力装置一般について適用することができる。   In the above description, the case where an image is displayed and output on the display 20 has been described. However, the present invention is not limited to the case where an image is displayed and output, and the number of samples in the sub-scanning direction is, for example, YCbCr format image data. An image output device that converts image data composed of a plurality of different image data into image data of a format in which the number of samples in the sub-scanning direction is the same or the number of samples is different from that of the original image data, such as image data in RGB format Applicable in general.

このように、本実施例の画像表示装置1は、主走査方向の1列をラインとしてラインデータが所定ライン数該主走査方向と直交する副走査方向に並んでいるプレーンを複数有するとともに、該副走査方向においてライン数が所定の倍率で少ない少ラインデータからなる少ラインプレーンを含む所定フォーマット(本実施例では、YCbCrフォーマット)の変換元画像データを、各プレーンの対応するラインデータ毎に変換処理を施して所定フォーマット(本実施例では、RGBフォーマット)の変換先画像データに変換するディスプレイ制御信号生成部(フォーマット変換手段)11と、前記変換元画像データのうち、前記少ラインプレーンのラインデータを所定の圧縮方式で1ラインずつ圧縮する圧縮処理部(圧縮手段)12と、圧縮処理部12の圧縮した1ライン分の圧縮データを保管する所定容量の記憶部(保管手段)13と、記憶部13の保管する前記圧縮データを元データに伸張する伸張処理部(伸張手段)14と、前記変換元画像データをシステムメモリ(外部、外部記憶手段)30から取り込んで、該変換元画像データのうち、前記少ラインプレーンのラインデータと伸張処理部14が伸張したラインデータのうちいずれかのラインデータを、該少ラインプレーン以外の前記プレーンの対応するラインデータに合わせてディスプレイ制御信号生成部11へ入力させる制御部(データ制御手段)15と、を備えている。   As described above, the image display apparatus 1 according to the present exemplary embodiment includes a plurality of planes in which one line in the main scanning direction is a line and the line data is arranged in the sub-scanning direction orthogonal to the main scanning direction. Conversion source image data in a predetermined format (in this embodiment, YCbCr format) including a small line plane consisting of small line data with a small number of lines at a predetermined magnification in the sub-scanning direction is converted for each line data corresponding to each plane. A display control signal generation unit (format conversion means) 11 that performs processing to convert the image data into conversion destination image data in a predetermined format (in this embodiment, RGB format), and the lines of the small line planes in the conversion source image data A compression processing unit (compression unit) 12 for compressing data line by line in a predetermined compression method; A storage unit (storage unit) 13 having a predetermined capacity for storing compressed data for one line compressed by the unit 12, and a decompression processing unit (decompression unit) 14 for expanding the compressed data stored in the storage unit 13 to original data. The conversion source image data is fetched from the system memory (external / external storage means) 30 and either the line data of the small line plane or the line data expanded by the expansion processing unit 14 is selected from the conversion source image data. A control unit (data control means) 15 for inputting the line data to the display control signal generation unit 11 in accordance with the corresponding line data of the plane other than the small line plane.

したがって、ライン数の少ない少ラインプレーンのラインデータを圧縮して記憶部13に保管して、該記憶部13の圧縮データを伸張してフォーマット変換に利用することができ、少ラインプレーンを含む複数プレーンからなる所定フォーマットの変換元画像データを、該変換元画像データの取り込みデータ量を抑制しつつ、安価に所定フォーマットの変換先画像データに変換することができる。   Therefore, the line data of a small line plane with a small number of lines can be compressed and stored in the storage unit 13, and the compressed data in the storage unit 13 can be decompressed and used for format conversion. It is possible to convert the conversion source image data of a predetermined format composed of a plane into conversion destination image data of a predetermined format at a low cost while suppressing the amount of data taken in the conversion source image data.

また、本実施例の画像表示装置1は、主走査方向の1列をラインとしてラインデータが所定ライン数該主走査方向と直交する副走査方向に並んでいるプレーンを複数有するとともに、該副走査方向においてライン数が所定の倍率で少ない少ラインデータからなる少ラインプレーンを含む所定フォーマットの変換元画像データを、各プレーンの対応するラインデータ毎に変換処理を施して所定フォーマットの変換先画像データに変換するフォーマット変換処理ステップと、前記変換元画像データのうち、前記少ラインプレーンのラインデータを所定の圧縮方式で1ラインずつ圧縮して、該1ライン分の圧縮データを所定容量の記憶部13に保管する圧縮処理ステップと、記憶部13の保管する前記圧縮データを元データに伸張する伸張処理ステップと、前記変換元画像データを外部から取り込んで、該変換元画像データのうち、前記少ラインプレーンのラインデータと前記伸張処理ステップで伸張されたラインデータのうちいずれかのラインデータを、該少ラインプレーン以外の前記プレーンの対応するラインデータに合わせて前記フォーマット変換処理ステップへ入力させるデータ制御処理ステップと、を有する画像出力制御方法を実行している。   The image display apparatus 1 according to the present embodiment includes a plurality of planes in which one row in the main scanning direction is a line and the line data is arranged in the sub scanning direction orthogonal to the main scanning direction. Conversion source image data of a predetermined format including a small line plane composed of a small number of line data with a small number of lines in a direction at a predetermined magnification is converted for each line data corresponding to each plane, and the conversion destination image data of a predetermined format A format conversion processing step for converting the data into a line, and compressing the line data of the small line plane one line at a time by a predetermined compression method in the conversion source image data, and storing the compressed data for one line in a predetermined capacity 13 and a decompression processing step for decompressing the compressed data stored in the storage unit 13 into original data. And the conversion source image data from outside, and the line data of the small line plane and the line data decompressed in the decompression processing step of the transformation source image data are And a data control processing step for inputting to the format conversion processing step in accordance with the corresponding line data of the plane other than the few line planes.

したがって、ライン数の少ない少ラインプレーンのラインデータを圧縮して記憶部13に保管して、該記憶部13の圧縮データを伸張してフォーマット変換に利用することができ、少ラインプレーンを含む複数プレーンからなる所定フォーマットの変換元画像データを、該変換元画像データの取り込みデータ量を抑制しつつ、安価に所定フォーマットの変換先画像データに変換することができる。   Therefore, the line data of a small line plane with a small number of lines can be compressed and stored in the storage unit 13, and the compressed data in the storage unit 13 can be decompressed and used for format conversion. It is possible to convert the conversion source image data of a predetermined format composed of a plane into conversion destination image data of a predetermined format at a low cost while suppressing the amount of data taken in the conversion source image data.

さらに、本実施例の画像表示装置1は、コンピュータに、主走査方向の1列をラインとしてラインデータが所定ライン数該主走査方向と直交する副走査方向に並んでいるプレーンを複数有するとともに、該副走査方向においてライン数が所定の倍率で少ない少ラインデータからなる少ラインプレーンを含む所定フォーマットの変換元画像データを、各プレーンの対応するラインデータ毎に変換処理を施して所定フォーマットの変換先画像データに変換するフォーマット変換処理と、前記変換元画像データのうち、前記少ラインプレーンのラインデータを所定の圧縮方式で1ラインずつ圧縮して、該1ライン分の圧縮データを所定容量の記憶部13に保管する圧縮処理と、記憶部13の保管する前記圧縮データを元データに伸張する伸張処理と、前記変換元画像データを外部から取り込んで、該変換元画像データのうち、前記少ラインプレーンのラインデータと前記伸張処理で伸張されたラインデータのうちいずれかのラインデータを、該少ラインプレーン以外の前記プレーンの対応するラインデータに合わせて前記フォーマット変換処理へ入力させるデータ制御処理と、を実行させる画像出力制御プログラムを搭載している。   Furthermore, the image display apparatus 1 according to the present embodiment has a computer with a plurality of planes in which one line in the main scanning direction is a line and the line data is arranged in the sub-scanning direction orthogonal to the main scanning direction. The conversion source image data of a predetermined format including a small line plane composed of a small number of line data having a small number of lines at a predetermined magnification in the sub-scanning direction is converted for each line data corresponding to each plane, thereby converting the predetermined format. Format conversion processing for converting to pre-image data, and among the conversion source image data, the line data of the small line plane is compressed line by line by a predetermined compression method, and the compressed data for one line is stored in a predetermined capacity A compression process stored in the storage unit 13, and a decompression process for expanding the compressed data stored in the storage unit 13 into original data. The conversion source image data is captured from the outside, and the line data of the small line plane and the line data decompressed by the decompression process of the conversion source image data other than the small line plane And an image output control program for executing data control processing to be input to the format conversion processing in accordance with the corresponding line data of the plane.

したがって、ライン数の少ない少ラインプレーンのラインデータを圧縮して記憶部13に保管して、該記憶部13の圧縮データを伸張してフォーマット変換に利用することができ、少ラインプレーンを含む複数プレーンからなる所定フォーマットの変換元画像データを、該変換元画像データの取り込みデータ量を抑制しつつ、安価に所定フォーマットの変換先画像データに変換することができる。   Therefore, the line data of a small line plane with a small number of lines can be compressed and stored in the storage unit 13, and the compressed data in the storage unit 13 can be decompressed and used for format conversion. It is possible to convert the conversion source image data of a predetermined format composed of a plane into conversion destination image data of a predetermined format at a low cost while suppressing the amount of data taken in the conversion source image data.

また、本実施例の画像表示装置1は、制御部15が、圧縮処理部12の圧縮した前記圧縮データ1ライン分を記憶部13に保管可能な場合にのみ該圧縮データを該記憶部13に保管させ、該記憶部13に該圧縮データが保管されているときにのみ伸張処理部14に該圧縮データを伸張させてディスプレイ制御信号生成部11へ入力させ、該記憶部13に該圧縮データが非保管であるときには、前記変換元画像データの対応するラインデータを前記外部であるシステムメモリ30から取り込んでディスプレイ制御信号生成部11へ入力させている。   Further, in the image display device 1 according to the present embodiment, the control unit 15 stores the compressed data in the storage unit 13 only when the compressed data for one line compressed by the compression processing unit 12 can be stored in the storage unit 13. The decompression processing unit 14 decompresses the compressed data and inputs the compressed data to the display control signal generation unit 11 only when the compressed data is stored in the storage unit 13, and the compressed data is stored in the storage unit 13. When it is not stored, the line data corresponding to the conversion source image data is fetched from the external system memory 30 and input to the display control signal generator 11.

したがって、小容量の記憶部13を適切に管理しつつ利用してラインデータの圧縮と伸長を行うことができ、少ラインプレーンを含む複数プレーンからなる所定フォーマットの変換元画像データを、該変換元画像データの取り込みデータ量を抑制しつつ、安価にかつ適切に所定フォーマットの変換先画像データに変換することができる。   Therefore, it is possible to compress and decompress line data using the small-capacity storage unit 13 while appropriately managing it, and to convert conversion source image data in a predetermined format including a plurality of planes including a small number of line planes. While suppressing the amount of image data taken in, it can be converted into conversion destination image data of a predetermined format at a low cost and appropriately.

さらに、本実施例の画像表示装置1は、圧縮処理部12が、前記少ラインプレーンのラインデータを静的ハフマン符号化方式で1ラインずつ可逆圧縮し、伸張処理部14が、前記静的ハフマン符号化方式で圧縮されている前記圧縮データを伸張している。   Furthermore, in the image display device 1 of the present embodiment, the compression processing unit 12 reversibly compresses the line data of the small line planes one line at a time using the static Huffman coding method, and the expansion processing unit 14 includes the static Huffman. The compressed data compressed by the encoding method is expanded.

したがって、変換元画像データの少ラインプレーンのラインデータを、静的ハフマン符号化方式で可逆圧縮することで、効率的に圧縮及び伸張することができ、変換元画像データのシステムメモリ30からの取り込みデータ量を適切に抑制しつつ、記憶部13の容量を少なくして安価かつ適切に変換先画像データに変換することができる。   Therefore, the line data of a small line plane of the conversion source image data can be efficiently compressed and expanded by reversibly compressing by the static Huffman coding method, and the conversion source image data is captured from the system memory 30. While appropriately suppressing the data amount, it is possible to reduce the capacity of the storage unit 13 and to convert it into conversion destination image data inexpensively and appropriately.

また、本実施例の画像表示装置1は、ディスプレイ制御信号生成部11が、YCbCrの各プレーンからなる画像データを前記変換元画像データとして、RGBの各プレーンからなる画像データを前記変換先画像データとして変換している。   Further, in the image display device 1 according to the present embodiment, the display control signal generation unit 11 uses the image data including YCbCr planes as the conversion source image data, and the image data including RGB planes as the conversion destination image data. As a conversion.

すなわち、Yプレーンに対して1/2のライン数のCbプレーン及びCrプレーンの各ラインデータを、圧縮処理部12のCbライン圧縮部12b、Crライン圧縮部12rで圧縮してCbデータバッファ13b、Crデータバッファ13rに保管し、Cbライン伸張部14b、Crライン伸張部14rで伸張して、ライン毎に非圧縮のラインデータと圧縮/伸張したラインデータを交互にCbデータセレクタ14bs、Crデータセレクタ14rsで選択してディスプレイ制御信号生成部11に入力している。   That is, the Cb plane compression unit 12b and the Cr line compression unit 12r compress each line data of the Cb plane and the Cr plane, which is ½ the number of lines with respect to the Y plane, into the Cb data buffer 13b, The data is stored in the Cr data buffer 13r, expanded by the Cb line expansion unit 14b and the Cr line expansion unit 14r, and the uncompressed line data and the compressed / expanded line data are alternately converted into the Cb data selector 14bs and the Cr data selector for each line. The signal is selected at 14 rs and input to the display control signal generator 11.

したがって、YCbCrフォーマットの画像データを、システムメモリ30からの取り込みデータ量を適切に抑制しつつ、記憶部13の容量を少なくして安価かつ適切にRGB画像データに変換することができる。   Therefore, the image data in the YCbCr format can be converted into RGB image data inexpensively and appropriately by reducing the capacity of the storage unit 13 while appropriately suppressing the amount of data captured from the system memory 30.

さらに、本実施例の画像表示装置1は、前記変換先画像データであるYCbCrデータを、ディスプレイ(表示手段)20に表示出力させる映像信号を所定のクロックに基づいて生成するディスプレイ制御信号生成部(映像信号生成手段)11を、備え、制御信号生成部11自体、圧縮処理部12、伸張処理部14及び制御部15が、ディスプレイ制御信号生成部11と同じクロックに同期して動作処理を行なっている。   Furthermore, the image display apparatus 1 of the present embodiment generates a display control signal generation unit (based on a predetermined clock) that generates a video signal that causes the display (display unit) 20 to display and output the YCbCr data that is the conversion destination image data. Video signal generating means) 11, and the control signal generating unit 11 itself, the compression processing unit 12, the decompression processing unit 14, and the control unit 15 perform operation processing in synchronization with the same clock as the display control signal generating unit 11. Yes.

したがって、元画像データのシステムメモリ30からの取り込みデータ量を適切に抑制しつつ、記憶部13の容量を少なくして安価かつ適切に映像信号を生成することができる。   Therefore, it is possible to generate a video signal inexpensively and appropriately by reducing the capacity of the storage unit 13 while appropriately suppressing the amount of data captured from the system memory 30 of the original image data.

以上、本発明者によってなされた発明を好適な実施例に基づき具体的に説明したが、本発明は上記実施例で説明したものに限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。   The invention made by the present inventor has been specifically described based on the preferred embodiments. However, the present invention is not limited to that described in the above embodiments, and various modifications can be made without departing from the scope of the invention. It goes without saying that it is possible.

1 画像出力装置
10 画像処理部
20 ディスプレイ
30 システムメモリ
11 ディスプレイ制御信号生成部
12 圧縮処理部
12b Cbライン圧縮部
12r Crライン圧縮部
13 記憶部
13bf、13rf オーバーフローフラグ
13b Cbデータバッファ
13r Crデータバッファ
14 伸張処理部
14b Cbライン伸張部
14r Crライン伸張部
14bs Cbデータセレクタ
14rs Crデータセレクタ
15 制御部
16 Yデータバッファ
DESCRIPTION OF SYMBOLS 1 Image output device 10 Image processing part 20 Display 30 System memory 11 Display control signal production | generation part 12 Compression processing part 12b Cb line compression part 12r Cr line compression part 13 Memory | storage part 13bf, 13rf Overflow flag 13b Cb data buffer 13r Cr data buffer 14 Decompression processing unit 14b Cb line expansion unit 14r Cr line expansion unit 14bs Cb data selector 14rs Cr data selector 15 Control unit 16 Y data buffer

特開2010−136264号公報JP 2010-136264 A

Claims (8)

主走査方向の1列をラインとしてラインデータが所定ライン数該主走査方向と直交する副走査方向に並んでいるプレーンを複数有するとともに、該副走査方向においてライン数が所定の倍率で少ない少ラインデータからなる少ラインプレーンを含む所定フォーマットの変換元画像データを、各プレーンの対応するラインデータ毎に変換処理を施して所定フォーマットの変換先画像データに変換するフォーマット変換手段と、
前記変換元画像データのうち、前記少ラインプレーンのラインデータを所定の圧縮方式で1ラインずつ圧縮する圧縮手段と、
前記圧縮手段の圧縮した1ライン分の圧縮データを保管する所定容量の保管手段と、
前記保管手段の保管する前記圧縮データを元データに伸張する伸張手段と、
前記変換元画像データを外部から取り込んで、該変換元画像データのうち、前記少ラインプレーンのラインデータと前記伸張手段が伸張したラインデータのうちいずれかのラインデータを、該少ラインプレーン以外の前記プレーンの対応するラインデータに合わせて前記フォーマット変換手段へ入力させるデータ制御手段と、
を備えていることを特徴とする画像出力装置。
A small number of lines in which one line in the main scanning direction is a line and the line data is arranged in a predetermined number of lines in the sub scanning direction orthogonal to the main scanning direction, and the number of lines is small in the sub scanning direction at a predetermined magnification. Format conversion means for converting conversion source image data of a predetermined format including a small line plane of data into conversion destination image data of a predetermined format by performing conversion processing for each corresponding line data of each plane;
Compression means for compressing line data of the small line planes of the conversion source image data line by line by a predetermined compression method;
A storage unit having a predetermined capacity for storing compressed data for one line compressed by the compression unit;
Decompression means for decompressing the compressed data stored in the storage means into original data;
The conversion source image data is taken in from the outside, and the line data of the small line plane and the line data expanded by the decompression unit of the conversion source image data other than the small line plane Data control means for inputting to the format conversion means in accordance with the corresponding line data of the plane;
An image output apparatus comprising:
前記データ制御手段は、
前記圧縮手段の圧縮した前記圧縮データ1ライン分を前記保管手段に保管可能な場合にのみ該圧縮データを該保管手段に保管させ、該保管手段に該圧縮データが保管されているときにのみ前記伸張手段に該圧縮データを伸張させて前記フォーマット変換手段へ入力させ、該保管手段に該圧縮データが非保管であるときには、前記変換元画像データの対応するラインデータを前記外部から取り込んで該フォーマット変換手段へ入力させることを特徴とする請求項1記載の画像出力装置。
The data control means includes
The compressed data is stored in the storage means only when one line of the compressed data compressed by the compression means can be stored in the storage means, and only when the compressed data is stored in the storage means. The decompression unit decompresses the compressed data and inputs the compressed data to the format conversion unit. When the compressed data is not stored in the storage unit, the line data corresponding to the conversion source image data is fetched from the outside and the format data is stored. The image output apparatus according to claim 1, wherein the image output apparatus is input to a conversion unit.
前記圧縮手段は、
前記少ラインプレーンのラインデータを静的ハフマン符号化方式で1ラインずつ可逆圧縮し、
前記伸張手段は、
前記静的ハフマン符号化方式で圧縮されている前記圧縮データを伸張することを特徴とする請求項1または請求項2記載の画像出力装置。
The compression means includes
The line data of the small line plane is reversibly compressed line by line by a static Huffman coding method,
The extension means includes
3. The image output apparatus according to claim 1, wherein the compressed data compressed by the static Huffman coding method is decompressed.
前記フォーマット変換手段は、
YCbCrの各プレーンからなるフレーム画像データを前記変換元画像データとして、RGBの各プレーンからなるフレーム画像データを前記変換先画像データとして変換することを特徴とする請求項1から請求項3のいずれかに記載の画像出力装置。
The format conversion means includes
4. The frame image data composed of YCbCr planes is converted as the conversion source image data, and the frame image data composed of RGB planes is converted as the conversion destination image data. The image output device described in 1.
前記画像出力装置は、
前記変換先画像データを、表示手段に表示出力させる映像信号を所定のクロックに基づいて生成する映像信号生成手段を、備え、
前記フォーマット変換手段、前記圧縮手段、前記伸張手段及び前記データ制御手段は、
前記映像信号生成手段と同じクロックに同期して動作処理を行なうことを特徴とする請求項1から請求項4のいずれかに記載の画像出力装置。
The image output device includes:
Video signal generating means for generating a video signal for causing the display means to display and output the conversion destination image data based on a predetermined clock;
The format conversion means, the compression means, the decompression means, and the data control means are:
5. The image output apparatus according to claim 1, wherein operation processing is performed in synchronization with the same clock as the video signal generation means.
画像データに対して各種画像処理を施して外部記憶手段内に保管している主走査方向の1列をラインとしてラインデータが所定ライン数該主走査方向と直交する副走査方向に並んでいるプレーンを複数有するとともに、該副走査方向においてライン数が所定の倍率で少ない少ラインデータからなる少ラインプレーンを含む所定フォーマットの変換元画像データを、画像出力部で、各プレーンの対応するラインデータ毎に変換処理を施して所定フォーマットの変換先画像データに変換して出力する画像処理装置であって、
前記画像出力部として、請求項1から請求項5のいずれかに記載の画像出力装置を備えていることを特徴とする画像処理装置。
A plane in which line data is arranged in a sub-scanning direction orthogonal to the main scanning direction by using one row in the main scanning direction as a line, which is subjected to various image processing on the image data and stored in the external storage means A plurality of lines, and conversion source image data of a predetermined format including a small line plane composed of small line data having a small number of lines at a predetermined magnification in the sub-scanning direction, for each line data corresponding to each plane An image processing apparatus that performs conversion processing to convert the image data into conversion destination image data in a predetermined format and outputs the converted image data,
An image processing apparatus comprising the image output apparatus according to claim 1 as the image output unit.
主走査方向の1列をラインとしてラインデータが所定ライン数該主走査方向と直交する副走査方向に並んでいるプレーンを複数有するとともに、該副走査方向においてライン数が所定の倍率で少ない少ラインデータからなる少ラインプレーンを含む所定フォーマットの変換元画像データを、各プレーンの対応するラインデータ毎に変換処理を施して所定フォーマットの変換先画像データに変換するフォーマット変換処理ステップと、
前記変換元画像データのうち、前記少ラインプレーンのラインデータを所定の圧縮方式で1ラインずつ圧縮して、該1ライン分の圧縮データを所定容量の保管手段に保管する圧縮処理ステップと、
前記保管手段の保管する前記圧縮データを元データに伸張する伸張処理ステップと、
前記変換元画像データを外部から取り込んで、該変換元画像データのうち、前記少ラインプレーンのラインデータと前記伸張処理ステップで伸張されたラインデータのうちいずれかのラインデータを、該少ラインプレーン以外の前記プレーンの対応するラインデータに合わせて前記フォーマット変換処理ステップへ入力させるデータ制御処理ステップと、
を有していることを特徴とする画像出力制御方法。
A small number of lines in which one line in the main scanning direction is a line and the line data is arranged in a predetermined number of lines in the sub scanning direction orthogonal to the main scanning direction, and the number of lines is small in the sub scanning direction at a predetermined magnification. A format conversion processing step for converting conversion source image data of a predetermined format including a small line plane made of data into conversion destination image data of a predetermined format by performing conversion processing for each corresponding line data of each plane;
A compression processing step of compressing line data of the small line planes of the conversion source image data line by line by a predetermined compression method and storing the compressed data for one line in a storage unit having a predetermined capacity;
A decompression process step of decompressing the compressed data stored in the storage unit into original data;
The conversion source image data is captured from outside, and the line data of the small line plane and the line data expanded in the expansion processing step are converted into the small line plane. A data control processing step for inputting to the format conversion processing step according to the corresponding line data of the plane other than
An image output control method characterized by comprising:
コンピュータに、
主走査方向の1列をラインとしてラインデータが所定ライン数該主走査方向と直交する副走査方向に並んでいるプレーンを複数有するとともに、該副走査方向においてライン数が所定の倍率で少ない少ラインデータからなる少ラインプレーンを含む所定フォーマットの変換元画像データを、各プレーンの対応するラインデータ毎に変換処理を施して所定フォーマットの変換先画像データに変換するフォーマット変換処理と、
前記変換元画像データのうち、前記少ラインプレーンのラインデータを所定の圧縮方式で1ラインずつ圧縮して、該1ライン分の圧縮データを所定容量の保管手段に保管する圧縮処理と、
前記保管手段の保管する前記圧縮データを元データに伸張する伸張処理と、
前記変換元画像データを外部から取り込んで、該変換元画像データのうち、前記少ラインプレーンのラインデータと前記伸張処理で伸張されたラインデータのうちいずれかのラインデータを、該少ラインプレーン以外の前記プレーンの対応するラインデータに合わせて前記フォーマット変換処理へ入力させるデータ制御処理と、
を実行させることを特徴とする画像出力制御プログラム。
On the computer,
A small number of lines in which one line in the main scanning direction is a line and the line data is arranged in a predetermined number of lines in the sub scanning direction orthogonal to the main scanning direction, and the number of lines is small in the sub scanning direction at a predetermined magnification. A format conversion process for converting conversion source image data of a predetermined format including a small line plane made of data into conversion destination image data of a predetermined format by performing conversion processing for each corresponding line data of each plane;
A compression process for compressing line data of the small line planes of the conversion source image data line by line with a predetermined compression method, and storing the compressed data for one line in a storage unit having a predetermined capacity;
Decompression processing for decompressing the compressed data stored in the storage means into original data;
The conversion source image data is captured from the outside, and the line data of the small line plane and the line data decompressed by the decompression process of the conversion source image data other than the small line plane Data control processing to be input to the format conversion processing according to the corresponding line data of the plane,
An image output control program for executing
JP2012186022A 2012-08-27 2012-08-27 Image output device, image processing apparatus, image output control method and image output control program Pending JP2014045290A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012186022A JP2014045290A (en) 2012-08-27 2012-08-27 Image output device, image processing apparatus, image output control method and image output control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012186022A JP2014045290A (en) 2012-08-27 2012-08-27 Image output device, image processing apparatus, image output control method and image output control program

Publications (1)

Publication Number Publication Date
JP2014045290A true JP2014045290A (en) 2014-03-13

Family

ID=50396280

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012186022A Pending JP2014045290A (en) 2012-08-27 2012-08-27 Image output device, image processing apparatus, image output control method and image output control program

Country Status (1)

Country Link
JP (1) JP2014045290A (en)

Similar Documents

Publication Publication Date Title
JP4151684B2 (en) Encoding apparatus, encoding method, encoding program, and imaging apparatus
US8908982B2 (en) Image encoding device and image encoding method
JP6083973B2 (en) Data storage control device and data storage method
JP6679290B2 (en) Semiconductor device
TW201939953A (en) Image compression system and method for compressing images with an image compression system
JP4610450B2 (en) Image processing apparatus for processing fixed length compressed image and packing data of attribute information
US8482438B2 (en) Data processing device and data processing method
JP2006304203A (en) Electronic camera with color difference interleave conversion function
KR100852958B1 (en) Apparatus and control method for display driver by sub-pixel rendering and data compression
US8462168B2 (en) Decompression system and method for DCT-base compressed graphic data with transparent attribute
JP2014045290A (en) Image output device, image processing apparatus, image output control method and image output control program
JP2011151572A (en) Image data processor and operating method thereof
JP2008219848A (en) Circuit and method for decoding and viewing of image file
JP5731816B2 (en) Image processing apparatus and image processing method
JP6411250B2 (en) Image processing apparatus and image processing method
JP2010276686A (en) Image control apparatus
JP5131150B2 (en) Encoding device, decoding device, and image processing system
JP2010245768A (en) Image processing apparatus, and image processing method
JP4522640B2 (en) Data transfer system and data transfer method
JP2020195038A (en) Image processing apparatus, image processing method, and program
JP5891907B2 (en) Encoding apparatus and encoding method, and decoding apparatus and decoding method
JP2010245769A (en) Image processing apparatus and image processing method
JP2013219682A (en) Imaging device
JP2006109190A (en) Image data processor
JP2001186524A (en) Video signal decoder