JP2008227725A - Image processor, image processing method, and program - Google Patents

Image processor, image processing method, and program Download PDF

Info

Publication number
JP2008227725A
JP2008227725A JP2007060428A JP2007060428A JP2008227725A JP 2008227725 A JP2008227725 A JP 2008227725A JP 2007060428 A JP2007060428 A JP 2007060428A JP 2007060428 A JP2007060428 A JP 2007060428A JP 2008227725 A JP2008227725 A JP 2008227725A
Authority
JP
Japan
Prior art keywords
image
superimposed display
moving image
camera shake
subject
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.)
Granted
Application number
JP2007060428A
Other languages
Japanese (ja)
Other versions
JP5040378B2 (en
Inventor
Jun Hirai
純 平井
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2007060428A priority Critical patent/JP5040378B2/en
Publication of JP2008227725A publication Critical patent/JP2008227725A/en
Application granted granted Critical
Publication of JP5040378B2 publication Critical patent/JP5040378B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To correct camera-shake of a moving image including an overlay display without giving a strange feeling. <P>SOLUTION: When there is an overlay display in an input image, camera-shake correction processing is applied to the input image in step S5. In step S6, it is determined whether or not field interpolation can be adopted in deleting the overlay display; when the determination is affirmative, the overlay display of the field image is deleted by field interpolation; and when it is negative, the overlay display of the field image is deleted by in-plane interpolation. This can be applied to, for example, a television receiver, video player, or the like. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、画像処理装置、画像処理方法、およびプログラムに関し、例えば、撮影済みの動画像の手振れを補正する場合に用いて好適な画像処理装置、画像処理方法、およびプログラムに関する。   The present invention relates to an image processing device, an image processing method, and a program. For example, the present invention relates to an image processing device, an image processing method, and a program that are suitable for correcting camera shake of a captured moving image.

現在発売されているビデオカメラの多くには手振れ補正機能が備えてられており、撮影時に手振れを補正して、補正済みの動画像を記録することが可能である。ビデオカメラが備える手振れ補正機能には、光学式手振れ補正方式、電子式手振れ補正方式などが存在する(例えば、特許文献1参照)。   Many of the video cameras currently on the market are equipped with a camera shake correction function, which can correct a camera shake during shooting and record a corrected moving image. As a camera shake correction function provided in the video camera, there are an optical camera shake correction method, an electronic camera shake correction method, and the like (for example, see Patent Document 1).

光学式手振れ補正方式は、ビデオカメラに内蔵されたジャイロセンサなどによって手振れを検出し、検出結果に対応して撮影時の光軸をオフセットすることにより、記録される画像のブレを抑止するようになされている。電子式手振れ補正方式は、画像内における被写体の位置に応じて、撮影した画像よりも縦方向に走査線数十本分だけ狭い有効部分を決定し、決定した有効部分だけを記録することにより、記録される画像内の被写体の振動を抑止するようになされている。   In the optical image stabilization method, camera shake is detected by a gyro sensor built in the video camera, and the optical axis at the time of shooting is offset according to the detection result, thereby suppressing blurring of the recorded image. Has been made. The electronic image stabilization method determines an effective portion that is narrower by several tens of scanning lines in the vertical direction than the captured image according to the position of the subject in the image, and records only the determined effective portion, The vibration of the subject in the recorded image is suppressed.

特開平5−316404号公報JP-A-5-316404

ところで、手振れ補正機能を有していないビデオカメラによって記録された動画像を再生して表示した場合、手振れによって画像が上下左右に震動あるいは回転して見づらいことがある。このような不都合を解消するため、再生した動画像に対して、上述した電子式手振れ補正と同様の画像処理(以下、再生時における手振れ補正処理と称する)を施すことにより、画像内の被写体の振動を抑止する方法が考えられる。   By the way, when a moving image recorded by a video camera that does not have a camera shake correction function is reproduced and displayed, it may be difficult to see the image shaking or rotating up and down and left and right due to camera shake. In order to eliminate such inconvenience, the reproduced moving image is subjected to image processing similar to the above-described electronic camera shake correction (hereinafter referred to as camera shake correction processing at the time of reproduction), so that the subject in the image is corrected. A method for suppressing vibration is conceivable.

再生時における手振れ補正処理の妨げとなるのが、撮影された動画像に重畳されている撮影日時などを示す文字列(以下、重畳表示と称する)の存在である。例えば、図1A、図1B、図1Cに示す連続したフィールド画像f1,f2,f3にように、手振れが生じた動画像に重畳表示が存在する場合、これに電子的手振れ補正処理を施すと、図2A乃至図2Cに示すとおりとなる。   The obstacle to the camera shake correction processing during reproduction is the presence of a character string (hereinafter referred to as superimposed display) indicating the shooting date and time superimposed on the captured moving image. For example, as shown in FIG. 1A, FIG. 1B, and FIG. 1C, when there is a superimposed display on a moving image in which camera shake occurs, as shown in the continuous field images f1, f2, and f3, when electronic camera shake correction processing is performed on this, As shown in FIGS. 2A to 2C.

すなわち、フィールド画像f1,f2,f3のそれぞれから被写体(いまの場合、家)の位置に応じた有効部分が抽出されて、フィールド画像f1’,f2’,f3’が生成される。この結果、フィールド画像f1’には重畳表示が含まれず、フィールド画像f2’には重畳表示が残り、フィールド画像f3’には重畳表示が部分的に残ってしまう。この結果、被写体の上下の振動は収まるものの、重畳表示(いまの場合、1995/2/1/10:30)の位置が変化したり、消滅したりしてしまう(以下、重畳表示が「泳いでしまう」とも表現する)ことが発生し得るので、何らかの対策が必要である。   That is, an effective portion corresponding to the position of the subject (in this case, a house) is extracted from each of the field images f1, f2, and f3, and field images f1 ', f2', and f3 'are generated. As a result, the field image f1 'does not include superimposed display, the field image f2' remains superimposed, and the field image f3 'partially remains superimposed. As a result, although the vertical vibration of the subject is reduced, the position of the superimposed display (in this case, 1995/2/1/10: 30) changes or disappears (hereinafter, the superimposed display is “Swimming”). It is also possible to take some countermeasures.

なお、一般的なビデオカメラでは、撮影日時などの情報は動画像と対応付けて動画像とは別に記録され、再生時に必要に応じて動画像に重畳されて出力されるようになされているので、上述した問題は杞憂であるとも思える。   In general video cameras, information such as the shooting date and time is recorded separately from the moving image in association with the moving image, and is output by being superimposed on the moving image as necessary during playback. It seems that the above-mentioned problem is depressing.

しかしながら、従来のビデオカメラにはコストダウンなどを目的として、撮影日時などの文字列を動画像に重畳させた状態で記録するものが存在するし、一般的なビデオカメラから撮影日時などが重畳された状態で出力された手振れのある動画像を入力ソースとして場合や、放送局のロゴや放送時刻などの重畳表示が画像上に存在している手振れのある放送コンテンツを入力ソースとした場合などは、再生時における手振れ補正処理を施したときの、重畳表示への対策は必須である。   However, some conventional video cameras record a character string such as a shooting date and time superimposed on a moving image for the purpose of cost reduction, and the shooting date and time are superimposed from a general video camera. If the input source is a moving image with camera shake that is output in the state, or if the input source is broadcast content with camera shake that is superimposed on the image, such as a broadcast station logo or broadcast time Therefore, it is essential to take measures against the superimposed display when the camera shake correction process during reproduction is performed.

本発明はこのような状況に鑑みてなされたものであり、重畳表示が存在する動画像の手振れに起因する被写体の振動を違和感なく補正できるようにするものである。   The present invention has been made in view of such a situation, and makes it possible to correct a subject's vibration caused by camera shake of a moving image on which superimposed display exists without a sense of incongruity.

本発明の一側面である画像処理装置は、動画像における被写体の振動を補正する画像処理装置において、前記動画像の被写体に重畳され、画面上の固定された位置に存在する重畳表示を検出する検出手段と、前記動画像における被写体の振動を補正する手振れ補正手段と、前記補正手段による補正済みの前記動画像から、前記検出手段によって検出された前記重畳表示を消去する消去手段とを含む。   An image processing apparatus according to an aspect of the present invention is an image processing apparatus that corrects vibration of a subject in a moving image, and detects a superimposed display that is superimposed on the subject of the moving image and exists at a fixed position on a screen. Detecting means; camera shake correcting means for correcting the vibration of the subject in the moving image; and erasing means for erasing the superimposed display detected by the detecting means from the moving image corrected by the correcting means.

前記消去手段は、前記補正手段による補正済みの前記動画像を構成する一連の静止画像のうち、前記重畳表示が存在する静止画像の前記重畳表示が存在する領域を、前記重畳表示が存在しない静止画像の対応する領域を用いて置換することにより、前記重畳表示を消去するようにすることができる。   The erasing unit includes a region where the superimposed display of the still image where the superimposed display exists is included in a series of still images constituting the moving image corrected by the correcting unit. The superposition display can be erased by replacing the corresponding area of the image.

前記消去手段は、前記補正手段による補正済みの前記動画像を構成する一連の静止画像のうち、前記重畳表示が存在する静止画像の前記重畳表示が存在する領域に所定のフィルタリング処理を行うことにより、前記重畳表示を消去するようにすることができる。   The erasing unit performs a predetermined filtering process on a region where the superimposed display of the still image where the superimposed display is present among a series of still images constituting the moving image corrected by the correcting unit. The superimposed display can be erased.

本発明の一側面である画像処理方法は、動画像における被写体の振動を補正する画像処理装置の画像処理方法において、前記動画像の被写体に重畳され、画面上の固定された位置に存在する重畳表示を検出する検出ステップと、前記動画像における被写体の振動を補正する手振れ補正ステップと、前記補正ステップの処理による補正済みの前記動画像から、前記検出ステップの処理で検出された前記重畳表示を消去する消去ステップとを含む。   An image processing method according to an aspect of the present invention is an image processing method of an image processing apparatus that corrects vibration of a subject in a moving image, and is superimposed on the subject of the moving image and exists at a fixed position on a screen. A detection step for detecting a display; a camera shake correction step for correcting vibrations of a subject in the moving image; and the superimposed display detected by the process of the detection step from the moving image corrected by the process of the correction step. An erasing step for erasing.

本発明の一側面であるプログラムは、動画像における被写体の振動を補正するコンピュータの制御用のプログラムであって、前記動画像の被写体に重畳され、画面上の固定された位置に存在する重畳表示を検出する検出ステップと、前記動画像における被写体の振動を補正する手振れ補正ステップと、前記補正ステップの処理による補正済みの前記動画像から、前記検出ステップの処理で検出された前記重畳表示を消去する消去ステップとを含む処理をコンピュータに実行させる。   A program according to an aspect of the present invention is a computer control program that corrects vibration of a subject in a moving image, and is superimposed on the subject of the moving image and is present at a fixed position on a screen. A detection step for detecting the image, a camera shake correction step for correcting the vibration of the subject in the moving image, and the superimposed display detected by the processing of the detection step is erased from the moving image corrected by the processing of the correction step. And causing the computer to execute a process including an erasing step.

本発明の一側面においては、動画像の被写体に重畳されていて、画面上の固定された位置に存在する重畳表示が検出され、動画像における被写体の振動が補正され、補正済みの動画像から、検出された重畳表示が消去される。   In one aspect of the present invention, a superimposed display that is superimposed on a subject of a moving image and is present at a fixed position on the screen is detected, vibration of the subject in the moving image is corrected, and the corrected moving image The detected superimposed display is erased.

本発明の一側面によれば、撮影時の手振れなどに起因する動画像の被写体の振動を補正することができる。   According to one aspect of the present invention, it is possible to correct vibration of a subject in a moving image caused by camera shake during shooting.

また、本発明の一側面によれば、撮影時の手振れなどに起因する動画像の被写体の振動を補正しつつ、重畳表示を違和感なく消去することができる。   In addition, according to one aspect of the present invention, it is possible to erase the superimposed display without a sense of incongruity while correcting the vibration of the subject of the moving image due to camera shake during shooting.

以下に本発明の実施の形態を説明するが、本発明の構成要件と、明細書または図面に記載の実施の形態との対応関係を例示すると、次のようになる。この記載は、本発明をサポートする実施の形態が、明細書または図面に記載されていることを確認するためのものである。従って、明細書または図面中には記載されているが、本発明の構成要件に対応する実施の形態として、ここには記載されていない実施の形態があったとしても、そのことは、その実施の形態が、その構成要件に対応するものではないことを意味するものではない。逆に、実施の形態が構成要件に対応するものとしてここに記載されていたとしても、そのことは、その実施の形態が、その構成要件以外の構成要件には対応しないものであることを意味するものでもない。   Embodiments of the present invention will be described below. Correspondences between constituent elements of the present invention and the embodiments described in the specification or the drawings are exemplified as follows. This description is intended to confirm that the embodiments supporting the present invention are described in the specification or the drawings. Therefore, even if there is an embodiment which is described in the specification or the drawings but is not described here as an embodiment corresponding to the constituent elements of the present invention, that is not the case. It does not mean that the form does not correspond to the constituent requirements. Conversely, even if an embodiment is described here as corresponding to a configuration requirement, that means that the embodiment does not correspond to a configuration requirement other than the configuration requirement. It's not something to do.

本発明の一側面である画像処理装置(例えば、図3の画像処理装置10)は、動画像の被写体に重畳され、画面上の固定された位置に存在する重畳表示を検出する検出手段(例えば、図3の重畳表示検出部15)と、動画像における被写体の振動を補正する手振れ補正手段(例えば、図3の手振れ補正部13)と、補正手段による補正済みの動画像から、検出手段によって検出された重畳表示を消去する消去手段(例えば、図3の重畳表示消去部17)とを含む。   An image processing apparatus according to one aspect of the present invention (for example, the image processing apparatus 10 in FIG. 3) is a detection unit (for example, a superimposed display that is superimposed on a subject of a moving image and exists at a fixed position on the screen). 3), a camera shake correction unit (for example, the camera shake correction unit 13 in FIG. 3) that corrects the vibration of the subject in the moving image, and a moving image that has been corrected by the correction unit. Erasing means for erasing the detected superimposed display (for example, the superimposed display erasing unit 17 in FIG. 3).

本発明の一側面である画像処理方法およびプログラムは、動画像の被写体に重畳され、画面上の固定された位置に存在する重畳表示を検出する検出ステップ(例えば、図5のステップS2)と、動画像における被写体の振動を補正する手振れ補正ステップ(例えば、図5のステップS5)と、補正ステップの処理による補正済みの動画像から、検出ステップの処理で検出された重畳表示を消去する消去ステップ(例えば、図5のステップ7またはS8)とを含む。   An image processing method and a program according to one aspect of the present invention include a detection step (for example, step S2 in FIG. 5) for detecting a superimposed display that is superimposed on a subject of a moving image and exists at a fixed position on the screen. A camera shake correction step (for example, step S5 in FIG. 5) for correcting the vibration of the subject in the moving image, and an erasing step for erasing the superimposed display detected by the detection step process from the corrected moving image by the correction step process (For example, step 7 or S8 in FIG. 5).

以下、本発明を適用した具体的な実施の形態について、図面を参照しながら詳細に説明する。   Hereinafter, specific embodiments to which the present invention is applied will be described in detail with reference to the drawings.

図3は、本発明の一実施の形態である画像処理装置の構成例を示している。この画像処理装置10は、入力されるインタレース方式の動画像信号(以下、入力画像と称する)の撮影時における手振れを補正し、かつ重畳表示を消去するものであり、手振れ補正実行判定部11、手振れ補正部13、重畳表示検出部15、および重畳表示消去部17から構成される。   FIG. 3 shows a configuration example of an image processing apparatus according to an embodiment of the present invention. The image processing apparatus 10 corrects camera shake at the time of shooting an input interlaced moving image signal (hereinafter referred to as an input image) and erases the superimposed display. The camera shake correction unit 13, the superimposed display detecting unit 15, and the superimposed display erasing unit 17.

手振れ補正実行判定部11は、入力画像を構成するフィールド画像を数枚分保持できるバッファ12を内蔵しており、バッファ12に保持されたフィールド画像に基づいて、入力画像に手振れ補正処理を施すか否かを判定し、判定結果を手振れ補正部13に通知する。   The camera shake correction execution determination unit 11 has a built-in buffer 12 that can hold several field images constituting the input image. Based on the field image held in the buffer 12, the camera shake correction execution determination unit 11 performs the camera shake correction process. It determines whether or not, and notifies the camera shake correction unit 13 of the determination result.

手振れ補正実行判定部11による判定は、フィールド間相関やヒストグラムの変化などによって一連の動画像をシーン毎に区切り、シーン毎に判定を行う。例えば、フィールド画像内における被写体の振動が手振れ補正処理が可能である範囲(例えば、走査線数十本ほど)である場合、手振れ補正処理を施すと判定する。また例えば、フィールド画像内における被写体の振動が極めて少ない場合、手振れ補正処理の必要がないので、手振れ補正処理を施さないと判定する。さらに例えば、被写体の動きが速過ぎる場合、手振れ補正処理の効果が出ないので、手振れ補正処理を施さないと判定する。   The determination by the camera shake correction execution determination unit 11 divides a series of moving images for each scene based on inter-field correlation, histogram change, and the like, and performs determination for each scene. For example, when the vibration of the subject in the field image is within a range in which the camera shake correction process is possible (for example, about several tens of scanning lines), it is determined that the camera shake correction process is performed. For example, when the vibration of the subject in the field image is extremely small, it is determined that the camera shake correction process is not performed because the camera shake correction process is unnecessary. Further, for example, when the movement of the subject is too fast, the effect of the camera shake correction process is not achieved, so it is determined that the camera shake correction process is not performed.

手振れ補正部13は、入力画像を構成するフィールド画像を数枚分保持できるバッファ14を内蔵しており、手振れ補正実行判定部11の判定結果に対応して、図1および図2を参照して上述した従来からの手振れ補正処理を入力画像に施して重畳表示消去部17に出力する。なお、手振れ補正処理を施さない場合、手振れ補正部13は、入力画像をそのまま重畳表示消去部17に出力する。   The camera shake correction unit 13 has a built-in buffer 14 that can hold several field images constituting the input image, and corresponds to the determination result of the camera shake correction execution determination unit 11 with reference to FIGS. 1 and 2. The above-described conventional camera shake correction processing is performed on the input image and output to the superimposed display erasure unit 17. When the camera shake correction process is not performed, the camera shake correction unit 13 outputs the input image to the superimposed display erasing unit 17 as it is.

重畳表示検出部15は、入力画像を構成するフィールド画像を数枚分保持できるバッファ16を内蔵しており、入力画像の画面上の固定された位置に存在し続けて移動しない重畳表示(撮影日時、放送時刻、放送局のロゴなどの文字列やマーク)を検出し、検出結果(重畳表示の有無、位置、サイズなど)を重畳表示消去部17に通知する。   The superimposed display detection unit 15 has a built-in buffer 16 that can hold several field images constituting the input image, and continues to exist at a fixed position on the screen of the input image and does not move (shooting date and time). , A broadcasting time, a character string or mark such as a logo of a broadcasting station) is detected, and the detection result (presence / absence of superimposed display, position, size, etc.) is notified to the superimposed display erasure unit 17.

重畳表示検出部15による重畳表示の検出には、位相限定フィルタ(SPOMF:symmetric phase only matched filter)を用いた画像相関に基づく方法、FFT(Fast Fourier Transforms)による周波数スペクトラムに基づく方法、または接続された画像出力装置を特定する方法などが適用できるので、これらのいずれか、またはこれらを組み合わせて採用する。   For the detection of superimposed display by the superimposed display detection unit 15, a method based on image correlation using a symmetric phase only matched filter (SPOMF), a method based on a frequency spectrum by FFT (Fast Fourier Transforms), or a connection is used. Any of these methods or a combination of these methods can be adopted.

SPOMFを用いた画像相関に基づく方法では、画面上で移動しない重畳表示と、画面上で移動する被写体(重畳表示の背景)のそれぞれは隣接するフィールド画像間で相関値のピークが出現するので、この相関値のピークを利用して重畳表示を検出する。なお、位相限定フィルタについては、例えば文献”Symmetrical Phase-Only Matched Filtering of Fourier-Mellin Transforms for Registration and Recognition”,IEEE Transaction on Pattern analysis and Machine Intelligence,VOL.16 No.12 December 1994 などに記載されている。   In the method based on image correlation using SPOMF, since a superimposed display that does not move on the screen and a subject that moves on the screen (background of the superimposed display) each show a peak of a correlation value between adjacent field images, The superimposed display is detected using the peak of the correlation value. The phase-only filter is described in, for example, the literature “Symmetrical Phase-Only Matched Filtering of Fourier-Mellin Transforms for Registration and Recognition”, IEEE Transaction on Pattern analysis and Machine Intelligence, VOL.16 No.12 December 1994, etc. Yes.

FFTによる周波数スペクトラムに基づく方法では、重畳表示が存在する部分の周波数スペクトラムに特徴があることを利用して重畳表示を検出する。   In the method based on the frequency spectrum by FFT, the superimposed display is detected by using the characteristic of the frequency spectrum of the portion where the superimposed display exists.

接続された画像出力装置を特定する方法では、画像処理装置10に入力画像を供給する画像出力装置(不図示)との接続インタフェースに依存するが、例えば接続インタフェースがIEEE1394である場合、画像処理装置10は接続相手である画像出力装置の機種、型式などを識別することができるので、この識別した機種、型番などを利用する。具体的には、機種、型番などに対応して重畳表示が表示される位置、サイズ、輝度などが記録されているデータベースを予め準備し、識別した機種、型番などに応じて当該データベースを参照することにより、重畳表示の有無、位置、サイズ、輝度などを取得する。   The method for specifying the connected image output apparatus depends on a connection interface with an image output apparatus (not shown) that supplies an input image to the image processing apparatus 10. For example, when the connection interface is IEEE1394, the image processing apparatus Since 10 can identify the model and model of the image output apparatus that is the connection partner, the identified model and model number are used. Specifically, a database in which the position, size, brightness, etc., where the superimposed display is displayed corresponding to the model, model number, etc. is prepared in advance, and the database is referred to according to the identified model, model number, etc. As a result, the presence / absence, position, size, brightness, etc. of the superimposed display are acquired.

なお、重畳表示検出部15による重畳表示の検出には、上に挙げた3例以外の方法を採用してもかまわない。   Note that methods other than the above three examples may be adopted for detection of the superimposed display by the superimposed display detection unit 15.

重畳表示消去部17は、手振れ補正部13から入力されるフィールド画像を数枚分保持できるバッファ18を内蔵しており、重畳表示検出部15から通知される重畳表示の通知結果に基づき、手振れ補正部13から入力されるフィールド画像に存在する重畳表示を消去する。   The superimposed display erasure unit 17 includes a buffer 18 that can hold several field images input from the camera shake correction unit 13. Based on the notification result of the superimposed display notified from the superimposed display detection unit 15, camera shake correction is performed. The superimposed display existing in the field image input from the unit 13 is deleted.

重畳表示を消去する方法としては、重畳表示が含まれる矩形領域(他の形状の領域でもよい)をローパスフィルタを用いてぼかす方法、重畳表示が含まれる矩形領域(他の形状の領域でもよい)を他の矩形領域で置換する方法、または重畳表示の領域だけ(文字などの輪郭内の領域だけ)を他の領域で置換する方法が採用される。   As a method of erasing the superimposed display, a rectangular area including the superimposed display (an area having another shape may be blurred) using a low-pass filter, or a rectangular area including the superimposed display (an area having another shape may be used). Is replaced with another rectangular region, or a method of replacing only the superimposition display region (only the region within the outline of characters or the like) with another region.

なお、重畳表示が含まれる矩形領域をローパスフィルタを用いてぼかす方法は、重畳表示を完全に消去させることができないだけでなく、重畳表示の背景がぼやけてしまう欠点がある。   Note that the method of blurring a rectangular area including a superimposed display using a low-pass filter has a drawback that the superimposed display cannot be completely erased and the background of the superimposed display is blurred.

重畳表示を含む矩形領域を他の矩形領域で置換する方法は、置換に用いる矩形領域として、同一フィールド画像内の近傍の領域を流用する方法(以下、面内補間と称する)と、バッファ18に保持されている時間的に近い異なるフィールド画像の対応する位置の領域を流用する方法(以下、フィールド補間と称する)の2種類がある。   A method of replacing a rectangular region including superimposed display with another rectangular region is a method of using a nearby region in the same field image as a rectangular region used for replacement (hereinafter referred to as in-plane interpolation), There are two types of methods (hereinafter referred to as field interpolation) in which regions of corresponding positions of different field images held in time are retained.

フィールド補間は、例えば図2に示されたフィールド画像f1’乃至f3’がバッファ18に保持されている場合、フィールド画像f2’,f3’の重畳表示を含む領域を、図4Aに示す重畳表示が存在しないフィールド画像f1’の流用領域21で置換することにより、図4B,図4Cに示すように、フィールド画像f2’,f3’の重畳表示を消去して、フィールド画像f2”,f3”を生成する。   In the field interpolation, for example, when the field images f1 ′ to f3 ′ shown in FIG. 2 are held in the buffer 18, the region including the superimposed display of the field images f2 ′ and f3 ′ is displayed in the superimposed display shown in FIG. 4A. By substituting with the diversion area 21 of the nonexistent field image f1 ′, as shown in FIGS. 4B and 4C, the superimposed display of the field images f2 ′ and f3 ′ is deleted, and the field images f2 ″ and f3 ″ are generated. To do.

重畳表示の領域だけを他の領域で置換する方法も、重畳表示を含む矩形領域を他の矩形領域で置換する方法と同様、面内補間とフィールド補間の2種類がある。   There are two types of methods for replacing only the superimposed display area with other areas, as in the method for replacing the rectangular area including the superimposed display with another rectangular area, in-plane interpolation and field interpolation.

面内補間とフィールド補間を比較した場合、時間的に近いフィールド画像は類似していることに起因して、フィールド補間の方が重畳表示を消去した後の画像の画質が高くなると考えられる。したがって、基本的にフィールド補間を採用し、フィールド補間ができない場合に面内補間を採用するようにする。   When in-plane interpolation and field interpolation are compared, field images that are close in time are similar, and it is considered that field interpolation results in higher image quality after the superimposed display is erased. Therefore, field interpolation is basically employed, and in-plane interpolation is employed when field interpolation is not possible.

フィールド補間に用いるフィールド画像(以下、流用フィールド画像と称する)は以下の基準に基づいて決定される。すなわち、流用フィールド画像には、重畳表示を消去するフィールド画像にできるだけ時間的に近く、流用する領域に重畳表示が無く、ぼやけていないものであって、重畳表示を消去するフィールド画像との間にシーンチェンジが無く、重畳表示を消去するフィールド画像と明るさに大きな変化が無いものを採用する。このような条件を満たすフィールド画像が存在しない場合、面内補間を採用する。   A field image used for field interpolation (hereinafter referred to as a diverted field image) is determined based on the following criteria. In other words, the diverted field image is as close in time as possible to the field image from which the superimposed display is erased, and there is no superimposed display in the diverted area and is not blurred. A field image for which there is no scene change and the superimposed display is erased and an image having no significant change in brightness are adopted. If there is no field image that satisfies such conditions, in-plane interpolation is adopted.

次に、画像処理装置10による手振れ補正処理について、図5のフローチャートを参照して説明する。   Next, camera shake correction processing by the image processing apparatus 10 will be described with reference to the flowchart of FIG.

前段の画像出力装置から供給されたインタレース方式の動画像は、それぞれ手振れ補正実行判定部11、手振れ補正部13、および重畳表示検出部15に入力される。   The interlaced moving images supplied from the preceding image output apparatus are input to the camera shake correction execution determination unit 11, the camera shake correction unit 13, and the superimposed display detection unit 15, respectively.

ステップS1において、手振れ補正実行判定部11は、バッファ12に保持されたフィールド画像に基づき、入力画像に対して手振れ補正処理を施すか否かを判定し、判定結果を手振れ補正部13に通知する。手振れ補正処理を施すと判定された場合、処理はステップS2に進められる。   In step S <b> 1, the camera shake correction execution determination unit 11 determines whether or not to perform the camera shake correction process on the input image based on the field image held in the buffer 12, and notifies the camera shake correction unit 13 of the determination result. . If it is determined that the camera shake correction process is to be performed, the process proceeds to step S2.

ステップS2において、重畳表示検出部15は、入力画像に重畳表示が存在するか否かを判定する。入力画像に重畳表示が存在しないと判定された場合、処理はステップS3に進められる。ステップS3において、重畳表示検出部15は、入力画像に重畳表示が存在しない旨を重畳表示消去部17に通知する。   In step S2, the superimposed display detection unit 15 determines whether or not there is a superimposed display in the input image. If it is determined that there is no superimposed display in the input image, the process proceeds to step S3. In step S3, the superimposed display detecting unit 15 notifies the superimposed display erasing unit 17 that there is no superimposed display in the input image.

ステップS3において、手振れ補正部13は、入力画像に手振れ補正処理を施して重畳表示消去部17に出力する。この後、処理はステップS9に進められ、ステップS9において、重畳表示消去部17は、手振れ補正部13から入力された手振れ補正処理が施されたフィールド画像を後段に出力する。   In step S <b> 3, the camera shake correction unit 13 performs a camera shake correction process on the input image and outputs the input image to the superimposed display erasing unit 17. Thereafter, the process proceeds to step S9. In step S9, the superimposed display erasure unit 17 outputs the field image subjected to the camera shake correction process input from the camera shake correction unit 13 to the subsequent stage.

一方、ステップS2において、入力画像に重畳表示が存在すると判定された場合、処理はステップS4に進められる。ステップS4において、重畳表示検出部15は、重畳表示の位置、サイズなどを検出して重畳表示消去部17に通知する。   On the other hand, if it is determined in step S2 that superimposed display exists in the input image, the process proceeds to step S4. In step S <b> 4, the superimposed display detection unit 15 detects the position and size of the superimposed display and notifies the superimposed display erasing unit 17.

ステップS5において、手振れ補正部13は、上述したステップS3の処理と同様、入力画像に手振れ補正処理を施して重畳表示消去部17に出力する。   In step S <b> 5, the camera shake correction unit 13 performs a camera shake correction process on the input image and outputs the input image to the superimposed display erasing unit 17 as in the process of step S <b> 3 described above.

ステップS6において、重畳表示消去部17は、手振れ補正部13から入力されたフィールド画像の重畳表示を消去するに際してフィールド補間を採用できるか否か判定する。フィールド補間を採用できると判定した場合、重畳表示消去部17は、処理をステップS7に進めて、フィールド補間によってフィールド画像の重畳表示を消去し、ステップS9において、重畳表示を消去したフィールド画像を後段に出力する。   In step S <b> 6, the superimposed display erasing unit 17 determines whether or not field interpolation can be adopted when erasing the superimposed display of the field image input from the camera shake correction unit 13. When it is determined that the field interpolation can be adopted, the superimposed display erasure unit 17 advances the process to step S7, erases the superimposed display of the field image by the field interpolation, and in step S9, deletes the field image from which the superimposed display is erased. Output to.

反対に、ステップS6において、フィールド補間を採用できないと判定された場合、処理はステップS8に進められる。ステップS8において、重畳表示消去部17は、面内補間によってフィールド画像の重畳表示を消去し、ステップS9において、重畳表示を消去したフィールド画像を出力する。   Conversely, if it is determined in step S6 that field interpolation cannot be employed, the process proceeds to step S8. In step S8, the superimposed display erasure unit 17 erases the superimposed display of the field image by in-plane interpolation, and outputs the field image from which the superimposed display is erased in step S9.

なお、ステップS1において、入力画像に対して手振れ補正処理を施さないと判定された場合、ステップS2乃至S8はスキップされて処理はステップS9に進められる。ステップS9において、手振れ補正部13は、入力画像をそのまま重畳表示消去部18に出力し、重畳表示消去部17も、入力画像をそのまま後段に出力する。以上で、画像処理装置10による手振れ補正処理の説明を終了する。   If it is determined in step S1 that the camera shake correction process is not performed on the input image, steps S2 to S8 are skipped and the process proceeds to step S9. In step S9, the camera shake correction unit 13 outputs the input image as it is to the superimposed display erasing unit 18, and the superimposed display erasing unit 17 also outputs the input image as it is to the subsequent stage. This is the end of the description of the camera shake correction process performed by the image processing apparatus 10.

画像処理装置10による手振れ補正処理によれば、手振れ補正後のフィールド画像から重畳表示を消去するので、出力画像上で重畳表示が泳ぐことはない。したがって、ユーザに手振れがなく見やすい出力画像を提供することができる。   According to the camera shake correction process performed by the image processing apparatus 10, since the superimposed display is erased from the field image after the camera shake correction, the superimposed display does not swim on the output image. Therefore, it is possible to provide an output image that is easy to view without camera shake.

なお、本実施の形態においては、インタレース方式の動画像を入力画像としたが、プログレッシブ方式の動画像を入力画像として、当該動画像を構成するフレーム画像を処理の対象とするようにしてもよい。   In the present embodiment, an interlaced moving image is used as an input image. However, a progressive moving image is used as an input image, and a frame image constituting the moving image may be processed. Good.

また、本発明は、本実施の形態のように、既に存在する動画像を処理対象とするだけでなく、例えば、ビデオカメラからリアルタイムに出力される動画像を処理対象としてもよい。   In addition, as in the present embodiment, the present invention may not only process a moving image that already exists, but may also process a moving image output in real time from a video camera, for example.

本発明は、例えば、テレビジョン受像機、ビデオプレーヤ、ビデオカメラなどに適用することができる。また、過去に撮影され保存されている撮影フィルムや放送コンテンツを編集し、ディジタルデータとして保存し直す場合などにも適用することができる。   The present invention can be applied to, for example, a television receiver, a video player, a video camera, and the like. Further, the present invention can also be applied to a case where a photographic film or broadcast content shot and stored in the past is edited and stored again as digital data.

ところで、上述した一連の処理は、図3のブロック図のように構成されたハードウェアにより実行することもできるし、ソフトウェアにより実行することもできる。一連の処理をソフトウェアにより実行する場合には、そのソフトウェアを構成するプログラムが、専用のハードウェアに組み込まれているコンピュータ、または、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば汎用のパーソナルコンピュータなどに、プログラム記録媒体からインストールされる。   By the way, the series of processes described above can be executed by hardware configured as shown in the block diagram of FIG. 3 or can be executed by software. When a series of processing is executed by software, a program constituting the software may execute various functions by installing a computer incorporated in dedicated hardware or various programs. For example, it is installed from a program recording medium in a general-purpose personal computer or the like.

図6は、上述した一連の処理をプログラムにより実行するコンピュータのハードウェアの構成例を示すブロック図である。   FIG. 6 is a block diagram illustrating a hardware configuration example of a computer that executes the above-described series of processing by a program.

このコンピュータ50において、CPU(Central Processing Unit)51,ROM(Read Only Memory)52,RAM(Random Access Memory)53は、バス54により相互に接続されている。   In the computer 50, a CPU (Central Processing Unit) 51, a ROM (Read Only Memory) 52, and a RAM (Random Access Memory) 53 are connected to each other by a bus 54.

バス54には、さらに、入出力インタフェース55が接続されている。入出力インタフェース55には、キーボード、マウスなどよりなる入力部56、ディスプレイ、スピーカなどよりなる出力部57、ハードディスクや不揮発性のメモリなどよりなる記憶部58、ネットワークインタフェースなどよりなる通信部59、磁気ディスク、光ディスク、光磁気ディスク、或いは半導体メモリなどのリムーバブルメディア61を駆動するドライブ60が接続されている。   An input / output interface 55 is further connected to the bus 54. The input / output interface 55 includes an input unit 56 including a keyboard and a mouse, an output unit 57 including a display and a speaker, a storage unit 58 including a hard disk and a nonvolatile memory, a communication unit 59 including a network interface, and a magnetic field. A drive 60 for driving a removable medium 61 such as a disk, an optical disk, a magneto-optical disk, or a semiconductor memory is connected.

以上のように構成されるコンピュータ50では、CPU51が、例えば、記憶部58に記憶されているプログラムを、入出力インタフェース55およびバス54を介して、RAM53にロードして実行することにより、上述した一連の処理が行われる。   In the computer 50 configured as described above, for example, the CPU 51 loads the program stored in the storage unit 58 to the RAM 53 via the input / output interface 55 and the bus 54 and executes the program. A series of processing is performed.

なお、コンピュータ50が実行するプログラムは、本明細書で説明する順序に沿って時系列に処理が行われるプログラムであっても良いし、並列に、あるいは呼び出しが行われたとき等の必要なタイミングで処理が行われるプログラムであっても良い。   Note that the program executed by the computer 50 may be a program that is processed in time series in the order described in this specification, or a necessary timing such as in parallel or when a call is made. It may be a program in which processing is performed.

なお、本発明の実施の形態は、上述した実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲において種々の変更が可能である。   The embodiment of the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the gist of the present invention.

手振れと重畳表示のあるフィールド画像の例を示す図である。It is a figure which shows the example of the field image with a camera shake and a superimposed display. 図1のフィールド画像に手振れ補正だけを施した例を示す図である。It is a figure which shows the example which performed only the camera shake correction to the field image of FIG. 本発明を適用した画像処理装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the image processing apparatus to which this invention is applied. 図1のフィールド画像に本発明を適用した手振れ補正処理を施した例を示す図である。It is a figure which shows the example which performed the camera-shake correction process which applied this invention to the field image of FIG. 本発明を適用した手振れ補正処理を説明するフローチャートである。It is a flowchart explaining the camera-shake correction process to which this invention is applied. 汎用コンピュータの構成例を示すブロック図である。And FIG. 11 is a block diagram illustrating a configuration example of a general-purpose computer.

符号の説明Explanation of symbols

10 画像処理装置, 11 手振れ補正実行判定部, 12 バッファ, 13 重畳表示検出部, 14 バッファ, 15 手振れ補正部, 16 バッファ, 17 重畳表示消去部, 18 バッファ   DESCRIPTION OF SYMBOLS 10 Image processing apparatus, 11 Camera shake correction execution determination part, 12 Buffer, 13 Superimposition display detection part, 14 Buffer, 15 Camera shake correction part, 16 Buffer, 17 Superimposition display deletion part, 18 Buffer

Claims (5)

動画像における被写体の振動を補正する画像処理装置において、
前記動画像の被写体に重畳され、画面上の固定された位置に存在する重畳表示を検出する検出手段と、
前記動画像における被写体の振動を補正する手振れ補正手段と、
前記補正手段による補正済みの前記動画像から、前記検出手段によって検出された前記重畳表示を消去する消去手段と
を含む画像処理装置。
In an image processing apparatus that corrects vibration of a subject in a moving image,
Detecting means for detecting a superimposed display superimposed on a subject of the moving image and existing at a fixed position on a screen;
Camera shake correcting means for correcting the vibration of the subject in the moving image;
An erasing unit for erasing the superimposed display detected by the detecting unit from the moving image corrected by the correcting unit.
前記消去手段は、前記補正手段による補正済みの前記動画像を構成する一連の静止画像のうち、前記重畳表示が存在する静止画像の前記重畳表示が存在する領域を、前記重畳表示が存在しない静止画像の対応する領域を用いて置換することにより、前記重畳表示を消去する
請求項1に記載の画像処理装置。
The erasing unit includes a region where the superimposed display of the still image where the superimposed display exists is included in a series of still images constituting the moving image corrected by the correcting unit. The image processing apparatus according to claim 1, wherein the superimposed display is erased by performing replacement using a corresponding region of the image.
前記消去手段は、前記補正手段による補正済みの前記動画像を構成する一連の静止画像のうち、前記重畳表示が存在する静止画像の前記重畳表示が存在する領域に所定のフィルタリング処理を行うことにより、前記重畳表示を消去する
請求項1に記載の画像処理装置。
The erasing unit performs a predetermined filtering process on a region where the superimposed display of the still image where the superimposed display is present among a series of still images constituting the moving image corrected by the correcting unit. The image processing apparatus according to claim 1, wherein the superimposed display is erased.
動画像における被写体の振動を補正する画像処理装置の画像処理方法において、
前記動画像の被写体に重畳され、画面上の固定された位置に存在する重畳表示を検出する検出ステップと、
前記動画像における被写体の振動を補正する手振れ補正ステップと、
前記補正ステップの処理による補正済みの前記動画像から、前記検出ステップの処理で検出された前記重畳表示を消去する消去ステップと
を含む画像処理方法。
In an image processing method of an image processing apparatus for correcting vibration of a subject in a moving image,
A detection step of detecting a superimposed display superimposed on a subject of the moving image and existing at a fixed position on a screen;
A camera shake correction step for correcting vibration of a subject in the moving image;
An erasing step of erasing the superimposed display detected in the detection step from the corrected moving image in the correction step.
動画像における被写体の振動を補正するコンピュータの制御用のプログラムであって、
前記動画像の被写体に重畳され、画面上の固定された位置に存在する重畳表示を検出する検出ステップと、
前記動画像における被写体の振動を補正する手振れ補正ステップと、
前記補正ステップの処理による補正済みの前記動画像から、前記検出ステップの処理で検出された前記重畳表示を消去する消去ステップと
を含む処理をコンピュータに実行させるプログラム。
A computer control program for correcting vibration of a subject in a moving image,
A detection step of detecting a superimposed display superimposed on a subject of the moving image and existing at a fixed position on a screen;
A camera shake correction step for correcting vibration of a subject in the moving image;
A program that causes a computer to execute a process including: an erasing step of erasing the superimposed display detected in the process of the detection step from the moving image corrected by the process of the correction step.
JP2007060428A 2007-03-09 2007-03-09 Image processing apparatus, image processing method, and program Expired - Fee Related JP5040378B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007060428A JP5040378B2 (en) 2007-03-09 2007-03-09 Image processing apparatus, image processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007060428A JP5040378B2 (en) 2007-03-09 2007-03-09 Image processing apparatus, image processing method, and program

Publications (2)

Publication Number Publication Date
JP2008227725A true JP2008227725A (en) 2008-09-25
JP5040378B2 JP5040378B2 (en) 2012-10-03

Family

ID=39845835

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007060428A Expired - Fee Related JP5040378B2 (en) 2007-03-09 2007-03-09 Image processing apparatus, image processing method, and program

Country Status (1)

Country Link
JP (1) JP5040378B2 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06205271A (en) * 1992-12-28 1994-07-22 Canon Inc Camcorder
JPH07123364A (en) * 1993-10-22 1995-05-12 Canon Inc Image shake correcting device
JPH10108092A (en) * 1996-10-03 1998-04-24 Nippon Telegr & Teleph Corp <Ntt> Video display device
JP2002125184A (en) * 2000-10-13 2002-04-26 Casio Comput Co Ltd Electronic camera system, image processing unit and image restoration device
JP2003333424A (en) * 2002-05-13 2003-11-21 Nippon Hoso Kyokai <Nhk> Original image restoring apparatus and program thereof
JP2004007100A (en) * 2002-05-31 2004-01-08 Fujitsu Ltd Image processor
JP2005333186A (en) * 2004-05-18 2005-12-02 Sanyo Electric Co Ltd Digital camera
JP2008211270A (en) * 2007-02-23 2008-09-11 Eastman Kodak Co Image restoring device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06205271A (en) * 1992-12-28 1994-07-22 Canon Inc Camcorder
JPH07123364A (en) * 1993-10-22 1995-05-12 Canon Inc Image shake correcting device
JPH10108092A (en) * 1996-10-03 1998-04-24 Nippon Telegr & Teleph Corp <Ntt> Video display device
JP2002125184A (en) * 2000-10-13 2002-04-26 Casio Comput Co Ltd Electronic camera system, image processing unit and image restoration device
JP2003333424A (en) * 2002-05-13 2003-11-21 Nippon Hoso Kyokai <Nhk> Original image restoring apparatus and program thereof
JP2004007100A (en) * 2002-05-31 2004-01-08 Fujitsu Ltd Image processor
JP2005333186A (en) * 2004-05-18 2005-12-02 Sanyo Electric Co Ltd Digital camera
JP2008211270A (en) * 2007-02-23 2008-09-11 Eastman Kodak Co Image restoring device

Also Published As

Publication number Publication date
JP5040378B2 (en) 2012-10-03

Similar Documents

Publication Publication Date Title
US9898593B2 (en) System and method for forensic analysis of media works
EP2048878B1 (en) Imaging device, imaging method, and program
US7974492B2 (en) Image data reproducing apparatus with changing proportions of combined enlarged images, method of controlling same and control program therefor
TW502540B (en) A scaling independent technique for watermarking images
US10170157B2 (en) Method and apparatus for finding and using video portions that are relevant to adjacent still images
JP2011082917A (en) Image processing device and method, and program
US20080240517A1 (en) Image processing apparatus
EP2790397B1 (en) Image processing device, image processing method, and program
JP2010239605A (en) Video editing device
JP3468404B2 (en) Video subtitle insertion method and apparatus, and recording medium recording the video subtitle insertion method
JP5040378B2 (en) Image processing apparatus, image processing method, and program
JPWO2007114241A1 (en) Video processing device
US8594454B2 (en) Image production device, reproduction device, reproduction system, image production method, and reproduction method
EP4007261A1 (en) Image processing device, image processing method, and program
US20110235997A1 (en) Method and device for creating a modified video from an input video
US10306140B2 (en) Motion adaptive image slice selection
JP2010073074A (en) Image signal processor, image display device, video recording/reproducing device, and image signal processing method
JP4508112B2 (en) Still image extraction system
US8718446B1 (en) System and method for watermarking video content
KR100743089B1 (en) Method for revising picture of mobile communication terminal and the mobile communication terminal for executing the method
JP6439563B2 (en) Imaging apparatus, imaging method, and program
JP2005057493A (en) Data processor and editing device equipped with same
WO2009139341A1 (en) Video information processing device
JP2009218874A (en) Recording/reproducing device
JP2007221291A (en) Image processing apparatus, photographing apparatus, image processing method and control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100216

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110706

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110712

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110805

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120625

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150720

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees