JP2006270405A - Device and method for processing video and computer program - Google Patents
Device and method for processing video and computer program Download PDFInfo
- Publication number
- JP2006270405A JP2006270405A JP2005084422A JP2005084422A JP2006270405A JP 2006270405 A JP2006270405 A JP 2006270405A JP 2005084422 A JP2005084422 A JP 2005084422A JP 2005084422 A JP2005084422 A JP 2005084422A JP 2006270405 A JP2006270405 A JP 2006270405A
- Authority
- JP
- Japan
- Prior art keywords
- frame
- video data
- frames
- processing
- thinned
- 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
Links
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
Description
本発明は,映像データを加工することが可能な映像処理装置,映像処理方法,およびコンピュータプログラムに関する。 The present invention relates to a video processing apparatus, a video processing method, and a computer program capable of processing video data.
現在では,情報技術の発達に伴い,ビデオカメラ等の撮像装置を用いて撮影した映像データはディジタル化され,光ディスク,磁気ディスク,半導体メモリなどのランダムアクセス可能な記録媒体に記録されるのが一般的になりつつある(例えば,特許文献1参照)。 Nowadays, with the development of information technology, video data taken with an imaging device such as a video camera is digitized and recorded on a randomly accessible recording medium such as an optical disk, a magnetic disk, or a semiconductor memory. (See, for example, Patent Document 1).
放送業界においても,取材先の現場で撮影した高解像度の映像データをランダムアクセス可能な記録媒体に記録し,編集処理装置等を用いてその記録された複数の高解像度の映像データを放送番組用の映像データに編集し,放送する場合が多くなってきている。 Even in the broadcasting industry, high-resolution video data taken at the interview site is recorded on a random-accessible recording medium, and the recorded high-resolution video data is used for broadcast programs using an editing processor. There are many cases where video data is edited and broadcast.
一方で,報道番組など放送番組にリアルタイム性等が求められる理由で,編集効率を向上させ,短時間で取材後の映像データを放送番組用の映像データに編集するため,光ディスク等の記録媒体に高解像度の映像データとともに,その映像データよりも低解像度の映像データを記録することが可能なシステムが開発されている。 On the other hand, in order to improve the editing efficiency and to edit the video data after the interview into video data for the broadcast program in a short time because the broadcast program such as the news program is required to have real-time properties, it is necessary to use it on a recording medium such as an optical disc. A system capable of recording high-resolution video data and video data having a lower resolution than the video data has been developed.
高解像度と低解像度の2種類の映像データを撮影時に記録することが可能となれば,撮影した後,低解像度の映像データを無線又は有線のネットワークで編集処理装置に送信し,高解像度の映像データが届くまでに本編集までの編集処理を完了することができ,撮影現場がたとえ遠隔地であっても編集効率を大幅に向上することが期待できる。 If two types of video data, high resolution and low resolution, can be recorded at the time of shooting, after shooting, the low resolution video data is transmitted to the editing processor over a wireless or wired network, and the high resolution video is recorded. The editing process up to the main editing can be completed before the data arrives, and it can be expected that the editing efficiency will be greatly improved even if the shooting site is remote.
しかしながら,インターネット等のネットワークで映像データを転送する場合,低解像度といえども動画像であるため比較的データ量が多く,またネットワークの通信回線状況によっては,転送時間に多大な時間を要する場合が少なくない。 However, when transferring video data over a network such as the Internet, even if the resolution is low, it is a moving image, so the amount of data is relatively large, and depending on the communication line status of the network, it may take a long time to transfer. Not a few.
したがって,転送時間を短縮するために,映像データのデータレートをさらに下げる方法が考えられるが,単純にデータレートを下げても映像データに構成される各フレームの画質が劣化し,編集する際に映像の内容を把握することが困難になり,かえって編集効率に悪影響を及ぼすおそれがある。 Therefore, in order to shorten the transfer time, a method of further reducing the data rate of the video data can be considered. However, even if the data rate is simply reduced, the image quality of each frame configured in the video data deteriorates, so that It becomes difficult to grasp the contents of the video, which may adversely affect the editing efficiency.
また低解像度の映像データをネットワークを介して転送する際に,単位時間当たりのフレーム枚数を減らすことで,上記画質劣化を防ぐ方法があるが,かかる方法では単位時間当たりのフレーム枚数が低解像度の映像データと高解像度の映像データとで異なってしまう。したがって,低解像度の映像データで編集したEDL等の編集情報を,そのまま高解像度の映像データを本編集する際に用いることができない。 In addition, when transferring low-resolution video data over a network, there is a method to prevent the image quality deterioration by reducing the number of frames per unit time. However, in this method, the number of frames per unit time is low. Video data and high-resolution video data will be different. Therefore, editing information such as EDL edited with low-resolution video data cannot be used as it is when main editing of high-resolution video data.
本発明は,上記問題点に鑑みてなされたものであり,本発明の目的は,映像データの画質の劣化を抑えて,映像データのデータ量を低減することが可能な,新規かつ改良された映像処理装置,映像処理方法を提供することである。 The present invention has been made in view of the above problems, and an object of the present invention is a new and improved technique capable of reducing the amount of video data while suppressing deterioration of the image quality of the video data. It is to provide a video processing apparatus and a video processing method.
上記課題を解決するため,本発明の第1の観点によれば,(1)映像データに構成される複数のフレームのうち1又は2フレーム以上のフレームを間引き,さらにその間引いたフレームを,そのフレームの前フレームもしくは後フレームを複写したものに置き換え,その後に圧縮処理を施すことで該映像データを置換圧縮映像データに加工する第1の加工処理,または,(2)映像データに構成されるいずれのフレームも間引かずに圧縮処理を施すことで該映像データを圧縮映像データに加工する第2の加工処理のいずれかを選択する選択部と;当該選択部により選択された(1)又は(2)の処理を実行し,映像データを間引き圧縮映像データ又は圧縮映像データのいずれかに加工する第1の映像加工部とを備えることを特徴とする映像処理装置が提供される。 In order to solve the above problems, according to the first aspect of the present invention, (1) one or more frames out of a plurality of frames configured in video data are thinned out, and the thinned frames are A first processing process for processing the video data into replacement compressed video data by replacing the previous frame or the rear frame of the frame with a copy and then performing a compression process, or (2) configured as video data A selection unit that selects any one of the second processing processes for processing the video data into compressed video data by performing compression processing without thinning out any frames; (1) selected by the selection unit; And a first video processing unit that executes the processing of (2) and processes the video data into either thinned compressed video data or compressed video data. Apparatus is provided.
本発明によれば,映像処理装置に備わる選択部は,映像データに対し,第1の加工処理を実行するのか,第2の加工処理を実行するのかを選択する。選択すると,第1の映像加工部は,選択した加工処理を行い,間引き圧縮映像データ又は圧縮映像データを出力する。かかる構成によれば,ユーザからデータレート等の要求又はユーザからの要望に応じて,第1の加工処理又は第2の加工処理を選択的に映像データに対して施すことが可能となる。また,特に第1の加工処理を映像データに施すことによって,データレートを下げてデータ量を低減しても,フレームの画像更新頻度を下げることができ,その分画質の劣化を防ぐことができる。 According to the present invention, the selection unit provided in the video processing device selects whether to execute the first processing process or the second processing process on the video data. When selected, the first video processing unit performs the selected processing and outputs thinned compressed video data or compressed video data. According to this configuration, it is possible to selectively perform the first processing process or the second processing process on the video data in accordance with a request from the user such as a data rate or a request from the user. In particular, by applying the first processing to the video data, even if the data rate is reduced to reduce the amount of data, the frequency of updating the image of the frame can be reduced, and the deterioration of the image quality can be prevented accordingly. .
上記映像処理装置には,第1の映像加工部において映像データに圧縮処理を施すデータレートよりも高いレートで,当該映像データに圧縮処理を施し低圧縮映像データに加工する第2の映像加工部がさらに備わるようにしてもよい。 The video processing apparatus includes a second video processing unit that compresses the video data at a rate higher than the data rate at which the video data is compressed in the first video processing unit and processes the video data into low-compressed video data. May be further provided.
上記映像処理装置には,さらに第1の映像加工部によって加工された間引き圧縮映像データ又は圧縮映像データのうち少なくとも一方を記録媒体に記録する記録部が備わるようにしてもよい。 The video processing apparatus may further include a recording unit that records at least one of the thinned compressed video data or the compressed video data processed by the first video processing unit on a recording medium.
上記映像処理装置には,さらに第1の映像加工部によって加工された間引き圧縮映像データ又は圧縮映像データのうち少なくとも一方と,第2の映像加工部によって加工された低圧縮映像データとを記録媒体に記録する記録部が備わるようにしてもよい。 The video processing apparatus further includes at least one of the thinned compressed video data or the compressed video data processed by the first video processing unit and the low-compressed video data processed by the second video processing unit. A recording unit for recording may be provided.
上記前フレームは,上記間引かれたフレームの直前のフレームであり,上記後フレームは,上記間引かれたフレームの直後のフレームであるように構成してもよい。かかる構成により,間引かれたフレームの前後のフレームを対象とすることで,フレーム間の画像の差分を最大限小さくすることができる。 The front frame may be a frame immediately before the thinned frame, and the rear frame may be a frame immediately after the thinned frame. With this configuration, the difference between the images between frames can be minimized by targeting the frames before and after the thinned frame.
上記フレームを間引く処理は,M及びNを1又は2以上の自然数とし,Mフレーム分のフレームを間引かない第1のフレーム処理と,Nフレーム分のフレームを間引く第2のフレーム処理とを,上記映像データに構成されるフレームについて交互に繰り返すように構成してもよい。 The process of thinning out the frame is a first frame process in which M and N are natural numbers of 1 or 2 and M frames are not thinned out, and a second frame process in which N frames are thinned out. You may comprise so that it may repeat alternately about the flame | frame comprised by the said video data.
上記フレームを間引く処理のうち第1のフレーム処理は,上記映像データに構成されるフレームの先頭から実行するように構成してもよい。 The first frame process among the processes for thinning out the frame may be configured to be executed from the head of the frame configured in the video data.
上記第1のフレーム処理では,1又は2以上の自然数とする複数個の上記Mが各々順番に又はランダムに用いられ,Mフレーム分のフレームを間引かない処理が行われるように構成してもよい。 In the first frame processing, a plurality of M having a natural number of 1 or 2 may be used in order or randomly, and processing that does not thin out M frames may be performed. Good.
上記第2のフレーム処理では,1又は2以上の自然数とする複数個の上記Nが各々順番に又はランダムに用いられ,Nフレーム分のフレームを間引く処理が行われるように構成してもよい。 In the second frame processing, a plurality of Ns, which are natural numbers of 1 or 2 or more, may be used in order or randomly, and a process of thinning out N frames may be performed.
上記第1のフレーム処理では,1又は2以上の自然数とする複数個の上記Mが各々順番に又はランダムに用いられ,Mフレーム分のフレームを間引かない処理が実行され,かつ,上記第2のフレーム処理では,1又は2以上の自然数とする複数個の上記Nが各々順番に又はランダムに用いられ,該第1のフレーム処理後のフレームからNフレーム分のフレームを間引く処理が実行されるように構成してもよい。 In the first frame processing, a plurality of Ms each having a natural number of 1 or 2 are used sequentially or randomly, a process that does not thin out M frames is performed, and the second frame processing is performed. In this frame processing, a plurality of Ns, each of which is a natural number of 1 or 2 or more, is used in order or randomly, and processing for thinning out N frames from the frame after the first frame processing is executed. You may comprise as follows.
上記映像データに構成されるフレームを複数フレームごとにグループ化した1又は2以上のグループフレームのうち少なくとも一つのグループフレームに対して1又は2以上のフレームを間引き,上記第1の加工処理をするように構成してもよい。 One or more frames are thinned out from at least one group frame among one or more group frames obtained by grouping frames configured in the video data into a plurality of frames, and the first processing is performed. You may comprise as follows.
上記グループフレームに構成されるフレームを間引く処理は,M及びNを1又は2以上の自然数とし,Mフレーム分のフレームを間引かない第1のフレーム処理と,Nフレーム分のフレームを間引く第2のフレーム処理とを,グループフレームに構成されるフレームについて交互に繰り返すように構成してもよい。 The process of thinning out the frames configured as the group frame includes a first frame process in which M and N are natural numbers of 1 or 2 and a frame of M frames is not thinned, and a second frame of thinning out N frames. This frame processing may be configured to be repeated alternately for the frames configured as group frames.
上記第1のフレーム処理では,1又は2以上の自然数とする第1のMと第2のMとが交互に又はランダムに用いられるように構成してもよく,上記第2のフレーム処理では,1又は2以上の自然数とする第1のNと第2のNとが交互に又はランダムに用いられるように構成してもよい。 In the first frame processing, the first M and the second M which are natural numbers of 1 or 2 or more may be used alternately or randomly. In the second frame processing, You may comprise so that the 1st N and 2nd N which are 1 or 2 or more natural numbers may be used alternately or at random.
上記第1のフレーム処理では,1又は2以上の自然数とする第1のMと第2のMとが交互に又はランダムに用いられ,かつ,上記第2のフレーム処理では,1又は2以上の自然数とする第1のNと第2のNとが交互に又はランダムに用いられるように構成してもよい。 In the first frame processing, the first M and the second M which are natural numbers of 1 or 2 or more are alternately or randomly used, and in the second frame processing, 1 or 2 or more are used. The first N and the second N that are natural numbers may be used alternately or randomly.
上記グループフレームは,GOP(Group Of Pictures)であるように構成してもよい。 The group frame may be configured to be GOP (Group Of Pictures).
上記映像データは,MPEG形式のデータであって,間引く対象となるフレームは,Pフレーム(Predictiveフレーム)またはBフレーム(Bidirectionally predictiveフレーム)のうち少なくとも一方のフレームであるように構成してもよい。 The video data is MPEG format data, and the frame to be thinned out may be configured to be at least one of a P frame (Predictive frame) and a B frame (Bidirectionally predictive frame).
上記課題を解決するために,本発明の別の観点によれば,映像データに構成される複数のフレームのうち1又は2フレーム以上のフレームを間引き,さらにその間引いたフレームを,そのフレームの前フレームもしくは後フレームを複写したものに置き換え,その後に圧縮処理を施すことで該映像データを置換圧縮映像データに加工する第1の加工処理,または,映像データに構成されるいずれのフレームも間引かずに圧縮処理を施すことで該映像データを圧縮映像データに加工する第2の加工処理のいずれかを選択する工程と;第1の加工処理が選択された場合,映像データに構成される複数のフレームのうち1又は2フレーム以上のフレームを間引き,さらにその間引いたフレームを,そのフレームの前フレームもしくは後フレームを複写したものに置き換え,その後に圧縮処理を施す工程と;第2の加工処理が選択された場合,映像データに構成されるいずれのフレームも間引かずに圧縮処理を施す工程とを含むことを特徴とする映像処理方法が提供される。 In order to solve the above-described problem, according to another aspect of the present invention, one or more frames among a plurality of frames configured in video data are thinned out, and the thinned frame is placed before the frame. Replace the frame or the back frame with the copied one, and then apply the compression process to either the first processing to process the video data into the replacement compressed video data, or any frame configured in the video data is thinned out A step of selecting any one of the second processing processes for processing the video data into compressed video data by performing compression processing; and when the first processing process is selected, a plurality of units configured in the video data One or more frames are thinned out, and the thinned frame is duplicated with the frame before or after the frame. And a step of performing a compression process after that; and a step of performing a compression process without thinning out any frames formed in the video data when the second processing process is selected. A video processing method is provided.
上記課題を解決するために,本発明の別の観点によれば,映像データに構成される複数のフレームのうち1又は2フレーム以上のフレームを間引き,さらにその間引いたフレームを,そのフレームの前フレームもしくは後フレームを複写したものに置き換え,その後に圧縮処理を施すことで該映像データを置換圧縮映像データに加工する第1の加工処理,または,映像データに構成されるいずれのフレームも間引かずに圧縮処理を施すことで該映像データを圧縮映像データに加工する第2の加工処理のいずれかを選択するステップと;上記選択ステップにおいて第1の加工処理が選択された場合,映像データに構成される複数のフレームのうち1又は2フレーム以上のフレームを間引き,さらにその間引いたフレームを,そのフレームの前フレームもしくは後フレームを複写したものに置き換え,その後に圧縮処理を施すステップと;上記選択ステップにおいて第2の加工処理が選択された場合,映像データに構成されるいずれのフレームも間引かずに圧縮処理を施すステップとを含んだ映像処理方法をコンピュータに実行させることを特徴とするコンピュータプログラムが提供される。 In order to solve the above-described problem, according to another aspect of the present invention, one or more frames among a plurality of frames configured in video data are thinned out, and the thinned frame is placed before the frame. Replace the frame or the back frame with the copied one, and then apply the compression process to either the first processing to process the video data into the replacement compressed video data, or any frame configured in the video data is thinned out A step of selecting any one of the second processing processes for processing the video data into the compressed video data by performing the compression process; if the first processing process is selected in the selection step, the video data One or more frames of a plurality of configured frames are thinned out, and the thinned frame is added to the front frame of the frame. Replacing a frame or a subsequent frame with a copied one, and then performing a compression process; if the second processing process is selected in the selection step, any frame configured in the video data is not thinned out There is provided a computer program that causes a computer to execute a video processing method including a step of performing compression processing.
以上説明したように,本発明によれば,映像データを圧縮する際に,フレーム数は変更せずそのままで,画像が更新する頻度を落とすことができるため,データレート値を下げることができるとともに,画質の劣化を効果的に防ぐことができる。 As described above, according to the present invention, when video data is compressed, the number of frames is not changed and the frequency with which images are updated can be reduced, so that the data rate value can be lowered. , Image quality degradation can be effectively prevented.
以下,本発明の好適な実施の形態について,添付図面を参照しながら詳細に説明する。なお,以下の説明及び添付図面において,略同一の機能及び構成を有する構成要素については,同一符号を付することにより,重複説明を省略する。 DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments of the invention will be described in detail with reference to the accompanying drawings. In the following description and the accompanying drawings, components having substantially the same functions and configurations are denoted by the same reference numerals, and redundant description is omitted.
(映像処理装置について)
まず,図1を参照しながら,本実施の形態に係る映像処理装置について説明する。なお,図1は,本実施の形態にかかる映像処理装置の概略的な構成の一例を示すブロック図である。
(About video processing equipment)
First, the video processing apparatus according to the present embodiment will be described with reference to FIG. FIG. 1 is a block diagram showing an example of a schematic configuration of the video processing apparatus according to the present embodiment.
本実施の形態にかかる映像処理装置100は,装置に入力されてくる映像を,高解像度の映像データ(以下,高解像度映像データ)と,当該高解像度映像データと同一内容の低解像度の映像データ(以下,低解像度映像データ)とに加工することが可能な装置である。
The
図1に示すように,映像処理装置100は,ビデオ信号入力端子110と,入力画像デコード部120と,高解像度圧縮部(第1の映像加工部)130と,低解像度圧縮部(第1の映像加工部)140と,記憶部150と,記録媒体記録部160と,コントロール部(選択部)180とを備えている。
As shown in FIG. 1, the
上記ビデオ信号入力端子110から入力されるビデオ信号は,入力画像デコード部120で記録用のビデオ信号(映像データ)121に変換される。その入力画像デコード部120で変換された映像データ121は,高解像度圧縮部130と低解像度圧縮部140とに各々供給される。
The video signal input from the video
上記高解像度圧縮部130は,入力の映像データ121を,例えばMPEG2等の形式で圧縮等し,ストリームとして高解像度映像データ(又は,低圧縮映像データ)131を出力する。
The high
上記低解像度圧縮部140は,入力の映像データ121を,例えばMPEG4等の形式で圧縮等し,ストリームとして低解像度映像データ141(又は,圧縮映像データ)を出力する。また,上記低解像度圧縮部140は,上記低解像度映像データ141の他にも,間引き低解像度映像データ143(又は,置換圧縮映像データ)を出力することもできる。
The low
なお,上記低解像度映像データ141又は間引き低解像度映像データ143は,高速に所望のフレームの画像をサーチする高速画像サーチや,オフライン編集等に用いられる。また,低解像度映像データ141又は間引き低解像度映像データ143は,高解像度映像データ131よりもデータレート値が低く,データ量が小さいため,映像処理装置100はインターネット等のネットワークを介してデータを効率良く転送することができる。また,本明細書では,フレームと単に記載した場合,そのフレーム自体もしくはそのフレームの画像自体又は双方を示すものとする。
The low-resolution video data 141 or the thinned-out low-resolution video data 143 is used for high-speed image search for searching a desired frame image at high speed, offline editing, or the like. Further, since the low resolution video data 141 or the thinned low resolution video data 143 has a lower data rate value and a smaller data amount than the high
上記間引き低解像度映像データ143は,上記低解像度映像データ141のデータレートと同じ場合,画質では低解像度映像データ141よりも当該間引き低解像度映像データ143の方が優れるという特徴がある。その理由は,後程詳述するが,間引き低解像度映像データ143に構成されるフレームの画像が更新する頻度を低くするためである。 When the thinned low resolution video data 143 has the same data rate as the low resolution video data 141, the thinned low resolution video data 143 is superior to the low resolution video data 141 in terms of image quality. The reason is that, as will be described in detail later, the frequency of updating the frame image configured in the thinned-out low-resolution video data 143 is reduced.
記憶部150は,高解像度圧縮部130又は低解像度圧縮部140から出力されたデータを一時記憶又は保持することができる。なお,本実施の形態にかかる記憶部150は,例えば,SRAM,DRAM等のメモリを例示することができるが,かかる例に限定されない。
The
記憶部150に記憶される上記高解像度映像データ131と,上記低解像度映像データ141又は間引き低解像度映像データ143とは,データの源泉はいずれも映像データ121であって,同時に同じ映像データ121から生成され,同じ情報を持つストリームである。
The high-
記憶部150では,入力の各ストリーム,高解像度映像データ131と,低解像度映像データ141及び/又は間引き低解像度映像データ143とが記録媒体170に書き込む(記録する)順番にデータが並べられ,記録信号151として記録媒体記録部160へ送信される。なお,記録信号151には,例えば,高解像度映像データ131の複数秒分(2秒分など)のデータと同じ内容の低解像度映像データ141及び/又は間引き低解像度映像データ143の複数秒分のデータとが交互に並んでいるが,かかる例に限定されない。
In the
記録媒体記録部160は,受信した上記記録信号151を記録媒体170に記録する。なお,本実施の形態にかかる記録媒体170は,CD,DVD,またはBlu−ray等,光ディスクの場合を例に挙げて説明するが,かかる例に限定されず,磁気ディスク等の場合でも実施可能である。
The recording
コントロール部180は,映像処理装置100に備わる各部の処理を制御する。また,コントロール部180は,低解像度圧縮部140が出力するデータを,低解像度映像データ141又は間引き低解像度映像データ143のうち少なくとも一方を選択し,指示情報181を出力する。
The
コントロール部180は,ユーザから受付けた低解像度映像データ141に対するデータレート値を基にして,上記低解像度圧縮部140が出力するデータを選択している。より具体的には,例えば,ユーザから受付けたデータレート値が所定値よりも小さい場合,コントロール部180は,3フレームごとに1フレーム分のフレームを間引いた間引き低解像度映像データを選択し,かかるフレーム間引き処理の内容を表わす値を指示情報181に設定し,低解像度圧縮部140に出力する。
The
低解像度圧縮部140は,上記コントローラ部180から指示情報181を受信すると,その指示情報181に記載された値に従い,フレーム間引き処理を実行し,間引き低解像度映像データ143に加工し,出力する。
When the low
上記フレーム間引き処理については,後程詳述するが,映像データ121に構成されるフレーム(画像含む)を間引いて,その間引いたフレームに他のフレームを複写したものを配置する処理である。なお,例えば,低解像度圧縮部140が指示情報181を受信しなかった場合,または受信した指示情報181に設定された値が全て0の場合,低解像度圧縮部140は,間引き低解像度映像データ143ではなく,低解像度映像データ141を出力する。
The frame thinning process, which will be described in detail later, is a process of thinning out a frame (including an image) configured in the
上記指示情報181には,間引き低解像度映像データ143に加工する際に,どの程度,映像データからフレームを間引くのか等の値(M,N)が設定されている。指示情報181に設定される上記(M,N)の値は,ユーザから受付けたデータレート値に応じて変動する。例えば,低解像度映像データ141のデータレート値がユーザから50と受付けた場合,指示情報181の(M,N)は(1,2)等と設定される。詳細は後述する。
In the
なお,本実施の形態に係る指示情報181は,コントローラ部180がユーザから受付けたデータレート値に応じて作成される場合を例に挙げて説明するが,かかる例に限定されず,例えば,ユーザから直接,指示情報181の(M,N)に設定する値を受付ける場合でも実施可能である。
The
また,ユーザからデータレート値又は指示情報181の(M,N)に設定する値等を受付ける場合,コントローラ部180は,映像処理装置100に備わる入力部(図示せず。)を介して受付ける。
Further, when receiving a data rate value or a value set in (M, N) of the
上記入力部は,ユーザから指示を受けることが可能な1又は2以上からなるボタン,トラックボール,トラックパッド,スタイラスペン,ダイアルログ,またはジョイスティックなどのポインティングデバイスまたはキーボードなどからなるが,かかる例に限定されない。 The input unit includes a pointing device such as one or more buttons, a trackball, a trackpad, a stylus pen, a dial log, or a joystick that can receive instructions from the user, or a keyboard. It is not limited.
なお,以降の説明では,本実施の形態に係る映像処理装置100は,映像を記録媒体170に記録する映像記録機能(記録媒体記録部160)を備えた映像処理装置(又は,記録装置)の場合について説明するが,かかる例に限定されず,例えば,映像処理装置100は,記録媒体記録部160を具備しない場合,または映像処理装置100は,記録媒体記録部160の他にさらにCCD等を有する撮影機能(撮像部など)を具備する場合などでも実施可能である。
In the following description, the
(低解像度圧縮部について)
次に,図2を参照しながら,本実施の形態に係る低解像度圧縮部140についてより具体的に説明する。なお,図2は,本実施の形態に係る低解像度圧縮部の概略的な構成の一例を示すブロック図である。
(About the low-resolution compression unit)
Next, the low
図2に示すように,低解像度圧縮部140は,SIF(Source Input Format)フィルター210と,フレーム間引き部220と,記憶部230と,エンコーダ240とを備える。
As shown in FIG. 2, the low
上記SIFフィルター210は,入力の映像データ121に構成されるフレームの画像サイズを縦横それぞれ例えば1/2等,所定の画像フォーマットの大きさに縮小し,縮小映像データ211フレーム間引き部220に送信する。
The
フレーム間引き部220は,指示情報181を受付けて,その指示情報181の内容がフレーム間引き処理有りの場合,映像データ121に構成されるフレームに対しフレーム間引き処理を行い,フレーム間引き処理後の映像データ121をエンコーダ240に出力する。指示情報181の内容がフレーム間引きなしの場合,フレーム間引き部220は,映像データ121を,そのままエンコーダ240に出力する。なお,上記フレーム間引きなしの指示情報181には例えば,“0”の値が例外的に設定されるが,かかる例に限定されない。
The
上記エンコーダ240は,フレーム間引き部220で処理された映像データ121をMPEG4の形式に符号化(又は,圧縮)し,低解像度映像データ141又は間引き低解像度映像データ143として出力する。
The
(フレーム間引き処理及び記録処理について)
次に,図3を参照しながら,本実施の形態に係るフレーム間引き処理と記録処理について説明する。なお,図3は,本実施の形態に係るフレーム間引き処理と記録処理を示したフローチャート図である。
(About frame thinning processing and recording processing)
Next, frame thinning processing and recording processing according to the present embodiment will be described with reference to FIG. FIG. 3 is a flowchart showing frame thinning processing and recording processing according to the present embodiment.
図3に示すように,入力画像デコード部120から出力された映像データ121が低解像度圧縮部140に入力すると(S301),コントロール部180は,ユーザから受付けたデータレート値等を基に低解像度映像データ141又は間引き低解像度映像データ143のうち少なくとも一方を選択し(S303),指示情報181を低解像度圧縮部140に送信する。
As shown in FIG. 3, when the
低解像度圧縮部140のうちフレーム間引き部220は,受信した指示情報181に設定された情報(M,N)等を基にして,フレーム間引き処理を実行するか否かを判断する(S305)。なお,フレーム間引き部220によるフレーム間引き処理を実行するか否かの判断は,例えば,フレーム間引き部220は,指示情報181を所定時間内に受信するか否かによって判断しても良いし,また指示情報181に設定された(M,N)の値が(0,0)の場合,フレーム間引き処理を実行しないと判断する場合でも良い。
The
フレーム間引き処理を実行する場合(S305),フレーム間引き部220は,指示情報181に設定された情報(M,N)等を基にして,映像データ121についてフレーム間引きを実行する(S307)。
When the frame decimation process is executed (S305), the
次に,フレーム間引き部220は,映像データ121についてフレーム間引きを実行し,出力した映像データ121をエンコーダ240に送信し,当該エンコーダ240は,上記映像データ121を間引き低解像度映像データ143に圧縮する(S309)。
Next, the
最後に,低解像度圧縮部140から出力された間引き低解像度映像データ143は,高解像度圧縮部130から出力された高解像度映像データ131と順に記憶部150に並べられ記録信号151として構成し,記録媒体記録部160によって,記録媒体170にその記録信号151が記録される(S311)。以上で,フレーム間引き処理から映像データを記録媒体に記録する記録処理までの一連の処理について説明を終了する。
Finally, the thinned-out low-resolution video data 143 output from the low-
(第1の実施の形態にかかるフレーム間引き処理について)
次に,図4を参照しながら,第1の実施の形態にかかるフレーム間引き処理について詳細に説明する。図4は,第1の実施の形態にかかるフレーム間引き処理の概略を示した説明図である。
(About the frame thinning process according to the first embodiment)
Next, the frame decimation process according to the first embodiment will be described in detail with reference to FIG. FIG. 4 is an explanatory diagram showing an outline of the frame decimation process according to the first embodiment.
なお,図4に示す第1の実施の形態にかかるフレーム間引き処理は,指示情報181の情報(M,N)が(1,1)の場合における処理の動作を示している。また,図4に示す「入力」は,フレーム間引き部220に入力される映像データ121を示し,「出力」はエンコーダ240に送信されるデータを示している。
The frame decimation process according to the first embodiment shown in FIG. 4 shows the operation of the process when the information (M, N) of the
ここで,指示情報181に設定される(M,N)について説明する。上記M及びNは1又は2以上の自然数の値であるが,例外的に0もあり得る。またM及びNは,1又は2個以上のM(M1,M2,…,Mi),1又は2個以上のN(N1,N2,…,Nr)からなる場合でも可能である。
Here, (M, N) set in the
なお,コントローラ部180から送信される指示情報181に含む(M,N)の値は,M及びNいずれも原則1又は2以上の自然数である。しかし,ユーザがフレーム間引き処理を要求しない等の場合,例外としてM及びNの値がいずれも0が設定された指示情報181がコントローラ部180によって生成される。上記の場合,フレーム間引き部220は,フレーム間引き処理をせずに,映像データ121を出力する。したがって,エンコーダ240からは低解像度映像データ141が出力される。
Note that the values of (M, N) included in the
また,上記MはMフレーム分のフレームを間引かない処理(第1のフレーム処理)を示している。例えば,上記Mが3の場合,フレーム間引き部220は,映像データ121に構成されたフレームのうち,3フレーム分のフレームを間引かない処理を行う。
Further, M represents a process (first frame process) in which M frames are not thinned out. For example, when M is 3, the
次に,上記NはNフレーム分のフレームを間引く処理(第2のフレーム処理)を示している。例えば,上記Nが5の場合,フレーム間引き部220は,映像データ121に構成されたフレームのうち,5フレーム分のフレームを間引く処理を行う。
Next, N indicates a process of thinning out N frames (second frame process). For example, when N is 5, the
フレーム間引き部220は,図4に示すように(M,N)が(1,1)である指示情報181をコントロール部180から受信すると,入力されてくる映像データ121に構成されるフレームについて,1フレーム分のフレームを間引かない処理と1フレーム分のフレームを間引く処理とを交互に繰り返し,映像データに構成されるフレームの終わりまで行う。
As shown in FIG. 4, when the
なお,図4等に示す入力,出力の映像データ121に構成される各矩形が1フレームにおける画像データを表し,矩形中に記載される番号は便宜上フレームを識別するフレーム番号として用いられ,番号の小さい順(0,1,…)にフレーム間引き部220に入力される。
Each rectangle formed in the input and
より具体的には,指示情報181を受信すると,図4に示すように,フレーム間引き部220は,フレーム0については間引かずに(捨てずに),記憶部230にフレーム0の画像データを格納するとともに,そのまま画像データを出力し,次にフレーム1については間引き(捨てて),記憶部230に格納されたフレーム0の映像データをフレーム1の映像データとして出力する。したがって,出力側は,フレーム0とフレーム1に係る画像データは同一のものとなる。
More specifically, when the
以降,フレーム間引き部220は,フレーム2,フレーム3,…と1フレーム分のフレームを間引かない処理と,1フレーム分のフレームを間引く処理とを交互に,最終のフレームまで繰り返し行い,出力側に各フレームの映像データ121を出力していく。
Thereafter, the
結果として,指示情報181の(M,N)が(1,1)の場合,出力側には2フレームごとに同じ画像が続く映像データ121がエンコーダ240に出力される。
As a result, when (M, N) of the
なお,第1の実施の形態にかかるフレーム間引き部220は,1フレーム分のフレームを間引く処理と,1フレーム分のフレームを間引かない処理とを1回ずつ交互に繰り返し行う場合を例に挙げて説明したが,かかる例に限定されず,例えば,フレーム間引き部220は,1フレーム分のフレームを間引かない処理を1又は2回以上連続して行い,1フレーム分のフレームを間引く処理を1又は2回以上連続して行う処理を交互に繰り返す場合でも実施可能である。
Note that the
また,第1の実施の形態にかかるフレーム間引き部220は,映像データに構成される全てのフレームについて,指示情報181を基に間引き処理を行う場合を例に挙げて説明したが,かかる例に限定されず,例えば,10フレームを1つのグループ(グループフレーム,又はGOP等)とし,フレーム間引き部220は,指示情報181を基に映像データに構成される先頭から10グループフレームについて間引き処理を行う場合等でも実施可能である。
Further, although the
(第1の実施の形態にかかるデータ量について)
次に,図5〜図9を参照しながら,第1の実施の形態にかかる低解像度映像データ141と間引き低解像度映像データ143とのデータ量について説明する。なお,図5〜図9に示す映像は,10フレーム分の映像データを1つのグループ(グループフレーム,GOP)としている。
(Regarding the amount of data according to the first embodiment)
Next, the data amounts of the low-resolution video data 141 and the thinned-out low-resolution video data 143 according to the first embodiment will be described with reference to FIGS. The video shown in FIGS. 5 to 9 includes 10 frames of video data as one group (group frame, GOP).
また,上記GOPのうち最初のフレーム(フレーム0)をIフレーム(又は,Iピクチャ:静止画像として圧縮,Intraフレーム(イントラ符号化画像)の略)とし,それ以降のフレーム(フレーム1〜フレーム9)をPフレーム(又は,Pピクチャ:差分情報で圧縮,Predictiveフレーム(Predictive符号化画像)の略)としている。
The first frame (frame 0) of the GOP is an I frame (or I picture: compressed as a still image, an abbreviated intra frame (intra-coded image)), and subsequent frames (
また,図5〜図9に示すフレーム0〜フレーム9のGOP全体のデータ量が一定になるように圧縮されている。上記圧縮は,本実施の形態では,MPEG4を採用しているが,係る例に限定されない。一般的にMPEG4では,Iフレームに最も多くのデータを割り当て,それに続くPフレームは,Iフレーム画像との差分情報で表されるため,Iフレームよりもデータ量が小さくなる。
Also, compression is performed so that the data amount of the entire GOP of
図5に示すように,映像データ121は,フレーム0〜フレーム9の画像から構成されている。フレーム番号が大きくなるに従って時間が経過することで映像として流れている。上記フレーム0〜フレーム9を,まずはフレーム間引きをせずにエンコーダ240が符号化した場合のデータ量について,以下,図6を参照しながら説明する。
As shown in FIG. 5, the
図6は,図5に示したフレーム0〜フレーム9の画像全体のデータ量が100とした場合,エンコーダ240が映像データ121をMPEG4で圧縮し,低解像度映像データ141として出力したときの出力結果を示したものである。
FIG. 6 shows an output result when the
なお,フレーム番号ごとに記載された数値はデータのサイズを表している。上記の通りフレーム0〜フレーム9のデータサイズは合計100となっている。
The numerical value described for each frame number represents the data size. As described above, the data size of
図6に示すように,低解像度映像データ141に構成されるIフレームのデータサイズが28であるのに対し,Pフレームは8であるため,全体のデータ量(100)のうちIフレームに占める割合が大きいことが分かる。 As shown in FIG. 6, the data size of the I frame configured in the low-resolution video data 141 is 28, whereas the P frame is 8, so that the total amount of data (100) occupies the I frame. It can be seen that the ratio is large.
ここで,データレート値を,図6に示すエンコーダ240による圧縮されたフレーム0〜フレーム9よりも略半分のデータレート値に設定し,1GOP分の映像データ121を図6に示すものと同じ圧縮を施した出力結果が図7である。
Here, the data rate value is set to a data rate value substantially half that of
図7に示すように,低解像度映像データ141のフレーム構成は図5に示すフレーム0〜フレーム9そのままであり,データレート値が図6に示す値の1/2であるため,各フレームのデータサイズが図6に示すデータサイズの1/2であるのが分かる。
As shown in FIG. 7, the frame configuration of the low-resolution video data 141 is the same as the
したがって,図7に示すフレーム0〜フレーム9のデータサイズの合計は図6に示すデータサイズの合計の半分である50となっている。しかし,単純にデータレート値を半分に落としても,Iフレームのデータサイズが半分であるため,Iフレームの画質が劣化してしまい,さらにPフレームも,結局Iフレームの差分画像であるため,そのIフレーム以上の画質は望めない。
Therefore, the total data size of
そこで,次に,図8,図9を参照しながら,第1の実施の形態にかかる間引き低解像度映像データ143のデータ量について説明する。図8は,第1の実施の形態にかかる間引き低解像度データ143に圧縮する際の入力画像の概略を示した説明図である。 Accordingly, the data amount of the thinned-out low-resolution video data 143 according to the first embodiment will be described next with reference to FIGS. FIG. 8 is an explanatory diagram showing an outline of an input image when compressed to the thinned-out low resolution data 143 according to the first embodiment.
図8に示すように,フレーム0〜フレーム9からなる映像データは,図5に示すフレーム0〜フレーム9の映像データと同一である。その図8に示すフレーム0〜フレーム9のうち,フレーム1,フレーム3,フレーム5,フレーム7,フレーム9を間引き,間引かれたフレームにそれぞれ直前のフレームの画像を配置した後,MPEG4で圧縮することで,間引き低解像度映像データ143を出力する。なお,かかる処理は上記説明した指示情報181の(M,N)が(1,1)の場合のフレーム間引き処理と同様である。
As shown in FIG. 8, the video data composed of
上記フレーム間引き処理し,図6に示すデータレート値の半分になるようにMPEG4で圧縮し,間引き低解像度映像データ143として出力した場合の結果が,図9である。以下,図9について説明する。 FIG. 9 shows the result when the frame thinning process is performed, the data is compressed by MPEG4 so as to be half the data rate value shown in FIG. 6, and the thinned low-resolution video data 143 is output. Hereinafter, FIG. 9 will be described.
図9に示すように,フレーム1,フレーム3,フレーム5,フレーム7,フレーム9が他のフレームよりもデータ量が小さいのが分かる。これは,上記各フレームは,その直前のフレーム(フレーム0,フレーム2,フレーム4,フレーム6,フレーム8)を複写したものであり,同一の画像であるため,差分がほとんどないためPフレームとしてのデータ量を最大限小さくすることができる。
As shown in FIG. 9, it can be seen that
したがって,上記間引いたフレームについてデータ量が小さくなった分を,他のフレーム(特にIフレーム)にデータ量を合計が50になるまで割当てることができる。つまり,図7に示すIフレームのデータサイズと比較すると,図9に示すIフレームのデータサイズは14から23に大きくなり,画質が向上しているのが分かる。また間引いたフレームの画像を複写したフレームの画像に置換したことで生じた差分だけPフレーム(フレーム2等)のデータサイズも4から5.5に大きくなっている。
Therefore, the data amount of the thinned frame can be allocated to other frames (particularly I frames) until the total amount reaches 50. That is, as compared with the data size of the I frame shown in FIG. 7, it can be seen that the data size of the I frame shown in FIG. 9 is increased from 14 to 23, and the image quality is improved. Further, the data size of the P frame (
以上から,図9に示す間引き低解像度映像データ143は,図7に示す低解像度映像データ141と比べて,双方ともデータレート値は同一でありながらも,図9に示すIフレーム等のフレームにデータ量を多く割当てることができるため,その分,間引き低解像度映像データ143の方が図7に示す低解像度映像データ141よりも画質が良いといえる。以上から,間引き低解像度映像データ143は,各フレームの画像の更新率は低下するが,各フレーム画像の画質については劣化を最小限に留めることができる。 From the above, the thinned-out low-resolution video data 143 shown in FIG. 9 has the same data rate value as that of the low-resolution video data 141 shown in FIG. Since a large amount of data can be allocated, the thinned-out low-resolution video data 143 can be said to have better image quality than the low-resolution video data 141 shown in FIG. As described above, in the thinned-out low-resolution video data 143, the image update rate of each frame is reduced, but the image quality of each frame image can be minimized.
(第2の実施の形態にかかるフレーム間引き処理について)
次に,図10を参照しながら,第2の実施の形態にかかるフレーム間引き処理について説明する。なお,図10は,第2の実施の形態にかかるフレーム間引き処理の概略の一例を示した説明図である。なお,第2の実施の形態にかかるフレーム間引き処理と,第1の実施の形態にかかるフレーム間引き処理とを比較し,特に相違する点について説明する。その他については,特段の記載が無い場合実質的に同一であるため詳細な説明は省略する。
(Frame thinning process according to the second embodiment)
Next, the frame decimation process according to the second embodiment will be described with reference to FIG. FIG. 10 is an explanatory diagram showing an example of an outline of the frame thinning process according to the second embodiment. Note that the frame decimation process according to the second embodiment and the frame decimation process according to the first embodiment are compared, and differences in particular will be described. Others are substantially the same unless otherwise specified, and will not be described in detail.
図10に示すように,第2の実施の形態にかかるフレーム間引き処理は,指示情報181の情報(M,N)が(1,3)の場合における処理の動作を示している。また,図10に示す「入力」は,フレーム間引き部220に入力される映像データ121を示し,「出力」はエンコーダ240に送信されるデータを示している。
As shown in FIG. 10, the frame decimation process according to the second embodiment shows the operation of the process when the information (M, N) of the
フレーム間引き部220は,図10に示すように(M,N)が(1,3)である指示情報181をコントロール部180から受信すると,入力されてくる映像データ121に構成されるフレームについて,1フレーム分のフレームを間引かない処理と,3フレーム分のフレームを間引く処理とを交互に繰り返し,映像データに構成されるフレームの終わりまで行う。
As shown in FIG. 10, when the
より具体的に説明すると,フレーム間引き部220が指示情報181を受信すると,図10に示すように,フレーム間引き部220は,フレーム0については間引かずに(捨てずに),記憶部230にフレーム0に係る画像データを格納するとともに,そのままフレーム0の画像データを出力する。
More specifically, when the
次に,フレーム間引き部220は,フレーム1,フレーム2,およびフレーム3の3フレーム分のフレームについては間引き(捨てて),当該3フレームに該当するフレーム部分に記憶部230に格納されたフレーム0の画像データを3連続して配置し,出力する。したがって,出力側のフレーム0〜フレーム3に係る各画像データは同一のものとなる。
Next, the
同様に,フレーム間引き部220は,フレーム4は間引かずに,フレーム5,フレーム6,フレーム7の3フレームについては間引き,記憶部230に格納されたフレーム4の画像データを上記フレーム5,フレーム6,フレーム7に配置し,出力する。
Similarly, the
以降,映像データに構成されるフレームの終わりまで,フレーム間引き部220が,1フレーム分のフレームを間引く処理と,3フレーム分のフレームを間引く処理とを交互に繰り返して行う。
Thereafter, until the end of the frame configured in the video data, the
以上,フレーム間引き部220から出力された映像データ121は,指示情報181の(M,N)が(1,3)の場合,4フレームを一つのグループとし,グループ内では画像が同じで,グループ間では相異なる画像からなる映像データである。
As described above, in the
以上で,第2の実施の形態に係るフレーム間引き処理の一連の処理について終了するが,かかるフレーム間引き処理は,第1の実施の形態にかかるフレーム間引き処理と比べて,以下に示す点で優れている。
(1)連続して同じ画像である回数が多いため,フレーム間の画像変化をより一層抑えることができるため,Pフレームのデータ量をより一層小さくし,その分Iフレーム等のフレームにデータを割当てることができ,画質をより一層向上させることができる。
This is the end of the series of frame thinning processing according to the second embodiment. This frame thinning processing is superior to the frame thinning processing according to the first embodiment in the following points. ing.
(1) Since there are many times that the images are the same continuously, the image change between frames can be further suppressed. Therefore, the data amount of the P frame is further reduced, and the data in the frame such as the I frame is correspondingly reduced. The image quality can be further improved.
なお,第2の実施の形態にかかるフレーム間引き部220は,1フレーム分のフレームを間引かない処理と,3フレーム分のフレームを間引く処理とを1回ずつ交互に繰り返し行う場合を例に挙げて説明したが,かかる例に限定されず,例えば,フレーム間引き部220は,1フレーム分のフレームを間引かない処理を1又は2回以上連続して行い,3フレーム分のフレームを間引く処理を1又は2回以上連続して行う処理を交互に繰り返す場合でも実施可能である。なお,上記連続して行う処理の回数は,予め定められてもよいし,ランダムに変動しても良い。
Note that the
また,第2の実施の形態にかかるフレーム間引き部220は,1フレーム分のフレームを間引かない処理と,3フレーム分のフレームを間引く処理とを1回ずつ交互に繰り返し行う場合を例に挙げて説明したが,かかる例に限定されず,例えば,フレーム間引き部220は,1又は2以上のフレームを間引かない処理と,1又は2以上のフレームを間引く処理とを1回ずつ交互に繰り返して行う場合等でも実施可能である。なお,フレームを間引かない処理とフレームを間引く処理とを交互に複数回ずつ連続して行っても良い。
In addition, the
また,第2の実施の形態にかかるフレーム間引き部220は,映像データに構成される全てのフレームについて,指示情報181を基に間引き処理を行う場合を例に挙げて説明したが,かかる例に限定されず,例えば,10フレームを1つのグループ(グループフレーム,又はGOP等)とし,フレーム間引き部220は,指示情報181を基に映像データ121に構成される先頭から10グループフレームについて間引き処理を行う場合等でも実施可能である。
Further, the
(第3の実施の形態にかかるフレーム間引き処理について)
次に,図11を参照しながら,第3の実施の形態にかかるフレーム間引き処理について説明する。なお,図11は,第3の実施の形態にかかるフレーム間引き処理の概略の一例を示した説明図である。なお,第3の実施の形態にかかるフレーム間引き処理と,第1の実施の形態にかかるフレーム間引き処理とを比較し,特に相違する点について説明する。その他については,特段の記載が無い場合実質的に同一であるため詳細な説明は省略する。
(About frame thinning processing according to the third embodiment)
Next, a frame thinning process according to the third embodiment will be described with reference to FIG. FIG. 11 is an explanatory diagram showing an example of an outline of the frame decimation process according to the third embodiment. Note that the frame decimation process according to the third embodiment and the frame decimation process according to the first embodiment are compared, and differences between them will be described. Others are substantially the same unless otherwise specified, and will not be described in detail.
図11に示すように,第3の実施の形態にかかるフレーム間引き処理は,指示情報181の情報(M1,N1)が(1,1),(M2,N2)が(2,2)の場合における処理の動作を示している。
As shown in FIG. 11, in the frame decimation process according to the third embodiment, the information (M 1 , N 1 ) of the
図11に示すように,フレーム間引き部220は,上記指示情報181をコントロール部180から受信すると,入力されてくる映像データ121に構成されるフレームについて,まず(M1,N1)に設定された値を基にして処理を行い,その後(M2,N2)に設定された値を基にして処理を行う。以降は,上記(M1,N1)とを基にした処理と(M2,N2)とを基にした処理を交互に繰り返して行う。
As shown in FIG. 11, when the
上記(M1,N1)に設定された値は(1,1)であるため,フレーム間引き部220は,1フレーム分のフレームを間引かない処理と,1フレーム分のフレームを間引く処理とを交互に1回ずつ行う。
Since the value set in (M 1 , N 1 ) is (1, 1), the
なお,コントローラ部180から送信される指示情報181に含む(M,N)の値は,M及びNいずれも原則1又は2以上の自然数であるが,例外としてM及びNの値がいずれも0の場合,フレーム間引き部220は,フレーム間引き処理をせずに,出力する。したがって,エンコーダ240からは低解像度映像データ141が出力される。
Note that the values of (M, N) included in the
また,上記(M2,N2)に設定された値は(2,2)であるため,フレーム間引き部220は,2フレーム分のフレームを間引かない処理と,2フレーム分のフレームを間引く処理とを交互に1回ずつ行う。
Further, since the value set in (M 2 , N 2 ) is (2, 2), the
より具体的に説明すると,フレーム間引き部220が上記指示情報181を受信すると,図11に示すように,フレーム間引き部220は,フレーム0については間引かずに(捨てずに),記憶部230にフレーム0に係る画像データを格納するとともに,そのままフレーム0の画像データを出力する。
More specifically, when the
次に,フレーム間引き部220は,フレーム1については間引き(捨てて),記憶部230に格納されたフレーム0の映像データをフレーム1の映像データとして出力する。したがって,出力側は,フレーム0とフレーム1に係る画像データは同一のものとなる。以上で,上記(M1,N1)を基にした処理は終了する。
Next, the
次に,フレーム間引き部220は,フレーム0の場合と同様に,フレーム2については間引かずに(捨てずに),記憶部230にフレーム2に係る画像データを格納するとともに,そのままフレーム2の画像データを出力する。
Next, the
さらに,フレーム間引き部220は,フレーム3も間引かずに,記憶部230にフレーム3に係る画像データを記憶部230のフレーム2に係る画像データに上書きし,フレーム3の画像データを出力する。なお,記憶部230のフレーム2に係る画像データに上書きせずにフレーム3の画像データを記憶しても良い。
Further, the
次に,フレーム間引き部220は,フレーム4とフレーム5の2フレーム分のフレームについては間引き,上記2フレームに該当する部分に,記憶部230に格納されたフレーム3の画像データを連続して配置し,出力する。したがって,出力側のフレーム3〜フレーム5に係る各画像データは同一のものとなる。以上で,(M2,N2)を基にした処理が終了する。
Next, the
以降,上記説明したように,映像データに構成されるフレームの終わりまで,フレーム間引き部220は,(M1,N1)を基にした処理と(M2,N2)を基にした処理とを交互に繰り返して行う。
Thereafter, as described above, until the end of the frame formed in the video data, the
以上で,第3の実施の形態に係るフレーム間引き処理の一連の処理について終了するが,かかるフレーム間引き処理は,第1の実施の形態にかかるフレーム間引き処理と比べて,以下に示す点で優れている。
(1)フレーム間で同じ画像が連続する場合と,不連続である場合とが交互に出現するため,フレーム間の画像変化に対して広範囲に対応可能であり,例えば,風景など動きの少ない映像の場合でも,スポーツなど動きの多い映像の場合でも満遍なく画質の劣化をある程度抑えた間引き低解像度映像データ143を出力することができる。
This is the end of the series of frame thinning processing according to the third embodiment. This frame thinning processing is superior to the frame thinning processing according to the first embodiment in the following points. ing.
(1) The case where the same image continues between frames and the case where they are discontinuous appear alternately, so that it is possible to deal with a wide range of image changes between frames, for example, a video with little motion such as a landscape. In this case, even in the case of a video with a lot of movement such as sports, it is possible to output the thinned-out low-resolution video data 143 that uniformly suppresses the deterioration of the image quality to some extent.
なお,第3の実施の形態にかかるフレーム間引き部220は,(M1,N1)を基にした処理と,(M2,N2)を基にした処理とを1回ずつ交互に繰り返す場合を例に挙げて説明したが,かかる例に限定されず,例えば,フレーム間引き部220は,(M1,N1),(M2,N2),…,(Ms,Ns)と複数からなる場合でも実施可能である。なお,(Ms,Ns)(S=1,2,…)を基にした処理は,1回ずつ順番に繰り返す場合に限定されず,複数回ずつ順番に行い,それをサイクルとして繰り返す場合でも実施可能である。また,上記複数回連続して行う処理の回数は,例えば,予め定められてもよいし,各サイクルでランダムに変動しても良い。
Note that the
また,第3の実施の形態にかかる(Ms,Ns)(S=1,2,…)に設定されるM及びNの値は,1又は2以上の自然数であれば,いかなる値が設定される場合でも実施可能である。 Further, the values of M and N set in (M s , N s ) (S = 1, 2,...) According to the third embodiment are any values as long as they are 1 or 2 or more natural numbers. Even if it is set, it can be implemented.
また,第3の実施の形態にかかるフレーム間引き部220は,映像データに構成される全てのフレームについて,指示情報181を基に間引き処理を行う場合を例に挙げて説明したが,かかる例に限定されず,例えば,10フレームを1つのグループ(グループフレーム,又はGOP等)とし,フレーム間引き部220は,指示情報181を基に映像データ121に構成される先頭から10グループフレームについて間引き処理を行う場合等でも実施可能である。
Further, the
なお,上述した一連の処理は,専用のハードウェアにより行うこともできるし,ソフトウェアにより行うこともできる。一連の処理をソフトウェアによって行う場合には,そのソフトウェアを構成するプログラムが,汎用のコンピュータやマイクロコンピュータ等の情報処理装置にインストールされ,当該情報処理装置を映像処理装置100として機能させる。
The series of processes described above can be performed by dedicated hardware or software. When a series of processing is performed by software, a program constituting the software is installed in an information processing device such as a general-purpose computer or a microcomputer, and the information processing device functions as the
プログラムは,コンピュータに内蔵されている記録媒体としてのハードディスクやROM,フラッシュメモリ等に予め記録しておくことができる。あるいはまた,プログラムは,ハードディスクドライブに限らず,フレキシブルディスク,CD−ROM(Compact Disc Read Only Memory),MO(Magneto Optical)ディスク,DVD(Digital Versatile Disc),磁気ディスク,半導体メモリなどのリムーバブル記録媒体等に,一時的あるいは永続的に格納(記録)しておくことができる。このようなリムーバブル記録媒体は,いわゆるパッケージソフトウエアとして提供することができる。 The program can be recorded in advance in a hard disk, ROM, flash memory, or the like as a recording medium built in the computer. Alternatively, the program is not limited to a hard disk drive, but a removable recording medium such as a flexible disk, a CD-ROM (Compact Disc Read Only Memory), an MO (Magneto Optical) disk, a DVD (Digital Versatile Disc), a magnetic disk, and a semiconductor memory. For example, it can be stored (recorded) temporarily or permanently. Such a removable recording medium can be provided as so-called package software.
なお,プログラムは,上述したようなリムーバブル記録媒体からコンピュータにインストールする他,ダウンロードサイトから,ディジタル衛星放送用の人工衛星を介して,コンピュータに無線で転送したり,LAN(Local Area Network),インターネットといったネットワークを介して,コンピュータに有線で転送し,コンピュータでは,そのようにして転送されてくるプログラムを,ハードディスクにインストールすることができる。 The program is installed on the computer from the removable recording medium as described above, and is transferred from the download site to the computer wirelessly via a digital satellite broadcasting artificial satellite, or a LAN (Local Area Network) or the Internet. Such a program can be transferred to a computer via a network, and the computer can install the transferred program on the hard disk.
ここで,本明細書において,コンピュータに各種の処理を行わせるためのプログラムを記述する処理ステップは,必ずしもフローチャートとして記載された順序に沿って時系列に処理する必要はなく,並列的あるいは個別に実行される処理(例えば,並列処理あるいはオブジェクトによる処理)も含むものである。 Here, in this specification, the processing steps for describing a program for causing a computer to perform various processes do not necessarily have to be processed in time series in the order described in the flowchart, but in parallel or individually. This includes processing to be executed (for example, parallel processing or processing by an object).
また,プログラムは,1のコンピュータにより処理されるものであっても良いし,複数のコンピュータによって分散処理されるものであっても良い。 The program may be processed by one computer, or may be distributedly processed by a plurality of computers.
以上で,映像処理装置100についての説明を終了するが,かかる装置により以下に示すような優れた効果がある。
(1)データレート値を下げても,フレーム数を変更せず,低解像度ではあるが画質の劣化を最大限に防げる間引き低解像度映像データを作成することができる。したがって,編集や高速画像検索等の際,効率を妨げることなく,またデータ量を低減してネットワークにかかる負荷を軽くして,遠隔地に送信することができる。
(2)フレーム数は一切変えず,フレームの画像の更新率のみを落とすことが可能になるため,ユーザはデータレート値が低くても画質劣化の少ない画像を視聴等することができる。また,画質と画像更新率を考慮して,データレート値等を自由にユーザが設定することができる。
This is the end of the description of the
(1) Even if the data rate value is lowered, the number of frames is not changed, and it is possible to create thinned-out low-resolution video data that can prevent deterioration of image quality to the maximum although it has low resolution. Therefore, when editing, high-speed image retrieval, etc., it is possible to transmit to a remote place without impeding efficiency, reducing the amount of data and reducing the load on the network.
(2) Since the number of frames is not changed at all and only the frame image update rate can be reduced, the user can view an image with little image quality degradation even if the data rate value is low. In addition, the user can freely set the data rate value and the like in consideration of the image quality and the image update rate.
以上,添付図面を参照しながら本発明の好適な実施形態について説明したが,本発明はかかる例に限定されない。当業者であれば,特許請求の範囲に記載された技術的思想の範疇内において各種の変更例または修正例を想定し得ることは明らかであり,それらについても当然に本発明の技術的範囲に属するものと了解される。 As mentioned above, although preferred embodiment of this invention was described referring an accompanying drawing, this invention is not limited to this example. It is obvious for a person skilled in the art that various changes or modifications can be envisaged within the scope of the technical idea described in the claims, and these are naturally within the technical scope of the present invention. It is understood that it belongs.
上記実施形態においては,映像処理装置100は記録媒体に映像を記録する機能を具備した記録装置の場合を例にあげて説明したが,映像データ121を入力し,フレーム間引き処理を実行し,圧縮処理が可能であれば,本発明はかかる例に限定されず,いかなる装置の場合でも実施可能である。
In the above embodiment, the
また,上記実施形態においては,記憶部150と,記憶部230とは,各々別体の記憶部から構成される場合を例に挙げて説明したが,かかる例に限定されず,例えば,記憶部150と,記憶部230とは,一体型の記憶部として映像処理装置100に備わる場合でも実施可能である。
In the above-described embodiment, the case where the
また,上記実施形態においては,映像処理装置100は,映像を記録媒体170に記録する記録媒体記録部160を備えた場合を例に挙げて説明したが,かかる例に限定されず,例えば,映像処理装置100は,映像を記録媒体170に記録する記録媒体記録部160を具備しない場合,また映像処理装置100は,記録媒体記録部160及び/又は撮像機能(CCD等を有する撮像部など)を具備する場合などでも実施可能である。
In the above-described embodiment, the
上記実施形態においては,映像処理装置100に備わる各部はハードウェアからなる場合を例にあげて説明したが,本発明はかかる例に限定されない。例えば,映像処理装置100に備わる高解像度圧縮部130,低解像度圧縮部140は,1又は2以上のモジュールまたはコンポーネントから構成されるプログラムの場合であってもよい。
In the above-described embodiment, the case where each unit included in the
100 映像処理装置
110
102 部品
100
102 parts
Claims (12)
前記選択部により選択された処理を実行し,前記映像データを前記間引き圧縮映像データ又は圧縮映像データのいずれかに加工する第1の映像加工部とを備えることを特徴とする,映像処理装置。 One or more frames of a plurality of frames configured in video data are thinned out, and the thinned frame is replaced with a copy of the frame before or after that frame, followed by compression processing. To process the video data into compressed video data by performing the first processing for processing the video data into replacement compressed video data, or by performing compression processing without decimating any frames formed in the video data A selection unit for selecting one of the second processing processes;
A video processing apparatus comprising: a first video processing unit that executes the process selected by the selection unit and processes the video data into either the thinned compressed video data or the compressed video data.
前記第1の加工処理が選択された場合,前記映像データに構成される複数のフレームのうち1又は2フレーム以上のフレームを間引き,さらにその間引いたフレームを,そのフレームの前フレームもしくは後フレームを複写したものに置き換え,その後に圧縮処理を施す工程と;
前記第2の加工処理が選択された場合,前記映像データに構成されるいずれのフレームも間引かずに圧縮処理を施す工程とを含むことを特徴とする,映像処理方法。 One or more frames of a plurality of frames configured in video data are thinned out, and the thinned frame is replaced with a copy of the frame before or after that frame, followed by compression processing. To process the video data into compressed video data by performing the first processing for processing the video data into replacement compressed video data, or by performing compression processing without decimating any frames formed in the video data Selecting one of the second processing treatments;
When the first processing process is selected, one or more frames among a plurality of frames configured in the video data are thinned out, and further, the thinned frame is converted into a frame before or after the frame. Replacing it with a copy of it and then compressing it;
And a step of performing a compression process without thinning out any frames formed in the video data when the second processing process is selected.
前記選択ステップにおいて前記第1の加工処理が選択された場合,前記映像データに構成される複数のフレームのうち1又は2フレーム以上のフレームを間引き,さらにその間引いたフレームを,そのフレームの前フレームもしくは後フレームを複写したものに置き換え,その後に圧縮処理を施すステップと;
前記選択ステップにおいて前記第2の加工処理が選択された場合,前記映像データに構成されるいずれのフレームも間引かずに圧縮処理を施すステップとを含んだ映像処理方法をコンピュータに実行させることを特徴とする,コンピュータプログラム。 One or more frames of a plurality of frames configured in video data are thinned out, and the thinned frame is replaced with a copy of the frame before or after that frame, followed by compression processing. To process the video data into compressed video data by performing the first processing for processing the video data into replacement compressed video data, or by performing compression processing without decimating any frames formed in the video data Selecting any of the second processing steps;
When the first processing process is selected in the selection step, one or more frames out of a plurality of frames configured in the video data are thinned out, and the thinned frame is replaced with the previous frame of the frame. Or the step of replacing the post-frame with a copy and then compressing it;
Causing the computer to execute a video processing method including a step of performing a compression process without thinning out any frames formed in the video data when the second processing process is selected in the selection step. A characteristic computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005084422A JP2006270405A (en) | 2005-03-23 | 2005-03-23 | Device and method for processing video and computer program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005084422A JP2006270405A (en) | 2005-03-23 | 2005-03-23 | Device and method for processing video and computer program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006270405A true JP2006270405A (en) | 2006-10-05 |
Family
ID=37205907
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005084422A Withdrawn JP2006270405A (en) | 2005-03-23 | 2005-03-23 | Device and method for processing video and computer program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006270405A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011217151A (en) * | 2010-03-31 | 2011-10-27 | Fujitsu Ltd | Data converter, data conversion method, and data conversion program |
JP2014110446A (en) * | 2012-11-30 | 2014-06-12 | Casio Comput Co Ltd | Dynamic image recording device, dynamic image recording method and program |
CN109472874A (en) * | 2018-11-16 | 2019-03-15 | 京东方科技集团股份有限公司 | Display methods, device, VR display device and storage medium |
-
2005
- 2005-03-23 JP JP2005084422A patent/JP2006270405A/en not_active Withdrawn
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011217151A (en) * | 2010-03-31 | 2011-10-27 | Fujitsu Ltd | Data converter, data conversion method, and data conversion program |
JP2014110446A (en) * | 2012-11-30 | 2014-06-12 | Casio Comput Co Ltd | Dynamic image recording device, dynamic image recording method and program |
CN109472874A (en) * | 2018-11-16 | 2019-03-15 | 京东方科技集团股份有限公司 | Display methods, device, VR display device and storage medium |
US11321812B2 (en) | 2018-11-16 | 2022-05-03 | Beijing Boe Optoelectronics Technology Co., Ltd. | Display method, display device, virtual reality display device, virtual reality device, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI325582B (en) | ||
JP2018501693A (en) | How to create a video | |
JP2004221999A (en) | Image processing method | |
JP6270555B2 (en) | Image processing system, imaging apparatus, and control method thereof | |
JP2010124038A (en) | Image converter, image reproducer, image conversion/reproduction system, and program | |
JP6588801B2 (en) | Image processing apparatus, image processing method, and program | |
US20150110469A1 (en) | Communication System, Terminal Device, Registration Method, and Storage Medium | |
JP2005006191A (en) | Still image synthesizer and still image synthesizing method from moving image | |
JP4915208B2 (en) | Stream data playback system | |
US20030099293A1 (en) | Image reproducing method, and image processing method, and image reproducing device, image processing device, and television receiver capable of using the methods | |
JP2008227744A (en) | Video server and video editing system | |
JP2006270405A (en) | Device and method for processing video and computer program | |
US20070097147A1 (en) | Dynamic image editing system, the same apparatus and mobile device | |
JP2008252874A (en) | Moving picture coding method, moving picture decoding method, moving picture coding device, and moving picture decoding device | |
EP1259073A1 (en) | Image reproducing method and image processing method, and image reproducing device, image processing device, and television receiver capable of using the methods | |
JP2004193695A (en) | Recording and reproducing apparatus and method | |
JP2008124932A (en) | Nonlinear editing device and program thereof, and data replacing method of nonlinear editing device | |
JP2006303611A (en) | Video processing apparatus, video processing method, and computer program | |
JP2011146847A (en) | Image reproduction controller, image reproduction control method, and imaging device | |
JP2009100106A (en) | Image reproducing apparatus, processing method thereof, and program thereof | |
JP2007036468A (en) | Moving picture coding apparatus | |
JP2004254053A (en) | Image reproducing device | |
JP2009010714A (en) | Moving picture encoded data converter | |
JP5355176B2 (en) | Movie storage device and control method thereof | |
JP3880597B2 (en) | Multimedia information editing 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: 20080603 |