JP2006041648A - Moving image processing unit - Google Patents

Moving image processing unit Download PDF

Info

Publication number
JP2006041648A
JP2006041648A JP2004215064A JP2004215064A JP2006041648A JP 2006041648 A JP2006041648 A JP 2006041648A JP 2004215064 A JP2004215064 A JP 2004215064A JP 2004215064 A JP2004215064 A JP 2004215064A JP 2006041648 A JP2006041648 A JP 2006041648A
Authority
JP
Japan
Prior art keywords
circuit
difference
cumulative addition
signal
moving image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004215064A
Other languages
Japanese (ja)
Inventor
Yukifumi Kobayashi
幸史 小林
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.)
Renesas Technology Corp
Original Assignee
Renesas Technology 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 Renesas Technology Corp filed Critical Renesas Technology Corp
Priority to JP2004215064A priority Critical patent/JP2006041648A/en
Publication of JP2006041648A publication Critical patent/JP2006041648A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a moving image processing unit having high performance and suitable for a semiconductor integrated circuit. <P>SOLUTION: A first difference arithmetic circuit receives pixel signals adjacent to each other time-serially and forms a difference signal, an accumulation circuit accumulates the output signals of the first difference arithmetic circuit, a latch section latches the accumulated value of the accumulation circuit corresponding to the pixel signals within a prescribed range, and a comparison section compares the latched accumulated value with the accumulated value of the accumulation circuit, formed by one frame delay and forms a scene change signal when the change exceeds a prescribed amount. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、動画像処理ユニットに関し、例えば動画圧縮回路を備えて半導体集積回路装置に構成されるものに利用して有効な技術に関するものである。   The present invention relates to a moving image processing unit, for example, to a technique effective when used in a semiconductor integrated circuit device including a moving image compression circuit.

MPEG−4やH.264等のような動画像圧縮技術においては、Iピクチャと呼ばれるフレーム内符号化とPピクチャと呼ばれるフレーム間符号化がある。上記Pピクチャではフレーム間の差分をとり画像データ圧縮するため連続したシーンでは圧縮効率が良いが、シーンが変わった場合には符号化効率が悪くなる。シーンチェンジのときの画像では、上記Iピクチャの方が圧縮効率が良くなる。シーンチェンジ検出方法に関しては、特開2000−324499公報があり、動きベクトル検出方法に関しては特開2002−354483公報がある。
特開2000−324499公報 特開2002−354483公報
MPEG-4 and H.264 In moving picture compression techniques such as H.264, there are intra-frame coding called I picture and inter-frame coding called P picture. In the P picture, since the difference between frames is taken and the image data is compressed, the compression efficiency is good in a continuous scene, but the coding efficiency is poor when the scene is changed. In the image at the time of the scene change, the compression efficiency of the I picture is improved. Regarding the scene change detection method, there is JP-A-2000-324499, and regarding the motion vector detection method, there is JP-A-2002-354443.
JP 2000-324499 A JP 2002-354383 A

上記特許文献1の技術では、現フレームとフレームメモリに記憶された1つ前のフレームの画像信号の差分の絶対値を累積加算するものであり、1フレーム分の画像信号を保持するフレームメモリが必要になる。特許文献2では、入力映像信号と1フレーム遅延回路により遅延させた信号との差分の絶対値を累積加算するものであり、1フレーム分に対応した遅延回路が必要になり、半導体集積回路により構成しようとすると回路規模が大きくなってしまうという問題がある。   In the technique of Patent Document 1, the absolute value of the difference between the current frame and the image signal of the previous frame stored in the frame memory is cumulatively added, and a frame memory that holds an image signal for one frame is provided. I need it. In Patent Document 2, an absolute value of a difference between an input video signal and a signal delayed by a one-frame delay circuit is cumulatively added, and a delay circuit corresponding to one frame is required, which is configured by a semiconductor integrated circuit. There is a problem that the circuit scale becomes large when trying to do so.

この発明の目的は、高性能で半導体集積回路に適した動画像処理ユニットを提供することにある。この発明の前記ならびにそのほかの目的と新規な特徴は、本明細書の記述および添付図面から明らかになるであろう。   An object of the present invention is to provide a moving image processing unit that has high performance and is suitable for a semiconductor integrated circuit. The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.

本願において開示される発明のうち代表的なものの概要を簡単に説明すれば、下記の通りである。時系列的に隣り合う画素信号を受けて差分信号を第1差分演算回路で形成し、その出力信号を累積加算回路で累積加算し、所定範囲の画素信号に対応した上記累積加算回路の累積加算値を保持部で保持、1フレーム遅れて形成された上記累積加算回路の上記累積加算値とを比較部で比較して変化量が所定量を超えたときにシーンチェンジ信号を形成する。   The outline of a typical invention among the inventions disclosed in the present application will be briefly described as follows. A difference signal is formed by a first difference calculation circuit in response to pixel signals that are adjacent in time series, and the output signal is cumulatively added by a cumulative addition circuit, and the cumulative addition of the cumulative addition circuit corresponding to a predetermined range of pixel signals is performed. The value is held by the holding unit, and the cumulative addition value of the cumulative addition circuit formed one frame later is compared by the comparison unit, and a scene change signal is formed when the amount of change exceeds a predetermined amount.

簡単な構成で符号化効率を高くした動画像処理ユニットを得ることができる。   A moving image processing unit having a simple configuration and high encoding efficiency can be obtained.

図1には、この発明に係る動画像処理ユニットの一実施例のブロック図が示されている。この実施例の動画像処理ユニットは、キャプチャブロック部100、画像メモリ114及び動画像圧縮回路113から構成される。本実施例の特徴は、キャプチャブロック部100にシーンチェンジ検出部として画素の差分演算回路110と累積加算演算回路111を備えた点である。ここで、キャプチャブロック部100は、本来のキャプチャ回路と上記差分演算回路と累積加算回路により構成される。   FIG. 1 is a block diagram showing an embodiment of a moving image processing unit according to the present invention. The moving image processing unit of this embodiment includes a capture block unit 100, an image memory 114, and a moving image compression circuit 113. A feature of this embodiment is that the capture block unit 100 includes a pixel difference calculation circuit 110 and a cumulative addition calculation circuit 111 as a scene change detection unit. Here, the capture block unit 100 includes an original capture circuit, the difference calculation circuit, and a cumulative addition circuit.

カメラDSP(デジタル・シグナル・プロセッサ)115は、図示しないCCD等の撮像素子により形成され映像信号を受けて、所定の信号処理を行って撮像画面の左上から横方向に順番の画像データを形成してキャプチャ回路112に送る。キャプチャ回路112はカメラDSP115から送られてくる画像データをキャプチャし、つまりは1画面(フレーム)分のデジタル画像データを取り出して画像メモリ114に格納する。この実施例では、上記キャプチャ回路112でキャプチャしたデジタル画素データは、上記画像メモリ114に格納する一方で、同時に信号線120を通して差分演算回路110に送られる。差分演算回路110では、上記キャプチャによって時系列的に隣接する画素データ同士の差分を形成する。この差分データは、信号線121を通して累積加算回路111に入力される。累積加算回路111では、1画面分の累積加算値を形成し、信号線122を通して動画像圧縮回路113に送る。   A camera DSP (digital signal processor) 115 receives a video signal formed by an image pickup device such as a CCD (not shown), performs predetermined signal processing, and forms image data in order from the upper left of the image pickup screen in the horizontal direction. To the capture circuit 112. The capture circuit 112 captures image data sent from the camera DSP 115, that is, extracts digital image data for one screen (frame) and stores it in the image memory 114. In this embodiment, the digital pixel data captured by the capture circuit 112 is stored in the image memory 114 and simultaneously sent to the difference calculation circuit 110 through the signal line 120. The difference calculation circuit 110 forms a difference between adjacent pixel data in time series by the capture. This difference data is input to the cumulative addition circuit 111 through the signal line 121. The cumulative addition circuit 111 forms a cumulative addition value for one screen and sends it to the moving image compression circuit 113 through the signal line 122.

図2には、図1の差分演算回路110の一実施例のブロック図が示されている。差分演算回路110は上記キャプチャ回路112から送られてくる画素を保持する画素保持部200、画素保持部200からの画素を保持する画素保持部201、時間的に隣接する、つまりは撮像画面では横方向に隣接する画素ごとの輝度成分の差分演算を行う差分演算部202で構成される。差分演算回路110では、上記信号線120で送られてきた画素データをまず画素保持部200に保持する。次の画素データが送られてきた際に、その画素データを画素保持部200に保持するのと同時にそれまで画素保持部200に保持していた画素データを画素保持部201に渡す。つまり、上記画素保持部200と201とは、シフトレジスタ等で構成される。   FIG. 2 shows a block diagram of an embodiment of the difference calculation circuit 110 of FIG. The difference calculation circuit 110 includes a pixel holding unit 200 that holds pixels sent from the capture circuit 112, a pixel holding unit 201 that holds pixels from the pixel holding unit 200, and is temporally adjacent. The difference calculation unit 202 is configured to perform a difference calculation of luminance components for each pixel adjacent in the direction. In the difference calculation circuit 110, the pixel data sent through the signal line 120 is first held in the pixel holding unit 200. When the next pixel data is sent, the pixel data held in the pixel holding unit 200 is transferred to the pixel holding unit 201 at the same time as the pixel data is held in the pixel holding unit 200. That is, the pixel holding units 200 and 201 are configured by a shift register or the like.

上記画素保持部200と201は、1つの画素データが複数ビットからなるときには、各ビットに対応した複数の記憶回路(ラッチ)を備え、パラレルに送られた複数ビット分の画素データを上記のように転送するというシフトレジスタとしての動作を行う。そして、差分演算部202で上記2つの画素保持部200と201に保持された2つの画素データの差分演算及びその差分演算の結果の絶対値を求める演算を行い、その差分値の絶対値が信号線121を通して累積加算回路111に送られる。   When one pixel data consists of a plurality of bits, the pixel holding units 200 and 201 include a plurality of storage circuits (latches) corresponding to each bit, and the pixel data for a plurality of bits sent in parallel is as described above. The operation as a shift register is performed. Then, the difference calculation unit 202 performs a calculation of the difference between the two pixel data held in the two pixel holding units 200 and 201 and an absolute value of the result of the difference calculation, and the absolute value of the difference value is a signal. The signal is sent to the cumulative addition circuit 111 through the line 121.

図3には、累積加算回路111の一実施例のブロック図が示されている。累積加算回路111は、加算演算部300、累積加算値保持部301とで構成される。信号線121を通して送られてくる差分値の絶対値に対し、それまでの累積加算値との間で加算演算を行う。演算結果は再び累積加算値保持部301に格納される。これを1フレーム分繰り返し、1フレーム分の累積加算値を求める。累積加算値は信号線122により図1に示した動画像圧縮部113に送られる。   FIG. 3 shows a block diagram of an embodiment of the cumulative addition circuit 111. The cumulative addition circuit 111 includes an addition calculation unit 300 and a cumulative addition value holding unit 301. An addition operation is performed on the absolute value of the difference value sent through the signal line 121 and the cumulative addition value so far. The calculation result is stored again in the cumulative added value holding unit 301. This is repeated for one frame, and a cumulative addition value for one frame is obtained. The accumulated addition value is sent to the moving image compression unit 113 shown in FIG.

図3において、上記動画像圧縮部113に設けられるシーンチェンジ検出回路も例示的に示されている。この実施例のシーンチェンジ検出回路は、保持部302と比較部303からなり、保持部302は、1つ前のフレームの累積加算値が保持されている。比較部303は、この1フレーム前の累積加算値と上記累積加算回路111で形成された当該フレームの累積加算値とを比較し、その差分が所定量を超えるか否かの判定を行い。もしも、予め決められて所定量を超えたときにはシーンチェンジ検出信号を一方のレベルにし、上記所定量を超えないときにはシーンチェンジ検出信号を他方のレベルにするという動作を行う。   In FIG. 3, a scene change detection circuit provided in the moving image compression unit 113 is also exemplarily shown. The scene change detection circuit of this embodiment includes a holding unit 302 and a comparison unit 303, and the holding unit 302 holds the cumulative added value of the previous frame. The comparison unit 303 compares the cumulative addition value of the previous frame with the cumulative addition value of the frame formed by the cumulative addition circuit 111, and determines whether or not the difference exceeds a predetermined amount. If the predetermined amount exceeds a predetermined amount, the scene change detection signal is set to one level, and if the predetermined amount is not exceeded, the scene change detection signal is set to the other level.

図4には、この発明に係る動画像処理ユニットを備えたビデオカメラ部の一実施例の要部ブロック図が示されている。カメラDSPは、CDD等のような撮像素子及びその駆動回路及び撮像素子から出力される信号処理を行うDSP(デジタル・シグナル・プロセッサ)から構成される。キャプチャブロックは、前記図1のキャプチャブロック部100に対応し、動画像圧縮部は前記図1の動画像圧縮回路113に対応し、内部メモリは一時的なデータの保持に用いられる。そして、前記図1に示した回路以外に、画像処理ブロック及びCPU(中央処理ユニット)コア、外部メモリとのインターフェイス回路としてのバスステートコントラーラが設けられて1つのシステム(System) LSIに内蔵される。SDRAMは、システムLSIの外部メモリであり、動画像圧縮処理に用いられる前記図1の画像メモリ114を構成する。上記動画圧縮処理で形成された画像データは、特に制限されないが、ハードディスクメモリ又はDVD等のような記録媒体に記録される。   FIG. 4 is a block diagram showing a main part of an embodiment of a video camera unit provided with a moving image processing unit according to the present invention. The camera DSP includes an image sensor such as a CDD, a driving circuit for the image sensor, and a DSP (digital signal processor) that performs signal processing output from the image sensor. The capture block corresponds to the capture block unit 100 of FIG. 1, the moving image compression unit corresponds to the moving image compression circuit 113 of FIG. 1, and the internal memory is used for temporarily holding data. In addition to the circuit shown in FIG. 1, an image processing block, a CPU (central processing unit) core, and a bus state controller as an interface circuit with an external memory are provided and incorporated in one system LSI. The The SDRAM is an external memory of the system LSI and constitutes the image memory 114 of FIG. 1 used for moving image compression processing. The image data formed by the moving image compression process is not particularly limited, but is recorded on a recording medium such as a hard disk memory or a DVD.

前記キャプチャブロック部112に設けられた差分演算回路110、累積加算回路111及びシーンチェンジ検出回路は、時系列的に入力された画素データをリアルタイムで処理して前記のようなシーンチェンジ検出信号を形成するものであり、それに用いられるデータ保持部も極小さな記憶容量のレジスタ又はメモリ回路で構成でき、前記特許公報1や2のような1フレーム分のメモリ回路や遅延回路等に比べて小さな回路規模で実現することができる。それ故に、上記動画像処理ユニットを構成するシステムLSIに搭載してもかかるシステムLSIの回路規模を大きくしないで済む。   The difference calculation circuit 110, the cumulative addition circuit 111, and the scene change detection circuit provided in the capture block unit 112 process the pixel data input in time series in real time to form the scene change detection signal as described above. The data holding unit used therefor can also be configured with a register or memory circuit having an extremely small storage capacity, and is smaller in circuit scale than the memory circuit or delay circuit for one frame as in the above-mentioned patent publications 1 and 2. Can be realized. Therefore, even if the system LSI constituting the moving image processing unit is mounted, the circuit scale of the system LSI does not have to be increased.

図5には、前記図1の差分演算回路110及び累積加算回路111の動作を説明するための模式図が示されている。撮像画面の左上から順番に時系列的に送られてくる画素同士の差分値を逐一取り、その差分値を1フレーム分全て加算する。この加算値が動画像圧縮部113に送られる。つまり、同図において○で示した画素は、1番目と2番目、2番目と3番目、3番目と4番目……のように隣接するもの同士が引き算(−)され、それぞれの引き算値が順次に1フレームにわたって加算されて1フレーム分の累積加算値が求められる。   FIG. 5 is a schematic diagram for explaining the operations of the difference calculation circuit 110 and the cumulative addition circuit 111 of FIG. The difference values between the pixels sent in time series in order from the upper left of the imaging screen are taken one by one, and all the difference values for one frame are added. This added value is sent to the moving image compression unit 113. In other words, in the figure, adjacent pixels such as first and second, second and third, third and fourth, etc. are subtracted (-), and each subtraction value is A cumulative addition value for one frame is obtained by sequentially adding over one frame.

図6には、前記図1の動画圧縮部113でのシーンチェンジ検出動作と符号化動作を説明するための模式図が示されている。動画像圧縮部113では、上記差分演算回路110及び累積加算回路111で形成された累積加算値に対し、フレームごとの変化量を計算し、変化量が多い場合にはシーンチェンジと判定し、Iピクチャによる符号化を行う。つまり、同図に示すように、黒丸で示したフレーム毎の累積加算値の変化量を見て、変化量が少ない場合は連続した画像と判定しPピクチャで符号化を行い、変化量が多い場合にはシーンチェンジと判定し、Iピクチャで符号化を行う。   FIG. 6 is a schematic diagram for explaining the scene change detection operation and the encoding operation in the moving image compression unit 113 of FIG. The moving image compression unit 113 calculates a change amount for each frame with respect to the cumulative addition value formed by the difference calculation circuit 110 and the cumulative addition circuit 111. If the change amount is large, it is determined as a scene change, and I Encoding with pictures. In other words, as shown in the figure, the amount of change in the cumulative addition value for each frame indicated by a black circle is seen. In this case, it is determined that the scene is changed, and encoding is performed using an I picture.

図7には、この発明に係るシーンチェンジ情報検出及び符号化ピクチャ決定動作を説明するためのフローチャート図が示されている。ステップ(1)では、画像データをキャプチャする。ステップ(2)では、上記キャプチャの過程で形成される時系列的な画像データを用いて隣接画素間で差分演算を行う。ステップ(3)では、上記差分値を累積加算する。そして、ステップ(4)で1フレームの終了かを判定し、未終了(no)なら次の画像データとの差分及びその累積演算を繰り返す。上記ステップ(4)において、1フレームの終了(yes)と判定されたなら、ステップ(5)において、累積加算値の変化が予め決められた変化量と比較され、変化量が大きい(yes)と判定されたなら、ステップ(6)によりシーンチェンジと判定し、上記画像メモリにキャプチャされた画像データをIピクチャで符号化する。上記ステップ(5)において、変化量が小さい(no)と判定されたなら、ステップ(7)により連続した画像であると判定し、上記画像メモリにキャプチャされた画像データをPピクチャで符号化する。このようにシーンチェンジ時にIピクチャを挿入できるため、Pピクチャで符号化する場合と比較し、圧縮効率を高めることが出来る。   FIG. 7 is a flowchart for explaining scene change information detection and coded picture determination operations according to the present invention. In step (1), image data is captured. In step (2), a difference calculation is performed between adjacent pixels using time-series image data formed in the capture process. In step (3), the difference values are cumulatively added. In step (4), it is determined whether one frame has been completed. If it is not completed (no), the difference with the next image data and its cumulative calculation are repeated. If it is determined in step (4) that the end of one frame is (yes), in step (5), the change in the cumulative addition value is compared with a predetermined change amount, and the change amount is large (yes). If it is determined, it is determined in step (6) that it is a scene change, and the image data captured in the image memory is encoded with an I picture. If it is determined in step (5) that the amount of change is small (no), it is determined in step (7) that the images are continuous, and the image data captured in the image memory is encoded with a P picture. . Since an I picture can be inserted at the time of a scene change in this way, the compression efficiency can be improved compared to the case of encoding with a P picture.

例えば、従来のMEPG等の画像圧縮では、15フレームに1回Iピクチャで符号化し、それ以外はPピクチャで符号化するなどある決められた仕様に従い一定間隔でIピクチャを挿入するものである。この場合、動画像のシーンの内容に関係なくIピクチャが挿入されるため、シーンチェンジの場合にもPピクチャで符号化してしまい、圧縮効率を下げてしまうことがある。これに対して、本願発明の動画像処理ユニットでは、圧縮の対象となる動画像をキャプチャする際に画素の横方向(時系列)の差分値を累積加算し、その累積加算値のフレームごとの変化量をもとにシーンチェンジを決定し、Iピクチャの挿入タイミングを決定するものである。   For example, in the conventional image compression such as MPEG, I pictures are inserted at regular intervals in accordance with a predetermined specification such as encoding with an I picture once in 15 frames and encoding with other P pictures. In this case, since the I picture is inserted regardless of the content of the scene of the moving image, it may be encoded with the P picture even in the case of a scene change, which may reduce the compression efficiency. On the other hand, in the moving image processing unit of the present invention, when capturing a moving image to be compressed, the difference values in the horizontal direction (time series) of the pixels are cumulatively added, and the cumulative added value for each frame. A scene change is determined based on the amount of change, and an I picture insertion timing is determined.

この実施例のように時系列的な画素の差分値の累積加算値は画像の複雑さに大きく関係し、シーンチェンジの場合など画像の内容が大きく変わった場合には、その累積加算値も大きく変化する。そのため、この累積加算値の変化量によりシーンチェンジの有無を検出することがきる。この実施例では、横方向つまりは時系列的な画素の差分演算、および累積加算演算を行うものであるので、キャプチャ動作と同時にシーンチェンジ情報が検出でき、シーンチェンジ情報のために前記特許文献1のように1フレーム分もの画像データの書き込みや画像の読み出しといった余計なメモリアクセスが必要なくなり、小さな回路規模でシーンチェンジ検出を実現できるとともに、上記のような効率的な動画像圧縮の効率化を図ることができる。又、この実施例では時系列的な画素の差分値は輝度成分のみを取り、色差成分においては差分値を取り、その絶対値を累積加算するようなことは行わない。これにより演算量を削減する事ができる
図8には、この発明に用いられる差分演算回路の他の一実施例のブロック図が示されている。この実施例では、差分演算回路110の出力信号を同様な差分演算回路110’によって更に差分を求めるというものである。上記差分演算回路110は、前記図2と同様に上記キャプチャ回路112から送られてくる画素を保持する画素保持部200、画素保持部200からの画素を保持する画素保持部201、時間的に隣接する、つまりは撮像画面では横方向に隣接する画素ごとの輝度成分の差分演算及びその差分演算の結果の絶対値を求める演算を行う差分演算部202で構成される。差分演算回路110では、上記信号線120で送られてきた画素データをまず画素保持部200に保持する。次の画素データが送られてきた際に、その画素データを画素保持部200に保持するのと同時にそれまで画素保持部200に保持していた画素データを画素保持部201に渡す。つまり、上記画素保持部200と201とは、シフトレジスタ等で構成される。
As in this embodiment, the cumulative addition value of the time-series pixel difference value is greatly related to the complexity of the image, and when the content of the image changes greatly, such as in the case of a scene change, the cumulative addition value also increases. Change. Therefore, the presence / absence of a scene change can be detected from the change amount of the cumulative addition value. In this embodiment, the horizontal direction, that is, the time-series pixel difference calculation and the cumulative addition calculation are performed, so that the scene change information can be detected simultaneously with the capture operation. This eliminates the need for extra memory access such as writing image data for one frame and reading images, enabling scene change detection with a small circuit scale and improving the efficiency of efficient video compression as described above. Can be planned. Further, in this embodiment, the time-series pixel difference value takes only the luminance component, the color difference component takes the difference value, and the absolute value is not cumulatively added. As a result, the amount of calculation can be reduced. FIG. 8 shows a block diagram of another embodiment of the difference calculation circuit used in the present invention. In this embodiment, the difference is further obtained from the output signal of the difference calculation circuit 110 by a similar difference calculation circuit 110 ′. Similar to FIG. 2, the difference calculation circuit 110 includes a pixel holding unit 200 that holds pixels sent from the capture circuit 112, a pixel holding unit 201 that holds pixels from the pixel holding unit 200, and is temporally adjacent. In other words, the imaging screen includes a difference calculation unit 202 that performs a difference calculation of luminance components for each pixel adjacent in the horizontal direction and a calculation for obtaining an absolute value of a result of the difference calculation. In the difference calculation circuit 110, the pixel data sent through the signal line 120 is first held in the pixel holding unit 200. When the next pixel data is sent, the pixel data held in the pixel holding unit 200 is transferred to the pixel holding unit 201 at the same time as the pixel data is held in the pixel holding unit 200. That is, the pixel holding units 200 and 201 are configured by a shift register or the like.

上記差分演算回路110’においても、上記信号線121で送られてきた差分データをまず差分保持部200’に保持する。上記差分演算回路110から次の差分データが送られてきた際に、その差分データを差分保持部200’に保持するのと同時にそれまで差分保持部200’に保持していた差分データを差分保持部201’に渡す。つまり、上記差分保持部200’と201’とは、前記同様にシフトレジスタ等で構成される。そして、差分演算部202’で上記2つの差分保持部200’と201’に保持された2つの差分データの更に差分演算を行い、2回差分値の絶対値、言い換えるならば2回微分の絶対値の和を累積加算回路111に送る。このようにして演算されたフレーム毎の累積加算値の変化量を判定して前記同様にしてシーンチェンジ検出の有無を行うことができる。このようにシーンチェンジを検出することにより、1回差分値の絶対値を累積加算するよりも精度を高くシーンチェンジを検出可能となる。   Also in the difference calculation circuit 110 ', the difference data sent through the signal line 121 is first held in the difference holding unit 200'. When the next difference data is sent from the difference calculation circuit 110, the difference data is held in the difference holding unit 200 ′ and at the same time the difference data held in the difference holding unit 200 ′ is held as a difference. To the unit 201 ′. That is, the difference holding units 200 ′ and 201 ′ are composed of shift registers and the like as described above. Then, the difference calculation unit 202 ′ further calculates the difference between the two difference data held in the two difference holding units 200 ′ and 201 ′, and the absolute value of the second difference value, in other words, the absolute value of the second differentiation. The sum of the values is sent to the cumulative addition circuit 111. It is possible to determine whether or not a scene change has been detected in the same manner as described above by determining the amount of change in the cumulative addition value for each frame calculated in this way. By detecting a scene change in this way, it becomes possible to detect a scene change with higher accuracy than accumulating and adding the absolute values of the difference values once.

以上本発明者によってなされた発明を、前記実施形態に基づき具体的に説明したが、本発明は、前記実施形態に限定されるものではなく、その要旨を逸脱しない範囲において種々変更可能である。上記シーンチェンジ検出は、図3に示したような回路を動画像圧縮回路に設けるようにしたハードウェアにより実現するもの他、図4に示したシステムLSIにおいては、内部メモリを前記画素保持部200、201、累積加算値保持部301、保持部302として用い、CPUを差分演算回路202や加算演算部300として用い、内部メモリに書き込まれたプログラムによってソフトウェアにより前記シーンチェンジ検出のための信号処理を行うようにするものであってもよい。また、画像データは、カメラDSPから受けるもの他、テレビジョン放送あるいはVTR等から読み出されたアナログ映像信号を受けるものであってもよい。この場合には、まずアナログ映像信号はキャプチャ回路においてデジタル信号に変換される。この発明は、動画像処理ユニットとして広く利用することができる。   Although the invention made by the inventor has been specifically described based on the above embodiment, the present invention is not limited to the above embodiment, and various modifications can be made without departing from the scope of the invention. The scene change detection is realized by hardware in which a circuit as shown in FIG. 3 is provided in the moving image compression circuit. In addition, in the system LSI shown in FIG. , 201, the cumulative addition value holding unit 301 and the holding unit 302, and the CPU is used as the difference calculation circuit 202 and the addition calculation unit 300 to perform signal processing for scene change detection by software using a program written in the internal memory. It may be what you do. The image data may be received from the camera DSP, or may be received from an analog video signal read from a television broadcast or a VTR. In this case, the analog video signal is first converted into a digital signal in the capture circuit. The present invention can be widely used as a moving image processing unit.

この発明に係る動画像処理ユニットの一実施例を示すブロック図である。It is a block diagram which shows one Example of the moving image processing unit which concerns on this invention. 図1の差分演算回路110の一実施例を示すブロック図である。FIG. 2 is a block diagram illustrating an example of a difference calculation circuit 110 in FIG. 1. 図1の累積加算回路111の一実施例を示すブロック図である。FIG. 2 is a block diagram showing an embodiment of the cumulative addition circuit 111 of FIG. 1. この発明に係る動画像処理ユニットを備えたビデオカメラ部の一実施例を示す要部ブロック図である。It is a principal part block diagram which shows one Example of the video camera part provided with the moving image processing unit which concerns on this invention. 図1の差分演算回路110及び累積加算回路111の動作を説明するための模式図である。FIG. 2 is a schematic diagram for explaining operations of a difference calculation circuit 110 and a cumulative addition circuit 111 in FIG. 1. 図1の動画圧縮部113でのシーンチェンジ検出動作と符号化動作を説明するための模式図である。It is a schematic diagram for demonstrating the scene change detection operation | movement and encoding operation | movement in the moving image compression part 113 of FIG. この発明に係るシーンチェンジ情報検出及び符号化ピクチャ決定動作を説明するフローチャート図である。It is a flowchart figure explaining the scene change information detection which concerns on this invention, and an encoding picture determination operation | movement. この発明に用いられる差分演算回路の他の一実施例を示すブロック図である。It is a block diagram which shows another Example of the difference calculating circuit used for this invention.

符号の説明Explanation of symbols

100…キャプチャブロック部、110,110’…差分演算回路、111…累積加算回路、112…キャプチャ回路、113…動画像圧縮回路、114…画像メモリ、115…カメラDSP、120〜122…信号線、200,201…画素保持部、200’,201’…差分保持部、202,202’…差分演算部、300…加算演算部、301…累積加算値保持部、302…保持部、303…比較部。   DESCRIPTION OF SYMBOLS 100 ... Capture block part, 110, 110 '... Difference calculating circuit, 111 ... Cumulative addition circuit, 112 ... Capture circuit, 113 ... Moving image compression circuit, 114 ... Image memory, 115 ... Camera DSP, 120-122 ... Signal line, 200, 201: Pixel holding unit, 200 ', 201' ... Difference holding unit, 202, 202 '... Difference calculating unit, 300 ... Addition calculating unit, 301 ... Cumulative added value holding unit, 302 ... Holding unit, 303 ... Comparison unit .

Claims (8)

時系列的に隣り合う画素信号を受けて差分信号を形成する第1差分演算回路と、
上記第1差分演算回路の出力信号を受ける累積加算回路と、
所定範囲の画素信号に対応した上記累積加算回路の累積加算値を保持する保持部と、
上記保持部の累積加算値と1フレーム遅れて形成された上記累積加算回路の上記累積加算値とを比較する比較部とを備え、
上記比較部の出力信号が所定量を超えたときにシーンチェンジ信号を形成してなることを特徴とする動画像処理ユニット。
A first difference calculation circuit which receives a pixel signal adjacent in time series and forms a difference signal;
A cumulative addition circuit for receiving an output signal of the first difference calculation circuit;
A holding unit for holding a cumulative addition value of the cumulative addition circuit corresponding to a predetermined range of pixel signals;
A comparison unit that compares the cumulative addition value of the holding unit with the cumulative addition value of the cumulative addition circuit formed with a delay of one frame;
A moving image processing unit, wherein a scene change signal is formed when an output signal of the comparison unit exceeds a predetermined amount.
請求項1において、
時系列的な画素信号を受けるキャプチャ回路及び動画像圧縮部を備え、
上記第1差分演算回路、累積加算回路は、上記キャプチャ回路とともにキャプチャブロック部に設けられ、
上記動画像圧縮部は、上記シーンチェンジ信号が形成されないフレームではPピクチャによる符号化を行い、上記シーンチェンジ信号が形成されたフレームではIピクチャによる符号化を行うものであることを特徴とする動画像処理ユニット。
In claim 1,
A capture circuit that receives a time-series pixel signal and a moving image compression unit;
The first difference calculation circuit and the cumulative addition circuit are provided in the capture block unit together with the capture circuit,
The moving image compressing section performs encoding with a P picture in a frame in which the scene change signal is not formed, and performs encoding with an I picture in a frame in which the scene change signal is formed. Image processing unit.
請求項2において、
上記所定範囲の画素信号は1フレーム分の画素信号であることを特徴とする動画像処理ユニット。
In claim 2,
The moving image processing unit according to claim 1, wherein the pixel signal in the predetermined range is a pixel signal for one frame.
請求項3において、
上記第1差分演算回路と累積加算回路とは、上記キャプチャ回路による画素信号の画像メモリへの画素データの書き込みと同期して上記時系列的な画素信号の差分と上記累積加算値を求めることを特徴とする動画像処理ユニット。
In claim 3,
The first difference calculation circuit and the cumulative addition circuit obtain the difference between the time-series pixel signals and the cumulative addition value in synchronization with the writing of the pixel data of the pixel signals to the image memory by the capture circuit. A featured video processing unit.
請求項3において、
更に、第2差分演算回路を備え、
上記第1差分演算回路の出力信号は、上記第2差分演算回路に入力されて時系列的に隣接する差分信号の更に差分信号が形成されて、上記累積加算回路に伝えられるものであることを特徴とする動画像処理ユニット。
In claim 3,
Furthermore, a second difference calculation circuit is provided,
The output signal of the first difference calculation circuit is input to the second difference calculation circuit, and a further difference signal of the difference signals adjacent in time series is formed and transmitted to the cumulative addition circuit. A featured video processing unit.
請求項3において、
上記キャプチャブロック部に入力される時系列的な画像信号は、カメラ回路により形成されるものであることを特徴とする動画像処理ユニット。
In claim 3,
The moving image processing unit, wherein the time-series image signal input to the capture block unit is formed by a camera circuit.
請求項3において、
上記動画像処理ユニットは、CPUコア、画像処理ブロック及外部インターフェイス回路を更に備えて、1チップの半導体集積回路装置で構成されてなることを特徴とする動画像処理ユニット。
In claim 3,
The moving image processing unit further comprises a CPU core, an image processing block, and an external interface circuit, and is constituted by a one-chip semiconductor integrated circuit device.
請求項3において、
上記第1差分演算回路は上記差分信号の絶対値を求めることを特徴とする動画像処理ユニット。
In claim 3,
The moving image processing unit, wherein the first difference calculation circuit obtains an absolute value of the difference signal.
JP2004215064A 2004-07-23 2004-07-23 Moving image processing unit Pending JP2006041648A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004215064A JP2006041648A (en) 2004-07-23 2004-07-23 Moving image processing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004215064A JP2006041648A (en) 2004-07-23 2004-07-23 Moving image processing unit

Publications (1)

Publication Number Publication Date
JP2006041648A true JP2006041648A (en) 2006-02-09

Family

ID=35906202

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004215064A Pending JP2006041648A (en) 2004-07-23 2004-07-23 Moving image processing unit

Country Status (1)

Country Link
JP (1) JP2006041648A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009163579A (en) * 2008-01-08 2009-07-23 Olympus Corp Image processing apparatus and image processing program
JP2012244437A (en) * 2011-05-19 2012-12-10 Canon Inc Image processing apparatus and image processing method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009163579A (en) * 2008-01-08 2009-07-23 Olympus Corp Image processing apparatus and image processing program
US8724847B2 (en) 2008-01-08 2014-05-13 Olympus Corporation Image processing apparatus and program storage medium
JP2012244437A (en) * 2011-05-19 2012-12-10 Canon Inc Image processing apparatus and image processing method

Similar Documents

Publication Publication Date Title
JP4887750B2 (en) Image processing apparatus, control method, and program
JP2006253768A (en) Digital camera
KR100941285B1 (en) Image processing device and computer readable medium
JP2008193530A (en) Image recorder, image recording method and program
JP4483483B2 (en) Imaging device
WO2010070809A1 (en) Image pickup apparatus
JP2009164725A (en) Image recording device and image reproduction device
USRE43491E1 (en) Image shake correction image processing apparatus and program
KR20100061311A (en) Photographing apparatus and controlling method thereof
KR20090066192A (en) Apparatus for writing, method of writing, apparatus for playing, method of playing, and computer readable medium for recording program
JP2010258576A (en) Scene change detector, and video recorder
JP2008109270A (en) Moving image regeneration apparatus with camera shake correction function
JP2007151008A (en) Image processor and program
JP4235209B2 (en) Motion vector detection apparatus and motion vector detection method
JP2006041648A (en) Moving image processing unit
US10516896B2 (en) Encoding device, encoding method, and storage medium
KR101524464B1 (en) Imaging apparatus, imaging method and storing medium having computer program to perform the same
JP2006024993A (en) Image pickup signal processing apparatus
JP4446820B2 (en) Image processing device
JP2010239230A (en) Image encoding apparatus
JP2005311746A (en) Device for correcting dynamic image
JP2003234941A (en) Imaging apparatus
JP2006311195A (en) Imaging method and imaging apparatus
JP2004015824A (en) Electronic still camera
JP2000041222A (en) Video reproduction device, its method and video display device