JPH0955918A - Recovering device for moving picture whose frame rate is changed - Google Patents

Recovering device for moving picture whose frame rate is changed

Info

Publication number
JPH0955918A
JPH0955918A JP7224719A JP22471995A JPH0955918A JP H0955918 A JPH0955918 A JP H0955918A JP 7224719 A JP7224719 A JP 7224719A JP 22471995 A JP22471995 A JP 22471995A JP H0955918 A JPH0955918 A JP H0955918A
Authority
JP
Japan
Prior art keywords
reference point
frame rate
changed
conversion
frame
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
JP7224719A
Other languages
Japanese (ja)
Inventor
Hideki Murota
秀樹 室田
Kazunori Kinoshita
和則 木下
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co Ltd
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 Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP7224719A priority Critical patent/JPH0955918A/en
Publication of JPH0955918A publication Critical patent/JPH0955918A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To convert video data of 30 frames/sec., whose frame rate is changed from an original moving picture, into data of 24 frames/sec., and to equalize the converted frame rate to the original one. SOLUTION: An original data storage means 1 storing the moving picture whose frame rate is changed, a reference point extraction means 2 extracting a reference point for starting conversion in case of conversion, a data conversion means 5 restoring the frame rate based on the extracted reference point and a restored data storage means 6 storing the restored moving picture are provided. The reference point extraction means 2 is composed in detail of a difference calculation means 3 calculating a difference between odd fields between the adjacent frames of the moving picture whose frame rate is changed and the difference between even fields and of a reference point decision means 4 deciding the reference point based on the position of the calculated minimum difference.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、フレームレート
を変更された動画に対し、フレームレートを復元する装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for restoring a frame rate of a moving image whose frame rate is changed.

【0002】[0002]

【従来の技術】最近、ビデオCDという、動画をCD−
ROMに記録したものが市販され、パソコンや専用のプ
レーヤーで利用されている。ビデオCD用に動画データ
を変換(以下、エンコードという)するにはMPEGと
いう圧縮方式がとられている。
2. Description of the Related Art Recently, a moving image called a video CD
The one recorded in ROM is commercially available and used in a personal computer or a dedicated player. A compression method called MPEG is adopted for converting (hereinafter referred to as encoding) moving image data for a video CD.

【0003】このビデオCDに映画の映像を記録する場
合、以下のような手順で行われる。映画のフィルムに記
録された映像は1秒間に24の画面(フレーム)で構成
されており、この映像をそのままデジタル化する手段が
ないため、一旦、日本における標準的なテレビジョンの
規格であるNTSCのデータに変換してデジタルビデオ
テープに記録する。映画の映像をNTSCのビデオデー
タに変換することをテレシネ変換という。映画のフィル
ムは1巻10分程度であるので、このテレシネ変換した
ビデオデータに対して編集し、映像をつなぎ合わせる処
理を行う。編集済みのビデオデータに対してMPEGエ
ンコードが行われている。
When a movie image is recorded on this video CD, the procedure is as follows. The image recorded on the film of a movie is composed of 24 screens (frames) per second, and there is no means to digitize this image as it is. Therefore, once the standard TV standard in Japan, NTSC It is converted to data and recorded on a digital video tape. Converting movie images to NTSC video data is called telecine conversion. Since the film of a movie is about 10 minutes per roll, the telecine-converted video data is edited to join the images. MPEG encoding is performed on the edited video data.

【0004】NTSCの映像は1秒間に30の画面(フ
レーム)で構成されているため、テレシネ変換の主な処
理として、フレームレート(1秒間のフレーム数)を2
4から30に変換するという作業がある。このフレーム
レートの変換の手法を図5に示す。まず、図5(a) に示
すような24フレーム/秒のフィルムデータのフィルム
フレームを奇数番目の走査線(奇数フィールド)と偶数
番目の走査線(偶数フィールド)に分ける。図5(b) は
フィールドに分けた状態である。次に、4フィルムフレ
ームを単位として5ビデオフレームに変換する。図5
(c) に示すように1番目のフィルムフレームは2ビデオ
フィールドに、2番目のフィルムフレームは奇数フィー
ルドをコピーすることにより3ビデオフィールドに、3
番目のフィルムフレームは奇数フィールドと偶数フィー
ルドを入れ換えて2ビデオフィールドに、4番目のフィ
ルムフレームは偶数フィールドをコピーすることにより
3ビデオフィールドに、変換する。
Since an image of NTSC is composed of 30 screens (frames) per second, the frame rate (the number of frames per second) is set to 2 as the main processing of telecine conversion.
There is work to convert from 4 to 30. A method of converting the frame rate is shown in FIG. First, a film frame of 24 frame / sec film data as shown in FIG. 5A is divided into odd-numbered scanning lines (odd fields) and even-numbered scanning lines (even fields). FIG. 5B shows a state in which the fields are divided. Next, the unit of 4 film frames is converted into 5 video frames. Figure 5
As shown in (c), the first film frame is copied to 2 video fields, and the second film frame is copied to 3 video fields by copying odd fields.
The second film frame is converted into two video fields by exchanging the odd field and the even field, and the fourth film frame is converted into the three video field by copying the even field.

【0005】[0005]

【発明が解決しようとする課題】上記の方法でエンコー
ドを行うと、図5(c) のビデオデータに対してエンコー
ドを行うことになるため、3フレーム目と4フレーム目
のように1つのフレームに、本来は別だったフレームの
データが混在することになり、エンコード後の映像の動
きが不自然なものとなる。本発明はこのような課題を解
決するため、デジタル化された30フレーム/秒のビデ
オデータを24フレーム/秒に変換し、元のデータのフ
レームレートと同じにする装置を提供することを目的と
する。
When the encoding is performed by the above method, the video data shown in FIG. 5 (c) is encoded. Therefore, one frame such as the third frame and the fourth frame is encoded. In addition, the originally different frame data is mixed, and the motion of the video after encoding becomes unnatural. In order to solve such a problem, it is an object of the present invention to provide a device for converting digitized video data of 30 frames / sec into 24 frames / sec so as to have the same frame rate as the original data. To do.

【0006】[0006]

【課題を解決するための手段】上記の課題は、フレーム
レートを変更された動画を格納した元データ記憶手段
と、変換時に変換を開始するための基準となる点を抽出
する基準点抽出手段と、抽出した基準点に基づいて、フ
レームレートを復元するデータ変換手段と、復元された
動画を格納する復元データ記憶手段と、を備えることに
より解決される。
Means for Solving the Problems The above-mentioned problems include an original data storage means for storing a moving image whose frame rate has been changed, and a reference point extraction means for extracting a reference point for starting conversion during conversion. The problem is solved by including a data conversion unit that restores the frame rate based on the extracted reference point and a restored data storage unit that stores the restored moving image.

【0007】[0007]

【発明の実施の形態】以下、図面を用いて、本発明の実
施の形態を説明する。図1は、本発明の第1の実施形態
を示す機能ブロック図である。本装置は図1に示すよう
に、フレームレートを変更された動画を格納した元デー
タ記憶手段1と、変換時に変換を開始するための基準と
なる点を抽出する基準点抽出手段2と、抽出した基準点
に基づいて、フレームレートを復元するデータ変換手段
5と、復元された動画を格納する復元データ記憶手段6
により構成される。基準点抽出手段2は、詳細には、フ
レームレートを変更された動画の隣接フレーム間の奇数
フィールド同士および偶数フィールド同士の差分を算出
する差分算出手段3と、算出した最小差分の位置に基づ
いて基準点を決定する基準点決定手段4により構成され
ている。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a functional block diagram showing a first embodiment of the present invention. As shown in FIG. 1, the present apparatus includes an original data storage unit 1 that stores a moving image with a changed frame rate, a reference point extraction unit 2 that extracts a reference point for starting conversion at the time of conversion, and an extraction. The data conversion means 5 for restoring the frame rate and the restored data storage means 6 for storing the restored moving image on the basis of the selected reference points.
It is composed of Specifically, the reference point extracting means 2 is based on the difference calculating means 3 for calculating the difference between the odd fields and the even fields between the adjacent frames of the moving image whose frame rate has been changed, and the position of the calculated minimum difference. The reference point determining means 4 determines the reference point.

【0008】第1の実施形態の処理動作を図2のフロー
チャートを用いて説明する。まず、差分算出手段3が元
データ記憶手段1から、テレシネ変換によりフレームレ
ートを変更された動画(元データ)の全ての隣接フレー
ム間の奇数フィールド同士、偶数フィールド同士の差分
を算出する。差分は、画素ごとに輝度または色差の差を
とり、その絶対値の画素数分の総和により算出する。
(S101)
The processing operation of the first embodiment will be described with reference to the flowchart of FIG. First, the difference calculating unit 3 calculates, from the original data storage unit 1, the difference between odd fields and even fields between all adjacent frames of a moving image (original data) whose frame rate has been changed by telecine conversion. The difference is obtained by taking a difference in luminance or color difference for each pixel and calculating the total sum of the absolute values for the number of pixels.
(S101)

【0009】次に基準点決定手段4は、算出した奇数フ
ィールド間差分、偶数フィールド間差分をそれぞれ5つ
単位で抽出して比較し、その中で最小のものを最小差分
とする。(S102)
Next, the reference point determining means 4 extracts and compares the calculated odd-field difference and even-field difference in units of five, and determines the smallest one as the smallest difference. (S102)

【0010】続いて基準点決定手段4は、検出した最小
差分の位置に基づき、基準点を決定する。基準点の決定
を図6を用いて説明する。テレシネ変換では、上記従来
の技術に示したような変換が行われるので、奇数フィー
ルド間、偶数フィールド間それぞれの最小差分の位置が
分かれば、そこがフィールドデータがコピーされた位置
であるということが分かるので、変換の基準点が分か
る。例えば、図6(a) のように、奇数フィールドの最小
差分がフレーム2とフレーム3の間、偶数フィールドの
最小差分がフレーム4とフレーム5の間に検出された場
合は、フレーム1が変換の基準点であることがわかる。
基準点はデータ変換手段5によりデータ変換する場合
に、変換を開始する点であるため、フレームの並びのパ
ターンが変わらない限り、新しい基準点を算出する必要
はなく、最初に決定した一つでよい。しかし、ビデオテ
ープでは、編集により映像のつなぎ合わせが行われてい
るため、その部分でパターンがずれていることが多いの
で、そのような場合は、図6(b) に示すように基準点を
決定する。図6(b) は、編集してつなぎ合わされた編集
点付近のフレームの様子を示す図であり、フレーム5と
フレーム(ア)の間でフィルム1とフィルム2の映像が
つなぎ合わされている。通常、フレームの並びのパター
ンが変わっていなければ、奇数フィールド、偶数フィー
ルドの最小差分はそれぞれ、5フレームごとに検出され
る。しかし、図6(b) の例では、奇数フィールドの最小
差分は8フレーム、偶数フィールドの最小差分は3フレ
ーム離れて検出される。このため、基準点決定手段4は
ここでパターンが変わっていることを認識し、奇数フィ
ールドの最小差分の間隔が離れているため、奇数フィー
ルドをコピーしたフレームが欠落していると判断し、偶
数フィールドの最小差分位置を元に図6(a) のパターン
に従い、図6(b) のビデオフレーム4を変換の基準点と
決定する。(S103)
Subsequently, the reference point determining means 4 determines the reference point based on the position of the detected minimum difference. The determination of the reference point will be described with reference to FIG. In the telecine conversion, since the conversion as shown in the above conventional technique is performed, if the position of the minimum difference between the odd field and the even field is known, it is the position where the field data is copied. Knowing, we know the reference point for the conversion. For example, as shown in FIG. 6 (a), when the minimum difference of the odd field is detected between the frame 2 and the frame 3 and the minimum difference of the even field is detected between the frame 4 and the frame 5, the frame 1 is converted. It can be seen that it is the reference point.
Since the reference point is a point at which the conversion is started when the data is converted by the data conversion means 5, it is not necessary to calculate a new reference point unless the pattern of the arrangement of the frames is changed, and it is the one determined first. Good. However, with videotapes, since the images are stitched together by editing, the pattern is often misaligned at that portion. In such a case, the reference point is set as shown in Fig. 6 (b). decide. FIG. 6 (b) is a diagram showing a state of a frame near the edited point which is edited and connected, and the images of the film 1 and the film 2 are connected between the frame 5 and the frame (a). Normally, if the pattern of frame arrangement is not changed, the minimum difference between the odd field and the even field is detected every 5 frames. However, in the example of FIG. 6B, the minimum difference in the odd field is detected at 8 frames and the minimum difference in the even field is detected at 3 frames. For this reason, the reference point determining means 4 recognizes that the pattern is changed here, and determines that the frame in which the odd field is copied is missing because the interval of the minimum difference of the odd field is large, and the even number is even. Based on the minimum difference position of the field, the video frame 4 of FIG. 6B is determined as the conversion reference point according to the pattern of FIG. 6A. (S103)

【0011】基準点が決定したら、データ変換手段5
は、この基準点を開始点としてデータ変換を行う。基本
的には図7(e) に示すようにビデオデータを5フレーム
単位で4フレームに戻す。図7は編集点直前の変換対象
フレームと変換作成フレームの関係を示す図であり、図
8は編集点直後の変換対象フレームと変換作成フレーム
の関係を示す図である。図7、図8ともに、(a) から
(e) に、変換対象フレーム数が1から5の場合について
示しており、上段が変換対象フレーム、下段が変換作成
フレームとなっている。図6(b) の例のように基準点が
複数ある場合は、フレームパターンが変わっていないフ
レーム5まではフィルム1の基準点に従って変換を行
い、フレームパターンが変わったフレーム(ア)からは
フィルム2の基準点に従って変換を行う。このとき、フ
ィルム2の基準点による最初の変換対象はフレーム
(ア)からフレーム(ウ)までの3フレームであり、編
集点直後であるため、図8(c) のパターンに従い2フレ
ームに変換する。変換された動画データは復元データ記
憶手段6に格納される。(S104)
When the reference point is determined, the data conversion means 5
Performs data conversion using this reference point as a starting point. Basically, as shown in FIG. 7 (e), the video data is restored to 4 frames in 5 frame units. FIG. 7 is a diagram showing the relationship between the conversion target frame and the conversion creation frame immediately before the edit point, and FIG. 8 is a diagram showing the relationship between the conversion target frame and the conversion creation frame immediately after the edit point. 7 and 8 from (a)
(e) shows the case where the number of conversion target frames is 1 to 5, and the upper stage is the conversion target frame and the lower stage is the conversion creation frame. When there are multiple reference points as in the example of FIG. 6 (b), conversion is performed according to the reference points of the film 1 up to frame 5 where the frame pattern has not changed, and the film is changed from frame (a) where the frame pattern has changed. The conversion is performed according to the reference point of 2. At this time, the first conversion target based on the reference point of the film 2 is three frames from frame (A) to frame (C), which is immediately after the editing point, and therefore is converted into two frames according to the pattern of FIG. 8C. . The converted moving image data is stored in the restored data storage means 6. (S104)

【0012】次に、第2の実施形態を説明する。図3は
第2の実施形態の機能ブロック図であり、図1と同一番
号のものは第1の実施形態と同じ処理を行うことを示
す。第2の実施形態では、第1の実施形態の構成に、さ
らに、基準点抽出手段2により抽出された基準点を出力
する出力手段7と、データ変換手段5に対し、基準点を
指示する入力手段8を付加している。
Next, a second embodiment will be described. FIG. 3 is a functional block diagram of the second embodiment, and those having the same numbers as those in FIG. 1 indicate that the same processing as in the first embodiment is performed. In the second embodiment, in addition to the configuration of the first embodiment, an output means 7 for outputting the reference point extracted by the reference point extracting means 2 and an input for instructing the reference point to the data converting means 5. The means 8 is added.

【0013】第2の実施形態の処理動作を図4のフロー
チャートに従って説明する。図4においても、図2と同
一番号のものは図2と同じ処理を行う。第2の実施形態
では、S103の基準点の決定までは第1の実施形態と
同様の処理である。基準点決定後は、この基準点をグラ
フィックディスプレイ、プリンター等の出力手段7に出
力する。(S201) 続いて、オペレータは、出力された基準点を見て、デー
タ変換手段5に対して、キーボード等の入力手段8から
基準点の指示を行う。(S202) データ変換手段5は、指示された基準点からデータ変換
を行う。(S104)
The processing operation of the second embodiment will be described with reference to the flowchart of FIG. Also in FIG. 4, the same numbers as in FIG. 2 perform the same processing as in FIG. In the second embodiment, the same processing as in the first embodiment is performed until the determination of the reference point in S103. After determining the reference point, the reference point is output to the output means 7 such as a graphic display or a printer. (S201) Then, the operator looks at the output reference point and instructs the data converting means 5 from the input means 8 such as a keyboard to set the reference point. (S202) The data conversion means 5 performs data conversion from the designated reference point. (S104)

【0014】[0014]

【発明の効果】この発明によれば、フレームレートを変
更された動画から、編集時につなぎ合わされた部分の付
近の基準点を抽出し、抽出した基準点に基づいて、フレ
ームレートを復元するようにしたので、動画をフレーム
レートを変換する前の状態に戻すことが可能となり、結
果的に、エンコード後の動画も良好なものとなる。
According to the present invention, a reference point in the vicinity of a portion joined at the time of editing is extracted from a moving image with a changed frame rate, and the frame rate is restored based on the extracted reference point. Therefore, it becomes possible to return the moving image to the state before the frame rate conversion, and as a result, the encoded moving image also becomes good.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施形態の機能構成を示すブロ
ック図。
FIG. 1 is a block diagram showing a functional configuration of a first embodiment of the present invention.

【図2】本発明の第1の実施形態の処理動作を示すフロ
ーチャート。
FIG. 2 is a flowchart showing a processing operation of the first embodiment of the present invention.

【図3】本発明の第2の実施形態の機能構成を示すブロ
ック図。
FIG. 3 is a block diagram showing a functional configuration of a second embodiment of the present invention.

【図4】本発明の第2の実施形態の処理動作を示すフロ
ーチャート。
FIG. 4 is a flowchart showing a processing operation of the second embodiment of the present invention.

【図5】テレシネ変換の手順を示す図。FIG. 5 is a diagram showing a procedure of telecine conversion.

【図6】基準点の抽出方法を示す図。FIG. 6 is a diagram showing a method of extracting reference points.

【図7】編集点直前の変換対象フレームと変換作成フレ
ームの関係を示す図
FIG. 7 is a diagram showing a relationship between a conversion target frame and a conversion creation frame immediately before an edit point.

【図8】編集点直後の変換対象フレームと変換作成フレ
ームの関係を示す図
FIG. 8 is a diagram showing a relationship between a conversion target frame and a conversion creation frame immediately after an edit point.

【符号の説明】[Explanation of symbols]

1 元データ記憶手段 2 基準点抽出手段 3 差分算出手段 4 基準点決定手段 5 データ変換手段 6 復元データ記憶手段 7 出力手段 8 入力手段 1 original data storage means 2 reference point extraction means 3 difference calculation means 4 reference point determination means 5 data conversion means 6 restored data storage means 7 output means 8 input means

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 フレームレートを変更された動画を格納
した元データ記憶手段と、変換時に変換を開始するため
の基準となる点を抽出する基準点抽出手段と、抽出した
基準点に基づいて、フレームレートを復元するデータ変
換手段と、復元された動画を格納する復元データ記憶手
段と、を備えたことを特徴とするフレームレートを変更
された動画の復元装置
1. An original data storage means for storing a moving image having a changed frame rate, a reference point extraction means for extracting a reference point for starting conversion during conversion, and an extracted reference point based on the extracted reference points. A device for restoring a moving image with a changed frame rate, comprising: a data conversion unit for restoring the frame rate; and a restored data storage unit for storing the restored moving image.
【請求項2】 基準点抽出手段が、フレームレートを変
更された動画の隣接フレーム間の奇数フィールド同士お
よび偶数フィールド同士の差分を算出する差分算出手段
と、算出した最小差分の位置に基づいて基準点を決定す
る基準点決定手段と、により構成されていることを特徴
とする請求項1に記載のフレームレートを変更された動
画の復元装置
2. The reference point extracting means calculates a difference between odd fields and even fields between adjacent frames of a moving image whose frame rate is changed, and a reference based on a position of the calculated minimum difference. 2. The apparatus for restoring a moving image with a changed frame rate according to claim 1, further comprising a reference point determining means for determining a point.
JP7224719A 1995-08-09 1995-08-09 Recovering device for moving picture whose frame rate is changed Withdrawn JPH0955918A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7224719A JPH0955918A (en) 1995-08-09 1995-08-09 Recovering device for moving picture whose frame rate is changed

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7224719A JPH0955918A (en) 1995-08-09 1995-08-09 Recovering device for moving picture whose frame rate is changed

Publications (1)

Publication Number Publication Date
JPH0955918A true JPH0955918A (en) 1997-02-25

Family

ID=16818183

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7224719A Withdrawn JPH0955918A (en) 1995-08-09 1995-08-09 Recovering device for moving picture whose frame rate is changed

Country Status (1)

Country Link
JP (1) JPH0955918A (en)

Similar Documents

Publication Publication Date Title
JPH08307820A (en) System and method for generating high image quality still picture from interlaced video
JP2007135057A (en) Imaging apparatus, image processing method, as well as program
US20050110902A1 (en) De-interlacing apparatus with a noise reduction/removal device
JP2011527841A (en) Image processing apparatus and imaging apparatus using the same
JPH08317336A (en) Device and method for generating interpolated image data
US20060077292A1 (en) Image processing apparatus using judder-map and method thereof
JP2005354731A (en) Circuit for frame rate conversion
JP2009004885A (en) Image processing apparatus, image processing method, and program
JPH0918782A (en) Video signal processing method and device
US7050095B2 (en) Method and apparatus for image processing using a template image
JP2001160920A (en) Inverse telecine converter
KR100695030B1 (en) Static image generation method and device
US6983013B1 (en) Method and device for encoding video signal
KR100452097B1 (en) Image data storing method using a change detection of image data
JPH0955918A (en) Recovering device for moving picture whose frame rate is changed
JP2007228119A (en) Imaging apparatus, image processing method, and program
JP2002084551A (en) Device and method for processing stereoscopic image
JP2005275765A (en) Image processor, image processing method, image processing program and recording medium recording the program
JP4979623B2 (en) Image processing device
JP2005026885A (en) Television receiver and its control method
JP2006229552A (en) Video camera
JPH08237612A (en) Dynamic image processing method
JPH09261632A (en) Image signal processor
JP3597271B2 (en) Video cut point image detection device
JP3506634B2 (en) Image storage memory device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20021105