JPH1169288A - Image processing device - Google Patents
Image processing deviceInfo
- Publication number
- JPH1169288A JPH1169288A JP21644597A JP21644597A JPH1169288A JP H1169288 A JPH1169288 A JP H1169288A JP 21644597 A JP21644597 A JP 21644597A JP 21644597 A JP21644597 A JP 21644597A JP H1169288 A JPH1169288 A JP H1169288A
- Authority
- JP
- Japan
- Prior art keywords
- image
- unit
- images
- processing apparatus
- still 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.)
- Pending
Links
Landscapes
- Controls And Circuits For Display Device (AREA)
- Stereoscopic And Panoramic Photography (AREA)
- Studio Circuits (AREA)
- Television Signal Processing For Recording (AREA)
- Studio Devices (AREA)
- Image Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、複数の画像を継ぎ
合わせてパノラマ静止画像を生成する画像処理装置に関
する。[0001] 1. Field of the Invention [0002] The present invention relates to an image processing apparatus for generating a panoramic still image by joining a plurality of images.
【0002】[0002]
【従来の技術】従来、パンニングによって広範囲の被写
体が撮影された動画像から1枚のパノラマ静止画像を生
成する装置として、特開平6−284321号公報や特
開平8−307770号公報などに掲載されるようなパ
ノラマ静止画像作成装置がある。特開平6−28432
1号公報には、カメラ一体型ビデオテープレコーダ等で
撮影された動画像の各コマに相当する画像の動きベクト
ルを利用し、連続する画像の重ね合わせを行う技術が掲
載されている。2. Description of the Related Art Conventionally, an apparatus for generating a single panoramic still image from a moving image obtained by photographing a wide range of subjects by panning is disclosed in Japanese Patent Application Laid-Open Nos. Hei 6-284321 and Hei 8-307770. There is a panoramic still image creation device like this. JP-A-6-28432
Japanese Patent Laid-Open No. 1 discloses a technique for superimposing continuous images using a motion vector of an image corresponding to each frame of a moving image captured by a camera-integrated video tape recorder or the like.
【0003】また、特開平8−307770号公報に
は、収差などによる被写体までの距離の変化で生じる画
像の歪みを補正してパノラマ静止画像を生成する技術が
掲載されている。[0003] Japanese Patent Application Laid-Open No. 8-307770 discloses a technique for generating a panoramic still image by correcting image distortion caused by a change in distance to a subject due to aberration or the like.
【0004】[0004]
【発明が解決しようとする課題】これらの従来技術で
は、撮影された動画像からパノラマ静止画像を生成する
範囲については、操作者が指示することができるが、こ
のような範囲内の全ての画像を用いてパノラマ静止画像
が生成される。そのため、パンニングが低速で行われた
場合には、重複部分が多くなり、処理効率が悪いという
問題があった。In these prior arts, an operator can instruct a range for generating a panoramic still image from a captured moving image, but all the images within such a range can be specified. Is used to generate a panoramic still image. Therefore, when panning is performed at a low speed, there is a problem that the overlapping portion increases and processing efficiency is poor.
【0005】また、動画撮影中に露光や焦点距離などの
撮影条件が変化することが想定されていないため、継ぎ
合わせが行えない場合や継ぎ目が目立ってしまう場合が
あった。そこで、請求項1〜6に記載の発明は、パノラ
マ静止画像の生成を速やかに行う画像処理装置を提供す
ることを目的とし、請求項7〜9に記載の発明は、パノ
ラマ静止画像の生成を精度良く行う画像処理装置を提供
することを目的とする。[0005] Further, since it is not assumed that photographing conditions such as exposure and focal length change during moving image photographing, joints may not be performed or joints may be conspicuous. Therefore, the invention according to claims 1 to 6 aims to provide an image processing apparatus for quickly generating a panoramic still image, and the inventions according to claims 7 to 9 provide an image processing apparatus for generating a panoramic still image. An object of the present invention is to provide an image processing apparatus that performs the processing with high accuracy.
【0006】[0006]
【課題を解決するための手段】図1は、請求項1〜4に
記載の発明の原理ブロック図である。請求項1に記載の
発明は、外部から与えられる複数の画像を取得する画像
取得手段10と、画像取得手段10によって取得された
複数の画像の内、少なくとも2つの画像を選択する画像
選択手段11と、画像選択手段11によって選択された
画像に対し、継ぎ合わせを行ってパノラマ静止画像を生
成するパノラマ生成手段12とを備えたことを特徴とす
る。FIG. 1 is a block diagram showing the principle of the first to fourth aspects of the present invention. According to the first aspect of the present invention, there is provided an image acquiring unit for acquiring a plurality of externally provided images, and an image selecting unit for selecting at least two images among the plurality of images acquired by the image acquiring unit. And a panorama generation unit 12 that joins the images selected by the image selection unit 11 to generate a panoramic still image.
【0007】請求項2に記載の発明は、請求項1に記載
の画像処理装置において、画像取得手段10は、動画の
1コマに相当する画像をフレーム間符号化方式もしくは
フレーム内符号化方式によって圧縮された形式で取得
し、画像選択手段11は、画像取得手段10によって取
得される複数の画像の内、フレーム内符号化方式によっ
て圧縮された画像を選択することを特徴とする。According to a second aspect of the present invention, in the image processing apparatus according to the first aspect, the image acquiring means 10 converts an image corresponding to one frame of a moving image by an inter-frame encoding method or an intra-frame encoding method. The image is obtained in a compressed format, and the image selecting unit 11 selects an image compressed by the intra-frame encoding method from among the plurality of images obtained by the image obtaining unit 10.
【0008】請求項3に記載の発明は、請求項1に記載
の画像処理装置において、画像取得手段10は、動画の
1コマに相当する画像もしくは静止画の画像を取得し、
画像選択手段11は、画像取得手段10によって取得さ
れる複数の画像の内、静止画の画像を選択することを特
徴とする。請求項4に記載の発明は、請求項1に記載の
画像処理装置において、画像選択手段11は、予め決め
られた時間が経過するごとに画像取得手段10を介して
取得された画像を選択することを特徴とする。According to a third aspect of the present invention, in the image processing apparatus according to the first aspect, the image obtaining means 10 obtains an image corresponding to one frame of a moving image or a still image.
The image selection unit 11 selects a still image from a plurality of images acquired by the image acquisition unit 10. According to a fourth aspect of the present invention, in the image processing apparatus according to the first aspect, the image selecting unit 11 selects an image acquired through the image acquiring unit 10 every time a predetermined time elapses. It is characterized by the following.
【0009】図2は、請求項5に記載の発明の原理ブロ
ック図である。請求項5に記載の発明は、請求項1に記
載の画像処理装置において、画像取得手段10によって
取得される各画像に対応付け、該画像が生成された際の
撮影方向を取得する撮影方向取得手段14を備え、画像
選択手段11は、撮影方向取得手段14によって取得さ
れた撮影方向が予め決められた方向を示す画像を選択す
ることを特徴とする。FIG. 2 is a block diagram showing the principle of the present invention. According to a fifth aspect of the present invention, in the image processing apparatus according to the first aspect, a photographing direction acquisition in which a photographing direction when the image is generated is associated with each image acquired by the image acquiring unit 10. The image selecting means 11 is provided with means for selecting an image in which the photographing direction acquired by the photographing direction acquiring means 14 indicates a predetermined direction.
【0010】図3は、請求項6に記載の発明の原理ブロ
ック図である。請求項6に記載の発明は、請求項5に記
載の画像処理装置において、画像取得手段10によって
取得される各画像に対応付け、該画像の画角を算出もし
くは取得する画角取得手段16を備え、画像選択手段1
1は、画像を選択する際の方向を画角取得手段16によ
って算出もしくは取得された画角に基づいて決定するこ
とを特徴とする。FIG. 3 is a block diagram showing the principle of the present invention. According to a sixth aspect of the present invention, in the image processing apparatus according to the fifth aspect, the angle-of-view acquisition unit 16 that calculates or acquires the angle of view of the image in association with each image acquired by the image acquisition unit 10 is provided. Provided, image selection means 1
1 is characterized in that the direction at the time of selecting an image is determined based on the angle of view calculated or obtained by the angle-of-view obtaining means 16.
【0011】図4は、請求項7に記載の発明の原理ブロ
ック図である。請求項7に記載の発明は、外部から供給
される複数の画像を取得する画像取得手段20と、画像
取得手段20を介して取得される複数の画像に対し、継
ぎ合わせを行ってパノラマ静止画像を生成するパノラマ
生成手段21とを備えた画像処理装置であって、パノラ
マ生成手段21で隣接して継ぎ合わせられる各画像に示
される同一の対象物の大きさが一致するように、該画像
を拡大もしくは縮小する大きさ変換手段22を備え、パ
ノラマ生成手段21は、大きさ変換手段22によって拡
大もしくは縮小された画像を継ぎ合わせてパノラマ静止
画像を生成することを特徴とする。FIG. 4 is a block diagram showing the principle of the present invention. According to a seventh aspect of the present invention, a panoramic still image is obtained by splicing a plurality of images acquired through the image acquiring unit and acquiring a plurality of images supplied from the outside. And a panorama generation means 21 for generating the image data. The image processing apparatus includes: A panorama generation unit 21 is provided with a size conversion unit 22 for enlarging or reducing, and the panorama generation unit 21 generates a panoramic still image by joining images enlarged or reduced by the size conversion unit 22.
【0012】図5は、請求項8に記載の発明の原理ブロ
ック図である。請求項8に記載の発明は、請求項7に記
載の画像処理装置において、画像取得手段20によって
取得される各画像に対応付け、該画像の撮影倍率を算出
もしくは取得する倍率取得手段24を備え、大きさ変換
手段22は、倍率取得手段24によって算出もしくは取
得された撮影倍率に基づき、画像を拡大もしくは縮小す
ることを特徴とする。FIG. 5 is a block diagram showing the principle of the present invention. According to an eighth aspect of the present invention, in the image processing apparatus according to the seventh aspect, there is provided a magnification acquiring unit 24 for calculating or acquiring a photographing magnification of the image in association with each image acquired by the image acquiring unit 20. The size conversion unit 22 enlarges or reduces an image based on the photographing magnification calculated or acquired by the magnification acquisition unit 24.
【0013】図6は、請求項9に記載の発明の原理ブロ
ック図である。請求項9に記載の発明は、外部から供給
される複数の画像を取得する画像取得手段30と、画像
取得手段30を介して取得される複数の画像に対し、継
ぎ合わせを行ってパノラマ静止画像を生成するパノラマ
生成手段31とを備えた画像処理装置であって、パノラ
マ生成手段31によって継ぎ合わせられる画像の重複部
分もしくは継ぎ目の近傍の明るさの相違を検出する明る
さ検出手段32と、明るさ検出手段32によって検出さ
れる明るさの相違に基づいて、画像の明るさを予め決め
られた明るさに変換する明るさ変換手段33とを備え、
パノラマ生成手段31は、明るさ変換手段33によって
明るさが変換された画像を継ぎ合わせてパノラマ静止画
像を生成することを特徴とする。FIG. 6 is a block diagram showing the principle of the ninth aspect of the present invention. According to a ninth aspect of the present invention, a panoramic still image is obtained by splicing a plurality of images acquired via the image acquiring unit 30 and a plurality of images acquired via the image acquiring unit 30. A panorama generating means 31 for generating a brightness, a brightness detecting means 32 for detecting a difference in brightness near an overlapping portion or a seam of an image joined by the panoramic generating means 31, Brightness conversion means 33 for converting the brightness of the image into a predetermined brightness based on the difference in brightness detected by the brightness detection means 32,
The panorama generation means 31 generates a panoramic still image by joining the images whose brightness has been converted by the brightness conversion means 33.
【0014】(作用)請求項1に記載の発明にかかわる
画像処理装置では、画像取得手段10は外部から与えら
れる複数の画像を取得し、画像選択手段11は画像取得
手段10によって取得された複数の画像の内、少なくと
も2つの画像を選択する。また、パノラマ生成手段12
は、画像選択手段11によって選択された画像に対し、
重複を許容しつつ継ぎ合わせを行ってパノラマ静止画像
を生成する。(Operation) In the image processing apparatus according to the first aspect of the present invention, the image obtaining means 10 obtains a plurality of externally applied images, and the image selecting means 11 obtains the plurality of images obtained by the image obtaining means 10. Of at least two images are selected. The panorama generating means 12
Is, for the image selected by the image selecting means 11,
The panorama still image is generated by performing the joining while allowing the overlap.
【0015】したがって、画像取得手段10を介して取
得した全ての画像を継ぎ合わせる場合と比較して、パノ
ラマ静止画像を生成する際の処理効率を向上することが
できる。請求項2に記載の発明にかかわる画像処理装置
では、画像取得手段10は動画の1コマに相当する画像
をフレーム間符号化方式もしくはフレーム内符号化方式
によって圧縮された形式で取得する。Therefore, the processing efficiency when generating a panoramic still image can be improved as compared with the case where all the images acquired through the image acquiring means 10 are joined. In the image processing apparatus according to the second aspect of the present invention, the image obtaining means 10 obtains an image corresponding to one frame of a moving image in a format compressed by an inter-frame coding method or an intra-frame coding method.
【0016】また、画像選択手段11は、画像取得手段
10によって取得される複数の画像の内、フレーム内符
号化方式によって圧縮された画像を選択する。パノラマ
生成手段12は、このように選択された画像に対し、重
複を許容しつつ継ぎ合わせを行ってパノラマ静止画像を
生成する。したがって、フレーム間符号化された画像を
選択する場合と比較し、動き補償処理などによる画像の
劣化が抑制されるため、高画質のパノラマ静止画像を生
成することができる。The image selecting means 11 selects an image compressed by the intra-frame coding method from among the plurality of images obtained by the image obtaining means 10. The panorama generation means 12 generates a panoramic still image by joining the images selected in this way while allowing overlap. Therefore, compared to the case where an inter-coded image is selected, deterioration of the image due to the motion compensation processing and the like is suppressed, so that a high-quality panoramic still image can be generated.
【0017】また、フレーム間符号化された画像は前後
のフレームを用いて伸張する必要があるのに対し、フレ
ーム内符号化された画像は他のフレームを参照すること
なく容易に伸張できるため、フレーム内符号化された画
像のみでパノラマ静止画像を生成する場合には、伸張時
の処理効率が向上し、パノラマ静止画像を速やかに生成
することができる。Also, since an inter-coded image needs to be expanded using the preceding and succeeding frames, an intra-coded image can be easily expanded without referring to other frames. When a panoramic still image is generated only with an intra-frame encoded image, processing efficiency at the time of decompression is improved, and a panoramic still image can be generated quickly.
【0018】請求項3に記載の発明にかかわる画像処理
装置では、画像取得手段10は動画の1コマに相当する
画像もしくは静止画の画像を取得する。また、画像選択
手段11は、画像取得手段10によって取得される複数
の画像の内、静止画の画像を選択する。したがって、動
画の撮影中に予め決められた間隔で撮影された静止画や
操作者が意図的に撮影した静止画などを用いて、継ぎ合
わせを行うことができるため、高画質のパノラマ静止画
像を生成することができる。In the image processing apparatus according to the third aspect of the present invention, the image obtaining means 10 obtains an image corresponding to one frame of a moving image or a still image. Further, the image selecting unit 11 selects a still image from the plurality of images acquired by the image acquiring unit 10. Therefore, since a still image taken at a predetermined interval during shooting of a moving image or a still image intentionally taken by an operator can be joined, a high-quality panoramic still image can be obtained. Can be generated.
【0019】請求項4に記載の発明にかかわる画像処理
装置では、画像選択手段11は予め決められた時間が経
過するごとに画像取得手段10を介して取得された画像
を選択する。すなわち、予め決められた時間に基づく間
隔で、継ぎ合わせを行うべき画像を選択することができ
るため、速やかにかつ確実にパノラマ静止画像を生成す
ることができる。In the image processing apparatus according to a fourth aspect of the present invention, the image selecting means 11 selects an image obtained through the image obtaining means 10 every time a predetermined time elapses. That is, since images to be joined can be selected at intervals based on a predetermined time, a panoramic still image can be generated quickly and reliably.
【0020】請求項5に記載の発明にかかわる画像処理
装置では、撮影方向取得手段14は画像取得手段10に
よって取得される各画像に対応付け、画像が生成された
際の撮影方向を取得する。また、画像選択手段11は、
撮影方向取得手段14によって取得された撮影方向が予
め決められた方向を示す画像を選択する。すなわち、撮
影者が撮影方向を変化させて周囲を撮影した画像から、
予め決められた撮影方向を示す画像を選択することによ
って、速やかにパノラマ静止画像を生成することができ
る。In the image processing apparatus according to the fifth aspect of the present invention, the photographing direction acquiring means 14 acquires the photographing direction when the image was generated, in association with each image acquired by the image acquiring means 10. Further, the image selecting means 11
An image in which the shooting direction obtained by the shooting direction obtaining means 14 indicates a predetermined direction is selected. In other words, from an image in which the photographer changes the shooting direction and shoots the surroundings,
By selecting an image indicating a predetermined shooting direction, a panoramic still image can be quickly generated.
【0021】請求項6に記載の発明にかかわる画像処理
装置では、画角取得手段16は画像取得手段10によっ
て取得される各画像に対応付け、該画像の画角を算出も
しくは取得する。また、画像選択手段11は、画像を選
択する際の方向を画角取得手段16によって算出もしく
は取得された画角に基づいて決定する。すなわち、撮影
者が撮影方向を変化させて周囲を撮影した画像の画角と
撮影方向とを対応付け、継ぎ合わせを行う画像を選択す
るため、継ぎ合わせの精度が向上してパノラマ静止画像
を確実に生成することができる。In the image processing apparatus according to the sixth aspect of the present invention, the angle-of-view obtaining means 16 calculates or obtains the angle of view of the image in association with each image obtained by the image obtaining means 10. Further, the image selecting unit 11 determines a direction at the time of selecting an image based on the angle of view calculated or obtained by the angle of view obtaining unit 16. That is, since the photographer changes the shooting direction to associate the angle of view of the image of the surroundings with the shooting direction and selects the image to be joined, the joining accuracy is improved and the panoramic still image is reliably obtained. Can be generated.
【0022】請求項7に記載の発明にかかわる画像処理
装置では、画像取得手段20は外部から供給される複数
の画像を取得し、パノラマ生成手段21は画像取得手段
20を介して取得される複数の画像に対し、重複を許容
しつつ継ぎ合わせを行ってパノラマ静止画像を生成す
る。大きさ変換手段22は、パノラマ生成手段21で隣
接して継ぎ合わせられる各画像に示される同一の対象物
の大きさが一致するように、画像を拡大もしくは縮小す
る。In the image processing apparatus according to the present invention, the image obtaining means 20 obtains a plurality of externally supplied images, and the panorama generating means 21 obtains the plurality of images obtained through the image obtaining means 20. The panoramic still image is generated by performing the splicing with respect to the image of FIG. The size conversion unit 22 enlarges or reduces the image so that the size of the same target object shown in each of the images that are adjacently joined by the panorama generation unit 21 matches.
【0023】したがって、継ぎ合わせを行うべき画像に
示される対象物の大きさが異なる場合であっても、確実
にパノラマ静止画像を生成することができる。請求項8
に記載の発明にかかわる画像処理装置では、倍率取得手
段24は画像取得手段20によって取得される各画像に
対応付け、画像の撮影倍率を算出もしくは取得する。ま
た、大きさ変換手段22は、倍率取得手段24によって
算出もしくは取得された撮影倍率に基づき、画像を拡大
もしくは縮小する。Therefore, even when the size of the object shown in the image to be joined is different, a still panoramic image can be reliably generated. Claim 8
In the image processing device according to the invention described in (1), the magnification obtaining unit 24 calculates or obtains the imaging magnification of the image in association with each image obtained by the image obtaining unit 20. The size conversion unit 22 enlarges or reduces the image based on the photographing magnification calculated or acquired by the magnification acquisition unit 24.
【0024】すなわち、撮影倍率を取得することによっ
て、継ぎ合わせを行うべき複数の画像に示される同一の
対象物の大きさを容易に一致させることができる。した
がって、継ぎ合わせを行う画像の撮影倍率が変化した場
合であっても、確実にパノラマ静止画像を生成すること
ができる。請求項9に記載の発明にかかわる画像処理装
置では、画像取得手段30は外部から供給される複数の
画像を取得する。パノラマ生成手段31は、画像取得手
段30を介して取得される複数の画像に対し、重複を許
容しつつ継ぎ合わせを行ってパノラマ静止画像を生成す
る。That is, by acquiring the photographing magnification, it is possible to easily match the size of the same object shown in a plurality of images to be joined. Therefore, even when the photographing magnification of the image to be joined changes, a panoramic still image can be reliably generated. In the image processing apparatus according to the ninth aspect, the image acquisition unit 30 acquires a plurality of images supplied from outside. The panorama generating unit 31 generates a panoramic still image by joining the plurality of images acquired through the image acquiring unit 30 while allowing overlap.
【0025】また、明るさ検出手段32は、パノラマ生
成手段31によって継ぎ合わせられる画像の重複部分も
しくは継ぎ目の近傍の明るさの相違を検出し、明るさ変
換手段33は、明るさ検出手段32によって検出される
明るさの相違に基づいて、画像の明るさを予め決められ
た明るさに調整する。したがって、継ぎ合わせられる画
像の重複部分もしくは継ぎ目の近傍の明るさが異なる場
合であっても、継ぎ目を目立たせることなくパノラマ静
止画像を生成することができる。The brightness detecting means 32 detects a difference in brightness in the vicinity of the overlapping portion or the seam of the images joined by the panorama generating means 31, and the brightness converting means 33 controls the brightness detecting means 32. The brightness of the image is adjusted to a predetermined brightness based on the difference in the detected brightness. Therefore, even when the overlapping portions of the images to be joined or the brightness in the vicinity of the joint is different, a panoramic still image can be generated without making the joint stand out.
【0026】[0026]
【発明の実施の形態】以下、図面に基づいて本発明の実
施形態について詳細を説明する。なお、請求項1〜9に
記載の発明に対応した実施形態として画像処理装置の一
形態である電子カメラを用いて説明を行うこととする。Embodiments of the present invention will be described below in detail with reference to the drawings. Note that an embodiment corresponding to the first to ninth aspects of the present invention will be described using an electronic camera which is an embodiment of an image processing apparatus.
【0027】(第一の実施形態)図7は、電子カメラの
外観を示す図であり、図8は、請求項1および2に記載
の発明に対応した実施形態の機能ブロック図である。図
8において、制御部40は、システムバス42を介して
撮像部44、ディスクドライブ46、表示処理部48、
モニタ50、タッチパネル52、メモリ54、圧縮部5
6、伸張部58、動きベクトル検出部60および相関検
出部62が接続される。また、ディスクドライブ46に
は、磁気ディスク64が装填される。(First Embodiment) FIG. 7 is a view showing an appearance of an electronic camera, and FIG. 8 is a functional block diagram of an embodiment corresponding to the first and second aspects of the present invention. 8, the control unit 40 includes an imaging unit 44, a disk drive 46, a display processing unit 48,
Monitor 50, touch panel 52, memory 54, compression unit 5
6, the expansion unit 58, the motion vector detection unit 60, and the correlation detection unit 62 are connected. The disk drive 46 is loaded with a magnetic disk 64.
【0028】なお、図1に示す原理ブロック図と本実施
形態との対応関係については、画像取得手段10はディ
スクドライブ46および磁気ディスク64に対応し、画
像選択手段11は制御部40の画像データを選択する機
能に対応し、パノラマ生成手段12はメモリ54、動き
ベクトル検出部60、相関検出部62および制御部40
の画像を継ぎ合わせる機能に対応する。As for the correspondence between the principle block diagram shown in FIG. 1 and the present embodiment, the image acquisition means 10 corresponds to the disk drive 46 and the magnetic disk 64, and the image selection means 11 corresponds to the image data of the control section 40. , The panorama generating means 12 includes a memory 54, a motion vector detecting section 60, a correlation detecting section 62, and a control section 40.
It supports the function of joining images.
【0029】また、本実施形態では、簡単のため、撮影
者によるパンニングによって撮影された周囲360度に
渡る動画像データがMPEGに適用する形式で圧縮さ
れ、動画像ファイルとして磁気ディスク64に予め格納
されていることとする。ここで、動画像ファイルは、撮
影日時や総フレーム数などの付帯情報からなるヘッダ領
域と、動画像データからなる画像領域と、後述するサム
ネイル画像の画像データからなるサムネイル領域とで構
成されることとする。また、磁気ディスク64に動画像
ファイルと共に格納される静止画像ファイルは、ヘッダ
領域と画像領域とで構成されることとする。In this embodiment, for the sake of simplicity, moving picture data of 360 degrees around the picture taken by panning by the photographer is compressed in a format applicable to MPEG and stored in the magnetic disk 64 in advance as a moving picture file. It has been done. Here, the moving image file includes a header area including additional information such as a shooting date and time and a total number of frames, an image area including moving image data, and a thumbnail area including image data of a thumbnail image described later. And A still image file stored together with the moving image file on the magnetic disk 64 is composed of a header area and an image area.
【0030】図9は、請求項1および2に記載の発明に
対応した実施形態の動作フローチャートである。以下、
図8および9を参照して請求項1および2に記載の発明
に対応した実施形態の動作を説明する。FIG. 9 is an operation flowchart of an embodiment according to the first and second aspects of the present invention. Less than,
The operation of the embodiment according to the first and second aspects of the present invention will be described with reference to FIGS.
【0031】制御部40は、主電源が投入されると、図
10に示すようなサムネイル画像を含む操作画面の表示
を表示処理部48に指令する(図9S1)。なお、図1
0において、巻き戻しボタン100、早送りボタン10
1、停止ボタン102、パノラマボタン103、逆再生
ボタン104および再生ボタン105などは、操作ボタ
ンを示し、長方形で囲まれた「サムネイルA」や「サム
ネイルB」などは、サムネイル画像が表示されている状
態を示す。また、二重線もしくはハイライトで囲まれた
サムネイル画像は、再生などの処理対象であることを示
し、厚みのあるサムネイル表示は、動画であることを示
す。When the main power is turned on, the control unit 40 instructs the display processing unit 48 to display an operation screen including a thumbnail image as shown in FIG. 10 (S1 in FIG. 9). FIG.
0, rewind button 100, fast forward button 10
1, a stop button 102, a panorama button 103, a reverse play button 104, a play button 105, and the like indicate operation buttons. Thumbnail images such as "thumbnail A" and "thumbnail B" surrounded by rectangles are displayed. Indicates the status. A thumbnail image surrounded by double lines or highlights indicates that the image is a processing target such as reproduction, and a thick thumbnail display indicates a moving image.
【0032】表示処理部48は、ディスクドライブ46
を介して磁気ディスク64内の各動画像ファイルのサム
ネイル領域からサムネイル画像の画像データを読み出
し、厚みを示す画像データと共に内部のフレームメモリ
(図示されない)の予め決められた位置に格納する。ま
た、表示処理部48は、ディスクドライブ46を介して
磁気ディスク64内の静止画像ファイルから静止画像デ
ータを読み出し、画素密度変換を行ってサムネイル画像
としてフレームメモリに格納する。The display processing unit 48 includes a disk drive 46
The image data of the thumbnail image is read out from the thumbnail area of each moving image file in the magnetic disk 64 via the, and stored in a predetermined position of an internal frame memory (not shown) together with the image data indicating the thickness. Further, the display processing unit 48 reads out still image data from the still image file in the magnetic disk 64 via the disk drive 46, performs pixel density conversion, and stores it as a thumbnail image in the frame memory.
【0033】さらに、表示処理部48は、フレームメモ
リに格納された画像データと、上述したような操作ボタ
ンに相当する画像データとをオーバレイ処理し、モニタ
50に与える。モニタ50では、このようにして与えら
れた画像データが操作画面として表示される。Further, the display processing section 48 overlays the image data stored in the frame memory and the image data corresponding to the operation buttons as described above, and gives the overlay data to the monitor 50. On the monitor 50, the image data thus provided is displayed as an operation screen.
【0034】制御部40は、操作画面が表示されている
状態では、タッチパネル52を介して受け付けられる外
部操作によって、パノラマ静止画像の生成が指示された
か否かを判定する(図9S2)。すなわち、サムネイル
画像が選択され(ここでは、「サムネイルD」が選択さ
れたこととする)、パノラマボタン103が外部操作さ
れると、パノラマ静止画像の生成が指示されたことを認
識し、ディスクドライブ46を介してサムネイル画像に
対応する動画像ファイルを開く。While the operation screen is being displayed, the control unit 40 determines whether or not an instruction to generate a panoramic still image has been given by an external operation received via the touch panel 52 (S2 in FIG. 9). That is, when a thumbnail image is selected (here, “thumbnail D” is selected) and the panorama button 103 is externally operated, it is recognized that generation of a panoramic still image has been instructed, and the disk drive A moving image file corresponding to the thumbnail image is opened via 46.
【0035】また、制御部40は、ディスクドライブ4
6を介し、このような動画像ファイルから、予め決めら
れたGOP(Group Of Picture)構造に
基づきIピクチャに相当するフレームの画像データ(フ
レーム内符号化された画像データ)を順次読み出す(図
9S3)。このようにして読み出された画像データは、
伸張部58で伸張されてメモリ54に順次格納される。The control unit 40 also controls the disk drive 4
6, image data (intra-frame encoded image data) of a frame corresponding to an I picture is sequentially read from such a moving image file based on a predetermined GOP (Group Of Picture) structure (S3 in FIG. 9). ). The image data read in this way is
The data is expanded by the expansion unit 58 and sequentially stored in the memory 54.
【0036】制御部40は、動きベクトル検出部60を
介し、メモリ54に格納されたフレーム単位の画像の動
きベクトルを検出する(図9S4)。また、制御部40
は、このように検出された動きベクトルに基づきフレー
ム間のズレ量を算出して、各フレームの画像の重複部分
を求める(図9S5)。さらに、制御部40は、相関検
出部62を介して、各フレームの重複部分における垂直
方向のライン毎に相関を求める(図9S6)。The control unit 40 detects a motion vector of an image in a frame unit stored in the memory 54 via the motion vector detection unit 60 (S4 in FIG. 9). The control unit 40
Calculates the amount of shift between frames based on the motion vectors detected in this way, and obtains the overlapping portion of the image of each frame (S5 in FIG. 9). Further, the control unit 40 obtains a correlation for each vertical line in the overlapping portion of each frame via the correlation detection unit 62 (S6 in FIG. 9).
【0037】ここでは、隣接する2つのフレームの内、
一方のフレームの重複部分の中央部における垂直方向の
1ライン分の画素と、他方のフレームの重複部分の中央
部付近における各ラインの画素との相関を求めることと
する。制御部40は、このようにして相関を求めたライ
ンの内、最も強い相関を示すラインで画像を継ぎ合わせ
る(図9S7)。Here, of two adjacent frames,
The correlation between pixels of one line in the vertical direction at the center of the overlapping portion of one frame and pixels of each line near the center of the overlapping portion of the other frame is determined. The control unit 40 joins the images with the line showing the strongest correlation among the lines for which the correlation has been obtained in this manner (S7 in FIG. 9).
【0038】例えば、図11に示すように、メモリ54
内にフレーム単位の画像データAおよびBが格納されて
いる場合、他の領域に画像データAを複写し、このよう
に複写した画像データAに、画像データBの「最も強い
相関を示すライン」から右端までに相当する画像データ
を重ね合わせる。制御部40は、メモリ54内の全フレ
ームの画像の継ぎ合わせが完了したか否かを判定し(図
9S8)、このような判定によってパノラマ静止画像の
生成が終了したことを認識するまで、継ぎ合わせ(図9
S4以降の処理)を繰り返す。なお、動画像ファイルか
ら読み出した先頭フレームおよび最終フレームについて
も、重複部分における最も強い相関を示すラインで継ぎ
合わせる。For example, as shown in FIG.
When the image data A and B in frame units are stored in the image data, the image data A is copied to another area, and the “line indicating the strongest correlation” of the image data B is added to the image data A thus copied. Are superimposed on the corresponding image data from to. The control unit 40 determines whether or not the splicing of the images of all the frames in the memory 54 is completed (S8 in FIG. 9), and continues until the recognizing that the generation of the panoramic still image has been completed by such a determination. Alignment (Fig. 9
Step S4 and subsequent steps) are repeated. Note that the first frame and the last frame read from the moving image file are also joined by a line showing the strongest correlation in the overlapping portion.
【0039】このようにして生成されたパノラマ静止画
像は、圧縮部56を介して圧縮され、ディスクドライブ
46を介して画像ファイルとして磁気ディスク64に書
き込まれる(図9S9)。すなわち、本実施形態によれ
ば、予測符号化されたフレームを選択することなく、フ
レーム内符号化されたフレームのみを選択することによ
って、速やかにかつ精度良くパノラマ静止画像を生成す
ることができる。The panoramic still image generated in this way is compressed via the compression unit 56 and written as an image file on the magnetic disk 64 via the disk drive 46 (S9 in FIG. 9). That is, according to the present embodiment, a panoramic still image can be quickly and accurately generated by selecting only intra-frame coded frames without selecting predictively coded frames.
【0040】ところで、パノラマ静止画像に相当する画
像ファイルを示すサムネイル画像は、図12に示す「サ
ムネイルE」のように湾曲した形状で表示してもよい。
すなわち、長方形で厚みのないサムネイル画像は静止画
像を示し、長方形で厚みのあるサムネイル画像は動画像
を示し、湾曲した形状のサムネイル画像はパノラマ静止
画像を示す。By the way, a thumbnail image indicating an image file corresponding to a panoramic still image may be displayed in a curved shape like a "thumbnail E" shown in FIG.
That is, a rectangular and thick thumbnail image indicates a still image, a rectangular and thick thumbnail image indicates a moving image, and a curved thumbnail image indicates a panoramic still image.
【0041】したがって、このように表示することによ
って、操作者は、磁気ディスク64に格納されている画
像ファイルのデータの形状(静止画像/動画像/パノラ
マ静止画像)を速やかに認識することができる。また、
このような「サムネイルE」が選択されパノラマボタン
103が外部操作された場合には、図13に示すように
二重線の枠内にパノラマ静止画像の一部を表示し、巻き
戻しボタン100および早送りボタン101(もしく
は、逆再生ボタン104および再生ボタン105)が外
部操作された場合には、パノラマ静止画像をスクロール
表示してもよい。Therefore, by displaying in this manner, the operator can quickly recognize the shape (still image / moving image / panoramic still image) of the data of the image file stored in the magnetic disk 64. . Also,
When such a “thumbnail E” is selected and the panorama button 103 is operated externally, a part of the panorama still image is displayed in a double-lined frame as shown in FIG. When the fast-forward button 101 (or the reverse playback button 104 and the playback button 105) is externally operated, a panoramic still image may be scroll-displayed.
【0042】ここで、パノラマボタン103として既存
の電子カメラの操作部材を適用することによって、ハー
ドウエアを変更することなく、パノラマ静止画像の一部
分の表示およびスクロール表示を行うことができる。な
お、スクロール表示の際、画像データの終端と画像デー
タの先端とを連続して表示することも可能である。Here, by using the operation member of the existing electronic camera as the panorama button 103, a part of the panorama still image can be displayed and scrolled without changing the hardware. In the scroll display, the end of the image data and the leading end of the image data can be displayed continuously.
【0043】(第二の実施形態)図14は、請求項1お
よび3に記載の発明に対応した実施形態の動作フローチ
ャートである。なお、本実施形態の特徴は、制御部40
の処理の手順にあり、ハードウエアの構成については、
図7に示す実施形態の機能ブロック図と同じであるか
ら、ここでは、図示を省略する。(Second Embodiment) FIG. 14 is an operation flowchart of an embodiment corresponding to the first and third aspects of the present invention. The feature of the present embodiment is that the control unit 40
In the procedure of the processing, the hardware configuration,
Since this is the same as the functional block diagram of the embodiment shown in FIG. 7, illustration is omitted here.
【0044】また、本実施形態が適用される電子カメラ
は、動画の撮影中に静止画の撮影が可能であるものとす
る。なお、このような撮影が行われた場合、静止画像デ
ータは、JPEGに適用する形式で圧縮されて静止画像
ファイルとして磁気ディスク64に格納される。一方、
動画像データは、静止画像が撮影された時点で分割さ
れ、MPEGに適用する形式で圧縮された複数の動画像
ファイルとして磁気ディスク64に格納される。Further, it is assumed that the electronic camera to which the present embodiment is applied can capture a still image while capturing a moving image. When such shooting is performed, the still image data is compressed in a format applicable to JPEG and stored on the magnetic disk 64 as a still image file. on the other hand,
The moving image data is divided when a still image is captured, and stored on the magnetic disk 64 as a plurality of moving image files compressed in a format applicable to MPEG.
【0045】ここで、これらの静止画像ファイルおよび
動画像ファイルは、操作者に単一の動画像ファイルとし
て提供されることとし、各ファイルのヘッダ領域には、
「先行するファイルの先頭アドレス」および「後続する
ファイルの先頭アドレス」が格納されると共に、これら
のファイルが双方向のチェイン構造をなしている旨が記
憶されることとする。Here, these still image files and moving image files are provided to the operator as a single moving image file, and the header area of each file includes
The “start address of the preceding file” and the “start address of the following file” are stored, and the fact that these files have a bidirectional chain structure is stored.
【0046】以下、図7および14を参照して請求項1
および3に記載の発明に対応した実施形態の動作を説明
する。制御部40は、主電源が投入されると、上述した
実施形態と同様にサムネイル画像を含む操作画面の表示
を表示処理部48に指令する(図14S1)。表示処理
部48は、上述した実施形態と同様に、磁気ディスク6
4内の動画像ファイルおよび静止画像ファイルを示すサ
ムネイル画像を内部のフレームメモリに格納する。ま
た、表示処理部48は、このようにフレームメモリに格
納された画像データと、図10に示す操作ボタンに相当
する画像データとをオーバレイ処理し、モニタ50に与
える。Hereinafter, referring to FIGS. 7 and 14, claim 1 will be described.
The operation of the embodiment corresponding to the inventions described in 3 and 3 will be described. When the main power is turned on, the control unit 40 instructs the display processing unit 48 to display an operation screen including a thumbnail image as in the above-described embodiment (S1 in FIG. 14). The display processing unit 48, as in the embodiment described above,
4 are stored in an internal frame memory. The display processing unit 48 overlays the image data thus stored in the frame memory and the image data corresponding to the operation buttons shown in FIG.
【0047】モニタ50では、このようにして与えられ
た画像データが操作画面として表示される。制御部40
は、操作画面が表示されている状態では、上述した実施
形態と同様に、タッチパネル52を介して受け付けられ
る外部操作によって、パノラマ静止画像の生成が指示さ
れたか否かを判定する(図14S2)。On the monitor 50, the image data given in this way is displayed as an operation screen. Control unit 40
In the state where the operation screen is displayed, similarly to the above-described embodiment, it is determined whether or not the generation of the panoramic still image is instructed by an external operation received via the touch panel 52 (S2 in FIG. 14).
【0048】制御部40は、上述した実施形態と同様
に、サムネイル画像が選択されてパノラマボタン103
が外部操作されると、パノラマ静止画像の生成が指示さ
れたことを認識し、選択されたサムネイル画像に相当す
る動画像ファイルを開く。なお、本実施形態では、図1
0に示すように、「サムネイルD」が選択されたことと
し、「サムネイルD」に相当する動画像ファイルとし
て、撮影者によるパンニングによって撮影された周囲3
60度に渡る動画像と、このような動画像の撮影中に撮
影された静止画像とに相当する画像データが上述した形
式で格納されていることとする。As in the above-described embodiment, the control section 40 selects the thumbnail image and
Is externally operated, it is recognized that generation of a panoramic still image has been instructed, and a moving image file corresponding to the selected thumbnail image is opened. In this embodiment, FIG.
As shown in FIG. 0, “thumbnail D” is selected, and as a moving image file corresponding to “thumbnail D”, the surroundings 3
It is assumed that image data corresponding to a moving image extending over 60 degrees and a still image shot during shooting of such a moving image is stored in the above-described format.
【0049】制御部40は、「サムネイルD」に相当す
る動画像ファイルのヘッダ領域を参照し、その動画像フ
ァイルが双方向のチェイン構造をなす複数のファイルで
構成されているか否かを判定する。すなわち、動画像デ
ータと共に静止画像データが記録されているか否かを判
定する(図14S3)。制御部40は、このような判定
によって、静止画像データが記録されていることを認識
した場合(図14S3のYES側)、ディスクドライブ
46を介し、各ファイルのヘッダ領域に格納された「後
続するファイルの先頭アドレス」を順次参照することに
よって、静止画像ファイルから静止画像データを読み出
す(図14S4)。The control unit 40 refers to the header area of the moving image file corresponding to "thumbnail D" and determines whether or not the moving image file is composed of a plurality of files having a bidirectional chain structure. . That is, it is determined whether still image data is recorded together with the moving image data (S3 in FIG. 14). When the control unit 40 recognizes that the still image data is recorded by such a determination (YES side of S3 in FIG. 14), the “subsequent” stored in the header area of each file via the disk drive 46. The still image data is read from the still image file by sequentially referring to the "head address of the file" (S4 in FIG. 14).
【0050】このようにして読み出された画像データ
は、伸張部58で伸張されてメモリ54に順次格納され
る。なお、制御部40は、静止画像データが記録されて
いないことを認識した場合(図14S3のNO側)、上
述した実施形態のようにフレーム内符号化された画像デ
ータを順次読み出すこととする(図9S3以降の処
理)。The image data read in this manner is expanded by the expansion unit 58 and stored in the memory 54 in sequence. When the control unit 40 recognizes that the still image data is not recorded (NO in FIG. 14S3), the control unit 40 sequentially reads out the intra-frame encoded image data as in the above-described embodiment ( 9S3 and subsequent processes).
【0051】制御部40は、静止画像ファイルから静止
画像データが読み出されてメモリ54に格納されている
状態では、動きベクトル検出部60を介し、各静止画像
間の動きベクトルを検出する(図14S5)。また、制
御部40は、このように検出された動きベクトルに基づ
き、静止画像間のズレ量を算出して、各静止画像の重複
部分を求める(図14S6)。When the still image data is read from the still image file and stored in the memory 54, the control unit 40 detects a motion vector between the still images via the motion vector detecting unit 60 (see FIG. 4). 14S5). Further, the control unit 40 calculates the amount of deviation between the still images based on the motion vector detected in this way, and obtains the overlapping portion of each still image (S6 in FIG. 14).
【0052】さらに、制御部40は、相関検出部62を
介して、各静止画像の重複部分における垂直方向のライ
ン毎に相関を求める(図14S7)。ここでは、隣接す
る2つの静止画像の内、一方の静止画像の重複部分の中
央部における垂直方向の1ライン分の画素と、他方の静
止画像の重複部分の中央部付近における各ラインの画素
との相関を求めることとする。Further, the control unit 40 obtains a correlation for each vertical line in the overlapping portion of each still image via the correlation detecting unit 62 (S7 in FIG. 14). Here, of two adjacent still images, one line of pixels in the vertical direction at the center of the overlapping portion of one still image, and pixels of each line near the center of the overlapping portion of the other still image, Is determined.
【0053】また、制御部40は、相関を求めたライン
の内、最も強い相関を示すラインで、上述した実施形態
と同様にして画像の継ぎ合わせを行う(図14S8)。
さらに、制御部40は、メモリ54内の全画像の継ぎ合
わせが完了したか否かを判定し(図14S9)、このよ
うな判定によってパノラマ静止画像の生成が終了したこ
とを認識するまで、継ぎ合わせを繰り返す。なお、先頭
の静止画像および最終の静止画像については、最も強い
相関を示すラインで画像データを削除する。The control unit 40 joins the images on the line showing the strongest correlation among the lines for which the correlation has been obtained, in the same manner as in the above-described embodiment (S8 in FIG. 14).
Further, the control unit 40 determines whether or not the splicing of all the images in the memory 54 has been completed (S9 in FIG. 14). Until such a determination is made, it is determined that the panoramic still image generation has been completed. Repeat the alignment. Note that, for the first still image and the last still image, the image data is deleted at the line showing the strongest correlation.
【0054】このようにして生成されたパノラマ静止画
像は、圧縮部56を介して圧縮され、ディスクドライブ
46を介して画像ファイルとして磁気ディスク64に書
き込まれる(図14S10)。すなわち、本実施形態に
よれば、動画の撮影中に撮影された静止画を用いて、高
画質のパノラマ静止画像を生成することができる。The panoramic still image generated in this way is compressed via the compression section 56 and written to the magnetic disk 64 as an image file via the disk drive 46 (S10 in FIG. 14). That is, according to the present embodiment, it is possible to generate a high-quality panoramic still image by using a still image shot during shooting of a moving image.
【0055】なお、本実施形態では、動画の撮影中に静
止画の撮影が行われる電子カメラが適用されているが、
例えば、撮影者が動画の撮影中にパノラマボタン103
を外部操作することなどによって、パノラマ静止画像を
生成するためのフレームを積極的に選択できる機能を有
し、このように選択されたフレームを静止画として記録
する電子カメラが適用されてもよい。In the present embodiment, an electronic camera in which a still image is shot while a moving image is shot is applied.
For example, when the photographer shoots a panorama button
An electronic camera that has a function of positively selecting a frame for generating a panoramic still image by, for example, externally operating the camera, and that records the selected frame as a still image may be applied.
【0056】また、このように動画の撮影中にパノラマ
ボタン103が外部操作された場合には、撮影モードを
自動的に切り替え、撮影倍率、露出レベルおよびレンズ
の絞りなどを一定に保って撮像を行うことによって、継
ぎ合わせをスムーズに行うことができる。さらに、本実
施形態では、複数の動画像ファイルと静止画像ファイル
が双方向のチェイン構造をなしているが、本発明は、こ
のような構造の画像データに限定されず、動画像データ
と静止画像データとを連続した画像データとして取り扱
うことができれば、如何なる形式で格納された画像デー
タであってもよい。When the panorama button 103 is externally operated during the shooting of a moving image, the shooting mode is automatically switched, and the shooting is performed while the shooting magnification, exposure level, lens aperture, and the like are kept constant. By doing so, joining can be performed smoothly. Furthermore, in the present embodiment, a plurality of moving image files and still image files have a bidirectional chain structure. However, the present invention is not limited to image data having such a structure. Image data stored in any format may be used as long as the data can be handled as continuous image data.
【0057】(第三の実施形態)図15は、請求項1お
よび4に記載の発明に対応した実施形態の動作フローチ
ャートである。なお、本実施形態の特徴は、制御部40
の処理の手順にあり、ハードウエアの構成については、
図7に示す実施形態の機能ブロック図と同じであるか
ら、ここでは、図示を省略する。(Third Embodiment) FIG. 15 is an operation flowchart of an embodiment corresponding to the first and fourth aspects of the present invention. The feature of the present embodiment is that the control unit 40
In the procedure of the processing, the hardware configuration,
Since this is the same as the functional block diagram of the embodiment shown in FIG. 7, illustration is omitted here.
【0058】また、本実施形態では、撮影者がズームを
一定に保った状態でパンニングを行って撮影した周囲3
60度に渡る動画像データが動画像ファイルとして磁気
ディスク64に格納されていることとする。なお、この
ように一定に保たれたズームに対応する焦点距離の情報
については、動画像ファイルのヘッダ領域に格納されて
いることとする。In this embodiment, the photographer performs panning while keeping the zoom constant, and the surroundings 3
It is assumed that moving image data over 60 degrees is stored on the magnetic disk 64 as a moving image file. It should be noted that information on the focal length corresponding to the zoom kept constant as described above is stored in the header area of the moving image file.
【0059】さらに、画角は一般に画面の対角方向の角
度を示すが、本実施形態および後述する実施形態では、
簡単のため、画面の水平方向の角度を画角として説明を
行うこととする。以下、図7および15を参照して請求
項1および4に記載の発明に対応した実施形態の動作を
説明する。Further, the angle of view generally indicates the angle in the diagonal direction of the screen. In this embodiment and the later-described embodiments,
For simplicity, the description will be made with the horizontal angle of the screen as the angle of view. The operation of the embodiment according to the first and fourth aspects of the present invention will be described below with reference to FIGS.
【0060】制御部40は、主電源が投入されると、上
述した各実施形態と同様にサムネイル画像を含む操作画
面の表示を表示処理部48に指令する(図15S1)。
表示処理部48は、上述した各実施形態と同様に、磁気
ディスク64内の動画像ファイルおよび静止画像ファイ
ルのサムネイル画像を内部のフレームメモリに格納す
る。また、表示処理部48は、このようにフレームメモ
リに格納された画像データと、図10に示す操作ボタン
に相当する画像データとをオーバレイ処理し、モニタ5
0に与える。When the main power is turned on, the control unit 40 instructs the display processing unit 48 to display an operation screen including a thumbnail image as in the above-described embodiments (S1 in FIG. 15).
The display processing unit 48 stores the thumbnail images of the moving image file and the still image file in the magnetic disk 64 in the internal frame memory, as in the above-described embodiments. The display processing unit 48 overlays the image data thus stored in the frame memory and the image data corresponding to the operation buttons shown in FIG.
Give to 0.
【0061】モニタ50では、このようにして与えられ
た画像データが操作画面として表示される。制御部40
は、操作画面が表示されている状態では、上述した各実
施形態と同様に、タッチパネル52を介して受け付けら
れる外部操作によって、パノラマ静止画像の生成が指示
されたか否かを判定する(図15S2)。On the monitor 50, the image data given in this way is displayed as an operation screen. Control unit 40
In the state where the operation screen is displayed, it is determined whether or not generation of a panoramic still image has been instructed by an external operation received via the touch panel 52, similarly to the above-described embodiments (S2 in FIG. 15). .
【0062】制御部40は、上述した各実施形態と同様
にパノラマ静止画像の生成が指示されたことを認識する
と、選択されたサムネイル画像に相当する動画像ファイ
ルを開く。制御部40は、このように開いた動画像ファ
イルのヘッダ領域から焦点距離の情報を取得して動画像
データのフレーム単位の画角を求める(図15S3)と
共に、そのヘッダ領域から総録画時間を取得する(図1
5S4)。When recognizing that the generation of the panoramic still image has been instructed, the control unit 40 opens the moving image file corresponding to the selected thumbnail image, as in the above-described embodiments. The control unit 40 obtains information on the focal length from the header area of the moving image file thus opened, obtains the angle of view of the moving image data in frame units (S3 in FIG. 15), and calculates the total recording time from the header area. Acquire (Fig. 1
5S4).
【0063】ここで、制御部40は、パノラマ静止画像
を生成する際に用いるフレームを選択するが、本実施形
態では、動画像ファイルの先頭から一定時間間隔毎にフ
レームを選択することとする。なお、このような時間間
隔を「フレーム抽出間隔」という。Here, the control unit 40 selects a frame to be used for generating a panoramic still image. In the present embodiment, the control unit 40 selects a frame at regular time intervals from the beginning of the moving image file. Note that such a time interval is referred to as a “frame extraction interval”.
【0064】制御部40は、画角および総録画時間に基
づき「フレーム抽出間隔」を算出する(図15S5)。
例えば、ズームが広角側に保たれて画角が90度であ
り、総録画時間が30秒である場合、各フレームの重複
を考慮して10フレームでパノラマ静止画像を生成する
ことを想定すると、「フレーム抽出間隔」は3秒とすれ
ばよい。The control unit 40 calculates a "frame extraction interval" based on the angle of view and the total recording time (S5 in FIG. 15).
For example, when the zoom is kept on the wide-angle side, the angle of view is 90 degrees, and the total recording time is 30 seconds, assuming that a panoramic still image is generated in 10 frames in consideration of the overlap of each frame, The “frame extraction interval” may be 3 seconds.
【0065】また、制御部40は、算出した「フレーム
抽出間隔」に基づいて、動画像ファイルからフレーム単
位で画像データを読み出す(図15S6)。このように
して読み出された画像データは、伸張部58で伸張され
てメモリ54に順次格納される。さらに、制御部40
は、請求項1および2に記載の発明に対応した実施形態
と同様に、動きベクトル検出部60を介し、メモリ54
に格納されたフレーム単位の画像の動きベクトルを検出
する(図15S7)。制御部40は、このように検出し
た動きベクトルに基づきフレーム間のズレ量を算出し
て、各フレームの画像の重複部分を求める(図15S
8)。The control unit 40 reads out image data from the moving image file in frame units based on the calculated “frame extraction interval” (S6 in FIG. 15). The image data read in this way is expanded by the expansion unit 58 and stored in the memory 54 in sequence. Further, the control unit 40
Is stored in the memory 54 via the motion vector detection unit 60 in the same manner as in the first and second embodiments of the present invention.
Is detected (S7 in FIG. 15). The control unit 40 calculates the amount of deviation between frames based on the motion vector detected in this way, and obtains the overlapping portion of the image of each frame (FIG. 15S
8).
【0066】また、制御部40は、相関検出部62を介
して、各フレームの重複部分における垂直方向のライン
毎に相関を求める(図15S9)。さらに、制御部40
は、相関を求めたラインの内、最も強い相関を示すライ
ンで、上述した各実施形態と同様にして画像の継ぎ合わ
せを行う(図15S10)。さらに、制御部40は、メ
モリ54内の全画像の継ぎ合わせが完了したか否かを判
定し(図15S11)、このような判定によってパノラ
マ静止画像の生成が終了したことを認識するまで、上述
した各実施形態と同様に継ぎ合わせを繰り返す。Further, the control unit 40 obtains a correlation for each vertical line in the overlapping portion of each frame via the correlation detection unit 62 (S9 in FIG. 15). Further, the control unit 40
Is the line showing the strongest correlation among the lines for which the correlation is obtained, and the images are joined in the same manner as in the above-described embodiments (S10 in FIG. 15). Further, the control unit 40 determines whether or not the splicing of all the images in the memory 54 has been completed (S11 in FIG. 15). Splicing is repeated in the same manner as in each embodiment described above.
【0067】このようにして生成されたパノラマ静止画
像は、圧縮部56を介して圧縮され、ディスクドライブ
46を介して画像ファイルとして磁気ディスク64に書
き込まれる(図15S12)。The panoramic still image generated in this way is compressed via the compression section 56 and written as an image file on the magnetic disk 64 via the disk drive 46 (S12 in FIG. 15).
【0068】すなわち、本実施形態によれば、継ぎ合わ
せを行うべき画像データを予め決められた「フレーム抽
出間隔」で容易に選択することができるため、パノラマ
静止画像を速やかに生成することができる。なお、上述
した各実施形態では、動画の撮影中に電子カメラが上下
にブレた場合であっても、動きベクトルによって、その
ブレを検出することができるため、継ぎ合わせをスムー
ズに行うことが可能である。That is, according to the present embodiment, image data to be joined can be easily selected at a predetermined “frame extraction interval”, so that a panoramic still image can be quickly generated. . In each of the above-described embodiments, even when the electronic camera shakes up and down during shooting of a moving image, the shake can be detected by the motion vector, so that the joining can be performed smoothly. It is.
【0069】また、上述した各実施形態では、周囲36
0度に渡る撮影で得られた動画像からパノラマ静止画像
が生成されるが、撮影者が移動しつつ撮影を行った得ら
れた動画像からパノラマ静止画像を生成してもよい。 (第四の実施形態)図16は、請求項1、5〜9に記載
の発明に対応した実施形態の機能ブロック図である。In each of the above embodiments, the surrounding area 36
Although a panoramic still image is generated from a moving image obtained by shooting through 0 degrees, a panoramic still image may be generated from a moving image obtained by shooting while the photographer moves. (Fourth Embodiment) FIG. 16 is a functional block diagram of an embodiment corresponding to the first, fifth, and ninth aspects of the present invention.
【0070】図において、機能が図7に示す機能ブロッ
ク図と同じものについては、同じ符号を付与して示す。
制御部70は、システムバス42を介して撮像部72、
ディスクドライブ46、表示処理部48、モニタ50、
タッチパネル52、メモリ54、圧縮部56、伸張部5
8、相関検出部62、輝度レベル検出部74および画像
処理部76に接続される。また、ディスクドライブ46
には、磁気ディスク64が装填され、撮像部72内に
は、角速度センサ78および焦点距離検出部80が設け
られている。In the figure, the same functions as those in the functional block diagram shown in FIG. 7 are denoted by the same reference numerals.
The control unit 70 includes an imaging unit 72 via the system bus 42,
A disk drive 46, a display processing unit 48, a monitor 50,
Touch panel 52, memory 54, compression unit 56, expansion unit 5
8, connected to the correlation detection unit 62, the luminance level detection unit 74, and the image processing unit 76. The disk drive 46
Is mounted with a magnetic disk 64, and an imaging unit 72 is provided with an angular velocity sensor 78 and a focal length detection unit 80.
【0071】なお、角速度センサ78は、撮影が開始さ
れた時点の方位を基準として、電子カメラの撮影方向の
変化を検出し、焦点距離検出部80は、撮影者によって
動画が撮影された際のズーム操作に基づいて焦点距離を
検出する。また、図1〜6に示す原理ブロック図と本実
施形態との対応関係については、画像取得手段10、2
0、30はディスクドライブ46および磁気ディスク6
4に対応し、画像選択手段11は制御部70の画像デー
タを選択する機能に対応し、パノラマ生成手段12、2
1、31はメモリ54、相関検出部62および制御部7
0の画像を継ぎ合わせる機能に対応し、撮影方向取得手
段14はディスクドライブ46および磁気ディスク64
に対応し、画角取得手段16はディスクドライブ46、
磁気ディスク64および制御部70の画角を算出する機
能に対応し、大きさ変換手段22は画像処理部76の画
像データを縮小する機能に対応し、倍率取得手段24は
ディスクドライブ46、磁気ディスク64および制御部
70の撮影倍率を算出する機能に対応し、明るさ検出手
段32は輝度レベル検出部74に対応し、明るさ変換手
段33は画像処理部76の輝度レベルの変換機能に対応
する。The angular velocity sensor 78 detects a change in the photographing direction of the electronic camera with reference to the azimuth at the start of photographing, and the focal length detecting unit 80 operates when a moving image is photographed by the photographer. The focal length is detected based on the zoom operation. The correspondence between the principle block diagrams shown in FIGS.
0 and 30 are the disk drive 46 and the magnetic disk 6
4, the image selection means 11 corresponds to the function of selecting image data of the control unit 70, and the panorama generation means 12, 2
Reference numerals 1 and 31 denote a memory 54, a correlation detector 62, and a controller 7
0 corresponding to the function of splicing images of the disk drive 46 and the magnetic disk 64
, And the angle-of-view obtaining means 16 includes a disk drive 46,
The size conversion unit 22 corresponds to the function of reducing the image data of the image processing unit 76, and the magnification obtaining unit 24 corresponds to the disk drive 46, the magnetic disk 64 and the magnetic disk 64. The brightness detection means 32 corresponds to the brightness level detection section 74, and the brightness conversion means 33 corresponds to the brightness level conversion function of the image processing section 76. .
【0072】図17は、請求項1、5〜9に記載の発明
に対応した実施形態の動作フローチャートである。以
下、図16および17を参照して請求項1、5〜9に記
載の発明に対応した実施形態の動作を説明する。なお、
本実施形態では、簡単のため、撮影者によるパンニング
によって撮影された周囲360度に渡る動画像データが
MPEGに適用する形式で圧縮され、動画像ファイルと
して磁気ディスク64に予め格納されていることとす
る。FIG. 17 is an operation flowchart of an embodiment according to the first, fifth, and ninth aspects of the present invention. Hereinafter, the operation of the embodiment according to the first to fifth aspects of the present invention will be described with reference to FIGS. In addition,
In the present embodiment, for the sake of simplicity, it is assumed that moving image data of 360 degrees around the image captured by panning by the photographer is compressed in a format applicable to MPEG and stored in advance on the magnetic disk 64 as a moving image file. I do.
【0073】また、動画像ファイルのヘッダ領域には、
各フレームに対応付けて、先頭フレームからの撮影方向
の変化量(以下、「撮影角度」という)と、焦点距離の
情報とが格納されていることとする。制御部70は、上
述した各実施形態と同様にしてパノラマ静止画像の生成
が指示されたことを認識すると、選択されたサムネイル
画像に相当する動画像ファイルをディスクドライブ46
を介して開く。In the header area of the moving image file,
It is assumed that the amount of change in the imaging direction from the first frame (hereinafter, referred to as “imaging angle”) and information on the focal length are stored in association with each frame. When recognizing that the generation of the panoramic still image has been instructed in the same manner as in the above-described embodiments, the control unit 70 stores the moving image file corresponding to the selected thumbnail image in the disk drive 46.
Open through.
【0074】制御部70は、このように開いた動画像フ
ァイルからフレーム単位で画像データを読み出し、伸張
部58で伸張してメモリ54に順次格納する(図17S
1)。また、制御部70は、動画像ファイルのヘッダ領
域から焦点距離の情報を読み出し、最も短い焦点距離を
示すフレームの撮影倍率(以下、「広角側撮影倍率」と
いう)を算出する(図17S2)。The control unit 70 reads out image data in frame units from the moving image file thus opened, decompresses it by the decompression unit 58, and sequentially stores it in the memory 54 (FIG. 17S).
1). Further, the control unit 70 reads out the information of the focal length from the header area of the moving image file, and calculates the photographing magnification of the frame having the shortest focal length (hereinafter, referred to as “wide-angle photographing magnification”) (S2 in FIG. 17).
【0075】さらに、制御部70は、各フレームの撮影
倍率を「広角側撮影倍率」に変換することを画像処理部
76に指示する(図17S3)。画像処理部76は、各
フレームに対応する焦点距離の情報を参照して撮影倍率
を算出し、このように算出した撮影倍率と「広角側撮影
倍率」との比率に基づきフレーム単位で画像データの縮
小を行う。すなわち、画像データの縮小を行うことによ
って撮影倍率を「広角側撮影倍率」に変換する。Further, the control unit 70 instructs the image processing unit 76 to convert the photographing magnification of each frame into the "wide-angle photographing magnification" (S3 in FIG. 17). The image processing unit 76 calculates the photographing magnification by referring to the information of the focal length corresponding to each frame, and based on the ratio between the photographing magnification thus calculated and the “wide-angle photographing magnification”, the image data of the image data is frame-by-frame. Perform reduction. That is, by reducing the image data, the photographing magnification is converted to “wide-angle photographing magnification”.
【0076】ここで、制御部70は、パノラマ静止画像
を生成する際に用いるフレームを選択するが、本実施形
態では、このような選択と継ぎ合わせの処理が繰り返し
行われるため、継ぎ合わせの基準となるフレームを「先
行フレーム」と呼ぶこととする。また、その「先行フレ
ーム」に対して継ぎ合わせの候補となるフレームを「後
続フレーム」と呼ぶこととする。Here, the control unit 70 selects a frame to be used when generating a panoramic still image. In the present embodiment, since such selection and splicing processes are repeatedly performed, the splicing reference is used. Is referred to as a “previous frame”. Also, a frame that is a candidate for joining with the “preceding frame” is referred to as a “subsequent frame”.
【0077】すなわち、初期状態では、先頭フレームを
「先行フレーム」として扱う。また、継ぎ合わの処理が
完了した「後続フレーム」は、引き続き行われる継ぎ合
わせの処理では、「先行フレーム」として扱う。制御部
70は、継ぎ合わせの処理にかかわる初期化(後述する
βおよびKの初期値の設定)を行う(図17S4)。That is, in the initial state, the first frame is handled as a “preceding frame”. The “subsequent frame” for which the joining process has been completed is treated as a “preceding frame” in the subsequent joining process. The control unit 70 performs initialization (setting of initial values of β and K to be described later) related to the joining process (S4 in FIG. 17).
【0078】また、制御部70は、焦点距離の情報に基
づき「先行フレーム」の画角θ1を算出する(図17S
5)と共に、「先行フレーム」との「撮影角度」の差が
βを示すフレーム(「後続フレーム」に相当する)を選
択する(図17S6)。なお、βは、「撮影角度」の差
を規定する値であり、初期化(図17S4)の際に任意
の値(ここでは、60度とする)が設定されることとす
る。The control unit 70 calculates the angle of view θ1 of the “preceding frame” based on the information on the focal length (S 17 in FIG. 17).
Along with 5), a frame (corresponding to a “subsequent frame”) in which the difference in the “photographing angle” from the “preceding frame” indicates β (S6 in FIG. 17). Here, β is a value that defines the difference in “shooting angle”, and an arbitrary value (here, 60 degrees) is set at the time of initialization (S4 in FIG. 17).
【0079】制御部70は、このように選択した「後続
フレーム」の画角θ2を算出し(図17S7)、画角θ
1、画角θ2およびβとの間に (θ1+θ2)/2−β≧K ・・・式1 の関係式が成り立つか否かを判定する(図17S8)。
なお、Kは0以上の値であり、「先行フレーム」と「後
続フレーム」との重複部分の角度を規定する。ここで、
「(θ1+θ2)/2−β」が0未満である場合、「先
行フレーム」と「後続フレーム」とが重ならないことを
示す。The controller 70 calculates the angle of view θ2 of the “subsequent frame” selected in this way (S7 in FIG. 17), and calculates the angle of view θ.
1. It is determined whether or not the relational expression of (θ1 + θ2) / 2−β ≧ K holds between the angle of view θ2 and β (S8 in FIG. 17).
Note that K is a value equal to or greater than 0, and defines the angle of the overlapping portion between the “preceding frame” and the “subsequent frame”. here,
If “(θ1 + θ2) / 2−β” is less than 0, it indicates that the “preceding frame” and the “subsequent frame” do not overlap.
【0080】制御部70は、式1が成り立たない場合
(「先行フレーム」と「後続フレーム」とが重ならない
場合や重複部分の角度がK未満である場合に相当する:
図17S8のNO側)、βにβ−5を代入し(図17S
9)、フレームの選択の処理(図17S5に相当する処
理)を繰り返し行う。すなわち、パノラマ静止画像の生
成に用いるフレームの選択の間隔を狭くする。The control unit 70 corresponds to the case where the formula 1 does not hold (the case where the “preceding frame” and the “subsequent frame” do not overlap or the angle of the overlapping portion is less than K:
(NO side in FIG. 17S8), β-5 is substituted for β (FIG. 17S
9), a process of selecting a frame (a process corresponding to S5 in FIG. 17) is repeatedly performed. That is, the interval for selecting a frame used for generating a panoramic still image is narrowed.
【0081】一方、式1が成り立つ場合(重複部分の角
度がK以上である場合に相当する:図17S8のYES
側)、制御部70は、「(θ1+θ2)/2−β」に基
づき重複部分を求め(図17S10)、このように求め
た各フレームの重複部分の輝度の調整を輝度レベル検出
部74および画像処理部76に指示する(図17S1
1)。On the other hand, the case where Expression 1 is satisfied (corresponding to the case where the angle of the overlapping portion is K or more: YES in FIG. 17 S8)
Side), the control unit 70 obtains an overlapping portion based on “(θ1 + θ2) / 2−β” (S10 in FIG. 17), and adjusts the brightness of the overlapping portion of each frame thus obtained by the brightness level detecting unit 74 and the image. Instruct processing unit 76 (S1 in FIG. 17)
1).
【0082】輝度レベル検出部74は、このように指示
されると、各フレームにおける重複部分の平均輝度レベ
ルを求める。また、画像処理部76は、各フレームにお
ける重複部分の平均輝度レベルの差に基づいて、「先行
フレーム」との連続性を維持するように「後続フレー
ム」の全体の画像データの輝度を調整する。制御部70
は、このように画像データの輝度が調整されると、相関
検出部62を介して、「先行フレーム」の重複部分の中
央部における垂直方向の1ライン分の画素と、「後続フ
レーム」の重複部分の中央部付近の各ラインの画素との
相関を求める(図17S12)。When instructed in this way, the luminance level detecting section 74 calculates the average luminance level of the overlapping portion in each frame. Further, the image processing unit 76 adjusts the luminance of the entire image data of the “subsequent frame” based on the difference in the average luminance level of the overlapping portion in each frame so as to maintain continuity with the “preceding frame”. . Control unit 70
When the brightness of the image data is adjusted in this way, the pixel of one vertical line at the center of the overlapping part of the “preceding frame” and the overlapping The correlation with the pixels on each line near the center of the portion is determined (S12 in FIG. 17).
【0083】制御部70は、このようにして相関を求め
たラインの内、最も強い相関を示すラインで画像を継ぎ
合わせる(図17S13)。制御部70は、360度に
渡る画像の継ぎ合わせが完了したか否かを判定し(図1
7S14)、このような判定によってパノラマ静止画像
の生成が終了したことを認識するまで、初期化を含むフ
レームの選択および画像の継ぎ合わせの処理(図17S
4以降の処理)を繰り返す。The control unit 70 joins the images with the line showing the strongest correlation among the lines for which the correlation has been obtained in this way (S13 in FIG. 17). The control unit 70 determines whether or not the joining of the images over 360 degrees is completed (FIG. 1).
7S14), until such a determination is made that the generation of the panoramic still image has been completed, processing of frame selection and image joining including initialization (FIG. 17S
4) is repeated.
【0084】このようにして生成されたパノラマ静止画
像は、圧縮部56を介して圧縮され、ディスクドライブ
46を介して画像ファイルとして磁気ディスク64に書
き込まれる(図17S15)。したがって、本実施形態
によれば、フレーム間の重複部分の角度を調整しつつ継
ぎ合わせを行うべき画像を確実に選択することができる
ため、パノラマ静止画像を速やかに、かつ精度良く生成
することができる。The panoramic still image generated in this way is compressed via the compression section 56 and written to the magnetic disk 64 as an image file via the disk drive 46 (S15 in FIG. 17). Therefore, according to the present embodiment, it is possible to reliably select the image to be joined while adjusting the angle of the overlapping portion between the frames, so that the panoramic still image can be quickly and accurately generated. it can.
【0085】なお、本実施形態では、「撮影角度」を検
出する角速度センサ78が設けられているが、光軸に対
する回転角を測定する角速度センサを設けて電子カメラ
の姿勢を詳細に測定することによって、パンニング時の
ブレを補正し、パノラマ静止画像の不連続性を低減する
ことができる。また、上述した各実施形態では、周囲3
60度に渡る画像データが画像ファイルとして磁気ディ
スク64に格納されているが、本発明は、360度未満
の画像データからなる画像ファイルであっても適用する
ことができる。In this embodiment, the angular velocity sensor 78 for detecting the “photographing angle” is provided. However, it is necessary to provide an angular velocity sensor for measuring the rotation angle with respect to the optical axis to measure the attitude of the electronic camera in detail. Thereby, blurring during panning can be corrected, and discontinuity of a panoramic still image can be reduced. In each of the above embodiments, the surroundings 3
Although the image data extending over 60 degrees is stored on the magnetic disk 64 as an image file, the present invention can be applied to an image file including image data of less than 360 degrees.
【0086】さらに、上述した各実施形態では、周囲3
60度に渡る画像に基づき左右の継ぎ合わせが行われて
パノラマ静止画像が生成されているが、本発明は、この
ようなパノラマ静止画像に限定されず、画像を上下に継
ぎ合わせてパノラマ静止画像を生成することも可能であ
る。Further, in each of the above-described embodiments, the surrounding 3
A panoramic still image is generated by performing left and right splicing based on an image extending over 60 degrees. However, the present invention is not limited to such a panoramic still image, and a panoramic still image is formed by splicing images up and down. Can also be generated.
【0087】[0087]
【発明の効果】上述したように請求項1に記載の発明で
は、画像取得手段を介して取得した全ての画像を継ぎ合
わせる場合と比較して、パノラマ静止画像を生成する際
の処理効率を向上することができる。As described above, according to the first aspect of the present invention, the processing efficiency when generating a panoramic still image is improved as compared with the case where all the images obtained through the image obtaining means are joined. can do.
【0088】また、請求項2に記載の発明では、フレー
ム間符号化された画像を選択する場合と比較し、動き補
償処理などによる画像の劣化が抑制されるため、高画質
のパノラマ静止画像を生成することができる。そのう
え、伸張時の処理効率が向上するため、パノラマ静止画
像を速やかに生成することができる。さらに、請求項3
に記載の発明では、動画の撮影中に予め決められた間隔
で撮影された静止画や操作者が意図的に撮影した静止画
などを用いて、継ぎ合わせを行うことができるため、高
画質のパノラマ静止画像を生成することができる。According to the second aspect of the present invention, since the deterioration of the image due to the motion compensation processing or the like is suppressed as compared with the case where the inter-coded image is selected, a high-quality panoramic still image can be obtained. Can be generated. In addition, since the processing efficiency at the time of expansion is improved, a panoramic still image can be quickly generated. Further, claim 3
According to the invention described in (1), since a still image taken at a predetermined interval during the shooting of a moving image or a still image intentionally shot by an operator can be spliced, a high-quality A panoramic still image can be generated.
【0089】また、請求項4に記載の発明では、予め決
められた時間に基づく間隔で、継ぎ合わせを行うべき画
像を選択することができるため、速やかにかつ確実にパ
ノラマ静止画像を生成することができる。さらに、請求
項5に記載の発明では、撮影者が撮影方向を変化させて
周囲を撮影した画像から、予め決められた撮影方向を示
す画像を選択することによって、速やかにパノラマ静止
画像を生成することができる。According to the fourth aspect of the present invention, an image to be joined can be selected at intervals based on a predetermined time, so that a panoramic still image can be quickly and reliably generated. Can be. Further, according to the fifth aspect of the present invention, the panoramic still image is quickly generated by the photographer changing the photographing direction and selecting an image indicating a predetermined photographing direction from the images photographed around the photographer. be able to.
【0090】また、請求項6に記載の発明では、撮影者
が撮影方向を変化させて周囲を撮影した画像の画角と撮
影方向とを対応付け、継ぎ合わせを行う画像を選択する
ため、継ぎ合わせの精度が向上してパノラマ静止画像を
確実に生成することができる。さらに、請求項7に記載
の発明では、継ぎ合わせを行うべき画像に示される対象
物の大きさが異なる場合であっても、確実にパノラマ静
止画像を生成することができる。According to the present invention, the photographer changes the photographing direction, associates the angle of view of the image photographed around it with the photographing direction, and selects the image to be spliced. The accuracy of alignment can be improved, and a panoramic still image can be reliably generated. Further, according to the seventh aspect of the present invention, a panoramic still image can be reliably generated even when the size of an object shown in an image to be joined is different.
【0091】また、請求項8に記載の発明では、撮影倍
率を取得することによって、継ぎ合わせを行うべき複数
の画像に示される同一の対象物の大きさを容易に一致さ
せることができるため、継ぎ合わせを行う画像の撮影倍
率が変化した場合であっても、確実にパノラマ静止画像
を生成することができる。さらに、請求項9に記載の発
明では、継ぎ合わせられる画像の重複部分もしくは継ぎ
目の近傍の明るさが異なる場合であっても、継ぎ目を目
立たせることなくパノラマ静止画像を生成することがで
きる。According to the eighth aspect of the present invention, the size of the same object shown in a plurality of images to be joined can be easily matched by acquiring the photographing magnification. Even when the photographing magnification of the image to be spliced changes, a panoramic still image can be reliably generated. Further, according to the ninth aspect of the present invention, even when the brightness of the overlapping portion of the images to be joined or the brightness in the vicinity of the joint is different, a panoramic still image can be generated without making the joint stand out.
【図1】請求項1〜4に記載の発明の原理ブロック図で
ある。FIG. 1 is a block diagram showing the principle of the present invention.
【図2】請求項5に記載の発明の原理ブロック図であ
る。FIG. 2 is a principle block diagram of the invention according to claim 5;
【図3】請求項6に記載の発明の原理ブロック図であ
る。FIG. 3 is a principle block diagram of the invention according to claim 6;
【図4】請求項7に記載の発明の原理ブロック図であ
る。FIG. 4 is a principle block diagram of the invention according to claim 7;
【図5】請求項8に記載の発明の原理ブロック図であ
る。FIG. 5 is a principle block diagram of the invention according to claim 8;
【図6】請求項9に記載の発明の原理ブロック図であ
る。FIG. 6 is a principle block diagram of the invention according to claim 9;
【図7】電子カメラの外観を示す図である。FIG. 7 is a diagram illustrating an appearance of an electronic camera.
【図8】請求項1および2に記載の発明に対応した実施
形態の機能ブロック図である。FIG. 8 is a functional block diagram of an embodiment according to the first and second aspects of the present invention.
【図9】請求項1および2に記載の発明に対応した実施
形態の動作フローチャートである。FIG. 9 is an operation flowchart of an embodiment according to the first and second aspects of the present invention.
【図10】モニタの表示例を示す図である。FIG. 10 is a diagram illustrating a display example of a monitor.
【図11】画像の継ぎ合わせを説明する図である。FIG. 11 is a diagram illustrating image joining.
【図12】モニタの表示例を示す図である。FIG. 12 is a diagram illustrating a display example of a monitor.
【図13】モニタの表示例を示す図である。FIG. 13 is a diagram illustrating a display example of a monitor.
【図14】請求項1および3に記載の発明に対応した実
施形態の動作フローチャートである。FIG. 14 is an operation flowchart of an embodiment according to the first and third aspects of the present invention.
【図15】請求項1および4に記載の発明に対応した実
施形態の動作フローチャートである。FIG. 15 is an operation flowchart of the embodiment according to the first and fourth aspects of the present invention.
【図16】請求項1、5〜9に記載の発明に対応した実
施形態の機能ブロック図である。FIG. 16 is a functional block diagram of an embodiment corresponding to the first, fifth, and ninth aspects of the present invention;
【図17】請求項1、5〜9に記載の発明に対応した実
施形態の動作フローチャートである。FIG. 17 is an operation flowchart of the embodiment corresponding to the first, fifth, and ninth aspects of the present invention;
10、20、30 画像取得手段 11 画像選択手段 12、21、31 パノラマ生成手段 14 撮影方向取得手段 16 画角取得手段 22 大きさ変換手段 24 倍率取得手段 32 明るさ検出手段 33 明るさ変換手段 40、70 制御部 42 システムバス 44、72 撮像部 46 ディスクドライブ 48 表示処理部 50 モニタ 52 タッチパネル 54 メモリ 56 圧縮部 58 伸張部 60 動きベクトル検出部 62 相関検出部 64 磁気ディスク 74 輝度レベル検出部 76 画像処理部 78 角速度センサ 80 焦点距離検出部 100 巻き戻しボタン 101 早送りボタン 102 停止ボタン 103 パノラマボタン 104 逆再生ボタン 105 再生ボタン 10, 20, 30 Image acquisition means 11 Image selection means 12, 21, 31 Panorama generation means 14 Shooting direction acquisition means 16 Angle of view acquisition means 22 Size conversion means 24 Magnification acquisition means 32 Brightness detection means 33 Brightness conversion means 40 , 70 control unit 42 system bus 44, 72 imaging unit 46 disk drive 48 display processing unit 50 monitor 52 touch panel 54 memory 56 compression unit 58 decompression unit 60 motion vector detection unit 62 correlation detection unit 64 magnetic disk 74 brightness level detection unit 76 image Processing unit 78 Angular velocity sensor 80 Focal length detection unit 100 Rewind button 101 Fast forward button 102 Stop button 103 Panorama button 104 Reverse playback button 105 Play button
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI H04N 5/262 G06F 15/66 470J 5/765 H04N 5/781 510F 5/781 7/13 Z 7/24 ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 6 Identification code FI H04N 5/262 G06F 15/66 470J 5/765 H04N 5/781 510F 5/781 7/13 Z 7/24
Claims (9)
る画像取得手段と、 前記画像取得手段によって取得された複数の画像の内、
少なくとも2つの画像を選択する画像選択手段と、 前記画像選択手段によって選択された画像に対し、継ぎ
合わせを行ってパノラマ静止画像を生成するパノラマ生
成手段とを備えたことを特徴とする画像処理装置。An image acquisition unit configured to acquire a plurality of images given from outside; and a plurality of images acquired by the image acquisition unit.
An image processing apparatus comprising: an image selection unit that selects at least two images; and a panorama generation unit that joins the images selected by the image selection unit to generate a panoramic still image. .
て、 前記画像取得手段は、 動画の1コマに相当する画像をフレーム間符号化方式も
しくはフレーム内符号化方式によって圧縮された形式で
取得し、 前記画像選択手段は、 前記画像取得手段によって取得される複数の画像の内、
フレーム内符号化方式によって圧縮された画像を選択す
ることを特徴とする画像処理装置。2. The image processing apparatus according to claim 1, wherein the image acquisition unit acquires an image corresponding to one frame of a moving image in a format compressed by an inter-frame encoding method or an intra-frame encoding method. The image selecting unit, among the plurality of images acquired by the image acquiring unit,
An image processing apparatus for selecting an image compressed by an intra-frame encoding method.
て、 前記画像取得手段は、 動画の1コマに相当する画像もしくは静止画の画像を取
得し、 前記画像選択手段は、 前記画像取得手段によって取得される複数の画像の内、
静止画の画像を選択することを特徴とする画像処理装
置。3. The image processing apparatus according to claim 1, wherein the image acquisition unit acquires an image corresponding to one frame of a moving image or an image of a still image, and the image selection unit acquires the image by the image acquisition unit. Of the multiple images acquired,
An image processing apparatus for selecting a still image.
て、 前記画像選択手段は、 予め決められた時間が経過するごとに前記画像取得手段
を介して取得された画像を選択することを特徴とする画
像処理装置。4. The image processing apparatus according to claim 1, wherein said image selecting means selects an image obtained through said image obtaining means every time a predetermined time elapses. Image processing device.
て、 前記画像取得手段によって取得される各画像に対応付
け、該画像が生成された際の撮影方向を取得する撮影方
向取得手段を備え、 前記画像選択手段は、 前記撮影方向取得手段によって取得された撮影方向が予
め決められた方向を示す画像を選択することを特徴とす
る画像処理装置。5. The image processing apparatus according to claim 1, further comprising: a photographing direction acquiring unit that associates each image acquired by the image acquiring unit with a photographing direction when the image is generated, The image processing apparatus according to claim 1, wherein the image selecting unit selects an image in which the photographing direction acquired by the photographing direction acquiring unit indicates a predetermined direction.
て、 前記画像取得手段によって取得される各画像に対応付
け、該画像の画角を算出もしくは取得する画角取得手段
を備え、 前記画像選択手段は、 画像を選択する際の方向を前記画角取得手段によって算
出もしくは取得された画角に基づいて決定することを特
徴とする画像処理装置。6. The image processing apparatus according to claim 5, further comprising: an angle-of-view obtaining unit that calculates or obtains an angle of view of the image in association with each image obtained by the image obtaining unit; The image processing apparatus is characterized in that the means determines a direction at the time of selecting an image based on the angle of view calculated or obtained by the angle of view obtaining means.
る画像取得手段と、 前記画像取得手段を介して取得される複数の画像に対
し、継ぎ合わせを行ってパノラマ静止画像を生成するパ
ノラマ生成手段とを備えた画像処理装置であって、 前記パノラマ生成手段で隣接して継ぎ合わせられる各画
像に示される同一の対象物の大きさが一致するように、
該画像を拡大もしくは縮小する大きさ変換手段を備え、 前記パノラマ生成手段は、 前記大きさ変換手段によって拡大もしくは縮小された画
像を継ぎ合わせてパノラマ静止画像を生成することを特
徴とする画像処理装置。7. An image acquisition unit for acquiring a plurality of images supplied from outside, and a panorama generation for joining a plurality of images acquired via the image acquisition unit to generate a panoramic still image And an image processing apparatus comprising:
An image processing apparatus comprising: a size conversion unit configured to enlarge or reduce the image; wherein the panorama generation unit generates a panoramic still image by joining images enlarged or reduced by the size conversion unit. .
て、 前記画像取得手段によって取得される各画像に対応付
け、該画像の撮影倍率を算出もしくは取得する倍率取得
手段を備え、 前記大きさ変換手段は、 前記倍率取得手段によって算出もしくは取得された撮影
倍率に基づき、前記画像を拡大もしくは縮小することを
特徴とする画像処理装置。8. The image processing apparatus according to claim 7, further comprising: a magnification acquiring unit that calculates or acquires a photographing magnification of the image in association with each image acquired by the image acquiring unit; The image processing apparatus is characterized in that the means enlarges or reduces the image based on the photographing magnification calculated or acquired by the magnification acquiring means.
る画像取得手段と、 前記画像取得手段を介して取得される複数の画像に対
し、継ぎ合わせを行ってパノラマ静止画像を生成するパ
ノラマ生成手段とを備えた画像処理装置であって、 前記パノラマ生成手段によって継ぎ合わせられる画像の
重複部分もしくは継ぎ目の近傍の明るさの相違を検出す
る明るさ検出手段と、 前記明るさ検出手段によって検出される明るさの相違に
基づいて、前記画像の明るさを予め決められた明るさに
変換する明るさ変換手段とを備え、 前記パノラマ生成手段は、 前記明るさ変換手段によって明るさが変換された画像を
継ぎ合わせてパノラマ静止画像を生成することを特徴と
する画像処理装置。9. An image acquisition unit for acquiring a plurality of images supplied from the outside, and a panorama generation for joining a plurality of images acquired via the image acquisition unit to generate a panoramic still image An image processing apparatus comprising: a brightness detection unit configured to detect a difference in brightness near an overlapping portion or a seam of an image to be joined by the panorama generation unit; Brightness conversion means for converting the brightness of the image to a predetermined brightness based on a difference in brightness, wherein the panorama generation means has a brightness converted by the brightness conversion means. An image processing apparatus for generating a panoramic still image by joining images.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21644597A JPH1169288A (en) | 1997-08-11 | 1997-08-11 | Image processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21644597A JPH1169288A (en) | 1997-08-11 | 1997-08-11 | Image processing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH1169288A true JPH1169288A (en) | 1999-03-09 |
Family
ID=16688654
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP21644597A Pending JPH1169288A (en) | 1997-08-11 | 1997-08-11 | Image processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH1169288A (en) |
Cited By (18)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH11205674A (en) * | 1998-01-19 | 1999-07-30 | Olympus Optical Co Ltd | Image synthesizing processor and record medium for recording image synthesizing processing program |
| JPH11205675A (en) * | 1998-01-19 | 1999-07-30 | Olympus Optical Co Ltd | Image synthesizing processor and record medium for recording image synthesizing processing program |
| JP2002006426A (en) * | 2000-04-29 | 2002-01-09 | Hewlett Packard Co <Hp> | Method for automatically capturing plural images |
| KR20020012335A (en) * | 2000-08-07 | 2002-02-16 | 정병철 | Encoding/decoding method for animation file including image and sound and computer readable medium storing animation file encoded by the encoding method |
| JP2008090145A (en) * | 2006-10-04 | 2008-04-17 | Casio Comput Co Ltd | Imaging apparatus, composite image creation method, and program |
| JP2008104179A (en) * | 2007-10-15 | 2008-05-01 | Seiko Epson Corp | Panorama composition of multiple image data |
| JP2010104013A (en) * | 2009-12-11 | 2010-05-06 | Kyocera Corp | Image display apparatus |
| JP2010252312A (en) * | 2009-04-17 | 2010-11-04 | Sony Corp | In-camera generation of high-quality composite panoramic images |
| JP2013145541A (en) * | 2011-12-14 | 2013-07-25 | Mitsubishi Electric Corp | Image processing device |
| JP2014077649A (en) * | 2012-10-09 | 2014-05-01 | Sumitomo Mitsui Construction Co Ltd | Blurred image detection method |
| CN105678688A (en) * | 2015-12-30 | 2016-06-15 | 北京金山安全软件有限公司 | Picture processing method and device |
| USD776717S1 (en) | 2010-12-28 | 2017-01-17 | Sony Corporation | Display panel or screen with graphical user interface |
| US9854177B2 (en) | 2015-03-18 | 2017-12-26 | Canon Kabushiki Kaisha | Imaging apparatus |
| JP2018067963A (en) * | 2014-05-15 | 2018-04-26 | 株式会社リコー | File |
| CN109842740A (en) * | 2017-11-24 | 2019-06-04 | 富泰华工业(深圳)有限公司 | Panoramic camera, image processing system and image processing method |
| US10349030B2 (en) | 1999-07-05 | 2019-07-09 | Maxell, Ltd. | Video recording and reproducing method, and video reproducing apparatus and method including thumbnails for moving pictures and still pictures |
| US10674075B2 (en) | 2013-04-30 | 2020-06-02 | Sony Corporation | Image processing device, image processing method, and program |
| CN112637564A (en) * | 2020-12-18 | 2021-04-09 | 中标慧安信息技术股份有限公司 | Indoor security method and system based on multi-picture monitoring |
-
1997
- 1997-08-11 JP JP21644597A patent/JPH1169288A/en active Pending
Cited By (19)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH11205675A (en) * | 1998-01-19 | 1999-07-30 | Olympus Optical Co Ltd | Image synthesizing processor and record medium for recording image synthesizing processing program |
| JPH11205674A (en) * | 1998-01-19 | 1999-07-30 | Olympus Optical Co Ltd | Image synthesizing processor and record medium for recording image synthesizing processing program |
| US10349030B2 (en) | 1999-07-05 | 2019-07-09 | Maxell, Ltd. | Video recording and reproducing method, and video reproducing apparatus and method including thumbnails for moving pictures and still pictures |
| JP2002006426A (en) * | 2000-04-29 | 2002-01-09 | Hewlett Packard Co <Hp> | Method for automatically capturing plural images |
| KR20020012335A (en) * | 2000-08-07 | 2002-02-16 | 정병철 | Encoding/decoding method for animation file including image and sound and computer readable medium storing animation file encoded by the encoding method |
| JP2008090145A (en) * | 2006-10-04 | 2008-04-17 | Casio Comput Co Ltd | Imaging apparatus, composite image creation method, and program |
| JP2008104179A (en) * | 2007-10-15 | 2008-05-01 | Seiko Epson Corp | Panorama composition of multiple image data |
| JP2010252312A (en) * | 2009-04-17 | 2010-11-04 | Sony Corp | In-camera generation of high-quality composite panoramic images |
| JP2010104013A (en) * | 2009-12-11 | 2010-05-06 | Kyocera Corp | Image display apparatus |
| USD776717S1 (en) | 2010-12-28 | 2017-01-17 | Sony Corporation | Display panel or screen with graphical user interface |
| JP2013145541A (en) * | 2011-12-14 | 2013-07-25 | Mitsubishi Electric Corp | Image processing device |
| JP2014077649A (en) * | 2012-10-09 | 2014-05-01 | Sumitomo Mitsui Construction Co Ltd | Blurred image detection method |
| US10674075B2 (en) | 2013-04-30 | 2020-06-02 | Sony Corporation | Image processing device, image processing method, and program |
| JP2018067963A (en) * | 2014-05-15 | 2018-04-26 | 株式会社リコー | File |
| US9854177B2 (en) | 2015-03-18 | 2017-12-26 | Canon Kabushiki Kaisha | Imaging apparatus |
| CN105678688A (en) * | 2015-12-30 | 2016-06-15 | 北京金山安全软件有限公司 | Picture processing method and device |
| CN105678688B (en) * | 2015-12-30 | 2019-02-15 | 北京金山安全软件有限公司 | Picture processing method and device |
| CN109842740A (en) * | 2017-11-24 | 2019-06-04 | 富泰华工业(深圳)有限公司 | Panoramic camera, image processing system and image processing method |
| CN112637564A (en) * | 2020-12-18 | 2021-04-09 | 中标慧安信息技术股份有限公司 | Indoor security method and system based on multi-picture monitoring |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102420938B9 (en) | Camera device and image display method | |
| JP3695119B2 (en) | Image synthesizing apparatus and recording medium storing program for realizing image synthesizing method | |
| JPH1169288A (en) | Image processing device | |
| US20070081081A1 (en) | Automated multi-frame image capture for panorama stitching using motion sensor | |
| US7456864B2 (en) | Digital camera for capturing a panoramic image | |
| US8000558B2 (en) | Thumbnail generating apparatus and image shooting apparatus | |
| JP5106142B2 (en) | Electronic camera | |
| JP2006245726A (en) | Digital camera | |
| JP2007258989A (en) | Digital camera, composition corrector, and composition correcting method | |
| JP2012191486A (en) | Image composing apparatus, image composing method, and program | |
| JPH114398A (en) | Digital wide camera | |
| CN101588451A (en) | Image pickup apparatus, image pickup method, playback control apparatus, playback control method, and program | |
| JPH06217187A (en) | Image pickup device, moving vector detector, and picture shake correcting device | |
| JP3253478B2 (en) | Video recording device | |
| JPH1169293A (en) | Image processing system and camera-integrated video recorder | |
| US9060160B2 (en) | Image generation device, imaging device, image reproduction device, and image reproduction program | |
| JP2008109336A (en) | Image processing apparatus and imaging apparatus | |
| JP2003179798A (en) | Digital camera | |
| CN102547104A (en) | Image processing apparatus capable of generating wide angle image | |
| JPH09322055A (en) | Electronic camera system | |
| JP5653736B2 (en) | Camera, display device, and display method | |
| JP2007173966A (en) | Imaging apparatus and image data processing method thereof | |
| KR100561449B1 (en) | Digital zoom-out processing unit | |
| JP2010263270A (en) | Image pickup device | |
| JP2000324386A (en) | Recording and playback device using a fisheye lens |