JPH0244965A - Picture output device - Google Patents
Picture output deviceInfo
- Publication number
- JPH0244965A JPH0244965A JP19660688A JP19660688A JPH0244965A JP H0244965 A JPH0244965 A JP H0244965A JP 19660688 A JP19660688 A JP 19660688A JP 19660688 A JP19660688 A JP 19660688A JP H0244965 A JPH0244965 A JP H0244965A
- Authority
- JP
- Japan
- Prior art keywords
- compressed data
- data
- image
- circuit
- picture
- 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
- 238000006243 chemical reaction Methods 0.000 abstract description 18
- 238000000034 method Methods 0.000 description 18
- 230000006837 decompression Effects 0.000 description 6
- 230000007704 transition Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 238000011946 reduction process Methods 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
Landscapes
- Editing Of Facsimile Originals (AREA)
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、圧縮データとして入力する画像を表示または
印刷する画像出力装置に関する。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an image output device that displays or prints an image input as compressed data.
従来の技術
電子ファイルシステムなどにおいては、文書などの画像
を圧縮データとして光ディスク麿どの記録媒体上に蓄積
するが、蓄積画像を表示または印刷するためには、圧縮
データを画素単位のイメージデータに復元する必要があ
る。また一般に、蓄積文書の画素数は出力画像の画素数
より多い(文書の読取り解像度と出力解像度との違いや
、文書の原稿サイズと出力サイズの違いによる)ため、
画像の縮小処理を行う必要もある。Conventional technology In electronic file systems, images such as documents are stored as compressed data on recording media such as optical disks, but in order to display or print the stored images, the compressed data must be restored into pixel-by-pixel image data. There is a need to. In addition, in general, the number of pixels in the stored document is greater than the number of pixels in the output image (due to the difference between the document reading resolution and output resolution, and the difference between the document original size and output size).
It is also necessary to perform image reduction processing.
従来、このような画像表示を行う装置は、第3図に示す
ように、画像の圧縮データ21を伸張回路22により画
素単位のイメージデータZ3に復元し、これを縮小回路
24で画素およびラインの間引き処理などにより、表示
画素数に合うJ:うに縮小したイメージデータ5とし、
これをCRTコントローラ26の制御によってCRTユ
ニット27の画面に表示させるという構成であった。Conventionally, as shown in FIG. 3, a device for displaying such an image restores compressed image data 21 to pixel-by-pixel image data Z3 using a decompression circuit 22, and converts this into pixel and line data Z3 using a reduction circuit 24. By thinning processing etc., the image data 5 is reduced to J: which matches the number of display pixels,
The configuration was such that this was displayed on the screen of the CRT unit 27 under the control of the CRT controller 26.
画像の印刷出力を行う装置の構成も、CRTコ−ニノl
−27カフ!、lンタユニソト、CRTコントロラ26
がプリンタコントローラになるだけで、同様であった。The configuration of the device that prints out images is also CRT Cornino l.
-27 cuffs! , lntaunisoto, CRT controller 26
It was the same, except that it became a printer controller.
発明が解決しようとする課題
しかし、かかる構成によれば、画像の圧縮データを入力
してから表示まだは印刷されるまでの時3 ・\−/
間が長いという問題があった。Problems to be Solved by the Invention However, with this configuration, there is a problem in that it takes a long time from when compressed image data is input until it is displayed or printed.
これは、縮小回路別の処理はビット単位の処理であるが
、その処理対象のイメージデータ邪のビット数が著しく
多いので処理に長い時間を要するとともに、このような
イメージデータ乙を伸張回路22から縮小回路24へ転
送するにもがなシの時間を要するからである。This is because the processing for each reduction circuit is a bit-by-bit processing, but since the number of bits of the image data to be processed is extremely large, it takes a long time to process, and such image data is not transferred from the decompression circuit 22. This is because it takes a long time to transfer the data to the reduction circuit 24.
本発明は、上述の問題点に鑑みてなされたもので、画像
の圧縮データの入力から出力までの時間を短縮可能な画
像出力装置を提供することを目的とする。The present invention has been made in view of the above-mentioned problems, and an object of the present invention is to provide an image output device that can shorten the time from input to output of compressed image data.
課題を解決するための手段
本発明は上述の課題を解決するため、画像の圧縮データ
を直接的な処理により(すなわちイメーデータに復元せ
ず圧縮データそのものを処理し)縮小画像の圧縮データ
に変換する手段を、復元のための手段の前段に設け、こ
の復元手段により縮小画像の圧縮データを最終的に出力
すべきイメージデータに復元するという構成を備えたも
のである。Means for Solving the Problems In order to solve the above-mentioned problems, the present invention converts compressed image data into compressed image data by direct processing (that is, by processing the compressed data itself without restoring it to image data). The apparatus is provided with a means for decompressing the compressed image at a stage upstream of the decompressing means, and the decompressing means decompresses the compressed data of the reduced image into image data to be finally output.
作用
上述のように、イメージデータに比べてデータ量が遥に
少ない圧縮データを、直接的に縮小画像の圧縮データに
変換するため、その変換処理にかかる時間は、入力画像
の圧縮データを復元したイメージデータのビット処理に
よる画像縮小に必要な時間より大幅に短縮し得る。As mentioned above, compressed data, which has a much smaller amount of data than image data, is directly converted into compressed data of a reduced image, so the time required for the conversion process is the same as that of restoring the compressed data of the input image. The time required for image reduction by bit processing of image data can be significantly reduced.
また、このような変換処理により画素数が削減済みの圧
縮データに対して復元処理を行うので、縮小処理前の圧
縮データを復元するよりも処理時間は短縮する。また、
復元されるイメージデータは縮小済みであるので縮小前
よりもデータ量が少なく、その転送時間も短縮する。Further, since the restoration process is performed on the compressed data whose number of pixels has been reduced through such conversion process, the processing time is shorter than when the compressed data before the reduction process is restored. Also,
Since the image data to be restored has already been reduced, the amount of data is smaller than before reduction, and the transfer time is also shortened.
したがって、画像の圧縮データの入力から出力(表示ま
たは印刷)までの時間を従来より大幅に短縮し、高速の
画像出力が可能である。Therefore, the time from inputting compressed image data to outputting (displaying or printing) it is significantly shorter than in the past, and high-speed image output is possible.
実施例
以下本発明の一実施例について、図面を参照しながら説
明する。EXAMPLE An example of the present invention will be described below with reference to the drawings.
第1図は本発明の一実施例による画像表示装置5 へ−
ン
の概略構成図である。図中、1は外部から入力する画像
の圧縮データ、2は圧縮データ1を直接的な変換処理に
より縮小画像の圧縮データに変換する縮小変換回路、3
はこの縮小変換後の圧縮データである。6は圧縮データ
を画素単位のイメージデータに復元する伸張回路、5は
復元されたイメージデータ、6はイメージデータ5をC
RTユニット7に表示させるCRTコントローラである
。FIG. 1 shows an image display device 5 according to an embodiment of the present invention.
FIG. In the figure, 1 is compressed data of an image input from the outside, 2 is a reduction conversion circuit that converts compressed data 1 into compressed data of a reduced image by direct conversion processing, and 3
is the compressed data after this reduction conversion. 6 is a decompression circuit that restores compressed data to pixel-by-pixel image data, 5 is the restored image data, and 6 is a C.
This is a CRT controller that displays on the RT unit 7.
以上の構成において、入力画像の圧縮データ1は、縮小
変換処理回路2によって縮小画像の圧縮データ3に変換
される。この変換処理は、後述のように、圧縮データ1
をイメージデータに展開することなく、直接的に圧縮デ
ータ3に変換する処理であるため高速に実行可能である
。In the above configuration, input image compressed data 1 is converted into reduced image compressed data 3 by the reduction conversion processing circuit 2. This conversion process is performed on the compressed data 1 as described later.
This process can be executed at high speed since it is a process of converting directly into compressed data 3 without expanding it into image data.
この縮小変換処理により得られた圧縮データ3は伸張回
路4に転送され、イメージデータ5に復元される。この
復元処理は従来と同様でよいが、入力する圧縮データ3
は既に縮小済みのものであるからイメージデータ5の画
素数が減少し、その分だけ復元処理時間は短縮し、また
イメージデー6 ・・ 7
り5をCRTコントローラ6へ転送する時間も短縮する
。Compressed data 3 obtained through this reduction conversion process is transferred to an expansion circuit 4 and restored to image data 5. This restoration process may be the same as before, but the input compressed data 3
Since the image data 5 has already been reduced, the number of pixels of the image data 5 is reduced, and the restoration processing time is shortened accordingly, and the time for transferring the image data 6 to the CRT controller 6 is also shortened.
このようにして、圧縮データ1に対応した縮小画像のイ
メージデータ5が高速に得られてCRTコントローラ6
へ転送され、その制御によりCRTユニット7の画面に
画像として表示される。In this way, the image data 5 of the reduced image corresponding to the compressed data 1 is obtained at high speed and transferred to the CRT controller 6.
The image is transferred to the CRT unit 7 and displayed as an image on the screen of the CRT unit 7 under its control.
第2図は上記縮小変換回路2の一例を示すブロック図で
ある。ここで、圧縮データ1は、光ディスクの記録など
に使用されている“′2ラインー括モートランレングス
符号化方弐″による符号化ブタであるものとする。この
符号化方式は、連続した奇数走査線と偶数走査線の2ラ
インを1フレームとして同時処理し、各ライン上の現在
のピントと直前ビット2×2ビツトを観測し、遷移コー
ド、ランコード、直接コードの組合せにより符号化する
方式であるが、公知であるので詳細説明は省略する。FIG. 2 is a block diagram showing an example of the reduction conversion circuit 2. As shown in FIG. Here, it is assumed that the compressed data 1 is encoded using the "'2-line short run length encoding method 2" which is used for recording optical discs. This encoding method simultaneously processes two consecutive odd-numbered scanning lines and even-numbered scanning lines as one frame, observes the current focus and the previous 2x2 bits on each line, and calculates the transition code, run code, This is a method of encoding by directly combining codes, but since it is well known, detailed explanation will be omitted.
第2図において、11は圧縮データ1を一時的に蓄積す
るためのバッファ回路、12は圧縮データ1中のフラグ
、遷移コード、ダミービットを検出す7 ・\−7
るとともに、フラグによってライン端またはペジ端を検
出する検出回路である。13は検出回路12の検出出力
に従って各部を制御する制御回路である。In Fig. 2, 11 is a buffer circuit for temporarily accumulating compressed data 1, and 12 is a buffer circuit for detecting flags, transition codes, and dummy bits in compressed data 1. Or it is a detection circuit that detects the edge of a page. Reference numeral 13 denotes a control circuit that controls each section according to the detection output of the detection circuit 12.
バッファ回路11に蓄積された圧縮データ中のランコー
ドと直接コードは、制御回路13の制御により、それぞ
れランコード処理系と直接コード処理系へ振り分けられ
る。当該符号化方式においては、各ラインの画像は必ず
白のランコードで始まるので、各ラインの先頭のコード
はランコード処理系へ送られ、その後のランコードまた
は直接コードは、その前に挿入された遷移コードの種類
に従って該当する処理系へ送られる。The run code and direct code in the compressed data stored in the buffer circuit 11 are distributed to a run code processing system and a direct code processing system, respectively, under the control of the control circuit 13. In this encoding method, each line of the image always starts with a white run code, so the first code of each line is sent to the run code processing system, and subsequent run codes or direct codes are inserted before it. The transition code is sent to the corresponding processing system according to the type of transition code.
ランコード処理系は、ランコードを16進データに変換
する16進変換回路、この16進データを画像の縮小率
に対応した定数で除算する除算回路15、除算回路15
から出力される商データ(16進データ)をランコード
にコード化するエンコーダ1Gと、余り補正回路17よ
りなる。直接コード処理系は、直接コードを縮小率に対
応した分周率で分周する分周回路18と上記余り補正回
路17よりなる。The run code processing system includes a hexadecimal conversion circuit that converts the run code into hexadecimal data, a division circuit 15 that divides this hexadecimal data by a constant corresponding to the reduction ratio of the image, and a division circuit 15 that divides the hexadecimal data by a constant corresponding to the image reduction ratio.
The encoder 1G encodes the quotient data (hexadecimal data) outputted from the encoder into a run code, and the remainder correction circuit 17. The direct code processing system includes a frequency dividing circuit 18 that divides the direct code at a frequency division ratio corresponding to the reduction ratio, and the remainder correction circuit 17.
19は出力回路であり、エンコーダ16から入力するラ
ンコード、分周回路18から入力する直接コード、制御
回路13より入力する遷移コードを順序付けて外部へ送
出する出力回路である。なお、各フレームのフラグの付
加と必要なダミービットの挿入は出力回路19でなされ
る。Reference numeral 19 denotes an output circuit that orders the run code input from the encoder 16, the direct code input from the frequency dividing circuit 18, and the transition code input from the control circuit 13 and sends them to the outside. Note that the output circuit 19 adds flags to each frame and inserts necessary dummy bits.
この縮小変換回路2の動作は、以下の通りである。ラン
コードが入力すると、これは16進変換回路14によっ
て16進データに変換されてから除算回路15で除算さ
れる。その商データは縮小後のう/レングスであり、こ
れはエンコーダ16によりランコードに変換され、出力
回路19より外部へ送出される。他方、直接コードは分
周回路18によって分周されて縮小後のランレングスに
対応した長さの直接コードとされ、これは出力回路19
より外部へ送出される。また、各コード間の遷移コード
は、その11出力回路19より外部へ送出される。The operation of this reduction conversion circuit 2 is as follows. When a run code is input, it is converted into hexadecimal data by a hexadecimal conversion circuit 14 and then divided by a division circuit 15. The quotient data is the length after reduction, which is converted into a run code by the encoder 16 and sent to the outside from the output circuit 19. On the other hand, the direct code is frequency-divided by the frequency dividing circuit 18 into a direct code having a length corresponding to the run length after reduction, and this is output to the output circuit 19.
It is sent to the outside. Further, the transition code between each code is sent out from the 11 output circuit 19.
なお、余り補正回路17は、各コードに対し、除算回路
15マたは分周回路18から出力される余りデ9 ・\
−7
一タにより次のコードの補正を行う制御を行う。Note that the remainder correction circuit 17 calculates the remainder output from the division circuit 15 or the frequency division circuit 18 for each code.
-7 Performs control to correct the next code in one go.
すなわち、次のコードがランレングスコードナラば、余
シデータを16進データとして除算回路16の被除数デ
ータに加算する。他方、次のコードが直接コードの場合
、余りデータに等しいビット数の“′0″信号を分周回
路18に入力する。That is, if the next code is a run-length code, the remainder data is added to the dividend data of the division circuit 16 as hexadecimal data. On the other hand, if the next code is a direct code, a "'0" signal with the number of bits equal to the remainder data is input to the frequency dividing circuit 18.
1だ、入力画像上の細線の情報を失わないように、除算
回路15は商が1未満となった時には1を出力する。分
周回路18も同様に最小でもランレングス1のランコー
ドを出力する。1. In order not to lose the information of the thin line on the input image, the division circuit 15 outputs 1 when the quotient is less than 1. Similarly, the frequency dividing circuit 18 outputs a run code with a minimum run length of 1.
このようにして得られる縮小画像の圧縮データ3は、圧
縮データ1と同じ符号化方式のデータである。したがっ
て、伸張回路4は同じ符号化方式の従来の伸張回路と同
様でよい。The compressed data 3 of the reduced image obtained in this way is data of the same encoding method as the compressed data 1. Therefore, the decompression circuit 4 may be similar to a conventional decompression circuit using the same encoding method.
なお、本実施例におけるCRTユニット7をプリンタユ
ニット、CRTコントローラ6をプリンタコントローラ
にそれぞれ置き換えることにより、画像の印刷出力を行
う装置を実現できる。Note that by replacing the CRT unit 7 in this embodiment with a printer unit and the CRT controller 6 with a printer controller, an apparatus that prints out images can be realized.
また、同様の直接的な縮小変換処理が可能な他の符号化
方式による圧縮データの場合においても、10=−;
本発明は同様に適用可能である。Further, even in the case of compressed data by other encoding methods that can be subjected to similar direct reduction conversion processing, the present invention is similarly applicable.
発明の効果
以上の説明から明らかなように、本発明は、外部より入
力する画像の圧縮データを、イメージデータに復元する
処理を経由せず直接的に縮小画像の圧縮データに変換し
、この圧縮データを画素単位のイメージデータに復元し
表示または印刷を行う構成であるため、縮小のだめの処
理時間、復元のための処理時間、およびイメージデータ
の転送時間をすべて従来より短縮し、画像の出力を高速
化できるという効果を有するものである。Effects of the Invention As is clear from the above explanation, the present invention directly converts compressed data of an image input from the outside into compressed data of a reduced image without going through the process of restoring it to image data. Since the data is restored to pixel-by-pixel image data for display or printing, the processing time for reduction, processing time for restoration, and image data transfer time are all shorter than before, and the image output is faster. This has the effect of increasing speed.
第1図は本発明の一実施例による画像表示装置の概略構
成図、第2図は第1図中の縮小変換回路の構成例を示す
ブロック図、第3図は従来の画像表示装置の概略構成図
である。
1・・・入力画像の圧縮データ、2・・縮小変換回路、
3・・・縮小画像の圧縮データ、4・・・伸張回路、5
・・・縮小画像のイメージデータ、6・・CRTコント
ローラ、7・・CRTユニット。FIG. 1 is a schematic configuration diagram of an image display device according to an embodiment of the present invention, FIG. 2 is a block diagram showing an example of the configuration of the reduction conversion circuit in FIG. 1, and FIG. 3 is a schematic diagram of a conventional image display device. FIG. 1... Compressed data of input image, 2... Reduction conversion circuit,
3... Compressed data of reduced image, 4... Decompression circuit, 5
...Image data of reduced image, 6..CRT controller, 7..CRT unit.
Claims (1)
の圧縮データに変換し出力する手段と、この手段より入
力する圧縮データを画素単位のイメージデータに復元し
出力する手段と、この手段より入力するイメージデータ
を画像として表示または印刷する手段とを有することを
特徴とする画像出力装置。means for directly converting compressed data of an image inputted from the outside into compressed data of a reduced image and outputting the compressed data; means for restoring the compressed data inputted from this means into pixel-by-pixel image data and outputting the compressed data; An image output device comprising means for displaying or printing image data as an image.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP19660688A JPH0244965A (en) | 1988-08-05 | 1988-08-05 | Picture output device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP19660688A JPH0244965A (en) | 1988-08-05 | 1988-08-05 | Picture output device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0244965A true JPH0244965A (en) | 1990-02-14 |
Family
ID=16360551
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP19660688A Pending JPH0244965A (en) | 1988-08-05 | 1988-08-05 | Picture output device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0244965A (en) |
-
1988
- 1988-08-05 JP JP19660688A patent/JPH0244965A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2922680B2 (en) | Compressed image storage method for high-resolution computer graphics | |
| US5245441A (en) | Document imaging processing method and apparatus | |
| JPS58211758A (en) | Image reproduction method and apparatus | |
| US5272543A (en) | Method and system for reproducing natural image | |
| JPH0244965A (en) | Picture output device | |
| JPH04358288A (en) | Reducing printer | |
| JPH0774924A (en) | Image processing device | |
| US5245446A (en) | Image processing system | |
| JP3100430B2 (en) | Image reading device | |
| JP3611384B2 (en) | Image printing device | |
| US7283284B2 (en) | Image reading apparatus | |
| JPS6069959A (en) | Method of thinning-out of image data | |
| JP3241647B2 (en) | Image synthesis circuit | |
| JPH01241269A (en) | Picture processing unit | |
| JPS6378278A (en) | Image processing device | |
| JP3296227B2 (en) | Image data processing device | |
| JP2002209093A (en) | Method for converting vertical resolution into resolution on printer basis | |
| JPH08274999A (en) | Image data processing method and image processing unit | |
| JPS62185462A (en) | Digital color copying machine | |
| JPH09102035A (en) | Picture processor | |
| JPH01270454A (en) | printing device | |
| JPS6350278A (en) | Printer | |
| JPH06225123A (en) | High speed restoring method for picture data | |
| JPH03117171A (en) | Picture processing system and its equipment | |
| JPS62199171A (en) | Dither picture encoding method |