JP4158463B2 - Imaging device - Google Patents
Imaging device Download PDFInfo
- Publication number
- JP4158463B2 JP4158463B2 JP2002259524A JP2002259524A JP4158463B2 JP 4158463 B2 JP4158463 B2 JP 4158463B2 JP 2002259524 A JP2002259524 A JP 2002259524A JP 2002259524 A JP2002259524 A JP 2002259524A JP 4158463 B2 JP4158463 B2 JP 4158463B2
- Authority
- JP
- Japan
- Prior art keywords
- picture
- encoding
- image
- encoded
- skip code
- 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 - Lifetime
Links
Images
Description
【0001】
【発明の属する技術分野】
本発明は、撮像素子より取り込まれたデジタル画像を圧縮符号化する撮像装置およびそれを用いた記録装置に関する。
【0002】
【従来の技術】
画像をデジタル化して記録するビデオカメラ装置は、ズームレンズ、CCD、撮像信号処理部、静止画圧縮・伸張部、動画圧縮・伸張部、マイク、スピーカ、音声圧縮・伸張部、制御部(CPU)、LCDモニタ、内蔵フラッシュメモリ、PCカード型ハードディスクドライブ、及びUSBインターフェースなどを備えている。ズームレンズは撮像光学系を構成するものであり、このズームレンズによって結像された光学像が固体撮像素子としてのCCDによって光電変換される。
【0003】
この光電変換により得られた撮像信号は撮像信号処理部によってデジタル信号に変換され、そこで必要な画像処理を経た後、画像圧縮・伸張部に送られ、フラッシュメモリやハードディスクドライブなどの記録媒体に記録される(例えば、特許文献1参照)。
【0004】
【特許文献1】
特開2001-352471号公報
【0005】
【発明が解決しようとする課題】
例えば、入力画像を動画像符号化・静止画像符号化をして、記録することが出来る記録装置において、動画像撮影中に一時的に静止画を撮りたい場合等の符号化形式や解像度が異なる画像を一時的に符号化するには、画像符号化装置を2個持つ方法が考えられる。しかし、画像符号化装置を2個持つ事で、コストの増大、回路規模の増大、回路の複雑化という問題が生じる。
【0006】
また、一つの画像符号化装置で上記の要求を満たすためには、静止画像符号化する場合に一時的に動画像符号化を停止して、静止画を圧縮符号化し、再度動画像符号化を再開する方式が考えられる。
【0007】
しかしこれは、一時的に動画像符号化を停止・再開する為に、生成ストリームは時間的に連続ではなく、静止画符号化処理の時間分ずれて短くなってしまう。また、停止・再開をするために、生成ストリームは別々となり、ファイル管理が不便であると共に、停止・再開の際に生じる消費電力、データ量の増大も無視できない。更に、停止・再開処理に多くの時間が必要であるという問題もある。
【0008】
また、一時的に異なるカメラ部から入力された画像を一時的に符号化する際にも、上記と同様の問題が考えられる。
【0009】
本発明は、上記の事情に鑑みてなされたものであり、動画像撮影中に静止画像を撮影したい場合等、例えば符号化形式や解像度が異なる画像、また一時的に異なるカメラ部から入力された画像などを、一時的に符号化したい場合に、第1の画像符号化ストリームを中断することなく撮影することが可能な符号化方法および撮像装置を提供する事を目的とする。
【0010】
【課題を解決するための手段】
本願発明は、上記課題に鑑み、例えば特許請求に記載の構成を備える。
【0011】
また、本発明の撮像装置は、画像を取り込んで画像信号を生成するカメラ部と、そのカメラ部から出力される画像信号を符号化して複数のピクチャからなる画像符号化ストリームを生成する符号化手段と、ピクチャに挿入され、復号時にはそのピクチャを他のピクチャにスキップさせるスキップコードを挿入するスキップコード挿入手段とを有し、符号化手段は、カメラ部から出力される第1の画像を符号化して画像符号化ストリームを生成している間に、一時的に第1の画像の符号化を停止してカメラ部から出力される第2の画像を符号化し、スキップコード挿入手段は、符号化手段が前記第1の画像の符号化を停止している間に相当する第1の画像のピクチャに対し、スキップコードを挿入する。このスキップコード挿入手段を、符号化された画像データと符号化された音声データを多重化する多重回路に設けても、また、多重回路とは独立にスキップコード挿入回路として設けてもいい。
【0012】
また、本発明の撮像装置のほかの実施態様においては、さらに、符号化手段が符号化する第1の画像と第2の画像の切り替えを制御する制御手段を有し、切り替えをユーザやプログラムの指示によって行う。
【0013】
また、本発明の撮像装置のほかの実施態様においては、さらに、符号化手段は第1の画像の符号化と第2の画像の符号化を異なる符号化形式で行う。
【0014】
また、本発明の撮像装置のほかの実施態様においては、さらに、二つのカメラ部を有する。
【0015】
【発明の実施の形態】
以下、発明の実施例を、図面を用いて説明する。まず、第1の実施例を説明する。図1は、本発明の記録装置のブロック図である。レンズ10により取り込まれたアナログ信号は、CCDセンサ11によって光電変換される。この光電変換により得られた撮像信号をA/D変換12により、デジタル画像信号に変換する。このデジタル画像を、静止画と動画画像を符号化する事が出来る画像化符号化回路13により圧縮符号化を行い、動画像に関しては、多重回路17で音声符号化データと多重して記録部20に保存する。
【0016】
静止画像に関しては、JPEGヘッダ付加部19にてJPEGヘッダを付加して記録部20に保存する。また、マイク14により取り込まれた音声信号を、A/D変換15でデジタル信号に変換し、音声符号化回路16で音声圧縮符号化を行い、多重回路17で動画像符号化データと多重して、記録部20に保存する。
【0017】
ここで、記録部とは、HD、メモリ、DVDなどの記録媒体に符号化データを記録するHDDやDVD-RAMドライブ等の記録機器を想定しており、静止画・動画像共用にまた別々に持つことが出来る。また、記録部への転送経路も動画像・静止画像符号化データを別経路・同経路で転送する事が考えられる。本図は、別経路で動画像・静止画符号化データを同一の記録部に記録する際の例である。また、本実施例における上記の記録装置から、記録部を除き、撮像装置としても使用できる。
【0018】
図2の様に動画像符号化中に一時的に静止画符号化を行う際には、制御部により動画像符号化と静止画像符号化が切り替えられる。そして、動画像符号化ストリームに対しては、多重回路によりスキップコードの挿入を行う。なお、スキップコード挿入回路を別途設けてスキップコードコード挿入回路によりスキップコードの挿入を行ってもいい。
【0019】
この静止画像・動画像符号化の切り替えは、ユーザ指定や時間指定により行うことが出来る。切り替え指定があった場合には、制御回路により静止画・動画の切り替えを行う。
【0020】
ここでスキップコードとは、画像を復号する時に、参照するPictureと同じPictureとなるようなコードであり、Picture単位に挿入する。スキップコード挿入位置については、その画像を復号する際に、一意に判別できる位置とする。
【0021】
一例を説明する。各Pictureを符号化する際の符号化データ構成を、符号化側と復号化側で以下のように取り決める。まず、Pictureを符号化する際には、ここがこのPictureの符号化データの開始であるという、Picture開始符号を設定する。この符号は、このPicture開始符号以外には絶対に発生しないデータとする。そして、その後、それぞれのPictureに対して、スキップするPictureなのか否かを判定するためのスキップ符号を与える。復号する際には、まずPicture開始符号を検出し、その後のスキップ符号を見ることで、それぞれのPictureはスキップなのか否かを判定する事が出来る。以上の様に設定することで実現する事が出来る。
【0022】
次に、動画像符号化の国際標準方式であるMPEG2での実現例を説明する。MPEG2でのスキップコードとは、MBAI(Macroblock Address Increment)やMBE(Macroblock Escape)や、Low Delayモードでのピクチャスキップの事である。MBAIやMBEは画像を復号化する時に参照するPictureと同じPictureとなる様なコードである。Low delayモードのピクチャスキップは、ストリームに記載する画像の表示順(Temporal reference)をスキップさせる事で、復号の際に実際の録画時間と同等な時間での再生が可能となる。
【0023】
まずMBAIやMBEを用いた際の説明を行う。動画像符号化を行う際は、各Picture単位に、自分自身のPicture情報のみを用いて符号化を行うI-Pictureと、過去のPicture情報を参照Pictureとして、自分自身のPictureを予測して符号化を行うP-Picture、過去と未来のPictureを参照Pictureとして、自分自身のPictureを予測して符号化を行うB-Pictureに形式に分けて符号化を行う。本手法において、MPEG2ではI-Pictureにはスキップコードを挿入出来ないので、I-Pictureに対してはスキップコードの挿入は行わず、P-PictureとB-Pictureに対してスキップコードを挿入する。
【0024】
図3に、P-Pictureの形式で、スキップコードを挿入する場合の例を示す。図3の上部は動画像符号化を表している。図3の入力は、カメラ部より入力した画像を時間順に、またI・B・Pはそれぞれ動画像符号化形式をあらわしており、符号化の際にその形式で符号化を行う。0〜8の添え字は、時間的な順番を表している。図3の符号化は、入力画像を符号化順に並び替えた物を表している。スキップコードは、Picture単位で挿入する。
【0025】
図3のPSは、P-Pictureの形式でスキップコードを挿入したことを意味している。図3の下部は、静止画像符号化を示している。動画像ストリームにスキップコードを挿入する場合には、図3のようにP-Pictureの前に、P-Pictureの形式で挿入する(図の符号化:B1とP5の間のPS)。この手法で生成したストリームを復号・表示するときの例を図4に示す。この時、P-Pictureの形式挿入したスキップコード(PS)は、復号時の参照画像であるI2と同じ画像となる。この様にする事で、符号化ストリームが途切れることなく、時間的な連続性を保つ事が可能となる。
【0026】
同様に、B-Pictureの形式で、スキップコードを挿入する場合を図5に示す。図5の構成は図3と同様である。この場合スキップコードは、B-Pictureの形式でP-Pictureの前に挿入する(図のBS)。この際、B-Pictureには、未来のPictureか、過去のPictureか、両方のPictureを参照にするのかのモードが存在するが、この場合は、過去のPictureを参照するモードにする。図6に、復号・表示例を示す。これより、本手法の妥当性が確認できる。
【0027】
次に、P-Picture、B-Picture内に挿入するスキップコードの挿入位置について説明する。図7にMPEG2のストリーム構造を示す。MPEG2では、ストリーム単位にシーケンス層、GOP層、ピクチャ層、スライス層、マクロブロック層、ブロック層からなる。スキップコードは、図7のマクロブロック情報の先頭に位置するので、その位置に挿入する。尚この際、スライスの先頭と、最後のマクロブロックには、スキップコードを付加する事がMPEG2規格上出来ないので、その様なマクロブロックについては、画面間符号化モードで、動き情報ゼロ、予測誤差ゼロの情報を付加する。こうすることで、スキップコード同様、復号するときに参照画像と同様の画像を表示する事が可能となる。ちなみに、I、P、B-Picture形式はピクチャヘッダの中で明記する。
【0028】
次に、Low delayモードのピクチャスキップを行う手法について説明を行う。Low delayモードでは、符号化する際のピクチャ構造は、I-PictureとP-Pictureのみである。図12に簡単なピクチャ構造を示す。“入力“のI、PはそれぞれI-Picture、P-Pictureを示し、数字の添え字は、Temporal referenceを示している。図2の様に、動画像と静止画像を切り替えた際には、動画像符号化を停止して、静止画符号化を行う。その際動画像符号化ストリームには、停止していた期間を考慮して、Temporal referenceを付加する。図12は、P5〜P7の間静止画像符号化を行い、P8から新たに動画像符号化を再開している例である。この場合では、動画像符号化を停止しているP5〜P7をスキップして、動画像符号化再開時には、Temporal referenceを8として符号化を再開している。この様にする事で、復号する際に、Temporal referenceを参照すれば、録画時間と同等の時間での再生が可能となる。
【0029】
以下、発明の第2の実施例を、図面を用いて説明する。図8は、本発明の記録装置のブロック図である。レンズ10により取り込まれたアナログ信号は、CCD11によって光電変換される。この光電変換により得られた撮像信号をA/D12により、デジタル画像信号に変換する。
【0030】
このデジタル画像を、画像符号化回路13により画像符号化を行い、多重回路17により音声符号化データを多重し、記録部20に保存する。また、マイク14から入力された音声データをA/D15によりデジタル化し、音声符号化回路16により音声符号化し、多重回路17により動画像符号化データと多重し、記録部20に保存する。この記録部に関しては、第1の実施例と同様である。また、本装置では、動画像符号化回路の前にスイッチ回路22を有しており制御回路18の指定により入力画像を切り替える事が可能となっている。スキップ挿入回路21により動画像符号化データに対して第1の実施例同様のスキップコードを挿入する事が出来る。また、スキップコードの挿入機能を多重回路に持たせて、多重回路によりスキップコードの挿入することも出来る。
【0031】
図10の様に、望遠画像(第1のレンズに入力された画像)を符号化している時に、広角画像(第2のレンズに入力された画像)を符号化する際には、制御回路によりスイッチ回路を切り替え、広角画像の符号化を開始する。広角画像は、音声と多重して記録部に記録する。望遠画像に対しては、スキップ挿入回路によりスキップコードを付加して多重回路で音声と多重し記録部に記録する。また、スキップコードの挿入機能を多重回路に持たせて、多重回路によりスキップコードの挿入することも出来る。
【0032】
尚、上記スキップコードとは、第1の実施例同様のスキップコードを表す。更に、制御回路により望遠画像の符号化が選択されると、広角画像の符号化を停止して、望遠画像の符号化を再開する。
【0033】
また、広角画像符号化データにスキップコードを挿入するか、望遠画像符号化データにスキップコードを挿入するかは、制御回路により制御する事が可能である。
【0034】
図9は、望遠画像(第1のレンズに入力された画像)・広角画像(第2のレンズに入力された画像)符号化データ両方にスキップコードを挿入することが可能な装置を示している。これにより、望遠画像符号化時には、広角画像に対してスキップコードを挿入し、広角画像符号化時は、望遠画像符号化データに対してスキップコードを挿入する事が可能となる。上記、入力画像切り替え、スキップコード挿入に関しては、ユーザ指定や時間指定などにより制御を行う。
【0035】
以下、発明の第3の実施例を、図面を用いて説明する。図11は、本発明の記録装置のブロック図である。レンズ10により取り込まれたアナログ信号は、CCD11によって光電変換される。この光電変換により得られた撮像信号をA/D12により、デジタル画像信号に変換する。動画像符号化回路13により動画像符号化を行い、多重回路17で音声符号化データと多重し、記録部20に保存する。マイク14により入力された音声データをA/D15によりデジタル化し、音声符号化回路17により符号化を行い、多重回路で動画像符号化データと多重して記録部に保存する。ここで、記録部は第1の実施例同様の記録部である。また、スイッチ回路22により、画像符号化回路に入力される画像を、制御回路18の指定する画像に切り替える事が出来る。これにより、一つの符号化回路で、望遠・広角の画像を符号化出来ると共に、時間がずれず落ちのないストリームが生成する事が可能である。
【0036】
【発明の効果】
本発明は、符号化ストリームを途切れさせることなく複数の画像を符号化する事が出来る。
【図面の簡単な説明】
【図1】 第1の実施例のブロック図。
【図2】 動画像・静止画像切り替えの概念図。
【図3】 P-Pictureスキップコード挿入位置。
【図4】 デコード後の表示順。
【図5】 B-Pictureスキップコード挿入位置。
【図6】 デコード後の表示順。
【図7】 スキップコード挿入位置。
【図8】 第2の実施例のブロック図。
【図9】 第2の実施例のブロック図。
【図10】 望遠・広角画像切り替えの概念図。
【図11】 第3の実施例のブロック図。
【図12】 第1の実施例の概念図。
【符号の説明】
10・・・レンズ
11・・・CCD
12・・・A/D
13・・・画像符号化回路
14・・・マイク
15・・・A/D
16・・・音声符号化回路
17・・・多重回路
18・・・制御回路
19・・・JPEGヘッダ付加回路
20・・・記録部
21・・・スキップ挿入回路
22・・・スイッチ回路[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image pickup apparatus that compresses and encodes a digital image captured from an image pickup element and a recording apparatus using the same.
[0002]
[Prior art]
Video camera devices that digitize and record images include zoom lenses, CCDs, image signal processing units, still image compression / decompression units, video compression / decompression units, microphones, speakers, audio compression / decompression units, control units (CPU) , LCD monitor, built-in flash memory, PC card type hard disk drive, and USB interface. The zoom lens constitutes an imaging optical system, and an optical image formed by the zoom lens is photoelectrically converted by a CCD as a solid-state imaging device.
[0003]
The imaging signal obtained by this photoelectric conversion is converted into a digital signal by the imaging signal processing unit, and after undergoing necessary image processing, it is sent to the image compression / decompression unit and recorded on a recording medium such as a flash memory or a hard disk drive. (See, for example, Patent Document 1).
[0004]
[Patent Document 1]
Japanese Patent Laid-Open No. 2001-352471
[Problems to be solved by the invention]
For example, in a recording apparatus that can record an input image by moving image encoding / still image encoding, the encoding format and resolution differ when, for example, it is desired to take a still image temporarily during moving image shooting. To temporarily encode an image, a method having two image encoding devices is conceivable. However, having two image encoding devices causes problems such as cost increase, circuit scale increase, and circuit complexity.
[0006]
In order to satisfy the above requirements with a single image encoding device, when still images are encoded, the moving image encoding is temporarily stopped, the still image is compressed and encoded, and the moving image encoding is performed again. A method of restarting can be considered.
[0007]
However, since the moving image encoding is temporarily stopped and restarted, the generated stream is not temporally continuous, and is shortened by a time shift of the still image encoding process. In addition, the generated streams are separated for stopping / resuming, which is inconvenient for file management, and power consumption and data amount increase caused by stopping / resuming cannot be ignored. Further, there is a problem that much time is required for the stop / restart process.
[0008]
The same problem as described above can be considered when an image input from a temporarily different camera unit is temporarily encoded.
[0009]
The present invention has been made in view of the above circumstances. For example, when a still image is desired to be shot during moving image shooting, for example, an image having a different encoding format or resolution, or input from a temporarily different camera unit is used. An object of the present invention is to provide an encoding method and an imaging apparatus capable of capturing a first image encoded stream without interruption when an image or the like is temporarily encoded.
[0010]
[Means for Solving the Problems]
In view of the above-described problems, the present invention includes, for example, the configuration described in the claims.
[0011]
The imaging apparatus of the present invention includes a camera unit that captures an image and generates an image signal, and an encoding unit that encodes the image signal output from the camera unit to generate an image encoded stream including a plurality of pictures. And a skip code inserting means for inserting a skip code that is inserted into the picture and that causes the picture to be skipped to another picture at the time of decoding. The encoding means encodes the first image output from the camera unit. During the generation of the image encoded stream, the encoding of the first image is temporarily stopped and the second image output from the camera unit is encoded. Inserts a skip code into the corresponding picture of the first image while the encoding of the first image is stopped. The skip code insertion means may be provided in a multiplexing circuit that multiplexes encoded image data and encoded audio data, or may be provided as a skip code insertion circuit independent of the multiplexing circuit.
[0012]
Further, in another embodiment of the imaging apparatus of the present invention, the image pickup apparatus further includes a control unit that controls switching between the first image and the second image encoded by the encoding unit, and the switching is performed by a user or a program. Follow the instructions.
[0013]
Moreover, in another embodiment of the imaging apparatus of the present invention, the encoding means further performs encoding of the first image and encoding of the second image in different encoding formats.
[0014]
Further, in another embodiment of the imaging apparatus of the present invention, it further has two camera units.
[0015]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings. First, the first embodiment will be described. FIG. 1 is a block diagram of the recording apparatus of the present invention. The analog signal captured by the
[0016]
The still image is stored in the
[0017]
Here, the recording unit is assumed to be a recording device such as an HDD or a DVD-RAM drive that records encoded data on a recording medium such as HD, memory, DVD, etc. Can have. In addition, it is conceivable to transfer moving image / still image encoded data through another route / same route as a transfer route to the recording unit. This figure is an example when moving image / still image encoded data is recorded in the same recording unit by another path. Further, the recording apparatus in the present embodiment can be used as an imaging apparatus except for the recording unit.
[0018]
When performing still image encoding temporarily during moving image encoding as shown in FIG. 2, the control unit switches between moving image encoding and still image encoding. A skip code is inserted into the moving image encoded stream by a multiplexing circuit. Note that a skip code insertion circuit may be provided separately and the skip code insertion circuit may insert the skip code.
[0019]
Switching between still image and moving image encoding can be performed by user designation or time designation. When switching is designated, the control circuit switches between still images and moving images.
[0020]
Here, the skip code is a code that becomes the same picture as the picture to be referred to when decoding an image, and is inserted in units of pictures. The skip code insertion position is a position that can be uniquely determined when the image is decoded.
[0021]
An example will be described. The encoded data structure for encoding each picture is determined as follows on the encoding side and the decoding side. First, when encoding a picture, a picture start code is set, which is the start of the encoded data of this picture. This code is data that never occurs except for the Picture start code. After that, a skip code for determining whether or not to skip a picture is given to each picture. When decoding, it is possible to determine whether each picture is skipped by first detecting the picture start code and looking at the subsequent skip code. It can be realized by setting as above.
[0022]
Next, an implementation example in MPEG2, which is an international standard system for moving image coding, will be described. The skip code in MPEG2 is a picture skip in MBAI (Macroblock Address Increment), MBE (Macroblock Escape), or Low Delay mode. MBAI and MBE are codes that are the same as the Picture that is referenced when decoding an image. In the picture skip in the low delay mode, the display order (Temporal reference) of the images described in the stream is skipped, so that playback can be performed in a time equivalent to the actual recording time at the time of decoding.
[0023]
First, explanations are given when MBAI or MBE is used. When performing video encoding, I-Picture is encoded using only its own Picture information for each Picture unit, and its own Picture is predicted using the past Picture information as a reference Picture. The P-Picture to be encoded and the past and future Pictures as reference pictures are encoded into B-Pictures that are encoded by predicting their own pictures. In this method, skip codes cannot be inserted into I-Pictures in MPEG2, so skip codes are not inserted into I-Pictures, and skip codes are inserted into P-Pictures and B-Pictures.
[0024]
FIG. 3 shows an example in which a skip code is inserted in the P-Picture format. The upper part of FIG. 3 represents moving picture coding. The input in FIG. 3 represents images input from the camera unit in time order, and I, B, and P represent moving image encoding formats, respectively, and are encoded in that format when encoding. The subscripts 0 to 8 represent the temporal order. The encoding of FIG. 3 represents the thing which rearranged the input image in the encoding order. The skip code is inserted in picture units.
[0025]
PS in FIG. 3 means that a skip code is inserted in the P-Picture format. The lower part of FIG. 3 shows still picture coding. When the skip code is inserted into the moving picture stream, it is inserted in the P-Picture format before the P-Picture as shown in FIG. 3 (encoding in the figure: PS between B1 and P5). An example of decoding and displaying a stream generated by this method is shown in FIG. At this time, the skip code (PS) inserted in the P-Picture format is the same image as the reference image I2 at the time of decoding. By doing so, it is possible to maintain temporal continuity without the encoded stream being interrupted.
[0026]
Similarly, FIG. 5 shows a case where a skip code is inserted in the B-Picture format. The configuration of FIG. 5 is the same as that of FIG. In this case, the skip code is inserted in front of the P-Picture in the B-Picture format (BS in the figure). At this time, the B-Picture has a mode of referring to a future picture, a past picture, or both pictures. In this case, the B-Picture is set to a mode that refers to a past picture. FIG. 6 shows an example of decoding / display. From this, the validity of this method can be confirmed.
[0027]
Next, the insertion position of the skip code to be inserted into P-Picture and B-Picture will be described. FIG. 7 shows the MPEG2 stream structure. MPEG2 includes a sequence layer, a GOP layer, a picture layer, a slice layer, a macroblock layer, and a block layer for each stream. Since the skip code is located at the head of the macroblock information in FIG. 7, it is inserted at that position. In this case, skip codes cannot be added to the beginning and end macroblocks of the slice according to the MPEG2 standard. For such macroblocks, no motion information is predicted in the inter-frame coding mode. Add information with zero error. This makes it possible to display the same image as the reference image when decoding, as with the skip code. By the way, I, P and B-Picture formats are specified in the picture header.
[0028]
Next, a method for performing picture skip in the low delay mode will be described. In the low delay mode, the picture structure for encoding is only I-Picture and P-Picture. FIG. 12 shows a simple picture structure. "Input" I and P indicate I-Picture and P-Picture, respectively, and the numerical suffix indicates Temporal reference. As shown in FIG. 2, when switching between a moving image and a still image, moving image encoding is stopped and still image encoding is performed. At that time, a temporal reference is added to the moving image encoded stream in consideration of the stopped period. FIG. 12 shows an example in which still image encoding is performed between P5 and P7, and moving image encoding is newly restarted from P8. In this case, P5 to P7 that have stopped moving picture encoding are skipped, and when moving picture encoding is resumed, encoding is resumed with Temporal reference set to 8. In this way, playback can be performed in a time equivalent to the recording time by referring to the Temporal reference when decoding.
[0029]
A second embodiment of the invention will be described below with reference to the drawings. FIG. 8 is a block diagram of the recording apparatus of the present invention. The analog signal captured by the
[0030]
The digital image is image-encoded by the
[0031]
As shown in FIG. 10, when a telephoto image (image input to the first lens) is encoded, a wide-angle image (image input to the second lens) is encoded by the control circuit. The switch circuit is switched to start wide-angle image encoding. The wide-angle image is multiplexed with audio and recorded in the recording unit. For telephoto images, a skip code is added by a skip insertion circuit, multiplexed with audio by a multiplexing circuit, and recorded in a recording unit. It is also possible to insert a skip code by a multiplex circuit by providing the multiplex circuit with a skip code insertion function.
[0032]
The skip code represents the same skip code as in the first embodiment. Further, when encoding of the telephoto image is selected by the control circuit, encoding of the wide-angle image is stopped and encoding of the telephoto image is restarted.
[0033]
Also, it is possible to control by the control circuit whether to insert a skip code into the wide-angle image encoded data or to insert a skip code into the telephoto image encoded data.
[0034]
FIG. 9 shows an apparatus that can insert a skip code into both the telephoto image (image input to the first lens) and wide-angle image (image input to the second lens) encoded data. . Accordingly, it is possible to insert a skip code into the wide-angle image at the time of telephoto image encoding, and to insert a skip code into the telephoto image encoded data at the time of wide-angle image encoding. The above input image switching and skip code insertion are controlled by user designation or time designation.
[0035]
A third embodiment of the invention will be described below with reference to the drawings. FIG. 11 is a block diagram of the recording apparatus of the present invention. The analog signal captured by the
[0036]
【The invention's effect】
The present invention can encode a plurality of images without interrupting the encoded stream.
[Brief description of the drawings]
FIG. 1 is a block diagram of a first embodiment.
FIG. 2 is a conceptual diagram of moving image / still image switching.
[Figure 3] P-Picture skip code insertion position.
FIG. 4 shows the display order after decoding.
[Fig. 5] B-Picture skip code insertion position.
FIG. 6 shows the display order after decoding.
FIG. 7: Skip code insertion position.
FIG. 8 is a block diagram of a second embodiment.
FIG. 9 is a block diagram of a second embodiment.
FIG. 10 is a conceptual diagram of telephoto / wide-angle image switching.
FIG. 11 is a block diagram of a third embodiment.
FIG. 12 is a conceptual diagram of the first embodiment.
[Explanation of symbols]
10 ...
12 ... A / D
13 ...
16 ...
Claims (10)
該カメラ部から出力される画像信号を符号化して複数のピクチャからなる画像符号化ストリームを生成する符号化手段と、
前記ピクチャに挿入され、復号時には該ピクチャを他のピクチャ全体のコピーとして生成させるコードであるスキップコードを挿入するスキップコード挿入手段とを有し、
前記符号化手段は、前記カメラ部から出力される動画像を符号化して前記画像符号化ストリームを生成している間に、一時的に動画像の符号化を停止して前記カメラ部から出力される静止画像を符号化し、
前記スキップコード挿入手段は、前記符号化手段が前記動画像の符号化を停止している間に相当する前記動画像のピクチャに対し、前記動画像の符号化が実行されている間に相当するピクチャ全体のコピーが生成されるように前記スキップコードを挿入することを特徴とする撮像装置。A camera unit that captures an image and generates an image signal;
Encoding means for encoding an image signal output from the camera unit to generate an image encoded stream including a plurality of pictures;
Skip code insertion means for inserting a skip code, which is a code inserted into the picture and generating the picture as a copy of the whole other picture at the time of decoding,
The encoding means temporarily stops the encoding of the moving image and outputs it from the camera unit while encoding the moving image output from the camera unit and generating the image encoded stream. A still image
The skip code insertion means corresponds to the time when the moving picture is being encoded with respect to the picture of the moving picture corresponding to the time when the encoding means stops encoding the moving picture. An imaging apparatus, wherein the skip code is inserted so that a copy of the entire picture is generated.
入力画像を切り替えるスイッチ手段と、
カメラ部から出力される画像信号を符号化して複数のピクチャからなる画像符号化ストリームを生成する符号化手段と、
復号時には前記ピクチャを他のピクチャ全体のコピーとして生成させるスキップコードを挿入するスキップコード挿入手段と、
スイッチ手段の切り替えを制御すると共にスキップコードの挿入を制御する制御手段と、
を備えており、
前記符号化手段は、前記カメラ部から出力される動画像を符号化して前記画像符号化ストリームを生成している間に、一時的に動画像の符号化を停止して前記カメラ部から出力される静止画像を符号化し、前記スキップコード挿入手段は、前記符号化手段が前記動画像の符号化を停止している間に相当する前記動画像のピクチャに対し、前記動画像の符号化が実行されている間に相当するピクチャ全体のコピーが生成されるように前記スキップコードを挿入することを特徴とする撮像装置。In an imaging device that encodes images taken from at least two different camera units,
Switch means for switching input images ;
Encoding means for encoding an image signal output from the camera unit to generate an image encoded stream including a plurality of pictures;
Skip code insertion means for inserting a skip code that causes the picture to be generated as a copy of the entire other picture at the time of decoding ;
Control means for controlling switching of the switch means and controlling insertion of the skip code ;
With
The encoding means temporarily stops the encoding of the moving image and outputs it from the camera unit while encoding the moving image output from the camera unit and generating the image encoded stream. The skip code insertion unit executes encoding of the moving image with respect to a corresponding picture of the moving image while the encoding unit stops encoding of the moving image. An image pickup apparatus, wherein the skip code is inserted so that a copy of the entire picture corresponding to the generated picture is generated.
ユーザの指示を受け付ける切り替えスイッチ手段を備え、
前記切り替えスイッチ手段がユーザーの指示により前記動画像の符号化を停止して前記静止画像を符号化することを特徴とする撮像装置。The imaging apparatus according to any one of claims 1 to 7,
Comprising a change-over switch means for accepting a user instruction,
An imaging apparatus, wherein the change-over switch means stops encoding the moving image and encodes the still image according to a user instruction.
プログラムの指示を受け付ける切り替えスイッチ手段を備え、
前記切り替えスイッチ手段がプログラムの指示により前記動画像の符号化を停止して前記静止画像を符号化することを特徴とする撮像装置。The imaging apparatus according to any one of claims 1 to 7,
Provided with changeover switch means for accepting program instructions,
An image pickup apparatus, wherein the change-over switch means stops the encoding of the moving image and encodes the still image according to a program instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002259524A JP4158463B2 (en) | 2002-09-05 | 2002-09-05 | Imaging device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002259524A JP4158463B2 (en) | 2002-09-05 | 2002-09-05 | Imaging device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004104193A JP2004104193A (en) | 2004-04-02 |
JP4158463B2 true JP4158463B2 (en) | 2008-10-01 |
Family
ID=32260502
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002259524A Expired - Lifetime JP4158463B2 (en) | 2002-09-05 | 2002-09-05 | Imaging device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4158463B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4197184B2 (en) * | 2004-09-30 | 2008-12-17 | パナソニック株式会社 | Video decoding device, video playback device, video decoding method, and video playback method |
US8743227B2 (en) | 2007-05-02 | 2014-06-03 | Canon Kabushiki Kaisha | Imaging apparatus and control method for reducing a load of writing image data on a recording medium |
JP5164610B2 (en) * | 2007-05-02 | 2013-03-21 | キヤノン株式会社 | Imaging apparatus and control method thereof |
CN107483949A (en) * | 2017-07-26 | 2017-12-15 | 千目聚云数码科技(上海)有限公司 | Increase the method and system of SVAC SVC practicality |
-
2002
- 2002-09-05 JP JP2002259524A patent/JP4158463B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JP2004104193A (en) | 2004-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6690881B1 (en) | Digital camera apparatus and recording method thereof | |
JP2006253768A (en) | Digital camera | |
US8511901B2 (en) | Image recording apparatus and method | |
JP2008252685A (en) | Image encoding device, and imaging apparatus using the same | |
KR20040080930A (en) | Information processing apparatus and method | |
JP4158463B2 (en) | Imaging device | |
JP2008283276A (en) | Imaging apparatus | |
KR20090064278A (en) | Recording apparatus, replaying apparatus, recording method, replaying method and program recording medium | |
JP2004140630A (en) | Method and apparatus for compressing image for performing frame thinning processing | |
JP4306035B2 (en) | Encoding method, encoding device, and camera device | |
JP2006222931A (en) | Information recording apparatus, information reproducing apparatus, information recording program, and information reproducing program | |
JP2006340001A (en) | Device and method for image encoding | |
JP2004180345A (en) | Photographed image recording apparatus | |
JP4700992B2 (en) | Image processing device | |
JP3381630B2 (en) | Data generation method | |
KR101332299B1 (en) | Image recording apparatus and method thereof | |
JP4573166B2 (en) | Information recording apparatus, information reproducing apparatus, information recording method, and information reproducing method | |
JP3594017B2 (en) | Bitstream transmission method and transmission system | |
JP2004343201A (en) | Recording apparatus | |
JP2009081727A (en) | Image encoding apparatus, method of controlling therefor, and program | |
JP2001186469A (en) | Intermittent picture recording device and its method | |
JP4359966B2 (en) | Image signal encoding apparatus, camera apparatus and recording method | |
EP2487910B1 (en) | Image coding device and image coding method | |
JP3381727B2 (en) | Data playback device | |
JP3381724B2 (en) | Data recording method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050303 |
|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20060419 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070330 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070724 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070921 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080415 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080530 |
|
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: 20080624 |
|
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: 20080707 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 4158463 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: 20110725 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110725 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120725 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130725 Year of fee payment: 5 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
EXPY | Cancellation because of completion of term |