JP2010103777A - Moving image processing apparatus, moving image processing method, program thereof, recording medium and moving image display device - Google Patents

Moving image processing apparatus, moving image processing method, program thereof, recording medium and moving image display device Download PDF

Info

Publication number
JP2010103777A
JP2010103777A JP2008273612A JP2008273612A JP2010103777A JP 2010103777 A JP2010103777 A JP 2010103777A JP 2008273612 A JP2008273612 A JP 2008273612A JP 2008273612 A JP2008273612 A JP 2008273612A JP 2010103777 A JP2010103777 A JP 2010103777A
Authority
JP
Japan
Prior art keywords
correction parameter
correlation
histogram
correction
calculating
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
Application number
JP2008273612A
Other languages
Japanese (ja)
Inventor
Tomoshi Hosokawa
知志 細川
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2008273612A priority Critical patent/JP2010103777A/en
Publication of JP2010103777A publication Critical patent/JP2010103777A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Picture Signal Circuits (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a moving image processing apparatus, a moving image processing method, a program thereof, a recording medium and a moving image display device, which is applied even when it is difficult to calculate an appropriate correction parameter only from histogram. <P>SOLUTION: The moving image processing apparatus 10 has: a recording unit 106 which records a plurality of scenes by associating main histogram of the scenes with correction parameters suitable for the scenes; a histogram calculation unit 101 which calculates the histogram from pixel values of frames; a correlation degree calculation unit 102 which calculates correlation degrees between the calculated histogram and the histogram of the plurality of recorded scenes; a correction parameter calculation unit 103 which calculates the correction parameters; and a correction processing unit 105 which performs correction. The correlation parameter calculation unit 102 calculates the correction parameters suitable for the frames using the correction parameters recorded according to the scenes based on the correlation degrees between the frames and the scenes recorded in the recording unit 106 in advance. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、動画像を補正する動画処理装置、動画像処理方法、そのプログラム、記録媒体及び動画像表示装置に関する。   The present invention relates to a moving image processing apparatus, a moving image processing method, a program thereof, a recording medium, and a moving image display apparatus that correct a moving image.

自然画、CG、アニメーション等の動画像を補正する技術として、各フレームから画像補正のパラメータを算出する技術が普及している。しかし、この技術では、各フレーム単独にパラメータを算出するため、補正パラメータの値が短時間で変動し、それに対応した補正パラメータも変動してしまう。そのため、補正後の画像がちらついてしまうことがあるという問題があった。この問題を解決するために、補正パラメータをフィルタリングする方法が使用される。   As a technique for correcting a moving image such as a natural image, CG, or animation, a technique for calculating an image correction parameter from each frame is widely used. However, in this technique, since the parameter is calculated for each frame alone, the correction parameter value fluctuates in a short time, and the corresponding correction parameter also fluctuates. Therefore, there has been a problem that the image after correction may flicker. In order to solve this problem, a method of filtering the correction parameters is used.

しかし、編集された動画像など、動画像のある時間でシーンが切り替わるような場合は、前後のシーンに相関がないのでフィルタリングは本来不要である。パラメータが一定以上変動した場合にフィルタリングを行わないといった技術が使用されることもあるが、パラメータ値はシーン切り替わりで大きく変動するとは限らないため性能に問題があった。   However, when scenes are switched at a certain time of a moving image, such as an edited moving image, filtering is essentially unnecessary because there is no correlation between the preceding and succeeding scenes. Although a technique of not performing filtering when the parameter fluctuates more than a certain value may be used, there is a problem in performance because the parameter value does not always fluctuate greatly at scene switching.

上記問題を解決するために、現在のフレームと現在のフレームの直前のフレームとのヒストグラムの相関度から補正パラメータを決定する技術が開示されている(例えば、特許文献1)。具体的には、現在のフレームと直前のフレームとのヒストグラムの相関度が一定値以上である場合には直前のフレームに使用した補正パラメータを利用し、一定値以下である場合には現在のフレームのヒストグラムから補正パラメータを決定する。
特開2007−241224号公報
In order to solve the above problem, a technique for determining a correction parameter from a degree of correlation between histograms of a current frame and a frame immediately before the current frame is disclosed (for example, Patent Document 1). Specifically, when the correlation degree of the histogram between the current frame and the immediately preceding frame is equal to or greater than a certain value, the correction parameter used for the immediately preceding frame is used. The correction parameter is determined from the histogram.
JP 2007-241224 A

しかし、上述した技術では、現在のフレームと直前のフレームの相関度のみを考慮してシーンが切り替わっているかを判断し、直前のフレームに使用した補正パラメータをそのまま適用するか、新たに現在のフレームに適応した補正パラメータを算出して適用するかを判定する。そのため、ヒストグラムのみから適切な補正パラメータを算出することが困難な場合には対応することができないという問題があった。   However, in the above-described technique, it is determined whether the scene is switched in consideration of only the correlation between the current frame and the immediately preceding frame, and the correction parameter used for the immediately preceding frame is applied as it is, or a new current frame is newly determined. It is determined whether or not a correction parameter adapted to is applied. For this reason, there is a problem that it is not possible to cope with the case where it is difficult to calculate an appropriate correction parameter from only the histogram.

本発明はこのような実情を鑑みてなされたものであり、ヒストグラムのみから適切な補正パラメータを算出することが困難な場合にも適用することができる動画像処理装置、動画像処理方法、そのプログラム、記録媒体及び動画像表示装置を提供することを目的とする。   The present invention has been made in view of such circumstances, and is a moving image processing apparatus, a moving image processing method, and a program thereof that can be applied even when it is difficult to calculate an appropriate correction parameter from only a histogram. An object of the present invention is to provide a recording medium and a moving image display device.

本発明の動画像処理装置は、複数のシーンについて、シーンの主なヒストグラム及びシーンに適した補正パラメータを対応させて記録する記録手段と、フレームのピクセル値からヒストグラムを算出するヒストグラム算出手段と、ヒストグラム算出手段により算出されたヒストグラムと記録手段により記録された複数のシーンのヒストグラムとの相関度を算出する相関度算出手段と、相関度算出手段により算出された相関度に基づいて補正パラメータを算出する補正パラメータ算出手段と、補正パラメータ算出手段により算出された補正パラメータを用いて補正を行う補正手段と、を有することを特徴とする。   The moving image processing apparatus of the present invention, for a plurality of scenes, a recording unit that records the main histogram of the scene and a correction parameter suitable for the scene, a histogram calculation unit that calculates a histogram from the pixel value of the frame, Correlation degree calculating means for calculating the degree of correlation between the histogram calculated by the histogram calculating means and the histograms of a plurality of scenes recorded by the recording means, and calculating correction parameters based on the correlation degree calculated by the correlation degree calculating means Correction parameter calculation means for performing correction, and correction means for performing correction using the correction parameter calculated by the correction parameter calculation means.

本発明の動画像処理方法は、複数のシーンについて、シーンの主なヒストグラム及びシーンに適した補正パラメータを対応させて記録する記録ステップと、フレームのピクセル値からヒストグラムを算出するヒストグラム算出ステップと、ヒストグラム算出ステップにより算出されたヒストグラムと記録ステップにより記録された複数のシーンのヒストグラムとの相関度を算出する相関度算出ステップと、相関度算出ステップにより算出された相関度に基づいて補正パラメータを算出する補正パラメータ算出ステップと、補正パラメータ算出ステップにより算出された補正パラメータを用いて補正を行う補正ステップと、を有することを特徴とする。   The moving image processing method of the present invention includes a recording step of recording a plurality of scenes in association with a main histogram of the scene and a correction parameter suitable for the scene, a histogram calculation step of calculating a histogram from the pixel value of the frame, A correlation calculation step for calculating the correlation between the histogram calculated by the histogram calculation step and the histograms of a plurality of scenes recorded by the recording step, and calculating a correction parameter based on the correlation calculated by the correlation calculation step And a correction step for performing correction using the correction parameter calculated in the correction parameter calculation step.

本発明のプログラムは、複数のシーンについて、シーンの主なヒストグラム及びシーンに適した補正パラメータを対応させて記録する処理と、フレームのピクセル値からヒストグラムを算出する処理と、ヒストグラムを算出する処理により算出されたヒストグラムと記録する処理により記録された複数のシーンのヒストグラムとの相関度を算出する処理と、相関度を算出する処理により算出された相関度に基づいて補正パラメータを算出する処理と、補正パラメータを算出する処理により算出された補正パラメータを用いて補正を行う処理と、をコンピュータに実行させる。   The program according to the present invention includes a process of recording a plurality of scenes in association with main histograms of scenes and correction parameters suitable for the scenes, a process of calculating histograms from pixel values of frames, and a process of calculating histograms. A process for calculating a correlation between the calculated histogram and a histogram of a plurality of scenes recorded by the recording process, a process for calculating a correction parameter based on the correlation calculated by the process for calculating the correlation, And causing the computer to execute a process of performing correction using the correction parameter calculated by the process of calculating the correction parameter.

本発明の記録媒体は、上記プログラムを記録したコンピュータ読取可能な記録媒体である。   The recording medium of the present invention is a computer-readable recording medium on which the program is recorded.

本発明の動画像表示装置は、上記動画像処理装置を備えることを特徴とする。   A moving image display apparatus according to the present invention includes the moving image processing apparatus.

本発明によれば、ヒストグラムのみから適切な補正パラメータを算出することが困難な場合であっても、動画像に適切な補正を行うことが可能となる。   According to the present invention, even when it is difficult to calculate an appropriate correction parameter from only a histogram, it is possible to perform appropriate correction on a moving image.

以下に本発明の実施形態の例について、図面を用いて詳細に説明する。   Hereinafter, examples of embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本実施形態に係る動画像処理装置の概略構成例を示す。図示するように、本実施形態に係る動画像処理装置10は、ヒストグラム算出部101、相関度算出部102、補正パラメータ算出部103、フィルタ処理部104、補正処理部105、を備える。   FIG. 1 shows a schematic configuration example of a moving image processing apparatus according to the present embodiment. As illustrated, the moving image processing apparatus 10 according to the present embodiment includes a histogram calculation unit 101, a correlation degree calculation unit 102, a correction parameter calculation unit 103, a filter processing unit 104, and a correction processing unit 105.

ヒストグラム算出部101は、各ピクセル値から度数分布を作成する。階数は、数階から十数階あればよい。デジタル化された画像は水平方向及び垂直方向に並んだ画素の集まりであるが、この画素データのうち、同じ階数をもつ個数をカウントすることでヒストグラムを算出する。   The histogram calculation unit 101 creates a frequency distribution from each pixel value. The number of floors may be from several floors to over a dozen floors. A digitized image is a collection of pixels arranged in the horizontal direction and the vertical direction, and a histogram is calculated by counting the number of pixels having the same rank among the pixel data.

相関度算出部102は、2つのヒストグラムの相関度数を算出する。相関度を算出する方法はいくつもあるが、例えば、以下の式(1)に示すケンドールの順位相関係数を用いて相関度を算出する方法を適用することができる。また、上記方法の応用として、差が一定以下の場合には一致とみなす方法も適用することができる。尚、相関度の算出方法は、これに限定されるものではない。   The correlation degree calculation unit 102 calculates the correlation degree between the two histograms. There are various methods for calculating the degree of correlation. For example, a method for calculating the degree of correlation using Kendall's rank correlation coefficient represented by the following equation (1) can be applied. In addition, as an application of the above method, a method that considers a match when the difference is equal to or smaller than a certain value can be applied. Note that the method for calculating the degree of correlation is not limited to this.

t = 4P / n / (n - 1) − 1・・・式(1)
Pは順位の一致数を示す。
t = 4P / n / (n-1)-1 ... Formula (1)
P indicates the number of matching ranks.

補正パラメータ算出部103は、ヒストグラムに基づいて補正パラメータを算出する。補正パラメータの算出方法としては、例えば、ヒストグラムの適当な分位数(例えば、1/8分位数と7/8分位数など)から最小値と最大値を推定し、輝度補正のパラメータを求める方法や、ヒストグラムの尖度や分位数の分布からガンマ補正のパラメータを求める方法等が挙げられる。尚、補正パラメータ算出方法は、これに限定されるものではない。   The correction parameter calculation unit 103 calculates a correction parameter based on the histogram. As a method for calculating the correction parameter, for example, the minimum value and the maximum value are estimated from an appropriate quantile of the histogram (for example, the 1/8 quantile and the 7/8 quantile, etc.), and the brightness correction parameter is set. And a method for obtaining a gamma correction parameter from the distribution of the kurtosis and quantile of the histogram. The correction parameter calculation method is not limited to this.

フィルタ処理部104は、補正パラメータが細かく変動しないように、時間軸上でLow-Passフィルタ処理(LPF)を行う。これにより、符号化された画像データを復号化する過程で生じたノイズを低減することができる。最も単純な実装は、過去N個分の平均値を求める方法である。他にもFIR(Finite Impulse Response)やIIR(Infinite Impulse Response)による方法などを適用することが可能である。また、フィルタ処理部104は、相関度と閾値の大小関係に基づいてリセット動作を行う。リセット動作では、過去の蓄積されたパラメータを破棄する。   The filter processing unit 104 performs low-pass filter processing (LPF) on the time axis so that the correction parameter does not fluctuate finely. Thereby, noise generated in the process of decoding the encoded image data can be reduced. The simplest implementation is a method of obtaining an average value for the past N. In addition, methods such as FIR (Finite Impulse Response) and IIR (Infinite Impulse Response) can be applied. The filter processing unit 104 performs a reset operation based on the magnitude relationship between the correlation degree and the threshold value. In the reset operation, past accumulated parameters are discarded.

補正処理部105は、入力画像の補正処理を行う。様々な画像処理があるが、周知の方法で画像処理を行うことが可能であり、ここでは説明を省略する。   The correction processing unit 105 performs input image correction processing. There are various types of image processing, but image processing can be performed by a well-known method, and description thereof is omitted here.

(実施形態1)
図2は、本実施形態に係る動画像処理の流れの例を示す。本実施形態では、動画像処理の流れの例について、図2に示す図を用いて説明する。
(Embodiment 1)
FIG. 2 shows an example of the flow of moving image processing according to this embodiment. In the present embodiment, an example of the flow of moving image processing will be described with reference to the diagram shown in FIG.

まず、事前処理として、例えば、入力信号からノイズを除去し、信号処理の規模を抑えるための代表点抽出(または縮小)処理、カラー値の輝度化などの処理を行う。カラー値の輝度化としては、一般的にはRGB各成分の平均値や合計値により処理を行う。尚、事前処理はこれに限定されるものではない。また、本実施形態では、事前処理は省略することも可能である。   First, as pre-processing, for example, processing such as representative point extraction (or reduction) processing to reduce the scale of signal processing and color value luminance processing is performed to remove noise from the input signal. In general, the brightness of the color value is processed by the average value or the total value of the RGB components. The pre-processing is not limited to this. In the present embodiment, the pre-processing can be omitted.

次に、ヒストグラム算出部101においてフレームのヒストグラムを求める。補正パラメータ算出部103は、求められたヒストグラムに基づいてフレームに適した補正パラメータを求める。同時に、相関度算出部102は、現在処理を行っているフレームとその前に処理を行ったフレームとのヒストグラムの相関度を算出する。この相関度算出部102が算出した相関度が一定以下の場合には、シーンが切り替わったとしてフィルタをリセットする。そして、以上の処理から求められた補正パラメータを利用して、補正処理部105は、補正処理を行う。   Next, the histogram calculation unit 101 obtains a histogram of the frame. The correction parameter calculation unit 103 calculates a correction parameter suitable for the frame based on the obtained histogram. At the same time, the correlation degree calculation unit 102 calculates the correlation degree of the histogram between the frame that is currently processed and the frame that was processed before that. If the correlation calculated by the correlation calculation unit 102 is less than or equal to a certain level, the filter is reset on the assumption that the scene has been switched. And the correction process part 105 performs a correction process using the correction parameter calculated | required from the above process.

本実施形態により、シーンの切り替わりはヒストグラムの変動としてあらわれることから、前後のフレームのヒストグラムの相関度を求めることにより、シーンの切り替わりを高精度かつ低コストで検出することが可能となる。また、シーンの切り替わりに応じてフィルタを適切にリセットして初期化することも可能となる。   According to the present embodiment, since the scene change appears as a histogram change, it is possible to detect the scene change with high accuracy and low cost by obtaining the degree of correlation between the histograms of the preceding and succeeding frames. It is also possible to reset and initialize the filter appropriately according to the scene change.

(実施形態2)
図3は、本実施形態に係る動画像処理装置の概略構成例を示す。上述した実施形態1と異なる点は、記録部106を備える点である。記録部106は、予め選定した複数のシーンについて、各シーンがもつ代表的なヒストグラムと、そのシーンに適した補正パラメータと、を対応させてパラメータテンプレートとして保持する。シーンとしては、例えば、風景、ポートレート、夜景、スポーツ風景など、被写体や撮影環境として代表的なものを選ぶとよい。尚、上述した機能と同様の機能には同様の符号を付し、説明は省略する。
(Embodiment 2)
FIG. 3 shows a schematic configuration example of the moving image processing apparatus according to the present embodiment. The difference from the first embodiment described above is that a recording unit 106 is provided. The recording unit 106 stores a representative histogram of each scene and a correction parameter suitable for the scene as a parameter template in association with a plurality of scenes selected in advance. As the scene, for example, a representative subject or photographing environment such as a landscape, a portrait, a night view, or a sports landscape may be selected. In addition, the same code | symbol is attached | subjected to the function similar to the function mentioned above, and description is abbreviate | omitted.

図4は、本実施形態に係る動画像処理の流れの例を示す。本実施形態では、動画像処理の流れの例について、図4に示す図を用いて説明する。   FIG. 4 shows an example of the flow of moving image processing according to this embodiment. In the present embodiment, an example of the flow of moving image processing will be described with reference to the diagram shown in FIG.

まず、事前処理として、例えば、入力信号からノイズを除去し、信号処理の規模を抑えるための代表点抽出(または縮小)処理、カラー値の輝度化などの処理を行う。カラー値の輝度化としては、一般的にはRGB各成分の平均値や合計値により処理を行う。尚、事前処理はこれに限定されるものではない。また、本実施形態では、事前処理は省略することも可能である。   First, as pre-processing, for example, processing such as representative point extraction (or reduction) processing to reduce the scale of signal processing and color value luminance processing is performed to remove noise from the input signal. In general, the brightness of the color value is processed by the average value or the total value of the RGB components. The pre-processing is not limited to this. In the present embodiment, the pre-processing can be omitted.

そして、ヒストグラム算出部101においてフレームのヒストグラムを求め、相関度算出部102によりフレームのヒストグラムとパラメータテンプレートに格納された各シーンのヒストグラムとの相関度を算出する。相関度の算出方法は上記実施形態1と同様の方法を適用することができる。   Then, the histogram calculation unit 101 obtains a histogram of the frame, and the correlation degree calculation unit 102 calculates the degree of correlation between the histogram of the frame and the histogram of each scene stored in the parameter template. A method similar to that in the first embodiment can be applied to the correlation degree calculation method.

上記で算出した相関度から適切なパラメータを求める。適切なパラメータを求める方法としては、以下に示す2つの方法を例として挙げることができる。尚、補正するためのパラメータを求める方法は、以下の方法に限定されるものではない。   An appropriate parameter is obtained from the degree of correlation calculated above. As methods for obtaining appropriate parameters, the following two methods can be given as examples. Note that the method for obtaining the parameters for correction is not limited to the following method.

パラメータを求める1つめの方法として、パラメータテンプレートに予め記録されたシーンのうち、最も相関が高いシーンのパラメータを採用する方法が挙げられる。この方法では、フレームから求めたヒストグラムと予め登録された各シーンのヒストグラムとの相関度を求め、最も相関度が高いシーンに対応して格納された補正パラメータを採用して、フレームの補正に採用する。   As a first method for obtaining a parameter, there is a method of adopting a parameter of a scene having the highest correlation among scenes recorded in advance in a parameter template. In this method, the degree of correlation between the histogram obtained from the frame and the histogram of each scene registered in advance is obtained, and the correction parameter stored corresponding to the scene with the highest degree of correlation is used to correct the frame. To do.

パラメータを求める2つめの方法として、相関度に応じて各パラメータの加重平均を求める方法が挙げられる。この方法では、フレームから求めたヒストグラムと予め登録された各シーンのヒストグラムとの相関度を求める。そして、求めた各シーンとの相関度に応じて、各シーンに対応して格納されたパラメータの加重平均を求めて新たな補正パラメータとし、補正に採用する。   As a second method for obtaining parameters, there is a method for obtaining a weighted average of each parameter according to the degree of correlation. In this method, the degree of correlation between the histogram obtained from the frame and the histogram of each scene registered in advance is obtained. Then, a weighted average of parameters stored corresponding to each scene is obtained according to the obtained degree of correlation with each scene, and is used as a new correction parameter.

次に、以上の処理から求められた補正パラメータを利用して、補正処理部105は、補正処理を行う。   Next, the correction processing unit 105 performs correction processing using the correction parameters obtained from the above processing.

本実施形態では、シーンに応じた補正パラメータを画像から求めるのではなく、画像からシーンの検出のみを行いパラメータは事前に作成又は格納されたもの使用する。このため、ヒストグラムのみから適切な補正パラメータを算出することが難しいケースであっても、適切な補正処理を施すことが可能となる。   In this embodiment, the correction parameter corresponding to the scene is not obtained from the image, but only the scene is detected from the image, and the parameter created or stored in advance is used. For this reason, even if it is difficult to calculate an appropriate correction parameter from only the histogram, it is possible to perform an appropriate correction process.

尚、上述した実施形態では、各フレームのシーンを検出し、フレーム毎に適した補正パラメータを求める例を挙げて説明した。しかし、これに限定されるものではなく、例えば、上述した実施形態1のように、前後のフレームの相関度を検出することにより、シーンの切り替わりを予め検出しておく。各シーンの最初のフレームについてのみ、パラメータテンプレートに記録されたどのシーンに当てはまるのかを判定する。そして、そのシーンに対応して記録されたパラメータをシーン全てのフレームに適用することも可能である。ここで、パラメータを求める方法としては、上記したような加重平均から求める方法も適用することは可能である。   In the above-described embodiment, an example in which a scene of each frame is detected and a correction parameter suitable for each frame is obtained has been described. However, the present invention is not limited to this. For example, as in the first embodiment described above, scene change is detected in advance by detecting the degree of correlation between the preceding and succeeding frames. Only for the first frame of each scene, it is determined which scene is recorded in the parameter template. The parameters recorded corresponding to the scene can be applied to all frames of the scene. Here, as a method for obtaining the parameters, it is also possible to apply the method for obtaining from the weighted average as described above.

また、例えば、上述した実施形態1のように、前後のフレームの相関度を検出することにより、シーンの切り替わりを検出する。シーン毎に全てのフレームのヒストグラムの平均をとり、パラメータテンプレートに記録されたどのシーンに当てはまるのかを判定する。そして、そのシーン対応して記録されたパラメータをシーン全てのフレームに適用することも可能である。ここで、パラメータを求める方法としては、上記したような加重平均から求める方法も適用することは可能である。   Also, for example, as in the first embodiment described above, scene change is detected by detecting the degree of correlation between the previous and subsequent frames. For each scene, the histogram of all frames is averaged to determine which scene recorded in the parameter template is applicable. It is also possible to apply the parameters recorded corresponding to the scene to all frames of the scene. Here, as a method for obtaining the parameters, it is also possible to apply the method for obtaining from the weighted average as described above.

(実施形態3)
図5は、本実施形態に係る動画像処理装置の概略構成例を示す。上述した実施形態1と異なる点は、補正パラメータ記録部107を備える点である。補正パラメータ記録部107は、現在処理を行っているフレームの前に処理を行ったフレームに適用したパラメータを記録する。尚、上述した機能と同様の機能には同様の符号を付し、説明は省略する。
(Embodiment 3)
FIG. 5 shows a schematic configuration example of the moving image processing apparatus according to the present embodiment. The difference from the first embodiment described above is that a correction parameter recording unit 107 is provided. The correction parameter recording unit 107 records the parameters applied to the processed frame before the currently processed frame. In addition, the same code | symbol is attached | subjected to the function similar to the function mentioned above, and description is abbreviate | omitted.

図6は、本実施形態に係る動画像処理の流れの例を示す。本実施形態では、動画像処理の流れの例について、図6に示す図を用いて説明する。   FIG. 6 shows an example of the flow of moving image processing according to this embodiment. In the present embodiment, an example of the flow of moving image processing will be described with reference to the diagram shown in FIG.

まず、事前処理として、例えば、入力信号からノイズを除去し、信号処理の規模を抑えるための代表点抽出(または縮小)処理、カラー値の輝度化などの処理を行う。カラー値の輝度化としては、一般的にはRGB各成分の平均値や合計値により処理を行う。尚、事前処理はこれに限定されるものではない。また、本実施形態では、事前処理は省略することも可能である。   First, as pre-processing, for example, processing such as representative point extraction (or reduction) processing to reduce the scale of signal processing and color value luminance processing is performed to remove noise from the input signal. In general, the brightness of the color value is processed by the average value or the total value of the RGB components. The pre-processing is not limited to this. In the present embodiment, the pre-processing can be omitted.

次に、ヒストグラム算出部101においてフレームのヒストグラムを求める。相関度算出部102は、現在処理を行っているフレームとその前に処理を行ったフレームとのヒストグラムの相関度を算出する。この相関度算出部102が算出した相関度が一定以上である場合には、補正パラメータ記録部107に記録されている直前に使用されたパラメータを採用して、補正処理を行う。   Next, the histogram calculation unit 101 obtains a histogram of the frame. The correlation level calculation unit 102 calculates the correlation level of a histogram between a frame that is currently being processed and a frame that was previously processed. When the degree of correlation calculated by the degree-of-correlation calculation unit 102 is equal to or greater than a certain level, the parameter used immediately before recorded in the correction parameter recording unit 107 is employed to perform correction processing.

一方、この相関度算出部102が算出した相関度が一定以下である場合には、現在処理を行っているフレームとその前に処理を行ったフレームでシーンが切り替わったとして、上述した実施形態2と同様の方法で補正パラメータを求める。すなわち、ヒストグラム算出部101において求めたフレームのヒストグラムと、パラメータテンプレートに格納された各シーンのヒストグラムとの相関度を算出し、算出した相関度から適切なパラメータを求める。このように求めた新たなパラメータにより補正パラメータ記録部107に記録されているパラメータを更新する。そして、更新されたパラメータを使用して補正処理を行う。   On the other hand, when the degree of correlation calculated by the degree-of-correlation calculation unit 102 is below a certain level, it is assumed that the scene is switched between the currently processed frame and the previously processed frame, as described in the second embodiment. The correction parameter is obtained in the same manner as in. That is, the degree of correlation between the histogram of the frame obtained by the histogram calculation unit 101 and the histogram of each scene stored in the parameter template is calculated, and an appropriate parameter is obtained from the calculated degree of correlation. The parameters recorded in the correction parameter recording unit 107 are updated with the new parameters obtained in this way. Then, correction processing is performed using the updated parameters.

本実施形態により、シーンの切り替わりが発生した場合のみパラメータを更新するため、相関度計算など一部の処理が必要時のみ動作するので、処理にかかる処理時間や電流などを削減することにより、コストを削減することが可能となる。   According to the present embodiment, parameters are updated only when a scene change occurs, so that some processing such as correlation calculation is performed only when necessary. Therefore, by reducing processing time and current required for processing, the cost can be reduced. Can be reduced.

尚、本発明に係る動画像表示装置は、上述した動画像処理装置の何れかを備える。また、動画像表示装置は、例えば、動画像を表示する表示部などの動画像表示装置として動作するための一般的な機能を有している。   The moving image display apparatus according to the present invention includes any of the moving image processing apparatuses described above. The moving image display device has a general function for operating as a moving image display device such as a display unit that displays a moving image.

尚、各図に示す処理を、CPUが実行するためのプログラムは本発明によるプログラムを構成する。このプログラムを記録するコンピュータ読み取り可能な記録媒体としては、半導体記憶部や光学的及び/又は磁気的な記憶部等を用いることができる。このようなプログラム及び記録媒体を、前述した各実施形態とは異なる構成のシステム等で用い、そこのCPUで上記プログラムを実行させることにより、本発明と実質的に同じ効果を得ることができる。   Note that the program for the CPU to execute the processing shown in each figure constitutes a program according to the present invention. As a computer-readable recording medium for recording the program, a semiconductor storage unit, an optical and / or magnetic storage unit, or the like can be used. By using such a program and recording medium in a system having a configuration different from that of each of the above-described embodiments and causing the CPU to execute the program, substantially the same effects as those of the present invention can be obtained.

以上好適な実施の形態に基づき具体的に説明したが、本発明は上述した動画像処理装置、動画像処理方法、そのプログラム記録媒体及び動画像表示装置に限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であるということは言うまでもない。   Although specifically described based on the preferred embodiments, the present invention is not limited to the above-described moving image processing apparatus, moving image processing method, program recording medium, and moving image display apparatus. It goes without saying that various changes can be made without departing from the scope.

本実施形態に係る動画像処理装置の概略構成例を示すブロック図である。It is a block diagram which shows the schematic structural example of the moving image processing apparatus which concerns on this embodiment. 本実施形態に係る動画像処理の流れの例を示す図である。It is a figure which shows the example of the flow of the moving image process which concerns on this embodiment. 本実施形態に係る動画像処理装置の概略構成例を示すブロック図である。It is a block diagram which shows the schematic structural example of the moving image processing apparatus which concerns on this embodiment. 本実施形態に係る動画像処理の流れの例を示す図である。It is a figure which shows the example of the flow of the moving image process which concerns on this embodiment. 本実施形態に係る動画像処理装置の概略構成例を示すブロック図である。It is a block diagram which shows the schematic structural example of the moving image processing apparatus which concerns on this embodiment. 本実施形態に係る動画像処理の流れの例を示す図である。It is a figure which shows the example of the flow of the moving image process which concerns on this embodiment.

符号の説明Explanation of symbols

10 動画像処理装置
101 ヒストグラム算出部
102 相関度算出部
103 補正パラメータ算出部
104 フィルタ処理部
105 補正処理部
106 記録部
107 補正パラメータ記録部
DESCRIPTION OF SYMBOLS 10 Moving image processing apparatus 101 Histogram calculation part 102 Correlation degree calculation part 103 Correction parameter calculation part 104 Filter processing part 105 Correction processing part 106 Recording part 107 Correction parameter recording part

Claims (13)

複数のシーンについて、前記シーンの主なヒストグラム及び前記シーンに適した補正パラメータを対応させて記録する記録手段と、
フレームのピクセル値からヒストグラムを算出するヒストグラム算出手段と、
前記ヒストグラム算出手段により算出されたヒストグラムと前記記録手段により記録された複数のシーンのヒストグラムとの相関度を算出する相関度算出手段と、
前記相関度算出手段により算出された相関度に基づいて補正パラメータを算出する補正パラメータ算出手段と、
前記補正パラメータ算出手段により算出された補正パラメータを用いて補正を行う補正手段と、を有することを特徴とする動画像処理装置。
For a plurality of scenes, recording means for recording the main histogram of the scene and correction parameters suitable for the scene,
A histogram calculating means for calculating a histogram from the pixel values of the frame;
Correlation degree calculating means for calculating the degree of correlation between the histogram calculated by the histogram calculating means and the histograms of a plurality of scenes recorded by the recording means;
Correction parameter calculating means for calculating a correction parameter based on the correlation degree calculated by the correlation degree calculating means;
And a correction unit that performs correction using the correction parameter calculated by the correction parameter calculation unit.
フィルタ処理を行うフィルタ処理手段をさらに有し、
前記相関度算出手段は、現在のフレームのヒストグラムと過去のフレームのヒストグラムの相関度を算出し、
フィルタ処理手段は、前記相関度算出手段により算出された現在のフレームと過去のフレームとの相関度が一定以下になる場合に、フィルタを初期化することを特徴とする請求項1記載の動画像処理装置。
A filter processing means for performing filter processing;
The correlation calculation means calculates the correlation between the histogram of the current frame and the histogram of the past frame,
2. The moving image according to claim 1, wherein the filter processing means initializes the filter when the degree of correlation between the current frame and the past frame calculated by the correlation degree calculating means is below a certain level. Processing equipment.
過去の補正パラメータを記録する補正パラメータ記録手段をさらに有し、
前記相関度算出手段は、現在のフレームのヒストグラムと過去のフレームのヒストグラムの相関度を算出し、
前記補正パラメータ算出手段は、前記相関度算出手段により算出された現在のフレームと過去のフレームとの相関度が一定以下になる場合に、補正パラメータを算出し、
前記補正パラメータ記録手段は、前記相関度算出手段により算出された現在のフレームと過去のフレームとの相関度が一定以下になる場合に、記録されている補正パラメータを前記補正パラメータ算出手段により算出された補正パラメータに更新し、
前記補正手段は、補正パラメータ記録手段により記録された補正パラメータを用いて補正を行うことを特徴とする請求項1又は2に記載の動画像処理装置。
A correction parameter recording means for recording past correction parameters;
The correlation calculation means calculates the correlation between the histogram of the current frame and the histogram of the past frame,
The correction parameter calculation means calculates a correction parameter when the degree of correlation between the current frame and the past frame calculated by the correlation degree calculation means is below a certain level,
The correction parameter recording means calculates the recorded correction parameter by the correction parameter calculation means when the degree of correlation between the current frame and the past frame calculated by the correlation degree calculation means is below a certain level. Update to the correction parameter
The moving image processing apparatus according to claim 1, wherein the correction unit performs correction using the correction parameter recorded by the correction parameter recording unit.
前記補正パラメータ算出手段は、前記相関度算出手段により算出された相関度が最も高いシーンに対応して記録されている補正パラメータを前記フレームの補正パラメータとすることを特徴とする請求項1から3の何れか1項に記載の動画像処理装置。   The correction parameter calculation means uses the correction parameter recorded corresponding to the scene with the highest correlation calculated by the correlation calculation means as the correction parameter of the frame. The moving image processing apparatus according to any one of the above. 前記補正パラメータ算出手段は、前記相関度算出手段により算出された前記シーンの相関度に基づいて、加重平均により補正パラメータを算出することを特徴とする請求項1から3の何れか1項に記載の動画像処理装置。   The said correction parameter calculation means calculates a correction parameter by a weighted average based on the correlation degree of the said scene calculated by the said correlation degree calculation means, The any one of Claim 1 to 3 characterized by the above-mentioned. Moving image processing apparatus. 複数のシーンについて、前記シーンの主なヒストグラム及び前記シーンに適した補正パラメータを対応させて記録する記録ステップと、
フレームのピクセル値からヒストグラムを算出するヒストグラム算出ステップと、
前記ヒストグラム算出ステップにより算出されたヒストグラムと前記記録ステップにより記録された複数のシーンのヒストグラムとの相関度を算出する相関度算出ステップと、
前記相関度算出ステップにより算出された相関度に基づいて補正パラメータを算出する補正パラメータ算出ステップと、
前記補正パラメータ算出ステップにより算出された補正パラメータを用いて補正を行う補正ステップと、を有することを特徴とする動画像処理方法。
For a plurality of scenes, a recording step for recording a main histogram of the scene and a correction parameter suitable for the scene,
A histogram calculation step for calculating a histogram from the pixel values of the frame;
A correlation calculation step for calculating a correlation between the histogram calculated by the histogram calculation step and the histograms of a plurality of scenes recorded by the recording step;
A correction parameter calculating step for calculating a correction parameter based on the correlation degree calculated by the correlation degree calculating step;
And a correction step of performing correction using the correction parameter calculated in the correction parameter calculation step.
フィルタ処理を行うフィルタ処理ステップをさらに有し、
前記相関度算出ステップは、現在のフレームのヒストグラムと過去のフレームのヒストグラムの相関度を算出し、
フィルタ処理ステップは、前記相関度算出ステップにより算出された現在のフレームと過去のフレームとの相関度が一定以下になる場合に、フィルタを初期化することを特徴とする請求項6記載の動画像処理方法。
A filtering step for performing filtering,
The correlation calculation step calculates a correlation between a histogram of a current frame and a histogram of a past frame,
7. The moving image according to claim 6, wherein the filter processing step initializes the filter when the correlation degree between the current frame and the past frame calculated by the correlation degree calculation step is below a certain level. Processing method.
過去の補正パラメータを記録する補正パラメータ記録ステップをさらに有し、
前記相関度算出ステップは、現在のフレームのヒストグラムと過去のフレームのヒストグラムの相関度を算出し、
前記補正パラメータ算出ステップは、前記相関度算出ステップにより算出された現在のフレームと過去のフレームとの相関度が一定以下になる場合に、補正パラメータを算出し、
前記補正パラメータ記録ステップは、前記相関度算出ステップにより算出された現在のフレームと過去のフレームとの相関度が一定以下になる場合に、記録されている補正パラメータを前記補正パラメータ算出ステップにより算出された補正パラメータに更新し、
前記補正ステップは、補正パラメータ記録ステップにより記録された補正パラメータを用いて補正を行うことを特徴とする請求項6又は7に記載の動画像処理方法。
A correction parameter recording step of recording past correction parameters;
The correlation calculation step calculates a correlation between a histogram of a current frame and a histogram of a past frame,
The correction parameter calculating step calculates a correction parameter when the degree of correlation between the current frame and the past frame calculated by the correlation degree calculating step is less than or equal to a certain level,
The correction parameter recording step calculates the recorded correction parameter by the correction parameter calculation step when the degree of correlation between the current frame and the past frame calculated by the correlation degree calculation step is below a certain level. Update to the correction parameter
8. The moving image processing method according to claim 6, wherein the correction step performs correction using the correction parameter recorded in the correction parameter recording step.
前記補正パラメータ算出ステップは、前記相関度算出ステップにより算出された相関度が最も高いシーンに対応して記録されている補正パラメータを前記フレームの補正パラメータとすることを特徴とする請求項6から8の何れか1項に記載の動画像処理方法。   9. The correction parameter calculating step uses the correction parameter recorded corresponding to the scene having the highest correlation calculated in the correlation calculation step as the correction parameter of the frame. The moving image processing method according to any one of the above. 前記補正パラメータ算出ステップは、前記相関度算出ステップにより算出された前記シーンの相関度に基づいて、加重平均により補正パラメータを算出することを特徴とする請求項6から8の何れか1項に記載の動画像処理方法。   9. The correction parameter calculation step according to claim 6, wherein the correction parameter calculation step calculates a correction parameter by a weighted average based on the correlation degree of the scene calculated by the correlation degree calculation step. Video processing method. 複数のシーンについて、前記シーンの主なヒストグラム及び前記シーンに適した補正パラメータを対応させて記録する処理と、
フレームのピクセル値からヒストグラムを算出する処理と、
前記ヒストグラムを算出する処理により算出されたヒストグラムと前記記録する処理により記録された複数のシーンのヒストグラムとの相関度を算出する処理と、
前記相関度を算出する処理により算出された相関度に基づいて補正パラメータを算出する処理と、
前記補正パラメータを算出する処理により算出された補正パラメータを用いて補正を行う処理と、をコンピュータに実行させるプログラム。
For a plurality of scenes, a process of recording the main histogram of the scene and the correction parameters suitable for the scene,
A process of calculating a histogram from the pixel values of the frame;
A process for calculating the degree of correlation between the histogram calculated by the process of calculating the histogram and the histograms of a plurality of scenes recorded by the process of recording;
A process of calculating a correction parameter based on the correlation degree calculated by the process of calculating the correlation degree;
The program which makes a computer perform the process which correct | amends using the correction parameter calculated by the process which calculates the said correction parameter.
請求項11記載のプログラムを記録したコンピュータ読取可能な記録媒体。   The computer-readable recording medium which recorded the program of Claim 11. 請求項1から5の何れか1項に記載の動画像処理装置を備えることを特徴とする動画像表示装置。   A moving image display apparatus comprising the moving image processing apparatus according to claim 1.
JP2008273612A 2008-10-23 2008-10-23 Moving image processing apparatus, moving image processing method, program thereof, recording medium and moving image display device Withdrawn JP2010103777A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008273612A JP2010103777A (en) 2008-10-23 2008-10-23 Moving image processing apparatus, moving image processing method, program thereof, recording medium and moving image display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008273612A JP2010103777A (en) 2008-10-23 2008-10-23 Moving image processing apparatus, moving image processing method, program thereof, recording medium and moving image display device

Publications (1)

Publication Number Publication Date
JP2010103777A true JP2010103777A (en) 2010-05-06

Family

ID=42294001

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008273612A Withdrawn JP2010103777A (en) 2008-10-23 2008-10-23 Moving image processing apparatus, moving image processing method, program thereof, recording medium and moving image display device

Country Status (1)

Country Link
JP (1) JP2010103777A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011254140A (en) * 2010-05-31 2011-12-15 Tokai Rika Co Ltd Filter coefficient setting method of digital receiving device and digital receiving device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011254140A (en) * 2010-05-31 2011-12-15 Tokai Rika Co Ltd Filter coefficient setting method of digital receiving device and digital receiving device

Similar Documents

Publication Publication Date Title
WO2017101489A1 (en) Method and device for image filtering
US10027897B2 (en) Image processing apparatus, image processing method, and storage medium
US20150279006A1 (en) Method and apparatus for reducing noise of image
JP2013192224A (en) Method and apparatus for deblurring non-uniform motion blur using multi-frame including blurred image and noise image
KR101336240B1 (en) Method and apparatus for image processing using saved image
US20200143582A1 (en) Image processing apparatus, image processing method, and storage medium
JP5914843B2 (en) Image processing apparatus and image processing method
US20080085059A1 (en) Image processing method and device for performing mosquito noise reduction
WO2018133101A1 (en) Image foreground detection apparatus and method, and electronic device
JP2003274181A (en) Device for reducing noise
JP2007134788A (en) Image processing apparatus and program
JP4613710B2 (en) Image processing apparatus and program
JP5327245B2 (en) Image processing apparatus, electronic camera, and image processing program
JP2005150903A (en) Image processing apparatus, noise elimination method, and noise elimination program
JP2010226646A (en) Video processing apparatus
JP5300413B2 (en) Motion vector detection device, motion vector detection method, imaging device, and program
JP2010103777A (en) Moving image processing apparatus, moving image processing method, program thereof, recording medium and moving image display device
JP2009033293A (en) Image processing circuit, semiconductor device, and image processor
JP5213604B2 (en) Imaging device
JP2006279413A (en) Motion vector detector, image display, image photographing apparatus, motion vector detecting method, program, and recording medium
JP2010073074A (en) Image signal processor, image display device, video recording/reproducing device, and image signal processing method
US20130286289A1 (en) Image processing apparatus, image display apparatus, and image processing method
KR20060123237A (en) Tracking of a subimage in a sequence of images
JP2011250102A (en) Image processing apparatus, and method of controlling the same
EP3979195A1 (en) Image processing method, image processing device, and program

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: 20120110