Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2877698B2 - Partial extension device - Google Patents
[go: Go Back, main page]

JP2877698B2 - Partial extension device - Google Patents

Partial extension device

Info

Publication number
JP2877698B2
JP2877698B2 JP19669394A JP19669394A JP2877698B2 JP 2877698 B2 JP2877698 B2 JP 2877698B2 JP 19669394 A JP19669394 A JP 19669394A JP 19669394 A JP19669394 A JP 19669394A JP 2877698 B2 JP2877698 B2 JP 2877698B2
Authority
JP
Japan
Prior art keywords
area
data
block
compressed
compressed data
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 - Fee Related
Application number
JP19669394A
Other languages
Japanese (ja)
Other versions
JPH0863605A (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.)
Sanyo Denki Co Ltd
Original Assignee
Sanyo Denki 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 Sanyo Denki Co Ltd filed Critical Sanyo Denki Co Ltd
Priority to JP19669394A priority Critical patent/JP2877698B2/en
Publication of JPH0863605A publication Critical patent/JPH0863605A/en
Application granted granted Critical
Publication of JP2877698B2 publication Critical patent/JP2877698B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Image Processing (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、部分伸長装置に関す
る。特に、記録媒体に記録されているJPEG方式の圧
縮データの一部分を伸長する技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a partial extension device. In particular, the present invention relates to a technique for decompressing a part of JPEG-compressed data recorded on a recording medium.

【0002】[0002]

【従来の技術】記録媒体に記録されている符号化(圧
縮)画像データの一部を表示する場合には、全ての圧縮
データを一旦伸長(復号)してから、この一部を抜き出
して表示する方法が考えられる。しかし、この方法で
は、処理に時間がかかる。
2. Description of the Related Art When displaying a part of encoded (compressed) image data recorded on a recording medium, all the compressed data is once decompressed (decoded) and then extracted and displayed. There are ways to do that. However, this method requires a long processing time.

【0003】このため、圧縮データをの一部のみを部分
伸長して、高速化を計ることが特開平4-347781号公報(G
06F15/66)に示されている。この技術は、記録媒体に記
録されている圧縮データをすべて読み出し、読み出され
た圧縮データの一部分のみを部分伸長するものである。
しかし、このような伸長方法は、ブロック単位で符号化
するJPEG等で符号化された画像圧縮データにおい
て、単純には適用できない。
For this reason, Japanese Patent Laid-Open Publication No. Hei 4-347781 (G.
06F15 / 66). This technique reads all compressed data recorded on a recording medium and partially decompresses only a part of the read compressed data.
However, such a decompression method cannot be simply applied to compressed image data encoded by JPEG or the like, which is encoded in block units.

【0004】JPEGでは、圧縮データの一部分のみの
部分伸長を行う場合、この一部分が丁度、ブロックの切
れ目からブロックの切れ目までで区切られるブロック領
域と一致する場合しか、部分伸長することができない。
つまり、一致しない場合は、部分伸長できない。これ
は、JPEG等の符号化方式では、原画データをブロッ
ク単位に分割し、このブロック毎に符号化処理を行って
いるからである。従って、このブロック単位でない領域
を伸長することは不可能である。
In JPEG, when partial expansion of only a part of compressed data is performed, partial expansion can be performed only when this part exactly matches a block area divided by a block break.
That is, if they do not match, partial extension cannot be performed. This is because, in an encoding method such as JPEG, original image data is divided into blocks, and encoding processing is performed for each block. Therefore, it is impossible to expand the non-block area.

【0005】このため、例えば、特開平6-22151号公報
(H04N1/415)では、原画データの一部分を圧縮する場
合、この一部分の領域のサイズが、処理単位ブロックサ
イズの整数倍に満たない大きさの場合に、この圧縮領域
の大きさをブロックサイズの整数倍に切り上げている。
For this reason, for example, Japanese Patent Application Laid-Open No. 6-22151
In (H04N1 / 415), when compressing a part of the original image data, if the size of this partial area is less than an integral multiple of the processing unit block size, the size of this compressed area is Rounded up to an integral multiple.

【0006】[0006]

【発明が解決しようとする課題】本発明は、ブロック単
位で符号化された圧縮データのうちの一部を部分伸長す
ることを目的とする。また、本発明は、JPEG方式で
圧縮された圧縮データの任意の一部を部分伸長すること
を目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to partially decompress a part of compressed data encoded in block units. Another object of the present invention is to partially decompress an arbitrary part of the compressed data compressed by the JPEG method.

【0007】また、本発明は、原画データのうちの任意
の位置及び大きさの領域を部分伸長するように指示され
た場合にも、部分伸長することができる部分伸長装置を
提供することを目的とする。
Another object of the present invention is to provide a partial decompression device which can partially decompress an area of an arbitrary position and size in original image data even when instructed to partially decompress it. And

【0008】[0008]

【課題を解決するための手段】本発明の部分伸長装置
は、伸長する部分データの領域を原データの分割ブロッ
クに従って設定する。本発明の部分伸長装置は、原デー
タを8画素×8画素のブロック単位で圧縮するJPEG
方式でデータ圧縮した圧縮データが記録された記録媒体
(1)を再生する再生手段(2)と、伸長領域を指定す
る指定手段(8)と、この指定手段(8)で指定された
伸長領域を、前記原データの分割ブロック整数個分で構
成されるブロック領域に正規化する正規化手段(12)
と、前記記録媒体(1)に記録されている圧縮データの
中で前記ブロック領域を含むRSTで区切られた領域を
特定するデータ特定手段(13)と、このデータ特定手
段(13)で特定されたデータ部分をデータ伸長する伸
長手段(4)とを備えることを特徴とする。
A partial decompression device according to the present invention sets a partial data area to be decompressed in accordance with a divided block of original data. The partial decompression device according to the present invention compresses the original data in blocks of 8 pixels × 8 pixels by JPEG.
Reproducing means (2) for reproducing a recording medium (1) on which compressed data compressed by the data compression method is recorded, a designating means (8) for designating a decompressed area, and a decompressed area designated by the designating means (8) To a block area composed of an integer number of divided blocks of the original data (12)
A data specifying means (13) for specifying an area divided by RST including the block area in the compressed data recorded on the recording medium (1); and a data specifying means (13) for specifying the area. And a decompression means (4) for decompressing the data portion.

【0009】また、本発明の部分伸長装置は、原データ
を8画素×8画素のブロック単位で圧縮するJPEG方
式でデータ圧縮した圧縮データが記録された記録媒体
(1)を再生する再生手段(2)と、伸長領域を指定す
る指定手段(8)と、この指定手段(8)で指定された
伸長領域を、前記原データの分割ブロック整数個分で構
成され、且つ、伸長領域を含むRSTで区切られた領域
を特定する領域特定手段(12,13)と、この領域特
定手段(12,13)で特定された領域の部分をデータ
伸長する伸長手段(4)とを備えることを特徴とする。
Further, the partial decompression device of the present invention reproduces the recording medium (1) on which the compressed data recorded by the JPEG method for compressing the original data in blocks of 8 × 8 pixels is recorded. 2), a designating means (8) for designating a decompressed area, and a decompressed area specified by the designating means (8) is composed of an integer number of divided blocks of the original data and includes an RST including the decompressed area. And a decompression means (4) for decompressing a part of the area specified by the area specification means (12, 13). I do.

【0010】[0010]

【0011】[0011]

【0012】[0012]

【0013】[0013]

【0014】[0014]

【0015】[0015]

【0016】[0016]

【作用】本発明の部分伸長装置では、伸長処理する領域
を原データの分割ブロックに従って設定している。本発
明の部分伸長装置は、指定手段(8)で指定された伸長領
域を、正規化手段(12)により原データの分割ブロック整
数個分で構成されるブロック領域に正規化し、伸長手段
(13,4)により再生手段(2)からの圧縮データの中の前記
ブロック領域を含む圧縮データを特定し、このデータ部
分を伸長する。
In the partial decompression device of the present invention, the area to be decompressed is set in accordance with the divided blocks of the original data. The partial decompression device of the present invention normalizes the decompressed area specified by the specifying means (8) to a block area composed of an integer number of divided blocks of the original data by the normalizing means (12).
(13, 4) specifies compressed data including the block area in the compressed data from the reproducing means (2), and decompresses this data portion.

【0017】[0017]

【実施例】図1〜図4を参照しつつ、本発明の一実施例
を説明する。まず、この実施例で採用されている圧縮デ
ータについて、簡単に説明する。この実施例の圧縮デー
タは、周知のJPEG(Joint Photographic Expert Gro
up)方式で圧縮されたものであり、その圧縮アルゴリズ
ムは、CQ出版社発行の雑誌インタ−フェ−ス1991年12
月号のP160〜P182に示されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described with reference to FIGS. First, the compressed data used in this embodiment will be briefly described. The compressed data of this embodiment is a well-known JPEG (Joint Photographic Expert Groove).
up), and its compression algorithm is described in the magazine interface published by CQ Publishing Company, December 1991.
This is shown on pages 160 to 182 of the month issue.

【0018】この圧縮方式で圧縮された圧縮データに
は、リスタート・マ−カ・コード(以下、RSTとする)
というコードをいくつも挿入することができる。このR
STは、DCT変換におけるDC係数の予測値をリセッ
トするために用いられる。そして、これによって、圧縮
データの伝送エラーによるエラーの伝搬を防止すること
ができる。
A restart marker code (hereinafter referred to as RST) is included in the compressed data compressed by this compression method.
You can insert any number of codes. This R
ST is used to reset a predicted value of a DC coefficient in DCT transform. As a result, it is possible to prevent propagation of an error due to a transmission error of the compressed data.

【0019】即ち、RSTが存在しない圧縮データにお
いて、伝送エラーが起こった場合、エラーの起こった以
降の画像全体に、エラーが伝搬してしまう。しかし、R
STが圧縮データに挿入してあれば、伝送エラーが起こ
った場合でも、エラーの伝搬を次のRSTまでに抑える
ことができる。これは、RSTによって、圧縮データが
区切られることを示し、RSTによって区切られたブロ
ックは、各々独立した部分圧縮データとなり、それ単体
で伸長可能である。
That is, if a transmission error occurs in compressed data having no RST, the error propagates to the entire image after the occurrence of the error. But R
If the ST is inserted in the compressed data, even if a transmission error occurs, the propagation of the error can be suppressed to the next RST. This indicates that the RST separates the compressed data, and the blocks separated by the RST become independent partial compressed data, which can be decompressed alone.

【0020】従って、このRSTを用いて、圧縮データ
の一部分の部分伸長が可能となる。次に、圧縮データに
挿入されるRSTの位置について説明する。図2は、圧
縮データに挿入されているRSTの挿入位置を示す図で
ある。この図2は、前記圧縮データが圧縮される前の原
画像データに対するものである。
Therefore, it is possible to partially decompress a part of the compressed data using the RST. Next, the position of the RST inserted into the compressed data will be described. FIG. 2 is a diagram illustrating an insertion position of the RST inserted into the compressed data. FIG. 2 shows the original image data before the compressed data is compressed.

【0021】JPEGでは、周知の如く、画像データを
縦8画素×横8画素の単位ブロックに分割して圧縮処理
する。従って、画像データの大きさが、例えば、縦10
40画素×横1920画素とすると、単位ブロックは、
縦方向に130個、横方向に240個の合計31200
個存在する。
In JPEG, as is well known, image data is divided into unit blocks of 8 × 8 pixels and compressed. Therefore, if the size of the image data is, for example, 10
Assuming 40 pixels × 1920 pixels, the unit block is
130 in the vertical direction and 240 in the horizontal direction for a total of 31200
Exists.

【0022】そして、これらの単位ブロックは、図2の
左上の単位ブロックから、横方向に1ブロックライン
(240個)処理した後、処理ラインを1単位ブロック下
げて、同様に、図2の左端の単位ブロックから横方向に
1ブロックライン処理される。このような手順でJPE
G圧縮されるときに、RSTを任意の単位ブロックの後
に挿入できるわけであるが、本実施例における圧縮デー
タは、図2に示すように、横方向1ブロックライン毎
に、即ち、240単位ブロック毎に、RSTが挿入され
てJPEG圧縮されたものであるとする。
These unit blocks are one block line in the horizontal direction from the unit block at the upper left of FIG.
After the (240) processing, the processing line is lowered by one unit block, and similarly, one block line is processed in the horizontal direction from the leftmost unit block in FIG. JPE in such a procedure
When G compression is performed, the RST can be inserted after an arbitrary unit block. As shown in FIG. 2, the compressed data in this embodiment is, for each block line in the horizontal direction, that is, 240 unit blocks. It is assumed that RST is inserted and JPEG-compressed every time.

【0023】従って、例えば、圧縮データの中のひとつ
のRSTの位置から次のRSTの位置までを取り出して
部分伸長すれば、伸長されたデータは、横方向1ブロッ
クラインの画像データとなり、その大きさは、縦8画素
×横1920画素となる。次に、この実施例の装置につ
いて詳しく説明する。図1は、この一実施例の機能ブロ
ックを示す図である。
Therefore, for example, if the data from one RST position to the next RST position in the compressed data is extracted and partially expanded, the expanded data becomes the image data of one block line in the horizontal direction. That is, 8 vertical pixels × 1920 horizontal pixels. Next, the apparatus of this embodiment will be described in detail. FIG. 1 is a diagram showing functional blocks of this embodiment.

【0024】記録媒体1は、例えば、光ディスクやハー
ドディスクである。この記録媒体1は、セクタ単位でア
クセス可能であるため、セクタ単位でリード、ライトが
可能である。この記録媒体1には、原画像データをJP
EG圧縮した圧縮データと、記録媒体1における圧縮デ
ータの記録開始セクタアドレスや圧縮データのデータサ
イズや原画像データの画素サイズ(縦1040画素×横
1920画素)や各種フラグ等から成るインデックス情
報とが、一体となって記録されている。
The recording medium 1 is, for example, an optical disk or a hard disk. Since this recording medium 1 is accessible in sector units, it can be read and written in sector units. This recording medium 1 stores the original image data in JP
The EG-compressed compressed data and the index information including the recording start sector address of the compressed data on the recording medium 1, the data size of the compressed data, the pixel size of the original image data (1040 vertical pixels × 1920 horizontal pixels), various flags, etc. Are recorded together.

【0025】更に、記録媒体1には、前記圧縮データに
挿入されているすべてのRSTの記録位置が記録されて
いる。即ち、RSTが圧縮データの先頭から何バイト目
に記録されているかという位置情報が、テーブル形式で
記録されている。このテーブルを、以下、RSTのテー
ブルと言う。再生手段2は、例えば、光ディスクドライ
ブやハードディスクドライブである。この再生手段2
は、記録媒体1を再生して、その記録内容を読み出すも
のである。
Further, the recording medium 1 records the recording positions of all the RSTs inserted in the compressed data. That is, position information indicating the byte number of the RST from the head of the compressed data is recorded in a table format. This table is hereinafter referred to as an RST table. The reproducing unit 2 is, for example, an optical disk drive or a hard disk drive. This reproduction means 2
Is for reproducing the recording medium 1 and reading out the recorded contents.

【0026】伸長バッファ3は、再生手段2で再生され
た圧縮データを一旦格納するバッファである。伸長手段
4は、伸長バッファ3に記憶された圧縮データを伸長す
るものである。この伸長手段4は、逆ハフマン符号化、
逆量子化、逆2次元DCT変換等の処理をして、画像デ
ータを生成する。
The expansion buffer 3 is a buffer for temporarily storing the compressed data reproduced by the reproducing means 2. The expansion unit 4 expands the compressed data stored in the expansion buffer 3. The decompression means 4 performs inverse Huffman coding,
Processing such as inverse quantization and inverse two-dimensional DCT is performed to generate image data.

【0027】記憶手段5は、伸長手段4から出力される
画像データを記録する。画像データは、記憶手段5の表
示領域に記憶される。映像処理手段6は、記憶手段5の
表示領域からデータを取り出して、映像信号に変換す
る。モニタ7は、映像処理手段6から出力される映像信
号を表示する。
The storage means 5 records the image data output from the decompression means 4. The image data is stored in the display area of the storage unit 5. The video processing unit 6 extracts data from the display area of the storage unit 5 and converts the data into a video signal. The monitor 7 displays a video signal output from the video processing means 6.

【0028】入力手段8は、例えば、キーボードやマウ
スである。入力手段8は、操作者のこの装置に対する指
示を受け付けるものである。例えば、画像のどの部分を
部分伸長するかを示す伸長領域の座標情報や、部分伸長
の動作開始指示等が入力される。制御手段9は、この装
置全体の制御を司るものである。制御手段9は、入力手
段8から入力される部分伸長の動作開始指示により、そ
の制御を開始する。
The input means 8 is, for example, a keyboard or a mouse. The input means 8 receives an instruction from the operator for the device. For example, coordinate information of a decompression area indicating which part of the image is to be partially decompressed, a partial decompression operation start instruction, and the like are input. The control means 9 controls the entire device. The control means 9 starts its control in response to a partial expansion operation start instruction input from the input means 8.

【0029】データバッファ10は、記録媒体1に記録
されている前記インデックス情報や前記RSTのテーブ
ルを記憶するものである。領域判定手段11は、入力手
段8で入力された部分伸長するべき伸長領域が、原画像
の分割ブロック整数個分で構成されるブロック領域とな
っているか否かを判定するものである。即ち、領域判定
手段11は、前記伸長領域が、丁度、原画像を単位ブロ
ックで区切ったときの格子線の交点のうちの任意の2つ
の交点を対角線の端点とする矩形領域であるか否かを判
定する。
The data buffer 10 stores the index information and the RST table recorded on the recording medium 1. The area determining means 11 determines whether or not the expanded area to be partially expanded input by the input means 8 is a block area composed of an integer number of divided blocks of the original image. That is, the area determination means 11 determines whether or not the extended area is a rectangular area having any two intersections among the intersections of the grid lines when the original image is divided into unit blocks as diagonal endpoints. Is determined.

【0030】領域変更手段12は、前記領域判定手段1
1で判定した結果、前記伸長領域が、丁度、原画像を分
割したブロック整数個分で構成されるブロック領域にな
っていない場合、前記伸長領域を前記ブロック領域に変
更する。つまり、この領域変更手段12は、前記伸長領
域を、当該伸長領域を包含する最小のブロック領域に変
更する。
The area changing means 12 is provided for the area determining means 1.
If the result of determination in step 1 indicates that the decompressed area is not a block area composed of an integer number of blocks obtained by dividing the original image, the decompressed area is changed to the block area. That is, the area changing means 12 changes the extended area to the smallest block area including the extended area.

【0031】また、領域変更手段12は、前記領域判定
手段11で判定した結果、前記伸長領域が、丁度、原画
像を分割したブロック整数個分で構成されるブロック領
域になっている場合、前記伸長領域の領域変更を行わな
い。即ち、領域変更手段12は、領域判定手段11で伸
長領域がブロック領域になっていない場合、前記伸長領
域がブロック領域になるように、領域を切り上げて正規
化する。
In the case where the result of the determination by the area determination means 11 is that the decompression area is a block area composed of an integral number of blocks obtained by dividing the original image, Does not change the extension area. That is, when the expanded area is not a block area in the area determining means 11, the area changing unit 12 rounds up and normalizes the area so that the expanded area becomes a block area.

【0032】また、領域判定手段12は、領域判定手段
11で伸長領域がブロック領域に丁度なっている場合、
伸長領域がそのままブロック領域であるため、何も行わ
ない。以下、この正規化されてブロック領域となった伸
長領域を正規化ブロック領域と言うことにする。
When the expanded area is just the block area, the area determining means 12
No operation is performed because the decompressed area is a block area as it is. Hereinafter, the decompressed area that has been normalized to become a block area is referred to as a normalized block area.

【0033】データ特定手段13は、領域変更手段12
で変更された正規化済みの正規化ブロック領域のデータ
を伸長(復号)するために必要な領域を特定する。つま
り、データ特定手段13は、データバッファ10から前
記RSTのテーブルを入力し、正規化ブロック領域の直
前のRSTの位置と、当該正規化ブロック領域の直後の
RSTの位置を特定する。
The data specifying means 13 includes the area changing means 12
An area necessary for decompressing (decoding) the data of the normalized block area that has been changed in step (1) is specified. That is, the data specifying unit 13 inputs the RST table from the data buffer 10 and specifies the RST position immediately before the normalized block area and the RST position immediately after the normalized block area.

【0034】当該正規化ブロック領域の直前のRSTの
位置が伸長開始位置であり、当該正規化ブロック領域の
直後のRSTの位置が伸長終了位置であり、データ特定
手段13は、伸長開始位置から伸長終了位置までのデー
タを特定する。枠発生手段14は、入力手段8から、原
画像のどの部分を部分伸長するかという前記伸長領域を
入力するときに、モニタ7に矩形枠を発生させるもので
ある。
The position of the RST immediately before the normalized block area is the decompression start position, the position of the RST immediately after the normalized block area is the decompression end position, Specify the data up to the end position. The frame generating means 14 is for generating a rectangular frame on the monitor 7 when the input section 8 inputs the expanded area indicating which part of the original image is partially expanded.

【0035】この枠発生手段14は、入力手段8から、
前記伸長領域指定の指示があると、映像処理手段6に枠
情報を出力し、映像処理手段6が多重表示処理をしてモ
ニタ7に表示される。尚、データ特定手段13と伸長手
段4とは、前記再生手段(2)からの圧縮データの中の前
記ブロック領域を含む圧縮データを特定し、このデータ
部分を伸長する広義の伸長手段を形成している。
The frame generating means 14 is provided by the input means 8
When there is an instruction to specify the decompressed area, the frame information is output to the video processing means 6, and the video processing means 6 performs a multiplex display process and displays it on the monitor 7. The data specifying means 13 and the decompressing means 4 form compressed data including the block area in the compressed data from the reproducing means (2), and form a broadly decompressing means for decompressing this data portion. ing.

【0036】又、データ特定手段13と領域判定手段1
2とは、指定手段(8)で指定された伸長領域を原データ
の分割ブロック整数個分で構成され、且つ、伸長領域を
含むRSTで区切られた領域を特定する領域特定手段を
形成している。尚、データ特定手段13と領域判定手段
12と伸長手段4とは、指定手段(8)で指定された伸長
領域に関連し、且つ、原データの分割ブロック整数個分
で構成される領域に対応するデータ部分を伸長する広義
の伸長手段を形成している。
The data specifying means 13 and the area determining means 1
2 is an area specifying means for forming the decompressed area specified by the specifying means (8) by an integer number of divided blocks of the original data, and for specifying an area delimited by RST including the decompressed area. I have. The data specifying means 13, the area judging means 12, and the decompressing means 4 are associated with the decompressed area specified by the specifying means (8) and correspond to an area composed of an integral number of divided blocks of the original data. A broader decompression means for decompressing the data portion to be processed is formed.

【0037】次に、この装置の動作について説明する。
図3は、この装置の動作のフローチャートを示す図であ
る。以下、図3のフローチャートに基づいて、図2の圧
縮データを伸長する動作を説明する。今、記録媒体1に
記録されている圧縮データをデータ圧縮する前の原画像
データを、縮小した縮小原画像データがモニタ7に表示
されているとする。
Next, the operation of this device will be described.
FIG. 3 is a diagram showing a flowchart of the operation of this device. Hereinafter, the operation of expanding the compressed data of FIG. 2 will be described with reference to the flowchart of FIG. Now, it is assumed that reduced original image data obtained by reducing the original image data before compressing the compressed data recorded on the recording medium 1 is displayed on the monitor 7.

【0038】まず、入力手段8から枠表示指示がある
と、制御手段9は、枠発生手段14に対して、枠情報を
発生するよう制御する。これに伴い、枠発生手段14
は、映像処理手段6に枠情報を発生する。映像処理手段
6は、現在表示中の画像に矩形枠を多重表示するように
映像処理して映像信号をモニタ7に出力する。
First, when there is a frame display instruction from the input means 8, the control means 9 controls the frame generation means 14 to generate frame information. Accordingly, the frame generating means 14
Generates frame information in the video processing means 6. The video processing means 6 performs video processing so that a rectangular frame is multiplexed and displayed on the currently displayed image, and outputs a video signal to the monitor 7.

【0039】従って、モニタ7に、表示中の縮小原画像
と矩形枠とが重ねて表示される(ステップS1)。この矩
形枠は、操作者が、入力手段8を操作することにより、
画面上を自由に動かすことができ、更に、矩形枠の大き
さも自由に変更できるものである。更に、操作者が、矩
形枠の表示されたモニタ7を見ながら、入力手段8を操
作して、縮小原画像のうちの部分伸長したい領域を指定
する。
Therefore, the reduced original image being displayed and the rectangular frame are superimposed on the monitor 7 (step S1). When the operator operates the input unit 8, the rectangular frame is
It can be freely moved on the screen, and the size of the rectangular frame can be freely changed. Further, the operator operates the input means 8 while viewing the monitor 7 on which the rectangular frame is displayed, and designates an area of the reduced original image to be partially expanded.

【0040】制御手段9は、入力手段8から前記指定さ
れた領域の情報を入力し、前記原画像データと前記縮小
原画像データとの縮小比率に基づいて、この矩形枠で指
定された領域が、前記原画像データのうちのどの領域に
対応するかを計算する。制御手段9によって計算された
この領域が、図2の斜線部分の領域である。即ち、この
斜線部分の領域が、部分伸長するべき伸長領域として指
定されたことになる(ステップS2)。
The control means 9 inputs information on the designated area from the input means 8 and determines the area designated by the rectangular frame based on the reduction ratio between the original image data and the reduced original image data. , Which area of the original image data corresponds to. This area calculated by the control means 9 is the area indicated by the hatched portion in FIG. In other words, this shaded area is designated as an extended area to be partially extended (step S2).

【0041】尚、図2の斜線部分で示される伸長領域の
左上端の座標は、縦80ブロック目の単位ブロックの上
から4画素目と、横1ブロック目の単位ブロックの左か
ら5画素目とで示される座標(縦636画素、横5画素)
である。また、当該伸長領域の右下端の座標は、縦87
ブロック目の単位ブロックの上から4画素目と、横24
0ブロック目の単位ブロックの左から3画素目とで示さ
れる座標(縦692画素、横1915画素)である。
The coordinates of the upper left corner of the extended area indicated by the hatched portion in FIG. 2 are the fourth pixel from the top of the 80th vertical unit block and the 5th pixel from the left of the first horizontal unit block. Coordinates (636 pixels vertically, 5 pixels horizontally)
It is. Also, the coordinates of the lower right corner of the extension area are
The fourth pixel from the top of the unit block of the block and the horizontal 24
These are coordinates (692 vertical pixels, 1915 horizontal pixels) indicated by the third pixel from the left of the unit block of the 0th block.

【0042】また、入力手段8から、部分伸長の動作開
始指示が入力され、部分伸長の動作開始指示が制御手段
9に入力される(ステップS3)。次に、入力手段8か
ら、動作開始指示が入力されると、制御手段9は、再生
手段2に対して、記録媒体1に記録されている前記イン
デックス情報と前記RSTのテーブルとを読み出し、こ
れらをデータバッファ10に記憶させるよう指示する
(ステップS4)。
Also, an instruction to start a partial decompression operation is input from the input means 8, and an instruction to start a partial decompression operation is input to the control means 9 (step S3). Next, when an operation start instruction is input from the input means 8, the control means 9 reads the index information and the RST table recorded on the recording medium 1 to the reproducing means 2, and To be stored in the data buffer 10
(Step S4).

【0043】従って、記録媒体1から再生された前記イ
ンデックス情報と前記RSTのテーブルとがデータバッ
ファ10に記憶される。更に、制御手段9は、領域判定
手段11に、前記伸長領域の座標情報を出力して、指定
された伸長領域が、原画像の分割ブロック整数個分で構
成されるブロック領域となっているか否かを判定させる
(ステップS5)。
Therefore, the index information reproduced from the recording medium 1 and the RST table are stored in the data buffer 10. Further, the control means 9 outputs the coordinate information of the decompressed area to the area determination means 11, and determines whether or not the specified decompressed area is a block area composed of an integer number of divided blocks of the original image. To determine
(Step S5).

【0044】領域判定手段11は、伸長領域の座標情報
と、データバッファ10に記憶されているインデックス
情報のうちの原画像データの画素サイズ(縦1040画
素×横1920画素)とに基づいて、伸長領域が前記ブ
ロック領域となっているか否かを判定する。つまり、以
下のように動作する。
The area judging means 11 expands the image based on the coordinate information of the expanded area and the pixel size of the original image data (1040 vertical pixels × 1920 horizontal pixels) in the index information stored in the data buffer 10. It is determined whether or not the area is the block area. That is, it operates as follows.

【0045】図2は、縦1040画素×横1920画素
の原画像データを縦8画素×横8画素の単位ブロックに
分割した様子を示しており、図中の格子線は、各単位ブ
ロックの区切りを示している。ブロック領域は、これら
格子線の交点のうちの任意の2つの交点を対角線の端点
とする矩形ブロックである。
FIG. 2 shows a state in which original image data of 1040 pixels vertically × 1920 pixels horizontally is divided into unit blocks of 8 pixels vertically × 8 pixels horizontally. Is shown. The block area is a rectangular block having any two intersections of these grid lines as diagonal endpoints.

【0046】言い換えれば、ブロック領域は、原画像を
複数の単位ブロックに分割したときの任意の連続した単
位ブロック整数個分で構成される矩形ブロックである。
従って、例えば、縦2ブロック目かつ横3ブロック目の
単位ブロックと、縦79ブロック目かつ横238ブロッ
ク目の単位ブロックとを、対角線の端点の単位ブロック
とする矩形ブロックは、1つのブロック領域と言える。
In other words, the block area is a rectangular block composed of an arbitrary number of continuous unit blocks when the original image is divided into a plurality of unit blocks.
Therefore, for example, a rectangular block in which the unit block of the second vertical block and the third horizontal block and the unit block of the 79th vertical block and the 238th horizontal block are unit blocks at the end points of the diagonal line has one block area. I can say.

【0047】また、例えば、縦2ブロック目かつ横2ブ
ロック目の単位ブロックと、縦2ブロック目かつ横23
9ブロック目の単位ブロックとを、対角線の端点の単位
ブロックとする矩形ブロックも、1つのブロック領域と
言える。そこで、領域判定手段11は、前記入力手段8
で指定された前記伸長領域(図中の斜線部分)が、丁度、
ブロック領域になっているか否かを判定する。
Further, for example, a unit block of the second vertical block and the second horizontal block and a unit block of the second vertical block and the horizontal block
A rectangular block in which the ninth block is a unit block at a diagonal end point can also be said to be one block area. Therefore, the area determining means 11 is provided with the input means 8
The extension area (shaded area in the figure) designated by
It is determined whether the area is a block area.

【0048】この場合、図に示すように、明らかに、伸
長領域はブロック領域にはなっておらず、縦80ブロッ
ク目かつ横1ブロック目の単位ブロックと、縦87ブロ
ック目かつ横240ブロック目の単位ブロックとを、対
角線の端点の単位ブロックとするブロック領域に包含さ
れる領域になっている。従って、領域判定手段11は、
前記伸長領域はブロック領域になっていないと判定す
る。
In this case, as shown in the figure, the decompressed area is not clearly a block area, and the 80th vertical and 1st horizontal unit block and the 87th vertical and 240th horizontal block Is an area included in the block area in which the unit block is a unit block at the end point of the diagonal line. Therefore, the area determination means 11
It is determined that the extension area is not a block area.

【0049】領域判定手段11は、領域変更手段12
に、判定結果と前記伸長領域の座標情報とを出力する。
更に、領域変更手段12は、領域判定手段11におい
て、伸長領域がブロック領域になっていると判断された
場合には何も処理を行わず、その処理を、ステップS7
に移行させる。
The area determining means 11 includes an area changing means 12
Then, the determination result and the coordinate information of the extension area are output.
Further, when the area determining means 11 determines that the decompressed area is a block area, the area changing means 12 performs no processing, and executes the processing in step S7.
Move to

【0050】また、領域変更手段12は、領域判定手段
11において、伸長領域がブロック領域になっていない
と判断された場合には、伸長領域がブロック領域になる
ように、領域の変更を行う(ステップS6)。この領域の
変更は、以下の様に行われる。領域変更手段12は、図
2の斜線部分である前記伸長領域を包含する最小のブロ
ック領域に、当該伸長領域を変更する。
When the area determining means 11 determines that the decompressed area is not a block area, the area changing means 12 changes the area so that the decompressed area becomes a block area ( Step S6). The change of this area is performed as follows. The area changing unit 12 changes the extended area to a minimum block area including the extended area, which is a hatched portion in FIG.

【0051】即ち、領域変更手段12は、伸長領域を、
これを包み込む最小のブロック領域に正規化する。従っ
て、領域変更手段12は、ブロック領域になっていない
前記伸長領域の座標情報を入力して、正規化済みの正規
化ブロック領域の座標情報をデータ特定手段13に出力
する。
That is, the area changing means 12 sets the extended area
It is normalized to the smallest block area that encompasses this. Therefore, the area changing unit 12 inputs the coordinate information of the decompressed area that is not a block area and outputs the coordinate information of the normalized block area that has been normalized to the data specifying unit 13.

【0052】この場合、正規化済みの正規化ブロック領
域は、縦80ブロック目かつ横1ブロック目の単位ブロ
ックと、縦87ブロック目かつ横240ブロック目の単
位ブロックとを、対角線の端点の単位ブロックとするブ
ロック領域となる。次に、データ特定手段13は、デー
タバッファ10から前記RSTのテーブルを入力し、領
域変更手段12から正規化ブロック領域の座標情報を入
力して、記録媒体1に記録されている圧縮データのうち
の当該正規化ブロック領域に対応するデータ部分を特定
する(ステップS7)。
In this case, the normalized block area that has been normalized is a unit block of the 80th vertical and 1st horizontal block and the unit block of the 87th vertical and 240th horizontal block, which are the units of the diagonal end points. It becomes a block area to be a block. Next, the data specifying unit 13 inputs the RST table from the data buffer 10, inputs the coordinate information of the normalized block area from the area changing unit 12, and outputs the compressed data from the compressed data recorded on the recording medium 1. Then, a data portion corresponding to the normalized block area is specified (step S7).

【0053】このデータ部分の特定は、以下のように行
われる。データ特定手段13は、データバッファ10か
ら入力された前記RSTのテーブルの中から、正規化ブ
ロック領域の直前のRSTの位置と、当該正規化ブロッ
ク領域の直後のRSTの位置を特定する。即ち、正規化
ブロック領域の直前のRSTの位置は、図2のRST7
9の直後の位置であり、この位置が、伸長開始位置とな
る。
The specification of the data portion is performed as follows. The data specifying unit 13 specifies the position of the RST immediately before the normalized block area and the position of the RST immediately after the normalized block area from the RST table input from the data buffer 10. That is, the position of the RST immediately before the normalized block area is RST7 in FIG.
The position immediately after the position 9 is the extension start position.

【0054】また、正規化ブロック領域の直後のRST
の位置は、図2のRST87の直前の位置であり、この
位置が、伸長終了位置となる。前記RSTのテーブルに
は、圧縮データの中に挿入されている全てのRSTの位
置が、圧縮データの先頭からのバイト数で記述されてい
る為、データ特定手段13は、このRSTのテーブルを
参照することで、伸長開始位置から伸長終了位置までの
データが、圧縮データのうちのどのデータ部分かを特定
する。
The RST immediately after the normalized block area
Is the position immediately before the RST 87 in FIG. 2, and this position is the extension end position. In the RST table, all RST positions inserted in the compressed data are described by the number of bytes from the head of the compressed data. Therefore, the data specifying unit 13 refers to the RST table. By doing so, which data portion of the compressed data the data from the decompression start position to the decompression end position is specified.

【0055】データ特定手段13は、制御手段9に、正
規化ブロック領域に対応するデータの圧縮データ内にお
ける位置情報を出力する。次に、制御手段9は、再生手
段2に記録媒体1に記録されている前記原画像データを
データ圧縮した圧縮データを再生するように指示し、伸
長バッファ3に再生される圧縮データが格納できるよう
に、伸長バッファ3を制御する。
The data specifying means 13 outputs to the control means 9 positional information of the data corresponding to the normalized block area in the compressed data. Next, the control means 9 instructs the reproducing means 2 to reproduce the compressed data obtained by compressing the original image data recorded on the recording medium 1, and the compressed data to be reproduced can be stored in the decompression buffer 3. Thus, the decompression buffer 3 is controlled.

【0056】従って、記録媒体1から、圧縮データが再
生され、伸長バッファ3に記憶される(ステップS8)。
更に、制御手段9は、伸長手段4に、伸長バッファ3か
らデータ特定手段13で特定されたデータ部分に対応す
るデータを取り出して、その取り出した部分のデータの
みをデータ伸長するように指示する。尚、この時の、特
定されたデータ部分は、正規化ブロック領域に対応して
いる。
Accordingly, the compressed data is reproduced from the recording medium 1 and stored in the decompression buffer 3 (step S8).
Further, the control means 9 instructs the decompression means 4 to retrieve the data corresponding to the data portion specified by the data specification means 13 from the decompression buffer 3 and decompress only the data of the retrieved portion. At this time, the specified data portion corresponds to the normalized block area.

【0057】従って、伸長手段4は、伸長バッファ3か
ら、当該正規化ブロック領域に対応するデータのみを取
り出して、この部分のデータをデータ伸長する(ステッ
プS9)。即ち、伸長手段4は、図2のRST79の直
後の位置から、RST87の直前の位置までのデータ
を、前記伸長バッファ3から読みだし、この部分のデー
タを、逆ハフマン符号化、逆量子化、逆2次元DCT変
換して、データ伸長する。
Accordingly, the decompression means 4 extracts only the data corresponding to the normalized block area from the decompression buffer 3, and decompresses the data of this portion (step S9). That is, the decompression means 4 reads data from the position immediately after the RST 79 in FIG. 2 to the position immediately before the RST 87 from the decompression buffer 3, and decompresses this part of the data by inverse Huffman encoding, inverse quantization, Performs inverse two-dimensional DCT and expands the data.

【0058】更に、制御手段9は、伸長手段4で伸長さ
れた伸長データを、記憶手段5の表示領域に記憶するよ
うに指示する。従って、伸長された部分画像データ(デ
ータ特定手段13で特定された部分の画像)が、記憶手
段5の表示領域に記憶され、映像処理手段6で映像信号
に変換される。この映像信号がモニタ7に出力される
と、モニタ7に部分伸長された画像が表示される(ステ
ップS10)。
Further, the control means 9 instructs to store the decompressed data decompressed by the decompression means 4 in the display area of the storage means 5. Therefore, the decompressed partial image data (the image of the portion specified by the data specifying unit 13) is stored in the display area of the storage unit 5, and is converted into a video signal by the video processing unit 6. When this video signal is output to the monitor 7, a partially expanded image is displayed on the monitor 7 (step S10).

【0059】上記の例は図2の如く、伸長領域が原画像
の上下部分をカットした領域である場合を説明したが、
伸長領域が原画像の中心部分である場合について説明す
る。以下、図4の圧縮データを伸長する動作を説明す
る。この図4の圧縮データは、1単位ブロック毎にRS
Tが挿入されている。1単位ブロック毎にRSTが挿入
された圧縮データに対して、前述と同様に、図3のフロ
ーチャートのステップS1、S2、S3、S4の処理を
行い、伸長領域として、例えば、図4の斜線部分が指定
されたとする。
In the above example, as shown in FIG. 2, the case where the expanded area is an area obtained by cutting the upper and lower parts of the original image has been described.
The case where the extension area is the center of the original image will be described. Hereinafter, the operation of expanding the compressed data of FIG. 4 will be described. The compressed data shown in FIG.
T is inserted. The processing of steps S1, S2, S3, and S4 in the flowchart of FIG. 3 is performed on the compressed data in which the RST is inserted for each unit block in the same manner as described above. Is specified.

【0060】この伸長領域は、具体的には、(縦636
画素、横797画素)と、(縦692画素、横1597画
素)とを、対角線の端点とする矩形の座標領域である。
即ち、この伸長領域は、原画像データの中心部分の領域
であり、且つ、ブロック領域に正規化されていない領域
である。図3のステップS5において、領域判定手段1
1は、この伸長領域は、ブロック領域になっていないと
判定し、ステップS6に処理を移行させる。
Specifically, the extension area is (vertical 636).
A pixel is a rectangular coordinate area having diagonal endpoints of (pixel, 797 horizontal pixels) and (692 vertical pixels, 1597 horizontal pixels).
That is, the decompressed area is an area at the center of the original image data and is not normalized to a block area. In step S5 of FIG.
No. 1 determines that the decompressed area is not a block area, and shifts the processing to step S6.

【0061】すると、領域変更手段12は、この伸長領
域を包含する最小のブロック領域に、当該伸長領域を変
更する(ステップS6)。この変更された正規化ブロック
領域は、縦80ブロック目かつ横100ブロック目の単
位ブロックと、縦87ブロック目かつ横200ブロック
目の単位ブロックとを、対角線の端点の単位ブロックと
するブロック領域になる。
Then, the area changing means 12 changes the decompressed area to the smallest block area including the decompressed area (step S6). The changed normalized block area is a block area in which a unit block of the 80th vertical block and the 100th horizontal block and a unit block of the 87th vertical block and the 200th horizontal block are unit blocks at diagonal end points. Become.

【0062】データ特定手段13は、ステップS7にお
いて、このように正規化された正規化ブロック領域に対
応するデータを、RSTのテーブルに基づいて特定す
る。RSTのテーブルには、圧縮データに挿入されてい
るRSTの位置が、圧縮データの先頭から何バイト目に
挿入されているかという情報が記述してあり、圧縮デー
タに挿入されるRSTの数が多くなると、RSTのテー
ブルに記述されるデータ量も多くなる。
In step S7, the data specifying means 13 specifies data corresponding to the normalized block area thus normalized based on the RST table. In the RST table, information indicating the position of the RST inserted into the compressed data and the number of the byte inserted from the beginning of the compressed data is described, and the number of RSTs inserted into the compressed data is large. Then, the data amount described in the RST table also increases.

【0063】データ特定手段13は、正規化ブロック領
域内の横方向ブロックライン(縦1単位ブロック×横2
01単位ブロック)ごとに、対応するデータを特定す
る。即ち、先頭の横方向ブロックラインに対して、伸長
開始位置を、縦80ブロック目かつ横100ブロック目
の単位ブロックの先頭にし、伸長終了位置を、縦80ブ
ロック目かつ横200ブロック目の単位ブロックの最後
にする。
The data specifying means 13 outputs a horizontal block line (one vertical unit block × two horizontal blocks) in the normalized block area.
The corresponding data is specified for each (01 unit block). That is, with respect to the first horizontal block line, the expansion start position is set to the top of the 80th vertical and 100th horizontal unit blocks, and the expansion end position is set to the 80th vertical and 200th horizontal unit blocks. At the end of

【0064】次の横方向ブロックラインに対して、伸長
開始位置を、縦81ブロック目かつ横100ブロック目
の単位ブロックの先頭にし、伸長終了位置を、縦81ブ
ロック目かつ横200ブロック目の単位ブロックの最後
にする。このような1横方向ブロックライン毎にデータ
特定処理を分割する処理を、前記正規化ブロック領域内
の最後の横方向ブロックラインまで行う。
For the next horizontal block line, the decompression start position is set at the beginning of the 81st block and the 100th block, and the decompression end position is set to the 81st block and the 200th block. At the end of the block. Such a process of dividing the data specifying process for each horizontal block line is performed up to the last horizontal block line in the normalized block area.

【0065】このようにして、データ特定手段13は、
正規化ブロック領域に対応する圧縮データ内のデータを
特定する。制御手段9が、ステップS8において、記録
媒体1から圧縮データを再生させ、伸長バッファ3に再
生された圧縮データを記憶させる。伸長手段4は、デー
タ特定手段13で特定されたデータを伸長バッファ3か
ら読み出して、正規化ブロック領域内の1横方向ブロッ
クライン毎に、順次、データ伸長を行う。
In this way, the data specifying means 13
The data in the compressed data corresponding to the normalized block area is specified. The control means 9 reproduces the compressed data from the recording medium 1 in step S8, and stores the reproduced compressed data in the decompression buffer 3. The decompression means 4 reads the data specified by the data specification means 13 from the decompression buffer 3 and sequentially performs data decompression for each horizontal block line in the normalized block area.

【0066】従って、映像処理手段6で映像処理され
て、モニタ7に、原画像の前記伸長領域の部分のみが表
示される。尚、この実施例では、領域変更手段12は、
伸長領域を包含する最小のブロック領域を、正規化ブロ
ック領域として説明したが、本願は、必ずしもこれに限
定されるものではない。
Therefore, the image is processed by the image processing means 6, and only the expanded area of the original image is displayed on the monitor 7. Note that, in this embodiment, the area changing means 12
Although the minimum block area including the extended area has been described as a normalized block area, the present invention is not necessarily limited to this.

【0067】例えば、領域変更手段12は、前記伸長領
域内に属する最大のブロック領域を、正規化ブロック領
域としてもよい。即ち、図2の斜線部分で示される伸長
領域に対して、縦81ブロック目かつ横2ブロック目の
単位ブロックと、縦86ブロック目かつ横239ブロッ
ク目の単位ブロックとを、対角線の端点の単位ブロック
とするブロック領域を正規化ブロック領域としてもよ
い。
For example, the area changing means 12 may set the largest block area belonging to the expanded area as a normalized block area. In other words, the unit blocks of the 81st vertical and the 2nd horizontal and the unit blocks of the 86th vertical and the 239th horizontal are divided into the diagonal end point units with respect to the extended area indicated by the hatched portions in FIG. A block area to be a block may be a normalized block area.

【0068】また、領域変更手段12は、前記伸長領域
を単に包含するブロック領域を正規化ブロック領域とし
てもよい。更に、領域変更手段12は、前記伸長領域に
単に属するブロック領域を正規化ブロック領域としても
よい。また、前述の実施例では、伸長領域がブロック領
域になっていない場合、伸長領域を部分伸長したはずの
画像が、正規化されたブロック領域の画像となってしま
う。
The area changing means 12 may set a block area simply including the extended area as a normalized block area. Further, the area changing means 12 may set a block area simply belonging to the decompressed area as a normalized block area. Further, in the above-described embodiment, if the decompressed area is not a block area, an image in which the decompressed area should be partially decompressed becomes an image of a normalized block area.

【0069】従って、この場合、操作者が指定した領域
と異なった領域の画像が部分伸長されて表示されること
になる。そこで、制御手段9が、入力手段8から入力さ
れた伸長領域の座標情報を映像処理手段6に出力して、
映像処理手段6が、映像処理の中で伸長領域以外の部分
のデータをマスクするように処理して、伸長領域の部分
の画像のみを表示する構成にしてもよいのは言うまでも
ない。
Therefore, in this case, an image in an area different from the area designated by the operator is partially expanded and displayed. Then, the control means 9 outputs the coordinate information of the extension area input from the input means 8 to the video processing means 6,
It goes without saying that the video processing means 6 may be configured to perform processing so as to mask data in a portion other than the decompressed area in the video processing and display only the image in the decompressed area.

【0070】このように、マスクする構成にすれば、操
作者が指定した伸長領域の画像のみを、正確に出力する
ことができる。また、このマスク処理は、伸長領域では
なく、正規化されたブロック領域としてもよい。また、
前述の実施例では、操作者が、モニタ7に表示された縮
小原画像を見ながら、領域特定して、伸長領域を特定し
ていたが、本願は、必ずしもこれに限定されない。
As described above, with the masking configuration, only the image in the decompressed area specified by the operator can be output accurately. This mask processing may be performed on a normalized block area instead of the extended area. Also,
In the above-described embodiment, the operator specifies the area while viewing the reduced original image displayed on the monitor 7, and specifies the extended area. However, the present invention is not necessarily limited to this.

【0071】例えば、操作者がモニタ7を見ずに、入力
手段8から、直接、原画像に対する伸長領域の座標情報
を入力して、前記伸長領域を指定する構成にしてもよ
い。また、前述の実施例では、圧縮データとして、静止
画像の圧縮データの場合について説明したが、本願は、
これに限定されず、例えば、動画像の圧縮データでもよ
く、また、音声の圧縮データであってもよい。
For example, a configuration may be adopted in which the operator inputs the coordinate information of the decompressed area with respect to the original image directly from the input means 8 without looking at the monitor 7, and designates the decompressed area. Further, in the above-described embodiment, the case where compressed data of a still image is described as the compressed data.
The present invention is not limited to this, and may be, for example, moving image compressed data or audio compressed data.

【0072】更に、前述の実施例では、JPEG方式で
圧縮された圧縮データに対して、部分伸長する場合を説
明したが、本願は、これに限定されない。例えば、MP
EG方式で圧縮された圧縮データを部分伸長してもよ
い。更に、前述の実施例では、記録媒体1に、圧縮デー
タとRSTのテーブルとが記録されている場合につい
て、説明したが、必ずしもこれに限らず、例えば、圧縮
データとRSTのテーブルとが、別々の記録媒体に記録
されていてもよい。
Further, in the above-described embodiment, the case where the compressed data compressed by the JPEG system is partially expanded has been described, but the present invention is not limited to this. For example, MP
The compressed data compressed by the EG method may be partially decompressed. Further, in the above-described embodiment, the case where the compressed data and the RST table are recorded on the recording medium 1 has been described. However, the present invention is not limited to this. For example, the compressed data and the RST table may be separately stored. May be recorded on a recording medium.

【0073】また、前述の実施例の機能ブロックは、必
要に応じてソフトウエアで構成してもハードウエアで構
成してもよく、本発明が何かの様態をも含むことは言う
までもない。また、前述の実施例では、一旦、領域を正
規化ブロック領域に設定してから、RSTで区切られる
領域を特定して、部分伸長している。しかし、本願は、
必ずしもこれに限定されない。つまり、伸長領域から直
接RSTで区切られる領域を特定してもよい。また、ブ
ロック毎の復号が常に独立して行える符号化方式で圧縮
された圧縮データであれば、正規化ブロック領域に対応
するデータ部分を特定すればよく、RST等で区切られ
る領域を特定する必要はない。
Further, the functional blocks of the above-described embodiments may be constituted by software or hardware as required, and it goes without saying that the present invention includes some forms. Further, in the above-described embodiment, the area is temporarily set as the normalized block area, and then the area divided by the RST is specified and partially expanded. However, this application
It is not necessarily limited to this. That is, an area that is delimited by the RST may be specified directly from the extended area. In addition, if the data is compressed data that is compressed by an encoding method in which decoding for each block can always be performed independently, it is only necessary to specify a data portion corresponding to the normalized block area, and it is necessary to specify an area delimited by RST or the like. There is no.

【0074】尚、前述の実施例は、本発明の例示に過ぎ
ず、必要に応じて種々の変更が可能であり、特許請求の
範囲に記載された本発明は、それらの変更を全て包含す
るものである。
The above-described embodiment is merely an example of the present invention, and various changes can be made as necessary. The present invention described in the claims encompasses all such changes. Things.

【0075】[0075]

【発明の効果】本発明によれば,伸長する部分データの
領域を原データの分割ブロックに従って設定するので,
ブロック単位でデータ圧縮された圧縮データであって
も,指定手段(14)で指定された伸長領域に関連した
部分のデータを伸長できる。また,JPEGでデータ圧
縮された圧縮データであっても,指定手段(14)で指
定された伸長領域に関連した部分のデータを伸長でき
る。
According to the present invention, the area of the partial data to be expanded is set according to the divided blocks of the original data.
Even in the case of compressed data that is data compressed in block units, it is possible to decompress data of a portion related to the decompression area specified by the specifying means (14). In addition, even if the data is JPEG-compressed data, the data of the portion related to the decompression area specified by the specifying means (14) can be expanded.

【0076】[0076]

【0077】[0077]

【0078】[0078]

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

【図1】本発明の部分伸長装置の一実施例の機能ブロッ
クを示す図である。
FIG. 1 is a diagram showing functional blocks of an embodiment of a partial decompression device according to the present invention.

【図2】ライン毎にRSTが挿入されたJPEGの圧縮
データの図である。
FIG. 2 is a diagram of JPEG compressed data in which RST is inserted for each line.

【図3】この実施例のフローチャートを示す図である。FIG. 3 is a diagram showing a flowchart of this embodiment.

【図4】ブロック毎にRSTが挿入されたJPEGの圧
縮データの図である。
FIG. 4 is a diagram of JPEG compressed data in which RST is inserted for each block.

【符号の説明】[Explanation of symbols]

1 記録媒体、 2 再生手段、 4 伸長手段、 8 入力手段(指定手段)、 11 領域判定手段(判定手段)、 12 領域変更手段(正規化手段,領域特定手段,伸長
手段)、 13 データ特定手段(領域特定手段,伸長手段)。
DESCRIPTION OF SYMBOLS 1 Recording medium, 2 Reproduction means, 4 Decompression means, 8 Input means (designation means), 11 Area determination means (determination means), 12 Area change means (Normalization means, area specification means, decompression means), 13 Data specification means (Area specifying means, expanding means).

フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G06T 1/00 H04N 1/387 H04N 1/41 - 1/419 Continuation of the front page (58) Field surveyed (Int.Cl. 6 , DB name) G06T 1/00 H04N 1/387 H04N 1/41-1/419

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 原データを8画素×8画素のブロック単
位で圧縮するJPEG方式でデータ圧縮した圧縮データ
が記録された記録媒体(1)を再生する再生手段(2)
と、 伸長領域を指定する指定手段(8)と、 この指定手段(8)で指定された伸長領域を、前記原デ
ータの分割ブロック整数個分で構成されるブロック領域
に正規化する正規化手段(12)と、 前記記録媒体(1)に記録されている圧縮データの中で
前記ブロック領域を含むRSTで区切られた領域を特定
するデータ特定手段(13)と、 このデータ特定手段(13)で特定されたデータ部分を
データ伸長する伸長手段(4)とを備えることを特徴と
する部分伸長装置。
1. An original data is divided into a block of 8 pixels × 8 pixels.
Compressed data compressed by JPEG method
(2) for reproducing a recording medium (1) on which is recorded
When a specifying means for specifying an extended area (8), the extension area designated by the designating means (8), said original de
Area consisting of an integer number of data division blocks
A normalizing means (12) for normalizing the compressed data in the compressed data recorded on the recording medium (1).
Identify the area delimited by RST including the block area
And data specifying means (13), the identified data portion in the data specifying means (13)
Data expansion means (4).
Part extension device to do.
【請求項2】 原データを8画素×8画素のブロック単
位で圧縮するJPEG方式でデータ圧縮した圧縮データ
が記録された記録媒体(1)を再生する再生手段(2)
と、 伸長領域を指定する指定手段(8)と、 この指定手段(8)で指定された伸長領域を、前記原デ
ータの分割ブロック整数個分で構成され、且つ、伸長領
域を含むRSTで区切られた領域を特定する領域特定手
段(12,13)と、 この領域特定手段(12,13)で特定された領域の部
分をデータ伸長する伸長手段(4)とを備えることを特
徴とする部分伸長装置。
2. The method according to claim 1, wherein the original data is a block of 8 pixels × 8 pixels.
Compressed data compressed by JPEG method
(2) for reproducing a recording medium (1) on which is recorded
When a specifying means for specifying an extended area (8), the extension area designated by the designating means (8), said original de
Data divided into integer blocks, and
Area specifying method to specify the area delimited by RST including the area
Step (12, 13) and part of the area specified by the area specifying means (12, 13)
And a decompression means (4) for decompressing the data.
Partial extension device to be featured.
JP19669394A 1994-08-22 1994-08-22 Partial extension device Expired - Fee Related JP2877698B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19669394A JP2877698B2 (en) 1994-08-22 1994-08-22 Partial extension device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19669394A JP2877698B2 (en) 1994-08-22 1994-08-22 Partial extension device

Publications (2)

Publication Number Publication Date
JPH0863605A JPH0863605A (en) 1996-03-08
JP2877698B2 true JP2877698B2 (en) 1999-03-31

Family

ID=16362024

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19669394A Expired - Fee Related JP2877698B2 (en) 1994-08-22 1994-08-22 Partial extension device

Country Status (1)

Country Link
JP (1) JP2877698B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3924420B2 (en) * 2000-07-11 2007-06-06 Necエレクトロニクス株式会社 Image compression apparatus and method
JP4491295B2 (en) 2004-07-22 2010-06-30 キヤノン株式会社 Image reproduction method and image reproduction apparatus

Also Published As

Publication number Publication date
JPH0863605A (en) 1996-03-08

Similar Documents

Publication Publication Date Title
JP3392474B2 (en) Image processing device including cut and paste editing
JPH11284948A (en) Thumbnail creation method and thumbnail display method
JP2001203971A (en) Image data processing device
JPH0721391A (en) Method for encoding of position of change at inside of sequence of video image
JP2877698B2 (en) Partial extension device
JP3108283B2 (en) Partial stretching device and method
JPH08205144A (en) Image coding device
JPS63156476A (en) Image file device
JPH08204967A (en) Data coding device
JP3207739B2 (en) Image playback device
JP3239099B2 (en) Still image scrolling method and still image display device
KR100469258B1 (en) Apparatus and method for generating thumbnail image
JP3177306B2 (en) Image processing device
JP2002354264A (en) Image processor and its method
JP3062507B2 (en) Image encoding device and image decoding device
JP3247893B2 (en) Image encoding device and image decoding device
JP2001103427A (en) Compressed image reproducing apparatus and program recording medium
JP2001144934A (en) Method and device for image synthesis
JP2000013610A (en) Method and device for generating coded image file, method and device for decoding and computer readable record medium recording program making computer execute coded image file generating method and decoding method
JP3121413B2 (en) Image filing method and apparatus
JP2018117308A (en) Playback apparatus and control method of the same
JP3188237B2 (en) Image encoding device and image decoding device
JP3239005B2 (en) Digital moving image compressed data duplicating device and digital moving image compressed data reproducing device
JP3015595B2 (en) Decompressed image processing device
JP3897771B2 (en) Playback display device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees