JPH10164579A - Encoding control method and encoding controller using the method - Google Patents

Encoding control method and encoding controller using the method

Info

Publication number
JPH10164579A
JPH10164579A JP32017096A JP32017096A JPH10164579A JP H10164579 A JPH10164579 A JP H10164579A JP 32017096 A JP32017096 A JP 32017096A JP 32017096 A JP32017096 A JP 32017096A JP H10164579 A JPH10164579 A JP H10164579A
Authority
JP
Japan
Prior art keywords
picture
encoding
unit
importance
instruction
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
JP32017096A
Other languages
Japanese (ja)
Inventor
Akimi Kunihazama
亜輝臣 国狭
Mineki Taoka
峰樹 田岡
Noburo Ito
修朗 伊藤
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 JP32017096A priority Critical patent/JPH10164579A/en
Publication of JPH10164579A publication Critical patent/JPH10164579A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an encoding control method and its device for improving an encoding speed and reducing an encoding quantity. SOLUTION: An encoding controller 20 is placed on the prestage of an encoder 2. This controller is provided with a judging pre-processing part 22, extracting the high-frequency component of an image by a high-pass filter, a judging part 30 finding the image of fewer high-frequency components and an instruction part 32 instructing a quantizing part 6 to reduce the found image. For the image with low importance, the number of quantizing levels are reduced for reducing a coded quantity.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、符号化制御方法
および装置、特に、ピクチャを符号化する際にその符号
量を制御する方法およびその方法を用いた装置に関す
る。この符号化制御装置は、例えばMPEG符号化装置
の前処理装置として、またはMPEG符号化装置に組み
込んで利用することができる。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an encoding control method and apparatus, and more particularly, to a method of controlling a code amount when encoding a picture and an apparatus using the method. This encoding control device can be used, for example, as a pre-processing device of an MPEG encoding device or incorporated in an MPEG encoding device.

【0002】[0002]

【従来の技術】国際符号化標準MPEGに代表されるよ
うに、動画像などのデータを圧縮して符号化し、各種記
憶媒体に格納して提供する種類の技術が進展している。
今日、いろいろなメーカーがマルチメディア関連機器の
開発に注力しており、MPEGに準拠した商品の市場導
入を図っている。
2. Description of the Related Art As represented by the international encoding standard MPEG, a technique of compressing and encoding data such as a moving image and storing and providing the data in various storage media has been developed.
Today, various manufacturers are focusing on the development of multimedia-related devices, and are trying to introduce MPEG-compliant products to the market.

【0003】図8は従来一般的なMPEGの符号化装置
の概略構成図である。同図のごとく符号化装置2は、ビ
デオ入力に対して離散コサイン変換(Discreet Cosine
Transformation、以下DCTという)を施すDCT部4
と、DCT後のデータを量子化する量子化部6と、量子
化されたデータ(以下、量子化データという)を受け取
り、そのデータを確率手法を用いてできるだけ少ない符
号量で可変長符号化する符号化部8と、符号化されたデ
ータ(以下、符号化データという)を格納するFIFO
構造の送信バッファ10をもつ。図示しないが、これら
以外に、量子化部6の出力からDCT部4の入力に向け
て動き補償関連の構成がある。
FIG. 8 is a schematic block diagram of a conventional general MPEG encoding apparatus. As shown in the figure, the encoding device 2 performs discrete cosine transform (Discreet Cosine) on a video input.
DCT unit 4 that performs Transformation (hereinafter referred to as DCT)
And a quantizing unit 6 for quantizing the data after DCT, and receives the quantized data (hereinafter, referred to as quantized data), and performs variable-length coding on the data using a probability method with a code amount as small as possible. An encoding unit 8 and a FIFO for storing encoded data (hereinafter referred to as encoded data)
It has a transmission buffer 10 having a structure. Although not shown, there are other components related to motion compensation from the output of the quantization unit 6 to the input of the DCT unit 4.

【0004】この構成において、まずビデオ入力は、ピ
クチャ(フレーム)単位でDCT部4にて離散的な空間
周波数成分に分解される。ここで高周波成分が落とさ
れ、量子化部6で所定のレベル数で量子化される。量子
化データは符号化部8で符号化され、MPEG固有の符
号化データのストリームが生成される。このデータスト
リームは送信バッファ10に格納され、順次符号化出力
として外部に送出される。
In this configuration, first, a video input is decomposed into discrete spatial frequency components by a DCT unit 4 on a picture (frame) basis. Here, high-frequency components are dropped and quantized by the quantization unit 6 at a predetermined number of levels. The quantized data is encoded by the encoding unit 8 to generate a stream of encoded data specific to MPEG. This data stream is stored in the transmission buffer 10 and sequentially sent out as an encoded output to the outside.

【0005】[0005]

【発明が解決しようとする課題】MPEGの符号化で
は、大別してデータの圧縮と符号化のふたつの処理が行
われると考えることができる。前者はDCT部4と量子
化部6により、後者は符号化部8による。しかし、符号
化部8にもデータ圧縮効果がある。すなわち、MPEG
では確率手法にもとづくエントロピー符号化という方法
を採用することにより、差分データの形式で記述される
Pピクチャ(フレーム間順方向予測符号化ピクチャ)お
よびBピクチャ(双方向予測符号化ピクチャ)の符号量
がなるべく少なくなるよう配慮されている。したがっ
て、符号化装置全体の符号量低減効果は大きい。
In MPEG coding, it can be considered that two processes of data compression and coding are roughly performed. The former is based on the DCT unit 4 and the quantization unit 6, and the latter is based on the encoding unit 8. However, the encoding unit 8 also has a data compression effect. That is, MPEG
By employing a method called entropy coding based on a probability method, the code amount of a P picture (inter-frame predictive coded picture) and a B picture (bidirectional predictive coded picture) described in the form of difference data Is considered to be as low as possible. Therefore, the code amount reduction effect of the entire encoding device is large.

【0006】しかしながら、最近では動画をリアルタイ
ムに符号化できる装置の開発、商品化が企図されてお
り、符号化の効率改善、符号量のさらなる低減に対する
要望がつよい。本発明はこうした課題に鑑みてなされた
ものであり、その目的は、符号化速度を高め、符号量を
低減する符号化制御方法と装置の提供にある。
However, recently, the development and commercialization of a device capable of encoding a moving image in real time have been attempted, and there is a strong demand for improving the encoding efficiency and further reducing the code amount. The present invention has been made in view of such a problem, and an object of the present invention is to provide an encoding control method and apparatus for increasing the encoding speed and reducing the code amount.

【0007】[0007]

【課題を解決するための手段】本発明の符号化制御方法
は、複数ピクチャの符号化を制御する方法であり、ピク
チャの重要度を判定し、重要度の低いピクチャに対する
符号量が、重要度を考慮しない場合に達成されるべき符
号量よりも少なくなるよう制御するものである。ここで
「重要度」とは主観、客観を問わず、なんらかの観点で
重要である度合いをいう。「ピクチャ」とは、MPEG
でいう狭義のピクチャの他、フレーム、フィールドな
ど、映像処理または表示における任意の単位である。重
要度はピクチャごとに判定してもよいし、複数のピクチ
ャ単位、または所定期間ごとに判定してもよい。
An encoding control method according to the present invention is a method for controlling the encoding of a plurality of pictures, in which the importance of a picture is determined, and the amount of code for a picture having a low importance is determined. Is controlled so as to be smaller than the code amount to be achieved when not taking into account. Here, “importance” refers to the degree of importance from some viewpoint regardless of subjectivity or objectivity. "Picture" means MPEG
Is an arbitrary unit in video processing or display, such as a frame or a field, in addition to a picture in a narrow sense. The importance may be determined for each picture, a plurality of pictures, or a predetermined period.

【0008】例えばMPEGの符号化装置の場合、ピク
チャの重要度という概念をもたない。したがって、重要
度に関係なく同一の処理を行っており、あまり重要でな
いピクチャに大きな符号量が与えられる場合がある。本
発明では、予めピクチャの重要度を判定するため、重要
度の低いピクチャに対する符号量を制限することができ
る。符号量を減らす具体的方法として、量子化レベル数
の削減、ピクチャの画格の低減などがある。
For example, an MPEG encoding apparatus does not have the concept of the importance of a picture. Therefore, the same processing is performed regardless of the degree of importance, and a large code amount may be given to a less important picture. In the present invention, since the importance of a picture is determined in advance, the code amount for a picture with a low importance can be limited. Specific methods for reducing the code amount include a reduction in the number of quantization levels and a reduction in picture quality.

【0009】本発明によれば、全体の符号量を減らすこ
とができる他、符号量の低減による符号化処理全体のス
ピードアップが可能になる。なお、重要度の判定基準に
は、ピクチャの周波数成分、ピクチャに伴う音声関連信
号、ピクチャ間の差分などがある。
According to the present invention, the entire code amount can be reduced, and the speed of the entire encoding process can be increased by reducing the code amount. Note that the criteria for determining the importance include a frequency component of a picture, an audio-related signal accompanying the picture, a difference between pictures, and the like.

【0010】一方、本発明の符号化制御装置は、例えば
MPEG装置等の符号化装置の前処理装置として、その
符号化装置に組み込んで一体化した装置として利用され
る。ここで符号化装置は、例えば、DCTなどの直交変
換、またはその他の変換を施す変換部、量子化部、およ
び符号化部、またはこれに加えて動き補償部からなる構
成である。本発明の符号化制御装置は、入力されたピク
チャの重要度を判定する判定手段(30,62,86)
と、その判定結果をもとに、重要度の低いピクチャの符
号量の低減を指示する指示手段(32,42,66,8
8,104)とを含む。この構成において、ピクチャが
入力されたとき、判定手段がその重要度を判定する。つ
づいて指示手段が判定結果を利用して重要度の低いピク
チャの符号量の低減を指示する。この装置によれば、上
述の符号化制御方法同様の効果を装置として実現するこ
とができる。
On the other hand, the encoding control device of the present invention is used as a pre-processing device of an encoding device such as an MPEG device, for example, as a device integrated with the encoding device. Here, the encoding device has a configuration including, for example, a transform unit that performs orthogonal transform such as DCT or other transform, a quantization unit, and an encoding unit, or a motion compensation unit in addition to the transform unit. A coding control device according to the present invention includes a judging means for judging importance of an input picture (30, 62, 86).
Instruction means (32, 42, 66, 8) for instructing a reduction in the code amount of a picture of low importance based on the determination result.
8, 104). In this configuration, when a picture is input, the judging means judges its importance. Subsequently, the instructing unit instructs to reduce the code amount of the low importance picture using the determination result. According to this device, the same effect as the above-described encoding control method can be realized as a device.

【0011】なお指示手段は、ピクチャの量子化レベル
数の削減という形で指示を出してもよい。さらにこの装
置は、指示手段の指示に従い、ピクチャの画格を変更す
る手段(44)を含んでもよい。「画格」とは縦横の画
素数で決まる解像度である。この場合、重要度の低いピ
クチャの画格を落とすことにより、当然符号量が減る。
この装置はさらに、最終的に符号化データストリームを
生成する機能ブロック(図8なら符号化部8)に対し
て、画格が変更されたことを伝達する構成を含んでもよ
い。その場合、装置全体の整合性維持が容易になる。
The instruction means may issue an instruction in the form of reducing the number of quantization levels of a picture. Further, the apparatus may include means (44) for changing the picture size according to the instruction of the instruction means. "Image" is a resolution determined by the number of pixels in the vertical and horizontal directions. In this case, the code amount is naturally reduced by lowering the picture quality of the picture of low importance.
The apparatus may further include a configuration for notifying the functional block that finally generates the encoded data stream (the encoding unit 8 in FIG. 8) that the image has been changed. In this case, it is easy to maintain the consistency of the entire apparatus.

【0012】[0012]

【発明の実施の形態】以下、本発明の好適な実施形態を
適宜図面を参照しながら説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below with reference to the drawings.

【0013】実施形態1.図1は本実施形態の符号化制
御装置20の構成を示す。同図のごとく、この符号化制
御装置20はMPEGの符号化装置2の前段に置かれる
もので、ピクチャごとの重要度をピクチャの空間周波数
成分をもとに判定する判定部30と、判定結果にしたが
って符号化装置2の量子化部6に対する指示信号34を
出力する指示部32をもつ。また、判定部30による判
定の準備のために、判定前処理部22が設けられてい
る。なお、符号化装置2自体は図8のものと同等であ
る。
Embodiment 1 FIG. 1 shows a configuration of an encoding control device 20 of the present embodiment. As shown in the figure, the encoding control device 20 is placed before the MPEG encoding device 2, and determines a degree of importance of each picture based on a spatial frequency component of the picture. And an instruction unit 32 that outputs an instruction signal 34 to the quantization unit 6 of the encoding device 2 according to In addition, a pre-determination processing unit 22 is provided for preparing the determination by the determination unit 30. Note that the encoding device 2 itself is equivalent to that of FIG.

【0014】判定前処理部22は、ビデオ入力という形
で与えられるピクチャの水平方向の画素に作用する水平
ハイパスフィルタ(以下、ハイパスフィルタをHPFと
略記する)24と、同様に垂直方向の画素に作用する垂
直HPF26と、水平および垂直の両方向の画素に作用
する水平垂直HPF28を含んでいる。これら3つのH
PFの出力は判定部30に与えられる。本実施形態で
は、これらのHPFによってピクチャのもつ高周波成分
を抽出し、その成分が優勢なピクチャは重要度が高く、
その逆であれば重要度が低いとみなすことにする。高周
波成分が優勢なピクチャは絵柄が細かいため、一般に、
符号量をあまり落とさないうがよいためである。ここで
は3つのHPFを設けているが、判定部30ではそれら
の出力のうちひとつのみに注目してもよく、すべてに注
目してもよい。いずれのHPFを参照したときに最良の
結果が得られるかはピクチャの内容に依存すると考えら
れるため、HPFごとに参照または不参照が設定できる
構成としてもよい。
The pre-judgment processing unit 22 includes a horizontal high-pass filter (hereinafter abbreviated as HPF) 24 acting on horizontal pixels of a picture given in the form of a video input, and a vertical high-pass filter 24. It includes a vertical HPF 26 that operates and a horizontal and vertical HPF 28 that operates on pixels in both horizontal and vertical directions. These three H
The output of the PF is provided to the determination unit 30. In the present embodiment, high-frequency components of a picture are extracted by these HPFs, and a picture in which the component is dominant has a high importance.
If the opposite is the case, it is determined that the importance is low. In general, pictures with high frequency components have fine patterns,
This is because it is better to reduce the code amount too much. Here, three HPFs are provided, but the determination unit 30 may pay attention to only one of the outputs or all of them. Since it is considered that which HPF is referred to and the best result is obtained depends on the content of the picture, reference or non-reference may be set for each HPF.

【0015】以上の構成による動作を説明する。まずビ
デオ入力があったとき、これがピクチャ単位で判定前処
理部22の3つのHPFでフィルタリング処理を受け
る。HPFの出力はピクチャの高周波成分であるから、
この高周波成分が多い場合、すなわち、例えば絶対値平
均が大きい場合、判定部30では重要度の高いピクチャ
であるとみなす。一方、高周波成分が少ない場合、判定
部30はそのピクチャの重要度が低いものとみなし、指
示部32に対し、重要度の低いピクチャが検出された旨
を通知する。
The operation of the above configuration will be described. First, when there is a video input, the video input is subjected to a filtering process by the three HPFs of the pre-determination processing unit 22 for each picture. Since the output of the HPF is the high frequency component of the picture,
When there are many high-frequency components, that is, for example, when the absolute value average is large, the determination unit 30 regards the picture as having high importance. On the other hand, when the high-frequency component is small, the determination unit 30 regards the picture as having low importance, and notifies the instruction unit 32 that a picture with low importance has been detected.

【0016】通知を受けた指示部32は、符号化装置2
の量子化部6に対し、量子化レベル数を減らすよう指示
する指示信号34を出力する。この指示を受けた量子化
部6は例えば量子化レベル数を半減する等の処置をと
る。その結果、重要度の低いピクチャについては、最終
的に符号量が減る。
The instructing unit 32 that has received the notification operates the encoding device 2
, Outputs an instruction signal 34 for instructing the quantization unit 6 to reduce the number of quantization levels. Upon receiving this instruction, the quantization unit 6 takes measures such as halving the number of quantization levels. As a result, the code amount of a picture of low importance is finally reduced.

【0017】以上が本実施形態の符号化制御装置の構成
と動作である。この装置は符号量の合計を減らす効果を
もつだけでなく、符号量が減るピクチャはもともと重要
度が低いと考えられるため、動画全体の画質低下を抑制
することができる。また、この装置によれば、符号化装
置2における量子化データ量が削減されるため、符号化
装置2の符号化部8における処理負荷を軽減することが
でき、結果的に符号化処理全体を高速化できる。さら
に、符号化装置2がMPEGに準拠する場合、通常送信
バッファ10の溢れを回避するために量子化レベル数を
変更する構成が存在するため、その構成に指示信号34
を送ればよい。したがって、実現が極めて容易である。
The above is the configuration and operation of the encoding control device according to the present embodiment. This device not only has the effect of reducing the total code amount, but also can reduce the deterioration of the image quality of the entire moving image because pictures whose code amount is reduced are considered to be originally of low importance. Further, according to this device, the amount of quantized data in the encoding device 2 is reduced, so that the processing load on the encoding unit 8 of the encoding device 2 can be reduced, and as a result, the entire encoding process Speed up. Further, when the encoding device 2 complies with the MPEG, there is a configuration for changing the number of quantization levels in order to avoid overflow of the normal transmission buffer 10.
What should I send? Therefore, realization is extremely easy.

【0018】なお、本実施形態の符号化制御装置は符号
化装置の前段に置いたが、当然これらふたつの装置を一
体化してもよい。また、本実施形態ではピクチャごとに
重要度を判断したが、複数のピクチャを単位として判断
したり、所定期間ごとに判断してもよい。例えばMPE
Gの場合、GOP(後述)ごとに、自ピクチャ内で閉じ
た符号化がなされるIピクチャとよばれるピクチャが存
在するため、このIピクチャについて判断された重要度
をそのGOPに含まれる全ピクチャの重要度とみなして
もよい。一方、これとは逆に、ピクチャの一部領域を単
位として重要度を判断してもよい。すなわち、一部領域
を見てそのピクチャ全体の重要度を判断してもよいし、
領域ごとに重要度を判断し、領域ごとに量子化レベル数
を変更する等、きめ細かい符号量制御をなしてもよい。
Although the encoding control device according to the present embodiment is placed before the encoding device, these two devices may be integrated as a matter of course. In the present embodiment, the importance is determined for each picture. However, the importance may be determined for a plurality of pictures, or may be determined for each predetermined period. For example, MPE
In the case of G, since there is a picture called an I picture to be closed and coded in the own picture for each GOP (described later), the importance determined for this I picture is calculated for all pictures included in the GOP. May be regarded as importance. On the other hand, conversely, the importance may be determined in units of a partial area of the picture. That is, the importance of the entire picture may be determined by looking at a partial area,
Fine code amount control may be performed, for example, by judging the importance for each area and changing the number of quantization levels for each area.

【0019】実施形態2.実施形態1では、量子化レベ
ル数の変更によって全体の符号量を低減した。本実施形
態では画格を変更することにより同様の効果を得る。図
2は本実施形態の符号化制御装置40の構成を示してい
る。同図において図1と同等の部材には同一の符号を与
え、図1との相違を中心に説明する。
Embodiment 2 FIG . In the first embodiment, the entire code amount is reduced by changing the number of quantization levels. In the present embodiment, a similar effect is obtained by changing the image. FIG. 2 shows the configuration of the encoding control device 40 of the present embodiment. In this figure, the same members as those in FIG. 1 are denoted by the same reference numerals, and the description will focus on differences from FIG.

【0020】図2における新たな構成は、図1の指示部
32に比べてより多くの指示を出す指示部42と、指示
部42からの指示にしたがって画格を変更する画格変更
部44である。画格変更部44は、サブサンプリングを
行ってピクチャの解像度を落とす。指示部42は、画格
を変更すべき場合にその旨を伝える第一指示信号46を
画格変更部44に出力し、第二指示信号48を符号化装
置2の符号化部8に出力する。
The new configuration in FIG. 2 includes an instruction unit 42 for issuing more instructions than the instruction unit 32 in FIG. 1 and a case change unit 44 for changing the image in accordance with the instruction from the instruction unit 42. is there. The picture changing unit 44 performs sub-sampling to reduce the resolution of the picture. The instruction unit 42 outputs a first instruction signal 46 for notifying that the image should be changed to the image change unit 44 and outputs a second instruction signal 48 to the encoding unit 8 of the encoding device 2. .

【0021】以上の構成による動作を説明する。まずビ
デオ入力があったとき、これがピクチャ単位で水平HP
F24、垂直HPF26、水平垂直HPF28によるフ
ィルタリング処理を受ける。判定部30は、これら3つ
のHPFからの出力から、例えば所定のしきい値との比
較より、高周波成分の多寡を判断する。ここでも高周波
数成分が多い場合は重要度が高く、その逆の場合は重要
度が低いとみなすが、本実施形態では、ピクチャの重要
度を水平、垂直、水平垂直の三方向に独立して判定す
る。判定部30の出力は具体的には以下の3通りとな
る。
The operation of the above configuration will be described. First, when there is a video input, this is the horizontal HP
F24, the vertical HPF 26, and the horizontal / vertical HPF 28 undergo filtering processing. The determination unit 30 determines the number of high-frequency components from the outputs from these three HPFs, for example, by comparing with a predetermined threshold value. Here also, the importance is high when there are many high frequency components, and the importance is low when the opposite is the case.In the present embodiment, the importance of the picture is horizontally, vertically and horizontally and vertically independently in three directions. judge. The output of the determination unit 30 is specifically the following three types.

【0022】1.水平方向に関して重要度が低い 2.垂直方向に関して重要度が低い 3.水平垂直方向に関して重要度が低い 指示部42は判定結果が1〜3のとき、それぞれに対応
して以下の指示を第一指示信号46によって画格変更部
44に伝える。
1. 1. The importance is low in the horizontal direction. 2. Low importance in vertical direction When the determination results are 1 to 3, the instruction unit 42 having a low degree of importance in the horizontal and vertical directions transmits the following instructions to the image quality changing unit 44 by the first instruction signal 46 corresponding to each of them.

【0023】(1)水平方向の解像度を落とす (2)垂直方向の解像度を落とす (3)水平垂直方向の解像度を落とす 画格変更部44は(1)〜(3)の指示に従い、サブサ
ンプリング、つまり画素をとびとびにサンプリングする
ことにより、画格を落とす。図3は画格の変更の様子を
示すもので、同図(a)はもとのピクチャの画格が水平
720画素×垂直480画素であることを示している。
一方、同図(b)は上記(1)にしたがって水平方向の
画素がもとの半分の360に落とされた場合を示してい
る。同様に同図(c)は垂直方向の画素がもとの半分の
240に落とされた場合、同図(d)は両方向とも、も
との画素の半分に落とされた場合を示している。同図に
おいて○の画素はサンプリングするもの、×の画素はサ
ンプリングしないものを示す。以上で画格の変更が完了
する。
(1) Decreasing the resolution in the horizontal direction (2) Decreasing the resolution in the vertical direction (3) Decreasing the resolution in the horizontal and vertical directions The image quality changing unit 44 performs sub-sampling in accordance with the instructions (1) to (3). That is, the picture quality is lowered by sampling pixels in a discrete manner. FIG. 3 shows how the picture size is changed. FIG. 3A shows that the picture size of the original picture is 720 horizontal pixels × 480 vertical pixels.
On the other hand, FIG. 6B shows a case where the horizontal pixels are reduced to half of the original 360 according to the above (1). Similarly, FIG. 11C shows a case where a vertical pixel is dropped to half of the original pixel, and FIG. 10D shows a case where the pixel is dropped to half of the original pixel in both directions. In the same figure, a pixel of ○ indicates a sample to be sampled, and a pixel of × indicates a sample not sampled. This completes the change of the image.

【0024】一方、指示部42は、画格を変更すべきと
き、第二指示信号48を符号化装置2の符号化部8に送
る。第二指示信号48には、変更後の画格情報、例えば
図3(b)の場合には「360×480」という形のデ
ータが格納されている。符号化部8は符号化後のデータ
ストリームの中に、変更後の画格情報を埋め込む。
On the other hand, the instruction unit 42 sends a second instruction signal 48 to the encoding unit 8 of the encoding device 2 when the picture is to be changed. The second instruction signal 48 stores image information after the change, for example, data in the form of “360 × 480” in the case of FIG. 3B. The encoding unit 8 embeds the changed image information in the encoded data stream.

【0025】図4はMPEGにおける符号化データスト
リームの構成を示している。同図のごとくデータストリ
ームは、各種ヘッダ情報を含むシーケンスヘッダ(S
H)と、グループ・オブ・ピクチャ(GOP)と呼ばれ
る複数ピクチャの符号化データの組の集合である。シー
ケンスヘッダの中にはHSV、VSVというデータ領域
があり、それぞれ水平方向および垂直方向の解像度(画
素数)が格納される。そこで、符号化部8は第二指示信
号48から画格情報を抽出し、これをHSV、VSVに
埋め込む。この結果、画格変更部44における画格の変
更を矛盾なくデータストリームに反映することができ
る。
FIG. 4 shows the structure of an encoded data stream in MPEG. As shown in the figure, the data stream is composed of a sequence header (S
H) and a set of encoded data sets of a plurality of pictures called a group of pictures (GOP). In the sequence header, there are data areas called HSV and VSV, which store the resolution (number of pixels) in the horizontal direction and the vertical direction, respectively. Therefore, the encoding unit 8 extracts the picture information from the second instruction signal 48 and embeds the picture information in the HSV and VSV. As a result, the change of the model in the model changing unit 44 can be reflected in the data stream without contradiction.

【0026】以上が本実施形態によれば、符号量の合計
を大幅に削減できるし、当然符号化装置2の処理負荷を
低減できる。画格が変更されるピクチャはもともと重要
度が低いと考えられるため、画質に対する影響も少な
い。
As described above, according to the present embodiment, the total amount of code can be greatly reduced, and the processing load on the coding device 2 can be naturally reduced. The picture whose picture is changed is considered to be originally low in importance, and therefore has little effect on image quality.

【0027】実施形態3.実施形態1、2はともにピク
チャ自体の性質を利用して符号量低減を図った。本実施
形態では、ビデオ入力に伴う音声入力に注目して符号量
低減を図る。本実施形態の符号化制御装置はテレビジョ
ン映像に適用される。
Embodiment 3 Embodiments 1 and 2 both attempt to reduce the code amount by utilizing the properties of the picture itself. In the present embodiment, the code amount is reduced by focusing on the audio input accompanying the video input. The encoding control device according to the present embodiment is applied to television images.

【0028】図5は本実施形態の符号化制御装置60の
構成図である。この装置は、テレビジョン音声関連信号
をもとにピクチャの重要度を判定する判定部62と、そ
の判定結果に沿った指示を符号化装置2の量子化部6に
指示信号68として送る指示部66をもつ。判定部62
はさらに、音声入力の中から制御チャネル信号を検出す
る制御チャネル信号検出部64をもつ。制御チャネル信
号とは、ステレオ放送と多重音声放送の場合に継続的に
活性化される信号であり、この信号を参照することによ
り、通常の音声放送、ステレオ放送、多重音声放送の区
別をつけることができる。
FIG. 5 is a configuration diagram of the encoding control device 60 of the present embodiment. The apparatus includes a determination unit 62 that determines the importance of a picture based on a television sound-related signal, and an instruction unit that sends an instruction according to the determination result to the quantization unit 6 of the encoding device 2 as an instruction signal 68. It has 66. Judgment unit 62
Further has a control channel signal detection unit 64 for detecting a control channel signal from the audio input. The control channel signal is a signal that is continuously activated in the case of stereo broadcasting and multiplex audio broadcasting. By referring to this signal, it is possible to distinguish between normal audio broadcasting, stereo broadcasting, and multiplex audio broadcasting. Can be.

【0029】以上の構成による動作を説明する。符号化
装置2にビデオ入力があると、それに同期した音声入力
が符号化制御装置60に与えられる。例えば、テレビジ
ョン放送される番組が通常の音声放送であり、コマーシ
ャル映像がステレオ放送である場合、制御チャネル信号
検出部64は、番組の映像が放送されている間は制御チ
ャネル信号を検出せず、コマーシャル映像が放送されて
いる間に検出する。そこで本実施形態では、制御チャネ
ル信号が検出されない間はピクチャの重要度が高く、検
出されている間は重要度が低いとみなし、判定結果を指
示部66に送る。
The operation of the above configuration will be described. When there is a video input to the encoding device 2, an audio input synchronized with the video input is given to the encoding control device 60. For example, if the television broadcast program is a normal audio broadcast and the commercial video is a stereo broadcast, the control channel signal detection unit 64 does not detect the control channel signal while the program video is being broadcast. , While the commercial video is being broadcast. Therefore, in the present embodiment, while the control channel signal is not detected, the importance of the picture is determined to be high, and while the control channel signal is detected, the importance is determined to be low, and the determination result is sent to the instruction unit 66.

【0030】指示部66はピクチャの重要度が低いと判
定されたとき、量子化部6における量子化レベル数を減
らすよう指示信号68を出力する。以降の処理は実施形
態1と同等である。
The instruction unit 66 outputs an instruction signal 68 to reduce the number of quantization levels in the quantization unit 6 when it is determined that the importance of the picture is low. Subsequent processing is the same as in the first embodiment.

【0031】以上、本実施形態によればビデオ入力以外
の情報をもとに符号量を低減できるため、実施形態1、
2の効果に加え、符号化制御装置の実現バリュエーショ
ンを増やすことができる。本実施形態の利点は、装置の
規模が比較的小さいことにもある。
As described above, according to the present embodiment, the code amount can be reduced based on information other than video input.
In addition to the effect of 2, the valuation that can be realized by the encoding control device can be increased. An advantage of this embodiment is that the size of the device is relatively small.

【0032】なお、図1に対して画格変更部44を追加
して図2ができるごとく、本実施形態でも図5に画格変
更部を追加して新たな実施形態としてもよい。
Note that, as shown in FIG. 2 by adding the case change unit 44 to FIG. 1, the present embodiment may be modified to add a case change unit to FIG. 5 to provide a new embodiment.

【0033】実施形態4.この実施形態では、ピクチャ
間の差分に注目して符号量を削減する。図6は本実施形
態の符号化制御装置80の構成図である。この装置は、
ビデオ入力をピクチャ単位で一時的に格納するフレーム
メモリ82と、現在受信中のピクチャとフレームメモリ
82に格納されたひとつ前のピクチャの差分をとる差分
器84と、差分器84の出力をもとにピクチャの重要度
を判定する判定部86と、その判定結果に応じて符号化
装置2の量子化部6に対して指示信号90を出力する指
示部88をもつ。
Embodiment 4 FIG . In this embodiment, the code amount is reduced by focusing on the difference between pictures. FIG. 6 is a configuration diagram of the encoding control device 80 of the present embodiment. This device is
A frame memory 82 for temporarily storing a video input in units of pictures, a subtractor 84 for taking a difference between a picture currently being received and a previous picture stored in the frame memory 82, and an output of the differentiator 84. Has a determining unit 86 for determining the importance of a picture, and an instruction unit 88 for outputting an instruction signal 90 to the quantization unit 6 of the encoding device 2 according to the determination result.

【0034】この構成において、まずビデオ入力があっ
たとき、それがピクチャごとにピクチャ単位でフレーム
メモリ82に格納される。したがって、常にフレームメ
モリ82には一回前のピクチャが残っている。いま例え
ばn番目のピクチャが入力されてきたとすれば、フレー
ムメモリ82の内容は(n−1)番目のピクチャであ
る。このため、差分器84ではn番目のピクチャデータ
から(n−1)番目のピクチャデータが差し引かれ、そ
の差分が判定部86に入力される。
In this configuration, when there is a video input, it is stored in the frame memory 82 for each picture on a picture-by-picture basis. Therefore, the previous picture always remains in the frame memory 82. For example, if the n-th picture has been input, the contents of the frame memory 82 are the (n-1) -th picture. Therefore, the difference unit 84 subtracts the (n−1) th picture data from the nth picture data, and inputs the difference to the determination unit 86.

【0035】判定部86では、差分が大きいときにn番
目のピクチャの重要度が高く、その逆の場合に重要度が
低いとみなす。したがって、差分の合計があるしきい値
より小さいような場合、指示部88から量子化レベル数
を減らすよう指示信号90が出される。以降の処理は実
施形態1同様である。
The judging section 86 regards the importance of the n-th picture as being high when the difference is large, and as having low importance when the opposite is true. Therefore, when the sum of the differences is smaller than a certain threshold value, the instruction unit 90 outputs an instruction signal 90 to reduce the number of quantization levels. Subsequent processing is the same as in the first embodiment.

【0036】本実施形態でも符号量の削減、処理負荷の
軽減など他の実施形態同様の効果が得られる。本実施形
態の符号化制御装置は、例えば監視カメラの映像処理に
向く。ピクチャに変化のあったときだけ符号量を高めて
精細な映像を得ればよいためである。なお、本実施形態
でも画格変更部を追加して新たな実施形態とすることが
できる。
In this embodiment, the same effects as those of the other embodiments such as reduction of the code amount and reduction of the processing load can be obtained. The encoding control device according to the present embodiment is suitable for, for example, video processing of a surveillance camera. This is because it is only necessary to increase the code amount and obtain a fine image only when there is a change in the picture. In this embodiment, a new embodiment can also be provided by adding a scale changing unit.

【0037】実施形態5.実施形態2を基本形とする変
形例を説明する。本実施形態は、実施形態2の符号化制
御装置に雑音除去機能を付加したものである。
Embodiment 5 A modified example based on Embodiment 2 will be described. In the present embodiment, a noise removal function is added to the encoding control device of the second embodiment.

【0038】図7は本実施形態の符号化制御装置100
の構成図である。図2に対する新たな構成は、水平HP
F24、垂直HPF26、水平垂直HPF28の3つの
出力および「0」の合計4つのデータから、指示部10
4の出力する第三指示信号106に従ってひとつのデー
タを選択出力する選択部102と、現在入力されている
ピクチャデータから選択部102の出力を差し引く差分
器108である。なお、指示部104の出力する第一指
示信号46、第二指示信号48は実施形態2と同じであ
る。
FIG. 7 shows an encoding control device 100 according to this embodiment.
FIG. The new configuration for FIG.
From the three outputs of F24, vertical HPF 26 and horizontal / vertical HPF 28 and the total of four data of “0”, the indicating unit 10
The selection unit 102 selects and outputs one piece of data in accordance with the third instruction signal 106 output from the fourth unit 4. The difference unit 108 subtracts the output of the selection unit 102 from the currently input picture data. Note that the first instruction signal 46 and the second instruction signal 48 output by the instruction unit 104 are the same as in the second embodiment.

【0039】以上の構成においてビデオ入力があると、
判定前処理部22、判定部30、および指示部104の
第一指示信号46と第二指示信号48は実施形態2と同
じ動きをする。いま仮に、水平方向の高周波成分だけが
少ないとき、第一指示信号46は「水平方向の解像度を
落とす」旨を指示する。このとき同時に、指示部104
は第三指示信号106により、「水平HPF24の出力
を選択出力する」旨を指示する。選択部102はこの指
示にしたがう。
In the above configuration, if there is a video input,
The first instruction signal 46 and the second instruction signal 48 of the pre-determination processing unit 22, the determination unit 30, and the instruction unit 104 perform the same operation as in the second embodiment. If only the high frequency component in the horizontal direction is small, the first instruction signal 46 indicates “reduce the resolution in the horizontal direction”. At this time, the instruction unit 104
Indicates that the output of the horizontal HPF 24 is to be selectively output by the third instruction signal 106. The selection unit 102 follows this instruction.

【0040】差分器108は、現在のピクチャから水平
HPF24を通過したピクチャを差し引くため、差分器
108の出力は、水平方向の高周波成分として存在する
折り返し雑音が落ちた形になる。サンプリング定理によ
れば、ある周波数fsでサンプリングが可能な信号帯域
はfs/2以下に限られるため、fs/2を境にして高
周波側に折り返し雑音が発生する。折り返し雑音を含む
映像データを異なる周波数でサブサンプリングすると、
折り返し雑音が本来必要な周波数成分と重畳して画質が
落ちる。本実施形態では、サブサンプリング前に不要な
高周波成分を落とすことにより、折り返し雑音による悪
影響を大幅に削減できる。
Since the differentiator 108 subtracts the picture that has passed through the horizontal HPF 24 from the current picture, the output of the differentiator 108 has a form in which aliasing noise existing as a high-frequency component in the horizontal direction is reduced. According to the sampling theorem, a signal band that can be sampled at a certain frequency fs is limited to fs / 2 or less, so that aliasing noise occurs on the high frequency side from fs / 2. When sub-sampling video data containing aliasing noise at different frequencies,
The aliasing noise is superimposed on the originally required frequency component, and the image quality deteriorates. In the present embodiment, by removing unnecessary high-frequency components before sub-sampling, the adverse effect of aliasing noise can be significantly reduced.

【0041】なお、選択部102のひとつの入力に
「0」を持たせているのは、画格を変更しない場合、す
なわち、水平、垂直方向ともに高周波成分が多いような
場合には、もとのピクチャデータに手を加えないためで
ある。具体的に、第一指示信号46が画格の変更を指示
しないときには、第三指示信号106によって「0」を
選択出力させる。
It is to be noted that one input of the selection unit 102 is given "0" when the image is not changed, that is, when there are many high-frequency components in both the horizontal and vertical directions. This is because the picture data is not modified. Specifically, when the first instruction signal 46 does not instruct the change of the image, “0” is selectively output by the third instruction signal 106.

【0042】以上が本実施形態の構成と動作である。本
実施形態によれば、実施形態2に比べ、画格を変更する
際の画質を改善することができる。また、当然全体のデ
ータ量も減る点でも効果的である。
The above is the configuration and operation of this embodiment. According to the present embodiment, the image quality when changing the image quality can be improved as compared with the second embodiment. It is also effective in that the total data amount is reduced.

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

【図1】 実施形態1の符号化制御装置の構成図であ
る。
FIG. 1 is a configuration diagram of an encoding control device according to a first embodiment.

【図2】 実施形態2の符号化制御装置の構成図であ
る。
FIG. 2 is a configuration diagram of an encoding control device according to a second embodiment.

【図3】 (a)〜(d)は、実施形態2の画格変更部
によるサブサンプリングの様子を示す図である。
FIGS. 3A to 3D are diagrams illustrating a state of sub-sampling performed by a resolution changing unit according to the second embodiment.

【図4】 MPEGの符号化データストリームを示す図
である。
FIG. 4 is a diagram showing an MPEG encoded data stream.

【図5】 実施形態3の符号化制御装置の構成図であ
る。
FIG. 5 is a configuration diagram of an encoding control device according to a third embodiment.

【図6】 実施形態4の符号化制御装置の構成図であ
る。
FIG. 6 is a configuration diagram of an encoding control device according to a fourth embodiment.

【図7】 実施形態5の符号化制御装置の構成図であ
る。
FIG. 7 is a configuration diagram of an encoding control device according to a fifth embodiment.

【図8】 従来一般的なMPEG符号化装置の概略構成
図である。
FIG. 8 is a schematic configuration diagram of a conventional general MPEG encoding device.

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

2 符号化装置、4 DCT部、6 量子化部、8 符
号化部、10 送信バッファ、20,40,60,8
0,100 符号化制御装置、22 判定前処理部、2
4 水平HPF、26 垂直HPF、28 水平垂直H
PF、30,62,86 判定部、32,42,66,
88,104 指示部、34,68,90指示信号、4
4 画格変更部、46 第一指示信号、48 第二指示
信号、64 制御チャネル信号検出部、82 フレーム
メモリ、84,108 差分器、102 選択部、10
6 第三指示信号。
2 coding device, 4 DCT unit, 6 quantization unit, 8 coding unit, 10 transmission buffer, 20, 40, 60, 8
0,100 coding control device, 22 pre-determination processing unit, 2
4 Horizontal HPF, 26 Vertical HPF, 28 Horizontal / vertical H
PF, 30, 62, 86 judgment unit, 32, 42, 66,
88, 104 indicating unit, 34, 68, 90 indicating signal, 4
4 image change unit, 46 first instruction signal, 48 second instruction signal, 64 control channel signal detection unit, 82 frame memory, 84, 108 difference unit, 102 selection unit, 10
6 Third instruction signal.

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 複数ピクチャの符号化を制御する方法で
あって、 ピクチャの重要度を判定し、重要度の低いピクチャに対
する符号量が、重要度を考慮しない場合に達成されるべ
き符号量よりも少なくなるよう制御することを特徴とす
る符号化制御方法。
1. A method for controlling encoding of a plurality of pictures, wherein importance of a picture is determined, and a code amount for a picture having a low importance is smaller than a code amount to be achieved when the importance is not considered. An encoding control method, characterized in that the encoding is controlled so as to be reduced.
【請求項2】 ピクチャの重要度をピクチャの周波数成
分を手がかりに判定する請求項1に記載の符号化制御方
法。
2. The encoding control method according to claim 1, wherein the importance of the picture is determined based on a frequency component of the picture.
【請求項3】 ピクチャの重要度をピクチャに伴う音声
関連信号を手がかりに判定する請求項1に記載の符号化
制御方法。
3. The encoding control method according to claim 1, wherein the importance of the picture is determined based on an audio-related signal accompanying the picture.
【請求項4】 ピクチャの重要度をピクチャ間の差分を
手がかりに判定する請求項1に記載の符号化制御方法。
4. The encoding control method according to claim 1, wherein importance of the picture is determined based on a difference between the pictures.
【請求項5】 入力されたピクチャの重要度を判定する
判定手段と、 その判定結果をもとに、重要度の低いピクチャの符号量
の低減を指示する指示手段と、 を含むことを特徴とする符号化制御装置。
5. A determining means for determining importance of an input picture, and instructing means for instructing a reduction in a code amount of a picture with low importance based on the determination result. Encoding control device.
【請求項6】 前記指示手段は、ピクチャを量子化する
際にその量子化レベル数の削減を指示する請求項5に記
載の符号化制御装置。
6. The encoding control device according to claim 5, wherein said instruction means instructs, when quantizing a picture, a reduction in the number of quantization levels.
【請求項7】 前記指示手段の指示に従い、ピクチャの
画格を変更する手段をさらに含む請求項5に記載の符号
化制御装置。
7. The encoding control apparatus according to claim 5, further comprising: means for changing a picture size according to an instruction from said instruction means.
JP32017096A 1996-11-29 1996-11-29 Encoding control method and encoding controller using the method Pending JPH10164579A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32017096A JPH10164579A (en) 1996-11-29 1996-11-29 Encoding control method and encoding controller using the method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32017096A JPH10164579A (en) 1996-11-29 1996-11-29 Encoding control method and encoding controller using the method

Publications (1)

Publication Number Publication Date
JPH10164579A true JPH10164579A (en) 1998-06-19

Family

ID=18118484

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32017096A Pending JPH10164579A (en) 1996-11-29 1996-11-29 Encoding control method and encoding controller using the method

Country Status (1)

Country Link
JP (1) JPH10164579A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005125216A1 (en) * 2004-06-22 2005-12-29 Sony Corporation Image compression device, image compression method, and image compression program
US7280708B2 (en) 2002-03-09 2007-10-09 Samsung Electronics Co., Ltd. Method for adaptively encoding motion image based on temporal and spatial complexity and apparatus therefor
JP2010233220A (en) * 2009-03-29 2010-10-14 Mitsubishi Electric Research Laboratories Inc Method for transcoding first-coding-format video input to second-coding-format video output, accommodative video transcoder, and accommodative method for transcoding first-coding-format video input to second-coding-format video output
JP2012054791A (en) * 2010-09-01 2012-03-15 Nippon Hoso Kyokai <Nhk> Encoding device, decoding device and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7280708B2 (en) 2002-03-09 2007-10-09 Samsung Electronics Co., Ltd. Method for adaptively encoding motion image based on temporal and spatial complexity and apparatus therefor
WO2005125216A1 (en) * 2004-06-22 2005-12-29 Sony Corporation Image compression device, image compression method, and image compression program
US7881543B2 (en) 2004-06-22 2011-02-01 Sony Corporation Image compression processing device, image compression processing method, and image compression processing program
JP2010233220A (en) * 2009-03-29 2010-10-14 Mitsubishi Electric Research Laboratories Inc Method for transcoding first-coding-format video input to second-coding-format video output, accommodative video transcoder, and accommodative method for transcoding first-coding-format video input to second-coding-format video output
JP2012054791A (en) * 2010-09-01 2012-03-15 Nippon Hoso Kyokai <Nhk> Encoding device, decoding device and program

Similar Documents

Publication Publication Date Title
US5508750A (en) Encoding data converted from film format for progressive display
US6608867B2 (en) Detection and proper scaling of interlaced moving areas in MPEG-2 compressed video
JP2001514826A (en) Method and apparatus for transmitting and displaying still images
JPH11298890A (en) Method and system for compression or expansion of image data, image transmission system and monitor system using the same
JPH0220185A (en) Moving image transmission system
JP2008506294A (en) Method and system for performing deblocking filtering
JP2001275110A (en) Method and system for dynamic loop and post filtering
EP1547016B1 (en) Method and apparatus for encoding image and or audio data
JPH0918782A (en) Video signal processing method and device
JPH1079941A (en) Picture processor
JPH0795566A (en) Method and device for encoding image
US8077987B2 (en) Methods and apparatus for processing of a digital image
JPH10164579A (en) Encoding control method and encoding controller using the method
JP2001189844A (en) Information inserting and detecting system
CN115643406A (en) Video decoding method, video encoding device, storage medium, and storage apparatus
JP2914607B2 (en) Image signal decoding device
JP2003333370A (en) Signal processing apparatus
JP2001069510A (en) Video motor
EP0927954B1 (en) Image signal compression coding method and apparatus
JPH11220729A (en) Video encoder, video decoder and distortion detecting apparatus
JP3597271B2 (en) Video cut point image detection device
JPH0767107A (en) Image encoder
JP3168723B2 (en) Video signal encoding device
JPH02202287A (en) Movement adaptive filter
JP4186769B2 (en) GOP cycle detector

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050524

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20050725

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050927