JP3177306B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP3177306B2
JP3177306B2 JP20237692A JP20237692A JP3177306B2 JP 3177306 B2 JP3177306 B2 JP 3177306B2 JP 20237692 A JP20237692 A JP 20237692A JP 20237692 A JP20237692 A JP 20237692A JP 3177306 B2 JP3177306 B2 JP 3177306B2
Authority
JP
Japan
Prior art keywords
image data
area
data
designated area
pixel
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
JP20237692A
Other languages
Japanese (ja)
Other versions
JPH0654207A (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 Electric Co Ltd
Original Assignee
Sanyo Electric 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 Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP20237692A priority Critical patent/JP3177306B2/en
Publication of JPH0654207A publication Critical patent/JPH0654207A/en
Application granted granted Critical
Publication of JP3177306B2 publication Critical patent/JP3177306B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、画像データをデータ伸
長する画像処理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing device for expanding image data.

【0002】[0002]

【従来の技術】データ圧縮の一方法としてブロック符号
化がある。例えばJPEG規格によれば、輝度信号(以
下例えばY)、色差信号(以下例えばPb、Pr)で構
成された画像データは、各信号毎に水平垂直8×8画素
のデータブロックに分割され、このデータブロックを単
位として、DCT変換、量子化及びハフマン符号化され
てデータ圧縮される。
2. Description of the Related Art Block coding is one method of data compression. For example, according to the JPEG standard, image data composed of a luminance signal (hereinafter, for example, Y) and a chrominance signal (for example, Pb, Pr) is divided into a data block of 8 × 8 pixels horizontally and vertically for each signal. DCT transformation, quantization and Huffman coding are performed for each data block, and data compression is performed.

【0003】Yは画素全てのサンプルデータを圧縮し、
Pb及びPrはYのサンプリング周波数の2分の1の周
波数で水平方向にサブサンプリングしたサブサンプルデ
ータを圧縮している。Yをデータ圧縮するためには、モ
ニタ上のデータ圧縮のために必要となる空間ブロックを
8×8画素とすればよいが、Pb及びPrをデータ圧縮
するためには空間ブロックを16×8画素(この16×
8画素の空間ブロックはサブサンプリングにより8×8
画素のデータブロックとなり、この8×8画素のデータ
ブロックがデータ圧縮される)としなければならず、モ
ニタ上の空間ブロックは水平垂直16×8画素としなけ
ればならない。ゆえに、画像データを16m×8n(但
し、m、nは自然数)画素の画像サイズとしなければ、
データ圧縮を行えない。
[0003] Y compresses sample data of all pixels,
Pb and Pr compress the sub-sampled data sub-sampled in the horizontal direction at half the sampling frequency of Y. In order to compress the data of Y, the spatial block necessary for compressing the data on the monitor may be 8 × 8 pixels, but to compress the data of Pb and Pr, the spatial block may be formed of 16 × 8 pixels. (This 16x
An 8-pixel spatial block is 8 × 8 by sub-sampling.
It becomes a data block of pixels, and the data block of 8 × 8 pixels is compressed), and the spatial block on the monitor must be 16 × 8 pixels horizontally and vertically. Therefore, unless the image data has an image size of 16m × 8n (where m and n are natural numbers) pixels,
Data compression cannot be performed.

【0004】従って、データ圧縮を行う場合には、画像
データに余分な指定外エリアの画像データを付加して1
6m×8n画素の画像サイズに変換する必要があった。
Accordingly, when performing data compression, extra image data of an unspecified area is added to
It was necessary to convert to an image size of 6 m × 8 n pixels.

【0005】[0005]

【発明が解決しようとする課題】上述するようにデータ
圧縮された圧縮データをデータ伸長し記憶手段に記憶す
る際、画像データだけではなく余分な指定外エリアの画
像データもデータ伸長されて記憶手段に記憶されるとい
う不都合がある。そこで、データ伸長後に余分な指定外
エリアの画像データを記憶しない構成にする必要があ
る。
When the compressed data compressed as described above is decompressed and stored in the storage means, not only the image data but also the image data of the extra non-designated area is decompressed and stored. There is a disadvantage that it is stored in the memory. Therefore, it is necessary to adopt a configuration in which extra image data of an unspecified area is not stored after data expansion.

【0006】[0006]

【課題を解決するための手段】本発明の画像処理装置
は、M×N(但し、M、Nは自然数)画素の空間ブロッ
ク単位でデータ伸長する画像処理装置において、任意サ
イズの指定エリアの画像データに必要に応じて指定外エ
リアの画像データを付加した該空間ブロック整数個分で
構成される圧縮伸長エリアの画像データを予め該空間ブ
ロック単位でデータ圧縮し、生成された圧縮データを記
録する記録媒体と、前記記録媒体より読み出された該圧
縮データを空間ブロック単位でデータ伸長する伸長手段
と、前記伸長手段で所定の順に出力される画像データの
各々に対応する画素が指定エリアあるいは指定外エリア
に属するかを判定し、指定外エリアに属する画素に対応
する画像データの書き込みを禁止するエリア判定手段
と、前記エリア判定手段の判定に基づいて、指定エリア
の画像データのみを記憶する記憶手段とを、それぞれ配
して成る画像処理装置。
According to the present invention, there is provided an image processing apparatus which expands data in units of spatial blocks of M × N pixels (where M and N are natural numbers). The image data of the compression / expansion area composed of an integer number of the spatial blocks obtained by adding the image data of the non-designated area to the data as necessary is compressed in advance in units of the spatial blocks, and the generated compressed data is recorded. A recording medium, decompression means for decompressing the compressed data read from the recording medium in units of spatial blocks, and a pixel corresponding to each of the image data output by the decompression means in a predetermined order is a designated area or designated area. Area determination means for determining whether the image data belongs to an outside area and prohibiting writing of image data corresponding to pixels belonging to the outside area; Based on the determination of, and storage means for storing only the image data of the designated area, an image processing apparatus comprising disposed respectively.

【0007】[0007]

【作用】本発明の画像処理装置は、記録媒体より読み出
された圧縮データを空間ブロック単位でデータ伸長し生
成される圧縮伸長エリアの画像データを記憶する際、所
定の順に出力される画像データの各々に対応する画素が
指定エリアあるいは指定外エリアに属するかを判定し、
指定外エリアに属する画素に対応する画像データの書き
込みを禁止し、指定エリアの画像データのみを記憶手段
に記憶する。
According to the image processing apparatus of the present invention, when storing image data in a compression / expansion area generated by expanding compressed data read from a recording medium in units of spatial blocks, image data output in a predetermined order Determine whether the pixel corresponding to each of the specified area or non-designated area,
Writing of image data corresponding to pixels belonging to the non-designated area is prohibited, and only the image data of the designated area is stored in the storage means.

【0008】[0008]

【実施例】以下、圧縮処理装置に本発明を採用した第1
の実施例及び第2の実施例を説明する。 [1]第1の実施例 輝度信号(以下例えばY)、色差信号(以下例えばP
b、Pr)を用いて画像データが構成されている場合に
ついて述べる。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing a first embodiment of the present invention;
Example 2 and Example 2 will be described. [1] First Embodiment A luminance signal (hereinafter, for example, Y) and a chrominance signal (hereinafter, for example, P)
(b, Pr) will be described.

【0009】上述したようにデータ圧縮のための処理単
位となるモニタ上の空間ブロックは、水平垂直16×8
画素としなければならないため、空間ブロック単位でデ
ータ圧縮するには、水平垂直16m×8n画素(m、n
は自然数)のサイズの画像データが必要となる。図2に
示すように、操作者が目的の画像であると認識する指定
エリアの画像データ(例えば水平垂直1590×795
画素の画像サイズ)を上述する空間ブロック整数個分
(16m×8n画素)に分割した場合、水平方向に6画
素、垂直方向に3画素分の端数となる画素が生じる(m
=99、n=99)。
As described above, a spatial block on the monitor, which is a processing unit for data compression, is 16 × 8 horizontally and vertically.
In order to compress data in units of spatial blocks, horizontal and vertical 16 m × 8 n pixels (m, n
Is a natural number). As shown in FIG. 2, image data (for example, horizontal / vertical 1590 × 795) of a designated area that the operator recognizes as a target image
When the image size of the pixel) is divided into the above-mentioned integer number of space blocks (16 m × 8 n pixels), a pixel having a fraction of 6 pixels in the horizontal direction and 3 pixels in the vertical direction is generated (m
= 99, n = 99).

【0010】従って、指定エリアの画像データをデータ
圧縮するには、この端数に相当する画素に、それぞれ水
平方向に10画素、垂直方向に5画素のダミーとなる指
定外エリアの画像データ(斜線部分)を付加して、丁
度、空間ブロック整数個分で構成される圧縮伸長エリア
(1600×800画素の画像サイズ)を形成する必要
がある(m=100、n=100)。この圧縮伸長エリ
アの画像データを空間ブロック単位でデータ圧縮する。
Therefore, in order to compress the image data of the designated area, the image data of the non-designated area, which is a dummy of 10 pixels in the horizontal direction and 5 pixels in the vertical direction, respectively, ) Must be added to form a compression / decompression area (image size of 1600 × 800 pixels) consisting of an integer number of spatial blocks (m = 100, n = 100). The image data in the compression / expansion area is compressed in units of spatial blocks.

【0011】但し、指定外エリアの画像データとは、指
定エリアの画像データを補って空間ブロック整数個分の
圧縮伸長エリアの画像データに拡張するために設けられ
た仮のデータであり、指定エリアの画像データのうち指
定外エリアの画像データに隣接する最外周ラインの画像
データと同一の画像情報で構成されている。第1の実施
例では、予め上述するようにデータ圧縮されて記録媒体
に記録されている圧縮データをデータ伸長するものであ
る。
However, the image data in the non-designated area is temporary data provided to supplement the image data in the designated area and expand the image data in the compression / expansion area for an integral number of spatial blocks. And the same image information as the image data of the outermost line adjacent to the image data in the non-designated area. In the first embodiment, compressed data recorded in advance on a recording medium after data compression as described above is expanded.

【0012】以下、第1の実施例の各機能ブロックの機
能を図1を用いて説明する。図1は第1の実施例の機能
ブロック図であり、図2は第1の実施例の画像データを
示す図である。記録媒体1は、例えば光ディスクであ
り、上述するように指定エリアの画像データにダミーデ
ータである指定外エリアの画像データを付加して、丁度
空間ブロック整数個分にした圧縮伸長エリアの画像デー
タをデータ圧縮した圧縮データを第1の領域に予め記録
している。
The function of each functional block of the first embodiment will be described below with reference to FIG. FIG. 1 is a functional block diagram of the first embodiment, and FIG. 2 is a diagram showing image data of the first embodiment. The recording medium 1 is, for example, an optical disk. As described above, the image data of the non-designated area, which is dummy data, is added to the image data of the designated area, and the image data of the compression / decompression area, which is just an integer number of space blocks, is added. The compressed data obtained by data compression is recorded in the first area in advance.

【0013】また記録媒体1は、前記指定エリア及び圧
縮伸長エリアの画像データのサイズ情報(指定エリア1
590×795画素、圧縮伸長エリア1600×800
画素)を第2の領域に記録している。再生手段2は、例
えば光ディスクドライブであり、記録媒体1の第1の領
域に記録されている圧縮データと、第2の領域に記録さ
れているサイズ情報とを再生して、圧縮データを伸長手
段3に供給し、サイズ情報をエリア判定手段7に供給す
る。
The recording medium 1 has size information of the image data in the designated area and the compression / decompression area (designated area 1).
590 x 795 pixels, compression / expansion area 1600 x 800
Pixel) is recorded in the second area. The reproducing means 2 is, for example, an optical disk drive, and reproduces compressed data recorded in the first area of the recording medium 1 and size information recorded in the second area, and decompresses the compressed data. 3 and the size information to the area determination means 7.

【0014】伸長手段3は、再生手段2より供給された
圧縮データを空間ブロック単位でデータ伸長する。伸長
される圧縮伸長エリアの画像データを順次記憶手段4に
供給し、更に、順次伸長される圧縮伸長エリアの画像デ
ータの各々に対応する画素を示す画素対応信号をエリア
判定手段7、書き込み信号発生手段8及び書き込みアド
レス発生手段9に供給する。
The decompression means 3 decompresses the compressed data supplied from the reproduction means 2 in space block units. The image data of the compressed / expanded area to be expanded is sequentially supplied to the storage means 4, and further, a pixel corresponding signal indicating a pixel corresponding to each of the image data of the sequentially expanded / expanded area is determined by the area determining means 7, To the means 8 and the write address generating means 9.

【0015】例えば、伸長手段3は、データ伸長を空間
ブロック単位で行うため、データ伸長される圧縮伸長エ
リアの画像データの順は、最初の空間ブロックに対し
て、16×8画素に対応するYの画像データをデータ伸
長(8×8画素のデータブロックのデータ伸長を2回繰
り返す)し、8×8画素に対応するPbの画像データを
データ伸長(8×8画素のデータブロックのデータ伸長
を1回行う)し、8×8画素に対応するPrの画像デー
タをデータ伸長(8×8画素のデータブロックのデータ
伸長を1回行う)する。これを空間ブロック毎に繰り返
し行うことにより、データ伸長が行われる。
For example, since the decompression means 3 performs data decompression on a space block basis, the order of image data in the compression / decompression area to be data decompressed is Y corresponding to 16 × 8 pixels with respect to the first space block. Of the Pb image data (the data expansion of the 8 × 8 pixel data block is repeated twice), and the Pb image data corresponding to the 8 × 8 pixel is data expanded (the data expansion of the 8 × 8 pixel data block is performed). Once), and data expansion of the Pr image data corresponding to 8 × 8 pixels is performed (data expansion of a data block of 8 × 8 pixels is performed once). By repeating this for each spatial block, data decompression is performed.

【0016】尚、伸長手段3による画像データの出力の
順番は、前述するYを16×8画素、Pbを8×8画素
及びPrを8×8画素と繰り返す順番とは限らず、伸長
手段3によっては、これらのデータを一旦内蔵するデー
タバッファに貯えた後、例えば、Yを一画像分出力し、
次にPbを一画像分出力し、更にPrを一画像分出力す
ることもでき、従って様々な順番による画像データの出
力が実施可能であり、それらが本発明に含まれるのは言
うまでもない。
The order of output of the image data by the decompression means 3 is not limited to the order in which Y is repeated 16 × 8 pixels, Pb is 8 × 8 pixels, and Pr is 8 × 8 pixels. In some cases, after temporarily storing these data in a built-in data buffer, for example, Y is output for one image,
Next, Pb can be output for one image, and Pr can be output for one image. Therefore, it is possible to output image data in various orders, and it goes without saying that they are included in the present invention.

【0017】エリア判定手段7は、伸長手段3より圧縮
伸長エリアの画像データが所定の順(例えばYを16×
8画素、Pbを8×8画素及びPrを8×8画素と繰り
返す順)に出力されるため、伸長手段3でデータ伸長さ
れ順次出力される圧縮伸長エリアの画像データの各々に
対応する画素を表す画素対応信号と、再生手段3より供
給される指定エリア及び圧縮伸長エリアのサイズ情報に
基づいて、画素対応信号の示す各々の画素が圧縮伸長エ
リアのどの位置に対応する画素かを検出し、検出された
画素が指定エリアに属する画素か、あるいは指定外エリ
アに属する画素かを判定する。
The area determining means 7 determines that the image data of the compression / expansion area is determined in a predetermined order (for example, Y is 16 ×
8 pixels, Pb is repeated as 8 × 8 pixels, and Pr is repeated as 8 × 8 pixels). Therefore, the pixels corresponding to the image data in the compression / decompression area, which are decompressed by the decompression means 3 and sequentially output, are output. Based on the pixel corresponding signal to be represented and the size information of the designated area and the compression / expansion area supplied from the reproducing unit 3, it is detected which pixel in the compression / expansion area corresponds to each pixel indicated by the pixel correspondence signal, It is determined whether the detected pixel belongs to a designated area or a non-designated area.

【0018】例えば、画素対応信号は連続した方形波で
あり、方形波の一周期が各画素に対応している。即ち、
データ伸長された圧縮伸長エリアの画像データは例えば
Yを16×8画素、Pbを8×8画素、Prを8×8画
素と繰り返す順番で記憶手段4に供給されるため、画素
対応信号の各画素を示す方形波の最初の16×8周期分
は最初の空間ブロックのYの画素を示し、次の8×8周
期分は最初の空間ブロックのPbの画素を示し、次の8
×8周期分は最初の空間ブロックのPrの画素を示し、
次の16×8周期分は次の空間ブロックのYを示すとい
った具合である。この方形波(画素対応信号)の一周期
毎に、圧縮伸長エリアのどの位置に対応する画素かを検
出し、検出した画素が指定エリアに属する画素か、ある
いは指定外エリアに属する画素かを判定する。
For example, the pixel corresponding signal is a continuous square wave, and one cycle of the square wave corresponds to each pixel. That is,
The image data of the compressed / expanded area after data expansion is supplied to the storage means 4 in the order of repeating Y for 16 × 8 pixels, Pb for 8 × 8 pixels, and Pr for 8 × 8 pixels. The first 16 × 8 periods of the square wave indicating the pixels indicate the Y pixels of the first spatial block, the next 8 × 8 periods indicate the Pb pixels of the first spatial block, and the next 8 × 8 periods
× 8 periods indicate Pr pixels of the first spatial block,
The next 16 × 8 period indicates the Y of the next space block, and so on. For each cycle of this square wave (pixel corresponding signal), it detects which pixel in the compression / expansion area corresponds to, and determines whether the detected pixel belongs to a designated area or a non-designated area. I do.

【0019】更に、エリア判定手段7は、指定エリアに
属すると判定された画素に対応する画像データ(指定エ
リアの画像データ)を記憶手段4に書き込ませる旨の書
き込み許可信号を、書き込み信号発生手段8に供給し、
指定外エリアに属すると判定された画素に対応する画像
データ(指定外エリアの画像データ)を記憶手段4に書
き込ませない旨の書き込み禁止信号を、書き込み信号発
生手段8に供給する。
Further, the area determination means 7 outputs a write enable signal for writing image data (image data of the specified area) corresponding to the pixel determined to belong to the specified area to the storage means 4, 8 to supply
The write signal generation unit 8 is supplied with a write inhibit signal indicating that image data (image data of the non-designated area) corresponding to pixels determined to belong to the non-designated area is not written into the storage unit 4.

【0020】また、エリア判定手段7は、書き込みアド
レス発生手段9に対して、画素対応信号の示す各々の画
素が、圧縮伸長エリアのどの位置に対応する画素かを示
す旨の画素検出信号を供給する。書き込み信号発生手段
8は、伸長手段3より得られる画素対応信号の示す各画
素(Yの画素、Pbの画素、Prの画素)に対して、エ
リア判定手段7より書き込み許可信号、あるいは書き込
み禁止信号が供給されるため、書き込み許可信号が供給
されたときは、その画素に対応する画像データ(指定エ
リアの画像データ)を記憶手段4に書き込むべく記憶手
段4に書き込み信号を供給する。また、書き込み禁止信
号が供給されたときは、その画素に対応する画像データ
(指定外エリアの画像データ)を記憶手段4に書き込む
ことを禁止すべく記憶手段4に書き込み信号を供給しな
い。
Further, the area judging means 7 supplies the write address generating means 9 with a pixel detection signal indicating that each pixel indicated by the pixel correspondence signal corresponds to a position in the compression / expansion area. I do. The write signal generation means 8 outputs a write permission signal or a write inhibition signal from the area determination means 7 to each pixel (Y pixel, Pb pixel, Pr pixel) indicated by the pixel correspondence signal obtained by the decompression means 3. Therefore, when a write enable signal is supplied, a write signal is supplied to the storage unit 4 so as to write image data (image data of the designated area) corresponding to the pixel into the storage unit 4. When a write inhibit signal is supplied, no write signal is supplied to the storage means 4 to inhibit writing of image data (image data of an undesignated area) corresponding to the pixel into the storage means 4.

【0021】書き込みアドレス発生手段9は、伸長手段
3より得られる画素対応信号の示す各画素(Yの画素、
Pbの画素、Prの画素)に対して、エリア判定手段7
より圧縮伸長エリアのどの位置に対応する画素かを示す
画素検出信号が供給されるため、画素検出信号に基づい
て、画素対応信号の示す各画素に対応する圧縮伸長エリ
アの画像データの書き込みアドレスを特定し、記憶手段
4に書き込みアドレスを供給する。
The write address generating means 9 outputs each pixel (Y pixel,
Area determination means 7 for the Pb pixel and the Pr pixel).
Since a pixel detection signal indicating which position of the compression / expansion area corresponds to the pixel is supplied, the write address of the image data of the compression / expansion area corresponding to each pixel indicated by the pixel correspondence signal is determined based on the pixel detection signal. Then, the write address is supplied to the storage unit 4.

【0022】記憶手段4は、書き込みアドレス発生手段
9より発生されるアドレスの指し示す記憶位置に、書き
込み信号発生手段8により書き込み信号が発生されるタ
イミングで、伸長手段3より供給される圧縮伸長エリア
の画像データのうち、指定エリアの画像データのみを記
憶する。また記憶手段4は、後述する読みだしアドレス
発生手段10により発生される読みだしアドレスにした
がって、記憶された指定エリアの画像データを映像処理
手段5に供給する。
The storage means 4 stores the compression / decompression area supplied from the decompression means 3 at the storage position indicated by the address generated by the write address generation means 9 at the timing when the write signal is generated by the write signal generation means 8. Of the image data, only the image data of the designated area is stored. The storage unit 4 supplies the stored image data of the designated area to the video processing unit 5 in accordance with a read address generated by a read address generation unit 10 described later.

【0023】読みだしアドレス発生手段10は、記憶手
段4に記憶された指定エリアの画像データを読み出すべ
く、読み出しアドレスを記憶手段4に供給する。映像処
理手段5は、記憶手段4より読み出された指定エリアの
画像データをハイビジョン信号に変換する。表示手段6
は、例えばハイビジョンモニタであり、映像処理手段5
より供給されるハイビジョン信号に基づいて、対応する
指定エリアの画像を表示する。
The read address generating means 10 supplies a read address to the storage means 4 in order to read the image data of the designated area stored in the storage means 4. The video processing unit 5 converts the image data of the designated area read from the storage unit 4 into a Hi-Vision signal. Display means 6
Is a high-definition monitor, for example.
Based on the supplied Hi-Vision signal, an image of the corresponding designated area is displayed.

【0024】従って、エリア判定手段7が、伸長手段3
でデータ伸長された圧縮伸長エリアの画像データのう
ち、指定外エリアの画像データを記憶手段4に書き込み
ことを禁止するため、データ伸長後、指定外エリアの画
像データ(ダミーデータ)が記憶手段4に記憶されず、
従って、表示手段の画面上に指定外エリアの画像(ダミ
ー)を表示しないで済む。
Therefore, the area determining means 7 is provided
In order to prohibit writing of the image data of the non-designated area into the storage means 4 among the image data of the compression / decompression area, the image data (dummy data) of the non-designated area is stored after the data expansion. Not remembered in
Therefore, it is not necessary to display the image (dummy) of the non-designated area on the screen of the display means.

【0025】尚、指定外エリアの画像データは、指定エ
リアの画像データの四隅ならどこに付加されていてもよ
い。また、指定エリアの画像データが丁度空間ブロック
の整数個分の画像サイズの場合は、指定外エリアの画像
データを付加する必要がなく、指定エリアの画像データ
が圧縮伸長エリアの画像データとなるのは言うまでもな
い。更にこの場合、エリア判定手段7における画像デー
タの書き込み禁止機能が作動しないのは言うまでもな
い。
The image data in the non-designated area may be added to any of the four corners of the image data in the designated area. Further, when the image data of the designated area is just the image size of an integer number of space blocks, it is not necessary to add the image data of the non-designated area, and the image data of the designated area becomes the image data of the compression / decompression area. Needless to say. Further, in this case, it goes without saying that the image data write inhibit function in the area determination means 7 does not operate.

【0026】また更に、圧縮伸長エリアは、指定エリア
を含む最小の空間ブロック整数個分のエリアとは限ら
ず、指定エリアを含み、かつ空間ブロックの整数個分の
エリアであれば、どんなエリアでもよいことは言うまで
もない。尚、第1の実施例では、Yと、Yのサンプリン
グ周波数の2分の1の周波数で水平方向にサブサンプリ
ングしたPb及びPrに関して説明したが、Pb及びP
rは任意のサンプリング周波数でサンプリングしたもの
でよく(例えばYのサンプリング周波数と同じサンプリ
ング周波数でサンプリングしたもの、例えばYのサンプ
リング周波数の4分の1のサンプリング周波数でサブサ
ンプリングしたもの等)、そのような構成にしても本実
施例が実施可能であることは言うまでもない。
Furthermore, the compression / decompression area is not limited to the area of the smallest integer number of spatial blocks including the designated area, but may be any area including the designated area and an area of an integer number of spatial blocks. It goes without saying that it is good. In the first embodiment, Y and Pb and Pr subsampled in the horizontal direction at half the sampling frequency of Y have been described.
r may be sampled at an arbitrary sampling frequency (eg, sampled at the same sampling frequency as Y, for example, sub-sampled at a sampling frequency of の of the Y sampling frequency), and so on. Needless to say, the present embodiment can be implemented even with such a configuration.

【0027】また、輝度信号、色差信号は、それぞれ
Y、Pb、Prとは限らず、適宜選択すればよい。 [2]第2の実施例 上述する第1の実施例では、データ圧縮するときに、指
定エリアの画像データにダミーとなる指定外エリアの画
像データを付加し、丁度空間ブロック整数個分の圧縮伸
長エリアの画像データにしてデータ圧縮した圧縮データ
を予め記録媒体に記録していたが、指定エリアの画像デ
ータは必ずしも最初から存在するとは限らず、任意サイ
ズの画像データのうち、操作者が所望するエリアを指定
する場合もある。
The luminance signal and the color difference signal are not limited to Y, Pb, and Pr, respectively, and may be appropriately selected. [2] Second Embodiment In the first embodiment described above, when data is compressed, dummy image data of a non-designated area is added to image data of a designated area, and compression is performed for exactly an integer number of space blocks. The compressed data obtained by compressing the data into the image data of the decompression area is recorded in advance on the recording medium. However, the image data of the designated area does not always exist from the beginning. In some cases, an area to be specified is specified.

【0028】そこで第2の実施例では、操作者が指定し
た指定エリアの画像データが16m×8n(m、nは自
然数)画素の画像サイズになっていない場合、データ圧
縮のためには16m×8n画素の画像サイズが必要とな
るため、指定エリアに隣接した画像データ(指定外エリ
アの画像データ、図4の斜線部)を含めて16m×8n
画素の画像サイズにし、この16m×8n画素サイズの
圧縮伸長エリアの画像データをデータ圧縮した圧縮デー
タを記録媒体に記録している。
Therefore, in the second embodiment, if the image data of the designated area designated by the operator is not 16 m × 8n (m and n are natural numbers) pixels, the data size is 16 m × 8 m for data compression. Since an image size of 8n pixels is required, 16m × 8n including image data adjacent to the designated area (image data of the non-designated area, hatched portion in FIG. 4)
Compressed data obtained by compressing the image data in the compression / expansion area of 16 m × 8 n pixels is recorded on a recording medium.

【0029】従って、第1の実施例では、指定外エリア
の画像データはデータ圧縮するときに付加したダミーデ
ータであるが、第2の実施例では、指定外エリアの画像
データは、指定エリアの画像データを指定したときに含
まれる画像情報をもつデータであり、ダミーのデータと
は異なる(図4参照)。以下に、操作者が所望するエリ
アを指定する場合を図3を用いて説明する。但し、図3
と図1には共通の機能ブロックが存在するので、同一ブ
ロックについては、符号を共通にして重複説明を割愛す
る。
Therefore, in the first embodiment, the image data in the non-designated area is dummy data added when data is compressed. In the second embodiment, the image data in the non-designated area is the dummy data. This is data having image information included when image data is specified, and is different from dummy data (see FIG. 4). Hereinafter, a case where the operator specifies a desired area will be described with reference to FIG. However, FIG.
1 and FIG. 1 have common functional blocks, and the same blocks will be denoted by the same reference numerals and redundant description will be omitted.

【0030】第1の実施例と同様に輝度信号(例えば
Y)、色差信号(例えばPb、Pr)を用いて画像デー
タが構成される場合について述べる。従って、空間ブロ
ックは水平方向16画素、垂直方向8画素である。スキ
ャナ11は、任意の画像サイズ(例えば2200×12
00画素)の原画像データを読み取り、読み取った原画
像データを記憶手段4に出力する。
As in the first embodiment, a case where image data is constituted by using a luminance signal (for example, Y) and a color difference signal (for example, Pb, Pr) will be described. Therefore, the space block has 16 pixels in the horizontal direction and 8 pixels in the vertical direction. The scanner 11 has an arbitrary image size (for example, 2200 × 12
(00 pixels) and outputs the read original image data to the storage unit 4.

【0031】指定手段12は、ハイビジョンモニタに表
示された原画像より抽出したい部分を指定エリアとして
指定するための操作手段(図示せず)を持ち、操作手段
を操作することにより形成される指定エリアに対応する
枠情報を映像処理手段5に供給する。従って、操作者
は、ハイビジョンモニタに多重表示された枠を見ながら
操作手段を操作して枠のエリアサイズを変化させ、枠の
表すエリア(指定エリア)を指定する。
The designating means 12 has operating means (not shown) for designating a portion to be extracted from the original image displayed on the high-definition monitor as a designated area, and a designated area formed by operating the operating means. Is supplied to the video processing means 5. Therefore, the operator operates the operation unit while watching the frame multiplexed displayed on the high-definition monitor, changes the area size of the frame, and specifies the area (designated area) represented by the frame.

【0032】また指定手段12は、指定エリアが空間ブ
ロック整数個分の画像サイズが否かを判定し、指定エリ
アが空間ブロックの整数個分の画像サイズでない場合、
指定エリアを含む空間ブロック整数個分のエリア(圧縮
伸長エリア)を特定して、記憶手段4に対し圧縮伸長エ
リアに対応する読みだしアドレスを供給する。更に指定
手段12は、記録手段14に対し指定エリアと圧縮伸長
エリアのサイズ情報を供給する。
The designating means 12 determines whether the designated area has an image size of an integral number of spatial blocks. If the designated area is not an image size of an integral number of spatial blocks,
An area (compression / expansion area) for an integer number of spatial blocks including the designated area is specified, and a read address corresponding to the compression / expansion area is supplied to the storage means 4. Further, the designation unit 12 supplies the recording unit 14 with the size information of the designated area and the compression / decompression area.

【0033】圧縮手段13は、指定手段12で指定され
たアドレスから圧縮伸長エリアの画像データを読みだ
し、これを空間ブロック単位でデータ圧縮し、圧縮デー
タを生成する。記録手段14は、例えば、光ディスクド
ライブであり、圧縮手段13で圧縮された圧縮データを
記録媒体1に記録させる。さらに、指定エリアの画像デ
ータのサイズ情報(1590×795画素)及び圧縮伸
長エリアの画像データのサイズ情報(1600×800
画素)を記録媒体1に記録させる。
The compression means 13 reads out the image data in the compression / decompression area from the address designated by the designation means 12 and compresses the data in units of spatial blocks to generate compressed data. The recording unit 14 is, for example, an optical disk drive, and records the compressed data compressed by the compression unit 13 on the recording medium 1. Furthermore, the size information (1590 × 795 pixels) of the image data of the designated area and the size information (1600 × 800) of the image data of the compression / decompression area
Pixel) is recorded on the recording medium 1.

【0034】以上のようにして、記録媒体1に記録され
た圧縮データ及びサイズ情報を第1の実施例と同様に再
生し、圧縮データを伸長手段3でデータ伸長し、出力さ
れる圧縮伸長エリアの画像データのうち、エリア判定手
段7が、サイズ情報に基づいて、指定外エリアの画像デ
ータを記憶手段4に書き込みことを禁止するため、指定
外エリアの画像データ(画像情報)を記憶手段4に記憶
せず、指定エリアの画像データのみを記憶手段4に記憶
する。従って、表示手段6の画面上に指定外エリアの画
像(画像情報)を表示しないで済む。
As described above, the compressed data and the size information recorded on the recording medium 1 are reproduced in the same manner as in the first embodiment, the compressed data is decompressed by the decompression means 3, and the output decompression area is output. Out of the image data of the non-designated area based on the size information, the area determination means 7 prohibits writing of the image data of the non-designated area into the storage means 4. And only the image data of the designated area is stored in the storage means 4. Therefore, it is not necessary to display the image (image information) of the non-designated area on the screen of the display unit 6.

【0035】尚、指定外エリアの画像データは、指定エ
リアの画像データの四隅ならどこに存在していてもよ
い。また、指定エリアの画像データが丁度空間ブロック
の整数個分の画像サイズの場合は、圧縮伸長エリアの画
像データに指定外エリアの画像データを含む必要がな
く、指定エリアの画像データが圧縮伸長エリアの画像デ
ータとなるのは言うまでもない。更にこの場合、エリア
判定手段7における画像データの書き込み禁止機能が作
動しないのは言うまでもない。
The image data in the non-designated area may exist anywhere in the four corners of the image data in the designated area. When the image data in the designated area has an image size of an integral number of space blocks, the image data in the compression / expansion area does not need to include the image data in the non-designated area. It goes without saying that the image data becomes. Further, in this case, it goes without saying that the image data write inhibit function in the area determination means 7 does not operate.

【0036】また更に、圧縮伸長エリアは、指定エリア
を含む最小の空間ブロック整数個分のエリアとは限ら
ず、指定エリアを含み、かつ空間ブロックの整数個分の
エリアであれば、どんなエリアでもよいことは言うまで
もない。尚、第2の実施例では、Yと、Yのサンプリン
グ周波数の2分の1の周波数で水平方向にサブサンプリ
ングしたPb及びPrに関して説明したが、Pb及びP
rは任意のサンプリング周波数でサンプリングしたもの
でよく(例えばYのサンプリング周波数と同じサンプリ
ング周波数でサンプリングしたもの、例えばYのサンプ
リング周波数の4分の1のサンプリング周波数でサブサ
ンプリングしたもの等)、そのような構成にしても本実
施例が実施可能であることは言うまでもない。
Furthermore, the compression / decompression area is not limited to an area corresponding to the smallest integer number of space blocks including the designated area, but may be any area including the designated area and an area corresponding to an integer number of space blocks. It goes without saying that it is good. In the second embodiment, Y and Pb and Pr subsampled in the horizontal direction at half the sampling frequency of Y have been described.
r may be sampled at an arbitrary sampling frequency (eg, sampled at the same sampling frequency as Y, for example, sub-sampled at a sampling frequency of の of the Y sampling frequency), and so on. Needless to say, the present embodiment can be implemented even with such a configuration.

【0037】また、輝度信号、色差信号は、それぞれ
Y、Pb、Prとは限らず、適宜選択すればよい。尚、
前述する第1の実施例及び第2の実施例では、記憶手段
4には圧縮伸長エリアの画像データが供給されるが、エ
リア判定手段7により指定外エリアに属する画素に対応
する画像データ(指定外エリアの画像データ)に対して
書き込み信号を発生させないため、指定外エリアの画像
データを記憶手段4に記憶させず、指定エリアの画像デ
ータのみを記憶手段4に記憶させているが、記憶手段4
に指定エリアの画像データのみを供給させる構成はこの
限りではなく、以下の構成でもよく、このような構成が
本発明に含まれることは言うまでもない。
The luminance signal and the color difference signal are not limited to Y, Pb, and Pr, respectively, and may be appropriately selected. still,
In the above-described first and second embodiments, the image data of the compression / expansion area is supplied to the storage unit 4. Since no write signal is generated for the image data in the outside area, the image data in the non-designated area is not stored in the storage means 4 and only the image data in the designated area is stored in the storage means 4. 4
However, the configuration for supplying only the image data of the designated area is not limited to this, and the following configuration may be employed, and such a configuration is included in the present invention.

【0038】図5は以下に述べる構成の要部の機能ブロ
ック図である。例えば、伸長手段3の出力先に第1のゲ
ート手段15を設け、伸長手段3より供給される画素対
応信号の分岐線上に第2のゲート手段16を設ける。伸
長手段3より画素対応信号が供給されると、エリア判定
手段7は、第1のゲート手段15に供給されるデータ伸
長された圧縮伸長エリアの画像データの各々に対応する
画素が指定エリアに属する画素か指定外エリアに属する
画素かを判定する。
FIG. 5 is a functional block diagram of a main part of the configuration described below. For example, the first gate means 15 is provided at the output destination of the expansion means 3, and the second gate means 16 is provided on the branch line of the pixel corresponding signal supplied from the expansion means 3. When a pixel-corresponding signal is supplied from the decompression means 3, the area determination means 7 determines that a pixel corresponding to each of the image data of the compressed and decompressed area supplied to the first gate means 15 belongs to the designated area. It is determined whether the pixel belongs to a pixel or a non-designated area.

【0039】指定外エリアに属する画素と判定した場
合、エリア判定手段7は、その画素に対応する画像デー
タの発生を禁止させる旨の禁止信号を第1のゲート手段
15及び第2のゲート手段16に供給する。指定エリア
に属する画素と判定した場合、エリア判定手段7は、そ
の画素に対応する画像データを発生させる旨の発生信号
を第1のゲート手段15及び第2のゲート手段16に供
給する。
If it is determined that the pixel belongs to the non-designated area, the area determining means 7 outputs a prohibition signal for prohibiting the generation of image data corresponding to the pixel to the first gate means 15 and the second gate means 16. To supply. If it is determined that the pixel belongs to the designated area, the area determination unit 7 supplies a generation signal to generate image data corresponding to the pixel to the first gate unit 15 and the second gate unit 16.

【0040】第1のゲート手段15は、禁止信号が供給
される場合にゲートを閉にし、画像データを通過させ
ず、発生信号が供給される場合のみゲートを開にし、画
像データを通過させる。第1のゲート手段15からは指
定エリアの画像データのみが出力される。第2のゲート
手段16は、禁止信号が供給される場合にゲートを閉に
し、画素対応信号を通過させず、発生信号が供給される
場合のみゲートを開にし、画素対応信号を通過させる。
第2のゲート手段16からは指定エリアに属する画素を
示す画素対応信号のみが出力される。
The first gate means 15 closes the gate when the inhibit signal is supplied and does not pass the image data, but opens the gate only when the generated signal is supplied and passes the image data. The first gate means 15 outputs only the image data of the designated area. The second gate means 16 closes the gate when the prohibition signal is supplied, does not pass the pixel corresponding signal, and opens the gate only when the generated signal is supplied, and passes the pixel corresponding signal.
From the second gate means 16, only a pixel corresponding signal indicating a pixel belonging to the designated area is output.

【0041】また、エリア判定手段7は、書き込み信号
発生手段8に書き込み許可信号のみを供給し、書き込み
アドレス発生手段9に画素検出信号を供給する。書き込
み信号発生手段8は、第2のゲート手段16より得られ
る画素対応信号の示す各画素(指定エリアの画素)に対
して、書き込み信号を記憶手段4に供給し、書き込みア
ドレス発生手段9は、第2のゲート手段16より得られ
る画素対応信号の示す各画素(指定エリアの画素)に対
して、書き込みアドレスを供給する。
The area judging means 7 supplies only the write enable signal to the write signal generating means 8 and supplies a pixel detection signal to the write address generating means 9. The write signal generation means 8 supplies a write signal to the storage means 4 for each pixel (pixel in the designated area) indicated by the pixel correspondence signal obtained from the second gate means 16, and the write address generation means 9 A write address is supplied to each pixel (pixel in the designated area) indicated by the pixel correspondence signal obtained from the second gate means 16.

【0042】従って、記憶手段4には指定エリアの画像
データのみが供給され、指定エリアの画像データのみが
記憶される。尚、前述する両実施例の機能(回路)ブロ
ックは、必要に応じてそれぞれソフトウエアで構成して
もハードウエアで構成してもよく、本発明が何かの態様
をも含むことは言うまでもない。
Therefore, only the image data of the designated area is supplied to the storage means 4, and only the image data of the designated area is stored. Note that the function (circuit) blocks of both embodiments described above may be configured by software or hardware as necessary, and it goes without saying that the present invention also includes some forms. .

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

【0044】[0044]

【発明の効果】従って本発明は、データ伸長された画像
データを記憶手段に記憶する際、余分な指定外エリアの
画像データを記憶せず、指定エリアの画像データのみを
記憶することが可能であり、その効果は大である。
Therefore, according to the present invention, when storing the decompressed image data in the storage means, it is possible to store only the image data in the designated area without storing the extra image data in the non-designated area. Yes, the effect is great.

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

【図1】本発明の第1の実施例の機能ブロック図であ
る。
FIG. 1 is a functional block diagram of a first embodiment of the present invention.

【図2】本発明の第1の実施例の画像を示す図である。FIG. 2 is a diagram showing an image according to the first embodiment of the present invention.

【図3】本発明の第2の実施例の機能ブロック図であ
る。
FIG. 3 is a functional block diagram of a second embodiment of the present invention.

【図4】本発明の第2の実施例の画像を示す図である。FIG. 4 is a diagram showing an image according to a second embodiment of the present invention.

【図5】本発明の一実施例の機能ブロック図である。FIG. 5 is a functional block diagram of one embodiment of the present invention.

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

1 記録媒体 3 伸長手段 4 記憶手段 7 エリア判定手段 DESCRIPTION OF SYMBOLS 1 Recording medium 3 Decompression means 4 Storage means 7 Area determination means

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 M×N(但し、M、Nは自然数)画素の
空間ブロック単位でデータ伸長する画像処理装置におい
て、 任意サイズの指定エリアの画像データに必要に応じて指
定外エリアの画像データを付加した該空間ブロック整数
個分で構成される圧縮伸長エリアの画像データを予め該
空間ブロック単位でデータ圧縮し、生成された圧縮デー
タを記録する記録媒体と、 前記記録媒体より読み出された該圧縮データを空間ブロ
ック単位でデータ伸長する伸長手段と、 前記伸長手段で所定の順に出力される画像データの各々
に対応する画素が指定エリアあるいは指定外エリアに属
するかを判定し、指定外エリアに属する画素に対応する
画像データの書き込みを禁止するエリア判定手段と、 前記エリア判定手段の判定に基づいて、指定エリアの画
像データのみを記憶する記憶手段とを、 それぞれ配して成る画像処理装置。
1. An image processing apparatus for expanding data in units of spatial blocks of M × N pixels (where M and N are natural numbers), wherein image data of a designated area of an arbitrary size is added to image data of a non-designated area as necessary. The image data of the compression / expansion area composed of an integer number of the spatial blocks to which data has been added is compressed in advance in units of the spatial blocks, and a recording medium for recording the generated compressed data, and read from the recording medium Decompression means for decompressing the compressed data in units of spatial blocks; and determining whether pixels corresponding to each of the image data output in a predetermined order by the decompression means belong to a designated area or a non-designated area. Area determination means for prohibiting writing of image data corresponding to pixels belonging to the area, and image data of a designated area based on the determination by the area determination means. An image processing apparatus comprising storage means for storing data only.
JP20237692A 1992-07-29 1992-07-29 Image processing device Expired - Fee Related JP3177306B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20237692A JP3177306B2 (en) 1992-07-29 1992-07-29 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20237692A JP3177306B2 (en) 1992-07-29 1992-07-29 Image processing device

Publications (2)

Publication Number Publication Date
JPH0654207A JPH0654207A (en) 1994-02-25
JP3177306B2 true JP3177306B2 (en) 2001-06-18

Family

ID=16456476

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20237692A Expired - Fee Related JP3177306B2 (en) 1992-07-29 1992-07-29 Image processing device

Country Status (1)

Country Link
JP (1) JP3177306B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3569152B2 (en) 1998-10-15 2004-09-22 株式会社マキタ battery pack
JP4842420B2 (en) 1999-09-28 2011-12-21 トヨタ自動車株式会社 Cooling liquid, cooling liquid sealing method and cooling system

Also Published As

Publication number Publication date
JPH0654207A (en) 1994-02-25

Similar Documents

Publication Publication Date Title
JPH10164492A (en) Image-pickup device
JPH07311569A (en) Image processing device and method
JPH11284948A (en) Thumbnail generating method and thumbnail display method
JP3177306B2 (en) Image processing device
JPH09506498A (en) Image data recording device and image data reproducing device
JP4001946B2 (en) Playback device
JPH08336113A (en) Image processing device
JP3276858B2 (en) Digital still camera
JP3015595B2 (en) Decompressed image processing device
JP5034717B2 (en) Decoding device and decoding method
JP3527591B2 (en) Information recording / reproducing device
JPH01221989A (en) Reduction-recording device and enlargement-reproducing device of picture signal
JP2877698B2 (en) Partial extension device
JP5093395B2 (en) Decoding device and decoding method
JPH0767073A (en) Picture recording and reproducing device
KR970008413B1 (en) Image decoder
JP2894870B2 (en) Image storage device
JP2942838B2 (en) Video processing system
JP2669996B2 (en) Image reduction device and reduced image display method
JP2732941B2 (en) Image signal processing device
JP3062702B2 (en) Image storage device
JP2003009079A (en) Method and device for recording and reproducing monitor image
JP3354076B2 (en) Image compression method, image expansion method, image compression device, and image expansion device
JPH06214721A (en) Picture data storing method
JPH0970053A (en) Signal processing unit

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090406

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100406

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees