JPH04156182A - Picture processing system - Google Patents

Picture processing system

Info

Publication number
JPH04156182A
JPH04156182A JP2281435A JP28143590A JPH04156182A JP H04156182 A JPH04156182 A JP H04156182A JP 2281435 A JP2281435 A JP 2281435A JP 28143590 A JP28143590 A JP 28143590A JP H04156182 A JPH04156182 A JP H04156182A
Authority
JP
Japan
Prior art keywords
block
compressed data
section
bat
image
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
JP2281435A
Other languages
Japanese (ja)
Inventor
Yoshiharu Arai
荒井 美晴
Koyo Nakagawa
幸洋 中川
Toshiyuki Yoshitake
敏幸 吉武
Toshiyuki Goto
敏行 後藤
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2281435A priority Critical patent/JPH04156182A/en
Publication of JPH04156182A publication Critical patent/JPH04156182A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain high speed extraction of a data corresponding to a part from an indefinite length compression data by providing an input section, a block position conversion section, a segmented position designation section, a segmented size storage section, a block address table BAT and a compressed data storage section CD to the system. CONSTITUTION:Since a block size to be segmented from a segmented size storage section 4 is inputted to a segmented position designation section 3, it is recognized that a range up to a block (m+2, n+1) from a block (m, n) as a head is to be segmented. Then at first a block address table BAT is accessed to obtain a head address (pointer) is obtained and it is read from a compressed data storage section CD and a head address in which a compressed data of a block (m+1, n) is described is obtained and its compressed data is read. Thus, the compressed data described address is obtained by the block address table BAT. Thus, the data is read at a high speed.

Description

【発明の詳細な説明】 〔目次〕 概要 産業上の利用分野 従来の技術(第8図、第9図) 発明が解決しようとする課題 課題を解決するための手段(第1図) 作用 実施例 (1)  第1実施例(第2図) (2)第2実施例く第3図、第4図、第5図)(3)第
3実施例(第6図) (4)第4実施例(第7図) 発明の効果 〔概要〕 画像処理方式に関し。
[Detailed description of the invention] [Table of contents] Overview Industrial field of application Prior art (Figures 8 and 9) Means for solving the problem to be solved by the invention (Figure 1) Working examples (1) First example (Fig. 2) (2) Second example (Figs. 3, 4, and 5) (3) Third example (Fig. 6) (4) Fourth example Example (Figure 7) Effects of the invention [Summary] Regarding image processing method.

ブロック・アドレスeテーブルにより圧縮データの切出
し位置を容易に得るようにすることを目的とし。
The purpose is to easily obtain the extraction position of compressed data using a block address e-table.

分割された*@2oツク毎に符号化を行って画像圧縮書
復元を行う画像処理方式において2画儂ブロック毎の圧
縮データを保持する圧縮データ保持手段と、圧縮データ
の記入位置を示すブロック・アドレスeテーブルと、入
力指示位置に対応するブロック位置を出力するプルツク
位置変換手段と、ブロック・アドレス・テーブルにアク
セスしてその切出すべきブロックの圧縮データの記入位
置を得て、これにもとづき圧縮データを得る切出位置指
定手段を具備したことを特徴とする。
In an image processing method that performs encoding for each divided *@2o block and restores the compressed image, there is a compressed data holding means for holding compressed data for each two-stroke block, and a block indicating the entry position of the compressed data. An address e-table, a pull position conversion means that outputs a block position corresponding to the input specified position, and a block address table to obtain the entry position of the compressed data of the block to be cut out, and perform compression based on this. The present invention is characterized in that it includes a cutout position designation means for obtaining data.

〔産業上の利用分野〕[Industrial application field]

本発明は画像処理方式に係り、特に分割されたブロック
毎に符号化を行う画像圧縮―復元(;際し。
The present invention relates to an image processing method, and in particular to image compression and restoration in which encoding is performed for each divided block.

圧縮データから任意の画像の部分に対する圧縮データを
高速に取出すことができるようにしたものに関する。
The present invention relates to an apparatus that enables compressed data for any part of an image to be extracted from compressed data at high speed.

〔従来の技術〕 近年1画像のデータベース化が要求されており。[Conventional technology] In recent years, there has been a demand for creating a database of a single image.

それに伴って画像を効率的に圧縮して蓄積したり。Along with this, images can be efficiently compressed and stored.

この蓄積したものを迅速に復元・表示する技術が要求さ
れている。
There is a need for technology to quickly restore and display this accumulated information.

一般に画像データは1文学・数値データに比較して、デ
ータ量が極めて大きいため、効率的なデータ圧縮技術が
望まれている。符号化の技術としては、予測符号化、ベ
クトル量子化、ブロック符号化、変換符号化など、多く
の技術が提案されているが、なかでも変換符号化は圧縮
率及び品質の点で有効といわれている。
In general, image data has an extremely large amount of data compared to literary and numerical data, so efficient data compression technology is desired. Many coding techniques have been proposed, such as predictive coding, vector quantization, block coding, and transform coding, but transform coding is said to be particularly effective in terms of compression rate and quality. ing.

変換符号化では1画像を、適当な数の画素(例えば8×
8)の部分画*(ブロック)に分割して。
In transform encoding, one image is divided into an appropriate number of pixels (e.g. 8×
8) Divide into partial pictures * (blocks).

各ブロックを直交変換(高速フーリエ変換)シ。Each block is orthogonally transformed (fast Fourier transform).

エネルギーを集中させた後、変換データを量子化するこ
とにより、データ量を圧縮するものである0したがって
変換データの各スペクトルに割り当てるビット数によっ
て全体のデータ量が決ってくる。
After concentrating energy, the amount of data is compressed by quantizing the converted data. Therefore, the total amount of data is determined by the number of bits allocated to each spectrum of the converted data.

そしてこの割り当てるビット数を画像全体の統計的な性
質に基づいて適応的に決定する手法によって、効率的な
データ圧縮を可能にしている。
Efficient data compression is made possible by adaptively determining the number of bits to be allocated based on the statistical properties of the entire image.

そしてこのような方式により圧縮された画像データを高
速に復元・表示する技術が必要となる。
There is a need for a technique for quickly restoring and displaying image data compressed using such a method.

この技術の1つとして圧縮データをそのままチャネル経
由で転送し、デイスプレィのローカル機能で高速に復元
・表示する装置が開発されている(例えば特開平2−6
8673号公報参照)。
As one of these technologies, a device has been developed that transfers compressed data as it is via a channel and quickly decompresses and displays it using the display's local function (for example, Japanese Patent Laid-Open No. 2-6
(See Publication No. 8673).

この装置は、圧縮データを利用して2画像の拡大表示や
諧調変換等の処理を行うローカル機能も備えている。し
かし、前記方式で圧縮したデータは固定長ではなく、各
ブロックの大きさが不定長であるために、後述するよう
に9画像の一部分に対して拡大表示などの処理を行う場
合、目的の領域を取り出すためには圧縮データをその先
頭から走査しなければならず、その処理(:時間がかか
る。
This device also has a local function that uses compressed data to perform processing such as enlarged display of two images and gradation conversion. However, the data compressed using the above method does not have a fixed length, but the size of each block is undefined. In order to extract the compressed data, the compressed data must be scanned from the beginning, and that process (: takes time.

そこで圧縮データを走査することなく、目的の領域を高
速に取り出す技術が必要となる。
Therefore, a technology is needed to quickly extract the target area without scanning the compressed data.

ところで、第8図に、前記変換符号化の1種であるアダ
プティブ離散コサイン変換符号化(Adaptive 
Discrete Co51n Transform 
coding:ADCT)により圧縮された画像データ
の書式を示す。最初に総バイト数が記入され2次に1枚
の画像のX、Y方向の各サイズが記入される。この方式
では2分割された画像の各ブロックを5つのクラス(C
o NCx ; x=4 )に分類し、そのクラス毎に
割り当てるビット数および正規化係数を求め、変換デー
タを量子化している。
By the way, FIG. 8 shows adaptive discrete cosine transform coding, which is one type of transform coding.
Discrete Co51n Transform
This shows the format of image data compressed by coding:ADCT). First, the total number of bytes is written, and secondly, the size of each image in the X and Y directions is written. In this method, each block of an image divided into two is divided into five classes (C
o NCx;

すなわち各ブロックの分散値を計算し2分散値のヒスト
グラムをもと1二前記クラスわけな行う。
That is, the variance value of each block is calculated and divided into 12 classes based on the histogram of the 2 variance values.

第8図に示す圧縮データ中のビット割り当てテーブルB
Tは、前記クラス毎:二その各要素毎に割り当てるビッ
ト数が記入されている。なおこのビット数はクラスによ
り固定であるが、各クラス毎に異なっている0正規化テ
ーブルは、クラス毎のDCT変換値の2乗平均:二もと
づき正規化係数を求めクラス毎に圧縮化されているもの
である。
Bit allocation table B in compressed data shown in Figure 8
In T, the number of bits to be allocated to each element is written for each class. Note that this number of bits is fixed for each class, but the zero normalization table, which is different for each class, is compressed for each class by calculating the normalization coefficient based on the root mean square of the DCT transformed value for each class. It is something that exists.

そして画像の圧縮データCDo 、 CDi・・・はブ
ロック毎に書き並べられたものである。
The compressed image data CDo, CDi, etc. are written and arranged in blocks.

ところでこれら画像の圧縮データCDo、 CD1・・
・の大きさはそのブロックの属するクラス(Co−C4
)により異なり、そのクラスの大きさは前記ビット割り
当てテーブルBTにより定められる。
By the way, the compressed data of these images CDo, CD1...
・The size of the block belongs to the class (Co-C4
), and the size of the class is determined by the bit allocation table BT.

したがって、第9図に示す如く1画像の一部分すなわち
部分画像りを取出す場合、圧縮データの先頭ブロックか
ら順に、すなわちBo、B1・・・と順に走査すること
により実行していた。
Therefore, when extracting a portion of one image, that is, a partial image, as shown in FIG. 9, it has been performed by scanning the compressed data in order from the first block, ie, Bo, B1, . . . .

その手順を次に説明する。まず、第8図に示す如く、ビ
ット割り当てテーブルBTを復元して。
The procedure will be explained next. First, as shown in FIG. 8, the bit allocation table BT is restored.

各クラスCo = C4のブロックデータの大きさBS
(Cm)(n=Q、1,2..3,4 )を求める。次
に第9図(二示す、最初のブロックBoの圧縮データC
Doの先頭に記入されたフラグよりクラス番号Cを取り
出す。第9図(ハ)の例ではクラス番号C。
Each class Co = block data size BS of C4
Find (Cm) (n=Q, 1, 2.. 3, 4). Next, in FIG. 9 (2), the compressed data C of the first block Bo
The class number C is extracted from the flag written at the beginning of Do. In the example of FIG. 9(c), the class number is C.

であり、これにより前記ビット割り当てテーブルBTよ
り得られたクラス番号Coのブロックの圧縮データの大
きさBS(C6)を得る。そしてこの大きさBS(Co
)を、前記最初のブロックBoの先頭アドレスADRo
に加算し1次のブロックBlの先頭アドレスA D R
lを得る。なお、このクラス毎の圧縮データの大きさは
、前記ビット割り当てテーブルζ二おけるクラスの要素
毎のビット数の和である。
Thus, the size BS (C6) of the compressed data of the block of class number Co obtained from the bit allocation table BT is obtained. And this size BS(Co
), the start address ADRo of the first block Bo
is added to the start address of the primary block Bl ADR
get l. Note that the size of the compressed data for each class is the sum of the number of bits for each element of the class in the bit allocation table ζ2.

すなわち ADR1= ADRo + B8 (Co)である0 これを所望の部分画像りの先頭ブロックまで繰り返し、
先頭ブロックに達したら、同様;二して部分画像りの一
部分(Xo = XL )を取り出す。次(二再び、圧
縮データを走査し1部分画像りの2行目のデータを取り
出す。このような操作を部分画偉の縦のブロック数分繰
り返して部分画偉りの圧縮データを得る。
That is, ADR1 = ADRo + B8 (Co) 0. Repeat this until the first block of the desired partial image,
When the first block is reached, a portion (Xo = XL) of the partial image is extracted in the same manner. Next, the compressed data is scanned again and the second row of data of one partial image is extracted.Such operations are repeated for the number of vertical blocks of the partial image to obtain compressed data of the partial image.

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

したがって9例えば画像の一部分(二拡犬表示等の処理
を行うためにこれを部分的に取り出す場合。
Therefore, for example, when a part of the image is extracted for processing such as enlarged dog display.

前記の如く、その圧縮データは、クラス(二よ蚤〕大き
さが異なる複数のクラスのものが混在するため。
As mentioned above, the compressed data contains a mixture of multiple classes with different sizes.

これらを走査するのに時間を要し、処理の高速化がはか
れないという問題があった0 本発明の目的は、#J像の一部を切り出すような場合、
不定長圧縮データからその部分に対応するデータを高速
に取り出すことができるようにした画像処理方式を提供
することである。
There is a problem in that it takes time to scan these images, making it impossible to speed up the processing.The purpose of the present invention is to
An object of the present invention is to provide an image processing method that can quickly extract data corresponding to a portion from undefined length compressed data.

〔課題を解決するための手段〕 前記の目的を達成するため2本発明では、第1図(8)
に示す如く、入力部1.ブロック位置変換部2、切出位
置指定部3.切出サイズ保持部4.ブロック・アドレス
晦テーブルBAT、圧縮データ保持部CDを具備する。
[Means for solving the problem] In order to achieve the above-mentioned object, the present invention provides two methods as shown in Fig. 1 (8).
As shown in the figure, the input section 1. Block position converter 2, cutout position designator 3. Cutting size holding section 4. It is equipped with a block address table BAT and a compressed data holding section CD.

本発明では、第1図CB)!’:示す如く1表示画面P
は複数のブロックに区分けられている。第1図(5)で
は、横方向にN+1個、縦方向にN+1個のブロックに
区分けした例を示す0そして各ブロックは2例えば16
X16画素の大きさで構成されている。
In the present invention, FIG. 1 CB)! ': 1 display screen P as shown
is divided into multiple blocks. Figure 1 (5) shows an example of partitioning into N+1 blocks in the horizontal direction and N+1 blocks in the vertical direction.
It is configured with a size of x16 pixels.

また圧縮データ保持部CDには、各ブロックの圧縮デー
タを記入しておくoそしてブロック・アドレス・テーブ
ルBATには、各ブロックの圧縮データ記入光の先頭ア
ドレスを示すポインタがブロック順に記入されている。
In addition, the compressed data of each block is written in the compressed data holding unit CD, and the pointer indicating the start address of the compressed data writing light of each block is written in the block order in the block address table BAT. .

なお、切出サイズ保持部4には切り出される部分画像の
サイズがブロック単位で示されるものであり9例えばX
方向が3ブロツク、X方向が2ブロツクのときこれらの
各ブロック長が記入されている。
Note that the size of the partial image to be cut out is shown in block units in the cutout size holding unit 4;
When there are 3 blocks in the direction and 2 blocks in the X direction, the length of each block is entered.

〔作用〕[Effect]

いま、オペレータが例えばライトペンにより。 Now, the operator uses, for example, a light pen.

切り出し先の位置として、第1図日に示す点Sを表示画
面P上で指定したとき、入力部1ではこの点Sの信号が
入力され、これがX、X方向の座標信号として出力され
る。この点Sの座標信号がブロック位置変換部2に入力
され2点Sのブロック(m、n)が出力される。
When the point S shown in FIG. 1 is specified on the display screen P as the cutting destination position, the signal of this point S is input to the input section 1, and this is output as a coordinate signal in the X and X directions. The coordinate signal of this point S is input to the block position converter 2, and a block (m, n) of two points S is output.

切出位置指定部3には、切出サイズ保持部4から切り出
すべきブロックサイズ(3X2 )すなわちX方向3ブ
ロツクY方向2ブロツクが入力されているので、ブロッ
ク(m、n)を先頭にしてブロック(m+2.−n+1
)までの範囲を切出すことを認識する0そしてこれにも
とづき、まずブロック・アドレス・テーブルBATをア
クセスしてブロック(m、n)の圧縮データの記入され
ている先頭アドレス(ポインタ)を求めて圧縮データ保
持部CDよりこれをよみ出し9次にブロック(m+1.
’n )の圧縮データの記入されている先頭アドレスを
求めてその圧縮データをよみ出す。
Since the block size (3X2) to be cut out, that is, 3 blocks in the X direction and 2 blocks in the Y direction, is input to the cutout position specifying part 3 from the cutout size holding part 4, the blocks are (m+2.-n+1
) recognizes that the range up to This is read out from the compressed data holding unit CD and stored in the 9th block (m+1.
Find the start address where the compressed data 'n) is written and read out the compressed data.

このよう−にして所定の範囲の圧縮データを順次よみ出
し、これを復元して部分画像を得る。
In this way, a predetermined range of compressed data is sequentially read out and restored to obtain a partial image.

このように2本発明によれば、ブロック・アドレス・テ
ーブルBATにより直接圧縮データ記入光がわかるので
、高速にこれらを読み出すことができる。
As described above, according to the present invention, since the compressed data writing light can be determined directly from the block address table BAT, these can be read out at high speed.

〔実施例〕〔Example〕

(1)  第1実施例 本発明の第1実施例を第2図にもとづき説明する0 第2図において、第1図と同−符号部は同一部を示す0 1は入力部であってライトペンやマウスの女口き指示部
からの信号を受けてその座標信号を出力するもの、2は
ブロック位置変換部であって入力部1から伝達された座
標信号に応じてそれ力;位置するブロック信号を出力す
るものであ01例え)(第1図の)の点Sが入力された
とき、ブロック(m。
(1) First Embodiment The first embodiment of the present invention will be explained based on FIG. 2. 0 In FIG. 2, the same reference numerals as in FIG. 2 is a block position conversion unit that receives a signal from the female mouth instruction part of a pen or mouse and outputs the coordinate signal; 2 is a block position conversion unit that converts the position according to the coordinate signal transmitted from the input unit 1; For example, when point S of block (m.

n)を出力するものである。このため、ブロックサイズ
(例えば16X16)、全画像サイズ等の座標信号から
ブロック位置を算出するため)二必要なデータがこれに
保持されて(Xる0 3は切出位置指定部でありて、前記ブロック位置変換部
2から送出されたブロック信号と、切出サイズ保持部4
から伝達される部分画像の切出サイズ:二もとづき切出
すべきブロック位置を認識し。
n). For this reason, two necessary data (to calculate the block position from coordinate signals such as block size (for example, 16x16), total image size, etc.) are held in this (Xru03 is the cutting position designation part, The block signal sent from the block position conversion section 2 and the cutout size holding section 4
The cutout size of the partial image transmitted from: Recognize the block position to be cut out based on the following.

これ;二もとづきブロック・アドレス・テーブルBAT
をアクセスして所望のブロックの圧縮データ記入先アド
レスを得、これ(;もとづき圧縮データ保持部CDより
所望のブロックの圧縮データな得るものである。
This: Bi-based block address table BAT
is accessed to obtain the compressed data entry address of the desired block, and the compressed data of the desired block can be obtained from the compressed data holding unit CD.

切出サイズ保持部4は、切出すべき部分画像のサイズが
記入されるものであり、X方向にaブロック、X方向に
bブロックの大きさで切出す場合。
The cropping size holding section 4 is used to record the size of a partial image to be cropped, when the partial image is to be cropped in the size of a block in the X direction and b block in the X direction.

a−bの形で記入されている。例えばa=3.b=2が
記入されている。
It is written in the form a-b. For example, a=3. b=2 is entered.

5はメモリであり、ブロック・アドレス・テーブルBA
T及び圧縮データ保持部CDを有するものである0ブロ
ツクΦアドレス・テーブルBATは、各ブロックの圧縮
データが記入されているメモリの先頭アドレスが記入さ
れているものであり。
5 is memory, block address table BA
The 0 block Φ address table BAT, which has a compressed data holding section CD, has the starting address of the memory in which the compressed data of each block is written.

第2図(B)に示す如く、ブロック・アドレス・テーブ
ルBATの先頭にはタグTAGが付加され、圧縮データ
にブロック・アドレス・テーブルBATが付けられてい
ることが示されている。また圧縮データ保持部CDは、
前記第7図について説明した従来の画像圧縮データと同
じものであり、圧縮データの総バイト数2画像サイズ(
X方向)。
As shown in FIG. 2(B), a tag TAG is added to the beginning of the block address table BAT, indicating that the block address table BAT is attached to the compressed data. In addition, the compressed data holding unit CD is
This is the same as the conventional compressed image data explained with reference to FIG.
(X direction).

(Y方向)、ビット割り当てテーブル、正規化テーブル
、各ブロック毎の圧縮データ等で構成されている。
(Y direction), a bit allocation table, a normalization table, compressed data for each block, etc.

6は圧縮データ復元部であり、切出位置指定部3が圧縮
データ保持部CDから読み出したブロックの圧縮データ
を復元し、デイスプレィ制御部7に送出するものである
A compressed data restoring section 6 restores the compressed data of the block read out from the compressed data holding section CD by the cutting position specifying section 3 and sends it to the display control section 7.

デイスプレィ制御部7は圧縮データ復元部6から送出さ
れた復元データをCRTの如き表示部8に表示するため
の制御を行うものである。
The display control section 7 performs control to display the restored data sent from the compressed data restoration section 6 on a display section 8 such as a CRT.

表示部8は9例えば画像を表示するものであり。The display section 8 is for displaying, for example, an image.

CRTで構成されているが、液晶等信の表示器を使用し
てもよい。
Although it is composed of a CRT, a display such as a liquid crystal display may also be used.

制御部10は2画偉処理装置全体を総合的(二制御する
ものであり9例えばCPUで構成されており、圧縮デー
タ保持部CDより切り出した部分画像を拡大表示するた
めの制御などを行う0なお、ブロック・アドレス・テー
ブルBATは。
The control unit 10 comprehensively controls the entire 2-image processing device, and is composed of, for example, a CPU, and performs control such as enlarging and displaying a partial image cut out from the compressed data storage unit CD. Note that the block address table BAT is as follows.

画像の圧縮時に生成しておく。Generate it when compressing an image.

次に、第2図の動作について、第1図を参照しつつ説明
する。
Next, the operation shown in FIG. 2 will be explained with reference to FIG. 1.

いま、オペレータが2図示省略した1例えば2イトペン
により、第1図(至)に示す表示画面P上の点Sを指示
すると、この指示信号が入力部1に入力され、その座標
信号が入力部1より出力される。
Now, when the operator indicates a point S on the display screen P shown in FIG. Output from 1.

ブロック位置変換部2は、これにもとづき、ブロック(
m、n)であることを算出し、これを切出位置指定部3
に送出する。
Based on this, the block position conversion unit 2 converts the block (
m, n), and calculates this as the cutting position specifying unit 3.
Send to.

このとき、切出サイズ保持部4にa=3.b=2が記入
されているので、これらの数値が切出位置指定部3に送
出される。したがって切出位置指定部3は前記(m、n
)とa = 3 、  b = 2 ニもとづき、第1
図の)に示すブロック(m、  n)、(m+1*  
”)y  (m+2*  ”L  <mp  ”+1 
)+(m−1−1,n+1 )t  (m−4−2,r
t−4−1)が読み出すべき部分画像の範囲であること
を認識する。
At this time, a=3. Since b=2 is entered, these numerical values are sent to the cutting position specifying section 3. Therefore, the cutout position designation section 3 has the above (m, n
) and a = 3, b = 2.
Blocks (m, n), (m+1*
”)y (m+2* “L <mp”+1
)+(m-1-1,n+1)t(m-4-2,r
It is recognized that t-4-1) is the range of the partial image to be read out.

そしてブロック・アドレス・テーブルBATからまずブ
ロック(m、n)の圧縮データの先頭アドレスをよみと
り、これにもとづき切出位置指定部3は圧縮データ保持
部CDよりブロック(m、a)の圧縮データを読み出し
、これを圧縮データ復元部6に送出して原データに復元
し、デイスプレィ制御部7にこれを送り2表示部8の所
定の位置にこの復元画儂を表示する。このとき、拡大表
示する場合には、制御部10からその倍率が送られてく
るので、デイスプレィ制御部7ではこれによる拡大処理
が行われることになる。
First, the start address of the compressed data of block (m, n) is read from the block address table BAT, and based on this, the cutout position specifying unit 3 reads the compressed data of block (m, a) from the compressed data holding unit CD. The compressed data is read out, sent to the compressed data restoration section 6 to be restored to original data, and sent to the display control section 7 to display the restored image at a predetermined position on the display section 8. At this time, if the image is to be enlarged and displayed, the magnification is sent from the control unit 10, and the display control unit 7 performs enlargement processing based on this.

このようにして、ブロック(m−)−1,n)。In this way, the block (m-)-1,n).

(m+2.n )、(mt  n+1 )、(m−4−
1,m+1)、(m+2.n+1)に対しても同様の処
理が行われ1部分画像を切出し表示処理することができ
る。
(m+2.n), (mt n+1), (m-4-
1, m+1) and (m+2.n+1), and one partial image can be cut out and displayed.

この際、最初に指定された部分画像の先頭ブロックのア
ドレスをブロック・アドレス・テーブルBATで求め、
それを圧縮データの先頭からのオフセットとしてもよい
。そのアドレスから部分画像の横1行分のブロックを取
り出す。そして次の行の先頭ブロックのアドレスを、同
様にブロック・アドレス・テーブルBATで得て、ブロ
ック1行分のデータを取り出すこともできる。このよう
な操作を部分画像の縦のブロック数分繰り返すことによ
り目的の部分画像を高速に取り出すことができる。
At this time, find the address of the first block of the first specified partial image using the block address table BAT,
This may be used as an offset from the beginning of the compressed data. A block corresponding to one horizontal line of the partial image is extracted from that address. Then, the address of the first block of the next row can be similarly obtained from the block address table BAT, and data for one block row can be taken out. By repeating this operation for the number of vertical blocks of the partial image, the desired partial image can be extracted at high speed.

このように本発明では、ブロックeアドレス・テーブル
により各ブロックの圧縮データの先頭位置が得られるの
で、必要な部分画像の圧縮データを高速に得ることがで
きる。
As described above, in the present invention, since the start position of compressed data of each block can be obtained from the block e-address table, compressed data of a necessary partial image can be obtained at high speed.

(2)第2実施例 本発明の第2実施例を第3図〜第5図にもとづき、第2
図、第8図を参照しつつ説明する。第3図は第2実施例
の概略説明図、第4図は第2実施例の構成図、第5図は
第2実施例の動作説明図である。
(2) Second Embodiment The second embodiment of the present invention will be described based on FIGS. 3 to 5.
This will be explained with reference to FIGS. FIG. 3 is a schematic explanatory diagram of the second embodiment, FIG. 4 is a configuration diagram of the second embodiment, and FIG. 5 is an explanatory diagram of the operation of the second embodiment.

前記第1実施例では、ブロック・アドレス・テーブルB
ATを圧縮データとともにデータベースに蓄積している
が、このブロック・アドレス・テーブルBATを、読み
出した従来方式の圧縮データから生成するようにしても
よい。これは圧縮データ全体を一回走査することにより
生成できる。
In the first embodiment, block address table B
Although the AT is stored in the database together with the compressed data, the block address table BAT may be generated from the conventionally read compressed data. This can be generated by scanning the entire compressed data once.

例えば、第3図(a)に示す如く、先ず部分画11Dt
の取り出しを第7図に示す従来方式の圧縮データにもと
づき行ない、このとき、走査した部分について第3図中
)に示す如く、ブロック・アドレス・テーブルを作成す
る。そして第3図(a)に示す如く次に部分画像り鵞の
取り出しを行うとき、第3図(b)に示すように、すで
に生成されているところまではブロック・アドレス・テ
ーブルを利用し、それ以外の部分については、従来方式
の圧縮データの走査を行うとともにブロック・アドレス
・テーブルの更新を行う。
For example, as shown in FIG. 3(a), first, the partial image 11Dt
is extracted based on the conventional compressed data shown in FIG. 7, and at this time, a block address table is created for the scanned portion as shown in FIG. 3). When the next partial image is extracted as shown in FIG. 3(a), the block address table is used up to the part that has already been generated, as shown in FIG. 3(b). For other parts, the conventional compressed data is scanned and the block address table is updated.

第4図に第2実施例の構成図を示す。図中、他図と同−
符号部は同一部を示す。
FIG. 4 shows a configuration diagram of the second embodiment. In the figure, same as other figures.
The coded parts indicate the same parts.

9はテーブル作成・切出処理部であり、ブロック・アド
レス・テーブルBATを作成したり、あるいは圧縮デー
タを読み出す処理を行うものであり、各クラスCo=C
a毎のブロックサイズを保持するブロックサイズ保持部
9−0や2表示すべきブロック範囲を指示する表示ブロ
ック指示部9−1、ブロック・アドレス・テーブルBA
Tが作成すべきブロック位置を示すBAT作成作成指示
−9が具備されている。
Reference numeral 9 denotes a table creation/cutting processing unit, which creates a block address table BAT or reads compressed data, and handles each class Co=C.
A block size holding section 9-0 that holds the block size for each a, a display block instruction section 9-1 that instructs the block range to be displayed, and a block address table BA.
A BAT creation instruction-9 indicating the block position where T should be created is provided.

次に第4図の動作について、第5図に示すフロ−チャー
トにもとづき、地図を参照しつつ説明−る。なお9部分
画像のブロックサイズa:=4.1=4の例について説
明する。
Next, the operation shown in FIG. 4 will be explained based on the flowchart shown in FIG. 5 and with reference to a map. An example in which the block size of 9 partial images is a:=4.1=4 will be explained.

■ オペレータは図示省略した。キーボードよ;コマン
ドを入力する。これにより制御部1oは。
■ Operator is not shown. Keyboard; enter commands. As a result, the control unit 1o.

図示省略した外部メモリより、第8図に示す如ぎ画偉圧
縮データを読み込み、これをメモリ5のと縮データ保持
部CDに格納する。
Image compression data as shown in FIG. 8 is read from an external memory (not shown) and stored in the compressed data storage section CD of the memory 5.

■ 次に制御部10は、テーブル作成切出処理B9に対
し、前記圧縮データ保持部CDからチーニルを読み出し
てこれを復元させる。そしてと71割当てテーブルより
各クラスCo=04のクラス自の圧縮データのブロック
サイズを求め、これをフロックサイズ保持部9−0に記
入する。これに」リブロックサイズ保持部9−0にはク
ラスCo (1ブロツクの圧縮データの大きさBS(o
)〜クラスC4のブロックの圧縮データの大きさBS(
4)がブロックサイズ保持部9−0に記入される。
(2) Next, the control section 10 reads the chiniru from the compressed data holding section CD and restores it in the table creation/cutting process B9. Then, the block size of the compressed data of each class Co=04 is determined from the allocation table 71, and this is entered in the block size holding section 9-0. In addition, the reblock size holding unit 9-0 has class Co (the size of one block of compressed data BS(o
) ~ Size of compressed data of block of class C4 BS (
4) is written in the block size holding section 9-0.

■ このとき、ブロック・アドレス・テーブルBATは
未作成でありどのブロックに対する圧縮テr  −夕の
先頭アドレスも記入されていないのでBAbT作戒指示
部9−2にはEX=0.EY:=oがそれぞれ記入され
る。なお(EX、EY)はブロク〕  り・アドレス・
テーブルBATにその圧縮データの先頭アドレスが記入
ずみの最終ブロックを示し4  ている。
■ At this time, the block address table BAT has not yet been created and the first address of the compressed text for any block has not been entered, so EX=0. EY:=o is entered respectively. (EX, EY) is a block] ri・address・
The start address of the compressed data in table BAT indicates the last block written.

E  ■ オペレータは、前記■におけるコマンド入力
後1例えばライトベンにより表示する部分画像のり  
位置を入力する。例えばPIを指示する。このPlro
  は入力部lに伝達されてその座標信号がブロック位
置変換部2;二出力され、ブロック位置変換部2f  
よりその先頭ブロックx=Xl、 y=Yoが出力さ′
  れる。これによりテーブル作成切出処理部9は。
E ■ After inputting the command in (■) above, the operator must
Enter location. For example, specify the PI. This Plro
is transmitted to the input section l, and its coordinate signal is outputted to the block position conversion section 2;
Therefore, the first block x=Xl, y=Yo is output'
It can be done. As a result, the table creation/extraction processing unit 9.

切出サイズ保持部4から伝達されているa=4゜〉  
b=4により、切り出す最終ブロック(x = X4 
a = 4゜〉 transmitted from the cutting size holding section 4
By b=4, the final block to be cut out (x=X4
.

y = ¥s )を演算し、前記先頭ブロック(Xl、
 、Yo )とともにこれらを表示ブロック指示部9−
1に記入する。
y = ¥s), and calculate the first block (Xl,
, Yo) as well as the display block instruction section 9-
Fill in 1.

■ それからテーブル作成切出処理部9は、前記°  
表示ブロック指示部9−1より表示すべき先頭ブロック
(Xl、Yo)についてのブロック・アドレス・テーブ
ルB・ATが作成ずみが否がを調らべるためにBAT作
成作成指示−9をチエツクする。
■ Then, the table creation/cutting processing unit 9 executes the
The display block instruction unit 9-1 checks the BAT creation instruction-9 to check whether the block address table B-AT for the first block (Xl, Yo) to be displayed has been created or not. .

これによりBATはフロック(0,0)からアクセスす
べきものであること、つまりブロック(XIYo )に
対するブロック・アドレス・テーブルBATは作成済で
ないことを認識する。
This recognizes that BAT should be accessed from block (0,0), that is, that the block address table BAT for block (XIYo) has not been created yet.

■ これによりテーブル作成・切出処理部9は。■ As a result, the table creation/cutting processing section 9.

BAT作成作成指示−9に記入された先頭ブロックであ
るブロック(0,0)よりブロック・アドレス拳テーブ
ルBATを作成するため、圧縮データ保持部CDのブロ
ック(0,0)の圧縮データより7ラグcoを読み込み
、ブロックサイズ保持部9−0よりそのクラスCoの圧
縮データ長すなわちブロックサイズBe(o)を得る。
In order to create a block address table BAT from block (0,0), which is the first block written in BAT creation creation instruction-9, 7 lags are created from the compressed data of block (0,0) in the compressed data holding unit CD. co is read, and the compressed data length of the class Co, that is, the block size Be(o) is obtained from the block size holding unit 9-0.

またブロック・アドレス拳テーブルBATのブロック(
0゜0)の区分にブ唄ツク(0,0)の圧縮データの先
頭アドレスADRoを記入する。セしてBAT作成作成
指示−9(二次のブロック(EX=1.BY=0)を記
入する。
Also block address fist table BAT block (
Write the start address ADRo of the compressed data of the book (0, 0) in the section 0°0). Enter BAT creation instruction-9 (secondary block (EX=1.BY=0)).

次に前記ブロックサイズBC(o)を先頭アドレスに加
算することによりブロック(1,0)の圧縮データの先
頭アドレスA D R1が得られるので。
Next, by adding the block size BC(o) to the start address, the start address ADR1 of the compressed data of block (1,0) can be obtained.

これをブロック−アドレス拳テーブルBATのプ、  
ロック(1,0)の区分に記入し、BAT作成作成指示
−9を書替え、また前記先頭アドレスによりメモリ5を
アクセスし、ブロック(1,0)の圧縮データより7ラ
グを読み出してクラスC1を得て、ブロックサイズ保持
部9−0よりクラスC1の圧縮データ長を得る。このよ
うなことを繰り返して、第3図中)に示す如く、ブロッ
クが構成されているとき、まずブロック(0,O)、(
1,O)〜(XE、O)、  (0,1)〜(XE、 
 1 )・・・と。
Block this - address fist table BAT,
Fill in the classification of lock (1, 0), rewrite the BAT creation instruction-9, access the memory 5 using the start address, read 7 lags from the compressed data of block (1, 0), and create class C1. Then, the compressed data length of class C1 is obtained from the block size holding unit 9-0. By repeating this process, as shown in Figure 3), when blocks are configured, first the blocks (0, O), (
1, O) ~ (XE, O), (0, 1) ~ (XE,
1)...and.

ブロックΦアドレス・テーブルBATが順次作成され、
これに応じてBAT作成作成指示−9が順次書替えられ
る。
Block Φ address table BAT is created sequentially,
In accordance with this, the BAT creation instruction-9 is sequentially rewritten.

■ このようにしてブロック(Xs 、 Yo )に対
するブロック・アドレス・テーブルBATの更新が行わ
れ、またBAT作成作成指示−92の書替えが行われる
とき、テーブル作成切出処理部9は表示ブロック指示部
9−1を照合したとき、これが表示すべき部分画像Dl
の範囲内であることを認識する。
■ When the block address table BAT for the block (Xs, Yo) is updated in this way and the BAT creation instruction-92 is rewritten, the table creation cutout processing section 9 uses the display block instruction section 9-1, this is the partial image Dl to be displayed.
Recognize that it is within the range of

■ これによりテーブル作成切出処理部9は、ブロック
(Xl、 Yo )の圧縮データを圧縮データ復元部6
に送出し、この1ブロツクが復元されてデイスプレィ制
御部7に送出され2表示部8に表示される。このような
処理が表示すべき部分画像D1():) 残’J (’
) 1行分(’) 7 ’ ツク(X2 * Yo )
 e  (Xs *Yo)、 (Xa、 Yo )につ
いて行われ、各ブロックが順次復元・表示されるととも
に、ブロック・アドレス・テーブルBATの作成が行わ
れ、またBAT作成作成指示−9が書替えられる0そし
て再び未表示部分のブロック(Xs、Yo)〜(XE。
■ As a result, the table creation/extraction processing section 9 converts the compressed data of block (Xl, Yo) into the compressed data decompression section 6.
This one block is restored and sent to the display control section 7 and displayed on the second display section 8. Partial image D1():) remaining 'J('
) 1 line (') 7 ' Tsuk (X2 * Yo)
e (Xs *Yo), (Xa, Yo), each block is sequentially restored and displayed, the block address table BAT is created, and the BAT creation instruction-9 is rewritten. Then, the undisplayed blocks (Xs, Yo) to (XE) are displayed again.

Yo )に対するブロック・アドレス・テーブルBAT
の作成及びBAT作成作成指示−9の書替えが行われる
。このようにして今度は次の行のブロック(0,Yt)
〜についての未表示部分のブロックに対するブロック・
アドレス・テーブルBATの作成及びBAT作成作成指
示−9の書替えが行われる0そしてブロック(Xl、Y
t)〜(Xa 、 Yt  )についての復元・表示、
ブロック・アドレス−テーブルBATの作成及びBAT
作成作成指示−9の書替えが行われる。このような処理
がブロック(Xa 、 Ys )まで行われたとき、テ
ーブル作成切出処理部9は表示ブロック指示部9−1の
照合により表示すべき部分画像D1の全ブロックの復元
終了を認識し、復元処理は終了することになる。
Block address table BAT for Yo )
is created and BAT creation instruction-9 is rewritten. In this way, the next row of blocks (0, Yt)
Block for the block of the undisplayed part about ~
0 and block (Xl, Y) where address table BAT is created and BAT creation instruction-9 is rewritten
t) Restoration and display of ~(Xa, Yt),
Block address - creation of table BAT and BAT
Creation creation instruction-9 is rewritten. When such processing has been performed up to the block (Xa, Ys), the table creation/cutting processing section 9 recognizes the completion of restoration of all blocks of the partial image D1 to be displayed by checking the display block instruction section 9-1. , the restoration process ends.

これによりブロック・アドレス・テーブルBATはブロ
ック(Xa、Ys)までの部分について作成ずみとなる
。またこのときBAT作成部9−2には(Xs、Ys)
が記入されている。
As a result, the block address table BAT has been created for the portion up to block (Xa, Ys). At this time, the BAT creation unit 9-2 has (Xs, Ys)
is entered.

この状態でオペレータが部分画@Dzの敗り出しのため
、ライトペンでP2を指示する。前記■と同じく、入力
部1はこのPlの座標信号をブロック位置変換部24:
出力し、その先頭ブロックX=Xo 、  y == 
’(zが出力される。これによりテーブル作成切出処理
部9は、切出サイズ保持部4から伝達されているa =
 4 、  b = 44=より切り出す最終ブロック
(” ” Xl #  )’ =Ys )を演算し、前
記先頭ブロック(Xo、Yz)とともにこれらを表示ブ
ロック指示部9−1に記入する。
In this state, the operator instructs P2 with a light pen in order to start losing the partial image @Dz. As in the above (■), the input section 1 converts the coordinate signal of Pl into the block position conversion section 24:
Output the first block X=Xo, y==
'(z is output. As a result, the table creation/cutting processing unit 9 receives a = a =
4, the final block ("" Xl #)' = Ys) to be cut out from b = 44 = is calculated, and these are written in the display block instruction section 9-1 along with the first block (Xo, Yz).

次に、前記■と同様に、テーブル作成切出処理部9は、
前記表示ブロック指示部9−1より2表示すべき先頭ブ
ロック(Xo、 Ya )についてのブロック・アドレ
ス・テーブルBATが作成ずみか否かをチエツクするた
め、BAT作成作成指示−9をチエツクし2作成すべき
ブロックが(Xs。
Next, in the same manner as in the above (■), the table creation/cutting processing section 9 performs the following steps.
In order to check whether the block address table BAT for the first block (Xo, Ya) to be displayed by the display block instruction section 9-1 has been created, the BAT creation instruction-9 is checked and 2 creation is performed. The block to do is (Xs.

Ys )からであることをみてブロック(Xa 、 Y
s )まで作成ずみであることを認識する。これにもと
づき2部分画偉D3の先頭ブロック(Xo 、 Yz 
)に対するブロック・アドレス・テーブルが作成済みで
あることをg繊する。
Seeing that it is from the block (Xa, Ys),
Recognize that up to s) have already been created. Based on this, the first block of the two-part image D3 (Xo, Yz
) has been created.

したがって、前記■と同様に、テーブル作成切出処理部
9は、ブロック・アドレス・テーブルBATをアクセス
して先頭ブロック(Xo 、 Ya )の圧縮データの
記入されている先頭位置を検出して。
Therefore, in the same manner as in the case (2) above, the table creation/extraction processing unit 9 accesses the block address table BAT to detect the leading position where the compressed data of the leading block (Xo, Ya) is written.

圧縮データ保持部CDからその圧縮データを読出してこ
れを圧縮データ復元部6に送出してaiijSに復元さ
れ、デイスプレィ制御部7に送出され。
The compressed data is read from the compressed data holding section CD, and sent to the compressed data decompression section 6, where it is decompressed into aiijS, and sent to the display control section 7.

表示部8に表示される。このような処理が部分画*D2
の1行目のブロック(Xo 、 Ya ) 〜(Xs 
It is displayed on the display section 8. Such processing is partial image *D2
Block (Xo, Ya) ~ (Xs
.

Yz)について行われ、第2行目のブロック(Xo。Yz), and the second row block (Xo.

Ys )〜(Ys 、 Ys )についても行われる。It is also performed for Ys) to (Ys, Ys).

しかし第3行目の最初のブロック(Xa、Y4)のポイ
ンタが、ブロック・アドレス・テーブルBATに作成さ
れていないので、テーブル作成切出処理部9は、前記■
と同様に、BAT作成作成指示−9をチエツクして、ブ
ロック(Xs 、 Ys )よりブロック・アドレスも
テーブルBATを作成すべきことを認識し、前記と同様
に、ブロック(Xs。
However, since the pointer of the first block (Xa, Y4) on the third line has not been created in the block address table BAT, the table creation/extraction processing unit 9
In the same way as above, check the BAT creation instruction-9 and recognize that the block address should also create the table BAT from the block (Xs, Ys).

Ys ) 〜(X E、  Ys ) 、  ブロック
(o、Y4)〜(X(1、Y4 )のブロック−アドレ
ス・テーブルBATを作る。そしてブロック(Xo、 
Ya )については2表示すべきものであるので、前記
■、■と同様にこれを表示部8に表示する。同様にして
プT2yり(Xl、 Y4 ) 〜(Xs 、 Y4)
は表示部8に表示しつつブロック・アドレス・テーブル
BATの作成が行われる。そしてブロック(Xa 、 
Y4 )〜(XE、 Ya )についてはブロック・ア
ドレス・テーブルBATの作成が行われる。このような
ことが部分画像D2の最後の行についても行われる。
Ys ) ~ (X E, Ys ), create a block-address table BAT of blocks (o, Y4) ~ (X (1, Y4). Then, block (Xo,
Since Ya) should be displayed as 2, it is displayed on the display section 8 in the same manner as in the case of ■ and ■ above. In the same way, repeat T2y (Xl, Y4) ~ (Xs, Y4)
The block address table BAT is created while being displayed on the display section 8. and block (Xa,
For Y4) to (XE, Ya), a block address table BAT is created. This is also done for the last row of the partial image D2.

ソシテブロック(Xs 、 Ys )についての表示及
びブロック・アドレス・テーブル作成処理が行われると
き、テーブル作成切出処理部9は部分画像の全ブロック
の復元終了を認識し、処理が終了する。このときBAT
作成部9−2には2次にブロック・アドレス・テーブル
を作成すべきブロックとして(X4 、 Ys )が記
入されている。
When the display and block address table creation processing for the social block (Xs, Ys) is performed, the table creation and cutout processing unit 9 recognizes that restoration of all blocks of the partial image has been completed, and the processing ends. At this time BAT
In the creation section 9-2, (X4, Ys) is entered as a block for which a secondary block address table is to be created.

このように2本発明の第2実施例によれば、初めの部分
画像の取り出しを従来方式により行ないつつ、走査部分
;二ついてブロック・アドレス拳テーブルを作成し2次
の部分画像の取り出し処理を行うとき、すでにブロック
・アドレス・テーブルが生成している部分についてはそ
れを利用するので、2回目以降の部分画像の取り出し処
理を高速化することができる。
As described above, according to the second embodiment of the present invention, while the first partial image is extracted using the conventional method, a block address table is created based on the scanned portion and the second partial image is extracted. When performing this, since the block address table for which the block address table has already been generated is used, it is possible to speed up the second and subsequent partial image retrieval processes.

(3)第3実施例 前記第1実施例、第2実施例では、全ブロックのアドレ
スをブロック・アドレス・テーブルに持つことになる。
(3) Third Embodiment In the first and second embodiments, addresses of all blocks are held in the block address table.

しかしブロック・アドレス−デー)  タは比較的大き
な容量を必要とするので、全ブロックのアドレス分だけ
の大きさが必要とすれば。
However, block address data requires a relatively large capacity, so if you need the size for all block addresses.

圧縮率はあまり大きくならない。The compression ratio is not very large.

したがって9本発明の第3冥施例では、第6回置に示す
如く、ブロック・アドレス・テーブルBATIをブロッ
ク行の先頭アドレス(ADH)だけとしたり、第6図(
ハ)に示す如く、ブロック・アドレス・テーブルBAT
2をブロック行の先頭アドレス(ADH)と行の中間の
アドレス(ADRyV/2)だけとしてもよい。第6図
(A)、(BJの黒点はそのブロック・アドレス・テー
ブルに記入された位置を示している。
Therefore, in the third embodiment of the present invention, as shown in the sixth part, the block address table BATI is set only to the start address (ADH) of the block row, and
As shown in c), block address table BAT
2 may be used only for the start address (ADH) of the block row and the middle address (ADRyV/2) of the row. In FIG. 6(A), the black dots (BJ) indicate the positions written in the block address table.

また、ブロックのアドレスの表現としては、上記のよう
に全ブロックを圧縮データの先頭からのオフセットで表
わす外に、第6図(qに示す如く。
Furthermore, as for the expression of block addresses, in addition to expressing all blocks as offsets from the beginning of the compressed data as described above, as shown in FIG. 6 (q).

黒点で示すブロック行の先頭アドレスだけを圧縮データ
先頭からのオフセットとし、そのブロック行の先頭アド
レス(ADH)からのオフセット(OFF)  で×印
で示す他のブロックを表わしてもよい。
Only the start address of the block line indicated by a black dot may be used as an offset from the start of the compressed data, and other blocks indicated by an x may be represented by the offset (OFF) from the start address (ADH) of that block line.

(4)第4実施例 本発明の第4実施例を第7図について説明する。(4) Fourth example A fourth embodiment of the present invention will be described with reference to FIG.

いま、第7回置に示す如く2部分画像DIが表示部に示
されているとき2例えばX線画儂のような医用画像では
、第7回置の範囲Mに示す如く。
Now, when a two-part image DI is displayed on the display unit as shown in the seventh position, for example, in a medical image such as an X-ray drawing, a range M as shown in the seventh position is displayed.

部分画@Dxの上下左右1/2の範囲に部分画像をスク
ロールすることが多い。ここでスクロールとは1部分i
jj@ Ihそのものを移動することではなく2部分画
像Dsと同サイズの別の部分画像を表示することである
The partial image is often scrolled to 1/2 the top, bottom, left and right of the partial image @Dx. Here scroll means 1 part i
The purpose is not to move jj@Ih itself, but to display another partial image of the same size as the two-part image Ds.

したがって2部分画偉D1を復元するとき、第2実施例
で説明したように、第8図に示す従来形式の画像圧縮デ
ータを走査して、走査領域Sにおけるブロック・アクセ
ス・テーブルを作ることになるが2次に必要な範囲は範
囲Mであるので、第7回内において一点鎖線の斜線で示
した走査領域Sのうち、右斜線で示す領域BATのみの
ブロック・アドレスを残し、他は捨ててブロック・アド
レス・テーブルを作る。これにより9次に表示される部
分画像の左端の圧縮データのアドレスは。
Therefore, when restoring the two-part image D1, as explained in the second embodiment, the conventional format compressed image data shown in FIG. 8 is scanned to create a block access table in the scanning area S. However, the range required for the second step is range M, so in the seventh scan, among the scanning area S indicated by the dashed line, only the block address of the area BAT indicated by the right diagonal line is left, and the others are discarded. create a block address table. As a result, the address of the compressed data at the left end of the partial image displayed nine times is:

この部分的なブロック−アドレスにより得られる。This partial block-address is obtained.

第2の部分画像D2として、第7図(B)に示す如く、
1ブロツク左斜下方向に動いたものを部分表示するとき
、領域S2を除いた部分の左端のアドレスは2部分68
 Dtの走査のときに作成した領域BAT部分のブロッ
ク・アドレス・テーブルより容易に得ることができる。
As the second partial image D2, as shown in FIG. 7(B),
When displaying a part of something that moved one block diagonally downward to the left, the address of the left end of the part excluding area S2 is 2 part 68
This can be easily obtained from the block address table of the area BAT portion created when scanning Dt.

したがって第2の部分画像D2の表示のためζ二、領域
81.82について走査して、ブロック・アドレス拳テ
ーブルを更新すればよい。
Therefore, in order to display the second partial image D2, the block address table may be updated by scanning the areas 81 and 82.

このようにして、ブロック・アドレス・テーブルの大き
さを更らに小さくすることができる。
In this way, the size of the block address table can be further reduced.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、ブロック・アドレス・テーブルにより
、所望の圧縮データの位置が容易に得られるので圧縮デ
ータの走査を省略あるいは簡略して画像の一部分を取出
すことができるので2部分表示、拡大表示などの画像処
理を高速に行うことができる。
According to the present invention, the position of the desired compressed data can be easily obtained using the block address table, so scanning of the compressed data can be omitted or simplified and a part of the image can be extracted, so that two-part display and enlarged display can be performed. Image processing such as can be performed at high speed.

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

第1図は本発明の原理構成図。 第2図は本発明の第1実施例説明図。 第3図は本発明の第2実施例の概略説明図。 第4図は本発明の第2実施例構成図。 第5図は本発明の第2実施例動作説明図。 第6図は本発明の第3実施例説明図。 第7図は本発明の第4実施例説明図。 第8図は画儂圧縮データの書式説明図。 第9図は従来方式説明である。 1・・・入力部。 2・・・ブロック位置変換部。 3・・・切出位置指定部。 4・・・切出サイズ保持部。 FIG. 1 is a diagram showing the principle configuration of the present invention. FIG. 2 is an explanatory diagram of the first embodiment of the present invention. FIG. 3 is a schematic explanatory diagram of a second embodiment of the present invention. FIG. 4 is a configuration diagram of a second embodiment of the present invention. FIG. 5 is an explanatory diagram of the operation of the second embodiment of the present invention. FIG. 6 is an explanatory diagram of a third embodiment of the present invention. FIG. 7 is an explanatory diagram of a fourth embodiment of the present invention. FIG. 8 is an explanatory diagram of the format of image compression data. FIG. 9 is an explanation of the conventional method. 1...Input section. 2...Block position conversion section. 3... Cutting position designation section. 4... Cutting size holding section.

Claims (2)

【特許請求の範囲】[Claims] (1)分割された画像ブロック毎に符号化を行って画像
圧縮・復元を行う画像処理方式において、画像ブロック
毎の圧縮データを保持する圧縮データ保持手段(CD)
と、 圧縮データの記入位置を示すブロック・アドレス・テー
ブル(BAT)と、 入力指示位置に対応するブロック位置を出力するブロッ
ク位置変換手段(2)と、 ブロック・アドレス・テーブル(BAT)にアクセスし
てその切出すべきブロックの圧縮データの記入位置を得
て、これにもとづき圧縮データを得る切出位置指定手段
(3)を具備したことを特徴とする画像処理方式。
(1) In an image processing method that compresses and restores an image by encoding each divided image block, a compressed data holding means (CD) holds compressed data for each image block.
a block address table (BAT) that indicates the input position of the compressed data; a block position conversion means (2) that outputs the block position corresponding to the input instruction position; 1. An image processing method comprising: a cutout position specifying means (3) for obtaining the entry position of the compressed data of the block to be cut out, and obtaining the compressed data based on this.
(2)テーブル作成切出処理手段(9)を具備し、前記
ブロック・アドレス・テーブル(BAT)を、圧縮デー
タより生成することを特徴とする請求項1記載の画像処
理方式。
2. The image processing method according to claim 1, further comprising: (2) table creation/cutting processing means (9), wherein said block address table (BAT) is generated from compressed data.
JP2281435A 1990-10-19 1990-10-19 Picture processing system Pending JPH04156182A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2281435A JPH04156182A (en) 1990-10-19 1990-10-19 Picture processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2281435A JPH04156182A (en) 1990-10-19 1990-10-19 Picture processing system

Publications (1)

Publication Number Publication Date
JPH04156182A true JPH04156182A (en) 1992-05-28

Family

ID=17639130

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2281435A Pending JPH04156182A (en) 1990-10-19 1990-10-19 Picture processing system

Country Status (1)

Country Link
JP (1) JPH04156182A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000270226A (en) * 1999-03-17 2000-09-29 Fuji Xerox Co Ltd Image processor and image processing method
JP2018108289A (en) * 2017-01-05 2018-07-12 株式会社ジェイマックシステム Data structure, medical image display device, medical image display method and medical image display program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000270226A (en) * 1999-03-17 2000-09-29 Fuji Xerox Co Ltd Image processor and image processing method
JP2018108289A (en) * 2017-01-05 2018-07-12 株式会社ジェイマックシステム Data structure, medical image display device, medical image display method and medical image display program

Similar Documents

Publication Publication Date Title
US4665555A (en) Computer based drawing management system
US5991515A (en) Method and apparatus for compressing and decompressing data prior to display
JPH02195480A (en) Retrieving system for image data
JPH0158547B2 (en)
JP2000090249A (en) Image processor, image processing method and computer readable recording medium recorded with program for operating computer as the image processor
KR20040071176A (en) Methods for multimedia content repurposing
JPH02244281A (en) Picture data registration retrieve system
JPH04156182A (en) Picture processing system
US6658156B1 (en) Information processing apparatus and method
JP3399743B2 (en) Image compression data processing device
JPH02205984A (en) Picture processor
KR920005242B1 (en) Image processing apparatus
JPH0488749A (en) Picture processor
KR100434727B1 (en) Method for inserting password in image file
JPS628658A (en) Area designating data compressing and extending method and its device
KR100474916B1 (en) Apparatus and method for generating thumbnail image
JP2001054112A (en) Image generating method, image generator, image browsing method, image browsing device and recording medium
JPH0362265A (en) Image processor
JPH04277980A (en) Picture data read registration system
JP2862736B2 (en) Search method of document editing device
JPH07306931A (en) Image information processor
JP2000035782A (en) Image display method
JPH02227775A (en) Picture memory
JPH05344356A (en) Image data compression and extension method
JPH04281570A (en) Drawing management system