[go: up one dir, main page]

JPH08163563A - Still picture data compression device - Google Patents

Still picture data compression device

Info

Publication number
JPH08163563A
JPH08163563A JP30240794A JP30240794A JPH08163563A JP H08163563 A JPH08163563 A JP H08163563A JP 30240794 A JP30240794 A JP 30240794A JP 30240794 A JP30240794 A JP 30240794A JP H08163563 A JPH08163563 A JP H08163563A
Authority
JP
Japan
Prior art keywords
lines
still image
image data
data
line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP30240794A
Other languages
Japanese (ja)
Inventor
Toshiki Motomura
俊樹 本村
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP30240794A priority Critical patent/JPH08163563A/en
Publication of JPH08163563A publication Critical patent/JPH08163563A/en
Pending legal-status Critical Current

Links

Landscapes

  • Television Systems (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)

Abstract

PURPOSE: To suppress the errors of blocks provided with supplementary data by adding the supplementary data generated based on the data of remaining lines by a line number lacking from a stipulated line number and constituting a block. CONSTITUTION: Still picture data for eight lines are written from a still picture input circuit 20 to the picture memory 21 of eight lines by the control of a memory controller 22. Thereafter, to the still picture data of 1st-1032nd lines among 1035 lines read from the memory 21, a data compression processing by a JPEG encoder 23 is performed. Then, the data of 1032nd-1035th lines are written in the memory 21 as they are. Then, the still picture data of the 1035th line are repeatedly written in a free area for five lines. Thus, by using the still picture data of the 1035th line as the supplementary data for five lines, a large error is not generated in the block provided with the supplementary data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、HDTV(High Def
inition Television)等の放送システムに係り、特にそ
の放送される静止画像データに高能率符号化処理を施す
ための静止画像データ圧縮装置の改良に関する。
BACKGROUND OF THE INVENTION The present invention relates to an HDTV (High Definition
The present invention relates to a broadcasting system such as inition television) and, more particularly, to an improvement of a still image data compression device for performing high efficiency encoding processing on the still image data to be broadcast.

【0002】[0002]

【従来の技術】周知のように、首記の如き放送システム
においては、放送される静止画像データに施すデータ圧
縮技術として、JPEG(Joint Photographic Coding
Experts Group )方式を広く採用している。このJPE
G方式によるデータ圧縮技術では、静止画像データを水
平方向8画素×垂直方向8ラインでなるブロックに分割
し、1ブロック単位でDCT(Discreat Cosine Transf
orm )処理、量子化処理及びハフマン符号化処理を施す
ようにしている。
2. Description of the Related Art As is well known, in a broadcasting system such as the one mentioned above, JPEG (Joint Photographic Coding) is used as a data compression technique applied to still image data to be broadcast.
Experts Group) method is widely adopted. This JPE
In the data compression technology by the G method, still image data is divided into blocks of 8 pixels in the horizontal direction and 8 lines in the vertical direction, and DCT (Discreat Cosine Transf
orm) processing, quantization processing, and Huffman coding processing.

【0003】ところで、HDTVにおける静止画像デー
タは、図4に示すように、水平方向1920画素×垂直
方向1035ラインで構成されているため、上記8画素
×8ラインのブロックに分割する場合、水平方向には1
920/8で丁度240個のブロックが構成されるが、
垂直方向には1035/8で129個のブロックが構成
されて3ラインの余りが生じることになる。
By the way, since the still image data in HDTV is composed of 1920 pixels in the horizontal direction × 1035 lines in the vertical direction as shown in FIG. 4, when it is divided into blocks of 8 pixels × 8 lines, For 1
In 920/8, exactly 240 blocks are constructed,
In the vertical direction, 129 blocks are formed by 1035/8, and a remainder of 3 lines is generated.

【0004】このため、従来では、図4に斜線で示すよ
うに、垂直方向に5ライン分つまり1920画素×5ラ
イン分のDC(直流)データを補足データとして付加す
ることで、垂直方向のライン数を1040とし、結局、
水平方向240ブロック×垂直方向130ブロックを形
成して、各ブロックにJPEG方式によるデータ圧縮処
理を順次施すようにしている。
For this reason, conventionally, as shown by hatching in FIG. 4, by adding DC (direct current) data for 5 lines in the vertical direction, that is, 1920 pixels × 5 lines, as supplementary data, lines in the vertical direction are added. Set the number to 1040, and in the end,
240 blocks in the horizontal direction × 130 blocks in the vertical direction are formed, and each block is sequentially subjected to data compression processing by the JPEG method.

【0005】図5は、このような従来の静止画像データ
圧縮装置を示している。すなわち、入力端子11には、
HDTVで放送すべき静止画像データが供給されてい
る。この入力端子11に供給された静止画像データは、
静止画入力回路12を介して、その1フレーム分が画像
メモリ13に書き込まれる。この画像メモリ13に記憶
された1フレーム分の静止画像データは、上述したよう
に水平方向1920画素×垂直方向1035ラインのサ
イズであるため、5ライン分のDCデータを付加する必
要がある。
FIG. 5 shows such a conventional still image data compression apparatus. That is, in the input terminal 11,
Still image data to be broadcast on HDTV is supplied. The still image data supplied to this input terminal 11 is
The one frame is written in the image memory 13 via the still image input circuit 12. Since the still image data for one frame stored in the image memory 13 has a size of 1920 pixels in the horizontal direction × 1035 lines in the vertical direction as described above, it is necessary to add DC data for 5 lines.

【0006】そこで、メモリコントローラ14により、
1ラインから1035ラインまでに対しては、画像メモ
リ13から読み出した静止画像データをJPEGエンコ
ーダ15に導き、1036ラインから1040ラインま
でに対しては、入力端子16に供給されるDCデータを
JPEGエンコーダ15に導くように、セレクタ17が
制御される。そして、セレクタ17で選択された静止画
像データ及びDCデータは、JPEGエンコーダ15に
供給されてデータ圧縮処理が施され、出力端子18から
取り出される。
Therefore, by the memory controller 14,
For 1 to 1035 lines, the still image data read from the image memory 13 is guided to the JPEG encoder 15, and for 1036 to 1040 lines, the DC data supplied to the input terminal 16 is supplied to the JPEG encoder. The selector 17 is controlled so as to lead to 15. Then, the still image data and the DC data selected by the selector 17 are supplied to the JPEG encoder 15, subjected to data compression processing, and taken out from the output terminal 18.

【0007】ところで、上記のような従来の静止画像デ
ータ圧縮装置では、1036ラインから1040ライン
までを補足するDCデータの値が、1ラインから103
5ラインまでの静止画像データに対して大きく離れる
と、DCT変換処理したときに高周波成分が発生するた
め、圧縮・伸張して画像表示した結果、DCデータと同
じブロックに含まれる1033ラインから1035ライ
ンの静止画像データに歪みが発生することになる。
By the way, in the conventional still image data compression apparatus as described above, the value of the DC data for supplementing 1036 to 1040 lines is 1 to 103.
If the distance is far from the still image data up to 5 lines, a high frequency component is generated when the DCT conversion process is performed, and as a result of image display after compression / expansion, 1033 lines to 1035 lines included in the same block as the DC data. Distortion will occur in the still image data.

【0008】この場合、1033ラインから1035ラ
インの部分が、画面上で明るく浮き上がって表示された
り、逆に暗く沈み込むように表示される。そして、この
ようになると、例えば縦スクロール効果を与える放送に
おいて、受信側で、図6に示すように、静止画像1,2
が垂直方向にスクロールする場合、静止画像1,2の境
界部分が不自然になるという不都合が生じることにな
る。
In this case, the portion from the 1033th line to the 1035th line is displayed so as to be brightly raised on the screen, or conversely, to be darkly depressed. Then, in this case, for example, in a broadcast to which a vertical scroll effect is given, as shown in FIG.
Scrolls in the vertical direction, there is an inconvenience that the boundary between the still images 1 and 2 becomes unnatural.

【0009】具体的に言えば、図7に示す量子化テーブ
ルを用いて、図8(a)に示すような8ビット256階
調の静止画像データ(DCT係数)に量子化処理を施し
た場合を考える。この場合、1036ラインから104
0ラインには、DCデータとして“30”が付加されて
いる。そして、この圧縮処理された静止画像データを伸
張すると、図8(b)に示すように1034ラインに大
きく誤差が生じていることがわかる。この誤差は、画面
上ではっきりと認識される値である。
More specifically, when the quantization table shown in FIG. 7 is used to quantize still image data (DCT coefficients) of 8-bit 256 gradations as shown in FIG. think of. In this case, 1036 to 104
"30" is added as DC data to the 0th line. When the compressed still image data is expanded, it can be seen that a large error has occurred in 1034 lines as shown in FIG. 8B. This error is a value that is clearly recognized on the screen.

【0010】[0010]

【発明が解決しようとする課題】以上のように、従来の
静止画像データ圧縮装置では、静止画像データに圧縮処
理を施して伸張した際に、補足データを含む圧縮処理の
ブロックに大きな誤差が発生するという問題を有してい
る。
As described above, in the conventional still image data compression apparatus, when the still image data is compressed and expanded, a large error occurs in the block of the compression process including the supplementary data. Have the problem of doing.

【0011】そこで、この発明は上記事情を考慮してな
されたもので、静止画像データに対して圧縮・伸張処理
を施した際に、補足データを含むブロックに大きな誤差
が生じることを抑制し得る極めて良好な静止画像データ
圧縮装置を提供することを目的とする。
Therefore, the present invention has been made in consideration of the above circumstances, and can prevent a large error from occurring in a block including supplementary data when compression / expansion processing is performed on still image data. An object is to provide a very good still image data compression device.

【0012】[0012]

【課題を解決するための手段】この発明に係る静止画像
データ圧縮装置は、1画面分の静止画像データを、水平
方向及び垂直方向にそれぞれ規定の画素数及びライン数
でなる複数のブロックに分割し、該ブロック単位でデー
タ圧縮処理を施すもので、1画面分の静止画像データを
垂直方向に規定のライン数で分割した際に、該規定のラ
イン数に満たない余りのラインに対しては、規定のライ
ン数に不足しているライン数の補足データを付加し、余
りのラインと補足データとで構成されるブロック単位で
データ圧縮処理を施すものを対象とし、余りのラインの
データに基づいて補足データを生成するように構成した
ものである。
A still image data compression apparatus according to the present invention divides one screen of still image data into a plurality of blocks each having a prescribed number of pixels and a prescribed number of lines in the horizontal and vertical directions. However, the data compression processing is performed in units of the blocks, and when still image data for one screen is divided in the vertical direction by a specified number of lines, the remaining lines that are less than the specified number of lines are , Adds supplementary data of the number of lines that is insufficient to the specified number of lines, and applies data compression processing in block units composed of extra lines and supplementary data, based on the data of the extra lines. It is configured to generate supplementary data.

【0013】また、この発明に係る静止画像データ圧縮
装置は、1画面分の静止画像データを記憶する記憶容量
を有する記憶手段と、この記憶手段に対して1画面分の
静止画像データを記憶させるとともに、記憶された1画
面分の静止画像データを水平方向及び垂直方向にそれぞ
れ規定の画素数及びライン数でなる複数のブロックに分
割して読み出す記憶制御手段と、この記憶制御手段によ
り記憶手段から1画面分の静止画像データをブロック単
位に分割して読み出した状態で、垂直方向に規定のライ
ン数に満たない余りのラインに対しては、該余りのライ
ンのデータに基づいて規定のライン数に不足しているラ
イン数の補足データを生成して付加し、余りのライン及
び補足データによりブロックを構成する付加手段と、記
憶制御手段により記憶手段からブロック単位で読み出さ
れる静止画像データ及び付加手段からブロック単位で出
力される静止画像データに対してそれぞれデータ圧縮処
理を施す圧縮手段とを備えるようにしたものである。
Further, the still image data compression apparatus according to the present invention has a storage means having a storage capacity for storing one screen of still image data, and stores one screen of still image data in the storage means. At the same time, the stored still image data for one screen is divided into a plurality of blocks each having a prescribed number of pixels and a specified number of lines in the horizontal direction and the vertical direction, and is read out. In a state in which still image data for one screen is divided into blocks and read out, for a surplus line that does not reach the specified number of lines in the vertical direction, the specified number of lines is determined based on the data of the remaining lines. By generating and adding supplementary data of the number of lines lacking in the memory, and adding means for forming a block with the remaining lines and supplementary data, and the storage control means. Is obtained so as to include a compression means for performing data compression processing, respectively on the still image data from the still picture data and additional means are read in blocks from 憶 means is output block by block.

【0014】さらに、この発明に係る静止画像データ圧
縮装置は、垂直方向にスクロール処理される連続した2
画面分に対応する第1及び第2の静止画像データを、水
平方向及び垂直方向にそれぞれ規定の画素数及びライン
数でなる複数のブロックに分割し、該ブロック単位でデ
ータ圧縮処理を施すもので、第1の静止画像データを垂
直方向に規定のライン数で分割した際に、該規定のライ
ン数に満たない余りのラインに対しては、第2の静止画
像データから規定のライン数に不足しているライン数の
データを取り出して付加し、第1の静止画像データの余
りのラインと第2の静止画像データから取り出したライ
ンとで構成されるブロック単位でデータ圧縮処理を施す
ように構成したものである。
Further, the still image data compressing apparatus according to the present invention has two consecutive scrolling processes in the vertical direction.
The first and second still image data corresponding to the screen are divided into a plurality of blocks each having a specified number of pixels and a specified number of lines in the horizontal direction and the vertical direction, and data compression processing is performed for each block. , When the first still image data is divided in the vertical direction by a prescribed number of lines, the second still image data is insufficient in the prescribed number of lines for the remaining lines less than the prescribed number of lines. The data of the number of lines being extracted is extracted and added, and data compression processing is performed in block units composed of the remaining lines of the first still image data and the lines extracted from the second still image data. It was done.

【0015】[0015]

【作用】上記のような構成によれば、まず、1画面分の
静止画像データを垂直方向に規定のライン数で分割した
際に、該規定のライン数に満たない余りのラインに対し
て、余りのラインのデータに基づいて生成された補足デ
ータを、規定のライン数に不足しているライン数だけ付
加してブロックを構成するようにしたので、静止画像デ
ータに対して圧縮・伸張処理を施した際に、補足データ
を含むブロックに大きな誤差が生じることを抑制するこ
とができる。
According to the above configuration, when still image data for one screen is divided in the vertical direction by a prescribed number of lines, the remaining lines less than the prescribed number of lines are Since supplementary data generated based on the data of the remaining lines is added to the specified number of lines by the number of lines that are insufficient, blocks are constructed, so compression / decompression processing is performed on still image data. When applied, it is possible to prevent a large error from occurring in the block including the supplementary data.

【0016】また、垂直方向にスクロール処理される連
続した2画面分に対応する第1及び第2の静止画像デー
タに対しては、第1の静止画像データを垂直方向に規定
のライン数で分割した際に、該規定のライン数に満たな
い余りのラインに対して、第2の静止画像データから規
定のライン数に不足しているライン数のデータを取り出
して付加するようにしたので、この場合にも、2つの連
続する画面の境界部分が不自然になることを防止するこ
とができる。
Further, for the first and second still image data corresponding to two consecutive screens which are scrolled in the vertical direction, the first still image data is divided in the vertical direction by a prescribed number of lines. At this time, the data of the number of lines short of the specified number of lines is extracted from the second still image data and added to the remaining lines less than the specified number of lines. Also in this case, it is possible to prevent the boundary portion between two continuous screens from becoming unnatural.

【0017】[0017]

【実施例】以下、この発明の一実施例について図面を参
照して詳細に説明する。図1において、入力端子19に
は、HDTVで放送すべき水平方向1920画素×垂直
方向1035ラインの静止画像データが供給されてい
る。この入力端子19に供給された静止画像データは、
静止画入力回路20を介して8ライン画像メモリ21に
供給される。この8ライン画像メモリ21は、水平方向
1920画素×垂直方向8ライン分以上の静止画像デー
タを記憶可能な記憶容量を有している。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings. In FIG. 1, the input terminal 19 is supplied with still image data of 1920 pixels in the horizontal direction and 1035 lines in the vertical direction to be broadcast by HDTV. The still image data supplied to this input terminal 19 is
It is supplied to the 8-line image memory 21 via the still image input circuit 20. The 8-line image memory 21 has a storage capacity capable of storing still image data of 1920 pixels in the horizontal direction × 8 lines in the vertical direction or more.

【0018】この8ライン画像メモリ21には、メモリ
コントローラ22の制御により、静止画入力回路20か
ら出力される水平方向1920画素×垂直方向1035
ラインの静止画像データのうち、水平方向1920画素
×垂直方向8ライン分が書き込まれる。そして、この8
ライン画像メモリ21からは、メモリコントローラ22
の制御により、書き込まれた水平方向1920画素×垂
直方向8ライン分の静止画像データが、水平方向8画素
×垂直方向8ラインづつのブロック単位で、240個に
分けて読み出される。
Under control of the memory controller 22, the 8-line image memory 21 outputs 1920 pixels in the horizontal direction × 1035 in the vertical direction output from the still image input circuit 20.
Of still image data of lines, horizontal 1920 pixels × vertical 8 lines are written. And this 8
From the line image memory 21, the memory controller 22
By this control, the written still image data of 1920 pixels in the horizontal direction × 8 lines in the vertical direction is read out in 240 units in blocks of 8 pixels in the horizontal direction × 8 lines in the vertical direction.

【0019】その後、8ライン画像メモリ21から読み
出された水平方向8画素×垂直方向8ラインでなるブロ
ック単位の静止画像データは、JPEGエンコーダ23
に供給されて、上述したように、1ブロック単位でDC
T処理、量子化処理及びハフマン符号化処理が施される
ことでデータ圧縮処理が行なわれ、出力端子24から取
り出される。
After that, the still image data in block units of 8 pixels in the horizontal direction × 8 lines in the vertical direction read from the 8-line image memory 21 is JPEG encoder 23.
Is supplied to the DC as described above,
Data compression processing is performed by performing T processing, quantization processing, and Huffman coding processing, and the data is taken out from the output terminal 24.

【0020】以上のようにすると、1ラインから103
2ラインまでの静止画像データに対しては、JPEGエ
ンコーダ23により、水平方向8画素×垂直方向8ライ
ンでなるブロック単位で、通常にデータ圧縮処理が行な
われる。そして、1ラインから1032ラインまでの静
止画像データに対して、JPEGエンコーダ23による
データ圧縮処理が終了すると、1033ラインから10
35ラインまでの3ライン分の静止画像データが残るこ
とになる。
In the above manner, 1 line to 103
The still image data of up to 2 lines is normally subjected to data compression processing by the JPEG encoder 23 in block units of 8 pixels in the horizontal direction × 8 lines in the vertical direction. Then, when the data compression processing by the JPEG encoder 23 is completed for the still image data from 1 line to 1032 lines, 1033 lines to 1033 lines are completed.
Still image data for 3 lines up to 35 lines will remain.

【0021】これら1033ラインから1035ライン
までの3ライン分の静止画像データは、メモリコントロ
ーラ22の制御により、そのまま8ライン画像メモリ2
1に書き込まれる。このため、8ライン画像メモリ21
には、5ライン分の空き領域が生じることになる。この
とき、メモリコントローラ22は、8ライン画像メモリ
21の5ライン分の空き領域に、1035ライン目の静
止画像データを繰り返し書き込むように制御する。
The still image data of 3 lines from 1033 lines to 1035 lines are directly stored in the 8-line image memory 2 under the control of the memory controller 22.
Written to 1. Therefore, the 8-line image memory 21
Will result in an empty area for 5 lines. At this time, the memory controller 22 controls so that the still image data of the 1035th line is repeatedly written in the empty area of 5 lines of the 8 line image memory 21.

【0022】このようにして、1033ラインから10
35ラインまでの3ライン分と、1035ライン目の静
止画像データを5ライン分とで8ラインとなった静止画
像データが、水平方向8画素×垂直方向8ラインでなる
ブロック単位で、8ライン画像メモリ21から読み出さ
れて、JPEGエンコーダ23に供給されデータ圧縮処
理が行なわれる。
In this way, from 1033 lines to 10
3 lines up to 35 lines and 5 lines of still image data on the 1035th line become 8 lines, the still image data is an 8 line image in block units of 8 pixels in the horizontal direction and 8 lines in the vertical direction. The data is read out from the memory 21 and supplied to the JPEG encoder 23 for data compression processing.

【0023】上記実施例のような構成によれば、103
3ラインから1035ラインまでの3ラインに付加する
5ライン分の補足データとして、従来のようにDCデー
タではなく最終ラインつまり1035ラインの静止画像
データを繰り返し使用するようにしたので、補足データ
が静止画像データに対して大きく離れるようなことがな
く、圧縮・伸張処理を施した際に、補足データを含むブ
ロックに大きな誤差が生じることを抑制することができ
る。
According to the configuration of the above embodiment, 103
As supplementary data for 5 lines added to 3 lines from 3 lines to 1035 lines, the last line, that is, the still image data of 1035 lines is repeatedly used instead of the DC data as in the conventional case. It is possible to prevent a large error from occurring in the block including the supplementary data when the compression / expansion processing is performed without largely separating from the image data.

【0024】次に、図2は、この発明の第2の実施例を
示すもので、縦スクロール効果を与える放送において、
垂直方向にスクロールされる2画面分の静止画像データ
にそれぞれデータ圧縮処理を施す構成を示している。す
なわち、入力端子25には、HDTVで縦スクロール放
送すべき、水平方向1920画素×垂直方向1035ラ
インの静止画像データが供給されている。
Next, FIG. 2 shows a second embodiment of the present invention.
It shows a configuration in which data compression processing is performed on still image data for two screens that are scrolled in the vertical direction. In other words, the input terminal 25 is supplied with still image data of 1920 pixels in the horizontal direction × 1035 lines in the vertical direction, which is to be vertically scrolled by HDTV.

【0025】この入力端子25に供給された静止画像デ
ータは、静止画入力回路26を介してフレーム画像メモ
リ27及び5ライン画像メモリ28にそれぞれ供給され
る。このうち、フレーム画像メモリ27は、水平方向1
920画素×垂直方向1035ライン分の静止画像デー
タを記憶可能な記憶容量を有している。また、5ライン
画像メモリ28は、水平方向1920画素×垂直方向5
ライン分の静止画像データを記憶可能な記憶容量を有し
ている。
The still image data supplied to the input terminal 25 is supplied to the frame image memory 27 and the 5-line image memory 28 via the still image input circuit 26. Of these, the frame image memory 27 is 1 in the horizontal direction.
It has a storage capacity capable of storing still image data of 920 pixels × 1035 lines in the vertical direction. Further, the 5-line image memory 28 has 1920 horizontal pixels × 5 vertical pixels.
It has a storage capacity capable of storing still image data of lines.

【0026】このフレーム画像メモリ27には、メモリ
コントローラ29の制御により、静止画入力回路26か
ら出力される水平方向1920画素×垂直方向1035
ラインの静止画像データが書き込まれる。そして、この
フレーム画像メモリ27からは、メモリコントローラ2
9の制御により、書き込まれた水平方向1920画素×
垂直方向1035ライン分の静止画像データが、水平方
向8画素×垂直方向8ラインづつのブロック単位で読み
出される。
Under the control of the memory controller 29, the frame image memory 27 outputs 1920 pixels in the horizontal direction × 1035 in the vertical direction output from the still image input circuit 26.
The still image data of the line is written. Then, from the frame image memory 27, the memory controller 2
By the control of 9, the written horizontal 1920 pixels ×
The still image data for 1035 lines in the vertical direction is read in block units of 8 pixels in the horizontal direction × 8 lines in the vertical direction.

【0027】また、上記5ライン画像メモリ28には、
メモリコントローラ29の制御により、静止画入力回路
26から出力される水平方向1920画素×垂直方向1
035ラインの静止画像データのうち、水平方向192
0画素×垂直方向5ライン分が書き込まれる。そして、
この5ライン画像メモリ28からは、メモリコントロー
ラ29の制御により、書き込まれた水平方向1920画
素×垂直方向5ライン分の静止画像データが、水平方向
8画素×垂直方向5ラインづつの単位で読み出される。
Further, the 5-line image memory 28 includes:
Under the control of the memory controller 29, the horizontal direction 1920 pixels output from the still image input circuit 26 × vertical direction 1
Horizontal direction 192 out of 035 lines of still image data
0 pixels x 5 lines in the vertical direction are written. And
Under the control of the memory controller 29, the written still image data of 1920 pixels in the horizontal direction × 5 lines in the vertical direction is read from the 5-line image memory 28 in units of 8 pixels in the horizontal direction × 5 lines in the vertical direction. .

【0028】その後、フレーム画像メモリ27から読み
出された水平方向8画素×垂直方向8ラインでなるブロ
ック単位の静止画像データと、5ライン画像メモリ28
から読み出された水平方向8画素×垂直方向5ラインで
なる単位の静止画像データとは、セレクタ30に供給さ
れて、メモリコントローラ29の制御により、選択的に
導出される。
Thereafter, still image data read from the frame image memory 27 in block units of 8 pixels in the horizontal direction × 8 lines in the vertical direction and the 5-line image memory 28.
The still image data in the unit of horizontal 8 pixels × vertical 5 lines read from is supplied to the selector 30 and selectively derived under the control of the memory controller 29.

【0029】この場合、メモリコントローラ29は、入
力端子31に供給されるスクロール識別信号に基づい
て、フレーム画像メモリ27及び5ライン画像メモリ2
8に対する書き込み動作や読み出し動作の制御と、セレ
クタ30の選択動作の制御を行なっている。このスクロ
ール識別信号は、入力端子25に供給されている静止画
像データに、送信側で垂直方向のスクロール指示が付さ
れているか否かを示すものである。
In this case, the memory controller 29 determines the frame image memory 27 and the 5-line image memory 2 based on the scroll identification signal supplied to the input terminal 31.
The write operation and the read operation for 8 are controlled, and the selection operation of the selector 30 is controlled. This scroll identification signal indicates whether or not the still image data supplied to the input terminal 25 is given a vertical scrolling instruction on the transmitting side.

【0030】そして、上記セレクタ30で導出された静
止画像データは、JPEGエンコーダ32に供給され
て、1ブロック単位でDCT処理、量子化処理及びハフ
マン符号化処理が施されることでデータ圧縮処理が行な
われ、出力端子33から取り出される。
The still image data derived by the selector 30 is supplied to the JPEG encoder 32 and is subjected to DCT processing, quantization processing and Huffman coding processing on a block-by-block basis to perform data compression processing. Is performed and is taken out from the output terminal 33.

【0031】ここで、まず、上記入力端子25には、垂
直方向にスクロールされる2画面分の静止画像データの
うち、画面上で上側になる方の第1の静止画像データが
供給される。この第1の静止画像データは、静止画入力
回路26を介してフレーム画像メモリ27に書き込まれ
た後、水平方向8画素×垂直方向8ラインでなるブロッ
ク単位で順次読み出され、セレクタ30を介してJPE
Gエンコーダ31に供給されることで、データ圧縮処理
が施される。
First, the input terminal 25 is supplied with the first still image data on the upper side of the screen, out of the two screens of still image data scrolled in the vertical direction. The first still image data is written in the frame image memory 27 via the still image input circuit 26, and then sequentially read in block units of 8 pixels in the horizontal direction × 8 lines in the vertical direction, and is read via the selector 30. JPE
By being supplied to the G encoder 31, data compression processing is performed.

【0032】このようにして、1ラインから1032ラ
インまでの第1の静止画像データに対して、JPEGエ
ンコーダ31によるブロック単位でのデータ圧縮処理が
終了されると、フレーム画像メモリ27には、第1の静
止画像データの1033ラインから1035ラインまで
の3ラインが読み出されずに残ることになる。このよう
になった状態で、メモリコントローラ29は、入力端子
31に供給されたスクロール識別信号に基づいて、スク
ロール指示の有無を判別する。
In this way, when the data compression processing in block units by the JPEG encoder 31 is completed for the first still image data from line 1 to line 1032, the frame image memory 27 stores Three lines from 1033 lines to 1035 lines of one still image data are left unread. In this state, the memory controller 29 determines whether or not there is a scroll instruction based on the scroll identification signal supplied to the input terminal 31.

【0033】そして、スクロール指示がある場合には、
メモリコントローラ29は、垂直方向にスクロールされ
る2画面分の静止画像データのうち画面上で下側になる
方、つまり、入力端子25に第1の静止画像データの後
に入力された第2の静止画像データの1ラインから5ラ
インまでを、5ライン画像メモリ28に書き込むように
制御する。
When there is a scroll instruction,
The memory controller 29 selects one of the two still image data scrolled in the vertical direction on the lower side of the screen, that is, the second still image input to the input terminal 25 after the first still image data. Control is performed so that the first to fifth lines of the image data are written in the 5-line image memory 28.

【0034】その後、メモリコントローラ29は、フレ
ーム画像メモリ27から第1の静止画像データの103
3ラインから1035ラインまでの3ライン分を、水平
方向8画素×垂直方向3ラインでなる単位で読み出すと
ともに、5ライン画像メモリ28から第2の静止画像デ
ータの1ラインから5ラインまでの5ライン分を、水平
方向8画素×垂直方向5ラインでなる単位で読み出し、
セレクタ30で交互に選択することで、3ライン分の第
1の静止画像データと5ライン分の第2の静止画像デー
タとが混合した、水平方向8画素×垂直方向8ラインで
なるブロック単位の静止画像データが生成され、JPE
Gエンコーダ31でデータ圧縮処理が施される。
Thereafter, the memory controller 29 stores the first still image data 103 from the frame image memory 27.
Three lines from 3 lines to 1035 lines are read in units of horizontal 8 pixels × vertical 3 lines, and 5 lines from the 5 line image memory 28 to 1 line to 5 lines of the second still image data. Minutes are read in units of 8 pixels in the horizontal direction and 5 lines in the vertical direction,
By alternately selecting with the selector 30, three lines of the first still image data and five lines of the second still image data are mixed in block units of horizontal 8 pixels × vertical 8 lines. Still image data is generated, JPE
Data compression processing is performed by the G encoder 31.

【0035】一方、フレーム画像メモリ27に第1の静
止画像データの1033ラインから1035ラインまで
の3ラインが読み出されずに残った状態で、スクロール
指示がない場合には、第1の静止画像データの1033
ラインから1035ラインまでの3ラインに基づいて生
成した5ライン分の補足データを5ライン画像メモリ2
8に書き込み、3ライン分の第1の静止画像データと5
ライン分の補足データとを混合した、水平方向8画素×
垂直方向8ラインでなるブロックでデータ圧縮処理が行
なわれる。
On the other hand, when the scroll instruction is not issued in the state where three lines 1033 to 1035 of the first still image data remain in the frame image memory 27 without being read, the first still image data 1033
5 lines of supplemental data generated based on 3 lines from line 1035 to image line 2
Write to 8 and the first still image data for 3 lines and 5
8 pixels in the horizontal direction mixed with supplementary data for lines x
The data compression processing is performed on a block composed of 8 lines in the vertical direction.

【0036】上記第2の実施例のような構成によれば、
まず、スクロール指示がある場合には、第1の静止画像
データと第2の静止画像データとの間に補足データを介
在させず、第1の静止画像データの終りの3ラインと第
2の静止画像データの初めの5ラインとを混合させるこ
とで、圧縮処理用の水平方向8画素×垂直方向8ライン
でなるブロックを構成するようにしたので、圧縮・伸張
処理を施した際に、従来のように、2画面分の静止画像
の境界部分が不自然になることを防止することができ
る。
According to the configuration of the second embodiment,
First, when there is a scroll instruction, the supplementary data is not interposed between the first still image data and the second still image data, and the last three lines of the first still image data and the second still image data are not inserted. By mixing the first 5 lines of the image data to form a block consisting of 8 pixels in the horizontal direction and 8 lines in the vertical direction for compression processing, it is possible to reduce As described above, it is possible to prevent the boundary portion of the still images for two screens from becoming unnatural.

【0037】また、スクロール指示がない場合には、第
1の静止画像データの終りの3ラインと、この3ライン
に基づいて生成した5ライン分の補足データとを混合さ
せることで、圧縮処理用の水平方向8画素×垂直方向8
ラインでなるブロックを構成するようにしたので、補足
データが静止画像データに対して大きく離れるようなこ
とがなく、圧縮・伸張処理を施した際に、補足データを
含むブロックに大きな誤差が生じることを抑制すること
ができる。
When there is no scroll instruction, the last three lines of the first still image data and the supplementary data for five lines generated based on these three lines are mixed to perform compression processing. Horizontal 8 pixels x vertical 8
Since the block made up of lines is configured, the supplementary data does not greatly separate from the still image data, and a large error may occur in the block including the supplementary data when the compression / decompression process is performed. Can be suppressed.

【0038】次に、図3は、上記第2の実施例の変形例
を示している。図3において、図2と同一部分には同一
符号を付して示している。すなわち、図2に示した5ラ
イン画像メモリ28に代えて、水平方向1920画素×
垂直方向1035ライン分の静止画像データを記憶可能
な記憶容量を有するフレーム画像メモリ34を使用した
ものである。
Next, FIG. 3 shows a modification of the second embodiment. 3, the same parts as those in FIG. 2 are indicated by the same reference numerals. That is, instead of the 5-line image memory 28 shown in FIG.
A frame image memory 34 having a storage capacity capable of storing still image data of 1035 lines in the vertical direction is used.

【0039】この場合、第1の静止画像データはフレー
ム画像メモリ27に書き込まれ、第2の静止画像データ
はフレーム画像メモリ34に書き込まれる。そして、ス
クロール指示がある場合には、フレーム画像メモリ27
に記憶された第1の静止画像データの終りの3ライン
と、フレーム画像メモリ34に記憶された第2の静止画
像データの初めの5ラインとを混合させることで、圧縮
処理用の水平方向8画素×垂直方向8ラインでなるブロ
ックを構成することができる。また、スクロールする静
止画像が2画面分以上ある場合には、フレーム画像メモ
リ27,34の立場を入れ替えることにより、連続した
圧縮処理を行なうことができる。なお、この発明は上記
各実施例に限定されるものではなく、この外その要旨を
逸脱しない範囲で種々変形して実施することができる。
In this case, the first still image data is written in the frame image memory 27, and the second still image data is written in the frame image memory 34. If there is a scroll instruction, the frame image memory 27
By mixing the last 3 lines of the first still image data stored in the first 5 lines of the second still image data stored in the frame image memory 34 with each other in the horizontal direction 8 for compression processing. A block composed of pixels × 8 lines in the vertical direction can be configured. Also, when there are two or more screens of scrolling still images, the positions of the frame image memories 27 and 34 are exchanged so that continuous compression processing can be performed. The present invention is not limited to the above-described embodiments, but can be variously modified and implemented without departing from the scope of the invention.

【0040】[0040]

【発明の効果】以上詳述したようにこの発明によれば、
静止画像データに対して圧縮・伸張処理を施した際に、
補足データを含むブロックに大きな誤差が生じることを
抑制し得る極めて良好な静止画像データ圧縮装置を提供
することができる。
As described above in detail, according to the present invention,
When compressing / decompressing still image data,
It is possible to provide a very good still image data compression apparatus capable of suppressing a large error from occurring in a block including supplementary data.

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

【図1】この発明に係る静止画像データ圧縮装置の一実
施例を示すブロック構成図。
FIG. 1 is a block configuration diagram showing an embodiment of a still image data compression apparatus according to the present invention.

【図2】この発明の第2の実施例を示すブロック構成
図。
FIG. 2 is a block diagram showing a second embodiment of the present invention.

【図3】同第2の実施例の変形例を示すブロック構成
図。
FIG. 3 is a block diagram showing a modified example of the second embodiment.

【図4】HDTVにおける静止画像データを説明するた
めに示す図。
FIG. 4 is a diagram shown for explaining still image data in HDTV.

【図5】従来の静止画像データ圧縮装置を示すブロック
構成図。
FIG. 5 is a block configuration diagram showing a conventional still image data compression device.

【図6】同従来装置の問題点を説明するために示す図。FIG. 6 is a diagram for explaining a problem of the conventional device.

【図7】量子化テーブルの一例を示す図。FIG. 7 is a diagram showing an example of a quantization table.

【図8】同量子化テーブルによって圧縮・伸張処理され
る静止画像データを示す図。
FIG. 8 is a diagram showing still image data compressed / decompressed by the quantization table.

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

11…入力端子、12…静止画入力回路、13…画像メ
モリ、14…メモリコントローラ、15…JPEGエン
コーダ、16…入力端子、17…セレクタ、18…出力
端子、19…入力端子、20…静止画入力回路、21…
8ライン画像メモリ、22…メモリコントローラ、23
…JPEGエンコーダ、24…出力端子、25…入力端
子、26…静止画入力回路、27…フレーム画像メモ
リ、28…5ライン画像メモリ、29…メモリコントロ
ーラ、30…セレクタ、31…入力端子、32…JPE
Gエンコーダ、33…出力端子、34…フレーム画像メ
モリ。
11 ... Input terminal, 12 ... Still image input circuit, 13 ... Image memory, 14 ... Memory controller, 15 ... JPEG encoder, 16 ... Input terminal, 17 ... Selector, 18 ... Output terminal, 19 ... Input terminal, 20 ... Still image Input circuit, 21 ...
8-line image memory, 22 ... Memory controller, 23
... JPEG encoder, 24 ... Output terminal, 25 ... Input terminal, 26 ... Still image input circuit, 27 ... Frame image memory, 28 ... 5-line image memory, 29 ... Memory controller, 30 ... Selector, 31 ... Input terminal, 32 ... JPE
G encoder, 33 ... Output terminal, 34 ... Frame image memory.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 7/015 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical indication H04N 7/015

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 1画面分の静止画像データを、水平方向
及び垂直方向にそれぞれ規定の画素数及びライン数でな
る複数のブロックに分割し、該ブロック単位でデータ圧
縮処理を施すもので、前記1画面分の静止画像データを
垂直方向に規定のライン数で分割した際に、該規定のラ
イン数に満たない余りのラインに対しては、前記規定の
ライン数に不足しているライン数の補足データを付加
し、前記余りのラインと補足データとで構成されるブロ
ック単位で前記データ圧縮処理を施す静止画像データ圧
縮装置において、前記余りのラインのデータに基づいて
前記補足データを生成するように構成してなることを特
徴とする静止画像データ圧縮装置。
1. Still image data for one screen is divided into a plurality of blocks each having a prescribed number of pixels and a specified number of lines in the horizontal and vertical directions, and data compression processing is performed in block units. When still image data for one screen is divided in the vertical direction by a prescribed number of lines, the remaining number of lines less than the prescribed number of lines is determined by the number of lines short of the prescribed number of lines. In a still image data compression device that adds supplementary data and performs the data compression processing in block units composed of the extra line and supplemental data, the supplemental data is generated based on the data of the extra line. A still image data compression apparatus having the above-mentioned configuration.
【請求項2】 1画面分の静止画像データを記憶する記
憶容量を有する記憶手段と、この記憶手段に対して前記
1画面分の静止画像データを記憶させるとともに、記憶
された前記1画面分の静止画像データを水平方向及び垂
直方向にそれぞれ規定の画素数及びライン数でなる複数
のブロックに分割して読み出す記憶制御手段と、この記
憶制御手段により前記記憶手段から前記1画面分の静止
画像データを前記ブロック単位に分割して読み出した状
態で、垂直方向に前記規定のライン数に満たない余りの
ラインに対しては、該余りのラインのデータに基づいて
前記規定のライン数に不足しているライン数の補足デー
タを生成して付加し、前記余りのライン及び補足データ
により前記ブロックを構成する付加手段と、前記記憶制
御手段により前記記憶手段からブロック単位で読み出さ
れる静止画像データ及び前記付加手段からブロック単位
で出力される静止画像データに対してそれぞれデータ圧
縮処理を施す圧縮手段とを具備してなることを特徴とす
る静止画像データ圧縮装置。
2. A storage unit having a storage capacity for storing still image data for one screen, the still image data for one screen being stored in the storage unit, and the stored one screen. Storage control means for reading the still image data by dividing it into a plurality of blocks each having a prescribed number of pixels and a predetermined number of lines in the horizontal and vertical directions, and still image data for one screen from the storage means by the storage control means. In the state where the data is divided into the block units and read out, with respect to a surplus line that is less than the specified line number in the vertical direction, the specified line number is insufficient based on the data of the surplus line. Generating and adding supplementary data for the number of lines, and adding means for forming the block by the remaining lines and supplementary data, and the storage control means Still image data, comprising: still image data read in block units from the storage unit and compression unit for performing data compression processing on the still image data output in block units from the adding unit. Compressor.
【請求項3】 前記補足データは、前記余りのラインの
静止画像データを、不足ライン数だけ繰り返し使用した
ものであることを特徴とする請求項1または2記載の静
止画像データ圧縮装置。
3. The still image data compression apparatus according to claim 1, wherein the supplementary data is obtained by repeatedly using still image data of the remaining lines by the number of insufficient lines.
【請求項4】 垂直方向にスクロール処理される連続し
た2画面分に対応する第1及び第2の静止画像データ
を、水平方向及び垂直方向にそれぞれ規定の画素数及び
ライン数でなる複数のブロックに分割し、該ブロック単
位でデータ圧縮処理を施すもので、前記第1の静止画像
データを垂直方向に規定のライン数で分割した際に、該
規定のライン数に満たない余りのラインに対しては、前
記第2の静止画像データから前記規定のライン数に不足
しているライン数のデータを取り出して付加し、前記第
1の静止画像データの余りのラインと前記第2の静止画
像データから取り出したラインとで構成されるブロック
単位で前記データ圧縮処理を施すように構成してなるこ
とを特徴とする静止画像データ圧縮装置。
4. A plurality of blocks in which first and second still image data corresponding to two consecutive screens that are scrolled in the vertical direction are defined in the horizontal direction and in the vertical direction by a specified number of pixels and lines, respectively. And the data compression processing is performed for each block, and when the first still image data is divided by a specified number of lines in the vertical direction, the remaining lines that are less than the specified number of lines are Data of the number of lines short of the specified number of lines is extracted from the second still image data and added, and the remaining lines of the first still image data and the second still image data are added. A still image data compression apparatus, wherein the data compression processing is performed in a block unit composed of a line extracted from the line.
JP30240794A 1994-12-06 1994-12-06 Still picture data compression device Pending JPH08163563A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30240794A JPH08163563A (en) 1994-12-06 1994-12-06 Still picture data compression device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30240794A JPH08163563A (en) 1994-12-06 1994-12-06 Still picture data compression device

Publications (1)

Publication Number Publication Date
JPH08163563A true JPH08163563A (en) 1996-06-21

Family

ID=17908553

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30240794A Pending JPH08163563A (en) 1994-12-06 1994-12-06 Still picture data compression device

Country Status (1)

Country Link
JP (1) JPH08163563A (en)

Similar Documents

Publication Publication Date Title
JP2861890B2 (en) Color image display
US5875039A (en) Image processing method and apparatus
JPH04326255A (en) Method and device for encoding image
JP2802694B2 (en) Image reproducing apparatus and method
JP3189031B2 (en) Data rate conversion method and apparatus
JPH1075449A (en) Image compressor and image expander
EP0667717A2 (en) Method and apparatus for reproducing picture data
US5513301A (en) Image compression and decompression apparatus with reduced frame memory
JPH08214309A (en) Image signal encoder
JPH08205144A (en) Image encoding device
JPH09186992A (en) Coder and decoder
JPH08163563A (en) Still picture data compression device
JP3170312B2 (en) Image processing device
JPH08204967A (en) Data coding device
US20020176630A1 (en) Image data processing method
JPH07160865A (en) Still picture reproducing device
US5774590A (en) Image data reproducing apparatus
JP3170313B2 (en) Image processing device
KR100530745B1 (en) Method of displaying a high-resolution digital image on a low-resolution display
JPH0568235A (en) Picture reproducing device
JP3360808B2 (en) Electronic still camera compression ratio setting device
JPH10276397A (en) Digital still camera
JP2003087790A (en) Image data compressing method and image data outputting device
JP3004763B2 (en) Video signal multiplex decoder
JP3075935B2 (en) Still image coding method