JP3958281B2 - Video encoding device - Google Patents

Video encoding device Download PDF

Info

Publication number
JP3958281B2
JP3958281B2 JP2003409521A JP2003409521A JP3958281B2 JP 3958281 B2 JP3958281 B2 JP 3958281B2 JP 2003409521 A JP2003409521 A JP 2003409521A JP 2003409521 A JP2003409521 A JP 2003409521A JP 3958281 B2 JP3958281 B2 JP 3958281B2
Authority
JP
Japan
Prior art keywords
motion vector
motion
encoded
encoding
block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2003409521A
Other languages
Japanese (ja)
Other versions
JP2004129296A (en
Inventor
昭夫 諏訪
守 小田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2003409521A priority Critical patent/JP3958281B2/en
Publication of JP2004129296A publication Critical patent/JP2004129296A/en
Application granted granted Critical
Publication of JP3958281B2 publication Critical patent/JP3958281B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

本発明は、動画像を圧縮符号化して伝送する装置に関する。   The present invention relates to an apparatus for compressing and transmitting a moving image.

動画像信号を圧縮符号化して、情報量を削減する装置では、一般にテレビカメラなどの光学入力装置を用いて画像を入力するために、光学的な雑音、例えば照明装置のちらつきや、安価な入力装置では入力装置内で重畳される雑音が発生している。符号化装置に入力される動画像信号にこのような雑音が多く含まれる場合に、符号化効率が低下し、結果として画質の劣化を生じることになる。   In an apparatus that reduces the amount of information by compressing and encoding a moving image signal, an image is generally input using an optical input device such as a television camera. In the device, noise superimposed on the input device is generated. When such a lot of noise is included in the moving image signal input to the encoding device, the encoding efficiency is lowered, resulting in degradation of image quality.

従来の動画像信号を符号化して情報量を圧縮する装置においては、この画質劣化を防ぐためには、ちらつきのない照明装置を使ったり、雑音の少ない入力装置を行うことなどの方法のほかに、入力した画像を記憶しておく何枚かのフレームメモリと、空間フィルタ手段を備え、画像データの空間的かつ時間的なフィルタリング演算により雑音を低減していた。   In a conventional device that encodes a moving image signal and compresses the amount of information, in order to prevent this image quality deterioration, in addition to methods such as using a flicker-free lighting device or using an input device with less noise, Several frame memories for storing input images and spatial filter means are provided, and noise is reduced by spatial and temporal filtering operations of image data.

この演算の例を図5を元に説明する。入力画像はまずフレームメモリ503に格納される。格納された時間tにおける画像は、時間方向フィルタリング部501によって、フレームメモリ503に記憶されている時間tより前、例えば時間t−1あるいはt−2等の過去の画像データとの画素単位の加算平均を取ることにより、時間的なゆらぎは低減される。   An example of this calculation will be described with reference to FIG. The input image is first stored in the frame memory 503. The stored image at the time t is added by the time direction filtering unit 501 in units of pixels with the past image data before the time t stored in the frame memory 503, for example, the time t-1 or t-2. By taking the average, temporal fluctuations are reduced.

さらに、空間フィルタリング部502において、例えば縦3画素×横3画素による平均化フィルタリングが行われる。この空間的フィルタリングをフレーム内の全画素に施すことにより、時間的及び空間的に平滑化が施され、そのデータが以後の符号化処理に送られる。   Further, the spatial filtering unit 502 performs averaging filtering using, for example, 3 vertical pixels × 3 horizontal pixels. By applying this spatial filtering to all the pixels in the frame, smoothing is performed temporally and spatially, and the data is sent to the subsequent encoding process.

上記したように、雑音除去のために、空間的かつ時間的にフィルタリング演算を行うと、このフィルタリング演算に符号化装置のパフォーマンスを費やしてしまい、本来符号化に割り振ることのできる処理能力に制限が生じることになり、結果的に画質が劣化してしまうことになる。そのために、さらに処理能力の高いプロセッサを用いる必要が生じ、結果的にコストアップにつながってしまい、さらにフレームメモリを必要とするために、全体としてコストアップになってしまう。よって本発明は以上のような問題点を解決するものであり、使用環境などに左右されることなく、かつ符号化装置のコストアップとなることなく、高品質に画像を符号化することができる画像符号化装置を提供するものである。   As described above, when filtering operation is performed spatially and temporally for noise removal, the performance of the encoding device is consumed for this filtering operation, and there is a limit to the processing capacity that can be originally allocated to encoding. As a result, the image quality deteriorates. For this reason, it becomes necessary to use a processor having a higher processing capacity, resulting in an increase in cost, and a frame memory is further required, resulting in an increase in cost as a whole. Therefore, the present invention solves the above-mentioned problems, and can encode an image with high quality without being influenced by the use environment and without increasing the cost of the encoding device. An image encoding device is provided.

本発明の第1画像符号化装置によれば、動画像信号を入力し、圧縮符号化する動画像符号化装置において、入力画像をブロック単位で前に符号化され復号されたデータとの差分値が最小となる動きベクトルを求める動き探索部と、該動きベクトルの推移及び入力画像の平均輝度の推移を求める動きベクトル履歴推定部と、前記動きベクトル履歴推定部の結果に基づいて入力画像中の雑音を検出し、該雑音を除去する雑音検出/除去手段を備えることにより、上記課題を解決する。   According to the first image encoding device of the present invention, in a moving image encoding device that inputs a moving image signal and compresses and encodes the difference value between the input image previously encoded and decoded in block units. In the input image based on the result of the motion vector history estimation unit, a motion vector history estimation unit for obtaining a transition of the motion vector and a transition of the average luminance of the input image The above problem is solved by providing noise detection / removal means for detecting noise and removing the noise.

本発明の第2画像符号化装置によれば、前記動きベクトル履歴推定部において、動きベクトルの方向及び量がランダムであるか否か、または動きベクトルの量が所定値以下でかつ平均輝度に揺らぎがある場合に、雑音と判断することにより、上記課題を解決する。   According to the second image encoding device of the present invention, in the motion vector history estimation unit, whether or not the direction and amount of the motion vector are random, or the amount of the motion vector is less than a predetermined value and fluctuates to the average luminance. If there is, the above-mentioned problem is solved by determining it as noise.

本発明の第3画像符号化装置によれば、動画像信号を入力し、圧縮符号化する動画像符号化装置において、入力画像をブロック単位で前に符号化され復号されたデータとの差分値が最小となる動きベクトルを求める動き探索部と、該動きベクトルの推移を求める動きベクトル履歴推定部と、符号化フレーム全体の動きベクトル履歴からフレーム全体の微少動きを検出するブレ検出部と、前記ブレ検出部により検出されたブレを補正するブレ補正部を備えることにより、上記課題を解決する。   According to the third image encoding device of the present invention, in a moving image encoding device that inputs a moving image signal and compresses and encodes the difference value between the input image previously encoded and decoded in block units. A motion search unit that obtains a motion vector that minimizes the motion vector, a motion vector history estimation unit that obtains a transition of the motion vector, a motion detection unit that detects a minute motion of the entire frame from the motion vector history of the entire encoded frame, By providing a shake correction unit that corrects the shake detected by the shake detection unit, the above problem is solved.

本発明の第4画像符号化装置によれば、前記ブレ検出部において、符号化対象フレームの全ブロックでの動きベクトルの方向及び大きさの度数分布を求め、該度数分布における最大分布を示す動きベクトルの割合が、全ブロックにおける所定の割合以上を示す場合にブレと判断することにより、上記課題を解決する。   According to the fourth image encoding device of the present invention, the motion detection unit obtains the frequency distribution of the direction and the magnitude of the motion vector in all the blocks of the encoding target frame, and the motion indicating the maximum distribution in the frequency distribution. The above problem is solved by determining blurring when the vector ratio indicates a predetermined ratio or more in all blocks.

本発明によれば、符号化ブロック単位の動きベクトルの時間的推移と動画像信号の平均輝度の時間的推移を求め、その動きベクトル及び平均輝度の履歴から画像信号に重畳されている雑音を測定し、入力のゆらぎに起因する雑音をフレームメモリや空間/時間フィルタ回路を追加することなしに除去することができ、符号化効率を向上させ、高画質な画像データとして符号化を行うことができる。   According to the present invention, the temporal transition of the motion vector in units of coding blocks and the temporal transition of the average luminance of the moving image signal are obtained, and the noise superimposed on the image signal is measured from the history of the motion vector and the average luminance. In addition, noise caused by input fluctuations can be removed without adding a frame memory or a space / time filter circuit, encoding efficiency can be improved, and encoding as high-quality image data can be performed. .

また、符号化ブロック単位の動きベクトルの時間的推移を求め、符号化フレーム全体の動きベクトル履歴からフレーム全体の微少動き(ブレ)を検出し、ブレを補正することにより、フレームメモリなどを追加することなしに、高品質な画像データとして符号化を行うことができる。   In addition, the temporal transition of the motion vector of each coding block is obtained, the minute motion (blur) of the entire frame is detected from the motion vector history of the entire coded frame, and the blur is corrected to add a frame memory or the like. Without any problem, encoding can be performed as high-quality image data.

以下に図面を用いて本発明を詳細に説明する。図1は本発明の第1の実施形態における画像符号化装置の構成を示すブロック図である。図1のブロック図に従って符号化処理を説明する。   Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing a configuration of an image encoding device according to the first embodiment of the present invention. The encoding process will be described with reference to the block diagram of FIG.

画像入力装置からの画像信号は減算部101に入力されるとともに、動き探索部109に入力される。減算部101で1つ前に符号化されたデータを復号したデータとの差分がとられ、符号化制御部111の制御により、差分データあるいは入力データのどちらかがスイッチ102で選択されDCT部104へ入力される。   An image signal from the image input device is input to the subtraction unit 101 and also input to the motion search unit 109. A difference is obtained from the data obtained by decoding the previous encoded data by the subtracting unit 101, and either the differential data or the input data is selected by the switch 102 under the control of the encoding control unit 111, and the DCT unit 104. Is input.

入力されたデータはDCT部104で8画素×8画素のブロック単位で離散コサイン変換が行われ、量子化部105において、符号化制御部111から指示された量子化ステップで量子化が行われ、可変長符号化部112に送られる。それとともに逆量子化部106、逆DCT部107によってデータが復号される。   The input data is subjected to discrete cosine transform in units of 8 pixels × 8 pixels in the DCT unit 104, and quantized in the quantization step instructed by the encoding control unit 111 in the quantization unit 105, It is sent to the variable length coding unit 112. At the same time, the inverse quantization unit 106 and the inverse DCT unit 107 decode the data.

前記スイッチ102で選択されたDCT部104への入力が入力画像信号である場合は、復号された信号が、差分データの場合には、1つ前に符号化され復号化したデータと加算された信号がフレームメモリ110に記憶される。   When the input to the DCT unit 104 selected by the switch 102 is an input image signal, the decoded signal is added to the previously encoded and decoded data in the case of difference data The signal is stored in the frame memory 110.

動き探索部109では、入力画像信号をブロック単位で1つ前に符号化された復号されたデータとの差分値が最小となるベクトルを求める。減算部101へは差分値が最小となったブロックのデータが送られ、求められた動きベクトル値を相手側に送信すると共に、動きベクトル履歴推定部113に値が送られる。   The motion search unit 109 obtains a vector that minimizes the difference value between the input image signal and the decoded data that was encoded one block before. The data of the block having the smallest difference value is sent to the subtraction unit 101, and the obtained motion vector value is sent to the other side, and the value is sent to the motion vector history estimation unit 113.

また、DCT部104からの出力のうちDC成分も同様に動きベクトル履歴推定部113に送られる。動きベクトル推定部113の結果にしたがって、雑音検出/除去制御部114は入力画像に含まれる雑音が除去できるように、符号化制御部111へ制御パラメータを送る。この動きベクトル履歴推定部113及び雑音検出/除去制御部114が本願発明特有の構成であり、これにより入力画像に含まれる雑音が除去できるように符号化制御部111へ制御パラメータを送るものである。   The DC component of the output from the DCT unit 104 is also sent to the motion vector history estimation unit 113 in the same manner. According to the result of the motion vector estimation unit 113, the noise detection / removal control unit 114 sends a control parameter to the encoding control unit 111 so that the noise included in the input image can be removed. The motion vector history estimation unit 113 and the noise detection / removal control unit 114 have a configuration unique to the present invention, and thereby send control parameters to the encoding control unit 111 so that noise included in the input image can be removed. .

動きベクトル履歴推定部113では各ブロックの過去の動きベクトル及び対象ブロックの平均輝度情報から、その動きが本来の被写体の動きか雑音によるものかを判断する。その判断方法を説明する。   The motion vector history estimation unit 113 determines whether the motion is due to the original subject motion or noise from the past motion vector of each block and the average luminance information of the target block. The determination method will be described.

動きベクトル履歴推定部113では、まず動き探索部109から送られてくる各ブロックの動きベクトル(Vx,Vy)を以下の式のように回転座標系(α、θ)に変換する。   The motion vector history estimation unit 113 first converts the motion vector (Vx, Vy) of each block sent from the motion search unit 109 into a rotating coordinate system (α, θ) as in the following equation.

αt=(Vx2+Vy21/2, θt=tan(Vy/Vx)
動きベクトル履歴推定部113には、常に1つ前の符号化フレームで求めたαt-1,θt-1が格納されており、αt,θt,αt-1,θt-1よりα,θの時間的な変位量dαt,dθtを求める。
α t = (Vx 2 + Vy 2 ) 1/2 , θ t = tan (Vy / Vx)
The motion vector history estimator 113 always stores α t−1 , θ t−1 obtained in the previous coding frame, and α t , θ t , α t−1 , θ t−1. Thus, the temporal displacement amounts dα t and dθ t of α and θ are obtained.

一般に被写体がある動きを持っている場合には、図2に示すように、その時間的推移にはある方向性があり、動き量も規則性を持っている(図2(a))。したがって動きベクトルの方向や量の時間的推移がランダムである場合には、それは雑音による影響と考えられる)図2(b))。そこで、dαt,dθtにより動きベクトルのランダム性を判断する。 In general, when a subject has a certain movement, as shown in FIG. 2, the temporal transition has a certain direction, and the amount of movement also has regularity (FIG. 2A). Therefore, when the temporal transition of the direction and amount of the motion vector is random, it is considered to be an influence of noise) (FIG. 2B). Therefore, the randomness of the motion vector is determined from dα t and dθ t .

また、動きベクトル履歴推定部113には、DCT部104から輝度信号の直流成分(DCY)が送られる。符号化制御部111による切り替えで、フレーム間差分信号がDCT部104に入力された場合、DCT部104からの出力であるDCYは前フレームとの平均輝度差を表わすことになる。   Further, the DC component (DCY) of the luminance signal is sent from the DCT unit 104 to the motion vector history estimation unit 113. When the interframe difference signal is input to the DCT unit 104 by switching by the encoding control unit 111, DCY output from the DCT unit 104 represents an average luminance difference from the previous frame.

照明のちらつきによる雑音が入力信号に混入されている場合、入力されたフレームの全体輝度が揺らぐこととなり、結果としてDCYの変化をもたらす。動きベクトルの動き量が0あるいは0に近い量であるにも関わらず、DCYに変化がある場合は、照明のちらつきによる雑音が入力画像信号に重畳されていると判断できる。   When noise due to lighting flicker is mixed in the input signal, the overall luminance of the input frame fluctuates, resulting in a change in DCY. If there is a change in DCY even though the amount of motion of the motion vector is 0 or close to 0, it can be determined that noise due to flickering of illumination is superimposed on the input image signal.

入力画像信号の符号化対象ブロックに雑音が重畳されているか否かの判断処理の流れを図3のフローチャートに示す。まず、求めたdθtの絶対値と閾値θthとを比較し(ステップS30)、|dθt|≧θthの場合はステップS31へ処理を進める。ステップS31で1つ前の符号化フレームにおける符号化対象ブロックのdθt-1の絶対値と閾値θthとの比較結果をもとに、|dθt-1|≧θthであれば、符号化対象ブロックがランダムな動きをしていると判断し、推定パラメータをAにセットする。 The flowchart of FIG. 3 shows the flow of processing for determining whether noise is superimposed on the encoding target block of the input image signal. First, the calculated absolute value of dθ t is compared with the threshold θ th (step S30), and if | dθ t | ≧ θ th , the process proceeds to step S31. If | dθ t-1 | ≧ θ th based on the comparison result between the absolute value of dθ t-1 of the current block and the threshold θ th in the previous coding frame in step S31, the code It is determined that the conversion target block is moving randomly, and the estimation parameter is set to A.

ステップS30において、|dθt|<θthの場合、ステップS32において、1つ前の符号化フレームにおける符号化対象ブロックのdθt-1の絶対値と閾値θthとの比較結果をもとに、|dθt-1|<θthであれば、符号化対象ブロックが、ある方向性をもって動いていると予測し、動きの大きさの変化量dαtと閾値dαthを比較する(ステップS33)。|dαt|≧dαthの場合、符号化対象ブロックが、ある方向性をもって動いていると判断し、推定パラメータをBにセットする。ステップS31において|dθt-1|<θth、ステップS32において|dθt-1|≧θth、ステップS33において|dαt|<dαthの場合、平均輝度DCYと閾値DCYthを比較し、DCY<DCYthの場合、入力画像に照明などの揺らぎがあると判断し、符号化パラメータをAにセットする(ステップS34)。 If | dθ t | <θ th in step S30, in step S32, based on the comparison result between the absolute value of dθ t-1 of the current block and the threshold θ th in the previous coding frame. , | Dθ t−1 | <θ th , it is predicted that the block to be encoded is moving with a certain directionality, and the change amount dα t of the magnitude of motion is compared with the threshold value dα th (step S33). ). If | dα t | ≧ dα th , it is determined that the block to be encoded is moving with a certain directionality, and the estimation parameter is set to B. If | dθ t-1 | <θ th in step S31, | dθ t-1 | ≧ θ th in step S32, and | dα t | <dα th in step S33, the average luminance DCY and the threshold DCY th are compared. If DCY <DCY th , it is determined that the input image has fluctuations such as illumination, and the encoding parameter is set to A (step S34).

雑音検出/除去制御部114では、動きベクトル履歴推定部113で得られた推定パラメータを元に、符号化対象ブロックの符号化制御パラメータを決定する。   The noise detection / removal control unit 114 determines an encoding control parameter for the encoding target block based on the estimation parameter obtained by the motion vector history estimation unit 113.

推定パラメータがAとなったブロックでは、雑音が重畳されていると判断し、そのブロックの符号化は行わない。すなわち、”not coded block”として処理され、1つ前のフレームのデータが再生されるように符号化制御部111を制御する。その制御の一例として、符号化対象ブロックの量子化ステップを強制的にデータの有効桁数の最大値とし、量子化結果を0とする。また、推定パラメータがAとなったブロックの動きベクトルが送出されないように、動きベクトル送出制御部115を制御する。   In a block whose estimation parameter is A, it is determined that noise is superimposed, and the block is not encoded. That is, it is processed as “not coded block”, and the encoding control unit 111 is controlled so that the data of the previous frame is reproduced. As an example of the control, the quantization step of the encoding target block is forcibly set to the maximum value of the effective number of digits of data, and the quantization result is set to 0. Also, the motion vector transmission control unit 115 is controlled so that the motion vector of the block whose estimation parameter is A is not transmitted.

推定パラメータがBとなったブロックでは、従来の技術同様の符号化が行われ送信される。したがって、雑音が重畳されていると判断された符号化対象ブロックは符号化されないため、従来はそのブロックを符号化することによって浪費していた符号量を、本来の符号化すべきブロックに割り当てることができる。   In the block whose estimation parameter is B, the same encoding as in the conventional technique is performed and transmitted. Therefore, since the encoding target block for which it is determined that noise is superimposed is not encoded, it is possible to allocate the code amount that has been wasted by encoding the block to the original block to be encoded. it can.

次に、第2の実施形態を説明する。図4は第2の実施形態の画像符号化装置を示すブロック図である。動きベクトル履歴推定部113において第1の実施形態同様動きベクトルからαt,θtを求める。符号化対象フレームの全ブロックで求められたαt,θtそれぞれの度数分布を求め、最大度数のベクトル量αtmax,θtmaxを算出する。 Next, a second embodiment will be described. FIG. 4 is a block diagram showing an image encoding apparatus according to the second embodiment. In the motion vector history estimation unit 113, α t and θ t are obtained from the motion vectors as in the first embodiment. The frequency distributions of α t and θ t obtained for all the blocks of the encoding target frame are obtained, and the vector amounts α t max and θ t max of the maximum frequencies are calculated.

次に、αtmax±αth,θtmax±θthの度数を求める。ここで、αth,θthはそれぞれ最大度数のベクトル量近傍の値をもつ度数を求めるための閾値である。 Next, the frequencies of α t max ± α th and θ t max ± θ th are obtained. Here, α th and θ th are thresholds for obtaining frequencies having values near the maximum frequency vector quantity.

ブレ検出/補正制御部401において、これらの求められた度数からブレを判断する。αtmax±αth,θtmax±θthの度数が全ブロックの所定の割合を超えた場合、例えば全ブロックの50%を超えた場合、フレーム全体がある特定方向にブレたと判断する。この割合は、符号化フレームフォーマットあるいは符号化フレームレート等により適宜変更される。 The shake detection / correction control unit 401 determines the shake from these obtained frequencies. When the frequency of α t max ± α th and θ t max ± θ th exceeds a predetermined ratio of all blocks, for example, exceeds 50% of all blocks, it is determined that the entire frame has shaken in a certain direction. This ratio is appropriately changed depending on the encoded frame format or the encoded frame rate.

フレーム全体がブレたと判断された場合、動きベクトルのベクトル量が、αtmax±αth,θtmax±θthのブロックについては、符号化を行わない様に制御を行う。つまり、その制御の一例として、第1の実施形態同様、符号化対象ブロックの量子化ステップを強制的にデータの有効桁数の最大値とし、量子化結果を0とする。さらに、それらのブロックの動きベクトルが送出されないように、動きベクトル送出制御部402を制御する。 When it is determined that the entire frame is blurred, control is performed so that the blocks whose motion vector vector amounts are α t max ± α th and θ t max ± θ th are not encoded. That is, as an example of the control, as in the first embodiment, the quantization step of the encoding target block is forcibly set to the maximum value of the effective number of digits of data, and the quantization result is set to 0. Further, the motion vector transmission control unit 402 is controlled so that the motion vectors of those blocks are not transmitted.

動きベクトルのベクトル量がαtmax±αth,θtmax±θth以外のブロックについては、被写体の動きと判断し、従来の技術同様に符号化を行い、符号化データが送信され、同時に符号化ブロックについての動きベクトル補正値が動きベクトルと共に送信される。 For blocks other than the vector amounts of the motion vectors α t max ± α th and θ t max ± θ th , it is determined that the subject is moving, encoding is performed in the same manner as in the conventional technique, and encoded data is transmitted simultaneously. A motion vector correction value for the encoded block is transmitted along with the motion vector.

ここで、動きベクトル補正値とは、ブレ分の動きベクトルであり、αtmax,θtmaxである。復号化側では、送られてきた符号化データと動きベクトルから対象ブロックのデータを復元し、その後、動きベクトル補正値によりブレ分の補正を行う。 Here, the motion vector correction value is a motion vector for blurring, and is α t max, θ t max. On the decoding side, the data of the target block is restored from the encoded data and the motion vector that have been sent, and then the blur is corrected by the motion vector correction value.

よって、本来の被写体の動きでなく、ブレのみと判断された符号化対象ブロックは、符号化されないため、従来はそのブロックを符号化することによって浪費していた符号量を本来の符号化すべきブロックに割り当てることができる。   Therefore, since the encoding target block that is determined not to be a motion of the original subject but only to blur is not encoded, the code amount that was wasted by encoding the block in the past should be originally encoded. Can be assigned to.

本発明の第1の実施形態における動画像符号化装置の構成を示すブロック図である。It is a block diagram which shows the structure of the moving image encoder in the 1st Embodiment of this invention. 本発明の第1の実施形態における動きベクトルの方向性を示す図である。It is a figure which shows the directionality of the motion vector in the 1st Embodiment of this invention. 本発明の第1の実施形態における処理の流れを示すブロック図である。It is a block diagram which shows the flow of the process in the 1st Embodiment of this invention. 本発明の第2の実施形態における動画像符号化装置の構成を示すブロック図である。It is a block diagram which shows the structure of the moving image encoder in the 2nd Embodiment of this invention. 従来技術の構成を示す図である。It is a figure which shows the structure of a prior art.

符号の説明Explanation of symbols

111 符号化制御部
113 動きベクトル履歴推定部
114 雑音検出/除去制御部
115 動きベクトル送出制御部
111 Coding control unit 113 Motion vector history estimation unit 114 Noise detection / removal control unit 115 Motion vector transmission control unit

Claims (1)

動画像信号を入力し、圧縮符号化する動画像符号化装置において、
入力画像をブロック単位で前に符号化され復号されたデータとの差分値が最小となる動きベクトルを求める動き探索部と、
入力画像の各ブロックにおける動きベクトルの方向および量を求めるベクトル履歴推定部と、
符号化対象フレームの全ブロックでの動きベクトルの方向及び大きさの度数分布を求め、該度数分布における最大分布を示す動きベクトルの割合が、全ブロックにおける所定の割合以上を示す場合に、フレーム全体のブレを検出するブレ検出部と、
符号化対象フレームにおける、上記度数分布における最大度数の動きベクトルを持つブロックについては符号化を行わず、それ以外のブロックについては符号化を行うことによって、前記ブレ検出部により検出されたブレを補正し、さらに符号化データを送信し、かつ、符号化ブロックについてのブレ分の動きベクトルであるベクトル補正値を動きベクトルと共に送信するブレ補正部とを備えることを特徴とする動画像符号化装置。
In a moving image encoding apparatus that inputs a moving image signal and performs compression encoding,
A motion search unit for obtaining a motion vector that minimizes a difference value between the input image and the previously encoded and decoded data in units of blocks;
A vector history estimator for determining the direction and amount of motion vectors in each block of the input image;
When the frequency distribution of the direction and size of the motion vector in all blocks of the encoding target frame is obtained, and the ratio of the motion vector indicating the maximum distribution in the frequency distribution indicates a predetermined ratio or more in all blocks, the entire frame A shake detection unit for detecting the shake of
In the encoding target frame, the block having the maximum frequency motion vector in the frequency distribution is not encoded, and the other blocks are encoded, thereby correcting the blur detected by the blur detection unit. And a motion compensation unit that transmits encoded data and transmits a vector correction value, which is a motion vector of motion blur for the encoded block, together with the motion vector .
JP2003409521A 2003-12-08 2003-12-08 Video encoding device Expired - Fee Related JP3958281B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003409521A JP3958281B2 (en) 2003-12-08 2003-12-08 Video encoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003409521A JP3958281B2 (en) 2003-12-08 2003-12-08 Video encoding device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP16404498A Division JP3535013B2 (en) 1998-06-12 1998-06-12 Video encoding device

Publications (2)

Publication Number Publication Date
JP2004129296A JP2004129296A (en) 2004-04-22
JP3958281B2 true JP3958281B2 (en) 2007-08-15

Family

ID=32291190

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003409521A Expired - Fee Related JP3958281B2 (en) 2003-12-08 2003-12-08 Video encoding device

Country Status (1)

Country Link
JP (1) JP3958281B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11381833B2 (en) * 2018-07-19 2022-07-05 Tencent America LLC Method and apparatus for video coding

Also Published As

Publication number Publication date
JP2004129296A (en) 2004-04-22

Similar Documents

Publication Publication Date Title
US8130834B2 (en) Method and system for video encoding using a variable number of B frames
KR101045199B1 (en) Method and apparatus for adaptive noise filtering of pixel data
US9414086B2 (en) Partial frame utilization in video codecs
JP3960451B2 (en) Scene characteristic detection type moving picture coding apparatus
JP5133290B2 (en) Video encoding apparatus and decoding apparatus
JP2006270435A (en) Dynamic image encoder
CN107646194B (en) Apparatus and method for video motion compensation
EP1064790A1 (en) Coding and noise filtering an image sequence
US20150350641A1 (en) Dynamic range adaptive video coding system
EP3200456A1 (en) Video encoding method and video encoder system for temporal noise reduction
US20120195364A1 (en) Dynamic mode search order control for a video encoder
US9736485B2 (en) Encoding apparatus, encoding method, and image capture apparatus
JP4644097B2 (en) A moving picture coding program, a program storage medium, and a coding apparatus.
JP2001251627A (en) Coder, coding method and recording medium recorded with program
KR20180101607A (en) An encoding apparatus including a video switching apparatus and an encoding method including a video switching detecting method
JP5516842B2 (en) Moving image processing apparatus, moving image processing method, and moving image processing program
JP3958281B2 (en) Video encoding device
JP2006203597A (en) Digital image decoder and decoding method
JP3535013B2 (en) Video encoding device
JP2005295215A (en) Moving image encoding device
EP3547684B1 (en) Method, device and system for encoding a sequence of frames in a video stream
JP2012519988A (en) Method for predicting block of image data, decoding and encoding device for realizing the method
JP2005303555A (en) Moving image encoding apparatus and its method
JPH0984024A (en) Coder for moving image signal
JP3779066B2 (en) Video encoding device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060711

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060906

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20060906

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070206

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070322

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070508

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070509

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees