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 PDFInfo
- 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
Links
Images
Landscapes
- Compression Of Band Width Or Redundancy In Fax (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
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
本発明によれば、ライン数の少ない少ラインデータの少ラインプレーンを含む複数プレーンからなる所定フォーマットの変換元画像データを、該変換元画像データの取り込みデータ量を抑制しつつ、安価に所定フォーマットの変換先画像データに変換することができる。 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.
以下、本発明の好適な実施例を添付図面に基づいて詳細に説明する。なお、以下に述べる実施例は、本発明の好適な実施例であるので、技術的に好ましい種々の限定が付されているが、本発明の範囲は、以下の説明によって不当に限定されるものではなく、また、本実施の形態で説明される構成の全てが本発明の必須の構成要件ではない。 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
図1において、画像出力装置1は、例えば、プリンタ装置、複写装置、複合装置、スキャナ装置等の画像処理装置の表示部として適用され、画像処理部10とディスプレイ20等を備えている。なお、画像の出力先は、ディスプレイ20に限るものではなく、外部のコンピュータや他の画像処理装置等の外部装置であってもよい。
In FIG. 1, an
画像処理部10は、画像出力装置1の適用される画像処理装置等のシステムメモリ(外部)30からYCbCrフォーマットのプレーンデータ(以下、適宜、画像データともいう。)をライン単位で読み出して、RGBフォーマットのラインデータに変換し、ライン単位で映像信号に変換してディスプレイ20に出力して画像を表示させる。
The
ディスプレイ20は、所定表示サイズのLCD(Liquid Crystal Display)が用いられており、画像処理部10から送られてくるRGBの映像信号に基づいて画像を表示出力する。
The
画像処理部10は、ディスプレイ制御信号生成部11、圧縮処理部12、記憶部13、伸張処理部14及び制御部15等を備えており、画像処理部10としては外部であるシステムメモリ30から読み取ったYCbCrフォーマットのラインデータが、圧縮処理部12と伸張処理部14及びディスプレイ制御信号生成部11に入力される。
The
圧縮処理部(圧縮手段)12は、制御部15の制御下で、YCbCrラインデータのうち、CbラインデータとCrラインデータに対して、静的ハフマン符号化方式による可逆圧縮処理を施して、記憶部13に格納する。
Under the control of the
記憶部(保管手段)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
伸張処理部(伸張手段)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
制御部(データ制御手段)15は、予め格納されている本発明の画像出力制御プログラムに基づいて、底生魚信号生成部11、圧縮処理部12、記憶部13及び伸張処理部14の動作を制御して、YCbCr画像データの取り込みデータ量を抑制しつつ、安価にRGB画像データに変換して出力するYCbCr画像データの取り込みデータ量を抑制しつつ、安価にRGB画像データに変換して出力する画像出力制御処理を実行する。
The control unit (data control means) 15 controls the operations of the benthic fish
ディスプレイ制御信号生成部(フォーマット変換手段、映像信号生成手段)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
ディスプレイ制御信号生成部11は、入力されるYプレーンのラインデータ、Cbプレーンのラインデータ及びCrプレーンのラインデータを、図示しないクロック生成部からの所定のクロックに基いて、ライン毎に、RGBのラインデータに変換し、また、このRGBデータから画像(映像)をディスプレイ20に表示させる映像信号を生成して、ライン単位で、ディスプレイ20に出力して画像表示させる。
The display control
そして、画像処理部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
Yデータバッファ16は、上述のように、システムメモリ30からのYプレーンのラインデータが入力され、タイミング調整した後、該Yプレーンのラインデータを、ディスプレイ制御信号生成部11へ出力する。
As described above, the
圧縮部12は、そのCbライン圧縮部12bに、システムメモリ30からのCbプレーンのラインデータが入力され、そのCrライン圧縮部12rに、システムメモリ30からのCrプレーンのラインデータが入力される。
In the
Cbライン圧縮部12bは、制御部15の制御下で、Cbプレーンのラインデータに対して、所定のハフマンテーブルを用いた静的ハフマン符号化方式による可逆圧縮を行なって、記憶部13のCbデータバッファ13bに保管し、Crライン圧縮部12rは、制御部15の制御下で、Crプレーンのラインデータに対して、所定のハフマンテーブルを用いた静的ハフマン符号化による可逆圧縮を行なって、記憶部13のCrデータバッファ13rに保管する。
Under the control of the
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データバッファ13b及びCrデータバッファ13rは、それぞれCbライン圧縮部12b及びCrライン圧縮部12rで圧縮されたCbプレーンの1ライン分のラインデータ及びCrプレーンの1ライン分のラインデータを保管する容量を有しており、制御部15の制御下で、1ライン分のCbプレーンのラインデータ及びCrプレーンのラインデータの保管と読み出しを行う。
The
伸張処理部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ライン伸張部14bは、圧縮時と同じハフマンテーブルを用いて、静的ハフマン符号化によって可逆圧縮されたCbプレーンのラインデータを伸張して、バスb(1)を介してCbデータセレクタ14bsに出力し、Crライン伸張部14rは、圧縮時と同じハフマンテーブルを用いて、静的ハフマン符号化によって可逆圧縮されたCrプレーンのラインデータを伸張して、バスr(1)を介してCrデータセレクタ14rsに出力する。
The Cb
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
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
そして、画像表示装置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
また、画像表示装置1は、図示しないが、ディスプレイ制御信号生成部11が、RGB画像データに基いて、ディスプレイ20へ画像を表示させる映像信号を所定のクロックに基いて生成し、このディスプレイ制御信号生成部11、圧縮処理部12、伸張処理部14及び制御部15が、ディスプレイ制御信号生成部11と同じクロックに同期して動作処理を行なっている。
Further, although not shown in the figure, the display control
次に、本実施例の作用について説明する。本実施例の画像表示装置1は、YCbCr画像データの取り込みデータ量を抑制しつつ、安価にRGB画像データに変換して出力する。
Next, the operation of this embodiment will be described. The
画像表示装置1は、画像処理部10が、システムメモリ30に保管されているYCbCr画像データを1ラインずつRGB画像データに変換してディスプレイ20に表示出力させる。
In the
ところが、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
そこで、本実施例の画像表示装置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
そして、画像処理部10は、YCbCrの画像データをプレーンの先頭のデータからディスプレイ30へ表示する表示処理を行なう場合、Cbプレーンのデータ処理について、図3に示すように、Cbデータ及びCrデータの圧縮、保管及び伸張処理を行なって、システムメモリ30へのアクセスを削減するとともに、データバッファ13b、13rの容量を削減してコストを削減している。
When the
すなわち、制御部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
この間に、制御部15は、システムメモリ30から読み込んだ1ライン目のCrプレーンのラインデータ及びCdプレーンのラインデータを、それぞれ、Cbライン圧縮部12b及びCrライン圧縮部12rに入力して、Cbライン圧縮部12b及びCrライン圧縮部12rに、それぞれ所定のハフマンテーブルを用いた静的ハフマン符号化方式による可逆圧縮を行わせて、記憶部13のCdデータバッファ13b及びCrデータバッファ13rに保管させる(ステップS102)。
During this time, the
制御部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
すなわち、制御部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
そして、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
ディスプレイ制御信号生成部11は、Yデータバッファ16でタイミング調整されて入力される同じラインのYプレーンのラインデータと、圧縮・伸張された同じラインのCbプレーンのラインデータ、Crプレーンのラインデータに基づいてRGBデータを生成し、RGBデータから映像信号を生成して、ディスプレイ20に表示させる。
The display control
制御部15は、上記1ライン分YCbCrのRGBへの変換とディスプレイ20への表示を行うと、各プレーンが重ね合わされた画像を構成するフレームの最後のラインであるかチェックし(ステップS106)、最後のラインでないときには、ステップS101に戻って、次のラインについて上記同様に処理する(ステップS101〜S106)。
When converting the YCbCr for one line into RGB and displaying it on the
ステップ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
この静的ハフマン符号化による可逆圧縮においては、自然画像において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
制御部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
制御部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
制御部15は、ステップS207で、Cbデータバッファ13bとCrデータバッファ13rのいずれか、または、双方がオーバーフローしているときには、1プレーン分の圧縮データを格納することができないと判断して、オーバーフローしているCbデータバッファ13bとCrデータバッファ13rのいずれか、または、双方のバッファオーバーフローフラグ13bf、13rfを上げて、ステップS206に移行して、最後のラインであるかチェックする(ステップS206)。
In step S207, the
最後のラインでないときには、制御部15は、ステップS202に戻って、上記同様に処理し(ステップS202〜S208)、ステップS206で、最後のラインであると(ステップS206で、YESのとき)、圧縮処理を終了する。
If it is not the last line, the
なお、上記圧縮処理において、制御部15は、ステップS208で、Cbデータバッファ13bとCrデータバッファ13rの双方がオーバーフローすると、そのまま処理を終了してもよい。
In the compression process, the
そして、画像処理部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
Cbライン伸張部14b及びCrライン伸張部14rは、この伸張処理を、上述のように、圧縮時と同じハフマンテーブルを用いて、静的ハフマン符号化によって、圧縮されているCbデータ及びCrデータを伸張する。
As described above, the Cb
制御部15は、1ライン分の伸長処理を行わせると、プレーンの最後のラインデータであるかチェックし(ステップS303)、最後のラインデータでないときには、ステップS301に戻って、上記同様に処理する(ステップS301〜S303)。
When the decompression process for one line is performed, the
制御部15は、ステップS303で、プレーンの最後のラインであると、伸長処理を終了する。
In step S303, the
なお、上記説明においては、画像をディスプレイ20に表示出力する場合について説明したが、画像を表示出力する場合に限るものではなく、YCbCrフォーマットの画像データ等のように、副走査方向の標本数が異なる複数の画像データからなる画像データを、RGBフォーマットの画像データのように、副走査方向の標本数が同じまたは元画像データと標本数の異なるフォーマットの画像データに変換して出力する画像出力装置一般について適用することができる。
In the above description, the case where an image is displayed and output on the
このように、本実施例の画像表示装置1は、主走査方向の1列をラインとしてラインデータが所定ライン数該主走査方向と直交する副走査方向に並んでいるプレーンを複数有するとともに、該副走査方向においてライン数が所定の倍率で少ない少ラインデータからなる少ラインプレーンを含む所定フォーマット(本実施例では、YCbCrフォーマット)の変換元画像データを、各プレーンの対応するラインデータ毎に変換処理を施して所定フォーマット(本実施例では、RGBフォーマット)の変換先画像データに変換するディスプレイ制御信号生成部(フォーマット変換手段)11と、前記変換元画像データのうち、前記少ラインプレーンのラインデータを所定の圧縮方式で1ラインずつ圧縮する圧縮処理部(圧縮手段)12と、圧縮処理部12の圧縮した1ライン分の圧縮データを保管する所定容量の記憶部(保管手段)13と、記憶部13の保管する前記圧縮データを元データに伸張する伸張処理部(伸張手段)14と、前記変換元画像データをシステムメモリ(外部、外部記憶手段)30から取り込んで、該変換元画像データのうち、前記少ラインプレーンのラインデータと伸張処理部14が伸張したラインデータのうちいずれかのラインデータを、該少ラインプレーン以外の前記プレーンの対応するラインデータに合わせてディスプレイ制御信号生成部11へ入力させる制御部(データ制御手段)15と、を備えている。
As described above, the
したがって、ライン数の少ない少ラインプレーンのラインデータを圧縮して記憶部13に保管して、該記憶部13の圧縮データを伸張してフォーマット変換に利用することができ、少ラインプレーンを含む複数プレーンからなる所定フォーマットの変換元画像データを、該変換元画像データの取り込みデータ量を抑制しつつ、安価に所定フォーマットの変換先画像データに変換することができる。
Therefore, the line data of a small line plane with a small number of lines can be compressed and stored in the
また、本実施例の画像表示装置1は、主走査方向の1列をラインとしてラインデータが所定ライン数該主走査方向と直交する副走査方向に並んでいるプレーンを複数有するとともに、該副走査方向においてライン数が所定の倍率で少ない少ラインデータからなる少ラインプレーンを含む所定フォーマットの変換元画像データを、各プレーンの対応するラインデータ毎に変換処理を施して所定フォーマットの変換先画像データに変換するフォーマット変換処理ステップと、前記変換元画像データのうち、前記少ラインプレーンのラインデータを所定の圧縮方式で1ラインずつ圧縮して、該1ライン分の圧縮データを所定容量の記憶部13に保管する圧縮処理ステップと、記憶部13の保管する前記圧縮データを元データに伸張する伸張処理ステップと、前記変換元画像データを外部から取り込んで、該変換元画像データのうち、前記少ラインプレーンのラインデータと前記伸張処理ステップで伸張されたラインデータのうちいずれかのラインデータを、該少ラインプレーン以外の前記プレーンの対応するラインデータに合わせて前記フォーマット変換処理ステップへ入力させるデータ制御処理ステップと、を有する画像出力制御方法を実行している。
The
したがって、ライン数の少ない少ラインプレーンのラインデータを圧縮して記憶部13に保管して、該記憶部13の圧縮データを伸張してフォーマット変換に利用することができ、少ラインプレーンを含む複数プレーンからなる所定フォーマットの変換元画像データを、該変換元画像データの取り込みデータ量を抑制しつつ、安価に所定フォーマットの変換先画像データに変換することができる。
Therefore, the line data of a small line plane with a small number of lines can be compressed and stored in the
さらに、本実施例の画像表示装置1は、コンピュータに、主走査方向の1列をラインとしてラインデータが所定ライン数該主走査方向と直交する副走査方向に並んでいるプレーンを複数有するとともに、該副走査方向においてライン数が所定の倍率で少ない少ラインデータからなる少ラインプレーンを含む所定フォーマットの変換元画像データを、各プレーンの対応するラインデータ毎に変換処理を施して所定フォーマットの変換先画像データに変換するフォーマット変換処理と、前記変換元画像データのうち、前記少ラインプレーンのラインデータを所定の圧縮方式で1ラインずつ圧縮して、該1ライン分の圧縮データを所定容量の記憶部13に保管する圧縮処理と、記憶部13の保管する前記圧縮データを元データに伸張する伸張処理と、前記変換元画像データを外部から取り込んで、該変換元画像データのうち、前記少ラインプレーンのラインデータと前記伸張処理で伸張されたラインデータのうちいずれかのラインデータを、該少ラインプレーン以外の前記プレーンの対応するラインデータに合わせて前記フォーマット変換処理へ入力させるデータ制御処理と、を実行させる画像出力制御プログラムを搭載している。
Furthermore, the
したがって、ライン数の少ない少ラインプレーンのラインデータを圧縮して記憶部13に保管して、該記憶部13の圧縮データを伸張してフォーマット変換に利用することができ、少ラインプレーンを含む複数プレーンからなる所定フォーマットの変換元画像データを、該変換元画像データの取り込みデータ量を抑制しつつ、安価に所定フォーマットの変換先画像データに変換することができる。
Therefore, the line data of a small line plane with a small number of lines can be compressed and stored in the
また、本実施例の画像表示装置1は、制御部15が、圧縮処理部12の圧縮した前記圧縮データ1ライン分を記憶部13に保管可能な場合にのみ該圧縮データを該記憶部13に保管させ、該記憶部13に該圧縮データが保管されているときにのみ伸張処理部14に該圧縮データを伸張させてディスプレイ制御信号生成部11へ入力させ、該記憶部13に該圧縮データが非保管であるときには、前記変換元画像データの対応するラインデータを前記外部であるシステムメモリ30から取り込んでディスプレイ制御信号生成部11へ入力させている。
Further, in the
したがって、小容量の記憶部13を適切に管理しつつ利用してラインデータの圧縮と伸長を行うことができ、少ラインプレーンを含む複数プレーンからなる所定フォーマットの変換元画像データを、該変換元画像データの取り込みデータ量を抑制しつつ、安価にかつ適切に所定フォーマットの変換先画像データに変換することができる。
Therefore, it is possible to compress and decompress line data using the small-
さらに、本実施例の画像表示装置1は、圧縮処理部12が、前記少ラインプレーンのラインデータを静的ハフマン符号化方式で1ラインずつ可逆圧縮し、伸張処理部14が、前記静的ハフマン符号化方式で圧縮されている前記圧縮データを伸張している。
Furthermore, in the
したがって、変換元画像データの少ラインプレーンのラインデータを、静的ハフマン符号化方式で可逆圧縮することで、効率的に圧縮及び伸張することができ、変換元画像データのシステムメモリ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
また、本実施例の画像表示装置1は、ディスプレイ制御信号生成部11が、YCbCrの各プレーンからなる画像データを前記変換元画像データとして、RGBの各プレーンからなる画像データを前記変換先画像データとして変換している。
Further, in the
すなわち、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
したがって、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
さらに、本実施例の画像表示装置1は、前記変換先画像データであるYCbCrデータを、ディスプレイ(表示手段)20に表示出力させる映像信号を所定のクロックに基づいて生成するディスプレイ制御信号生成部(映像信号生成手段)11を、備え、制御信号生成部11自体、圧縮処理部12、伸張処理部14及び制御部15が、ディスプレイ制御信号生成部11と同じクロックに同期して動作処理を行なっている。
Furthermore, the
したがって、元画像データのシステムメモリ30からの取り込みデータ量を適切に抑制しつつ、記憶部13の容量を少なくして安価かつ適切に映像信号を生成することができる。
Therefore, it is possible to generate a video signal inexpensively and appropriately by reducing the capacity of the
以上、本発明者によってなされた発明を好適な実施例に基づき具体的に説明したが、本発明は上記実施例で説明したものに限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。 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
Claims (8)
前記変換元画像データのうち、前記少ラインプレーンのラインデータを所定の圧縮方式で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から請求項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ライン分の圧縮データを所定容量の保管手段に保管する圧縮処理ステップと、
前記保管手段の保管する前記圧縮データを元データに伸張する伸張処理ステップと、
前記変換元画像データを外部から取り込んで、該変換元画像データのうち、前記少ラインプレーンのラインデータと前記伸張処理ステップで伸張されたラインデータのうちいずれかのラインデータを、該少ラインプレーン以外の前記プレーンの対応するラインデータに合わせて前記フォーマット変換処理ステップへ入力させるデータ制御処理ステップと、
を有していることを特徴とする画像出力制御方法。 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
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) |
-
2012
- 2012-08-27 JP JP2012186022A patent/JP2014045290A/en active Pending
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 |