JPH0362265A - Image processor - Google Patents

Image processor

Info

Publication number
JPH0362265A
JPH0362265A JP1198371A JP19837189A JPH0362265A JP H0362265 A JPH0362265 A JP H0362265A JP 1198371 A JP1198371 A JP 1198371A JP 19837189 A JP19837189 A JP 19837189A JP H0362265 A JPH0362265 A JP H0362265A
Authority
JP
Japan
Prior art keywords
image
line
stored
data
storage means
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
JP1198371A
Other languages
Japanese (ja)
Inventor
Hiroshi Sakuragi
桜木 博司
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.)
Toshiba Corp
Toshiba Intelligent Technology Co Ltd
Original Assignee
Toshiba Corp
Toshiba Intelligent Technology 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 Toshiba Corp, Toshiba Intelligent Technology Co Ltd filed Critical Toshiba Corp
Priority to JP1198371A priority Critical patent/JPH0362265A/en
Publication of JPH0362265A publication Critical patent/JPH0362265A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To retrieve an image having high image resolution and high accuracy at a high speed by storing the coding data on each line of the image stored in a 1st storage means into a 2nd storage means, decoding the coding data by an amount equal to one line out of every plural lines to store these decoded data into a 3rd storage means, and then outputting the decoded data. CONSTITUTION:An image consisting of plural lines is coded for each line and stored in a 1st storage means 20, and the coding data is read out for each line of the stored image. Then the read coding data is stored in a 2nd storage means 38, and the coding data is decoded by an amount equal to one line out of every plural lines of the image stored in the means 38. The decoded data is stored in a 3rd storage means 42 and then outputted. Thus it is possible to retrieve an image having high image resolution and high accuracy at a high speed.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は、たとえば画像の登録、検索等を行う画像フ
ァイリング装置等の画像処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to an image processing device such as an image filing device that performs image registration, search, etc., for example.

(従来の技術) 最近、多量に発生する文書などの画像を2次元走査装置
(スキャナ)で光学的な2次元的走査によって読取り、
この読取った画像を光ディスクに記憶し、この記憶され
ている任意の画像を検索して読出し、出力装置たとえば
CRTデイスプレィ装置あるいはプリンタで目視し得る
状態に出力する画像ファイリング装置が実用化されてい
る。
(Prior Art) Recently, images such as documents, which are generated in large quantities, are read by optical two-dimensional scanning using a two-dimensional scanning device (scanner).
Image filing devices have been put into practical use that store the read images on an optical disk, search for and read out any stored image, and output it in a form that can be viewed by an output device such as a CRT display device or a printer.

このような装置では、画像を光ディスクに記憶する場合
、読取った画像を圧縮伸長回路(CODEC>を用いて
圧縮(符号化)し、光ディスクから画像を検索する場合
、光ディスクから読取った(検索した)画像を圧縮伸長
回路を用いて伸長(復号化)し、この伸長した画像を1
度ぺ−ジメモリに記憶してから、表示メモリへ記憶し、
CRTデイスプレィ装置で表示するようになっている。
In such a device, when an image is stored on an optical disk, the read image is compressed (encoded) using a compression/expansion circuit (CODEC), and when an image is retrieved from the optical disk, the image is read (retrieved) from the optical disk. The image is expanded (decoded) using a compression/expansion circuit, and the expanded image is
Store it in the page memory, then store it in the display memory,
It is designed to be displayed on a CRT display device.

このように、光ディスクから画像を検索する場合、光デ
ィスクから読取った(検索した)復号化データを全て復
号化し、画像データを再現するようになっている。この
ようなことは画像を取扱う上で当然のことであるが、復
号化時間が長く、特に写真画像等の高解像度、高精細な
画像を高速で検索することができなかった。
In this way, when searching for an image from an optical disk, all the decoded data read (searched) from the optical disk is decoded to reproduce the image data. Although this is a matter of course when dealing with images, the decoding time is long, making it impossible to search high-resolution, high-definition images, particularly photographic images, at high speed.

(発明が解決しようとする課題) この発明は、高解像度、高精細な画像を高速で検索する
ことができないという欠点を除去するもので、高解像度
、高精細な画像を高速で検索することができる画像処理
装置を提供することを目的とする。
(Problems to be Solved by the Invention) This invention eliminates the drawback that high-resolution, high-definition images cannot be searched at high speed. The purpose is to provide an image processing device that can

[発明の構成] (課題を解決するための手段) この発明の画像処理装置は、複数のラインからなる画像
が各ラインごとに符号化して記憶される第1の記憶手段
、この第1の記憶手段に記憶された画像のラインごとの
符号化データを読出す読出手段、この読出手段によって
読出された画像のラインごとの符号化データを記憶する
第2の記憶手段、この第2の記憶手段に記憶された画像
における複数のライン数おきの1ライン分ずつの符号化
データを復号化する復号化手段、この復号化手段により
復号化された復号化データ全記憶する第3の記憶手段、
およびこの第3の記憶手段に記憶された復号化データを
出力する出力手段から構成されている。
[Structure of the Invention] (Means for Solving the Problems) The image processing device of the present invention includes a first storage means in which an image consisting of a plurality of lines is encoded and stored for each line; a reading means for reading out encoded data for each line of an image stored in the means; a second storage means for storing encoded data for each line of the image read by the reading means; a decoding means for decoding encoded data for each line every plural number of lines in the stored image; a third storage means for storing all the decoded data decoded by the decoding means;
and an output means for outputting the decoded data stored in the third storage means.

(作用) この発明は、複数のラインからなる画像が各ラインごと
に符号化して第1の記憶手段で記憶され、この記憶され
た画像のラインごとの符号化データを謙##読出し、こ
の読出された画像のラインごとの符号化データを第2の
記憶手段で記憶し、この第2の記憶手段に記憶された画
像における複数のライン数おきの1ライン分ずつの符号
化データを復号化し、この復号化された復号化データを
第3の記憶手段で記憶し、この記憶された復号化データ
を出力するようにしたものである。
(Function) The present invention is characterized in that an image consisting of a plurality of lines is encoded line by line and stored in the first storage means, and the encoded data for each line of the stored image is read out. storing the encoded data for each line of the image stored in the second storage means, decoding the encoded data for each line every plural lines in the image stored in the second storage means, This decoded data is stored in a third storage means, and the stored decoded data is output.

(実施例) 以下、この発明の一実施例について図面を参照して説明
する。
(Example) Hereinafter, an example of the present invention will be described with reference to the drawings.

第1図、および第2図はこの発明の画像処理装置として
の画像ファイリング装置を示すものである。すなわち、
上記画像ファイリング装置は、制御モジュール10、メ
モリモジュール12、画像処理モジュール14、通信制
御モジュール16、スキャナ装置18、光ディスク(第
1の記憶手段)20並びに光デイスク装置22、キーボ
ード23、CRTデイスプレィ装置(出力手段)24、
プリンタ装置(出力手段)25、磁気ディスク26並び
に磁気ディスク装置27、マウス29、システムバス3
0、および画像バス32によって構成されている。
1 and 2 show an image filing device as an image processing device of the present invention. That is,
The image filing device includes a control module 10, a memory module 12, an image processing module 14, a communication control module 16, a scanner device 18, an optical disk (first storage means) 20, an optical disk device 22, a keyboard 23, a CRT display device ( output means) 24,
Printer device (output means) 25, magnetic disk 26 and magnetic disk device 27, mouse 29, system bus 3
0, and an image bus 32.

制御モジュール10は、画像の記憶、検索および編集処
理等のための各種制御を行うCPU34、CPU34と
は別に情報の転送を制御するDMA(ダイレクト メモ
リ アドレス コントローラ)35、および光デイスク
装置22、磁気ディスク装置27とCPU34を接続す
るインターフェース回路(読出手段)36から構成され
ている。また、CPU34には、キーボード23および
マウス29が接続されている。
The control module 10 includes a CPU 34 that performs various controls for image storage, search, and editing processing, a DMA (direct memory address controller) 35 that controls information transfer separately from the CPU 34, an optical disk device 22, and a magnetic disk. It consists of an interface circuit (reading means) 36 that connects the device 27 and the CPU 34. Further, a keyboard 23 and a mouse 29 are connected to the CPU 34.

メモリモジュール12は、画像の記憶、検索、編集等の
各種制御プログラム及び管理情報等を記憶するメインメ
モリ(第2の記憶手段)38、A4サイズの原稿数頁分
の画像に対応する記憶容量を有するページメモリ等の画
像メモリ(第3の記憶手段)40、および表示用インタ
ーフェースとしての表示メモリ(第3の記憶手段)42
と表示制御部44などから構成されている。画像メモリ
40の一部には、128にバイトの容量があるバッファ
メモリ領域40aが設けられている。画像メモリ40は
、例えば光ディスク20に記憶する画像や光ディスク2
0から読出された画像を一時記憶するメモリである。ま
た表示メモリ42には、CRTデイスプレィ装置24に
おける表示つイントウ(図示せず)におけるウィンドウ
内に実際に表示される画像、即ち画像メモリ40の画(
象に対して拡大、縮小、回転、挿入、あるいは白黒反転
等を施された画像が記憶されるものである。
The memory module 12 includes a main memory (second storage means) 38 that stores various control programs such as image storage, search, and editing, management information, etc., and a storage capacity that corresponds to images of several pages of an A4 size document. an image memory (third storage means) 40 such as a page memory, and a display memory (third storage means) 42 as a display interface;
and a display control section 44. A part of the image memory 40 is provided with a buffer memory area 40a having a capacity of 128 bytes. The image memory 40 stores, for example, images to be stored on the optical disc 20 and the optical disc 2.
This is a memory that temporarily stores images read from 0. The display memory 42 also stores an image that is actually displayed within a window in a display window (not shown) in the CRT display device 24, that is, an image stored in the image memory 40 (
Images that have been enlarged, reduced, rotated, inserted, or reversed in black and white are stored.

画像処理モジュール14は、画像の拡大/縮小を行う拡
大/縮小回路46、画像を縦横変換することにより、画
像の回転処理を行う縦横変換回路48、画像の圧縮(冗
長度を少なくする;符号化)および伸長(少なくされた
冗長度を元に戻す;復号化)を行う符号化、復号化処理
を施す圧縮伸長回路(CODEC、復号化手段)50、
スキャナ装置18用のスキャナインターフェース52、
プリンタ装置25用のプリンタインターフェース54、
および内部バス56によって構成されている。上記圧縮
伸長回路50は、上記カウンタ39から供給される空信
号と満杯信号が供給されている際、復号化処理を停止し
、それらの信号が供給されなくなった際に、バッファメ
モリ領域40gの記憶データの復号化処理を開始するも
のである。
The image processing module 14 includes an enlargement/reduction circuit 46 that enlarges/reduces an image, a vertical/horizontal conversion circuit 48 that performs image rotation processing by converting the image vertically and horizontally, and image compression (reducing redundancy; encoding). ) and compression/expansion circuit (CODEC, decoding means) 50 that performs encoding and decoding processing (returning reduced redundancy; decoding);
a scanner interface 52 for the scanner device 18;
a printer interface 54 for the printer device 25;
and an internal bus 56. The compression/decompression circuit 50 stops the decoding process when the empty signal and the full signal are supplied from the counter 39, and stores the data in the buffer memory area 40g when these signals are no longer supplied. This starts the data decoding process.

上記圧縮伸長回路50は、画像を光ディスク20へ記憶
する際、画像メモリ42から供給される1画像分の画像
データのうちの1ライン分ずつの画像データをMR(モ
デファイト リード)方式により符号化データに圧縮す
るようになっている。
When storing an image on the optical disk 20, the compression/expansion circuit 50 encodes each line of image data of one image's worth of image data supplied from the image memory 42 using the MR (modified read) method. The data is compressed.

このMR方式により画像データが圧縮される場合、画像
の解像度が200ppiの際には、符号化のパラメータ
はr4J  (k−4)であり、1ライン目、8ライン
目、16ライン目、・・・と3ラインおきに、1次元の
ランレングス符号化が行われ、それらの間の2ライン目
、3ライン目、5ライン目、・・・に、2次元のランレ
ングス符号化が行われている。また、画像の解像度が4
00pp iの際には、符号化のパラメータはI:8J
  (k■8)であり、1ライン目、8ライン目、16
ライン目、・・・と7ラインおきに、1次元のランレン
グス符号化が行われ、それらの間の2ライン目、3ライ
ン目、4ライン目、・・・に、2次元のランレングス符
号化が行われている。この際、各ラインの最後には、ラ
イン終端符号としてのEOL (エンド オブ ライン
)信号が付与され、1画像に対する最初にEOL信号が
付与され、最後にEOL信号が6回連続する終了符号と
してのRTC信号が付与されている。上記EOL信号の
フォーマットはroooooooooo○1」となって
おり、このEOL信号の後には、タグピットが設けられ
ており、このタグピットが「1」の場合、次のラインが
1次元のランレングス符号化コードであることを示し、
タグピットが「0」の場合、次のラインが2次元のラン
レングス符号化コードであることを示している。
When image data is compressed using this MR method, when the image resolution is 200 ppi, the encoding parameter is r4J (k-4), and the 1st line, 8th line, 16th line, etc.・One-dimensional run-length encoding is performed every three lines, and two-dimensional run-length encoding is performed on the second, third, fifth, etc. lines between them. There is. Also, the image resolution is 4
00pp i, the encoding parameter is I:8J
(k■8), and the 1st line, 8th line, 16
One-dimensional run-length encoding is performed every seven lines, and two-dimensional run-length encoding is performed on the second, third, fourth, and so on lines between them. conversion is being carried out. At this time, an EOL (end of line) signal is added to the end of each line as a line termination code, an EOL signal is added at the beginning of one image, and finally an EOL signal is added as an end code for 6 consecutive times. An RTC signal is provided. The format of the above EOL signal is ``rooooooooooo○1'', and a tag pit is provided after this EOL signal, and if this tag pit is ``1'', the next line is a one-dimensional run length encoding code. Show that
When the tag pit is "0", it indicates that the next line is a two-dimensional run-length encoded code.

1次元のランレングス符号化は、白画素、あるいは黒画
素が連続する数(長さ;ランレングス)に対応したコー
ドに変換するもので、例えば第3図に示す、変換テーブ
ル50aを用いて符号化が行われている。たとえば、白
画素の長さがrOJの場合、符号化コードr00110
101Jに変換され、白画素の長さが「10」の場合、
符号化コードro0111Jに変換され、黒画素の長さ
が「1」の場合、符号化コードr010Jに変換され、
黒画素の長さが「10」の場合、符号化コードr000
01.00」に変換されている。この際、1ライン内の
符号化コードの色は白と黒とが交互に生じ、色調の同期
を取るために全てのラインは白の符号化コードで始まる
ようになっている。
One-dimensional run-length encoding converts into a code corresponding to the number (length; run length) of consecutive white pixels or black pixels. For example, the code is converted using a conversion table 50a shown in FIG. conversion is being carried out. For example, if the length of a white pixel is rOJ, the encoding code r00110
101J and the length of the white pixel is "10",
It is converted to the encoded code ro0111J, and if the length of the black pixel is "1", it is converted to the encoded code r010J,
If the length of the black pixel is "10", the encoding code is r000
01.00". At this time, the color of the encoded code within one line is alternately white and black, and in order to synchronize the color tone, all lines begin with a white encoded code.

また、2次元のランレングス符号化は、現在符号化され
ているライン上の各変化画素の位置を符号化ラインまた
は符号化ラインの直前の参照ライン上の対応する参照画
素の位置を参照して符号化する逐次符号化方式であり、
その符号化は変換テーブル50aを用いて行われている
In addition, two-dimensional run-length encoding refers to the position of each changing pixel on the currently encoded line with reference to the position of the corresponding reference pixel on the encoding line or the reference line immediately before the encoding line. It is a sequential encoding method that encodes
The encoding is performed using a conversion table 50a.

また、上記圧縮伸長回路50による符号化データを復号
化データに変換するMR逆変換が行われる場合、1次元
のランレングス符号化コードの場合、変換テーブル50
aを用いて復号化が行われ、2次元のランレングス符号
化コードの場合、変換テーブル50aを用いて復号化が
行われる。
In addition, when MR inverse transformation is performed to convert encoded data into decoded data by the compression/expansion circuit 50, in the case of a one-dimensional run-length encoded code, a conversion table 50 is used.
In the case of a two-dimensional run-length encoded code, decoding is performed using a conversion table 50a.

通信制御モジュール16は、例えばLANに接続される
B CP (B us  Coaa+uication
P rocessor)等の通信インターフェース58
によって構成されている。また、通信制御モジュール1
6には、FCP (ファクシミリ接続機構)パソコン等
の外部機器とのインターフェースを介して接続されるU
 CP (U n1versalc ommunlea
tlon  p rocessor)が設けられたもの
であっても良い。この通信制御モジュール16は、通信
回線を介して送信されてきた検索情報をメインメモリ3
8へ供給したり、送信されてきた検索情報に対応した画
像を送信する。さらに、光ディスク20に記憶する画像
を画像メモリ40へ供給するとともに、画像に対応した
検索情報をメインメモリ38へ供給するものである。
The communication control module 16 is a BCP (Bus Coaa+guication) connected to a LAN, for example.
communication interface 58 such as
It is made up of. In addition, the communication control module 1
6 is a U that is connected via an FCP (Facsimile Connection Mechanism) interface with an external device such as a personal computer.
CP (U n1versalc omnilea
tron processor) may be provided. This communication control module 16 transfers the search information transmitted via the communication line to the main memory 3.
8, or transmits an image corresponding to the transmitted search information. Furthermore, it supplies images stored on the optical disc 20 to the image memory 40, and also supplies search information corresponding to the images to the main memory 38.

システムバス30は、各種装置の制御信号用のバスであ
り、制御モジュール10とメモリモジュール12、画像
処理モジュール14、通信制御モジュール16とを接続
するものである。また、画像バス32は画像用のバスで
あり、メモリモジュール12と画像処理モジュール14
、通信制御モジュール16を接続するものである。
The system bus 30 is a bus for control signals of various devices, and connects the control module 10, the memory module 12, the image processing module 14, and the communication control module 16. Further, the image bus 32 is a bus for images, and includes the memory module 12 and the image processing module 14.
, and the communication control module 16.

スキャナ装置18はたとえば2次元走査装置で、原稿(
文書)上をレーザビーム光で2次元走査するこ−とによ
り、原稿上の画像に応じた電気信号を得るものである。
The scanner device 18 is, for example, a two-dimensional scanning device, and is a document (
By scanning the document (document) two-dimensionally with a laser beam, an electrical signal corresponding to the image on the document is obtained.

先ディスク装置22は、スキャナ装置18で読取られた
画像などを光ディスク20に順次記憶するものである。
The destination disk device 22 sequentially stores images read by the scanner device 18 on the optical disk 20 .

また、キーボード23等によって指定される検索情報に
対応した画像を光ディスク20から検索するものである
It also searches the optical disc 20 for an image corresponding to search information specified using the keyboard 23 or the like.

キーボード23は、光ディスク20に記憶する画像に対
応する固有の検索情報及び記憶、検索、編集処理等の各
種動作指令を人力するものである。
The keyboard 23 is used to input unique search information corresponding to images to be stored on the optical disc 20 and various operation commands such as storage, search, and editing processing.

また、マウス29は、たとえばCRTデイスプレィ装置
24上の表示ウィンドウ上に表示されるカーソル(図示
せず)を上下、左右方向に任意に移動させ、所望の位置
で指示を与えることにより、カーソルが位置している表
示内容(種々の動作モード、編集画像のための領域指定
またはアイコン等)を選択または指示するものである。
Further, the mouse 29 can be used, for example, by arbitrarily moving a cursor (not shown) displayed on a display window on the CRT display device 24 in vertical and horizontal directions, and by giving an instruction at a desired position, the cursor is positioned. This function is used to select or instruct the displayed contents (various operation modes, area designation for edited images, icons, etc.).

CRTデイスプレィ装置(陰極線管表示装置)24は、
スキャナ装置18で読取られた画像並びに光ディスク2
0から検索された画像を表示するものである。このCR
Tデイスプレィ装置24の画像を表示する表示領域は、
最大4つのウィンドウ(図示せず)を用いて4つの画像
を同時に表示することができるマルチウィンドウ型表示
装置である。この各表示ウィンドウに表示された画像は
、各々独立して画像の拡大、縮小、回転、スクロール等
の編集処理が行われるようになっている。
The CRT display device (cathode ray tube display device) 24 is
Images read by the scanner device 18 and the optical disc 2
The image searched from 0 is displayed. This CR
The display area for displaying images of the T-display device 24 is
It is a multi-window type display device that can display four images simultaneously using a maximum of four windows (not shown). Editing processes such as enlarging, reducing, rotating, scrolling, etc. are performed on the images displayed in each display window independently.

プリンタ装置25は、スキャナ装置18で読取られた画
像及び光ディスク20から検索された画像またはCRT
デイスプレィ装置24で表示している画像を印字出力(
ハードコピー)するものである。
The printer device 25 prints images read by the scanner device 18 and images retrieved from the optical disk 20 or CRT.
The image displayed on the display device 24 is printed out (
hard copy).

磁気ディスク装置27は、この磁気ディスク装置27に
装着された磁気ディスク28に各種制御プログラムを記
憶するとともに、キーボード23から入力された検索情
報とこの検索情報に対応する画像が記憶される光デイス
ク20上の記憶アドレス、画像サイズ等からなる検索デ
ータを記憶するものである。
The magnetic disk device 27 stores various control programs on a magnetic disk 28 attached to the magnetic disk device 27, and also has an optical disk 20 that stores search information input from the keyboard 23 and images corresponding to this search information. It stores search data consisting of the above storage address, image size, etc.

また、光ディスク20からの画像がCRTデイスプレィ
装置24の表示可能サイズよりも大きかった場合、圧縮
伸長回路50で復号化した画像は拡大/縮小回路46で
縮小された後、画像バス32を介して表示メモリ42に
供給されることにより、検索した画像がCRTデイスプ
レィ装置24で表示される。
Furthermore, if the image from the optical disk 20 is larger than the displayable size of the CRT display device 24, the image decoded by the compression/decompression circuit 50 is reduced in size by the enlargement/reduction circuit 46 and then displayed via the image bus 32. By being supplied to the memory 42, the retrieved image is displayed on the CRT display device 24.

上記CPU34には、上記変換テーブル50aと同じ構
成の変換テーブル38aが設けられている。これにより
、CPU34は高速検索モードが選択されている場合、
上記変換テーブル38aを用いたソフトコーデック機能
により、光ディスク20から読み取った符号化データの
うちの符号化時の一次元符号ごと、つまりにライン分ご
との符号化データを復号化するものである。光ディスク
20から読み取った画像データが、A4サイズで解像度
が200pp i以上の大きな画像であった場合には、
CPU34により復号化されたにラインごとの復号化デ
ータは、画像メモリ40へ供給された後、画像バス32
を介して拡大/縮小回路46へ出力され、拡大/縮小回
路46によって縮小された後、画像バス32を介して表
示メモリ42へ記憶される。また、光ディスク20から
読み取った画像データが、A4サイズで解像度が200
pp i以下の画像であった場合には、CPU34によ
り復号化されたにラインごとの復号化データは、DMA
35を用いてシステムバス30を介して表示メモリ42
へ記憶される。
The CPU 34 is provided with a conversion table 38a having the same configuration as the conversion table 50a. As a result, when the high-speed search mode is selected, the CPU 34
The soft codec function using the conversion table 38a decodes the encoded data read from the optical disk 20 for each one-dimensional code at the time of encoding, that is, for each line. If the image data read from the optical disc 20 is a large image with A4 size and a resolution of 200 ppi or more,
The line-by-line decoded data decoded by the CPU 34 is supplied to the image memory 40 and then transferred to the image bus 32.
The image is output to the enlargement/reduction circuit 46 via the image bus 32, and after being reduced by the enlargement/reduction circuit 46, it is stored in the display memory 42 via the image bus 32. Also, the image data read from the optical disk 20 is A4 size and has a resolution of 200.
If the image is less than pp i, the decoded data for each line decoded by the CPU 34 is transferred to the DMA
display memory 42 via system bus 30 using
is memorized to.

次に、このような構成において、光ディスク20から検
索した画像をCRTデイスプレィ装置24で表示出力す
る場合について説明する。まず、キーボード23により
高速検索モードを設定するとともに、検索したい画像に
対応した検索情報を入力する。CPU34は入力された
検索情報を磁気ディスク26に記憶されている検索情報
と順次比較照合し、入力された検索情報と一致する検索
情報が記憶されているか否かを順次チエツクする。
Next, a case will be described in which an image retrieved from the optical disc 20 is displayed on the CRT display device 24 in such a configuration. First, the high-speed search mode is set using the keyboard 23, and search information corresponding to the image desired to be searched is input. The CPU 34 sequentially compares and collates the input search information with the search information stored on the magnetic disk 26, and sequentially checks whether or not search information that matches the input search information is stored.

この結果、CPU34は一致する検索情報の書類番号を
磁気ディスク26から読出してメインメモリ38に記憶
させる。次に、CPU34はメインメモリ38に記憶さ
れた書類番号の一覧表をCRTデイスプレィ装置24に
表示する。次に、CRTデイスプレィ装置24に表示さ
れた検索情報から所望のものをキーボード23により選
択する。この選択された検索情報に対応するアドレスが
読出される。CPU34はこのアドレスに対応する物理
トラックアドレスと物理セクタアドレスとを算出し、こ
れらのアドレスにより光ディスク20からの画像の再生
を光デイスク装置22で行う。
As a result, the CPU 34 reads the document number of the matching search information from the magnetic disk 26 and stores it in the main memory 38. Next, the CPU 34 displays the list of document numbers stored in the main memory 38 on the CRT display device 24. Next, desired search information is selected from the search information displayed on the CRT display device 24 using the keyboard 23. The address corresponding to this selected search information is read. The CPU 34 calculates a physical track address and a physical sector address corresponding to this address, and uses these addresses to cause the optical disc device 22 to reproduce images from the optical disc 20.

また、CPU34は、DMA35を用いて先ディスク装
置22からインターフェース回路36を介して供給され
る1ライン毎の画像データ(符号化データ)を順次シス
テムバス30を介してメインメモリ38に転送し、メイ
ンメモリ38に書込む。このメインメモリ38に1画像
分の画像データ(符号化データ)が記憶された後、CP
U34はにライン毎の画像データ(符号化データ)を順
次変換テーブル50aを用いて復号化し、この復号化デ
ータをDMA35を用いて、画像メモリ40あるいは表
示メモリ42へ出力する。この際、画像メモリ40、表
示メモリ42は画像データが記憶されるエリアにあらか
じめ白データが記憶(白クリア)されている。
In addition, the CPU 34 uses the DMA 35 to sequentially transfer the image data (encoded data) for each line supplied from the destination disk device 22 via the interface circuit 36 to the main memory 38 via the system bus 30. Write to memory 38. After the image data (encoded data) for one image is stored in this main memory 38, the CP
U34 sequentially decodes the image data (encoded data) for each line using the conversion table 50a, and outputs this decoded data to the image memory 40 or display memory 42 using the DMA 35. At this time, the image memory 40 and the display memory 42 have white data stored (white cleared) in advance in areas where image data is stored.

すなわち、光ディスク20から読み取った画像データが
、A4サイズで解像度が200pp i以上の大きな画
像であった場合には、CPU34により復号化されたに
ラインごとの復号化データは、画像メモリ40へ供給さ
れた後、画像バス32を介して拡大/縮小回路46へ出
力され、拡大/縮小回路46によって縮小された後、画
像バス32を介して表示メモリ42へ記憶される。光デ
ィスク20から読み取った画像データが、A4サイズで
解像度が200pp i以下の画像であった場合には、
CPU34により復号化されたにラインごとの復号化デ
ータは、DMA35を用いてシステムバス30を介して
表示メモリ42へ記憶される。
That is, when the image data read from the optical disk 20 is a large image of A4 size and resolution of 200 ppi or more, the decoded data for each line decoded by the CPU 34 is supplied to the image memory 40. After that, it is output to the enlargement/reduction circuit 46 via the image bus 32, and after being reduced by the enlargement/reduction circuit 46, it is stored in the display memory 42 via the image bus 32. If the image data read from the optical disc 20 is an A4 size image with a resolution of 200 ppi or less,
The line-by-line decoded data decoded by the CPU 34 is stored in the display memory 42 via the system bus 30 using the DMA 35.

これにより、1ラインから最終ラインまでのにライン毎
に復号化された画像がCRTデイスプレィ装置24で表
示される。
As a result, the image decoded line by line from the first line to the last line is displayed on the CRT display device 24.

上記CPU34によるにライン毎の復号化処理(ソフト
コープ、ツク)について、第4図に示すフローチャート
を参照しつつ説明する。まず、CPU34は検索情報か
ら画像の横幅、縦幅、解像度を認識する。CPU34は
認識した解像度か200pp iの場合、kパラメータ
が「4」と判断し、解像度が400pp iの場合、k
パラメータが「8」と判断し、認識した縦幅から「kパ
ラメーター1」を差し引くことにより最終ラインを算出
し、符号化コードの色を白とし、符号化するラインをス
タートライン(1ライン)とする。
The line-by-line decoding process (soft copy) by the CPU 34 will be explained with reference to the flowchart shown in FIG. First, the CPU 34 recognizes the width, height, and resolution of the image from the search information. If the recognized resolution is 200ppi, the CPU 34 determines that the k parameter is "4", and if the resolution is 400ppi, the k
Determine that the parameter is "8", calculate the final line by subtracting "k parameter 1" from the recognized height, set the color of the encoding code to white, and set the line to be encoded as the start line (1 line). do.

このような状態において、CPU34はメインメモリ3
8から1ライン目の画像データ(符号化データ)を復号
化し、この復号化データをDMA35を用いて、画像メ
モリ40あるいは表示メモリ42へ出力する。
In this state, the CPU 34 uses the main memory 3
The image data (encoded data) of the first line from 8 is decoded, and this decoded data is output to the image memory 40 or the display memory 42 using the DMA 35.

すなわち、CPU34は、上記各パラメータをセットし
た後に、その1ライン目の符号化データの最初に付加さ
れているEOL信号を読取る。このEOL信号が読取れ
なかった場合、CPU34はエラーリターンを判定する
。また、EOL信号が読取れた場合、CPU34は次に
供給される符号化コードを白ランレングスとして解読し
、変換テーブル34aを用いて復号化する。その後、C
PU34は、次の符号化コードの色を黒とし、次に供給
される符号化コードを黒ランレングスとして解読し、変
換テーブル34aを用いて復号化し、内部メモリ(図示
しない)に記憶する。以後、CPU34は、EOL信号
が解読されるまで、交互に供給される白ランレングスと
黒ランレングスの符号化コードを変換テーブル34aを
用いて復号化し、内部メモリに記憶する。そして、CP
U34がEOL信号を解読した場合、復号化した1ライ
ンの復号化データの長さと上記セットされている画像の
横幅の長さと同じであるか否かを調べ、同じでない場合
、圧縮データに異常があるとしてコードデータエラーを
判定する。同じ場合、CPU34は1ライン分を正常に
復号化したことが判断され、正常に復号化された1ライ
ン分の復号化データを、DMA35を用いてシステムバ
ス30を介して画像メモリ40あるいは表示メモリ42
へ出力する。
That is, after setting each of the above parameters, the CPU 34 reads the EOL signal added at the beginning of the first line of encoded data. If this EOL signal cannot be read, the CPU 34 determines an error return. Further, when the EOL signal is read, the CPU 34 decodes the encoded code supplied next as a white run length, and decodes it using the conversion table 34a. After that, C
The PU 34 sets the color of the next encoded code to black, decodes the next supplied encoded code as a black run length, decodes it using the conversion table 34a, and stores it in an internal memory (not shown). Thereafter, until the EOL signal is decoded, the CPU 34 decodes the encoded codes of the alternately supplied white run length and black run length using the conversion table 34a, and stores them in the internal memory. And C.P.
When U34 decodes the EOL signal, it checks whether the length of one line of decoded data is the same as the width of the image set above, and if it is not the same, it determines that there is an abnormality in the compressed data. It is determined that there is a code data error. In the same case, the CPU 34 determines that one line has been successfully decoded, and transfers the normally decoded one line of decoded data to the image memory 40 or display memory via the system bus 30 using the DMA 35. 42
Output to.

また、CPU34は次に復号化するラインをにライン後
とし、符号化コードの色を白にしてから再び、上記同様
ににライン後の符号化コードをEOL信号が解読される
まで、交互に供給される白ランレングスと黒ランレング
スの符号化コードを変換テーブル34aを用いて復号化
し、正常に復号化された1ライン分の復号化データを、
DMA35を用いてシステムバス30を介して画像メモ
リ40あるいは表示メモリ42へ出力する。
Further, the CPU 34 sets the next line to be decoded to the next line, changes the color of the encoded code to white, and then alternately supplies the encoded code after the line in the same manner as above until the EOL signal is decoded. The encoded codes for the white run length and black run length are decoded using the conversion table 34a, and the decoded data for one line that is normally decoded is
The data is output to the image memory 40 or display memory 42 via the system bus 30 using the DMA 35.

以後、kラインごとの符号化コードが復号化された1ラ
イン分の復号化データは、DMA35を用いてシステム
バス30を介して画像メモリ40あるいは表示メモリ4
2へ出力される。
Thereafter, one line of decoded data obtained by decoding the encoded code for each k line is sent to the image memory 40 or the display memory 4 via the system bus 30 using the DMA 35.
Output to 2.

したがって、1ラインから最終ラインまでのにラインご
との符号化コードが復号化された復号化データが画像メ
モリ40あるいは表示メモリ42に書込まれる。
Therefore, decoded data obtained by decoding the encoded code for each line from the first line to the last line is written into the image memory 40 or the display memory 42.

上記したように、kパラメータの値であるにラインごと
に符号化データを復号化することにより、従来の1/に
の符号化データしか扱わないことになり、解像度等が要
求されない場合に、非常に高速に画像データを得ること
ができる。
As mentioned above, by decoding the encoded data line by line, which is the value of the k parameter, only the encoded data of 1/2 of the conventional method is handled. image data can be obtained at high speed.

[発明の効果] 以上詳述したようにこの発明によれば、高解像度、高精
細な画像を高速で検索することができる画像処理装置を
提供できる。
[Effects of the Invention] As detailed above, according to the present invention, it is possible to provide an image processing device that can search for high-resolution, high-definition images at high speed.

【図面の簡単な説明】[Brief explanation of drawings]

図面はこの発明の一実施例を示すもので、第1図は構成
の・要部を概略的に示す図、第2図は全体の構成を概略
的に示すブロック図、第3図は変換テーブルの記憶例を
示す図、第4図は動作を説明するためのフローチャート
である。 18・・・スキャナ装置、20・・・光ディスク、22
・・・光デイスク装置、23・・・キーボード、24・
・・CRTデイスプレィ装置、25・・・プリンタ装置
、27・・・磁気ディスク装置、2つ・・・マウス、3
0・・・システムバス、32・・・画像バス、34・・
・CPU。 35・・・DMA、36・・・インターフェース回路、
38・・・メインメモリ、38 a s 50 a・・
−変換テーブル、39・・・カウンタ、40・・・画像
メモリ、40a・・・バッファメモリ領域、46・・・
拡大/縮小回路、50・・・圧縮伸長回路、54・・・
プリンタインターフェース。
The drawings show an embodiment of the present invention; Fig. 1 is a diagram schematically showing the main parts of the configuration, Fig. 2 is a block diagram schematically showing the overall configuration, and Fig. 3 is a conversion table. FIG. 4 is a flowchart for explaining the operation. 18... Scanner device, 20... Optical disc, 22
... Optical disk device, 23 ... Keyboard, 24.
...CRT display device, 25...Printer device, 27...Magnetic disk device, 2...Mouse, 3
0...System bus, 32...Image bus, 34...
・CPU. 35...DMA, 36...Interface circuit,
38... Main memory, 38 a s 50 a...
- Conversion table, 39... Counter, 40... Image memory, 40a... Buffer memory area, 46...
Enlargement/reduction circuit, 50... Compression/expansion circuit, 54...
printer interface.

Claims (1)

【特許請求の範囲】 複数のラインからなる画像が各ラインごとに符号化して
記憶される第1の記憶手段と、 この第1の記憶手段に記憶された画像のラインごとの符
号化データを読出す読出手段と、 この読出手段によって読出された画像のラインごとの符
号化データを記憶する第2の記憶手段と、この第2の記
憶手段に記憶された画像における複数のライン数おきの
1ライン分ずつの符号化データを復号化する復号化手段
と、 この復号化手段により復号化された復号化データを記憶
する第3の記憶手段と、 この第3の記憶手段に記憶された復号化データを出力す
る出力手段と、 を具備したことを特徴とする画像処理装置。
[Scope of Claims] A first storage means in which an image consisting of a plurality of lines is encoded and stored line by line, and coded data for each line of the image stored in the first storage means is read. a second storage means for storing encoded data for each line of the image read by the reading means; and one line every plural number of lines in the image stored in the second storage means. a decoding means for decoding encoded data for each minute; a third storage means for storing the decoded data decoded by the decoding means; and decoded data stored in the third storage means. An image processing device comprising: an output means for outputting; and an image processing device.
JP1198371A 1989-07-31 1989-07-31 Image processor Pending JPH0362265A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1198371A JPH0362265A (en) 1989-07-31 1989-07-31 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1198371A JPH0362265A (en) 1989-07-31 1989-07-31 Image processor

Publications (1)

Publication Number Publication Date
JPH0362265A true JPH0362265A (en) 1991-03-18

Family

ID=16390001

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1198371A Pending JPH0362265A (en) 1989-07-31 1989-07-31 Image processor

Country Status (1)

Country Link
JP (1) JPH0362265A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4834657B2 (en) * 2005-02-18 2011-12-14 日本メクトロン株式会社 Sealing structure with gasket

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4834657B2 (en) * 2005-02-18 2011-12-14 日本メクトロン株式会社 Sealing structure with gasket

Similar Documents

Publication Publication Date Title
US4893258A (en) Data processing apparatus having enlargement/reduction functions capable of setting different magnification in different directions
EP0249948B1 (en) Image information processing apparatus
US5018078A (en) Apparatus and method for processing huge image information at high speed
US5163122A (en) Image processing system
KR920003477B1 (en) Image processing apparatus
JPS63178287A (en) Display device
US5195174A (en) Image data processing apparatus capable of composing one image from a plurality of images
US5199102A (en) Image processing apparatus having multiple display areas for editing
JPH04344524A (en) Image display device
US5499110A (en) Image processing apparatus for synthesizing different input data without using hard copy
JPH05266095A (en) Image retrieval device
JPH0362265A (en) Image processor
KR920005242B1 (en) Image processing device
JPH0793348A (en) Image information processing device
JPH0239380A (en) Image processor
JPH0214667A (en) Information storage device and information retrieval device
JPH0535843A (en) Data storage
JPH034367A (en) Information processor
JPH02181275A (en) Picture processing system
JPH02260030A (en) Picture processor
JPH02181273A (en) Picture processing system
JPH07306931A (en) Image information processing device
JPS63157557A (en) Image processor
JPH0793098A (en) Buffer control device and buffer control method
JPH06225123A (en) High speed restoring method for picture data