JP5948779B2 - Image processing apparatus, image processing method, and program - Google Patents

Image processing apparatus, image processing method, and program Download PDF

Info

Publication number
JP5948779B2
JP5948779B2 JP2011217801A JP2011217801A JP5948779B2 JP 5948779 B2 JP5948779 B2 JP 5948779B2 JP 2011217801 A JP2011217801 A JP 2011217801A JP 2011217801 A JP2011217801 A JP 2011217801A JP 5948779 B2 JP5948779 B2 JP 5948779B2
Authority
JP
Japan
Prior art keywords
image
panoramic
detected
subject image
subject
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2011217801A
Other languages
Japanese (ja)
Other versions
JP2013077228A (en
Inventor
石毛 善樹
善樹 石毛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2011217801A priority Critical patent/JP5948779B2/en
Publication of JP2013077228A publication Critical patent/JP2013077228A/en
Application granted granted Critical
Publication of JP5948779B2 publication Critical patent/JP5948779B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、画像処理装置、画像処理方法及びプログラムに関する。   The present invention relates to an image processing apparatus, an image processing method, and a program.

従来より、35ミリ銀塩フィルムにより撮像された2:3の縦横比の画像や、デジタルカメラにより撮像された3:4の縦横比の画像と比較して、横長又は縦長の広角画像、即ち、いわゆるパノラマ画像が存在する。
このようなパノラマ画像のデータを生成するための技術が、特許文献1に記載されている。特許文献1に記載の技術では、例えば、ユーザが、シャッタスイッチの押下操作の状態を維持させながら、デジタルカメラを垂直方向にほぼ固定したまま水平方向に回転させるように移動させる。すると、デジタルカメラは、この間に撮像した複数の画像のデータを処理対象として、これらの複数枚の画像同士の一部の領域を継ぎ合わせるように合成する処理を実行することで、1つのパノラマ画像のデータを生成する。
Compared with a 2: 3 aspect ratio image captured by a 35 mm silver salt film or a 3: 4 aspect ratio image captured by a digital camera, There is a so-called panoramic image.
A technique for generating such panoramic image data is described in Patent Document 1. In the technique described in Patent Document 1, for example, the user moves the digital camera so as to rotate in the horizontal direction while being substantially fixed in the vertical direction while maintaining the state of pressing the shutter switch. Then, the digital camera uses a plurality of images captured during this time as processing targets, and executes a process of combining so as to join some areas of the plurality of images, thereby obtaining one panoramic image. Generate data for

特開平6−303562号公報号公報JP-A-6-303562

しかしながら、周囲の風景を重視しつつ被写体が適切な位置に写るパノラマ画像が要求される場合には、撮影時に被写体側に動きがあると、結果としてユーザが所望する構図のパノラマ画像が得られない虞があった。   However, when a panoramic image in which the subject is captured at an appropriate position is demanded while placing importance on the surrounding landscape, if the subject moves during shooting, a panoramic image having a composition desired by the user cannot be obtained as a result. There was a fear.

本発明は、このような状況に鑑みてなされたものであり、撮影範囲内の被写体に動きがある場合であっても、ユーザが所望する構図のパノラマ画像を容易かつ適切に得ることを目的とする。   The present invention has been made in view of such a situation, and an object thereof is to easily and appropriately obtain a panoramic image having a composition desired by a user even when a subject within a shooting range has a movement. To do.

上記目的を達成するため、本発明の一態様の画像処理装置は、連続的に撮像された複数の画像を取得する取得手段と、前記取得手段により取得された複数の画像から、共通して存在する被写体像を夫々検出する第1の検出手段と、前記第1の検出手段により前記複数の画像から検出された被写体像の変化を検出し、変化が検出された第一の被写体像と、前記第一の被写体像とは異なる変化が検出された第二の被写体像とを検出する第2の検出手段と、前記取得手段により取得された複数の画像と、前記第2の検出手段により変化が検出された前記第一の被写体像と前記第二の被写体像とに基づいて、前記第一の被写体像が含まれる第一のパノラマ画像と、前記第二の被写体像が含まれる第二のパノラマ画像とを生成する生成手段と、前記生成手段により生成された前記第一のパノラマ画像及び前記第二のパノラマ画像を表示手段に表示させる表示制御手段と、を備えたことを特徴とする In order to achieve the above object, an image processing apparatus according to an aspect of the present invention is provided in common from an acquisition unit that acquires a plurality of images captured continuously and a plurality of images acquired by the acquisition unit. A first detection unit that detects a subject image to be detected , a change in the subject image detected from the plurality of images by the first detection unit, and a first subject image in which the change is detected ; A second detection unit that detects a second subject image in which a change different from the first subject image is detected; a plurality of images acquired by the acquisition unit; and a change by the second detection unit. Based on the detected first subject image and the second subject image , a first panorama image including the first subject image and a second panorama including the second subject image. generating means for generating an image, the generating Characterized by comprising display control means for displaying the first panorama image and the second panoramic image generated by the step on the display means, the

本発明によれば、撮影範囲内の被写体に動きがある場合であっても、ユーザが所望する構図のパノラマ画像を容易かつ適切に得ることができる。   According to the present invention, it is possible to easily and appropriately obtain a panoramic image having a composition desired by a user even when a subject within a shooting range has a movement.

本発明の一実施形態に係る画像処理装置のハードウェアの構成を示すブロック図である。1 is a block diagram illustrating a hardware configuration of an image processing apparatus according to an embodiment of the present invention. 図1の画像処理装置の機能的構成のうち、パノラマ画像生成処理を実行するための機能的構成を示す機能ブロック図である。It is a functional block diagram which shows the functional structure for performing a panorama image generation process among the functional structures of the image processing apparatus of FIG. パノラマ画像のデータの生成についての一例を示す模式図である。It is a schematic diagram which shows an example about the production | generation of the data of a panoramic image. 図2の機能的構成を有する図1の画像処理装置が実行するパノラマ画像生成処理の流れを説明するフローチャートである。3 is a flowchart for explaining a flow of panoramic image generation processing executed by the image processing apparatus of FIG. 1 having the functional configuration of FIG. 2. 図4のステップS6で実行される被写体付きパノラマ画像生成処理の流れを説明するフローチャートである。5 is a flowchart for explaining a flow of a panoramic image generation process with a subject executed in step S6 of FIG. パノラマ画像のデータの生成についての他の例を示す模式図である。It is a schematic diagram which shows the other example about the production | generation of the data of a panoramic image.

以下、本発明の実施形態について、図面を用いて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明の一実施形態に係る画像処理装置1のハードウェアの構成を示すブロック図である。
画像処理装置1は、例えばデジタルカメラして構成される。
FIG. 1 is a block diagram showing a hardware configuration of an image processing apparatus 1 according to an embodiment of the present invention.
The image processing apparatus 1 is configured as a digital camera, for example.

画像処理装置1は、CPU(Central Processing Unit)11と、ROM(Read Only Memory)12と、RAM(Random Access Memory)13と、画像処理部14と、バス15と、入出力インターフェース16と、撮像部17と、入力部18と、出力部19と、記憶部20と、通信部21と、ドライブ22と、を備えている。   The image processing apparatus 1 includes a CPU (Central Processing Unit) 11, a ROM (Read Only Memory) 12, a RAM (Random Access Memory) 13, an image processing unit 14, a bus 15, an input / output interface 16, and an imaging. A unit 17, an input unit 18, an output unit 19, a storage unit 20, a communication unit 21, and a drive 22 are provided.

CPU11は、ROM12に記録されているプログラム、又は、記憶部20からRAM13にロードされたプログラムに従って各種の処理を実行する。   The CPU 11 executes various processes according to a program recorded in the ROM 12 or a program loaded from the storage unit 20 to the RAM 13.

RAM13には、CPU11が各種の処理を実行する上において必要なデータ等も適宜記憶される。   The RAM 13 appropriately stores data necessary for the CPU 11 to execute various processes.

画像処理部14は、DSP(Digital Signal Processor)や、VRAM(Video Random Access Memory)等から構成されており、CPU11と協働して、画像のデータに対して各種画像処理を施す。   The image processing unit 14 is configured by a DSP (Digital Signal Processor), a VRAM (Video Random Access Memory), and the like, and performs various image processing on image data in cooperation with the CPU 11.

CPU11、ROM12及びRAM13は、バス15を介して相互に接続されている。このバス15にはまた、入出力インターフェース16も接続されている。入出力インターフェース16には、撮像部17、入力部18、出力部19、記憶部20、通信部21及びドライブ22が接続されている。   The CPU 11, ROM 12 and RAM 13 are connected to each other via a bus 15. An input / output interface 16 is also connected to the bus 15. An imaging unit 17, an input unit 18, an output unit 19, a storage unit 20, a communication unit 21, and a drive 22 are connected to the input / output interface 16.

撮像部17は、図示はしないが、光学レンズ部と、イメージセンサと、を備えている。   Although not shown, the imaging unit 17 includes an optical lens unit and an image sensor.

光学レンズ部は、被写体を撮影するために、光を集光するレンズ、例えばフォーカスレンズやズームレンズ等で構成される。
フォーカスレンズは、イメージセンサの受光面に被写体像を結像させるレンズである。ズームレンズは、焦点距離を一定の範囲で自在に変化させるレンズである。
光学レンズ部にはまた、必要に応じて、焦点、露出、ホワイトバランス等の設定パラメータを調整する周辺回路が設けられる。
The optical lens unit is configured by a lens that collects light, for example, a focus lens or a zoom lens, in order to photograph a subject.
The focus lens is a lens that forms a subject image on the light receiving surface of the image sensor. The zoom lens is a lens that freely changes the focal length within a certain range.
The optical lens unit is also provided with a peripheral circuit for adjusting setting parameters such as focus, exposure, and white balance as necessary.

イメージセンサは、光電変換素子や、AFE(Analog Front End)等から構成される。
光電変換素子は、例えばCMOS(Complementary Metal Oxide Semiconductor)型の光電変換素子等から構成される。光電変換素子には、光学レンズ部から被写体像が入射される。そこで、光電変換素子は、被写体像を光電変換(撮像)して画像信号を一定時間蓄積し、蓄積した画像信号をアナログ信号としてAFEに順次供給する。
AFEは、このアナログの画像信号に対して、A/D(Analog/Digital)変換処理等の各種信号処理を実行する。各種信号処理によって、ディジタル信号が生成され、撮像部17の出力信号として出力される。
このような撮像部17の出力信号を、以下、「撮像画像のデータ」と呼ぶ。撮像画像のデータは、CPU11や画像処理部14等に適宜供給される。
The image sensor includes a photoelectric conversion element, AFE (Analog Front End), and the like.
The photoelectric conversion element is composed of, for example, a CMOS (Complementary Metal Oxide Semiconductor) type photoelectric conversion element or the like. A subject image is incident on the photoelectric conversion element from the optical lens unit. Therefore, the photoelectric conversion element photoelectrically converts (captures) the subject image, accumulates the image signal for a predetermined time, and sequentially supplies the accumulated image signal as an analog signal to the AFE.
The AFE performs various signal processing such as A / D (Analog / Digital) conversion processing on the analog image signal. A digital signal is generated by various signal processing and output as an output signal of the imaging unit 17.
Such an output signal of the imaging unit 17 is hereinafter referred to as “captured image data”. The captured image data is appropriately supplied to the CPU 11, the image processing unit 14, and the like.

入力部18は、シャッタスイッチ等の各種ボタンで構成され、ユーザの指示操作に応じて各種情報や命令を入力する。
出力部19は、ディスプレイやスピーカ等で構成され、画像や音声を出力する。
記憶部20は、ハードディスク或いはDRAM(Dynamic Random Access Memory)等で構成され、各種画像のデータを記憶する。
通信部21は、インターネットを含むネットワークを介して他の装置(図示せず)との間で行う通信を制御する。
The input unit 18 includes various buttons such as a shutter switch, and inputs various information and commands in accordance with user instruction operations.
The output unit 19 includes a display, a speaker, and the like, and outputs images and sounds.
The storage unit 20 is configured by a hard disk, a DRAM (Dynamic Random Access Memory), or the like, and stores various image data.
The communication unit 21 controls communication with other devices (not shown) via a network including the Internet.

ドライブ22には、磁気ディスク、光ディスク、光磁気ディスク、或いは半導体メモリ等よりなる、リムーバブルメディア31が適宜装着される。ドライブ22によってリムーバブルメディア31から読み出されたプログラムは、必要に応じて記憶部20にインストールされる。また、リムーバブルメディア31は、記憶部20に記憶されている画像のデータ等の各種データも、記憶部20と同様に記憶することができる。   A removable medium 31 composed of a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is appropriately attached to the drive 22. The program read from the removable medium 31 by the drive 22 is installed in the storage unit 20 as necessary. The removable medium 31 can also store various data such as image data stored in the storage unit 20 in the same manner as the storage unit 20.

図2は、このような画像処理装置1の機能的構成のうち、パノラマ画像生成処理を実行するための機能的構成を示す機能ブロック図である。
「パノラマ画像生成処理」とは、連続して取得した複数の撮像画像のデータを用いて複数のパノラマ画像のデータを生成する処理をいう。
ここで、「パノラマ画像」とは、35ミリ銀塩フィルムにより撮像された2:3の縦横比の画像や、デジタルカメラにより撮像された3:4の縦横比の画像と比較して、横長又は縦長の広角画像である。本実施形態においては、単に、パノラマ画像といった場合には、静止画のパノラマ画像のことをいう。
即ち、静止画である複数のパノラマ画像から構成される動画像を、特に「パノラマ動画像」と呼ぶものとする。
パノラマ画像生成処理には、生成された複数のパノラマ画像のデータのうちユーザにより指定されたパノラマ画像のデータを記憶したり、生成された複数パノラマ画像のデータに基づいてパノラマ動画像のデータを生成して記憶したりする処理も含まれる。
FIG. 2 is a functional block diagram showing a functional configuration for executing a panoramic image generation process among the functional configurations of such an image processing apparatus 1.
“Panorama image generation processing” refers to processing for generating data of a plurality of panoramic images using data of a plurality of captured images acquired successively.
Here, the “panoramic image” is a landscape image or a 3: 3 aspect ratio image captured by a 35 mm silver salt film or a 3: 4 aspect ratio image captured by a digital camera. This is a vertically wide-angle image. In the present embodiment, a panoramic image simply refers to a panoramic image of a still image.
That is, a moving image composed of a plurality of panoramic images that are still images is particularly referred to as a “panoramic moving image”.
The panorama image generation process stores panorama image data designated by the user from among the generated plurality of panorama image data, or generates panorama moving image data based on the generated multiple panorama image data. And the process of memorizing it.

画像処理装置1がパノラマ画像生成処理を実行する場合には、CPU11においては、撮像制御部51と、記憶制御部52とが機能する。
この場合、記憶部20には、撮像画像のデータやパノラマ画像のデータ等の各種画像のデータを記憶する領域として画像記憶部53が設けられる。
When the image processing apparatus 1 executes the panoramic image generation process, the imaging control unit 51 and the storage control unit 52 function in the CPU 11.
In this case, the storage unit 20 is provided with an image storage unit 53 as an area for storing various image data such as captured image data and panoramic image data.

撮像制御部51は、撮像部17による各種撮像動作を制御する。
詳細には、ユーザが、デジタルカメラとしての画像処理装置1を保持したまま、入力部18のシャッタスイッチを押下操作すると、画像処理装置1は、パノラマ画像生成処理を開始する。パノラマ画像生成処理が開始すると、撮像制御部51は、撮像部17の連続撮像の動作を開始させる。この間、ユーザが、シャッタスイッチの押下操作の状態を維持させながら、デジタルカメラを垂直方向にほぼ固定したまま水平方向(以下、パノラマ撮影方向という)に回転させるように移動させる。その後、所定時間経過や画像処理装置1が所定量移動した等の所定条件が満たされると、撮像制御部51は、撮像部17における連続撮像の動作を終了させる。
The imaging control unit 51 controls various imaging operations by the imaging unit 17.
Specifically, when the user presses the shutter switch of the input unit 18 while holding the image processing apparatus 1 as a digital camera, the image processing apparatus 1 starts panoramic image generation processing. When the panoramic image generation process starts, the imaging control unit 51 starts the continuous imaging operation of the imaging unit 17. During this time, the user moves the digital camera so as to rotate in the horizontal direction (hereinafter referred to as a panoramic shooting direction) while maintaining the state of pressing the shutter switch while being substantially fixed in the vertical direction. Thereafter, when a predetermined condition such as the elapse of a predetermined time or the movement of the image processing apparatus 1 by a predetermined amount is satisfied, the imaging control unit 51 ends the continuous imaging operation in the imaging unit 17.

記憶制御部52は、撮像画像のデータ、パノラマ画像のデータ、パノラマ動画像のデータ等の各種画像のデータを画像記憶部53に記憶させる制御を実行する。   The storage control unit 52 executes control for storing various image data such as captured image data, panoramic image data, and panoramic moving image data in the image storage unit 53.

また、画像処理装置1がパノラマ画像生成処理を実行する場合には、画像処理部14においては、画像取得部54と、スリット設定部55と、被写体検出部56と、動体検出部57と、パノラマ画像生成部58と、パノラマ動画生成部59と、が機能する。   When the image processing apparatus 1 executes panoramic image generation processing, the image processing unit 14 includes an image acquisition unit 54, a slit setting unit 55, a subject detection unit 56, a moving object detection unit 57, and a panorama. The image generation unit 58 and the panoramic video generation unit 59 function.

画像取得部54は、撮像部17の連続撮像の動作により出力されてくる複数の撮像画像のデータ、即ち連続的に撮像された複数の画像のデータを逐次取得する。   The image acquisition unit 54 sequentially acquires data of a plurality of captured images output by the continuous imaging operation of the imaging unit 17, that is, data of a plurality of images captured continuously.

スリット設定部55は、画像取得部54により取得された複数の撮像画像のデータの夫々を処理対象として、当該複数の撮像画像の各々から区分された複数の領域を、スリット領域として夫々設定する。
このように、「スリット領域」は、撮像画像から区分された領域をいうが、後述する被写体像の検出や動体となる被写体像を検出する単位として用いられることになる。そこで、本実施形態においては撮像画像内を縦方向又は横方向に所定の長さ(所定の画素数)で区分された短冊状の領域が、スリット領域として採用される。
The slit setting unit 55 sets each of the plurality of captured image data acquired by the image acquisition unit 54 as a processing target, and sets a plurality of regions divided from each of the plurality of captured images as a slit region.
As described above, the “slit region” refers to a region divided from the captured image, but is used as a unit for detecting a subject image to be described later or a subject image that is a moving object. Therefore, in the present embodiment, a strip-shaped area that is divided in the captured image in the vertical direction or the horizontal direction by a predetermined length (a predetermined number of pixels) is employed as the slit area.

被写体検出部56は、画像取得部54により取得された複数の撮像画像のデータの夫々を処理対象として、スリット設定部55により設定されたスリット領域毎に被写体像を検出する。
詳細には、被写体検出部56は、スリット領域内のエッジ等を考慮して被写体像を検出する。
The subject detection unit 56 detects a subject image for each slit region set by the slit setting unit 55 using each of a plurality of captured image data acquired by the image acquisition unit 54 as a processing target.
Specifically, the subject detection unit 56 detects a subject image in consideration of an edge in the slit region.

動体検出部57は、被写体検出部56により検出された被写体像の変化を検出し、変化があった被写体像を動体として検出する。
例えば、動体検出部57は、被写体像が検出されたスリット領域を処理対象として、処理対象のスリット領域と同一空間位置おける別の撮像画像のスリット領域を比較対象として、処理対象と比較処理対象との各画素値の変化を検出し、所定量以上の変化があった場合には、処理対象に含まれる被写体像を動体として検出する。
The moving object detection unit 57 detects a change in the subject image detected by the subject detection unit 56, and detects the changed subject image as a moving object.
For example, the moving object detection unit 57 sets a slit area where a subject image is detected as a processing target, and sets a slit area of another captured image in the same spatial position as the processing target slit area as a comparison target, and sets the processing target and the comparison processing target as When a change in each pixel value is detected and a change of a predetermined amount or more is detected, a subject image included in the processing target is detected as a moving object.

パノラマ画像生成部58は、画像取得部54により取得された複数の画像のデータと、動体検出部57により変化があると検出された被写体像とに基づいて、複数のパノラマ画像のデータを生成する。なお、パノラマ画像生成部58により生成されるパノラマ画像のデータの具体例については、図3及び図6を参照して後述する。   The panorama image generation unit 58 generates a plurality of panoramic image data based on the data of the plurality of images acquired by the image acquisition unit 54 and the subject image detected by the moving object detection unit 57 as being changed. . A specific example of panoramic image data generated by the panoramic image generation unit 58 will be described later with reference to FIGS. 3 and 6.

パノラマ動画生成部59は、パノラマ画像生成部58により生成された複数のパノラマ画像のデータに基づいて、パノラマ動画像のデータを生成する。即ち、パノラマ動画生成部59は、複数のパノラマ画像から構成される動画像をパノラマ動画像として、当該パノラマ動画像のデータを生成することができる。   The panoramic video generation unit 59 generates panoramic video data based on a plurality of panoramic image data generated by the panoramic image generation unit 58. That is, the panoramic video generation unit 59 can generate data of the panoramic moving image by using a moving image composed of a plurality of panoramic images as a panoramic moving image.

さらに以下、CPU11において機能する撮像制御部51及び記憶制御部52、画像処理部14において機能する画像取得部54乃至パノラマ動画生成部59の各機能について、即ち、パノラマ画像生成処理の実行機能について、図3を参照して具体的に説明する。
図3は、パノラマ画像のデータの生成についての一例を示す模式図である。詳細には、図3(a)は取得した撮像画像を示す模式図であり、図3(b)は取得した撮像画像に基づいて、被写体像の動き毎に生成されたパノラマ画像を示す模式図である。
Further, hereinafter, the imaging control unit 51 and the storage control unit 52 that function in the CPU 11, and the functions of the image acquisition unit 54 to the panoramic video generation unit 59 that function in the image processing unit 14, that is, the execution function of the panoramic image generation process, This will be specifically described with reference to FIG.
FIG. 3 is a schematic diagram illustrating an example of generation of panoramic image data. Specifically, FIG. 3A is a schematic diagram illustrating an acquired captured image, and FIG. 3B is a schematic diagram illustrating a panoramic image generated for each movement of the subject image based on the acquired captured image. It is.

画像取得部54は、図3(a)に示すように、撮像部17によりパノラマ撮影方向に撮像された複数の撮像画像(第1撮像画像P1〜第6撮像画像P6)の各データをそれぞれ取得する。   As shown in FIG. 3A, the image acquisition unit 54 acquires each data of a plurality of captured images (first captured image P1 to sixth captured image P6) captured in the panoramic shooting direction by the imaging unit 17. To do.

スリット設定部55は、例えば、複数の撮像画像(第1撮像画像P1〜第6撮像画像P6)の各データを処理対象として、処理対象毎に複数のスリット領域をそれぞれ設定する。   For example, the slit setting unit 55 sets a plurality of slit regions for each processing target, with each piece of data of the plurality of captured images (first captured image P1 to sixth captured image P6) as a processing target.

被写体検出部56は、スリット設定部55により設定されたスリット領域毎に、スリット領域内に映り込んだ被写体像を検出する。その結果、図3(a)に示す例においては、寺社の建築物、樹木、人物等が被写体像として検出される。   The subject detection unit 56 detects the subject image reflected in the slit region for each slit region set by the slit setting unit 55. As a result, in the example shown in FIG. 3A, temple buildings, trees, people, and the like are detected as subject images.

動体検出部57は、図3(a)に示す例においては、第1撮像画像P1のスリット領域SL1、第2撮像画像P2のスリット領域SL2、及び第3撮像画像P3のスリット領域SL3の各々から、人物を動体として検出する。   In the example illustrated in FIG. 3A, the moving body detection unit 57 includes the slit region SL1 of the first captured image P1, the slit region SL2 of the second captured image P2, and the slit region SL3 of the third captured image P3. A person is detected as a moving object.

パノラマ画像生成部58は、図3(b)に示すように、動体である人物(被写体)を含むスリット領域毎にパノラマ画像を生成する。即ち、パノラマ画像生成部58は、スリット領域SL1内の人物を含むパノラマ画像PRP1のデータ、スリット領域SL2内の人物を含むパノラマ画像PRP2のデータ、及びスリット領域SL3内の人物を含むパノラマ画像PRP3のデータのそれぞれを生成する。   As shown in FIG. 3B, the panorama image generation unit 58 generates a panorama image for each slit region including a person (subject) that is a moving object. That is, the panorama image generation unit 58 generates panorama image PRP1 data including a person in the slit area SL1, panorama image PRP2 data including a person in the slit area SL2, and a panorama image PRP3 including a person in the slit area SL3. Generate each of the data.

パノラマ動画生成部59は、図3(b)に示すパノラマ画像PRP1、PRP2、PRP3の各データを用いて、パノラマ動画像のデータを生成する。即ち、パノラマ動画生成部59は、複数のパノラマ画像から構成されるパノラマ動画像のデータを生成する。   The panoramic video generation unit 59 generates panoramic video data using the panoramic images PRP1, PRP2, and PRP3 shown in FIG. In other words, the panoramic video generation unit 59 generates panoramic video data composed of a plurality of panoramic images.

図4は、図2の機能的構成を有する図1の画像処理装置1が実行するパノラマ画像生成処理の流れを説明するフローチャートである。
パノラマ画像生成処理は、ユーザの入力部18へのパノラマ画像生成処理を開始する操作、即ち、シャッタボタンの押下操作を契機に開始される。
FIG. 4 is a flowchart for explaining the flow of panoramic image generation processing executed by the image processing apparatus 1 of FIG. 1 having the functional configuration of FIG.
The panorama image generation process is started when the user starts an operation for starting the panorama image generation process on the input unit 18, that is, when the shutter button is pressed.

ステップS1において、撮像制御部51は、撮像部17が連続撮像をするように制御する。   In step S1, the imaging control unit 51 controls the imaging unit 17 to perform continuous imaging.

ステップS2において、画像取得部54は、複数の撮像画像のデータを取得する。具体的には例えば図3(a)の例では、画像取得部54は、第1撮像画像P1〜第6撮像画像P6のデータを取得する。   In step S2, the image acquisition unit 54 acquires data of a plurality of captured images. Specifically, for example, in the example of FIG. 3A, the image acquisition unit 54 acquires data of the first captured image P1 to the sixth captured image P6.

ステップS3において、スリット設定部55は、ステップS2の処理で取得された複数の撮像画像のデータ毎に、スリット領域をそれぞれ設定する。   In step S <b> 3, the slit setting unit 55 sets a slit area for each of a plurality of captured image data acquired in step S <b> 2.

ステップS4において、被写体検出部56は、ステップS3の処理で設定されたスリット領域毎に被写体像を検出する。   In step S4, the subject detection unit 56 detects a subject image for each slit region set in step S3.

ステップS5において、動体検出部57は、ステップS4の処理で検出された被写体像の中から、動体である被写体像を検出する。例えば図3(a)の例では、第1撮像画像P1のスリット領域SL1、第2撮像画像P2のスリット領域SL2、及び第3撮像画像P3のスリット領域SL3の各々から、人物を動体として検出される。   In step S5, the moving object detection unit 57 detects a subject image that is a moving object from the subject images detected in the process of step S4. For example, in the example of FIG. 3A, a person is detected as a moving object from each of the slit area SL1 of the first captured image P1, the slit area SL2 of the second captured image P2, and the slit area SL3 of the third captured image P3. The

ステップS6において、パノラマ画像生成部58は、被写体付きパノラマ画像生成処理を実行する。
「被写体付きパノラマ画像生成処理」とは、動体である被写体像を含むパノラマ画像のデータを生成するまでの一連の処理をいう。被写体付きパノラマ画像生成処理については、図5を用いて後述する。
これにより、例えば図3(b)に示すような複数のパノラマ画像PRP1〜PRP3の各データが生成される。
In step S6, the panorama image generation unit 58 executes a panorama image generation process with a subject.
“Subject panorama image generation processing” refers to a series of processing until data of a panoramic image including a subject image that is a moving object is generated. The subject panorama image generation process will be described later with reference to FIG.
Thereby, each data of the several panoramic images PRP1-PRP3 as shown, for example in FIG.3 (b) is produced | generated.

ステップS7において、記憶制御部52は、静止画保存をするか否かを判断する。
静止画を保存する場合には、ステップS7においてYESであると判断されて、処理はステップS8に進む。
In step S7, the storage control unit 52 determines whether or not to save a still image.
If the still image is to be stored, YES is determined in step S7, and the process proceeds to step S8.

ステップS8において、記憶制御部52は、保存すべきパノラマ画像を選択するか否かを判断する。例えば、画像処理装置1は、生成された複数のパノラマ画像を出力部19に順次表示させる等して、ユーザに入力部18を用いた選択操作をさせる。
このような選択操作がなされるまでの間、ステップS8においてNOであると判定されて、処理はステップS8に戻される。即ち、このような選択操作がなされるまでの間、ステップS8の判定処理が繰り返し実行されて、パノラマ画像生成処理は待機状態になる。
その後、このような選択操作がなされると、記憶制御部52は、このような選択操作の内容を解析することによって、保存すべきパノラマ画像を選択し、処理をステップS9に進める。
In step S8, the storage control unit 52 determines whether to select a panoramic image to be saved. For example, the image processing apparatus 1 causes the user to perform a selection operation using the input unit 18 by sequentially displaying a plurality of generated panoramic images on the output unit 19.
Until such a selection operation is performed, it is determined as NO in Step S8, and the process returns to Step S8. That is, until such a selection operation is performed, the determination process in step S8 is repeatedly executed, and the panorama image generation process enters a standby state.
Thereafter, when such a selection operation is performed, the storage control unit 52 selects the panoramic image to be saved by analyzing the contents of such a selection operation, and advances the processing to step S9.

ステップS9において、記憶制御部52は、選択されたパノラマ画像のデータを画像記憶部53に保存する。これにより、パノラマ画像生成処理は終了する。   In step S <b> 9, the storage control unit 52 stores the selected panoramic image data in the image storage unit 53. Thereby, the panoramic image generation process is completed.

以上、静止画を保存する場合の処理について説明した。
次に、静止画を保存しない場合の処理について説明する。この場合には、ステップS7においてNOであると判定されて、処理はステップS10に進む。
ステップS10において、パノラマ動画生成部59は、パノラマ動画像のデータを生成する。
In the foregoing, the process for storing a still image has been described.
Next, processing when a still image is not saved will be described. In this case, it is determined as NO in Step S7, and the process proceeds to Step S10.
In step S10, the panoramic video generator 59 generates panoramic video data.

ステップS11において、記憶制御部52は、パノラマ動画像のデータを画像記憶部53に保存する。これにより、パノラマ画像生成処理は終了する。   In step S <b> 11, the storage control unit 52 stores panoramic video data in the image storage unit 53. Thereby, the panoramic image generation process is completed.

図5は、図4のステップS6で実行される被写体付きパノラマ画像処理の流れを説明するフローチャートである。   FIG. 5 is a flowchart for explaining the flow of panoramic image processing with a subject executed in step S6 of FIG.

ステップS21において、パノラマ画像生成部58は、動体となる被写体像が存在するスリット領域の各々のデータを抽出する。具体的には、パノラマ画像生成部58は、図3(a)に示すように、各撮像画像のデータにおいて、被写体像が動体であると検出された第1撮像画像P1のスリット領域SL1、第2撮像画像P2のスリット領域SL2及び第3撮像画像P3のスリット領域SL3の各データを抽出する。   In step S21, the panoramic image generation unit 58 extracts each data of the slit area where the subject image that is a moving object exists. Specifically, as illustrated in FIG. 3A, the panoramic image generation unit 58 includes the slit region SL1 of the first captured image P1 in which the subject image is detected as a moving object in the data of each captured image, the first Each data of the slit region SL2 of the second captured image P2 and the slit region SL3 of the third captured image P3 is extracted.

ステップS22において、パノラマ画像生成部58は、抽出したスリット領域のデータをそれぞれ含むように、各撮像画像のデータをスリット領域単位で合成したパノラマ画像のデータを複数生成する。詳細には、パノラマ画像生成部58は、抽出したスリット領域、即ち、動体である被写体像のあるスリット領域(第1撮像画像P1のスリット領域SL1、第2撮像画像P2のスリット領域SL2及び第3撮像画像P3のスリット領域SL3)と、その他のスリッド領域との各データを合成して、図3(b)に示すような、動体の動きに対応したパノラマ画像PRP1、PRP2、PRP3のデータを生成する。その後、被写体付きパノラマ画像処理は終了し、ステップS6に戻る。   In step S <b> 22, the panoramic image generation unit 58 generates a plurality of panoramic image data obtained by combining the data of each captured image in units of slit areas so as to include the extracted slit area data. Specifically, the panoramic image generation unit 58 extracts the extracted slit areas, that is, the slit areas where the subject image is a moving object (the slit areas SL1 of the first captured image P1, the slit areas SL2 and 3 of the second captured image P2). The data of the slit area SL3) of the captured image P3 and the other slide areas are combined to generate panoramic images PRP1, PRP2, and PRP3 corresponding to the movement of the moving object as shown in FIG. 3B. To do. Thereafter, the panoramic image processing with the subject ends, and the process returns to step S6.

以上説明したように、画像処理装置1においては、撮影範囲内の被写体像に動きがある場合であっても、各種構図のパノラマ画像のデータが複数生成されるので、ユーザが所望する構図のパノラマ画像のデータを容易かつ適切に選択することができる。
また、画像処理装置1においては、撮像範囲内に存在する被写体像に動きがあることを利用して、パノラマ画像でありながら動画像の要素を取り入れたパノラマ動画像のデータを生成することができる。
As described above, the image processing apparatus 1 generates a plurality of panoramic image data of various compositions even when the subject image within the shooting range has a motion, so that the panorama of the composition desired by the user is generated. Image data can be selected easily and appropriately.
Further, the image processing apparatus 1 can generate panoramic moving image data that incorporates elements of a moving image even though it is a panoramic image, by utilizing the movement of a subject image that exists within the imaging range. .

次に、パノラマ画像の生成の他の例について図6を用いて説明する。図6は、パノラマ画像のデータの生成についての他の例を示す模式図である。詳細には、図6(a)は取得した撮像画像を示す模式図であり、図6(b)は取得した撮像画像に基づいて、動体となる被写体像を除去して生成されたパノラマ画像を示す模式図である。なお、図6(a)では、第7撮像画像P7〜第10撮像画像P10において、動体となる被写体像の移動量が大きく、同一撮像範囲内に動体となる被写体像が存在しない例を示す。また、図6(a)では、第11撮像画像P11及び第12撮像画像P12において、動体となる被写体像の移動量が小さく、撮像画像すべての同一撮像範囲内に動体となる被写体像が存在する例を示す。   Next, another example of generating a panoramic image will be described with reference to FIG. FIG. 6 is a schematic diagram illustrating another example of generating panoramic image data. Specifically, FIG. 6A is a schematic diagram showing the acquired captured image, and FIG. 6B shows a panoramic image generated by removing the subject image that becomes a moving object based on the acquired captured image. It is a schematic diagram shown. FIG. 6A illustrates an example in which the moving amount of the subject image that is a moving object is large in the seventh captured image P7 to the tenth captured image P10, and the subject image that is a moving object does not exist within the same imaging range. In FIG. 6A, in the eleventh captured image P11 and the twelfth captured image P12, the moving amount of the subject image serving as a moving object is small, and the subject image serving as a moving object exists within the same imaging range of all the captured images. An example is shown.

上述した実施形態では、図3(a)の第1撮像画像P1〜第3撮像画像P3に示すように、動体である被写体像の移動量が小さく、同一の撮像範囲がある撮像画像すべてにおいて動体である被写体像が映り込んでいる場合に生成可能なパノラマ画像のデータについて説明した。
これに対して、本例では、図6(a)の第7撮像画像P7〜第10撮像画像P10に示すように、動体である被写体像の移動量が大きく、同一の撮像範囲がある撮像画像で動体である被写体像が映り込んでいない撮像画像ある場合に生成可能なパノラマ画像のデータについて説明する。
In the above-described embodiment, as shown in the first captured image P1 to the third captured image P3 in FIG. 3A, the moving amount of the subject image that is a moving object is small, and the moving object is present in all captured images having the same imaging range. The panoramic image data that can be generated when the subject image is reflected has been described.
On the other hand, in this example, as shown in the seventh captured image P7 to the tenth captured image P10 in FIG. 6A, the captured image has a large moving amount of the subject image that is a moving object and has the same imaging range. The panoramic image data that can be generated when there is a captured image in which a subject image that is a moving object is not reflected will be described.

本例のような場合には、上述の実施形態と同様に、動体となる被写体像の動きに合わせたパノラマ画像のデータを生成できるばかりでなく、各撮像画像における同一の撮像範囲に動体である被写体像が映り込んでいないことを利用して、動体となる被写体像を除去したパノラマ画像のデータを生成することができる。   In the case of this example, as in the above-described embodiment, not only can panoramic image data be generated in accordance with the movement of the subject image that is a moving object, but also the moving object is in the same imaging range in each captured image. By utilizing the fact that the subject image is not reflected, it is possible to generate panoramic image data from which the subject image that is a moving object is removed.

具体的には、パノラマ画像生成部58は、第7撮像画像P7〜第10撮像画像P10において、各撮像画像の同一の撮像範囲に動体である被写体像が映り込んでいない部分を用いて、図6(b)に示すようなパノラマ画像PRP4のデータを生成する。なお、図6(b)において縦縞模様で示す部分は、第11撮像画像P11及び第12撮像画像P12に対応する部分で、動体となる被写体像の移動量が小さく、各撮像画像において同一の撮像範囲内に動体となる被写体像が存在するために利用できる部分がなく、動体となる被写体像を除去できない。従って、パノラマ画像生成部58は、動体となる被写体像が除去できない第11撮像画像P11及び第12撮像画像P12に対応した部分以外でパノラマ画像のデータを生成することになる。   Specifically, the panorama image generation unit 58 uses a portion of the seventh captured image P7 to the tenth captured image P10 where a moving subject image does not appear in the same imaging range of each captured image. Data of a panoramic image PRP4 as shown in 6 (b) is generated. In FIG. 6B, the portion indicated by the vertical stripe pattern is a portion corresponding to the eleventh captured image P11 and the twelfth captured image P12, and the moving amount of the subject image serving as a moving object is small, and the same captured image is obtained in each captured image. Since there is a subject image that becomes a moving object within the range, there is no portion that can be used, and the subject image that becomes a moving object cannot be removed. Therefore, the panoramic image generation unit 58 generates panoramic image data other than the portion corresponding to the eleventh captured image P11 and the twelfth captured image P12 from which the subject image that is a moving object cannot be removed.

また、本例のような場合には、上述の実施形態とは異なる生成方法でパノラマ動画像のデータを生成することができる。
具体的には、上述の実施形態の例のような撮像画像(第1撮像画像P1〜第6撮像画像P6)を用いた場合には、パノラマ動画生成部59は、第1撮像画像P1〜第6撮像画像P6から生成したパノラマ画像PRP1、PRP2、PRP3の各データを用いて、パノラマ動画像のデータを生成する。
一方、本例のような撮像画像(第7撮像画像P7〜第12撮像画像P12)を用いた場合には、パノラマ動画生成部59は、同一の撮像範囲がある撮像画像間で、動体である被写体像が映り込んでいない部分の画像を用いて、パノラマ動画像の生成に用いる共通する1つの背景画像のデータを生成する。そして、パノラマ動画生成部59は、動体となる被写体像の動き毎に、背景画像と動体となる被写体像とを貼り合わせるように合成して、複数のパノラマ画像のデータを生成する。パノラマ動画生成部59は、生成された動体となる被写体像の動き毎のパノラマ画像のデータを用いて、パノラマ動画像のデータを生成する。即ち、パノラマ動画生成部59は、共通する動体検出部57により検出された変化のある被写体像以外の部分と、動体検出部57により検出された変化のある複数の被写体像とに基づいて、パノラマ動画像のデータを生成する。
In the case of this example, panoramic video data can be generated by a generation method different from that of the above-described embodiment.
Specifically, when the captured images (the first captured image P1 to the sixth captured image P6) as in the example of the above-described embodiment are used, the panoramic video generation unit 59 uses the first captured image P1 to the first captured image P1. The panoramic video data is generated using the panoramic images PRP1, PRP2, and PRP3 generated from the six captured images P6.
On the other hand, when the captured images (seventh captured image P7 to twelfth captured image P12) as in this example are used, the panoramic video generation unit 59 is a moving object between captured images having the same imaging range. Data of one common background image used for generating a panoramic moving image is generated using an image of a portion where a subject image is not reflected. Then, the panoramic video generation unit 59 generates a plurality of panoramic image data by combining the background image and the subject image to be a moving object for each movement of the subject image to be a moving object. The panoramic video generation unit 59 generates panoramic moving image data using the generated panoramic image data for each motion of the subject image that is the moving object. In other words, the panoramic video generation unit 59 performs panorama processing based on a part other than the subject image with the change detected by the common moving object detection unit 57 and a plurality of subject images with the change detected by the moving object detection unit 57. Generate moving image data.

以上のように構成される画像処理装置1は、画像取得部54と、被写体検出部56と、動体検出部57と、パノラマ画像生成部58とを備える。
画像取得部54は、連続的に撮像された複数の画像のデータを取得する。
被写体検出部56は、画像取得部54により取得された複数の画像のデータの夫々を処理対象として、当該複数の画像から被写体像を夫々検出する。
動体検出部57は、被写体検出部56複数の画像から検出された被写体像の変化を検出する。
パノラマ画像生成部58は、画像取得部54により取得された複数の画像のデータと、動体検出部57により変化があると検出された被写体像とに基づいて、複数のパノラマ画像のデータを生成する。
従って、画像処理装置1においては、画像取得部54により取得された複数の画像のデータと、動体検出部57により変化があると検出された被写体像とに基づいて、複数のパノラマ画像のデータを生成する。このため、画像処理装置1においては、撮影範囲内の被写体像に動きがある場合であっても、ユーザが所望する構図のパノラマ画像を容易かつ適切に得ることができる。
The image processing apparatus 1 configured as described above includes an image acquisition unit 54, a subject detection unit 56, a moving object detection unit 57, and a panoramic image generation unit 58.
The image acquisition unit 54 acquires data of a plurality of images captured continuously.
The subject detection unit 56 detects subject images from the plurality of images, with each of the data of the plurality of images acquired by the image acquisition unit 54 as a processing target.
The moving object detection unit 57 detects a change in the subject image detected from the plurality of images of the subject detection unit 56.
The panorama image generation unit 58 generates a plurality of panoramic image data based on the data of the plurality of images acquired by the image acquisition unit 54 and the subject image detected by the moving object detection unit 57 as being changed. .
Therefore, in the image processing apparatus 1, a plurality of panoramic image data is obtained based on the data of the plurality of images acquired by the image acquisition unit 54 and the subject image detected by the moving object detection unit 57. Generate. For this reason, the image processing apparatus 1 can easily and appropriately obtain a panoramic image having a composition desired by the user even when the subject image within the shooting range has a motion.

また、画像処理装置1は、画像取得部54により複数の画像のデータの夫々を処理対象として、当該複数の画像の各々から区分された複数の領域を、スリット領域として夫々設定するスリット設定部55をさらに備える。
被写体検出部56は、スリット設定部55により設定されたスリット領域毎に、被写体像を夫々検出する。
従って、画像処理装置1においては、スリット領域の単位で被写体像の検出を行うために、パノラマ画像の生成に際しては、スリット領域をそのまま差し替えるようにすればよく、パノラマ画像の生成に関する処理負担を軽減することができる。
In addition, the image processing apparatus 1 uses the image acquisition unit 54 as a processing target for each of a plurality of image data, and sets a plurality of regions divided from each of the plurality of images as slit regions, respectively. Is further provided.
The subject detection unit 56 detects a subject image for each slit region set by the slit setting unit 55.
Therefore, in the image processing apparatus 1, since the subject image is detected in units of slit areas, it is only necessary to replace the slit areas as they are when generating panoramic images, thereby reducing the processing burden relating to the generation of panoramic images. can do.

また、パノラマ画像生成部58により生成された複数のパノラマ画像のうち、1つのパノラマ画像を選択する記憶制御部52をさらに備える。
従って、画像処理装置1においては、生成された複数のパノラマ画像のうち、所望の構図となるパノラマ画像を生成することができる。
The storage control unit 52 further selects one panoramic image from among the plurality of panoramic images generated by the panoramic image generation unit 58.
Therefore, the image processing apparatus 1 can generate a panoramic image having a desired composition among the plurality of generated panoramic images.

画像処理装置1は、パノラマ画像生成部58は、生成された複数のパノラマ画像を1つの動画像として構成し、パノラマ動画像のデータを生成するパノラマ動画生成部59をさらに備える。
従って、画像処理装置1においては、生成された複数のパノラマ画像からパノラマ動画像を生成することができる。
The image processing apparatus 1 further includes a panoramic video generation unit 59 that forms a plurality of generated panoramic images as one moving image and generates panoramic moving image data.
Therefore, the image processing apparatus 1 can generate a panoramic moving image from a plurality of generated panoramic images.

画像処理装置1は、共通する動体検出部57により検出された変化のある被写体像以外の部分と、動体検出部57により検出された変化のある複数の被写体像とに基づいて、パノラマ動画像のデータをするパノラマ動画生成部59をさらに備える。
従って、画像処理装置1においては、生成された複数のパノラマ画像からパノラマ動画像を生成することができる。
The image processing apparatus 1 is configured to generate a panoramic moving image based on a portion other than the subject image having the change detected by the common moving object detection unit 57 and a plurality of subject images having the change detected by the moving object detection unit 57. A panoramic video generation unit 59 that performs data is further provided.
Therefore, the image processing apparatus 1 can generate a panoramic moving image from a plurality of generated panoramic images.

なお、本発明は、上述の実施形態に限定されるものではなく、本発明の目的を達成できる範囲での変形、改良等は本発明に含まれるものである。   In addition, this invention is not limited to the above-mentioned embodiment, The deformation | transformation in the range which can achieve the objective of this invention, improvement, etc. are included in this invention.

上述の実施形態では、画像取得部54は、図2の例では撮像部17により供給される撮像画像のデータを取得するものとして説明されているが、図2の例に特に限定されず、パノラマ画像を生成可能な画像のデータであれば、その供給元は問わない。例えば、画像取得部54は、リムーバブルメディア31や、通信部21を介するインターネット等から供給される画像のデータを、画像のデータとして取得することもできる。   In the above-described embodiment, the image acquisition unit 54 is described as acquiring data of the captured image supplied by the imaging unit 17 in the example of FIG. 2, but is not particularly limited to the example of FIG. The supply source is not limited as long as the image data can be generated. For example, the image acquisition unit 54 can also acquire image data supplied from the removable media 31 or the Internet via the communication unit 21 as image data.

また、上述の実施形態では、パノラマ画像の生成における処理負担軽減を考慮して、スリット設定部55により、スリット領域を設定して、スリット領域毎に被写体像の検出等を判断したがこれに限られず、検出された被写体像毎に領域を検出して処理を行うようにしてもよい。この場合、画素単位での処理になるため、処理負担は増加するが、検出範囲を狭めることができるために、より違和感のないパノラマ画像を生成することができる。   In the above-described embodiment, the slit setting unit 55 sets the slit area and determines the detection of the subject image for each slit area in consideration of reducing the processing burden in generating the panoramic image. Instead, processing may be performed by detecting a region for each detected subject image. In this case, since the processing is performed in units of pixels, the processing load increases, but the detection range can be narrowed, so that a panoramic image with less sense of incongruity can be generated.

また、上述の実施形態では、本発明が適用される画像処理装置1は、デジタルカメラを例として説明したが、特にこれに限定されない。
例えば、本発明は、パノラマ画像生成処理機能を有する電子機器一般に適用することができる。具体的には、例えば、本発明は、ノート型のパーソナルコンピュータ、プリンタ、テレビジョン受像機、ビデオカメラ、携帯型ナビゲーション装置、携帯電話機、ポータブルゲーム機等に適用可能である。
In the above-described embodiment, the image processing apparatus 1 to which the present invention is applied has been described using a digital camera as an example, but is not particularly limited thereto.
For example, the present invention can be applied to general electronic devices having a panoramic image generation processing function. Specifically, for example, the present invention can be applied to a notebook personal computer, a printer, a television receiver, a video camera, a portable navigation device, a mobile phone, a portable game machine, and the like.

上述した一連の処理は、ハードウェアにより実行させることもできるし、ソフトウェアにより実行させることもできる。
換言すると、図2の機能的構成は例示に過ぎず、特に限定されない。即ち、上述した一連の処理を全体として実行できる機能が画像処理装置1に備えられていれば足り、この機能を実現するためにどのような機能ブロックを用いるのかは特に図2の例に限定されない。
また、1つの機能ブロックは、ハードウェア単体で構成してもよいし、ソフトウェア単体で構成してもよいし、それらの組み合わせで構成してもよい。
The series of processes described above can be executed by hardware or can be executed by software.
In other words, the functional configuration of FIG. 2 is merely an example and is not particularly limited. That is, it is sufficient that the image processing apparatus 1 has a function capable of executing the above-described series of processing as a whole, and what functional blocks are used to realize this function is not particularly limited to the example of FIG. .
In addition, one functional block may be constituted by hardware alone, software alone, or a combination thereof.

一連の処理をソフトウェアにより実行させる場合には、そのソフトウェアを構成するプログラムが、コンピュータ等にネットワークや記録媒体からインストールされる。
コンピュータは、専用のハードウェアに組み込まれているコンピュータであってもよい。また、コンピュータは、各種のプログラムをインストールすることで、各種の機能を実行することが可能なコンピュータ、例えば汎用のパーソナルコンピュータであってもよい。
When a series of processing is executed by software, a program constituting the software is installed on a computer or the like from a network or a recording medium.
The computer may be a computer incorporated in dedicated hardware. The computer may be a computer capable of executing various functions by installing various programs, for example, a general-purpose personal computer.

このようなプログラムを含む記録媒体は、ユーザにプログラムを提供するために装置本体とは別に配布される図1のリムーバブルメディア31により構成されるだけでなく、装置本体に予め組み込まれた状態でユーザに提供される記録媒体等で構成される。リムーバブルメディア31は、例えば、磁気ディスク(フロッピディスクを含む)、光ディスク、又は光磁気ディスク等により構成される。光ディスクは、例えば、CD−ROM(Compact Disk−Read Only Memory),DVD(Digital Versatile Disk)等により構成される。光磁気ディスクは、MD(Mini−Disk)等により構成される。また、装置本体に予め組み込まれた状態でユーザに提供される記録媒体は、例えば、プログラムが記録されている図1のROM12や、図1の記憶部20に含まれるハードディスク等で構成される。   The recording medium including such a program is not only constituted by the removable medium 31 of FIG. 1 distributed separately from the apparatus main body in order to provide the program to the user, but also in a state of being incorporated in the apparatus main body in advance. It is comprised with the recording medium etc. which are provided in this. The removable medium 31 is composed of, for example, a magnetic disk (including a floppy disk), an optical disk, a magneto-optical disk, or the like. The optical disk is composed of, for example, a CD-ROM (Compact Disk-Read Only Memory), a DVD (Digital Versatile Disk), or the like. The magneto-optical disk is configured by an MD (Mini-Disk) or the like. In addition, the recording medium provided to the user in a state of being preliminarily incorporated in the apparatus main body includes, for example, the ROM 12 in FIG. 1 in which a program is recorded, the hard disk included in the storage unit 20 in FIG.

なお、本明細書において、記録媒体に記録されるプログラムを記述するステップは、その順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的或いは個別に実行される処理をも含むものである。
また、本明細書において、システムの用語は、複数の装置や複数の手段などより構成される全体的な装置を意味するものとする。
In the present specification, the step of describing the program recorded on the recording medium is not limited to the processing performed in time series along the order, but is not necessarily performed in time series, either in parallel or individually. The process to be executed is also included.
Further, in the present specification, the term “system” means an overall device configured by a plurality of devices, a plurality of means, and the like.

以上、本発明のいくつかの実施形態について説明したが、これらの実施形態は、例示に過ぎず、本発明の技術的範囲を限定するものではない。本発明はその他の様々な実施形態を取ることが可能であり、さらに、本発明の要旨を逸脱しない範囲で、省略や置換等種々の変更を行うことができる。これら実施形態やその変形は、本明細書等に記載された発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   As mentioned above, although several embodiment of this invention was described, these embodiment is only an illustration and does not limit the technical scope of this invention. The present invention can take other various embodiments, and various modifications such as omission and replacement can be made without departing from the gist of the present invention. These embodiments and modifications thereof are included in the scope and gist of the invention described in this specification and the like, and are included in the invention described in the claims and the equivalent scope thereof.

以下に、本願の出願当初の特許請求の範囲に記載された発明を付記する。
[付記1]
連続的に撮像された複数の画像を取得する取得手段と、
前記取得手段により取得された複数の画像から、共通して存在する被写体像を夫々検出する第1の検出手段と、
前記第1の検出手段により前記複数の画像から検出された被写体像の変化を検出する第2の検出手段と、
前記取得手段により取得された複数の画像と、前記第2の検出手段により変化が検出された被写体像とに基づいて、当該変化が検出された被写体像を夫々含む複数のパノラマ画像を生成する生成手段と、
を備えたことを特徴とする画像処理装置。
[付記2]
前記取得手段により取得された複数の画像の各々から区分された複数の領域を、スリット領域として夫々設定するスリット領域設定手段をさらに備え、
前記第1の検出手段は、前記スリット領域設定手段により設定されたスリット領域毎に、前記被写体像を夫々検出することを特徴とする付記1に記載の画像処理装置。
[付記3]
前記生成手段により夫々生成されたパノラマ画像のうち、1つのパノラマ画像を選択する選択手段と、
前記選択手段により選択されたパノラマ画像を記録媒体に記録させるよう制御する記録手段と、
をさらに備えたことを特徴とする付記1又は2に記載の画像処理装置。
[付記4]
前記複数のパノラマ画像から構成されるパノラマ動画像を生成する動画生成手段をさらに備えたことを特徴とする付記1又は2に記載の画像処理装置。
[付記5]
前記生成手段は、前記取得手段により取得された複数の画像のうち、前記第2の検出手段により変化が検出された被写体像以外の部分と、前記第2の検出手段により変化が検出された複数の被写体像とに基づいて、前記変化が検出された被写体像を夫々含む複数のパノラマ画像を生成することを特徴とする付記1乃至4の何れか1つに記載の画像処理装置。
[付記6]
画像処理装置が実行する画像処理方法において、
連続的に撮像された複数の画像を取得する取得ステップと、
前記取得ステップの処理により取得された複数の画像から、共通して存在する被写体像を夫々検出する第1の検出ステップと、
前記第1の検出ステップの処理により前記複数の画像から検出された被写体像の変化を検出する第2の検出ステップと、
前記取得ステップの処理により取得された複数の画像と、前記第2の検出ステップの処理により変化が検出された被写体像とに基づいて、当該変化が検出された被写体像を夫々含む複数のパノラマ画像を生成する生成ステップと、
を含むことを特徴とする画像処理方法。
[付記7]
コンピュータを、
連続的に撮像された複数の画像を取得する取得手段、
前記取得手段の機能の発揮により取得された複数の画像から、共通して存在する被写体像を夫々検出する第1の検出手段、
前記第1の検出手段の機能の発揮により前記複数の画像から検出された被写体像の変化を検出する第2の検出手段、
前記取得手段の機能の発揮により取得された複数の画像と、前記第2の検出手段の機能の発揮により変化があると検出された被写体像とに基づいて、当該変化が検出された被写体像を夫々含む複数のパノラマ画像を生成する生成手段、
として機能させることを特徴とするプログラム。
The invention described in the scope of claims at the beginning of the filing of the present application will be appended.
[Appendix 1]
An acquisition means for acquiring a plurality of images captured continuously;
First detection means for detecting a common subject image from a plurality of images acquired by the acquisition means;
Second detection means for detecting changes in subject images detected from the plurality of images by the first detection means;
Generation that generates a plurality of panoramic images each including a subject image in which the change is detected based on the plurality of images acquired by the acquisition unit and the subject image in which the change is detected by the second detection unit. Means,
An image processing apparatus comprising:
[Appendix 2]
A slit area setting means for setting a plurality of areas divided from each of the plurality of images acquired by the acquisition means as slit areas, respectively,
The image processing apparatus according to appendix 1, wherein the first detection unit detects the subject image for each slit region set by the slit region setting unit.
[Appendix 3]
Selecting means for selecting one panoramic image from among the panoramic images generated by the generating means;
Recording means for controlling the panorama image selected by the selection means to be recorded on a recording medium;
The image processing apparatus according to appendix 1 or 2, further comprising:
[Appendix 4]
The image processing apparatus according to appendix 1 or 2, further comprising moving image generation means for generating a panoramic moving image composed of the plurality of panoramic images.
[Appendix 5]
The generation unit includes a plurality of images acquired by the acquisition unit, other than the subject image, the change of which is detected by the second detection unit, and a plurality of changes of which are detected by the second detection unit. The image processing apparatus according to any one of appendices 1 to 4, wherein a plurality of panoramic images each including the subject image in which the change is detected is generated based on the subject image.
[Appendix 6]
In the image processing method executed by the image processing apparatus,
An acquisition step of acquiring a plurality of images captured continuously;
A first detection step of detecting a common subject image from a plurality of images acquired by the processing of the acquisition step;
A second detection step of detecting a change in the subject image detected from the plurality of images by the processing of the first detection step;
A plurality of panoramic images each including the subject image in which the change is detected based on the plurality of images acquired by the processing in the acquisition step and the subject image in which the change is detected in the processing in the second detection step A generation step for generating
An image processing method comprising:
[Appendix 7]
Computer
Acquisition means for acquiring a plurality of images captured continuously;
First detecting means for detecting a common subject image from a plurality of images acquired by performing the function of the acquiring means;
Second detection means for detecting changes in subject images detected from the plurality of images by demonstrating the function of the first detection means;
Based on the plurality of images acquired by the function of the acquisition unit and the subject image detected by the function of the second detection unit as a change, the subject image from which the change is detected is obtained. Generating means for generating a plurality of panoramic images each including
A program characterized by functioning as

1・・・画像処理装置、11・・・CPU、12・・・ROM、13・・・RAM、14・・・画像処理部、15・・・バス、16・・・入出力インターフェース、17・・・撮像部、18・・・入力部、19・・・出力部、20・・・記憶部、21・・・通信部、22・・・ドライブ、31・・・リムーバブルメディア、51・・・撮像制御部、52・・・記憶制御部、53・・・画像記憶部、54・・・画像取得部、55・・・スリット設定部、56・・・被写体検出部、57・・・動体検出部、58・・・パノラマ画像生成部、59・・・パノラマ動画生成部   DESCRIPTION OF SYMBOLS 1 ... Image processing apparatus, 11 ... CPU, 12 ... ROM, 13 ... RAM, 14 ... Image processing part, 15 ... Bus, 16 ... Input / output interface, 17. ..Imaging section, 18 ... input section, 19 ... output section, 20 ... storage section, 21 ... communication section, 22 ... drive, 31 ... removable media, 51 ... Imaging control unit, 52 ... storage control unit, 53 ... image storage unit, 54 ... image acquisition unit, 55 ... slit setting unit, 56 ... subject detection unit, 57 ... moving object detection , 58... Panoramic image generation unit, 59... Panoramic video generation unit

Claims (9)

連続的に撮像された複数の画像を取得する取得手段と、
前記取得手段により取得された複数の画像から、共通して存在する被写体像を夫々検出する第1の検出手段と、
前記第1の検出手段により前記複数の画像から検出された被写体像の変化を検出し、変化が検出された第一の被写体像と、前記第一の被写体像とは異なる変化が検出された第二の被写体像とを検出する第2の検出手段と、
前記取得手段により取得された複数の画像と、前記第2の検出手段により変化が検出された前記第一の被写体像と前記第二の被写体像とに基づいて、前記第一の被写体像が含まれる第一のパノラマ画像と、前記第二の被写体像が含まれる第二のパノラマ画像とを生成する生成手段と、
前記生成手段により生成された前記第一のパノラマ画像及び前記第二のパノラマ画像を表示手段に表示させる表示制御手段と、
を備えたことを特徴とする画像処理装置。
An acquisition means for acquiring a plurality of images captured continuously;
First detection means for detecting a common subject image from a plurality of images acquired by the acquisition means;
A change in the subject image detected from the plurality of images is detected by the first detection means, and the first subject image in which the change is detected and a change in which the first subject image is different are detected. Second detection means for detecting a second subject image ;
The first subject image is included based on the plurality of images obtained by the obtaining unit and the first subject image and the second subject image whose change is detected by the second detecting unit. Generating means for generating a first panoramic image and a second panoramic image including the second subject image ;
Display control means for causing the display means to display the first panorama image and the second panorama image generated by the generation means;
An image processing apparatus comprising:
前記取得手段により取得された複数の画像の各々から区分された複数の領域を、スリット領域として夫々設定するスリット領域設定手段をさらに備え、
前記第1の検出手段は、前記スリット領域設定手段により設定されたスリット領域毎に、前記被写体像を夫々検出することを特徴とする請求項1に記載の画像処理装置。
A slit area setting means for setting a plurality of areas divided from each of the plurality of images acquired by the acquisition means as slit areas, respectively,
The image processing apparatus according to claim 1, wherein the first detection unit detects the subject image for each slit region set by the slit region setting unit.
前記生成手段により夫々生成された相異なる複数のパノラマ画像のうち、特定のパノラマ画像を選択する選択手段と、
前記選択手段により選択された前記特定のパノラマ画像を記録手段に記録させるよう制御する記録制御手段、
をさらに備えたことを特徴とする請求項1又は2に記載の画像処理装置。
A selection unit that selects a specific panoramic image from a plurality of different panoramic images generated by the generation unit;
Recording control means for controlling the recording means to record the specific panoramic image selected by the selection means;
The image processing apparatus according to claim 1, further comprising:
前記複数種のパノラマ画像から構成されるパノラマ動画像を生成する動画生成手段をさらに備えたことを特徴とする請求項1又は2に記載の画像処理装置。   The image processing apparatus according to claim 1, further comprising a moving image generation unit configured to generate a panoramic moving image composed of the plurality of types of panoramic images. 前記生成手段は、前記取得手段により取得された複数の画像のうち、前記第2の検出手段により変化が検出された被写体像以外の部分と、前記第2の検出手段により変化が検出された複数の被写体像とに基づいて、前記変化が検出された被写体像の夫々に対応したパノラマ画像を生成することを特徴とする請求項1乃至4の何れか1項に記載の画像処理装置。   The generation unit includes a plurality of images acquired by the acquisition unit, other than the subject image, the change of which is detected by the second detection unit, and a plurality of changes of which are detected by the second detection unit. 5. The image processing apparatus according to claim 1, wherein a panorama image corresponding to each of the subject images in which the change is detected is generated based on the subject image of the subject. 前記選択手段は、前記表示手段に表示される前記相異なる複数のパノラマ画像から少なくとも1つの特定のパノラマ画像をユーザに選択させることを特徴とする請求項3乃至5の何れか1項に記載の画像処理装置。   The said selection means makes a user select at least 1 specific panoramic image from the said several different panoramic images displayed on the said display means, The any one of Claim 3 thru | or 5 characterized by the above-mentioned. Image processing device. 前記選択手段は、入力手段へのユーザの入力操作を検知する検知手段を更に備え、
前記選択手段は、前記検知手段による検知結果に基づいて、前記相異なる複数のパノラマ画像から特定のパノラマ画像を選択することを特徴とする請求項3乃至6の何れか1項に記載の画像処理装置。
The selection means further comprises a detection means for detecting a user input operation to the input means,
The image processing according to claim 3, wherein the selection unit selects a specific panoramic image from the plurality of different panoramic images based on a detection result by the detection unit. apparatus.
画像処理装置が実行する画像処理方法において、
連続的に撮像された複数の画像を取得する取得ステップと、
前記取得ステップの処理により取得された複数の画像から、共通して存在する被写体像を夫々検出する第1の検出ステップと、
前記第1の検出ステップの処理により前記複数の画像から検出された被写体像の変化を検出し、変化が検出された第一の被写体像と、前記第一の被写体像とは異なる変化が検出された第二の被写体像とを検出する第2の検出ステップと、
前記取得ステップの処理により取得された複数の画像と、前記第2の検出ステップの処理により変化が検出された被写体像とに基づいて、当該変化が検出された前記第一の被写体像と前記第二の被写体像とに基づいて、前記第一の被写体像が含まれる第一のパノラマ画像と、前記第二の被写体像が含まれる第二のパノラマ画像とを生成する生成ステップと、
前記生成ステップにより生成された前記第一のパノラマ画像及び前記第二のパノラマ画像を表示手段に表示させる表示制御ステップと、
を含むことを特徴とする画像処理方法。
In the image processing method executed by the image processing apparatus,
An acquisition step of acquiring a plurality of images captured continuously;
A first detection step of detecting a common subject image from a plurality of images acquired by the processing of the acquisition step;
A change in the subject image detected from the plurality of images is detected by the processing of the first detection step, and a change different from the first subject image in which the change is detected and the first subject image is detected. A second detection step for detecting a second subject image ;
Based on the plurality of images acquired by the process of the acquisition step and the subject image for which the change is detected by the process of the second detection step, the first subject image in which the change is detected, and the first image on the basis of the second subject image, a generation step of generating a first panoramic image included the first object image and a second panorama image included the second subject image,
A display control step for causing the display means to display the first panorama image and the second panorama image generated by the generation step;
An image processing method comprising:
コンピュータを、
連続的に撮像された複数の画像を取得する取得手段、
前記取得手段の機能の発揮により取得された複数の画像から、共通して存在する被写体像を夫々検出する第1の検出手段、
前記第1の検出手段の機能の発揮により前記複数の画像から検出された被写体像の変化を検出し、変化が検出された第一の被写体像と、前記第一の被写体像とは異なる変化が検出された第二の被写体像とを検出する第2の検出手段、
前記取得手段の機能の発揮により取得された複数の画像と、前記第2の検出手段の機能の発揮により変化があると検出された被写体像とに基づいて、当該変化が検出された前記第一の被写体像と前記第二の被写体像とに基づいて、前記第一の被写体像が含まれる第一のパノラマ画像と、前記第二の被写体像が含まれる第二のパノラマ画像とを生成する生成手段、
前記生成手段により生成された前記第一のパノラマ画像及び前記第二のパノラマ画像を表示手段に表示させる表示制御手段、
として機能させることを特徴とするプログラム。
Computer
Acquisition means for acquiring a plurality of images captured continuously;
First detecting means for detecting a common subject image from a plurality of images acquired by performing the function of the acquiring means;
A change in the subject image detected from the plurality of images is detected by the function of the first detection means, and the first subject image from which the change is detected differs from the first subject image. Second detection means for detecting the detected second subject image ;
The first in which the change is detected based on the plurality of images acquired by the function of the acquisition unit and the subject image detected as having changed by the function of the second detection unit . Generating a first panoramic image including the first subject image and a second panoramic image including the second subject image based on the subject image and the second subject image means,
Display control means for causing the display means to display the first panorama image and the second panorama image generated by the generation means;
A program characterized by functioning as
JP2011217801A 2011-09-30 2011-09-30 Image processing apparatus, image processing method, and program Expired - Fee Related JP5948779B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011217801A JP5948779B2 (en) 2011-09-30 2011-09-30 Image processing apparatus, image processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011217801A JP5948779B2 (en) 2011-09-30 2011-09-30 Image processing apparatus, image processing method, and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2016113959A Division JP6241503B2 (en) 2016-06-08 2016-06-08 Image processing apparatus, image processing method, and program

Publications (2)

Publication Number Publication Date
JP2013077228A JP2013077228A (en) 2013-04-25
JP5948779B2 true JP5948779B2 (en) 2016-07-06

Family

ID=48480627

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011217801A Expired - Fee Related JP5948779B2 (en) 2011-09-30 2011-09-30 Image processing apparatus, image processing method, and program

Country Status (1)

Country Link
JP (1) JP5948779B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106710000B (en) * 2016-12-05 2019-07-09 武汉大学 A kind of image projecting method constructing continuous scene based on discrete panorama sketch

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3757008B2 (en) * 1996-10-14 2006-03-22 シャープ株式会社 Image synthesizer
JP2005275765A (en) * 2004-03-24 2005-10-06 Seiko Epson Corp Image processor, image processing method, image processing program and recording medium recording the program
JP5359783B2 (en) * 2009-10-28 2013-12-04 ソニー株式会社 Image processing apparatus and method, and program
JP2011163766A (en) * 2010-02-04 2011-08-25 Omron Corp Image processing method and image processing system

Also Published As

Publication number Publication date
JP2013077228A (en) 2013-04-25

Similar Documents

Publication Publication Date Title
JP5754312B2 (en) Image processing apparatus, image processing method, and program
JP5655667B2 (en) Imaging apparatus, imaging control method, image processing apparatus, image processing method, and program
JP5799863B2 (en) Image processing apparatus, image processing method, and program
JP2011130382A (en) Image-capturing apparatus and control method therefor
JP5609742B2 (en) Imaging apparatus, image composition method, and program
JP6652039B2 (en) Imaging device, imaging method, and program
JP5804138B1 (en) Detection apparatus, detection method, and program
US8971662B2 (en) Image processing apparatus, image processing method, and recording medium
JP2007142565A (en) Imaging apparatus and method thereof
JP2012248937A (en) Imaging apparatus, image processor, and imaging method
JP5696419B2 (en) Image processing apparatus and method, and program
JP5884723B2 (en) Image composition apparatus, image composition method, and program
JP2015119323A (en) Imaging apparatus, image acquiring method and program
JP2014187551A (en) Image acquisition device, image acquisition method and program
JP2013074572A (en) Image processing apparatus, image processing method, and program
JP5790858B2 (en) Image composition apparatus, image composition method, and program
US20160284063A1 (en) Image processing apparatus, image processing method and recording medium recording program for correcting image in predetermined area
JP5948779B2 (en) Image processing apparatus, image processing method, and program
JP6241503B2 (en) Image processing apparatus, image processing method, and program
JP6427859B2 (en) Image processing apparatus, image processing method, and program
JP2013186355A (en) Automatic focusing apparatus, automatic focusing method, and program
JP5741062B2 (en) Image processing apparatus, image processing method, and program
JP6757245B2 (en) Video playback device, imaging device, video playback method and program
JP6357922B2 (en) Image processing apparatus, image processing method, and program
JP2015061234A (en) Image processing apparatus, image processing method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140912

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150610

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150616

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150810

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160216

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160414

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: 20160510

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160523

R150 Certificate of patent or registration of utility model

Ref document number: 5948779

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees