JPS6188375A - Picture data converting device - Google Patents

Picture data converting device

Info

Publication number
JPS6188375A
JPS6188375A JP20910184A JP20910184A JPS6188375A JP S6188375 A JPS6188375 A JP S6188375A JP 20910184 A JP20910184 A JP 20910184A JP 20910184 A JP20910184 A JP 20910184A JP S6188375 A JPS6188375 A JP S6188375A
Authority
JP
Japan
Prior art keywords
memory
compressed data
data
image
compressed
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
JP20910184A
Other languages
Japanese (ja)
Inventor
Toru Yokoe
横江 亨
Masahiro Shimizu
正博 清水
Mariko Takenouchi
磨理子 竹之内
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP20910184A priority Critical patent/JPS6188375A/en
Publication of JPS6188375A publication Critical patent/JPS6188375A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

PURPOSE:To calculate respective gaps of compressed data easily, and to edit and display a picture with high speed without having a bit image of the whole picture by counting and storing compressed data length for every line, when the picture data are compressed. CONSTITUTION:A picture is scanned by a scanner 11, read picture data are added to a data switch 12, the output is made into a compressed code for every line unit and stored in a compressed data memory 16. A compressed data length is counted for every line at the compressing pat 13 and stored in a compressed data length memory 15. Further, at an expanding part 16, the contents of the memory 16 are converted to but image data for every line, and stored in an image memory 17. The contents of the memories 15 and 16 registered to a file memory 18 are retrieved and transferred to the memories 15 and 16. At a picture data processing pat 19, the output of the memories 15 and 16 is processed, a switch 12 is controlled, and picture editing and displaying are made highly speedy.

Description

【発明の詳細な説明】 産業上の利用分野 本発明:は、スキャナ等から画像データを入力して、画
像の拡大、縮小1回転等の編集を行ない、画像ファイル
として登録や検水ができる電子ファイル装置を構成する
のに必要な画像データ変換装置に関するものである。
Detailed Description of the Invention: Industrial Field of Application The present invention is an electronic device that inputs image data from a scanner, etc., performs editing such as enlarging or reducing the image once, and registers it as an image file or performs a water test. The present invention relates to an image data conversion device necessary for configuring a file device.

従来例の構成とその問題点 従来の画像データ変換装置の構成を第6図に示す。Conventional configuration and its problems FIG. 6 shows the configuration of a conventional image data conversion device.

スキャナ1から、画像を走査しながら得られた画像デー
タは、データスイッチ48をとおって、圧縮部2により
圧縮符号化され圧縮データメモリ4に格納される。圧縮
符号化方式としては、圧縮効率の良い可変長のMN (
Modified Huffman)符号化方式等が一
般に使用される。従って、圧縮データメモリ4は、第6
図に示した様に、1ライン毎の圧縮データの集合C4,
C2・・・・・・Cnがつめられて16ビツト/ワード
の構成となっている。
Image data obtained from the scanner 1 while scanning an image passes through a data switch 48, is compressed and encoded by a compression unit 2, and is stored in a compressed data memory 4. As a compression encoding method, variable length MN (
(Modified Huffman) encoding method etc. are generally used. Therefore, the compressed data memory 4
As shown in the figure, a set of compressed data C4 for each line,
C2...Cn are packed to form a 16 bit/word configuration.

圧縮コードEOPは終了コードである。伸長部3は、圧
縮データメモリ4の内容を先頭番地から順次ビットイメ
ージデータに変換し、イメージメモリ6に格納する。画
f&編集部7は、圧縮データメモリ4をファイルメモリ
6に登録したり、ファイルメモリ6から必要なファイル
を検索し圧縮データメモリ4に転送する。まだ、画像の
拡大、縮小。
Compressed code EOP is an end code. The decompressing unit 3 sequentially converts the contents of the compressed data memory 4 into bit image data starting from the first address, and stores the bit image data in the image memory 6. The image f&editing section 7 registers the compressed data memory 4 in the file memory 6, searches for necessary files from the file memory 6, and transfers them to the compressed data memory 4. You can still enlarge or reduce the image.

回転等の編集や表示を行なう時は、予め画像全体のビッ
トイメージが格納されたイメージメモリ5を処理対象と
する。編集後のイメージメモリ6の内容は、データスイ
ッチ8、圧縮部2および圧縮データメモリ4をとおりフ
ァイルメモリ6に登録される。
When performing editing such as rotation or display, the image memory 5 in which the bit image of the entire image is stored in advance is used as the processing target. The edited contents of the image memory 6 pass through the data switch 8, the compression unit 2, and the compressed data memory 4, and are registered in the file memory 6.

この様な画f/Qデータ変1.M装置でば、圧縮データ
メモリ4のライン毎の切れ目が、先頭−Hi地から、1
頂次圧縮符号を解読していかないとわからないため、画
像の編集や表示を行なう場合に、常時圧縮データメモリ
4の先頭番地から伸長部3によりビットイメージデータ
に変換していくと、処理時間が長くなり操作性において
問題があった。従って、通常は、画像全体を予めビット
イメージデータに変換し、イメージメモリ6に格納して
おき、イメージメモリ5を対象として画像の編集や表示
を行なう方法がとられるが、この場合は、画像全体のビ
ットイメージを記憶する膨大なイメージメモリ5が必要
となり装置が高価になるという欠点があった。
Such image f/Q data change 1. In the case of the M device, the break for each line of the compressed data memory 4 is 1 from the beginning - Hi place.
Since it cannot be known until the vertex compression code is decoded, when editing or displaying an image, if the first address of the compressed data memory 4 is constantly converted into bit image data by the decompression unit 3, the processing time will be longer. There were problems with operability. Therefore, normally a method is used in which the entire image is converted into bit image data in advance and stored in the image memory 6, and the image is edited and displayed using the image memory 5. This has the disadvantage that a huge amount of image memory 5 is required to store the bit images, making the device expensive.

発明の目的 本発明は、画像データを圧縮する時に、1ライン毎の圧
縮データのデータ長を同時に計、救し、記憶することに
より1画像全体のビットイメージを持たずに、画1象の
編集や表示を高速に行なうことを目的とする。
Purpose of the Invention The present invention, when compressing image data, calculates, saves, and stores the data length of the compressed data for each line at the same time, thereby editing one image without having the bit image of the entire image. The purpose is to display images and images at high speed.

発明の1廊成 本発明は、画像をZlj走査方向に複数のブロックに分
割し各ブロックのヒノトイメージデータヲ圧縮データに
変換するとともに各ブロックの圧縮データ長を計数する
圧縮部と、計数された圧縮データ長を記憶する圧縮デー
タ長メモリと、圧縮データを記憶する圧縮データメモリ
と、各ブロックの圧縮データをブロック単位でビットイ
メージデータに変換する伸長部と、ビットイメージデー
タを記憶するイメージメモリとを有する1面像データ′
り換装蓋である。
The present invention includes a compression unit that divides an image into a plurality of blocks in the Zlj scanning direction, converts the image data of each block into compressed data, and counts the compressed data length of each block; A compressed data length memory that stores the data length, a compressed data memory that stores the compressed data, an expansion section that converts the compressed data of each block into bit image data in units of blocks, and an image memory that stores the bit image data. 1-plane image data'
This is a replacement lid.

実施例の説明 本発明の一実施例を第1図に示す。スキャナ11から、
画像を走査しながら得られた画像データは、データスイ
ッチ12をとおって圧縮部13により1ライン単位で圧
縮符号化され圧縮データメモリ16に格納される。また
、圧縮部13は、1ライ/毎の圧縮データ長を計数し圧
縮データ長メモリ15に格納する。圧縮データ長メモリ
15および圧縮データメモリ16は、第2図aおよびb
に示した様な構成となっている。fi1+I12+・・
・・・・2nは、各ラインの圧縮データ長を16ビツト
/ワードで表わしたワード数である。C1,C2,・・
・・・・Cnは各ラインの圧縮データであり、16ビノ
ド/ワードの整数倍となるように、ダミーコード”o”
が付加されている。伸長部14は、圧縮データメモリ1
6の内容を1ライン毎にビットイメージデータに変換し
、イメージメモリ17に格納する。画像編集部19は、
圧縮データ長メモリ16および圧縮データメモリ16の
内容を1つのファイルとしてファイルメモリ18に登録
したり、ファイルメモリ18から検索して、圧縮データ
長メモリ16および圧縮データメモリ16に転送を行な
う。また、画像の拡大、縮小2回転等の編fhや表示を
行なう時は、圧縮データ長メモリ15から必要なライン
の圧縮データの格納アドレスを算出し、圧縮データメモ
リ16の対応する圧縮データのみを伸長部14へ転送す
ることによりビットイメージデ〜りに変換され、イメー
ジメモリ17に格納される。
DESCRIPTION OF THE EMBODIMENTS An embodiment of the present invention is shown in FIG. From scanner 11,
Image data obtained while scanning an image passes through a data switch 12, is compressed and encoded line by line by a compression unit 13, and is stored in a compressed data memory 16. Further, the compression unit 13 counts the compressed data length for each 1 rai and stores it in the compressed data length memory 15. The compressed data length memory 15 and the compressed data memory 16 are shown in FIGS. 2a and 2b.
The configuration is as shown in . fi1+I12+...
...2n is the number of words expressing the compressed data length of each line in 16 bits/word. C1, C2,...
...Cn is the compressed data of each line, and a dummy code "o" is added so that it is an integral multiple of 16 binods/word.
is added. The decompression unit 14 stores the compressed data memory 1
6 is converted into bit image data line by line and stored in the image memory 17. The image editing department 19
The compressed data length memory 16 and the contents of the compressed data memory 16 are registered as one file in the file memory 18, or retrieved from the file memory 18 and transferred to the compressed data length memory 16 and the compressed data memory 16. Also, when performing editing fh such as enlarging or reducing the image twice or displaying it, the storage address of the compressed data of the necessary line is calculated from the compressed data length memory 15, and only the corresponding compressed data in the compressed data memory 16 is displayed. By transferring it to the decompressing section 14, it is converted into a bit image data and stored in the image memory 17.

画像編集部19は、イメージメモリ17を処理し、処理
結果をデータスイッチ12および圧縮部13をとおして
、圧縮データ長メモリ15および圧縮データメモリ16
へ格納する。また、ラインの削除や移動等は、直接圧縮
データ長メモ’) 15、−1’j−よび圧縮データメ
モリ16を処理することにより行なうことができる。
The image editing section 19 processes the image memory 17 and sends the processing results through the data switch 12 and the compression section 13 to the compressed data length memory 15 and the compressed data memory 16.
Store it in Further, line deletion, movement, etc. can be performed by directly processing the compressed data length memo ') 15, -1'j- and the compressed data memory 16.

本発明の一実施例の圧縮部13の構成を第3ズに示す。The configuration of the compression section 13 according to an embodiment of the present invention is shown in the third diagram.

データスイッチ12からのビットイメージデータSD、
同期クロック5CLK、1ライン有効信号HEを入力と
して、RL変換部21によりランレングスコードRLに
変換される。ランレングスコードRLは、符号化ROM
22のアドレスとなり、圧1縮コードCDが出力される
。圧’l??jテータ正デ一部23は、圧1縮コードC
Dを16ビット/ワードにノリアル/パラレル変換する
とともに、1ライン有動信号HEの終了時に、圧縮デー
タ長が16ビノトの整数倍となるようにダミーコード′
0″′を付加して、圧縮データN CDを圧縮データメ
モリ16へ出力する。また、圧縮コードCDのビット長
を計数し、16でZllつだ圧縮データ!:< L N
 金aE :’t+テ〜りjくメモリ15へ出力する。
Bit image data SD from the data switch 12,
With the synchronization clock 5CLK and the 1-line valid signal HE as input, the RL converter 21 converts it into a run length code RL. Run length code RL is encoded ROM
22, and the compressed code CD is output. Pressure'l? ? j data correct part 23 is compressed code C
In addition to performing Norial/parallel conversion of D to 16 bits/word, at the end of the 1-line active signal HE, a dummy code '
0"' is added, and the compressed data NCD is output to the compressed data memory 16. Also, the bit length of the compressed code CD is counted, and when 16 is Zll1 compressed data!: < L N
Gold aE:'t+te~riku Output to memory 15.

π′111.1・5つ一返勤1・・弓の伸長部14のj
+′;l友を、第4)4シこ示ず、j王1宿データメモ
リ16からの1ライン分の圧縮データNCDをPS変換
部24によりシリアル圧縮データSCDに変換する。シ
リアル圧縮データSCDは、圧縮コードレジスタ25へ
1ビツトつつ7フトしながら入力される。圧縮コードレ
ジスタ25の出力CDは、復号化ROM 26のアドレ
スとなり、白黒指定信号BW、ランレングスコードRL
および符号一致信号RLEが出力される。符号一致1言
号RLEは、圧4宿コードレジスタ25の出力CDが、
予め定められた符号系列と一致したかどうかを知らせる
信号であり、一致した峙(・こ、イメージ生成部27は
、白1m指定信号BWと77し/ゲスコードRLからビ
ットイメージデータIDを生成し、イメージメモリ17
へ出力する。また、符号一致信号RLEにより圧縮コー
ドレジスタ26はリセットされ、次のシリアル圧縮デー
タSCDが入力される。
π′111.1・5 1 return 1・j of the extension part 14 of the bow
4th) One line of compressed data NCD from the data memory 16 is converted into serial compressed data SCD by the PS converter 24. The serial compressed data SCD is inputted to the compressed code register 25 in steps of 1 bit and 7 steps. The output CD of the compression code register 25 becomes the address of the decoding ROM 26, and includes the black and white designation signal BW and the run length code RL.
and a code match signal RLE are output. For the code matching 1 word RLE, the output CD of the code register 25 is
This is a signal that informs whether or not it matches a predetermined code sequence. Image memory 17
Output to. Further, the compressed code register 26 is reset by the code match signal RLE, and the next serial compressed data SCD is input.

本実施例では、画像データの圧縮および伸長の単位ば1
ラインとしたが、1ラインに限らず、副走査方向:・で
対して9敬ラインを1つのブロックとして、各ブロック
を圧縮および伸長の単位として構成することは容易にで
きる。
In this embodiment, the unit of compression and expansion of image data is 1.
Although the number of lines is not limited to one line, it is possible to easily configure nine lines in the sub-scanning direction as one block, and each block as a unit of compression and expansion.

発明の効果 本発明によれば、画像データの圧縮時に、1ライン毎の
圧縮データ長を計数し、記憶しておくため、圧縮データ
の各ラインの切れ目を容易に算出することができ、必要
なラインのみを高速に伸長してビットイメージデータに
変換することができるので画1象全体のビットイメージ
を記憶するメモリを持たずに画像の編集や表示を高速に
行なうことができ、装置の価格全欧くすることができる
Effects of the Invention According to the present invention, when compressing image data, the compressed data length for each line is counted and stored. Since only the lines can be expanded at high speed and converted to bit image data, images can be edited and displayed at high speed without having to have memory to store the bit image of the entire image. It can be made European.

このような画像デ・−夕変換装置は1画像の入力。Such an image data converter requires only one image as input.

’:’、F !% 機能をもったハーソナルコンピュー
タ、ワードプロセッサおよびイメージワークステーンヨ
ンの実現において、低価格化を図るために必要不可欠の
ものである。
':', F! % It is indispensable for realizing low-cost personal computers, word processors, and image workstations with functions.

4、i;gl +liiの・11゛j単な1況明・:n
 ’ l”′l汀本イら・−11の−1坪)崩1・弓の
1:’に成ブロック図1、耳2図は同実廁列の圧縮デー
タ長メモリおよび圧晶データメモリのデータフォーマッ
トの説明図1、第31Aは同月施例の圧A宿部の1′1
4成ブロノブロック4 I:glは同)”: ’通口の
伸長部の構成ブロック図、第5ノ1はpη来1′/すの
Fl“4゛皮ズブロック、第61(は従来列の圧1.h
データメモリのデータ7オーマノトの説明図である、っ 11・・・・・スキャナ、12・・・・・・データスイ
ッチ、13・・・・・・圧晶部、14・・・・−(r1
〕長部、15・・・・・圧縮データ長メモリ、16・・
・・・・圧jitデータメモリ、1フイメージメモリ、
18 ・・・・ファイルメモリ、19・・・・・l:!
j f、’3i ?h+集部。
4, i; gl +lii・11゛j simple 1 situation light・:n
'l'''lTaimoto Ira・-11の-1 坪)Block 1・Archie 1: 'The block diagram 1 and the ear 2 diagram show the compressed data length memory and piezo data memory of the same actual row. Explanation of data format Figure 1, No. 31A is 1'1 of pressure A accommodation part of the same month.
4-forming Brono Block 4 I: gl is the same)": 'Construction block diagram of the extension part of the opening, 5th No. Row pressure 1.h
11...scanner, 12...data switch, 13...piecrystal unit, 14...-(r1
] Long section, 15... Compressed data length memory, 16...
...pressure jit data memory, 1st image memory,
18...File memory, 19...l:!
j f, '3i? h + collection.

代)!11人の氏乙 フl’1ilj士 中 尾 敏 
男 ほか1上第 1 図 第 3 図 第 4 図 第 5 図 第 6 図
)! Satoshi Nakao, a member of the 11 clans
Figure 1 Figure 3 Figure 4 Figure 5 Figure 6

Claims (1)

【特許請求の範囲】[Claims] 画像を副走査方向に複数のブロックに分割し各ブロック
のビットイメージデータを圧縮データに変換するととも
に前記圧縮データの圧縮データ長を計数する圧縮部と、
前記圧縮データ長を記憶する圧縮データ長メモリと、前
記圧縮データを記憶する圧縮データメモリと、前記圧縮
データを前記ブロック単位でビットイメージデータに変
換する伸長部と、前記ビットイメージデータを記憶する
イメージメモリとを有することを特徴とする画像データ
変換装置。
a compression unit that divides the image into a plurality of blocks in the sub-scanning direction, converts the bit image data of each block into compressed data, and counts the compressed data length of the compressed data;
a compressed data length memory that stores the compressed data length; a compressed data memory that stores the compressed data; an expansion unit that converts the compressed data into bit image data in units of blocks; and an image that stores the bit image data. An image data conversion device characterized by having a memory.
JP20910184A 1984-10-05 1984-10-05 Picture data converting device Pending JPS6188375A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20910184A JPS6188375A (en) 1984-10-05 1984-10-05 Picture data converting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20910184A JPS6188375A (en) 1984-10-05 1984-10-05 Picture data converting device

Publications (1)

Publication Number Publication Date
JPS6188375A true JPS6188375A (en) 1986-05-06

Family

ID=16567300

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20910184A Pending JPS6188375A (en) 1984-10-05 1984-10-05 Picture data converting device

Country Status (1)

Country Link
JP (1) JPS6188375A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57106976A (en) * 1980-12-24 1982-07-03 Fujitsu Ltd Compression and restoration processing system
JPS58212253A (en) * 1982-06-03 1983-12-09 Mitsubishi Electric Corp Control circuit of picture data memory

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57106976A (en) * 1980-12-24 1982-07-03 Fujitsu Ltd Compression and restoration processing system
JPS58212253A (en) * 1982-06-03 1983-12-09 Mitsubishi Electric Corp Control circuit of picture data memory

Similar Documents

Publication Publication Date Title
JP2569307B2 (en) Image rotation method
US4918541A (en) Image processing method and apparatus
JP2006238407A (en) Device, method and program for encoding, and imaging device
JP4610450B2 (en) Image processing apparatus for processing fixed length compressed image and packing data of attribute information
JP2738136B2 (en) Blocking device
JPS6188375A (en) Picture data converting device
JPH10341437A (en) Image processing method and device therefor
US20060072840A1 (en) Conversion device for performing a raster scan conversion between a JPEG decoder and an image memory
JPS62195979A (en) Facsimile code converter
JPH0564000A (en) Method for compressing and expanding image data
JPS61184974A (en) Picture data converting device
KR100260889B1 (en) Circuit and method of generating addresses for processing 8 bit digital image signal
KR900007566B1 (en) Picture data converting device
JPS6366113B2 (en)
JPH01149185A (en) Picture processing method
JP2917991B1 (en) Video compression method
JPS62146073A (en) Expansion device for compression data
JPS6410153B2 (en)
JPS62202668A (en) Lateral width expanding/contracting system for picture
JP3075935B2 (en) Still image coding method
JPH0352055Y2 (en)
JPH02179072A (en) Compression method for binary picture data
JPH08274999A (en) Image data processing method and image processing unit
JPS6342472B2 (en)
JPH07184063A (en) Binary image compression system