JP4854580B2 - Image processing device - Google Patents
Image processing device Download PDFInfo
- Publication number
- JP4854580B2 JP4854580B2 JP2007113466A JP2007113466A JP4854580B2 JP 4854580 B2 JP4854580 B2 JP 4854580B2 JP 2007113466 A JP2007113466 A JP 2007113466A JP 2007113466 A JP2007113466 A JP 2007113466A JP 4854580 B2 JP4854580 B2 JP 4854580B2
- Authority
- JP
- Japan
- Prior art keywords
- moving image
- image data
- encoding rate
- encoding
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Television Signal Processing For Recording (AREA)
- Studio Devices (AREA)
Description
本発明は、画像処理装置に関し、より具体的には、動画撮影中に静止画が撮影された場合における動画の画質を向上させる画像処理装置に関する。 The present invention relates to an image processing apparatus, and more specifically to an image processing apparatus that improves the image quality of a moving image when a still image is captured during moving image shooting.
近年、静止画と動画の両方を撮影可能なデジタルカメラが製品化されている。ユーザは、これらの装置或いはパーソナルコンピュータなどを用いて、記録画像を視聴できる。静止画と動画の両方を撮影可能なデジタルカメラの中には、動画撮影中に静止画を撮影すること(以下、同時静止画撮影と呼ぶ)が可能なものがある。ユーザは、この同時静止画撮影機能により、動画撮影中においても好みのシーンで静止画を撮影することが可能となる。 In recent years, digital cameras capable of shooting both still images and moving images have been commercialized. The user can view the recorded image using these devices or a personal computer. Some digital cameras that can shoot both still images and moving images can shoot still images during moving image shooting (hereinafter referred to as simultaneous still image shooting). With this simultaneous still image shooting function, the user can shoot a still image in a favorite scene even during moving image shooting.
一方、デジタルビデオカメラ等で撮影された動画を高能率符号化する技術として、MPEG2(Moving Picture Experts Group Phase 2)といった符号化方式が確立されている。 On the other hand, an encoding method such as MPEG2 (Moving Picture Experts Group Phase 2) has been established as a technique for highly efficient encoding of moving images shot with a digital video camera or the like.
MPEG2符号化方式の符号化効率を向上させる技術の一つに可変ビットレート(VBR)符号化方式がある。可変ビットレート(VBR)符号化では、動画の各フレームにおいて、画像の複雑さや動きの激しさに応じて符号化レートを変更する。 One of the techniques for improving the encoding efficiency of the MPEG2 encoding method is a variable bit rate (VBR) encoding method. In variable bit rate (VBR) encoding, the encoding rate is changed in accordance with the complexity of the image and the intensity of motion in each frame of the moving image.
しかし、ただ単に画像の複雑さや動きの激しさに応じて符号化レートを変更するだけではなく、ユーザからの指示された期間の符号化レートを高くすることにより、その指示された期間の動画を高画質に符号化することも、知られている(例えば、特許文献1)。
特許文献1に記載の技術は、ユーザの意図的な操作を必要とする。即ち、ユーザは、高画質で撮影したい期間において、意識的に特定の指示をカメラに入力しなければならず、操作が煩雑になる。 The technique described in Patent Document 1 requires a user's intentional operation. That is, the user has to consciously input a specific instruction to the camera during a period when it is desired to shoot with high image quality, and the operation becomes complicated.
そこで、本発明は、上記の問題点に鑑み、ユーザの意識的な指示無しで動画の符号化レートを高くする画像処理装置を提示することを目的とする。 In view of the above problems, an object of the present invention is to provide an image processing apparatus that increases the coding rate of a moving image without a user's conscious instruction.
本発明に係る画像処理装置は、画像処理装置であって、被写体の光学像を画像信号に変換する撮像手段と、第1の符号化レートを用いて前記画像信号から第1の動画データを生成する第1の生成手段と、前記画像信号から静止画データを生成する第2の生成手段と、前記第1の動画データが記録媒体に記録されている状態で前記第2の生成手段に前記静止画データを生成させるための所定の指示が前記画像処理装置に入力されたことが検出された場合に、前記第1の符号化レートよりも高い第2の符号化レートを用いて生成された第2の動画データが前記記録媒体に記録されるようにする制御手段とを有し、前記第2の動画データは、前記所定の指示が検出されてから所定の時間が経過するまでの時間に対応することを特徴とする。 An image processing apparatus according to the present invention is an image processing apparatus, and generates first moving image data from the image signal using an imaging unit that converts an optical image of a subject into an image signal and a first encoding rate. First generating means, second generating means for generating still image data from the image signal, and the second generating means in a state where the first moving image data is recorded on a recording medium. When it is detected that a predetermined instruction for generating image data is input to the image processing apparatus, the second instruction is generated using a second encoding rate higher than the first encoding rate. and a to that control means so that the second moving image data is recorded on the recording medium, the second moving image data, the time from the detection of said predetermined instruction until a predetermined time has elapsed It corresponds to.
本発明によれば、動画撮影中に静止画が撮影された場合において、静止画が撮影された期間の動画の符号化レートを高くする。これにより、面倒な手間無しで、同時静止画撮影が行われた期間の動画を高画質で記録できる。 According to the present invention, when a still image is shot during moving image shooting, the encoding rate of the moving image during the period in which the still image was shot is increased. Thereby, it is possible to record a moving image with high image quality during a period in which simultaneous still image shooting is performed without troublesome work.
また、動画の再符号化においても、面倒な手間無しで、同時静止画撮影が行われた期間の動画を高画質で記録できる。 Also, in the re-encoding of moving images, it is possible to record moving images with high image quality during the period in which simultaneous still image shooting was performed without troublesome work.
以下、図面を参照して、本発明の実施例を詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
図1は、本発明の実施例1である画像処理装置としての撮像装置10の概略構成ブロック図である。実施例1では、動画撮影中の静止画撮影操作に応じて、動画の符号化レートを高くする。
FIG. 1 is a schematic configuration block diagram of an
カメラユニット12は、撮影レンズ14、撮像素子16、A/D変換器18及びカメラ信号処理装置20から構成される。撮影レンズ14は、光学ズーム機能と合焦機能を具備する。撮像素子16は、例えば、CCD(Charge Coupled Devices)又はCMOS(Complementary Metal Oxide Semiconductor)といったイメージセンサからなる。撮像素子16は、撮影レンズ14による被写体の光学像を電気画像信号に変換する。A/D変換器18は、撮像素子16からのアナログ画像信号をデジタル画像信号に変換する。カメラ信号処理装置20は、A/D変換器18からのデジタル画像信号に対して、γ補正及びホワイトバランス等の処理を行い、所定フォーマットの映像信号を出力する。
The
動画符号化装置22は、符号化レート制御装置24により制御される符号化レートで、カメラユニット12からの映像信号を動画として圧縮符号化する。動画記録装置26は、動画符号化装置22で符号化された動画データを記録媒体に記録する。動画記録装置26は、撮影時刻を動画の付帯情報として動画データに付加して記録する。
The moving
他方、静止画符号化装置28は、カメラユニット12から出力される映像信号の1コマを静止画像として圧縮符号化する。静止画記録装置30は、静止画符号化装置28により符号化された静止画データを記録媒体に記録する。静止画記録装置30は、撮影時刻を静止画像の付帯情報として静止画データに付加して記録する。静止画記録装置30が静止画データを記録する記録媒体は、動画記録装置26が動画データを記録する記録媒体と同じでも、異なっても良い。
On the other hand, the still
動画符号化装置22、符号化レート制御装置24及び動画記録装置26が動画記録系を構成し、静止画符号化装置28と静止画記録装置30が静止画記録系を構成する。
The moving
システム制御装置32は、動画記録/停止スイッチ34の操作に応じて、動画記録系による動画記録を開始又は停止する。システム制御装置32はまた、レリーズスイッチ36の操作に応じて、静止画記録系に静止画記録を実行させる。動画記録/停止スイッチ34は、特許請求の範囲の動画記録指示手段として機能する。レリーズスイッチ36は、特許請求の範囲の静止画記録指示手段として機能する。
The
本実施例の特徴的な動作として、動画記録中のレリーズスイッチ36による静止画記録操作に対して、システム制御装置32は、符号化レート制御装置24を介して動画圧縮の符号化レートを制御し、記録中の動画を一時的に高画質にする。
As a characteristic operation of the present embodiment, for a still image recording operation by the
同時撮影された動画と静止画の一方又は両方には、互いを関連付けるリンク情報を付帯情報として付加的に記録しても良い。動画には、同時に撮影された静止画の撮影時刻の情報を付加しても良い。 Link information for associating each other may be additionally recorded as supplementary information on one or both of the moving image and the still image that are simultaneously shot. Information about the shooting time of a still image shot at the same time may be added to the moving image.
静止画撮影に使われるレリーズスイッチ36は2段階スイッチであり、周知の通り、その半押し状態(静止画撮影の準備操作、又は第1の押下段階)で、カメラユニット12の露出と合焦が制御され、全押し(第2の押下段階)で静止画像撮影が実行される。レリーズスイッチ36の全押しに応じて、静止画符号化装置28が、カメラユニット12の出力映像信号を取り込んで圧縮符号化し、静止画記録装置30が、圧縮された静止画データを記録媒体に記録する。静止画のみの撮影の場合、カメラユニット12が、動画撮影時に比べて画素数の多い画像信号を出力することもある。
The
図2は、動画符号化装置22の概略構成ブロック図を示す。符号化方式としてMPEG(Moving Picture Experts Group)符号化方式を採用した構成を説明するが、符号化方式はこれに限ったものではなく、例えば、H.264符号化方式でもよい。
FIG. 2 shows a schematic block diagram of the moving
動画符号化装置22の入力バッファ52は、後段での処理のために、カメラユニット12からの映像信号を一時的に記憶する。入力バッファ52の容量が、動画符号化装置22の遅延時間に影響する。減算器54は、フレーム内符号化の場合には、入力バッファ52からの画像データをそのまま出力し、フレーム間符号化の場合には、入力バッファ52からの画像データから予測画像データを減算して、画像差分データを出力する。予測画像データについては後述する。
The
離散コサイン変換(DCT)装置56は、減算器54からのデータを離散コサイン変換し、その変換係数を出力する。量子化装置58は、DCT装置56からの変換係数データを量子化スケールに基づき量子化する。量子化スケールを変化させることによって、発生符号量、従って符号化レートが大きく変化する。
A discrete cosine transform (DCT)
可変長符号化装置72は、量子化装置58で量子化された変換係数及び動き検出装置70からの動きベクトルを可変長符号化する。出力バッファ74は、可変長符号化装置72の出力符号を一時記憶し、後段(ここでは動画記録装置26)に出力する。
The variable
符号量制御装置76は、出力バッファ74の記憶データ量又は占有率をモニタする。符号量制御装置76は、基本的には、モニタした出力バッファ74の記憶データ量がほぼ一定になるように量子化装置58の量子化スケールを制御する。本実施例では、符号量制御装置76は、符号化レート制御装置24からの制御信号にも応じて、可変ビットレート(VBR)方式で量子化装置58の量子化スケールを制御する。
The code
量子化装置58で量子化された変換係数は、ローカルで復号化され、予測画像データの生成に使用される。逆量子化装置60は、量子化装置58で量子化された変換係数を逆量子化する。逆DCT装置62は、逆量子化装置60で逆量子化された変換係数を逆離散コサイン変換する。加算器64は、フレーム内符号化の場合には、逆DCT装置62の出力データをそのまま出力し、フレーム間符号化の場合には、逆DCT装置62の出力データ(差分データ)に予測画像データを加算する。これにより、DCT装置56及び量子化装置58で圧縮された画像データが伸長され、復元される。このようにローカルで復元された再構成画像データは、フレームメモリ66に格納される。再構成画像データの中で、以降のフレーム間符号化で参照される可能性がある画像データは、フレームメモリ66に暫くの期間、保存される。
The transform coefficient quantized by the quantizing
動き検出装置70は、入力バッファ52からの現在の画像と、フレームメモリ66に格納される画像とを参照して画像の動きを検出し、検出した動きベクトルを動き補償装置68と可変長符号化装置72に供給する。動き補償装置68は、動き検出装置70からの動きベクトルに従い、フレームメモリ66からの画像の動きを補償する。動きを補償された画像データが、予測画像データとして減算器54及び加算器64に供給される。
The
動画記録中の静止画撮影に対する符号化レート制御装置24の動作を説明する。図3は、動画撮影中に静止画撮影を行ったときの符号化レートの変化例を示す模式図である。ただし、図3は、40秒間の動画撮影中に、撮影開始から20秒後に静止画を撮影した場合を示す。
The operation of the coding
まず、撮影が開始されると(時刻:0秒)、符号化レート制御装置24は、動画符号化装置22の符号化レートを既定の符号化レート、例えば5Mbpsに制御する。動画撮影中に、ユーザによりレリーズスイッチ36が半押しされると(時刻:10秒)、符号化レート制御装置24は、ある最大の符号化レート、例えば、10Mbpsまで徐々に動画符号化装置22の符号化レートを高くする。最大符号化レート(10Mbps)に到達すると(時刻:15秒)、最大符号化レート(10Mbps)を維持する。
First, when shooting is started (time: 0 second), the encoding
レリーズスイッチ36の半押しから所定時間内に、ユーザがレリーズスイッチ36を全押し状態にすると(時刻:20秒)、符号化レート制御装置24は、最大符号化レート(10Mbps)を所定時間、例えば、5秒間、維持する(時刻:25秒)。その後、符号化レート制御装置24は、符号化レートを元の符号化レート、この例では5Mbpsまで徐々に低くする。符号化レートが元の既定の符号化レート(5Mbps)まで低くなると(時刻:30秒)、符号化レート制御装置24は、既定の符号化レート(5Mbps)を維持する。
If the user fully presses the
このような符号化レート制御装置24の動作により、動画撮影中に静止画が撮影された場合において、静止画が撮影された時間的前後の期間は符号化レートを所定の符号化レートよりも高くする。これにより、同時静止画撮影が行われた所定期間の動画を高画質で符号化し、記録できる。
By such an operation of the coding
なお、徐々に符号化レートを変更するのは、符号化レートの急激な変更による画質の変化を視聴者に認識させないためである。図3の例では、符号化レートを高くするときも、低くするときもそれぞれ5秒かけて変化させている。また、既定の符号化レート又は最大符号化レートは、ユーザによる画質モード等の選択に応じて変更できることは明らかである。 The reason why the coding rate is gradually changed is to prevent the viewer from recognizing a change in image quality due to a sudden change in the coding rate. In the example of FIG. 3, the coding rate is changed over 5 seconds both when the coding rate is raised and when the coding rate is lowered. It is obvious that the predetermined encoding rate or the maximum encoding rate can be changed according to the user's selection of the image quality mode or the like.
図4は、符号化レート制御装置24の動作フローチャートである。動画記録/停止スイッチ34の操作に応じて、動画撮影が開始される(S11)。ユーザによりレリーズスイッチ36が半押しされていない場合には(S12)、符号化レート制御装置24は、動画符号化装置22の符号化レートを既定の符号化レート、例えば、5Mbpsに制御する(S13)。
FIG. 4 is an operation flowchart of the coding
ユーザによりレリーズスイッチ36が半押しされると(S12)、符号化レート制御装置24は、動画符号化装置22の符号化レートを最大符号化レート、例えば、10Mbpsに向けて徐々に高くしていく(S14)。設定された最大符号化レート(10Mbps)に達したときは、そのまま維持する。但し、レリーズスイッチ36の半押し状態が所定時間以上経過した場合、又は、半押しが解除された場合は(S15)、符号化レート制御装置24は、符号化レートを既定の符号化レート(5Mbps)に向けて徐々に低くする(S16)。一方、S15において、半押し開始から所定時間内にレリーズスイッチ36が全押しされると(S17)、符号化レート制御装置24は、動画符号化装置22の符号化レートを最大符号化レートのまま所定時間(5秒間)維持する。なお、半押しの直後に全押しされたような場合は、最大符号化レートに達してから所定時間(5秒間)、最大符号化レートを維持する。その後、符号化レート制御装置24は、動画符号化装置22の符号化レートを既定の符号化レート(5Mbps)まで徐々に低くする(S18)。なお、S17でレリーズスイッチ36が全押しされないときは、S12に戻る。
When the
以上の処理を、動画撮影終了まで繰り返す(S19)。 The above processing is repeated until the moving image shooting is completed (S19).
このようにして、本実施例では、静止画撮影時の近辺の動画を、静止画撮影に伴った操作のみによって、高画質で記録できる。 In this way, in the present embodiment, a moving image in the vicinity at the time of still image shooting can be recorded with high image quality only by an operation accompanying the still image shooting.
次に、本発明の実施例2を説明する。図5は、本発明の実施例2の概略構成ブロック図である。実施例2の撮像装置210は、実施例1と同様、動画撮影中に静止画の同時撮影が可能である。但し、静止画撮影に応じて同時撮影中の動画を高画質化する構成ではなく、動画データの再符号化によって同時撮影された動画を高画質化する構成である。
Next, a second embodiment of the present invention will be described. FIG. 5 is a schematic configuration block diagram of Embodiment 2 of the present invention. As in the first embodiment, the
撮像装置210のカメラユニット212は、カメラユニット12と同様の構成からなる。動画記録再生装置214は、カメラユニット212から出力される画像を動画として圧縮符号化し、記録する。静止画像記録装置216は、カメラユニット212から出力される画像のうち、ユーザにより指示されたタイミングの画像を静止画として圧縮符号化し、記録する。
The
動画記録再生装置214と静止画像記録装置216の一方又は両方には、事後的な参照が可能なように、同時静止画撮影に関するリンク情報が付帯情報として記録される。この付帯情報は例えば、動画には、同時撮影の静止画のファイル名や撮影時刻の情報であり、静止画には、同時撮影の動画のファイル名とフレーム番号等の情報である。
In one or both of the moving image recording / reproducing
動画復号化装置218は、動画記録再生装置214に記録されている圧縮符号化された動画データを復号化し、復号された映像信号を動画符号化装置220に供給する。同時静止画撮影情報作成装置222は、動画記録再生装置214及び静止画像記録装置216に記録される動画と静止画の付帯情報を参照し、同時静止画撮影された動画と静止画を検出する。同時静止画撮影情報作成装置222は、その検出結果を示す同時静止画撮影情報を再符号化レート制御装置224に出力する。
The moving
再符号化レート制御装置224は、同時静止画撮影情報作成装置222からの同時静止画撮影情報に応じて、動画符号化装置220が再符号化を行う場合の符号化レートを決定し、制御する。動画符号化装置220は、再符号化レート制御装置224により制御される符号化レートで、動画復号化装置218からの復号された映像信号を再符号化する。再符号化された動画データは、動画記録再生装置214により記録媒体に記録される。その際、以前の符号化動画データは、削除しても良いし、そのまま保存しても良い。
The re-encoding
図6は、動画復号化装置218の概略構成ブロック図を示す。MPEG符号化方式により符号化された動画データを復号化するMPEG復号化方式の構成を説明するが、復号化方式はこれに限ったものではなく、例えば、H.264符号化方式により符号化された動画を復号化する場合には、H.264復号化方式になる。
FIG. 6 shows a schematic block diagram of the moving
動画復号化装置218は、入力バッファ282、可変長復号化装置284、逆量子化装置286、逆DCT装置288、加算器290、フレームメモリ292及び動き補償装置294からなる。
The
入力バッファ282は、動画記録再生装置214から再生された符号化動画データを一時記憶する。可変長復号化装置284は、入力バッファ282からの符号化動画データを可変長復号化して、量子化変換係数を逆量子化装置286に出力する。可変長復号化装置284は、符号化動画データに多重されていた動きベクトル情報を抽出し、動き補償装置294に出力する。
The
逆量子化装置286は、量子化された変換係数を逆量子化し、逆DCT装置288は、逆量子化装置286の出力を逆離散コサイン変換する。加算器290は、フレーム内符号化された動画データに対して、逆DCT装置288の出力データをそのまま出力する。加算器290はまた、フレーム間符号化された動画データに対しては、動き補償装置294からの動き補償された予測画像データを、逆DCT装置288の出力データに加算する。これらの処理により、動画の各画面の画像データが復元される。
The
フレームメモリ292は、このように復元された画像データフレーム間符号化の予測画像のために、一時記憶する。動き補償装置294は、可変長復号化装置284からの動きベクトル情報を参照して、フレームメモリ292に一時記憶される画像データの動きを補償し、予測画像データとして加算器290に供給する。
The
同時静止画撮影情報作成装置222の動作を説明する。同時静止画撮影情報作成装置222は、動画記録再生装置214の動画付帯情報及び静止画像記録装置216の静止画付帯情報を参照し、静止画像記録装置216に記録された静止画が動画記録再生装置214に記録された動画の撮影中に撮影されたものかどうかを判定する。そして、同時静止画撮影情報作成装置222は、同時撮影の静止画が存在する場合、動画撮影中に撮影された静止画の撮影時刻情報を同時静止画撮影情報として再符号化レート制御装置224に出力する。静止画の時刻情報は、例えば、同時撮影の動画が撮影開始されてから静止画が撮影されるまでの経過時間でも良い。
The operation of the simultaneous still image shooting
図7を参照して、再符号化レート制御装置224の動作を説明する。図7は、実施例2における動画データの再符号化の際の符号化レートの変化例を示す。図7に示す例では、40秒間の動画において、動画の先頭から20秒後に静止画が同時撮影されている。同時静止画撮影情報作成装置222は、動画の記録開始から時20秒後に静止画が同時撮影されたことを示す同時静止画撮影情報を再符号化レート制御装置224に供給する。また、図7では、破線はトランスコード前の符号化レート(第1の符号化レート)を示し、実線はトランスコード後の符号化レート(第2の符号化レート)を示す。本実施例では、10Mbpsの符号化レートで符号化されていた動画を、静止画同時撮影部分を除いて、10Mbpsよりも低い5Mbpsの符号化レートで再符号化(トランスコード)する。
The operation of the re-encoding
動画データのトランスコードが開始されると(時刻:0秒)、再符号化レート制御装置224は、動画符号化装置220の符号化レートを既定の符号化レート(この説明例では、5Mbps)に制御する。すなわち、符号化レートが10Mbpsであった動画を5Mbpsで再符号化する。
When transcoding of moving image data is started (time: 0 second), the re-encoding
同時静止画撮影情報作成装置222からの同時静止画撮影情報によると、撮影開始から20秒後に静止画が同時撮影されている。そこで、再符号化レート制御装置224は、静止画が撮影された時刻(時刻:20秒)よりも所定時間前になった時刻(例えば、時刻:10秒)から、設定された最大符号化レート(ここでは、元の符号化レート(10Mbps)とする)に向けて徐々に動画符号化装置220の符号化レートを高くする。符号化レートが最大符号化レート(10Mbps)になったら(時刻:15秒)、最大符号化レートを維持する。その後、静止画が撮影された時刻の5秒後(時刻:25秒)から、既定の符号化レート(5Mbps)に向けて徐々に符号化レートを低くする。符号化レートを既定の符号化レート(5Mbps)まで低くすると(時刻:30秒)、既定の符号化レート(5Mbps)を維持する。なお、徐々に符号化レートを変更するのは、符号化レートの急激な変更による画質の変化を視聴者に認識させないためである。図7の例では、符号化レートを高くするときも、低くするときもそれぞれ5秒かけて変化させている。
According to the simultaneous still image shooting information from the simultaneous still image shooting
このようにして、再符号化しようとする動画の撮影中に、同時に静止画が撮影されている場合に、静止画が撮影された時間を含むその前後の期間で動画の符号化レートを他の期間の符号化レートよりも高くする。これにより、同時静止画撮影が行われた時点に基づく所定期間の動画を高画質で再符号化できる。 In this way, if a still image is being shot at the same time that the moving image to be re-encoded is shot, the encoding rate of the moving image can be set to other values in the period before and after the still image was shot. Set higher than the encoding rate of the period. As a result, it is possible to re-encode a moving image of a predetermined period based on the time when simultaneous still image shooting is performed with high image quality.
図8は、再符号化レート制御装置224の動作フローチャートを示す。動画のトランスコードが開始される(S51)。同時静止画撮影情報作成装置222からの同時静止画撮影情報に基づき、同時撮影された静止画があるかどうかを判定する(S52)。同時撮影の静止画がない場合(S52)、再符号化レート制御装置224は、動画符号化装置220の符号化レートを既定の符号化レート(5Mbps)に制御する(S53)。
FIG. 8 shows an operation flowchart of the re-encoding
同時撮影された静止画がある場合(S52)、同時撮影の静止画の撮影時刻の所定時間前(10秒前)になるまでは(S54)、再符号化レート制御装置224は、動画符号化装置220の符号化レートを既定の符号化レート(5Mbps)に維持する(S53)。同時撮影の静止画の撮影時刻まで所定時間以内(10秒以内)になると(S54)、再符号化レート制御装置224は、動画符号化装置220の符号化レートを最大符号化レート(10Mbps)に向けて徐々に高くする(S55)。
If there are still images that have been shot simultaneously (S52), the re-encoding
同時撮影の静止画の撮影時刻から所定時間後(5秒後)になるまで(S56)、再符号化レート制御装置224は、動画符号化装置220の符号化レートを最大符号化レート(10Mbps)に維持する。
The re-encoding
同時撮影の静止画の撮影時刻から所定時間(5秒)、経過すると(S56)、再符号化レート制御装置224は、動画符号化装置220の符号化レートを既定の符号化レート(5Mbps)まで徐々に低くする(S57)。
When a predetermined time (5 seconds) elapses from the shooting time of the still image taken at the same time (S56), the re-encoding
以上のような処理を、トランスコードの終了まで繰り返す(S58)。 The above processing is repeated until the end of transcoding (S58).
本実施例では、動画撮影中に静止画が撮影された場合に、静止画が撮影された時間を含むその前後の期間で、動画の符号化ビットレートを他のシーンよりも相対的に高くするので、静止画撮影近辺の動画を高画質で記録できる。これにより、煩雑な処理なく、ユーザが静止画撮影を行った好みのシーンの動画を高画質で記録できる。 In this embodiment, when a still image is shot during moving image shooting, the moving image encoding bit rate is set to be relatively higher than that of other scenes in the period before and after the time when the still image was shot. Therefore, it is possible to record a moving image in the vicinity of still image shooting with high image quality. Thereby, the moving image of the favorite scene which the user performed still image photography can be recorded with high image quality without complicated processing.
10 撮像装置
12 カメラユニット
14 撮影レンズ
16 撮像素子
18 A/D変換器
20 カメラ信号処理装置
22 動画符号化装置
24 符号化レート制御装置
26 動画記録装置
28 静止画符号化装置
30 静止画記録装置
32 システム制御装置
34 動画記録/停止スイッチ
36 レリーズスイッチ
52 入力バッファ
54 減算器
56 DCT(離散コサイン変換)
58 量子化装置
60 逆量子化装置
62 IDCT(逆離散コサイン変換)
64 加算器
66 フレームメモリ
68 動き補償装置
70 動き検出装置
72 可変長符号化装置
74 出力バッファ
76 符号量制御装置
210 撮像装置
212 カメラユニット
214 動画記録再生装置
216 静止画像記録装置
218 動画復号化装置
220 動画符号化装置
222 同時静止画撮影情報作成装置
224 再符号化レート制御装置
282 入力バッファ
284 可変長復号化装置
286 逆量子化装置
288 逆DCT(離散コサイン変換)装置
290 加算器
292 フレームメモリ
294 動き補償装置
DESCRIPTION OF
58
64
Claims (9)
被写体の光学像を画像信号に変換する撮像手段と、
第1の符号化レートを用いて前記画像信号から第1の動画データを生成する第1の生成手段と、
前記画像信号から静止画データを生成する第2の生成手段と、
前記第1の動画データが記録媒体に記録されている状態で前記第2の生成手段に前記静止画データを生成させるための所定の指示が前記画像処理装置に入力されたことが検出された場合に、前記第1の符号化レートよりも高い第2の符号化レートを用いて生成された第2の動画データが前記記録媒体に記録されるようにする制御手段とを有し、
前記第2の動画データは、前記所定の指示が検出されてから所定の時間が経過するまでの時間に対応することを特徴とする画像処理装置。 An image processing apparatus,
Imaging means for converting an optical image of a subject into an image signal;
First generation means for generating first moving image data from the image signal using a first encoding rate ;
Second generation means for generating still image data from the image signal;
When it is detected that a predetermined instruction for causing the second generation means to generate the still image data is input to the image processing apparatus while the first moving image data is recorded on a recording medium in, and a first coding rate higher second second moving image data to that control means so that recorded on the recording medium produced by using the coding rate than,
The image processing apparatus according to claim 2, wherein the second moving image data corresponds to a time from when the predetermined instruction is detected until a predetermined time elapses .
前記第3の動画データは、前記所定の時間が経過した後の時間に対応することを特徴とする請求項1に記載の画像処理装置。The image processing apparatus according to claim 1, wherein the third moving image data corresponds to a time after the predetermined time has elapsed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007113466A JP4854580B2 (en) | 2007-04-23 | 2007-04-23 | Image processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007113466A JP4854580B2 (en) | 2007-04-23 | 2007-04-23 | Image processing device |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JP2008271336A JP2008271336A (en) | 2008-11-06 |
| JP2008271336A5 JP2008271336A5 (en) | 2010-06-03 |
| JP4854580B2 true JP4854580B2 (en) | 2012-01-18 |
Family
ID=40050230
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007113466A Expired - Fee Related JP4854580B2 (en) | 2007-04-23 | 2007-04-23 | Image processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4854580B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2013057763A1 (en) | 2011-10-19 | 2013-04-25 | パナソニック株式会社 | Communication terminal and encoding rate reduction method |
| JP6644560B2 (en) * | 2016-01-25 | 2020-02-12 | 株式会社フォトクリエイト | Moving image providing server, moving image providing method, and program |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000270251A (en) * | 1999-03-17 | 2000-09-29 | Sanyo Electric Co Ltd | Digital camera |
| JP2000352759A (en) * | 1999-06-10 | 2000-12-19 | Olympus Optical Co Ltd | Electronic camera |
| JP2005303336A (en) * | 2001-10-25 | 2005-10-27 | Matsushita Electric Ind Co Ltd | Video signal recording apparatus and video signal reproducing apparatus |
| JP2006303961A (en) * | 2005-04-21 | 2006-11-02 | Canon Inc | Imaging device |
-
2007
- 2007-04-23 JP JP2007113466A patent/JP4854580B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2008271336A (en) | 2008-11-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5153674B2 (en) | Moving picture coding apparatus and moving picture coding method | |
| US8279298B2 (en) | Imaging apparatus having improved usability when moving images and still images are recorded | |
| JPH06153152A (en) | Moving picture coding apparatus and method | |
| WO2002102085A1 (en) | Camera-integrated video recording and reproducing apparatus, and record control method thereof | |
| WO1997005745A1 (en) | Image pickup system, picture processor, encoder, encoding method, and random noise removing method | |
| US20090225193A1 (en) | Image processing apparatus | |
| JP4817990B2 (en) | IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM | |
| JPH07107466A (en) | Imaging device | |
| JP4854580B2 (en) | Image processing device | |
| JP2007295370A (en) | Encoding apparatus and method, and program | |
| US8953055B2 (en) | Image pickup apparatus | |
| JP2005175974A (en) | Imaging device | |
| JP2004180345A (en) | Captured image recording device | |
| JP4585919B2 (en) | Image coding apparatus and image coding method | |
| JP2008141354A (en) | Image coding apparatus and imaging apparatus | |
| JP4765961B2 (en) | Digital video recording device | |
| JP3384910B2 (en) | Imaging device and image reproducing device | |
| JP3645249B2 (en) | Electronic still camera | |
| JP2007214886A (en) | Image processing device | |
| JPH09186919A (en) | Imaging device | |
| JPH07162853A (en) | Imaging device | |
| JPH0865565A (en) | Imaging recording device | |
| JP3645254B2 (en) | Image data recording system and image data recording method | |
| JP2007124371A (en) | Video signal processing apparatus and method | |
| JP2007158712A (en) | Image coding apparatus and image coding method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100421 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100421 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110614 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110726 |
|
| 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: 20110927 |
|
| 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: 20111025 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141104 Year of fee payment: 3 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 4854580 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141104 Year of fee payment: 3 |
|
| RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: R3D03 |
|
| LAPS | Cancellation because of no payment of annual fees |