JP2706672B2 - Image data compression / decompression mechanism - Google Patents

Image data compression / decompression mechanism

Info

Publication number
JP2706672B2
JP2706672B2 JP14857488A JP14857488A JP2706672B2 JP 2706672 B2 JP2706672 B2 JP 2706672B2 JP 14857488 A JP14857488 A JP 14857488A JP 14857488 A JP14857488 A JP 14857488A JP 2706672 B2 JP2706672 B2 JP 2706672B2
Authority
JP
Japan
Prior art keywords
compressed data
storing
data
output
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.)
Expired - Lifetime
Application number
JP14857488A
Other languages
Japanese (ja)
Other versions
JPH01316082A (en
Inventor
正博 足立
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.)
Chuo Electronics Co Ltd
Original Assignee
Chuo Electronics 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 Chuo Electronics Co Ltd filed Critical Chuo Electronics Co Ltd
Priority to JP14857488A priority Critical patent/JP2706672B2/en
Publication of JPH01316082A publication Critical patent/JPH01316082A/en
Application granted granted Critical
Publication of JP2706672B2 publication Critical patent/JP2706672B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、画像記憶装置や画像ファイリング装置等に
おける画像データの圧縮・伸長に関するものである。
Description: TECHNICAL FIELD The present invention relates to compression / decompression of image data in an image storage device, an image filing device, and the like.

〔従来の技術〕[Conventional technology]

画像ファイリング装置等で、画像信号をディジタル化
した後一画面分の画像データを一単位として記憶・編集
・再生等を行う場合、この「一画面分の画像データ」の
容量が小さい方が処理スピードも速く、記憶装置の容量
が限られていればより多くの画面数を記憶させることが
可能である。
When digitizing an image signal with an image filing device, etc., and then storing, editing, and playing back one screen of image data as one unit, the smaller the capacity of this "one screen image data", the faster the processing speed It is also fast, and it is possible to store a larger number of screens if the capacity of the storage device is limited.

そこで、一画面分の画像データの容量を小さくするた
めに、従来は画像データの圧縮・伸長をマイクロプロセ
ッサを用いてソフト演算処理を行っている。
Therefore, in order to reduce the capacity of the image data for one screen, conventionally, a software operation is performed for compressing and expanding the image data by using a microprocessor.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

画像データの圧縮・伸長をマイクロプロセッサを用い
てソフト処理で行う場合、その方式は様々だが一般的に
は一画面分のメモリ(フレームメモリ)の全ての領域を
読み出し、なおかつ読み出しながら圧縮処理を行うた
め、非常に時間(例えば10〜数10秒)を要する。伸長の
場合も同様に、圧縮データを読み出して伸長処理をしな
がら、フレームメモリ全領域に書き込むので時間を要す
るという問題があった。
When compressing / expanding image data by software processing using a microprocessor, there are various methods, but in general, all areas of a memory (frame memory) for one screen are read, and compression processing is performed while reading. Therefore, it takes a very long time (for example, 10 to several tens of seconds). Also in the case of decompression, similarly, there is a problem that it takes time because the compressed data is read out and written into the entire area of the frame memory while being decompressed.

本発明は、上記の問題点を解消し、高速(例えば1ミ
リ秒以下)な圧縮・伸長を単純な回路構成で実現可能に
する機構を提供することを目的としている。
SUMMARY OF THE INVENTION It is an object of the present invention to solve the above-mentioned problems and to provide a mechanism capable of realizing high-speed (for example, 1 millisecond or less) compression / expansion with a simple circuit configuration.

〔課題を解決するための手段〕[Means for solving the problem]

上記の目的を達成するために、本発明の画像データ圧
縮・伸長機構では、ある輝度以上若しくはある輝度以下
のビデオデータは捨てて圧縮したデータを記憶し、伸長
時は捨ててしまったところをある固定の輝度値を出力さ
せることで画像データの復元を図るようにした。
In order to achieve the above object, in the image data compression / expansion mechanism of the present invention, video data having a certain luminance or more or less than a certain luminance is discarded and compressed data is stored, and at the time of decompression, data is discarded. Image data is restored by outputting a fixed luminance value.

以下、本発明の原理的な構成と機能を第1図に示した
機能ブロック図を参照して説明する。
Hereinafter, the principle configuration and functions of the present invention will be described with reference to the functional block diagram shown in FIG.

入力端子1には、画像信号をディジタル化したビデオ
ディジタル入力信号Aが与えられる。この入力信号Aは
比較手段2で第1の記憶手段3から出力されるスレッシ
ュホールド値Bと比較される。このスレッシュホールド
値Bは、入力信号Aから圧縮データを抽出するための条
件を規定するもので、マイクロコンピュータ(CPU;図示
せず)で通常はその設定が行われ、第1の記憶手段3に
記憶されている。比較手段2は、入力信号Aとスレッシ
ュホールド値Bとを比較して、比較条件を満足したとき
に出力Dをアクティブにする。この比較条件は選択信号
Cにより、A>B若しくはA<Bが選択できる。比較手
段2の出力Dは、その状態をマップ(MAP)データEと
して記憶しておく第2の記憶手段4と、圧縮データを記
憶する第3の記憶手段5に送られる。第3の記憶手段5
は、出力Dがアクティブの時だけ入力信号Aを圧縮デー
タFとして記憶する。
An input terminal 1 is supplied with a video digital input signal A obtained by digitizing an image signal. This input signal A is compared with a threshold value B output from the first storage means 3 by the comparison means 2. The threshold value B defines conditions for extracting compressed data from the input signal A, and is normally set by a microcomputer (CPU; not shown). It is remembered. The comparing means 2 compares the input signal A with the threshold value B, and activates the output D when the comparison condition is satisfied. As the comparison condition, A> B or A <B can be selected by the selection signal C. The output D of the comparison means 2 is sent to a second storage means 4 for storing its state as map (MAP) data E and a third storage means 5 for storing compressed data. Third storage means 5
Stores the input signal A as compressed data F only when the output D is active.

このように、上記の各手段によって画像データ圧縮処
理部が構成され、圧縮データの記憶が行われる。
As described above, the image data compression processing unit is configured by the above-described units, and compressed data is stored.

次に、圧縮データの伸長について説明する。 Next, expansion of compressed data will be described.

第3の記憶手段5で記憶されている圧縮データFが切
換手段6に送られる。この切換手段6は、第4の記憶手
段7に記憶させてあるデフォルト値Gも与えられてい
て、第2の記憶手段4からのマップデータEに基づき圧
縮データFとデフォルト値Gの切換えを行って、ビデオ
ディジタル伸長出力信号Hとして出力端子8に出力す
る。なお、デフォルト値Gは、圧縮データを伸長するた
めの条件を規定するもので、前記スレッシュホールド値
Bを勘案してマイクロコンピュータ(CPU;図示せず)で
設定され、第4の記憶手段7に記憶されている。
The compressed data F stored in the third storage means 5 is sent to the switching means 6. The switching means 6 is also provided with a default value G stored in the fourth storage means 7, and switches between the compressed data F and the default value G based on the map data E from the second storage means 4. Then, it outputs to the output terminal 8 as the video digital expansion output signal H. The default value G defines conditions for decompressing the compressed data. The default value G is set by a microcomputer (CPU; not shown) in consideration of the threshold value B, and is stored in the fourth storage means 7. It is remembered.

このように、上記の各手段によって圧縮データ伸長処
理部が構成され、圧縮データを伸長して画像データの復
元が行われる。
As described above, the compressed data decompression processing section is constituted by each of the above means, and the compressed data is decompressed to restore the image data.

〔作用〕[Action]

ビデオディジタル入力信号Aは画像の画素における輝
度を示すものであり、所望の値に設定したスレッシュホ
ールド値Bと比較して、所定の輝度以上若しくは所定の
輝度以下のビデオデータを捨てて圧縮したデータを記憶
する。伸長時は、捨てられたビデオデータをデフォルト
値G(所定の輝度値)で補うようにしている。
The video digital input signal A indicates the luminance of a pixel of an image. The video digital input signal A is compared with a threshold value B set to a desired value, and is a data obtained by discarding and compressing video data having a predetermined luminance or higher or lower than a predetermined luminance. Is stored. At the time of decompression, the discarded video data is supplemented with a default value G (predetermined luminance value).

このようにすることにより、少ないデータ量での記
憶,編集等の処理が可能になり、記憶装置への収納デー
タ数を増やすことができるし、各種の処理の高速化が図
られる。
By doing so, processing such as storage and editing with a small amount of data can be performed, the number of data stored in the storage device can be increased, and various processing can be speeded up.

〔実施例〕〔Example〕

本発明の一実施例について、第2図に示したブロック
図を用いて説明する。なお、第2図は第1図の原理的構
成を単に具体化したハード構成で示したものであるか
ら、各部分はそれぞれ対応しているので、構成と動作に
ついてのみ簡略に説明する。また、説明を簡明にするた
め1バイト(byte)は8ビット(bit)とした。
An embodiment of the present invention will be described with reference to the block diagram shown in FIG. FIG. 2 shows a hardware configuration that simply embodies the basic configuration of FIG. 1. Since each part corresponds to each other, only the configuration and operation will be briefly described. Also, for simplicity of description, one byte (byte) is set to eight bits (bit).

9はマイクロコンピュータでスレッシュホールド値B
やデフォルト値Gの設定をしたり、圧縮・伸長機構の各
部の制御を行っている。10は同期発生回路で、一画素毎
に同期をとるためのクロック信号とビデオ信号に同期さ
せるための同期信号を発生している。11はタイミング発
生回路で、マイクロコンピュータ9の指示を受けて、ク
ロック信号と同期信号に同期したアドレスカウンタ用の
クリア信号及び直・並列(S/P)変換,並・直列(P/S)
変換用の制御信号を発生する。なお、これらのものは第
1図では図示を省略している。
9 is a microcomputer with a threshold value B
And the default value G, and controls each part of the compression / decompression mechanism. Reference numeral 10 denotes a synchronization generation circuit which generates a clock signal for synchronizing each pixel and a synchronizing signal for synchronizing with a video signal. Reference numeral 11 denotes a timing generation circuit, which receives an instruction from the microcomputer 9 and clears an address counter synchronized with a clock signal and a synchronization signal, and performs serial / parallel (S / P) conversion and parallel / serial (P / S).
Generate a control signal for conversion. These components are not shown in FIG.

ビデオディジタル入力信号Aとレジスタ12(第1図の
3に対応する)にセットされたスレッシュホールド値B
とを比較器13が比較し、その出力は選択信号Cと共に排
他的論理和ゲート(XOR)14に入力される。このXOR14は
出力が第1図で説明した比較手段2の出力Dに相当する
ものである。
Video digital input signal A and threshold value B set in register 12 (corresponding to 3 in FIG. 1)
The output of the comparator 13 is input to the exclusive OR gate (XOR) 14 together with the selection signal C. The output of the XOR 14 corresponds to the output D of the comparison means 2 described with reference to FIG.

比較器13はA>Bなら“1"を出力しA≦Bなら“0"を
出力するものとする。XOR14のもう一方の入力即ち選択
信号Cが例えば“0"だとすると、A>Bのとき出力Dは
“1"になる。選択信号Cを“1"にすると、比較器13の比
較においてA≦BのときXOR14の出力Dが“1"となる。
つまり、比較器13とXOR14とで、選択信号Cにより比較
機能の設定をしている。
The comparator 13 outputs “1” if A> B, and outputs “0” if A ≦ B. If the other input of XOR14, that is, the selection signal C is, for example, "0", the output D becomes "1" when A> B. When the selection signal C is set to "1", the output D of the XOR 14 becomes "1" when A≤B in the comparison of the comparator 13.
That is, the comparator 13 and the XOR 14 set the comparison function by the selection signal C.

出力Dが“1"になると、圧縮データRAM15にビデオデ
ィジタル入力信号Aが圧縮データFとして書き込まれ
る。また、圧縮データRAM15のアドレスカウンタ16はク
ロック入力に出力Dがスイッチ17を介して接続されてい
るので、1つカウントアップされる。
When the output D becomes "1", the video digital input signal A is written into the compressed data RAM 15 as compressed data F. Further, the address D of the address counter 16 of the compressed data RAM 15 is counted up by one because the output D is connected to the clock input via the switch 17.

圧縮データRAM15に書き込まれた圧縮データが画面の
どの画素に対応しているかは、出力Dの値をマップ(MA
P)データとしてマップRAM18に書き込む。マップRAM18
のアドレスカウンタ19は同期発生回路10から与えられる
クロック信号によって1つカウントアップする。ここ
で、マップRAM18は1byte/番地構成のRAMを用いているの
で、8画素分をまとめて書き込むために、直・並列(S/
P)変換器20を用いている。なお、第3図に画面を構成
している画素とマップRAM,圧縮データRAMの対応を示し
ておく。
To determine which pixel on the screen corresponds to the compressed data written in the compressed data RAM 15, the value of the output D is mapped (MA
P) Write to the map RAM 18 as data. Map RAM18
Address counter 19 counts up by one in response to a clock signal supplied from synchronization generation circuit 10. Here, since the map RAM 18 uses a RAM of 1 byte / address, in order to write eight pixels at a time, the serial / parallel (S /
P) A converter 20 is used. FIG. 3 shows the correspondence between the pixels constituting the screen, the map RAM, and the compressed data RAM.

伸長時は、マップRAM18から順次8画素分ずつマップ
データを読み出し、並・直列(P/S)変換器21により一
画素分ずつのマップデータを取り出す。この出力Eが
“1"のときのみ、圧縮データRAM15から圧縮データを読
み出し、マルチプレクサ(MPX)22(第1図の切換手段
6に対応)を用いてビデオディジタル伸長出力信号Hと
して出力させ、出力Eが“0"のときはレジスタ23(第1
図の7に対応する)にセットされたデフォルト値をビデ
オディジタル伸長出力信号として出力させる。また、ア
ドレスカウンタ16はクロック入力に出力Eがスイッチ17
を介して与えられているので、1つカウントアップされ
る。
At the time of decompression, map data for eight pixels is sequentially read from the map RAM 18 and the parallel / serial (P / S) converter 21 extracts map data for each pixel. Only when this output E is "1", the compressed data is read out from the compressed data RAM 15 and output as a video digital decompression output signal H using a multiplexer (MPX) 22 (corresponding to the switching means 6 in FIG. 1). When E is "0", register 23 (first
The default value set in (corresponding to 7 in FIG. 7) is output as a video digital expansion output signal. Also, the address counter 16 outputs the clock E to the switch 17 as the output E.
Is incremented by one.

以上のように、高速な圧縮・伸長が単純な回路を用い
て実現される。
As described above, high-speed compression / decompression is realized using a simple circuit.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明によれば、簡単な回路構
成で画像データを高速に圧縮・伸長でき、記憶装置への
収納データ数を増やすことができる。また、スレッシュ
ホールド値とデフォルト値の設定の仕方で、所望の中間
調レベルを含む画像データを忠実に記憶・保管できる
し、再生時に所望のコントラストをつけた画像も作れ
る。したがって、種々の分野の画像ファイリングに効果
を奏する。
As described above, according to the present invention, image data can be compressed and decompressed at high speed with a simple circuit configuration, and the number of data stored in the storage device can be increased. In addition, by setting the threshold value and the default value, image data including a desired halftone level can be faithfully stored and stored, and an image having a desired contrast can be created at the time of reproduction. Therefore, it is effective for image filing in various fields.

例えば、X線画像,MRI画像,超音波画像データ等を扱
う医療分野の画像ファイリング装置では、画像における
特徴抽出手段にも役立ち、診断の効果が向上する。
For example, in an image filing apparatus in the medical field that handles X-ray images, MRI images, ultrasonic image data, and the like, it is also useful as a feature extraction unit in an image, and the effect of diagnosis is improved.

また、主として文字画面等を扱うもの、例えば金融機
関等で使われている印鑑の登録・照合用の画像ファイリ
ング装置では、処理の高速化,圧縮率の向上が図られ
る。
Further, an image filing apparatus mainly for handling character screens and the like, for example, an image filing apparatus for registering and verifying a seal used in a financial institution or the like can achieve high-speed processing and an improved compression ratio.

単色で陰影を伴う画像(例えば印影)等の圧縮は、本
発明と従来の一次元符号化圧縮論理(例えばG IIIファ
クシミリにおけるMH符号化)を併用することにより、1/
10〜1/30程度の圧縮率が期待できる。
Compression of an image with a shade in a single color (for example, a seal) is performed by using the present invention in combination with the conventional one-dimensional coding compression logic (for example, MH coding in GIII facsimile).
A compression ratio of about 10 to 1/30 can be expected.

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

第1図は本発明の機能ブロック図、第2図は本発明の実
施例のブロック図、第3図は画面を構成している画素と
マップRAM,圧縮データRAMの対応を示す図である。 1……入力端子、 2……比較手段、 3……第1の記憶手段、 4……第2の記憶手段、 5……第3の記憶手段、 6……切換手段、 7……第4の記憶手段、 8……出力端子。
FIG. 1 is a functional block diagram of the present invention, FIG. 2 is a block diagram of an embodiment of the present invention, and FIG. 3 is a diagram showing correspondence between pixels constituting a screen and a map RAM and a compressed data RAM. 1 ... input terminal, 2 ... comparison means, 3 ... first storage means, 4 ... second storage means, 5 ... third storage means, 6 ... switching means, 7 ... fourth 8 ... Output terminal.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】画像信号をディジタル化したビデオディジ
タル入力信号と該ビデオディジタル入力信号から圧縮デ
ータを抽出するための条件を規定するスレッシュホール
ド値とを比較して比較条件を満足したときに出力をアク
ティブにする比較手段と、上記スレッシュホールド値を
記憶しておく第1の記憶手段と、上記比較手段の出力の
状態をマップデータとして記憶する第2の記憶手段と、
上記比較手段の出力がアクティブの時だけ上記ビデオデ
ィジタル入力信号を圧縮データとして記憶する第3の記
憶手段を具備してなる画像データ圧縮処理部と、 前記第3の記憶手段が記憶した圧縮データと該圧縮デー
タを伸長するための条件を規定するデフォルト値との2
つを入力として前記第2の記憶手段からのマップデータ
に基づき上記2つの入力を切換えてビデオディジタル伸
長出力信号として出力させる切換手段と、上記デフォル
ト値を記憶しておく第4の記憶手段を具備してなる圧縮
データ伸長処理部を備えて構成した画像データの圧縮・
伸長機構。
1. A video digital input signal obtained by digitizing an image signal is compared with a threshold value defining a condition for extracting compressed data from the video digital input signal. Comparing means for making active, first storing means for storing the threshold value, second storing means for storing the output state of the comparing means as map data,
An image data compression processing unit comprising third storage means for storing the video digital input signal as compressed data only when the output of the comparison means is active; and compressed data stored in the third storage means. 2 with the default value that defines the conditions for decompressing the compressed data
Switching means for switching the two inputs based on the map data from the second storage means and outputting as a video digital decompression output signal, and a fourth storage means for storing the default value. Image data compression / decompression processing unit
Extension mechanism.
JP14857488A 1988-06-16 1988-06-16 Image data compression / decompression mechanism Expired - Lifetime JP2706672B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14857488A JP2706672B2 (en) 1988-06-16 1988-06-16 Image data compression / decompression mechanism

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14857488A JP2706672B2 (en) 1988-06-16 1988-06-16 Image data compression / decompression mechanism

Publications (2)

Publication Number Publication Date
JPH01316082A JPH01316082A (en) 1989-12-20
JP2706672B2 true JP2706672B2 (en) 1998-01-28

Family

ID=15455789

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14857488A Expired - Lifetime JP2706672B2 (en) 1988-06-16 1988-06-16 Image data compression / decompression mechanism

Country Status (1)

Country Link
JP (1) JP2706672B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62206981A (en) * 1986-03-07 1987-09-11 Nippon Telegr & Teleph Corp <Ntt> Coding processing system
JP2518224B2 (en) * 1986-08-28 1996-07-24 ソニー株式会社 High efficiency encoder

Also Published As

Publication number Publication date
JPH01316082A (en) 1989-12-20

Similar Documents

Publication Publication Date Title
JPH08511385A (en) Adaptive image compression using variable quantization
JP3189031B2 (en) Data rate conversion method and apparatus
JP4245139B2 (en) Image processing device
US6661452B1 (en) Digital camera capable of decreasing a required memory capacity
JP2706672B2 (en) Image data compression / decompression mechanism
JPH088647B2 (en) Run-length coding method and apparatus
US7460718B2 (en) Conversion device for performing a raster scan conversion between a JPEG decoder and an image memory
JP3178665B2 (en) Image size conversion method and device therefor
JPH10341437A (en) Image processing method and device therefor
JP4266477B2 (en) Information processing apparatus and control method thereof
JP3307703B2 (en) Image compression / decompression device
JP2001028749A (en) Device for image compression/expansion and display
KR100260889B1 (en) Circuit and method of generating addresses for processing 8 bit digital image signal
KR940011494B1 (en) Data recording apparatus of digital still camera
KR960005686Y1 (en) Address signal generator of jpeg decoder
JP3082930B2 (en) Image processing device
JPH0283578A (en) Device and method for image data display
JPH04204594A (en) High-precision display device
JPH11127438A (en) Method for managing memory for moving image decoding device and device therefor
JP2744229B2 (en) Image processing device
JP3690102B2 (en) Image processing apparatus and image processing method
JP3233480B2 (en) Image compression / expansion circuit device
JPH05236429A (en) Device and method for reproducing image
JPS6410153B2 (en)
JPH08195928A (en) Data compressing and editing system

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081017

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081017

Year of fee payment: 11