JP2005175891A - Recorder - Google Patents
Recorder Download PDFInfo
- Publication number
- JP2005175891A JP2005175891A JP2003413042A JP2003413042A JP2005175891A JP 2005175891 A JP2005175891 A JP 2005175891A JP 2003413042 A JP2003413042 A JP 2003413042A JP 2003413042 A JP2003413042 A JP 2003413042A JP 2005175891 A JP2005175891 A JP 2005175891A
- Authority
- JP
- Japan
- Prior art keywords
- encoding
- circuit
- frame
- subject
- recording
- 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.)
- Withdrawn
Links
Images
Landscapes
- Studio Devices (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
Description
本発明は、データ記録装置に関し、特には、ディジタルデータ記録を行なう記録装置に関するものである。 The present invention relates to a data recording apparatus, and more particularly to a recording apparatus that performs digital data recording.
従来、の技術では、画面間差分符号化において、輝度値よりブロック毎に演算するアクティビティを用い、複雑なブロックに情報量の割り当てを少なくするようにしていた(例えば、特許文献1参照。)。
符号量を減らしても、より高画質な画像を符号化した場合、上記従来の技術では、必要のない箇所であっても、他の部分と同じ符号化を行ってしまうため、符号量を無駄に使ってしまうという問題があった。 Even if the amount of code is reduced, if a higher quality image is encoded, the above conventional technique performs the same encoding as other portions even if it is not necessary, and therefore the amount of code is wasted. There was a problem of using it.
従来抱えている課題を解決し、前記目的を達成するため、本発明は、画像信号をフレーム間予測符号化により符号化する符号化手段と、前記符号化された動画像信号を記録媒体に記録する記録手段とを備え、前記符号化手段は、前記動画像信号中、現フレームに存在する被写体のうち、次のフレーム以降で存在しなくなる被写体の領域を検出し、現フレームにおいて前記検出した被写体の領域に対する符号量の割り当てを他の領域に対して減らす構成とした。 In order to solve the conventional problems and achieve the above object, the present invention provides an encoding means for encoding an image signal by inter-frame prediction encoding, and records the encoded moving image signal on a recording medium. Recording means for detecting, in the moving picture signal, a region of a subject that does not exist after the next frame among subjects existing in the current frame, and the detected subject in the current frame The configuration is such that the allocation of the code amount to one area is reduced with respect to the other areas.
この発明は下記の構成を備えることにより上記課題を解決できるものである。 The present invention can solve the above problems by providing the following configuration.
(1)動画像信号をフレーム間予測符号化により符号化する符号化手段と、
前記符号化された動画像信号を記録媒体に記録する記録手段とを備え、
前記符号化手段は、前記動画像信号中、現フレームに存在する被写体のうち、次のフレーム以降で存在しなくなる被写体の領域を検出し、現フレームにおいて前記検出した被写体の領域に対する符号量の割り当てを他の領域に対して減らすことを特徴とする記録装置。
(1) encoding means for encoding a moving image signal by inter-frame prediction encoding;
Recording means for recording the encoded moving image signal on a recording medium,
The encoding means detects a region of a subject that does not exist after the next frame among subjects existing in the current frame in the video signal, and assigns a code amount to the detected region of the subject in the current frame A recording apparatus characterized in that the number is reduced with respect to other areas.
(2)前記動画像信号を出力する撮像手段と、前記角速度センサーとを備え、前記符号化手段は前記角速度センサーの出力情報に基づいて前記次のフレームに存在しなくなる被写体の領域を決定することを特徴とする前記(1)記載の記録装置。 (2) An imaging unit that outputs the moving image signal and the angular velocity sensor are provided, and the encoding unit determines a region of a subject that does not exist in the next frame based on output information of the angular velocity sensor. The recording apparatus according to (1), wherein:
(3)前記符号化手段は、前記撮像手段のズーム情報に基づいて前記次のフレームに存在しなくなる被写体の領域を決定することを特徴とする前記(1)記載の記録装置。 (3) The recording apparatus according to (1), wherein the encoding unit determines a region of a subject that does not exist in the next frame based on zoom information of the imaging unit.
(4)前記符号化手段は動き補償予測符号化により前記動画像信号を符号化し、前記動き補償予測符号化時における現フレームと次のフレームとの間の動きベクトルに基づいて前記次のフレームに存在しなくなる被写体の領域を決定することを特徴とする前記(1)記載の記録装置。 (4) The encoding means encodes the moving image signal by motion compensated predictive coding, and generates the next frame based on a motion vector between the current frame and the next frame at the time of the motion compensated predictive coding. The recording apparatus according to (1), wherein an area of a subject that does not exist is determined.
以上の説明から明らかなように、本発明では、より高画質に符号化できる効果がある。 As is clear from the above description, the present invention has an effect of encoding with higher image quality.
以下、本発明の実施例を図面に基づいて説明する。 Embodiments of the present invention will be described below with reference to the drawings.
図1は、本発明の実施例1を最もよく表わすブロック図である。図において、101はレンズであり、102は撮像素子であり、103はカメラ信号処理回路であり、104は画面並び替え回路であり、105はスイッチ1であり、106は減算器であり、107はDCT回路であり、108は量子化回路であり、109は可変長符号化回路であり、110は逆量子化回路であり、111はIDCT回路であり、112は加算器であり、113は動き補償予測回路であり、114はスイッチ2であり、115はバッファであり、116はレート制御回路であり、117は記録媒体であり、118はボタンスイッチである。
FIG. 1 is a block diagram that best represents the first embodiment of the present invention. In the figure, 101 is a lens, 102 is an image sensor, 103 is a camera signal processing circuit, 104 is a screen rearrangement circuit, 105 is a
符号化には、イントラ符号化とインター符号化の二種類の符号化がある。イントラ符号化とは、フレーム内のデータのみで符号化するものであり、インター符号化とは、フレーム間予測も含めて符号化するものである。フレーム符号化には、フレーム内の全てのデータをイントラ符号化したものをIピクチャ、前フレーム間予測を含むPピクチャ及び、前後フレーム間予測を含むBピクチャがある。そして、Iピクチャから次Iピクチャ手前のピクチャまでを1つのグループオブピクチャ(GOP)という。 There are two types of coding: intra coding and inter coding. Intra coding is coding using only data in a frame, and inter coding is coding including inter-frame prediction. In frame coding, there are an I picture obtained by intra-coding all data in a frame, a P picture including previous interframe prediction, and a B picture including previous and subsequent interframe prediction. A group from the I picture to a picture before the next I picture is called one group of pictures (GOP).
図1を用いて本実施例の動作説明を行なう。レンズ101から入力された画像は、画像素子102で1フレーム単位にディジタルの画像信号となってカメラ信号処理回路103に入力される。カメラ信号処理回路103では、画像信号を用いて補正値を決定し、画像信号を補正した画像データを色差信号、輝度信号に分けて1フレーム単位に画面並び替え回路104に入力される。また、カメラ信号処理回路103では、一つ前のフレームと現フレームを比較し、特徴のある部分同士を比較し、画面がどう移動するかを予測し、画面移動ベクトルを算出する。図4は、n及びn+kフレームの画像である。(n,kは整数であり、kは変数でもよいとする)nフレームで特徴のあるビルを選び、n+kフレームではどこに移動したかをサーチする。
The operation of this embodiment will be described with reference to FIG. An image input from the
そして、出力された画面移動ベクトルを量子化回路108に出力する。画面移動ベクトルは、nフレームと、n+kフレームとで演算し、nフレームに対してn+kフレームは画面移動ベクトル分移動するという形で出力される。
Then, the output screen movement vector is output to the
サーチは輝度値や色差値の比較で行なう。精度を得るには複数のデータをサーチする。 The search is performed by comparing luminance values and color difference values. Search multiple data for accuracy.
また、特徴のあるものは輝度値や色差値により選択する。 In addition, a characteristic item is selected based on a luminance value or a color difference value.
図1に戻り動作説明を続ける。画面並び替え回路104は、複数フレームを記憶できるメモリを持っており、入力されたフレームの順番を入れ替えて出力する。
Returning to FIG. The
図2は、画面並び替え回路104で並び替える順番の例を表わしている。
FIG. 2 shows an example of the order of rearrangement by the
図2を用いて、画面並び替えを説明する。 The screen rearrangement will be described with reference to FIG.
画面並び替え回路104に第1フレーム、第2フレーム、第3フレーム、…と入力され、画面並び替えを行ない、第3フレーム、第1フレーム、第2フレーム、…と出力される。
The first frame, the second frame, the third frame,... Are input to the
図3はIピクチャ、Pピクチャ、Bピクチャの生成順序を示す。 FIG. 3 shows the generation order of the I picture, P picture, and B picture.
図1に戻り、まずは通常時の動作を説明する。 Returning to FIG. 1, the normal operation will be described first.
Iピクチャの場合、スイッチ1105はA側に倒れる。画面並び替え回路104から出力された画像データは、スイッチ1105を介して、DCT回路107に入力され、直交変換される。また、P,Bピクチャの場合、スイッチ1105はB側に倒れる。画面並び替え回路104から出力された画像データは、スイッチ1105を介して、動き予測回路113からの予測画像とを減算器106で減算する。減算器106は、時間軸方向の冗長度を落とすためである。減算器106で時間軸方向の冗長度を落とした画像データは、DCT回路107に入力され、直交変換される。
In the case of an I picture, the switch 1105 falls to the A side. The image data output from the
I,P,Bピクチャ共に、DCT回路107で直交変換された画像データは、量子化回路108で量子化を行なう。量子化回路108では、カメラ信号処理回路103から出力された画面移動ベクトルから判断し、n+kフレームで表示されない部分の量子化を粗くする。量子化された画像データは、逆量子化回路110と可変長符号化回路109に入力される。また、画面並び替え回路104から出力された画像データは動き補償予測回路113に入力される。
For all of the I, P, and B pictures, image data that has been orthogonally transformed by the
量子化されたデータは逆量子化回路110で逆量子化され、IDCT回路111でIDCTされ、IDCTされた画像データは、スイッチ2114がOFFされ、動き補償回路113に入力される。動き補償予測回路113は次のインター符号化のために予測画像を出力する。
The quantized data is inversely quantized by the
量子化されたデータは、可変長符号化回路109に入力され、可変長符号化され、バッファ115に入力される。バッファ115内の画像データは、記録媒体117に記録される。また、バッファ115内の画像データから符号化データ量を算出し、符号化データ量をレート制御回路116に入力される。
The quantized data is input to the variable
レート制御回路116では、定められたビットレートに応じて、次ピクチャの割り当てビット量を決定したり、次マクロブロックの量子化係数を算出して発生ビット量を調整している。
The
nフレームとn+kフレームを比較し、n+kフレームに表示しない部分の量子化を粗くすることは、図5の網掛部の箇所に符号量を割り当てず、他の箇所に符号量を割り当てることを意味する。これによって全体的な画質を向上させる。さらに、nフレームとn+kフレームに関して、nフレームをI,P−pictureとし、n+1フレームをP,B−pictureとする。 Comparing the n frame and the n + k frame and roughening the quantization of the portion not displayed in the n + k frame means that the code amount is not allocated to the shaded portion in FIG. 5 and the code amount is allocated to the other portion. . This improves the overall image quality. Further, regarding the n frame and the n + k frame, the n frame is I, P-picture, and the n + 1 frame is P, B-picture.
図6は、nフレームをI−pictureとし、n+1フレームをP,B−pictureとしている。I−pictureに対して次フレームであるB−pictureで表示されない部分が網掛部であり、P−pictureで表示されない部分がさらに斜線部である。網掛部の量子化を粗くすることは、図5と同様である。斜線部の量子化を粗くすることは、P−pictureでは表示されないため、P−pictureの符号化では必要が無い部分である。2番目のB−pictureの符号化でのみ使用する部分に符号量を割り当てず、他の箇所に符号量を割り当て、全体的な画質を向上させる。 In FIG. 6, n frames are I-pictures, and n + 1 frames are P, B-pictures. A portion not displayed in B-picture which is the next frame with respect to I-picture is a shaded portion, and a portion not displayed in P-picture is a hatched portion. The coarse quantization of the shaded portion is the same as in FIG. The rough quantization of the hatched portion is not displayed in the P-picture, and thus is a portion that is not necessary in the P-picture encoding. A code amount is not allocated to a portion used only in the second B-picture encoding, and a code amount is allocated to other portions to improve the overall image quality.
図1を用いて、本発明の実施例2を説明する。 A second embodiment of the present invention will be described with reference to FIG.
レンズ101、画像素子102は実施例1と同様である。カメラ信号処理回路103では、画像信号を用いて補正値を決定し、画像信号を補正した画像データを色差信号、輝度信号に分けて1フレーム単位に画面並び替え回路104に入力される。さらにカメラ信号処理回路103では、角速度センサーの信号やズーム情報等をベクトルにする。このベクトルを画面移動ベクトルとして用いる。以下は実施例1と同様である。
The
図7は、本発明の実施例3を最もよく表わすブロック図である。 FIG. 7 is a block diagram that best represents the third embodiment of the present invention.
図において、701はレンズであり、702は撮像素子であり、703はカメラ信号処理回路であり、704は画面並び替え回路であり、705はスイッチ1であり、706は減算器であり、707はDCT回路であり、708は量子化回路であり、709は可変長符号化回路であり、710は逆量子化回路であり、711はIDCT回路であり、712は加算器であり、713は動き補償予測回路であり、714はスイッチ2であり、715はバッファであり、716はレート制御回路であり、717は記録媒体であり、718はボタンスイッチである。
In the figure, 701 is a lens, 702 is an image sensor, 703 is a camera signal processing circuit, 704 is a screen rearrangement circuit, 705 is a
図7を用いて本実施例2の動作説明を行なう。 The operation of the second embodiment will be described with reference to FIG.
レンズ701、画像素子702は実施例1と同様である。カメラ信号処理回路703では、画像信号を用いて補正値を決定し、画像信号を補正した画像データを色差信号、輝度信号に分けて1フレーム単位に画面並び替え回路704に入力される。画面並び替え回路704、スイッチ1705、減算器706、DCT回路707も実施例1と同様である。
The
I,P,Bピクチャ共に、量子化回路708で量子化を行なう。
All of the I, P, and B pictures are quantized by the
量子化されたデータは逆量子化回路710で逆量子化され、IDCT回路711でIDCTされ、IDCTされた画像データは、スイッチ2714がOFFされ、動き補償回路713に入力される。動き補償予測回路713は次のインター符号化のために予測画像を出力する。また、動き補償予測回路713では、動き探索を行なうことにより、支配的なベクトルや、ベクトルの平均値等により画面移動ベクトルを導き出す。量子化回路708では、動き補償予測回路713より出された画面移動ベクトルから判断し、該当pictureで表示されない部分の量子化を粗くする。量子化された画像データは、逆量子化回路710と可変長符号化回路709に入力される。また、画面並び替え回路704から出力された画像データは動き補償予測回路713に入力される。可変長符号化回路109以降は、実施例1と同様である。
The quantized data is inversely quantized by the
画面移動ベクトルを動き補償予測回路713から導き出し、実施例1と同様に、表示されなくなる部分に符号量を割り当てず、他の箇所に符号量を割り当て、全体的な画質を向上させる。
The screen movement vector is derived from the motion
101 レンズ
102 撮像素子
103 カメラ信号処理
104 画面並び替え
105 スイッチ1
106 減算器
107 DCT回路
108 量子化回路
109 可変長符号化回路
110 逆量子化回路
111 IDCT回路
112 加算器
113 動き補償予測回路
114 スイッチ2
115 バッファ
116 レート制御回路
117 記録媒体
106
Claims (4)
前記符号化された動画像信号を記録媒体に記録する記録手段とを備え、
前記符号化手段は、前記動画像信号中、現フレームに存在する被写体のうち、次のフレーム以降で存在しなくなる被写体の領域を検出し、現フレームにおいて前記検出した被写体の領域に対する符号量の割り当てを他の領域に対して減らすことを特徴とする記録装置。 Encoding means for encoding a moving image signal by inter-frame prediction encoding;
Recording means for recording the encoded moving image signal on a recording medium,
The encoding means detects a region of a subject that does not exist after the next frame among subjects existing in the current frame in the video signal, and assigns a code amount to the detected region of the subject in the current frame A recording apparatus characterized in that the number is reduced with respect to other areas.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003413042A JP2005175891A (en) | 2003-12-11 | 2003-12-11 | Recorder |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003413042A JP2005175891A (en) | 2003-12-11 | 2003-12-11 | Recorder |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005175891A true JP2005175891A (en) | 2005-06-30 |
Family
ID=34733288
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003413042A Withdrawn JP2005175891A (en) | 2003-12-11 | 2003-12-11 | Recorder |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005175891A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007150458A (en) * | 2005-11-24 | 2007-06-14 | Canon Inc | Image processor, image processing method |
JP2008225591A (en) * | 2007-03-09 | 2008-09-25 | Nippon Telegr & Teleph Corp <Ntt> | Camera work detection method, equipment, program, and its recording medium |
-
2003
- 2003-12-11 JP JP2003413042A patent/JP2005175891A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007150458A (en) * | 2005-11-24 | 2007-06-14 | Canon Inc | Image processor, image processing method |
JP4651103B2 (en) * | 2005-11-24 | 2011-03-16 | キヤノン株式会社 | Image processing apparatus and image processing method |
JP2008225591A (en) * | 2007-03-09 | 2008-09-25 | Nippon Telegr & Teleph Corp <Ntt> | Camera work detection method, equipment, program, and its recording medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4373702B2 (en) | Moving picture encoding apparatus, moving picture decoding apparatus, moving picture encoding method, moving picture decoding method, moving picture encoding program, and moving picture decoding program | |
US20030202587A1 (en) | Video data encoding apparatus and method for removing a continuous repeat field from the video data | |
JP2004056823A (en) | Motion vector encoding/decoding method and apparatus | |
JPH09163380A (en) | Image coding device and motion vector detection method | |
JP2000083257A (en) | Detection of change in scene in motion estimate device of video encoder | |
US6697430B1 (en) | MPEG encoder | |
JP2006135557A (en) | Moving picture encoding device | |
JP2001128179A (en) | Device and method for encoding moving picture | |
JP3778208B2 (en) | Image coding apparatus and image coding method | |
JP2010258576A (en) | Scene change detector, and video recorder | |
JP3599942B2 (en) | Moving picture coding method and moving picture coding apparatus | |
JP2000261809A (en) | Image coder coping with feature of picture | |
JPH11308617A (en) | Digital image coder and motion vector detector used therefor | |
JP4769392B2 (en) | Signal processing device | |
JP3428332B2 (en) | Image encoding method and apparatus, and image transmission method | |
JP2005175891A (en) | Recorder | |
JP2001238182A (en) | Image reproduction device and image reproduction method | |
US7412079B2 (en) | Image processing apparatus | |
JPH05308628A (en) | Moving image encoder | |
JP2003032691A (en) | Picture coding device corresponding to picture feature | |
JP4533089B2 (en) | Movie data generator | |
US8331452B2 (en) | Image encoding apparatus, method of controlling therefor, and program | |
JP2001008207A (en) | Dynamic image coder and method therefor | |
JPH0795536A (en) | Device and method for reversely reproducing moving image | |
JP4003149B2 (en) | Image encoding apparatus and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20070306 |