JP2004266489A - Moving image encoder - Google Patents
Moving image encoder Download PDFInfo
- Publication number
- JP2004266489A JP2004266489A JP2003053649A JP2003053649A JP2004266489A JP 2004266489 A JP2004266489 A JP 2004266489A JP 2003053649 A JP2003053649 A JP 2003053649A JP 2003053649 A JP2003053649 A JP 2003053649A JP 2004266489 A JP2004266489 A JP 2004266489A
- Authority
- JP
- Japan
- Prior art keywords
- encoding
- frame
- field
- coding
- type
- 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
Links
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
この発明は動画像符号化装置に関し、特に高精細静止画符号化方式の国際標準であるJPEG2000をテレビジョン信号系の動画像に適用する場合の動画像符号化装置に関する。
【0002】
【従来の技術】
インタレース信号をJPEG2000で扱う場合、符号化タイプとしてフレームタイプとフィールドタイプのいずれかが選択可能である。一般に、符号化効率の高さから、フレームタイプが固定的に割り当てられている。
【0003】
なお、本発明に関連する従来技術として、例えば2001年画像符号化シンポジウム(PCSJ2001)、2001年11月発行、第75〜76頁「P−5.02 Motion JPEG2000 におけるVisual weighting を用いた画質改善の検討」、および同第83〜84頁「P−5.06 QCIF動画像符号化へのJPEG2000の効果的適用法」がある。
【0004】
前者の論文は、Motion JPEG2000のデコード画像中に発生する符号化歪みの特徴を分析し、その歪みを低減するためのエンコード手法が提案され、また、ウェーブレット係数分布を分析し、Visual weightingの技術を用いることで、インタレース画像に対しても画質の改善を行うことが開示されている。
【0005】
一方、後者の論文には、QCIF動画像をJPEG2000に基づいて効果的に符号化するための手法が開示され、また複数のフレームを1つの大きな画像とし、動画像の時間的相関を空間に適応することで、符号化効率を向上することが開示されている。
【0006】
【発明が解決しようとする課題】
しかしながら、前記フレームタイプでは、再生時刻が1フィールド間隔離れた2つのフィールドをマージし、一括して符号化処理を行うため、高速な動きを伴う素材に対しては、性能でフィールドタイプを下回る場合があるという問題があった。
【0007】
本発明は前記した従来技術に鑑みてなされたものであり、その目的は、フレームタイプとフィールドタイプを適応的に選択することにより、符号化の性能を改善することができる動画像符号化装置を提供することにある。
【0008】
【課題を解決するための手段】
前記した目的を達成するために、本発明は、フレーム内、フィールド内適応符号化処理を行う動画像符号化装置において、入力画像をフレーム符号化またはフィールド符号化する符号化処理部と、該符号化処理部に、フレーム符号化およびフィールド符号化のいずれの符号化方法を選択するかの指示を行う前処理部とを具備し、該前処理部は、入力画像をフレーム単位で蓄積し、入力画像の符号化方法を、前記フレーム符号化およびフィールド符号化で符号化した場合の符号化効率の大小を比較し、その大きい方の符号化タイプに決定するようにした点に特徴がある。
【0009】
この特徴によれば、符号化効率が大きくなるように、フレームタイプとフィールドタイプを適応的に選択できるようになる。
【0010】
また、本発明は、前記決定された符号化タイプの符号化のレート制御において、前記特徴量を基に、周波数成分毎のビット配分を行うようにした点に他の特徴がある。
【0011】
この特徴によれば、符号化タイプの適応的選択による符号化効率の向上に加えて、レート制御による符号化効率の向上をも図ることができるようになる。
【0012】
【発明の実施の形態】
以下に、図面を参照して、本発明を詳細に説明する。図1は本発明の一実施形態の構成を示すブロック図である。
【0013】
入力画像aは、遅延部1と前処理部2に入力する。該遅延部1は、該前処理部2の処理に要する時間だけ、入力画像aを遅延する。一方、前処理部2は、入力画像をフレーム単位で蓄積し、図2に関して後述するように、フィールドタイプとフレームタイプのいずれのタイプの符号化処理が性能改善を期待できるかを予測し、その予測結果をJPEG2000符号化部3へ通知する。
【0014】
該JPEG2000符号化部3は、スイッチング部30、遅延部1からフィールド信号を読み込むフィールド信号入力部31、遅延部1からフレーム信号を読み込むフレーム信号入力部32、ウェーブレット変換部33,34、2値算術符号化部35、およびレート制御部36から構成されている。該JPEG2000符号化部3は、前記前処理部2からの指示に従ってスイッチング部30を切り替え、フィールド信号入力部31の系列またはフレーム信号入力部32の系列を選択する。なお、ウェーブレット変換部33,34、2値算術符号化部35、およびレート制御部36は、JPEG2000符号化装置が有する周知の構成であるので、詳細な説明は省略する。
【0015】
次に、前記前処理部2の動作を図2のフローチャートを参照して説明する。ステップS1では、1フレーム分の入力画像aを取得する。ステップS2では、該1フレーム分の入力画像aから、フレーム処理の場合の特徴量Cvrとフィールド処理の場合の特徴量Cviを、例えば下記の(1)式、(2)式から算出する。
【0016】
【数1】
【0017】
ここに、I(x,y)は(x,y)位置における画素の輝度信号、Nx、Nyはそれぞれx、y方向の画素数を示す。したがって、Cvrはフレーム信号の輝度信号の垂直相関、Cviはフィールド信号の輝度信号の垂直相関を示す。
【0018】
ステップS3では、下記の(3)式の条件が満たされるか否かを判断する。
Cvi>Wr×Cvr ・・・(3)
ここに、Wrは重み係数であり、Wr>1である。これは、符号化データの伝送には、フィールドおよびフレームのそれぞれにサイド情報すなわちヘッダが付けられ、フィールドタイプの符号化データの伝送にはフレームタイプの符号化データの伝送に比べて、ほぼ2倍のヘッダ情報符号化ビット量を必要とするからである。
【0019】
図2のステップS3の判断が肯定の場合には、フィールドタイプの特徴量がフレームタイプのそれよりも大きい、すなわち垂直相関が大きく符号化時の符号量が少ないと考えられるから、ステップS4に進んで、フィールドタイプの通知が行われる。一方、ステップS3の判断が否定の時には、ステップS5に進んで、フレームタイプの通知がなされる。
【0020】
フィールドタイプの通知がなされると、図1のスイッチング部30はフィールド信号入力部31を選択し、一方フレームタイプの通知がなされると、スイッチング部30はフレーム信号入力部32を選択する。
【0021】
フィールドタイプが選択された場合には、入力画像のフィールド信号がウェーブレット変換部33で変換され、2値算術符号化部35,レート制御部36を経て、出力される。遅延部1には、フィールド信号が2フィールド分蓄積されているため、以上の処理を第1フィールド、第2フィールドに対して順次行う。一方、フレームタイプが選択された場合には、入力画像のフレーム信号がウェーブレット変換部34で変換され、2値算術符号化部35,レート制御部36を経て、符号化データとして出力される。
【0022】
なお、該実施形態では、ステップS2の特徴量を画像信号の垂直相関係数としたが、本発明はこれに限定されず、画像信号の分散値を用いてもよい。この場合、分散値の小さい方の符号化タイプを選択する。
【0023】
図3は、本実施形態の性能評価の結果、すなわちテスト画像“Whale show”に対して取得したPSNRを示す。横軸はフレーム番号である。図3から、本実施形態によれば、フレームタイプおよびフィールドタイプを固定的に割り当てた場合に比べて、高いPSNRゲインが得られることが確認された。
【0024】
次に、本発明の第2実施形態を、図4に示す。この実施形態は、前処理部2で選択した符号化タイプの特徴量、例えば垂直相関をレート制御部36に送り、周波数成分毎のビット配分に反映させるようにしたものである。例えば、垂直相関が大きければ垂直成分のビット配分を小さく、逆に垂直相関が小さければ垂直成分のビット配分を大きくする。1枚の画像に割り当てられている符号化ビット量は一定であるので、上記のようにビット配分を適応的に行うことにより、符号化効率の向上を図ることができる。
【0025】
【発明の効果】
以上の説明から明らかなように、請求項1〜4の発明によれば、符号化効率が大きくなるように、フレームタイプとフィールドタイプを適応的に選択できるので、符号化効率の向上を図ることができる。
【0026】
また、請求項5の発明によれば、前記請求項1〜4の発明の効果に加えて、レート制御による符号化効率の向上をも図ることができるようになる。
【図面の簡単な説明】
【図1】本発明の一実施形態の構成を示すブロック図である。
【図2】図1の前処理部の動作を示すフローチャートである。
【図3】本発明の効果の説明図である。
【図4】本発明の第2実施形態の構成を示すブロック図である。
【符号の説明】
1・・・遅延部、2・・・前処理部、3・・・JPEG2000符号化部、30・・・スイッチング部、31・・・フィールド信号入力部、32・・・フレーム信号入力部、33,34・・・ウェーブレット変換部、35・・・2値算術符号化部、36・・・レート制御部。[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a moving picture coding apparatus, and more particularly to a moving picture coding apparatus when JPEG2000, which is an international standard for high-definition still picture coding, is applied to moving pictures of a television signal system.
[0002]
[Prior art]
When an interlace signal is handled by JPEG2000, either a frame type or a field type can be selected as an encoding type. Generally, a frame type is fixedly assigned from the viewpoint of high coding efficiency.
[0003]
As a related art related to the present invention, for example, a method of improving image quality using Visual weighting in P-5.02 Motion JPEG2000, pp. 75-76, pp. 75-76, 2001 Image Coding Symposium (PCSJ2001), November 2001. Investigation ", and pages 83-84," Effective Application of JPEG2000 to P-5.06 QCIF Video Coding ".
[0004]
The former paper analyzes the characteristics of coding distortion generated in a decoded image of Motion JPEG2000, proposes an encoding method for reducing the distortion, analyzes the wavelet coefficient distribution, and uses the technique of Visual weighting. It is disclosed that the image quality can be improved for an interlaced image by using it.
[0005]
On the other hand, the latter paper discloses a method for effectively encoding a QCIF moving image based on JPEG2000, and a plurality of frames are made into one large image, and a temporal correlation of the moving image is adapted to space. It is disclosed that by doing so, the coding efficiency is improved.
[0006]
[Problems to be solved by the invention]
However, in the above-mentioned frame type, two fields whose playback time is separated by one field interval are merged and the encoding process is performed collectively. There was a problem that there is.
[0007]
The present invention has been made in view of the above-described related art, and an object of the present invention is to provide a video encoding device capable of improving encoding performance by adaptively selecting a frame type and a field type. To provide.
[0008]
[Means for Solving the Problems]
In order to achieve the above object, the present invention provides a video encoding device that performs intra-frame and intra-field adaptive encoding processing, wherein an encoding processing unit that encodes an input image by frame encoding or field encoding; A pre-processing unit that instructs which encoding method, frame encoding or field encoding, to be selected, the pre-processing unit accumulates input images in frame units, The method is characterized in that the coding method of an image is compared with the coding efficiency in the case of coding by the frame coding and the field coding, and is determined to be the larger coding type.
[0009]
According to this feature, the frame type and the field type can be adaptively selected so as to increase the coding efficiency.
[0010]
Further, the present invention has another feature in that, in the rate control of the coding of the determined coding type, bits are allocated for each frequency component based on the feature amount.
[0011]
According to this feature, the coding efficiency can be improved by the rate control in addition to the improvement of the coding efficiency by the adaptive selection of the coding type.
[0012]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing the configuration of one embodiment of the present invention.
[0013]
The input image a is input to the
[0014]
The
[0015]
Next, the operation of the
[0016]
(Equation 1)
[0017]
Here, I (x, y) is (x, y) indicates a luminance signal of the pixel at the position, N x, N y, respectively x, the number of pixels y-direction. Therefore, C vr indicates the vertical correlation of the luminance signal of the frame signal, and C vi indicates the vertical correlation of the luminance signal of the field signal.
[0018]
In step S3, it is determined whether or not the condition of the following expression (3) is satisfied.
C vi > W r × C vr (3)
Here, W r is a weight coefficient, and W r > 1. This is because transmission of encoded data has side information or a header attached to each of a field and a frame, and transmission of field-type encoded data is almost twice as large as transmission of frame-type encoded data. This is because the header information encoding bit amount of the above is required.
[0019]
If the determination in step S3 in FIG. 2 is affirmative, it is considered that the feature amount of the field type is larger than that of the frame type, that is, it is considered that the vertical correlation is large and the code amount at the time of encoding is small, and the process proceeds to step S4. The notification of the field type is performed. On the other hand, if the determination in step S3 is negative, the process proceeds to step S5, and a notification of the frame type is made.
[0020]
When the field type is notified, the switching
[0021]
When the field type is selected, the field signal of the input image is transformed by the
[0022]
In this embodiment, the feature value in step S2 is the vertical correlation coefficient of the image signal. However, the present invention is not limited to this, and the variance of the image signal may be used. In this case, the coding type with the smaller variance value is selected.
[0023]
FIG. 3 shows the result of the performance evaluation of the present embodiment, that is, the PSNR obtained for the test image “Whale show”. The horizontal axis is the frame number. From FIG. 3, it has been confirmed that according to the present embodiment, a higher PSNR gain can be obtained than in the case where the frame type and the field type are fixedly assigned.
[0024]
Next, a second embodiment of the present invention is shown in FIG. In this embodiment, the feature amount of the encoding type selected by the
[0025]
【The invention's effect】
As is apparent from the above description, according to the first to fourth aspects of the present invention, the frame type and the field type can be adaptively selected so as to increase the coding efficiency. Can be.
[0026]
According to the fifth aspect of the present invention, in addition to the effects of the first to fourth aspects of the present invention, it is possible to improve the coding efficiency by rate control.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an embodiment of the present invention.
FIG. 2 is a flowchart illustrating an operation of a preprocessing unit in FIG. 1;
FIG. 3 is an explanatory diagram of an effect of the present invention.
FIG. 4 is a block diagram showing a configuration of a second embodiment of the present invention.
[Explanation of symbols]
DESCRIPTION OF
Claims (5)
入力画像をフレーム符号化またはフィールド符号化する符号化処理部と、
該符号化処理部に、フレーム符号化およびフィールド符号化のいずれの符号化方法を選択するかの指示を行う前処理部とを具備し、
該前処理部は、入力画像をフレーム単位で蓄積し、入力画像の符号化方法を、前記フレーム符号化およびフィールド符号化で符号化した場合の符号化効率の大小を比較し、その大きい方の符号化タイプに決定することを特徴とする動画像符号化装置。In a moving image encoding apparatus that performs intra-frame and intra-field adaptive encoding processing,
An encoding processing unit that performs frame encoding or field encoding on the input image,
The encoding processing unit, comprising a preprocessing unit for instructing which encoding method to select between frame encoding and field encoding,
The preprocessing unit accumulates the input image in frame units, compares the encoding method of the input image with the encoding efficiency when encoding by the frame encoding and the field encoding, and compares A moving picture coding apparatus characterized in that the coding type is determined.
前記符号化効率の大小の比較を前記フレーム符号化およびフィールド符号化時の符号化対象データの特徴量で行い、該特徴量として、画像信号の垂直相関係数および分散値の少なくとも一方を用いることを特徴とする動画像符号化装置。The moving picture encoding device according to claim 1,
The magnitude of the encoding efficiency is compared with the feature amount of the data to be encoded at the time of the frame encoding and the field encoding, and at least one of a vertical correlation coefficient and a variance value of an image signal is used as the feature amount. A video encoding device characterized by the above-mentioned.
前記画像信号の垂直相関係数および分散値は、画像信号の輝度信号の垂直相関係数および分散値であることを特徴とする動画像符号化装置。The moving picture coding apparatus according to claim 2,
The moving picture coding apparatus according to claim 1, wherein the vertical correlation coefficient and the variance of the image signal are a vertical correlation coefficient and a variance of a luminance signal of the image signal.
前記フレーム符号化時とフィールド符号化時に発生するサイド情報の符号化ビット数を考慮に入れて前記符号化効率の大小の比較を行うことを特徴とする動画像符号化装置。The video encoding device according to claim 2 or 3,
A moving picture coding apparatus, wherein the coding efficiency is compared in consideration of the number of coding bits of side information generated during the frame coding and the field coding.
前記決定された符号化タイプの符号化のレート制御において、前記特徴量を基に、周波数成分毎のビット配分を行うことを特徴とする動画像符号化装置。The moving picture coding apparatus according to claim 2,
A moving picture coding apparatus, characterized in that, in the rate control of the coding of the determined coding type, bit allocation is performed for each frequency component based on the feature amount.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003053649A JP2004266489A (en) | 2003-02-28 | 2003-02-28 | Moving image encoder |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003053649A JP2004266489A (en) | 2003-02-28 | 2003-02-28 | Moving image encoder |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2004266489A true JP2004266489A (en) | 2004-09-24 |
Family
ID=33118195
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003053649A Pending JP2004266489A (en) | 2003-02-28 | 2003-02-28 | Moving image encoder |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2004266489A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7916788B2 (en) | 2005-08-11 | 2011-03-29 | Kabushiki Kaisha Toshiba | Motion picture encoding method and device |
-
2003
- 2003-02-28 JP JP2003053649A patent/JP2004266489A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7916788B2 (en) | 2005-08-11 | 2011-03-29 | Kabushiki Kaisha Toshiba | Motion picture encoding method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8218638B2 (en) | Method and system for optical flow based motion vector estimation for picture rate up-conversion | |
US7016547B1 (en) | Adaptive entropy encoding/decoding for screen capture content | |
JP4542447B2 (en) | Image encoding / decoding device, encoding / decoding program, and encoding / decoding method | |
US20070009039A1 (en) | Video encoding and decoding methods and apparatuses | |
US6819714B2 (en) | Video encoding apparatus that adjusts code amount by skipping encoding of image data | |
JP4429968B2 (en) | System and method for increasing SVC compression ratio | |
JPH07162869A (en) | Moving image encoder | |
EP1949703A1 (en) | Apparatus and method for encoding and decoding moving picture using adaptive scanning | |
US20060029136A1 (en) | Intra-frame prediction for high-pass temporal-filtered frames in a wavelet video coding | |
JPH1093966A (en) | Picture encoding device | |
JPH09261662A (en) | Method and device for estimating motion in digital video encoder | |
JPH031688A (en) | High efficiency picture coder | |
JP3703299B2 (en) | Video coding method, system and computer program product for optimizing picture center image quality | |
US7957604B2 (en) | Moving image coding apparatus, moving image decoding apparatus, control method therefor, and computer-readable storage medium | |
US8379717B2 (en) | Lifting-based implementations of orthonormal spatio-temporal transformations | |
KR100945826B1 (en) | Image information decoding method and decoder | |
JP4592562B2 (en) | Image decoding device | |
JP4709074B2 (en) | Moving picture encoding method, apparatus, program thereof, and recording medium recording the program | |
EP1720356A1 (en) | A frequency selective video compression | |
JP4510701B2 (en) | Video encoding device | |
US20040066466A1 (en) | Progressive conversion of interlaced video based on coded bitstream analysis | |
JP2004266489A (en) | Moving image encoder | |
JP4522951B2 (en) | Moving picture encoding method and apparatus, decoding method and apparatus, moving picture processing program, and computer-readable recording medium | |
JP2868445B2 (en) | Moving image compression method and apparatus | |
JPH10145788A (en) | Video reproduction device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20040922 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20061219 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070117 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070319 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20071107 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20080305 |