JP5863257B2 - Panorama image generation apparatus and generation method - Google Patents

Panorama image generation apparatus and generation method Download PDF

Info

Publication number
JP5863257B2
JP5863257B2 JP2011052963A JP2011052963A JP5863257B2 JP 5863257 B2 JP5863257 B2 JP 5863257B2 JP 2011052963 A JP2011052963 A JP 2011052963A JP 2011052963 A JP2011052963 A JP 2011052963A JP 5863257 B2 JP5863257 B2 JP 5863257B2
Authority
JP
Japan
Prior art keywords
imaging
imaging range
long side
range
panoramic image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2011052963A
Other languages
Japanese (ja)
Other versions
JP2012191425A5 (en
JP2012191425A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2011052963A priority Critical patent/JP5863257B2/en
Publication of JP2012191425A publication Critical patent/JP2012191425A/en
Publication of JP2012191425A5 publication Critical patent/JP2012191425A5/ja
Application granted granted Critical
Publication of JP5863257B2 publication Critical patent/JP5863257B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stereoscopic And Panoramic Photography (AREA)
  • Accessories Of Cameras (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Studio Devices (AREA)

Description

本発明は、複数回の撮像によりパノラマ画像を生成する生成方法に関する。   The present invention relates to a generation method for generating a panoramic image by imaging a plurality of times.

パン・チルト機構をもったカメラを用いたパノラマ画像の生成方法として、パン・チルト機構の制御によりカメラの撮像方向を順次変えて複数回の撮像を行い、得られた複数の画像に対し射影変換等の処理をする方法が知られている。   As a panoramic image generation method using a camera with a pan / tilt mechanism, the pan / tilt mechanism controls the camera's imaging direction to perform multiple image captures, and projective conversion is performed on the resulting multiple images. A method for performing such processing is known.

特許文献1には、パン・チルト機構の制御により撮像方向を順次変えて撮像した複数の画像を用いてパノラマ画像を生成することが記載されている。   Patent Document 1 describes that a panoramic image is generated using a plurality of images captured by sequentially changing the imaging direction under the control of a pan / tilt mechanism.

特開2001−136514号公報JP 2001-136514 A

しかしながら、パノラマ画像の生成に用いるカメラによっては、パノラマ画像の視野範囲が狭くなってしまう恐れがあった。   However, depending on the camera used for generating the panoramic image, there is a risk that the viewing range of the panoramic image may be narrowed.

例えば、撮像範囲の短辺がチルト方向に対応する状態で撮像された複数の撮像画像でパノラマ画像を生成すると、長辺がチルト方向に対応する状態で撮像した撮像画像でパノラマ画像を生成するよりも、パノラマ画像のチルト方向の視野範囲が狭くなってしまう恐れがあった。   For example, when a panoramic image is generated with a plurality of captured images captured with the short side of the imaging range corresponding to the tilt direction, the panoramic image is generated with the captured image captured with the long side corresponding to the tilt direction. However, there is a possibility that the viewing range in the tilt direction of the panoramic image becomes narrow.

より具体的に、図1に示すような、撮像範囲が長辺と短辺で構成される撮像部の撮像方向を制御して、パノラマ画像の生成に用いる複数の撮像画像を取得する場合について説明する。図1(a)の撮像範囲103は、撮像範囲の長辺がパン方向に対応する状態の撮像範囲を示しており、図1(d)の撮像範囲106は、撮像範囲の長辺がチルト方向に対応する状態の撮像範囲を示している。例えば、図1(a)のような状態で、チルト機構の可動範囲の限界に対応する領域(例えばチルト角が0度のときの撮像範囲)を撮像すると、図1(d)のような状態で撮像するよりも、チルト方向の視野範囲が狭くなってしまう恐れがあった。   More specifically, a case where a plurality of captured images used for generating a panoramic image is acquired by controlling the imaging direction of an imaging unit having an imaging range composed of long sides and short sides as shown in FIG. To do. An imaging range 103 in FIG. 1A shows an imaging range in which the long side of the imaging range corresponds to the pan direction, and an imaging range 106 in FIG. 1D has a long side of the imaging range in the tilt direction. The imaging range in a state corresponding to is shown. For example, when a region corresponding to the limit of the movable range of the tilt mechanism (for example, an imaging range when the tilt angle is 0 degree) is imaged in the state shown in FIG. 1A, the state shown in FIG. There is a risk that the field of view in the tilt direction will be narrower than when imaging with.

本発明は、上記の問題点に鑑みてなされたものであり、その目的は、より広い視野範囲のパノラマ画像が得られるようにすることである。   The present invention has been made in view of the above-described problems, and an object thereof is to obtain a panoramic image having a wider visual field range.

上記目的を達成するために、本発明の生成装置は、例えば以下の構成を有する。すなわち、撮像部の撮像範囲を制御してパノラマ画像を生成する生成装置であって、撮像範囲が長辺と短辺で構成される撮像範囲の回転のための回転機構を前記パノラマ画像の生成のために制御する制御手段と、前記撮像範囲の長辺がパン方向に対応する状態で撮像される範囲よりも広い範囲が撮影されるように前記撮像範囲の長辺がチルト方向に対応するように前記撮像範囲を回転して撮像した複数の撮像画像を含む撮像画像からパノラマ画像を生成する生成手段とを有する。 In order to achieve the above object, the generating apparatus of the present invention has, for example, the following configuration. That is, a generation device that generates a panoramic image by controlling an imaging range of an imaging unit, and includes a rotation mechanism for rotating an imaging range in which the imaging range includes long sides and short sides. And a long side of the imaging range corresponding to the tilt direction so that a wider range is photographed than a range where the long side of the imaging range corresponds to the pan direction. Generating means for generating a panoramic image from a captured image including a plurality of captured images captured by rotating the imaging range .

本発明によれば、撮像範囲の長辺がパン方向に対応する状態で撮像される範囲よりも広い範囲を含むパノラマ画像が得られるようになる。 According to the present invention, it is possible to obtain a panoramic image including a wider range than the range captured in a state where the long side of the imaging range corresponds to the pan direction .

パノラマ画像の生成方法を説明するための図Diagram for explaining a method for generating a panoramic image 本実施形態のカメラ装置を示す図The figure which shows the camera apparatus of this embodiment ネットワークカメラシステムの構成例を示す図The figure which shows the structural example of a network camera system パノラマ画像の生成処理を説明するためのフローチャートFlowchart for explaining panorama image generation processing パノラマ画像の視野範囲の比較を示した図Figure showing a comparison of the field of view of panoramic images

以下に、本発明の好ましい実施の形態を、添付の図面に基づいて説明する。   Preferred embodiments of the present invention will be described below with reference to the accompanying drawings.

本実施形態のカメラ装置の構成とパノラマ画像の生成方法の概要を、図1及び図2を用いて説明する。   An outline of the configuration of the camera device and the panoramic image generation method according to the present embodiment will be described with reference to FIGS. 1 and 2.

図2(a)は、本形態のカメラ装置110の側面図である。パン駆動部はボトムケース201とターンテーブル202で構成され、パン回転軸203を中心にターンテーブル202が回転する構造となっている。また、図2(b)はカメラ装置110の正面図である。チルト駆動部は、レンズ支柱204とレンズケース206で構成され、チルト回転軸205を中心にレンズケース206が回転する構造となっている。ただし、カメラ装置110の構造は、これに限らない。   FIG. 2A is a side view of the camera apparatus 110 of the present embodiment. The pan driving unit includes a bottom case 201 and a turntable 202, and has a structure in which the turntable 202 rotates around a pan rotation shaft 203. FIG. 2B is a front view of the camera device 110. The tilt drive unit includes a lens column 204 and a lens case 206, and has a structure in which the lens case 206 rotates about a tilt rotation shaft 205. However, the structure of the camera device 110 is not limited to this.

図1(a)〜(c)は、ローテート機構を駆動しない場合、すなわち、ローテート角が0度に固定された状態で、パノラマ画像を生成する場合の例を示している。図1(a)は、カメラ装置110のチルト角が0度(チルト機構の可動範囲の限界)のときのカメラ装置110の状態を示している。なお、図1(a)に示すように、本形態のカメラ装置110の撮像範囲103は長辺と短辺で構成される。   FIGS. 1A to 1C show an example in which a panoramic image is generated when the rotation mechanism is not driven, that is, in a state where the rotation angle is fixed at 0 degrees. FIG. 1A shows a state of the camera device 110 when the tilt angle of the camera device 110 is 0 degree (limit of the movable range of the tilt mechanism). As shown in FIG. 1A, the imaging range 103 of the camera device 110 according to the present embodiment includes a long side and a short side.

また、図1(b)は、撮像範囲の長辺がパン方向に対応する状態で撮像してパノラマ画像を生成する場合の例を示している。図1(b)において、101はカメラ設置位置、102は撮像方向、103は撮像方向102のときの撮像範囲、104は撮像方向の駆動可能範囲を示している。駆動可能範囲104で示すように、本形態のカメラ装置110は、パン方向は360度の駆動が可能であり、チルト方向は0度〜90度の駆動が可能である。図1(c)は、チルト角が0度のときに、ローテート角を0度の状態で撮像した場合の撮像範囲の例である。図1(c)に示すように、ローテート角が0度の状態では、カメラ装置110の撮像範囲の長辺はパン方向に対応し、短辺はチルト方向に対応している。   FIG. 1B illustrates an example in which a panoramic image is generated by capturing an image in a state where the long side of the imaging range corresponds to the pan direction. In FIG. 1B, reference numeral 101 denotes a camera installation position, 102 denotes an imaging direction, 103 denotes an imaging range in the imaging direction 102, and 104 denotes a drivable range in the imaging direction. As indicated by the drivable range 104, the camera device 110 of the present embodiment can be driven 360 degrees in the pan direction and can be driven 0 to 90 degrees in the tilt direction. FIG. 1C is an example of an imaging range when imaging is performed with the rotation angle being 0 degrees when the tilt angle is 0 degrees. As shown in FIG. 1C, when the rotation angle is 0 degree, the long side of the imaging range of the camera apparatus 110 corresponds to the pan direction, and the short side corresponds to the tilt direction.

一方、図1(d)、(e)は、ローテート角を90度にした状態でパノラマ画像を生成する場合の例を示している。図1(d)は、カメラ装置110のチルト角が0度のときのカメラ装置110の状態を示している。図1(d)に示すように、ローテート角を90度にすることで、撮像範囲の長辺がチルト方向に対応し、短辺がパン方向に対応する状態となっている。   On the other hand, FIGS. 1D and 1E show an example in which a panoramic image is generated in a state where the rotation angle is 90 degrees. FIG. 1D shows a state of the camera apparatus 110 when the tilt angle of the camera apparatus 110 is 0 degrees. As shown in FIG. 1D, by setting the rotation angle to 90 degrees, the long side of the imaging range corresponds to the tilt direction and the short side corresponds to the pan direction.

図1(e)は、チルト角が0度のときに、ローテート角を90度にして撮像した場合の撮像範囲の例である。図1(c)及び(e)を比較してわかるように、ローテート角を90度にすることで、ローテート角が0度のときよりも、より下方向の撮像範囲を広くすることができる。   FIG. 1E is an example of an imaging range when imaging is performed with a rotation angle of 90 degrees when the tilt angle is 0 degrees. As can be seen by comparing FIGS. 1C and 1E, by setting the rotation angle to 90 degrees, the imaging range in the lower direction can be made wider than when the rotation angle is 0 degrees.

図3は、本実施形態のネットワークカメラシステムのブロック図である。
図3に示すように、カメラサーバ301、ビューワクライアント302(以下、クライアント302)、パノラマ画像生成クライアント303(以下、生成クライアント303)が、ネットワーク304を介して接続されている。なお、カメラサーバ301は、図1及び図2のカメラ装置110に対応する。また、本形態では、ネットワーク304に、それぞれ1台ずつ接続される例を説明するが、複数台接続されるようにしても良い。
FIG. 3 is a block diagram of the network camera system of the present embodiment.
As shown in FIG. 3, a camera server 301, a viewer client 302 (hereinafter referred to as a client 302), and a panorama image generation client 303 (hereinafter referred to as a generation client 303) are connected via a network 304. The camera server 301 corresponds to the camera device 110 in FIGS. 1 and 2. In this embodiment, an example in which one unit is connected to the network 304 is described. However, a plurality of units may be connected.

また、ネットワーク304は、後で述べる制御コマンドや画像データを通すのに十分な帯域があるインターネットやイントラネット等のディジタルネットワークであればどのようなものでもよい。なお、本形態では、ネットワークプロトコルとしてTCP/IP(UDP/IP)プロトコルを用いるものし、各装置には、それぞれ異なるIPアドレスを割り当てられているものとする。   The network 304 may be any digital network such as the Internet or an intranet having a sufficient bandwidth for passing control commands and image data described later. In this embodiment, the TCP / IP (UDP / IP) protocol is used as the network protocol, and each device is assigned a different IP address.

カメラサーバ301は、ビデオカメラ311、可動雲台312、カメラ・雲台制御部313、通信制御部314、画像入力部315、画像圧縮部316、コマンド解釈部317、記憶部318を含んで構成される。ただし、ビデオカメラ311は、カメラサーバ301とは別の装置であっても良い。
ビデオカメラ311は、撮像して得られた画像データを画像入力部315へ渡す。なお、本形態のビデオカメラ311の撮像範囲は、長辺と短辺で構成される。また、ビデオカメラ311は、動画を撮像することも、静止画を撮像することも可能である。また、ビデオカメラ311のズーム倍率などを含む各種撮像パラメータは、通信制御部314でクライアントから受信した制御コマンドに応じて変更可能である。
The camera server 301 includes a video camera 311, a movable head 312, a camera / head control unit 313, a communication control unit 314, an image input unit 315, an image compression unit 316, a command interpretation unit 317, and a storage unit 318. The However, the video camera 311 may be a device different from the camera server 301.
The video camera 311 passes the image data obtained by imaging to the image input unit 315. Note that the imaging range of the video camera 311 of this embodiment is configured with a long side and a short side. The video camera 311 can capture a moving image or a still image. Various imaging parameters including the zoom magnification of the video camera 311 can be changed according to a control command received from the client by the communication control unit 314.

画像入力部315は、ビデオカメラ311により得られた画像データを画像圧縮部316へ渡す。画像圧縮部316は、画像入力部315からの画像データを圧縮し、通信に必要なヘッダを付加して通信パケットを生成する。本形態の画像圧縮部316は、ビデオカメラ311からのNTSC画像信号をA/D変換し、さらに、MotionJEPGで圧縮するが、この形態に限らない。また、画像データは圧縮しなくても良い。画像圧縮部316は、画像データの通信パケットを通信制御部314へ渡す。   The image input unit 315 passes the image data obtained by the video camera 311 to the image compression unit 316. The image compression unit 316 compresses the image data from the image input unit 315, adds a header necessary for communication, and generates a communication packet. The image compression unit 316 of the present embodiment performs A / D conversion on the NTSC image signal from the video camera 311 and further compresses it with MotionJEPG. However, the present invention is not limited to this. Further, the image data may not be compressed. The image compression unit 316 passes the communication packet of image data to the communication control unit 314.

通信制御部314は、画像圧縮部316からの画像データをネットワーク304を介してクライアント302や生成クライアント303へ送信する。また、通信制御部314は、クライアント302や生成クライアント303から、ビデオカメラ311の撮像方向やズーム倍率などの制御のための制御コマンドを受信する。通信制御部314は、受信した制御コマンドをコマンド解釈部317へ渡す。コマンド解釈部317は、受信した制御コマンドの内容に応じて、カメラ・雲台制御部313を介して可動雲台312のパン角、チルト角、ローテート角や、ビデオカメラ311のズーム倍率等を制御する。   The communication control unit 314 transmits the image data from the image compression unit 316 to the client 302 and the generation client 303 via the network 304. The communication control unit 314 also receives control commands for controlling the imaging direction of the video camera 311 and the zoom magnification from the client 302 and the generation client 303. The communication control unit 314 passes the received control command to the command interpretation unit 317. The command interpreter 317 controls the pan angle, tilt angle, and rotate angle of the movable camera platform 312, the zoom magnification of the video camera 311, and the like via the camera / camera controller 313 according to the contents of the received control command. To do.

記憶部318は、生成クライアント303により生成されたパノラマ画像を記憶する。また、記憶部318は、現在のパン角、チルト角、ローテート角などの各種パラメータや、過去の撮像で得られた画像データなどを記憶する。   The storage unit 318 stores the panoramic image generated by the generation client 303. In addition, the storage unit 318 stores various parameters such as the current pan angle, tilt angle, and rotate angle, image data obtained by past imaging, and the like.

クライアント302は、カメラサーバ301のIPアドレスを指定してカメラサーバ301に接続し、カメラサーバ301から受信した画像データに応じた画像を表示させるクライアントである。また、本形態のクライアント302は、可動雲台312のパン角、チルト角、ローテート角や、ビデオカメラ311のズーム倍率などを制御することが可能である。
クライアント302は、通信制御部321、コマンド生成部322、操作入力部323、表示制御部324、画像伸長部325、表示部326を含んで構成される。
The client 302 is a client that designates the IP address of the camera server 301 to connect to the camera server 301 and displays an image corresponding to the image data received from the camera server 301. In addition, the client 302 according to this embodiment can control the pan angle, tilt angle, and rotate angle of the movable camera platform 312, the zoom magnification of the video camera 311, and the like.
The client 302 includes a communication control unit 321, a command generation unit 322, an operation input unit 323, a display control unit 324, an image expansion unit 325, and a display unit 326.

通信制御部321は、カメラサーバ301から画像データを受信して画像伸長部325へ渡す。通信制御部321が受信する画像データには、パノラマ画像データが含まれる。画像伸長部325は、通信制御部321からの画像データを伸長する。画像伸長部325は、伸長した画像データを表示制御部324へ渡す。表示制御部324は、画像伸長部325からの画像データに基づく画像を表示部326で表示させる。   The communication control unit 321 receives image data from the camera server 301 and passes it to the image decompression unit 325. The image data received by the communication control unit 321 includes panoramic image data. The image decompression unit 325 decompresses the image data from the communication control unit 321. The image decompression unit 325 passes the decompressed image data to the display control unit 324. The display control unit 324 causes the display unit 326 to display an image based on the image data from the image expansion unit 325.

また、クライアント302の操作入力部323は、クライアント302のユーザによる操作内容をコマンド生成部322へ渡す。本形態の操作入力部323は、ユーザ操作のためのGUI(グラフィカルユーザインタフェース)を提供することが可能である。操作入力部323は、例えば、ユーザが、マウスクリックやドラッグで、カメラサーバ301の可動雲台312のパン角、チルト角、ローテート角を制御するための操作が行われた場合、制御内容をコマンド生成部322へ渡す。コマンド生成部322は、操作入力部323からの制御内容に基づいて制御コマンドを生成する。通信制御部321は、コマンド生成部322により生成された制御コマンドをカメラサーバ301へ送信する。カメラサーバ301は、クライアント302から受信した制御コマンドの内容に応じて、パン角、チルト角、ローテート角、ズーム倍率等を制御する。   In addition, the operation input unit 323 of the client 302 passes the operation content by the user of the client 302 to the command generation unit 322. The operation input unit 323 according to the present embodiment can provide a GUI (graphical user interface) for user operation. For example, when the user performs an operation for controlling the pan angle, the tilt angle, and the rotate angle of the movable camera platform 312 of the camera server 301 by a mouse click or drag, the operation input unit 323 displays the control content as a command. The data is passed to the generation unit 322. The command generation unit 322 generates a control command based on the control content from the operation input unit 323. The communication control unit 321 transmits the control command generated by the command generation unit 322 to the camera server 301. The camera server 301 controls the pan angle, tilt angle, rotate angle, zoom magnification, and the like according to the contents of the control command received from the client 302.

また、クライアント302の操作入力部323は、制御コマンドに応じた制御後のパラメータ(パン角、チルト角、ローテート角など)のカメラサーバ301からの通知を受けて、上記のGUIの表示を変更する。このようにすることで、クライアント302のユーザは、現在のカメラサーバ301の状態を知ることができる。   In addition, the operation input unit 323 of the client 302 changes the display of the above-described GUI in response to the notification from the camera server 301 of parameters (pan angle, tilt angle, rotate angle, etc.) after control according to the control command. . In this way, the user of the client 302 can know the current state of the camera server 301.

生成クライアント303は、クライアント302と同様に、カメラサーバ301のIPアドレスを指定してカメラサーバ301に接続し、カメラサーバ301から受信した画像データに応じた画像を表示させるクライアントである。また、生成クライアント303は、カメラサーバ301のパン角、チルト角、ローテート角、ズーム倍率などを制御することも可能である。
生成クライアント303は、画像圧縮部331、通信制御部332、コマンド生成部333、パラメータ決定部334、操作入力部335、表示制御部336、画像伸長部337、表示部338、画像合成部339を含んで構成される。以下、生成クライアント303の機能について、クライアント302との差異を中心に説明する。
Similar to the client 302, the generation client 303 is a client that designates the IP address of the camera server 301 to connect to the camera server 301 and displays an image corresponding to the image data received from the camera server 301. The generation client 303 can also control the pan angle, tilt angle, rotate angle, zoom magnification, and the like of the camera server 301.
The generation client 303 includes an image compression unit 331, a communication control unit 332, a command generation unit 333, a parameter determination unit 334, an operation input unit 335, a display control unit 336, an image expansion unit 337, a display unit 338, and an image composition unit 339. Consists of. Hereinafter, the function of the generation client 303 will be described focusing on differences from the client 302.

まず、生成クライアント303がパノラマ画像を生成しない場合の画像表示処理について説明する。通信制御部332は、カメラサーバ301からの画像データを画像伸長部337へ渡す。画像伸長部337は、通信制御部332からの画像データを伸長して表示制御部336へ渡し、表示制御部336は、画像伸長部337からの画像データに応じた画像を表示部338で表示させる。   First, image display processing when the generation client 303 does not generate a panoramic image will be described. The communication control unit 332 passes the image data from the camera server 301 to the image decompression unit 337. The image decompression unit 337 decompresses the image data from the communication control unit 332 and passes it to the display control unit 336, and the display control unit 336 causes the display unit 338 to display an image corresponding to the image data from the image decompression unit 337. .

次に、生成クライアント303がパノラマ画像を生成する場合の処理について説明する。例えば、生成クライアント303のユーザが、操作入力部335からパノラマ画像の生成指示を入力したことに応じて、パノラマ画像の生成処理が開始される。パノラマ画像の生成指示が入力されると、パラメータ決定部334は、カメラサーバ301の制御パラメータを決定する。算出される制御パラメータは、例えば、パン角、チルト角、ローテート角などである。パラメータ決定部334による制御パラメータの決定方法の詳細は後述する。   Next, processing when the generation client 303 generates a panoramic image will be described. For example, in response to the user of the generation client 303 inputting a panoramic image generation instruction from the operation input unit 335, a panoramic image generation process is started. When a panoramic image generation instruction is input, the parameter determination unit 334 determines the control parameters of the camera server 301. The calculated control parameters are, for example, a pan angle, a tilt angle, and a rotate angle. Details of the control parameter determination method by the parameter determination unit 334 will be described later.

コマンド生成部333は、パラメータ決定部334により決定された制御パラメータに基づいてカメラサーバ301に対する制御コマンドを生成し、通信制御部332を介してカメラサーバ301へ送信する。通信制御部332は、制御コマンドに応じてカメラサーバ301で撮像された画像データを受信すると、画像伸長部337へ渡す。ここで受信される画像データは、パノラマ画像の一部を構成する画像データである。画像伸長部337は、通信制御部332からの画像データを伸長して画像合成部339へ渡す。   The command generation unit 333 generates a control command for the camera server 301 based on the control parameter determined by the parameter determination unit 334 and transmits the control command to the camera server 301 via the communication control unit 332. When the communication control unit 332 receives image data captured by the camera server 301 in response to the control command, the communication control unit 332 passes the image data to the image expansion unit 337. The image data received here is image data constituting a part of the panoramic image. The image decompression unit 337 decompresses the image data from the communication control unit 332 and passes it to the image composition unit 339.

画像合成部339は、画像伸長部337から受信した複数の画像データを合成してパノラマ画像を生成する。本形態の画像合成部339は、射影変換によって複数の画像データを合成するが、この方法に限らない。画像合成部339により生成されたパノラマ画像は画像圧縮部331で圧縮され、通信制御部332を介してカメラサーバ301へ送信される。カメラサーバ301の通信制御部314は、生成クライアント303から受信したパノラマ画像を記憶部318に記憶させ、クライアント302等からの要求に応じてパノラマ画像を提供する。なお、本実施形態では、パノラマ画像を生成クライアント303で生成したが、パノラマ画像をカメラサーバ301で生成してもよい。   The image composition unit 339 generates a panoramic image by combining a plurality of image data received from the image decompression unit 337. The image composition unit 339 of the present embodiment composes a plurality of image data by projective transformation, but is not limited to this method. The panorama image generated by the image composition unit 339 is compressed by the image compression unit 331 and transmitted to the camera server 301 via the communication control unit 332. The communication control unit 314 of the camera server 301 stores the panoramic image received from the generation client 303 in the storage unit 318 and provides the panoramic image in response to a request from the client 302 or the like. In this embodiment, the panorama image is generated by the generation client 303, but the panorama image may be generated by the camera server 301.

次に、生成クライアント303によるパノラマ画像の生成処理について、図4を用いて説明する。本形態の生成クライアント303は、撮像範囲が長辺と短辺で構成されるビデオカメラ311の撮像方向を制御してパノラマ画像を生成する生成装置である。生成クライアント303は、図4の処理を実行するためのプログラムを、CPUで読み出して実行することにより、図4の処理を実現する。ただし、図4の処理の少なくとも一部を専用のハードウェアで行うようにしても良い。また、本形態の生成クライアント303は、操作入力部335で、ユーザからパノラマ画像の生成指示が入力されたことに応じて図4の処理を開始する例について説明するが、パノラマ画像の生成タイミングは、この例に限らない。   Next, panorama image generation processing by the generation client 303 will be described with reference to FIG. The generation client 303 of this embodiment is a generation device that generates a panoramic image by controlling the imaging direction of the video camera 311 having an imaging range composed of long sides and short sides. The generation client 303 implements the processing of FIG. 4 by reading out and executing the program for executing the processing of FIG. 4 by the CPU. However, at least a part of the processing of FIG. 4 may be performed by dedicated hardware. The generation client 303 of the present embodiment will describe an example in which the operation input unit 335 starts the processing in FIG. 4 in response to a panoramic image generation instruction input from the user. However, the present invention is not limited to this example.

操作入力部335でパノラマ画像の生成指示が入力されると、コマンド生成部333は、カメラサーバ301の撮像方向やズーム倍率を初期状態にするための制御コマンドを通信制御部332を介してカメラサーバ301へ送信する(S41)。   When a panoramic image generation instruction is input via the operation input unit 335, the command generation unit 333 sends a control command for setting the imaging direction and zoom magnification of the camera server 301 to the initial state via the communication control unit 332. It transmits to 301 (S41).

パラメータ決定部334は、パノラマ画像を生成するための撮像画像を得るためのパン角とチルト角を決定する(S42)。パラメータ決定部334は、複数の撮像画像を得るために、パン角とチルト角の組(制御内容)を複数、決定する。また、パラメータ決定部334は、S42において、複数の制御内容の制御順序を決定する。
パラメータ決定部334は、決定した複数の制御内容のうち、制御順序が最初の制御内容にカメラサーバ301を制御するための制御コマンドを、通信制御部332を介してカメラサーバ301へ送信する(S43)。なお、制御順序が最初の制御内容と、S41の制御内容とが同じである場合は、制御コマンドを送信しなくても良い。
The parameter determination unit 334 determines a pan angle and a tilt angle for obtaining a captured image for generating a panoramic image (S42). The parameter determining unit 334 determines a plurality of sets (control contents) of pan angle and tilt angle in order to obtain a plurality of captured images. Further, the parameter determination unit 334 determines the control order of the plurality of control contents in S42.
The parameter determination unit 334 transmits, to the camera server 301 via the communication control unit 332, a control command for controlling the camera server 301 to the control content with the first control order among the plurality of determined control details (S43). ). If the control content in the first control order is the same as the control content in S41, the control command need not be transmitted.

コマンド生成部333は、S43で送信した制御コマンドに応じた制御により、チルト角が0度(チルト機構の可動範囲の限界)になったか否かを判定する。チルト角が0度になったと判定された場合はS45に進み、0度になっていないと判定された場合はS44へ進む。   The command generation unit 333 determines whether or not the tilt angle has become 0 degrees (the limit of the movable range of the tilt mechanism) by control according to the control command transmitted in S43. If it is determined that the tilt angle has become 0 degree, the process proceeds to S45, and if it is determined that the tilt angle has not become 0 degree, the process proceeds to S44.

チルト角が0度になっていないと判定された場合、コマンド生成部333は、ビデオカメラ311の撮像範囲の長辺をパン方向に対応させるためのローテート角の制御コマンドを生成し、通信制御部332を介してカメラサーバ301へ送信する(S44)。本形態のコマンド生成部333は、S44において、カメラサーバ301のローテート角を0度にするための制御コマンドを送信する。   When it is determined that the tilt angle is not 0 degree, the command generation unit 333 generates a rotation angle control command for making the long side of the imaging range of the video camera 311 correspond to the pan direction, and the communication control unit It transmits to the camera server 301 via 332 (S44). In S44, the command generation unit 333 of this embodiment transmits a control command for setting the rotation angle of the camera server 301 to 0 degrees.

一方、チルト角が0度になったと判定された場合、コマンド生成部333は、S45(制御手順)において、ビデオカメラ311の撮像範囲の長辺をチルト方向に対応させるためのローテート角の制御コマンドを生成し、通信制御部332を介してカメラサーバ301へ送信する。本形態のコマンド生成部333は、S45において、カメラサーバ301のローテート角を90度にするための制御コマンドを送信する。すなわち、コマンド生成部333は、チルト機構の可動範囲の限界に対応する特定領域を撮像する際に、撮像範囲の回転のための回転機構(ローテート機構)をパノラマ画像の生成のために制御する。   On the other hand, if it is determined that the tilt angle has become 0 degree, the command generation unit 333 causes the rotation angle control command to associate the long side of the imaging range of the video camera 311 with the tilt direction in S45 (control procedure). Is transmitted to the camera server 301 via the communication control unit 332. In S45, the command generation unit 333 of the present embodiment transmits a control command for setting the rotation angle of the camera server 301 to 90 degrees. That is, the command generation unit 333 controls a rotation mechanism (rotation mechanism) for rotating the imaging range for generating a panoramic image when imaging a specific area corresponding to the limit of the movable range of the tilt mechanism.

ただし、現在のローテート角とローテート角の制御コマンドによる変更後のローテート角が同じ場合は、S44、S45でローテート角の制御コマンドを送信しないようにしても良い。   However, when the rotation angle after the change by the rotation angle control command is the same, the rotation angle control command may not be transmitted in S44 and S45.

コマンド生成部333は、通信制御部332を介して、カメラサーバ301へ撮像コマンドを送信する(S46)。カメラサーバ301は、撮像コマンドの受信に応じて撮像を行い、得られた画像データを生成クライアント303へ送信する。この画像データは、パノラマ画像の生成に用いられる画像データである。   The command generation unit 333 transmits an imaging command to the camera server 301 via the communication control unit 332 (S46). The camera server 301 performs imaging in response to the reception of the imaging command, and transmits the obtained image data to the generation client 303. This image data is image data used for generating a panoramic image.

生成クライアント303は、カメラサーバ301から受信した画像データを画像伸長部337で伸長し、画像合成部339で合成する(S47)。すなわち、生成クライアント303の画像合成部339は、S47(生成手順)において、回転機構(ローテート機構)を制御して得られる複数の撮像画像からパノラマ画像を生成する。なお、本形態の生成クライアント303は、心射図法を用いた射影変換により複数の画像データを合成してパノラマ画像を生成するが、この形態に限らない。また、図4の処理が開始されてから初めてのS47の処理は、省略可能である。また、パノラマ画像を生成するためのすべての画像データがそろってから、パノラマ画像を生成するようにすることも可能である。   The generation client 303 decompresses the image data received from the camera server 301 by the image decompression unit 337 and composes it by the image composition unit 339 (S47). That is, the image composition unit 339 of the generation client 303 generates a panoramic image from a plurality of captured images obtained by controlling the rotation mechanism (rotation mechanism) in S47 (generation procedure). Note that the generation client 303 of this embodiment generates a panoramic image by combining a plurality of image data by projective transformation using a cardiac projection method, but is not limited to this form. Further, the first processing of S47 after the processing of FIG. 4 is started can be omitted. It is also possible to generate the panorama image after all the image data for generating the panorama image is collected.

コマンド生成部333は、パノラマ画像の生成に用いるすべての画像データの取得が完了したか否かを判定し、終了したと判定した場合は、画像合成部339で生成されたパノラマ画像をカメラサーバ301へ送信して処理を終了する。一方、終了していないと判定された場合S43へ進み、S42で決定された制御順序に従って、次のパン角、チルト角の制御を行い、カメラサーバ301から画像データを取得する。なお、本実施形態では、パノラマ画像を生成クライアント303で生成したが、パノラマ画像をカメラサーバ301で生成してもよい。   The command generation unit 333 determines whether or not acquisition of all the image data used for generating the panoramic image has been completed. If the command generation unit 333 determines that the acquisition has ended, the command generation unit 333 determines that the panorama image generated by the image composition unit 339 is To finish the process. On the other hand, if it is determined that the processing has not been completed, the process proceeds to S43, and the next pan angle and tilt angle are controlled in accordance with the control order determined in S42, and image data is acquired from the camera server 301. In this embodiment, the panorama image is generated by the generation client 303, but the panorama image may be generated by the camera server 301.

次に、図4のS42で決定される制御順序、及び、S44、S45で制御されるローテート角と撮像範囲の関係について、図5を用いて説明する。   Next, the control order determined in S42 of FIG. 4 and the relationship between the rotation angle and the imaging range controlled in S44 and S45 will be described with reference to FIG.

図5(a)は、撮像範囲の長辺がパン方向に対応する状態で撮像してパノラマ画像を生成する場合の例を示している。図5(a)において、501はカメラ設置位置、502は撮像方向、503は撮像方向502のときの撮像範囲、504は撮像方向の駆動可能範囲を示している。駆動可能範囲504に示されるように、本形態のカメラサーバ301は、パン方向は360度の駆動が可能であり、チルト方向は0度〜90度の駆動が可能である。また、図5(b)は、図5(a)のようにして撮像された画像データを用いてパノラマ画像を生成した場合のパノラマ画像の視野範囲を示している。すなわち、図5(a)(b)は、ローテート角を0度に保って撮像した画像データを用いたパノラマ画像である。   FIG. 5A illustrates an example in which a panoramic image is generated by capturing an image in a state where the long side of the imaging range corresponds to the pan direction. In FIG. 5A, reference numeral 501 denotes a camera installation position, 502 denotes an imaging direction, 503 denotes an imaging range in the imaging direction 502, and 504 denotes a drivable range in the imaging direction. As shown in the driveable range 504, the camera server 301 of this embodiment can be driven 360 degrees in the pan direction and can be driven 0 to 90 degrees in the tilt direction. FIG. 5B shows a panoramic image viewing range when a panoramic image is generated using the image data picked up as shown in FIG. 5A. That is, FIGS. 5A and 5B are panoramic images using image data captured with the rotation angle kept at 0 degrees.

図5(b)の例では、図5(a)の駆動可能範囲504のうち、撮像範囲513に対応する初期位置からパノラマ画像用の画像データの撮像を開始し、チルト角の制御と撮像を繰り返す。この結果、撮像範囲514に達すると、パン角の制御により撮像範囲515へ移動される。以後、ルート511に示すような移動と撮像を繰り返して得られた画像データからパノラマ画像が生成される。   In the example of FIG. 5B, panoramic image image data starts to be captured from an initial position corresponding to the imaging range 513 in the drivable range 504 of FIG. 5A, and tilt angle control and imaging are performed. repeat. As a result, when it reaches the imaging range 514, it is moved to the imaging range 515 by controlling the pan angle. Thereafter, a panoramic image is generated from image data obtained by repeating movement and imaging as indicated by the route 511.

一方、図5(c)は、ローテート角の制御をして得られた画像データからパノラマ画像を生成する場合の例を示している。図5(c)において、521はカメラ設置位置、522は特定領域外を撮像するときの撮像方向の例、523は撮像方向522のときの撮像範囲を示している。また、図5(c)において、524は特定領域を撮像するときの撮像方向の例、525は撮像方向524のときの撮像範囲、526は撮像方向の駆動可能範囲を示している。図5(c)に示すように、特定領域を撮像するとき(チルト角が可動範囲の限界のとき)は、そうでないときよりもローテート角を+90度としている。   On the other hand, FIG. 5C shows an example in which a panoramic image is generated from image data obtained by controlling the rotation angle. In FIG. 5C, 521 indicates a camera installation position, 522 indicates an example of an imaging direction when imaging outside a specific area, and 523 indicates an imaging range when the imaging direction is 522. In FIG. 5C, 524 is an example of an imaging direction when imaging a specific area, 525 is an imaging range in the imaging direction 524, and 526 is a driveable range in the imaging direction. As shown in FIG. 5C, when the specific area is imaged (when the tilt angle is the limit of the movable range), the rotation angle is set to +90 degrees as compared with the case where it is not.

図5(d)は、図5(c)のようにして撮像された画像データを用いてパノラマ画像を生成した場合のパノラマ画像の視野範囲を示している。図5の(b)と(d)に示すように、パノラマ画像を生成する際に、ローテート角の制御を行うことで、制御を行わない場合よりもより視野範囲が広いパノラマ画像が得られる。   FIG. 5D shows a panoramic image viewing range when a panoramic image is generated using the image data captured as shown in FIG. As shown in FIGS. 5B and 5D, when the panoramic image is generated, by controlling the rotation angle, a panoramic image having a wider visual field range than when no control is performed can be obtained.

また、図5(d)に示すように、本形態のカメラサーバ301は、撮像範囲533に対応する初期位置からパノラマ画像用の画像データの撮像を開始し、パン角の制御と撮像を繰り返す。この結果、撮像範囲534に達すると、チルト角の制御により撮像範囲535へ移動される。以後、ルート531に示すような移動と撮像を繰り返し、撮像範囲536に達する。その後、カメラサーバ301は、チルト角を0度にする。本形態の生成クライアント303は、カメラサーバ301の特定領域(チルト角が0度のときの撮像領域)を撮像する際に、ローテート角を90度、回転させる。この回転により、ビデオカメラ311の撮像範囲は、撮像範囲537に示すようになる。その後、カメラサーバ301は、ルート531に示すように、撮像範囲537から撮像範囲538まで、ローテート角が90度の状態のまま、撮像を繰り返し、撮像範囲538の画像データを撮像して撮像を終了する。なお、図5(d)の撮像範囲536の状態から、先にチルト角を0度にして、その後ローテート角を90度回転させても、先にローテート角を回転させて、その後チルト角を0度にしても、ローテート角とチルト角を同時に制御しても良い。   As shown in FIG. 5D, the camera server 301 of the present embodiment starts capturing panoramic image data from an initial position corresponding to the imaging range 533, and repeats pan angle control and imaging. As a result, when it reaches the imaging range 534, it is moved to the imaging range 535 by controlling the tilt angle. Thereafter, the movement and imaging as indicated by the route 531 are repeated, and the imaging range 536 is reached. Thereafter, the camera server 301 sets the tilt angle to 0 degree. The generation client 303 of the present embodiment rotates the rotation angle by 90 degrees when imaging a specific area of the camera server 301 (an imaging area when the tilt angle is 0 degree). By this rotation, the imaging range of the video camera 311 becomes as shown in the imaging range 537. Thereafter, as indicated by a route 531, the camera server 301 repeats imaging from the imaging range 537 to the imaging range 538 with the rotation angle being 90 degrees, captures image data in the imaging range 538, and ends imaging. To do. Note that even if the tilt angle is first set to 0 degree and the rotate angle is subsequently rotated by 90 degrees from the state of the imaging range 536 in FIG. 5D, the rotate angle is first rotated and then the tilt angle is set to 0. The rotation angle and the tilt angle may be controlled simultaneously.

図5(d)のルート531に示すような制御順序にすることで、図5(b)のルート511のように制御しながらローテート角を制御するよりも、ローテート機構の制御回数を少なくすることができる。   By adopting the control sequence as shown in the route 531 in FIG. 5D, the number of times of control of the rotation mechanism can be reduced as compared to controlling the rotation angle while controlling as in the route 511 in FIG. 5B. Can do.

なお、図5(e)のように、ローテート角を0度にした状態で撮像範囲541を撮像して得られた画像データを用いてパノラマ画像を生成するようにしても良い。すなわち、コマンド生成部333は、撮像範囲の長辺がパン方向に対応する状態で特定領域が撮像されると共に、撮像範囲の長辺がチルト方向に対応する状態で特定領域が撮像されるようにローテート機構を制御するようにしても良い。この場合、パノラマ画像は、撮像範囲の長辺がパン方向に対応する状態で撮像された画像データと撮像範囲の長辺がチルト方向に対応する状態で撮像された画像データとを含む複数の画像データから生成される。このようにすることで、図5(d)のようにして得られたパノラマ画像よりもさらに視野範囲が広いパノラマ画像が得られる。   As shown in FIG. 5E, a panoramic image may be generated using image data obtained by imaging the imaging range 541 in a state where the rotation angle is 0 degree. That is, the command generation unit 333 captures the specific area with the long side of the imaging range corresponding to the pan direction, and captures the specific area with the long side of the imaging range corresponding to the tilt direction. The rotation mechanism may be controlled. In this case, the panoramic image is a plurality of images including image data captured with the long side of the imaging range corresponding to the pan direction and image data captured with the long side of the imaging range corresponding to the tilt direction. Generated from data. In this way, a panoramic image having a wider field of view than the panoramic image obtained as shown in FIG.

また、図示していないが、チルト角が0度に対応する特定領域のうち、パノラマ画像の端部に対応する領域を撮像する際に、ローテート角を、例えば45度にしても良い。つまりコマンド生成部333は、特定領域のうち、パン機構の可動範囲の限界(例えば0度)に対応する第2の特定領域が、撮像範囲の長辺がパン方向に対応する状態とチルト方向に対応する状態との間の状態で撮像されるように、ローテート機構を制御しても良い。このようにすることで、図5(e)のようにして得られたパノラマ画像の視野範囲よりもさらに広い視野範囲のパノラマ画像を得ることができる。   Although not shown, the rotation angle may be set to 45 degrees, for example, when an area corresponding to the end of the panoramic image is picked up among the specific areas corresponding to the tilt angle of 0 degrees. That is, the command generation unit 333 determines that the second specific area corresponding to the limit of the movable range of the pan mechanism (for example, 0 degree) among the specific areas is in the state where the long side of the imaging range corresponds to the pan direction and the tilt direction. The rotation mechanism may be controlled so that an image is captured in a state between corresponding states. By doing so, it is possible to obtain a panoramic image having a wider visual field range than that of the panoramic image obtained as shown in FIG.

また、本形態の生成クライアント303は、図5(b)のようにパノラマ画像を生成するか、図5(d)のようにパノラマ画像を生成するか、図5(e)のようにパノラマ画像を生成するかを、操作入力部335からのユーザ入力によって切換えることができる。このようにすることで、例えばユーザは、ローテート機構の制御回数や、パノラマ画像の視野範囲の希望に、より適したパノラマ画像の生成方法を選択できるようになる。   Also, the generation client 303 of this embodiment generates a panoramic image as shown in FIG. 5B, generates a panoramic image as shown in FIG. 5D, or shows a panoramic image as shown in FIG. Can be switched by a user input from the operation input unit 335. In this way, for example, the user can select a panoramic image generation method that is more suitable for the number of times the rotation mechanism is controlled and the desired viewing range of the panoramic image.

なお、本形態では、ローテート角を90度にした状態で特定領域を撮像した画像データと、ローテート角を0度にした状態で特定領域以外の領域を撮像した画像データとでパノラマ画像を生成する例を中心に説明したが、これに限らない。   In this embodiment, a panoramic image is generated using image data obtained by imaging a specific area with a rotation angle of 90 degrees and image data obtained by imaging an area other than the specific area with a rotation angle of 0 degrees. The example has been mainly described, but the present invention is not limited to this.

例えば、ローテート角を90度にした状態で、すべての領域を撮像して得られた画像データを用いてパノラマ画像を生成するようにしても良い。すなわち、生成クライアント303は、パノラマ画像の生成指示に応じて、カメラサーバ301のローテート角を0度から90度にするための制御コマンドを送信する。そして、ローテート角が90度の状態で、パン角やチルト角の制御と撮像を繰り返して得られた画像データからパノラマ画像を生成するようにしても良い。   For example, a panoramic image may be generated using image data obtained by imaging all areas in a state where the rotation angle is 90 degrees. That is, the generation client 303 transmits a control command for changing the rotation angle of the camera server 301 from 0 degrees to 90 degrees in response to the panoramic image generation instruction. Then, a panoramic image may be generated from image data obtained by repeating control of pan angle and tilt angle and imaging in a state where the rotation angle is 90 degrees.

また、本形態では、先にローテート角を0度の状態で、特定領域以外の領域を撮像させ、特定領域以外の領域の撮像が完了した後に、ローテート角を90度にして特定領域を撮像させるようにする例を中心に説明したが、この順序を逆にすることも可能である。すなわち、先にローテート角を90度にした状態で特定領域を撮像させ、特定領域の撮像が完了した後に、ローテート角を0度にして特定領域以外の領域を撮像させるようにしても良い。   Also, in this embodiment, first, an area other than the specific area is imaged with the rotation angle being 0 degrees, and after the imaging of the area other than the specific area is completed, the rotation angle is 90 degrees and the specific area is imaged. Although the description has been made mainly on the example of doing so, it is possible to reverse this order. In other words, the specific area may be imaged with the rotation angle set to 90 degrees first, and after the imaging of the specific area is completed, the rotation angle may be set to 0 degree to image an area other than the specific area.

また、先に特定領域を撮像させるか、先に特定領域以外の領域を撮像させるかを、パノラマ画像の生成指示が入力された時点におけるカメラサーバ301のローテート角(回転角)に基づいて決定するようにしても良い。すなわち、パノラマ画像の生成指示の入力時のローテート角が0度のときは、先に特定領域以外の領域を撮像させ、ローテート角が90度のときは、先に特定領域を撮像させるようにしても良い。このようにすれば、よりローテート機構の制御回数を少なくしつつ、広い視野範囲のパノラマ画像を得ることができる。   Also, whether to capture a specific area first or an area other than the specific area first is determined based on the rotation angle (rotation angle) of the camera server 301 when a panoramic image generation instruction is input. You may do it. That is, when the rotation angle at the time of inputting the panorama image generation instruction is 0 degrees, an area other than the specific area is imaged first, and when the rotation angle is 90 degrees, the specific area is imaged first. Also good. In this way, it is possible to obtain a panoramic image with a wide visual field range while further reducing the number of times the rotation mechanism is controlled.

また、本形態では、特定領域が、チルト角が0度のときの撮像範囲である場合の例について説明したが、この例に限らない。例えば、チルト角をマイナス角度にも可動できる場合、チルト角の可動範囲の限界に対応する領域が特定領域となる。また、例えば、パン角の可動範囲に制限がある場合、パン角の可動範囲の限界に対応する撮像範囲を撮像する際に、撮像範囲の長辺がパン方向に対応する状態で撮像されるようにローテート角を制御することも可能である。   In the present embodiment, an example in which the specific region is the imaging range when the tilt angle is 0 degrees has been described, but the present invention is not limited to this example. For example, when the tilt angle can be moved to a minus angle, the area corresponding to the limit of the movable range of the tilt angle is the specific area. Also, for example, when there is a limitation on the pan angle movable range, when the imaging range corresponding to the limit of the pan angle movable range is imaged, the long side of the imaging range is captured in a state corresponding to the pan direction. It is also possible to control the rotation angle.

また、本形態では、生成クライアント303がカメラサーバ301へ制御コマンドを送信してカメラサーバ301を制御し、生成クライアント303がカメラサーバ301からの画像データからパノラマ画像を生成する例について説明した。しかし、カメラサーバ301でパノラマ画像を生成するようにすることも可能である。   Further, in this embodiment, an example has been described in which the generation client 303 transmits a control command to the camera server 301 to control the camera server 301, and the generation client 303 generates a panoramic image from image data from the camera server 301. However, it is also possible to generate a panoramic image with the camera server 301.

また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。   The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.

Claims (12)

撮像部の撮像範囲を制御してパノラマ画像を生成する生成装置であって、 撮像範囲が長辺と短辺で構成される撮像範囲の回転のための回転機構を前記パノラマ画像の生成のために制御する制御手段と、
前記撮像範囲の長辺がパン方向に対応する状態で撮像される範囲よりも広い範囲が撮影されるように前記撮像範囲の長辺がチルト方向に対応するように前記撮像範囲を回転して撮像した複数の撮像画像を含む撮像画像からパノラマ画像を生成する生成手段とを有することを特徴とする生成装置。
A generation device for generating a panoramic image by controlling an imaging range of an imaging unit, wherein a rotation mechanism for rotating an imaging range in which an imaging range is composed of a long side and a short side is used for generating the panoramic image Control means for controlling;
Imaging by rotating the imaging range so that the long side of the imaging range corresponds to the tilt direction so that a range wider than the range that is captured in a state where the long side of the imaging range corresponds to the pan direction is taken. And a generation unit that generates a panoramic image from the captured image including the plurality of captured images .
前記制御手段は、チルト機構の可動範囲の限界に対応する特定領域を撮像する際に前記撮像範囲の長辺がチルト方向に対応するように前記撮像範囲の回転のための前記回転機構を制御することを特徴とする請求項1に記載の生成装置。 The control unit controls the rotation mechanism for rotating the imaging range so that a long side of the imaging range corresponds to a tilt direction when imaging a specific area corresponding to a limit of a movable range of the tilt mechanism. The generating apparatus according to claim 1, wherein: 前記制御手段は、前記パノラマ画像の生成指示に応じて、前記撮像範囲の長辺がパン方向に対応する状態から、前記撮像範囲の長辺がチルト方向に対応する状態に前記撮像範囲が回転するように前記回転機構を制御し、前記生成手段は、前記撮像範囲の長辺がチルト方向に対応する状態で撮像された複数の撮像画像からパノラマ画像を生成することを特徴とする請求項1に記載の生成装置。   In response to the panoramic image generation instruction, the control unit rotates the imaging range from a state in which the long side of the imaging range corresponds to the pan direction to a state in which the long side of the imaging range corresponds to the tilt direction. The rotation mechanism is controlled as described above, and the generation unit generates a panoramic image from a plurality of captured images captured with a long side of the imaging range corresponding to a tilt direction. The generator described. 前記制御手段は、チルト機構の可動範囲の限界に対応する特定領域を撮像する際に、前記撮像範囲の長辺がパン方向に対応する状態から、前記撮像範囲の長辺がチルト方向に対応する状態に前記撮像範囲が回転するように前記回転機構を制御することを特徴とする請求項1又は2に記載の生成装置。   When the control unit images a specific area corresponding to the limit of the movable range of the tilt mechanism, the long side of the imaging range corresponds to the tilt direction from the state where the long side of the imaging range corresponds to the pan direction. The generation apparatus according to claim 1, wherein the rotation mechanism is controlled so that the imaging range rotates in a state. 前記制御手段は、チルト機構の可動範囲の限界に対応する特定領域が、前記撮像範囲の長辺がパン方向に対応する状態と、前記撮像範囲の長辺がチルト方向に対応する状態とで撮像されるように、前記回転機構を制御し、
前記生成手段は、前記撮像範囲の長辺がパン方向に対応する状態及び前記撮像範囲の長辺がチルト方向に対応する状態で撮像された撮像画像を含む複数の撮像画像から前記パノラマ画像を生成することを特徴とする請求項1に記載の生成装置。
The control means, the imaging at the specific area corresponding to the limit of the movable range of the tilt mechanism, and a state in which the long sides of the imaging range corresponding to the panning direction, a state where the long side of the imaging range corresponding to the tilt direction Controlling the rotation mechanism,
The generation unit generates the panoramic image from a plurality of captured images including a captured image captured in a state where a long side of the imaging range corresponds to a pan direction and a long side of the imaging range corresponds to a tilt direction. The generating apparatus according to claim 1, wherein:
前記制御手段は、前記チルト機構の可動範囲の限界に対応する特定領域のうち、パン機構の可動範囲の限界に対応する第2の特定領域が、前記撮像範囲の長辺がパン方向に対応する状態と前記撮像範囲の長辺がチルト方向に対応する状態との間の状態で撮像されるように、前記回転機構を制御することを特徴とする請求項4に記載の生成装置。   The control means includes a second specific area corresponding to the limit of the movable range of the pan mechanism among specific areas corresponding to the limit of the movable range of the tilt mechanism, and a long side of the imaging range corresponding to the pan direction. The generation apparatus according to claim 4, wherein the rotation mechanism is controlled so that an image is captured in a state between a state and a state in which a long side of the imaging range corresponds to a tilt direction. 前記制御手段は、チルト機構の可動範囲の限界に対応する特定領域を除いた領域の撮像が完了した後に、前記特定領域が撮像されるように前記回転機構を制御することを特徴とする請求項1乃至6のうち、いずれか1項に記載の生成装置。   The control means controls the rotation mechanism so that the specific area is imaged after the imaging of the area excluding the specific area corresponding to the limit of the movable range of the tilt mechanism is completed. The generation device according to any one of 1 to 6. 前記制御手段は、チルト機構の可動範囲の限界に対応する特定領域を除いた領域の撮像が完了した後に、前記特定領域が撮像されるように前記回転機構を制御するか、前記特定領域の撮像が完了した後に、前記特定領域を除いた領域が撮像されるように前記回転機構を制御するかを、前記パノラマ画像の生成指示を受けたときの前記回転機構の回転角に基づいて決定することを特徴とする請求項1乃至6のうち、いずれか1項に記載の生成装置。   The control means controls the rotation mechanism so that the specific area is imaged after the imaging of the area excluding the specific area corresponding to the limit of the movable range of the tilt mechanism is completed, or the imaging of the specific area Determining whether to control the rotation mechanism so that an area excluding the specific area is imaged after completion of the image processing based on the rotation angle of the rotation mechanism when the panoramic image generation instruction is received. The generation device according to any one of claims 1 to 6, wherein 撮像部の撮像範囲を制御してパノラマ画像を生成する生成装置が行う生成方法であって、
撮像範囲が長辺と短辺で構成される撮像範囲の回転のための回転機構を前記パノラマ画像の生成のために制御する制御工程と、
前記撮像範囲の長辺がパン方向に対応する状態で撮像される範囲よりも広い範囲が撮影されるように前記撮像範囲の長辺がチルト方向に対応するように前記撮像範囲を回転して撮像した複数の撮像画像を含む撮像画像からパノラマ画像を生成する生成工程とを有することを特徴とする生成方法。
A generation method performed by a generation device that generates a panoramic image by controlling an imaging range of an imaging unit,
A control step for controlling a rotation mechanism for rotation of an imaging range constituted by a long side and a short side for the generation of the panoramic image;
Imaging by rotating the imaging range so that the long side of the imaging range corresponds to the tilt direction so that a range wider than the range that is captured in a state where the long side of the imaging range corresponds to the pan direction is taken. And a generation step of generating a panoramic image from the captured image including the plurality of captured images .
撮像部の撮像範囲を制御してパノラマ画像を生成するコンピュータに、
撮像範囲が長辺と短辺で構成される撮像範囲の回転のための回転機構を前記パノラマ画像の生成のために制御する制御手順と、
前記撮像範囲の長辺がパン方向に対応する状態で撮像される範囲よりも広い範囲が撮影されるように前記撮像範囲の長辺がチルト方向に対応するように前記撮像範囲を回転して撮像した複数の撮像画像を含む撮像画像からパノラマ画像を生成する生成手順とを実行させることを特徴とするプログラム。
To a computer that generates a panoramic image by controlling the imaging range of the imaging unit,
A control procedure for controlling the rotation mechanism for rotation of the imaging range constituted by the long side and the short side for the generation of the panoramic image;
Imaging by rotating the imaging range so that the long side of the imaging range corresponds to the tilt direction so that a range wider than the range that is captured in a state where the long side of the imaging range corresponds to the pan direction is taken. A program for executing a generation procedure for generating a panoramic image from captured images including a plurality of captured images .
前記制御手順では、チルト機構の可動範囲の限界に対応する特定領域を撮像する際に前記撮像範囲の長辺がチルト方向に対応するように前記撮像範囲の回転のための前記回転機構を制御することを特徴とする請求項10に記載のプログラム。 In the control procedure, when imaging a specific area corresponding to the limit of the movable range of the tilt mechanism, the rotation mechanism for rotating the imaging range is controlled so that the long side of the imaging range corresponds to the tilt direction. The program according to claim 10. 前記制御手順では、前記パノラマ画像の生成指示に応じて、前記撮像範囲の長辺がパン方向に対応する状態から、前記撮像範囲の長辺がチルト方向に対応する状態に前記撮像範囲が回転するように前記回転機構を制御し、前記生成手順では、前記撮像範囲の長辺がチルト方向に対応する状態で撮像された複数の撮像画像からパノラマ画像を生成することを特徴とする請求項10に記載のプログラム。   In the control procedure, the imaging range is rotated from a state in which the long side of the imaging range corresponds to the pan direction to a state in which the long side of the imaging range corresponds to the tilt direction in response to the panoramic image generation instruction. The rotation mechanism is controlled as described above, and in the generation procedure, a panoramic image is generated from a plurality of captured images captured in a state where a long side of the imaging range corresponds to a tilt direction. The listed program.
JP2011052963A 2011-03-10 2011-03-10 Panorama image generation apparatus and generation method Expired - Fee Related JP5863257B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011052963A JP5863257B2 (en) 2011-03-10 2011-03-10 Panorama image generation apparatus and generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011052963A JP5863257B2 (en) 2011-03-10 2011-03-10 Panorama image generation apparatus and generation method

Publications (3)

Publication Number Publication Date
JP2012191425A JP2012191425A (en) 2012-10-04
JP2012191425A5 JP2012191425A5 (en) 2014-04-24
JP5863257B2 true JP5863257B2 (en) 2016-02-16

Family

ID=47084115

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011052963A Expired - Fee Related JP5863257B2 (en) 2011-03-10 2011-03-10 Panorama image generation apparatus and generation method

Country Status (1)

Country Link
JP (1) JP5863257B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104216214A (en) * 2014-09-23 2014-12-17 长春理工大学 Novel special film
JP6504793B2 (en) * 2014-11-14 2019-04-24 キヤノン株式会社 IMAGE PROCESSING APPARATUS, IMAGE PROCESSING METHOD, AND PROGRAM

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006311196A (en) * 2005-04-28 2006-11-09 Sony Corp Imaging apparatus and imaging method
US20100045773A1 (en) * 2007-11-06 2010-02-25 Ritchey Kurtis J Panoramic adapter system and method with spherical field-of-view coverage
KR100790890B1 (en) * 2006-09-27 2008-01-02 삼성전자주식회사 Apparatus and method for generating panorama image
JP4448844B2 (en) * 2006-11-22 2010-04-14 富士フイルム株式会社 Compound eye imaging device
JP2011048283A (en) * 2009-08-28 2011-03-10 Nikon Corp Photographed image composing device

Also Published As

Publication number Publication date
JP2012191425A (en) 2012-10-04

Similar Documents

Publication Publication Date Title
CN102385747B (en) Device and method for generating panoramic image
JP4244973B2 (en) Imaging system, camera control device, panoramic image display method and program
CN106454065B (en) Information processing apparatus and control method thereof
JP4332231B2 (en) Imaging device controller and imaging system
US9420156B2 (en) Imaging control system, control apparatus, control method, and storage medium
TWI461057B (en) Control device, camera system and program
CN102420933B (en) Image capturing apparatus capable of capturing a panoramic image
US9413941B2 (en) Methods and apparatus to compensate for overshoot of a desired field of vision by a remotely-controlled image capture device
TWI461064B (en) Camera device, camera system, control device and program
KR20120012397A (en) Camera device, camera system, control device and program
JP2019083488A (en) Imaging device, support device, method of controlling them, and program
JP2016096481A (en) Control apparatus, photographing system, control method, and program
JP3744147B2 (en) Panorama image generating apparatus and method
JP5863257B2 (en) Panorama image generation apparatus and generation method
JP7150456B2 (en) IMAGING SYSTEM, INFORMATION PROCESSING DEVICE, CONTROL METHOD OF INFORMATION PROCESSING DEVICE, AND PROGRAM
JP6608196B2 (en) Information processing apparatus and information processing method
JP2008301191A (en) Video monitoring system, video monitoring control device, video monitoring control method, and video monitor controlling program
JP2016096482A (en) Image processing apparatus, image processing method, and program
JP2009060251A (en) Information processing apparatus, and remote diagnosing system
JP6128966B2 (en) Image processing apparatus, image processing method, and program
JP4332580B2 (en) Control device, control method, and monitoring system
JP2005354748A (en) Apparatus and method for controlling imaging means
JP2012257124A (en) Control device and control method for control device
JP4371232B2 (en) Imaging apparatus and captured image output method
JP2012227603A (en) Camera control unit and control method of camera control unit

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140310

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140310

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150203

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150406

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151222

R151 Written notification of patent or utility model registration

Ref document number: 5863257

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees