JP2019033487A - Imaging apparatus, imaging method and program - Google Patents

Imaging apparatus, imaging method and program Download PDF

Info

Publication number
JP2019033487A
JP2019033487A JP2018166634A JP2018166634A JP2019033487A JP 2019033487 A JP2019033487 A JP 2019033487A JP 2018166634 A JP2018166634 A JP 2018166634A JP 2018166634 A JP2018166634 A JP 2018166634A JP 2019033487 A JP2019033487 A JP 2019033487A
Authority
JP
Japan
Prior art keywords
unit
omnidirectional image
acceleration
angular velocity
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.)
Granted
Application number
JP2018166634A
Other languages
Japanese (ja)
Other versions
JP6610740B2 (en
Inventor
康雄 上田
Yasuo Ueda
康雄 上田
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2018166634A priority Critical patent/JP6610740B2/en
Publication of JP2019033487A publication Critical patent/JP2019033487A/en
Application granted granted Critical
Publication of JP6610740B2 publication Critical patent/JP6610740B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stereoscopic And Panoramic Photography (AREA)
  • Image Processing (AREA)
  • Studio Devices (AREA)

Abstract

To correct a taken omnidirectional image with good accuracy according to an angle at time of shooting by an imaging apparatus even when the imaging apparatus is being moved or in motion.SOLUTION: An imaging apparatus 14 comprises: a shooting part 20; an acceleration detector 30; an angular velocity detector 32; a calculation part 22D; a creation part 22E; and a conversion part 22F. The shooting part 20 takes an omnidirectional image by image shooting. The acceleration detector 30 detects an acceleration in three axial directions. The angular velocity detector 32 detects an angular velocity in three axial directions. The calculation part 22D calculates a tilt angle of the imaging apparatus 14 with respect to a zenith direction based on an acceleration and an angular velocity detected when shooting the omnidirectional image. The creation part 22E creates a projective transformation parameter for projection transformation of the omnidirectional image for tilt of an angle according to the tilt angle. The conversion part 22F performs a projective transformation of the omnidirectional image with the projective transformation parameter.SELECTED DRAWING: Figure 5

Description

本発明は、撮影装置、撮影方法、およびプログラムに関する。   The present invention relates to a photographing apparatus, a photographing method, and a program.

デジタルカメラの傾きや方位を検出し、撮影画像の補正を行う技術が知られている。例えば、特許文献1には、3軸電子コンパスを用いて撮影光学系の光軸方向を特定し、特定方向の方位を補正する技術が開示されている。   A technique for detecting the tilt and orientation of a digital camera and correcting a captured image is known. For example, Patent Document 1 discloses a technique for specifying an optical axis direction of a photographing optical system using a three-axis electronic compass and correcting an orientation in a specific direction.

しかしながら、従来技術では、全方位画像を得る撮影装置の移動中または運動中に撮影された全方位画像を、撮影装置の撮影時の角度に応じて精度良く補正することは出来なかった。   However, in the prior art, it has not been possible to accurately correct an omnidirectional image captured during movement or movement of an imaging device that obtains an omnidirectional image according to an angle at the time of imaging of the imaging device.

上述した課題を解決するために、本発明は、撮影によって全方位画像を得る撮影部と、3軸方向の加速度を検出する加速度検出部と、3軸方向の角速度を検出する角速度検出部と、前記全方位画像の撮影時に検出された、前記加速度と、前記角速度と、に基づいて、天頂方向に対する当該撮影装置の傾斜角を算出する算出部と、算出された前記傾斜角に応じた角度、傾斜させるように、前記全方位画像を射影変換するための射影変換パラメータを生成する生成部と、前記全方位画像を、前記射影変換パラメータを用いて射影変換する変換部と、を備えた、撮影装置である。   In order to solve the above-described problems, the present invention provides a photographing unit that obtains an omnidirectional image by photographing, an acceleration detecting unit that detects acceleration in three axial directions, an angular velocity detecting unit that detects angular velocity in three axial directions, Based on the acceleration and angular velocity detected at the time of capturing the omnidirectional image, a calculation unit that calculates an inclination angle of the imaging apparatus with respect to the zenith direction, an angle according to the calculated inclination angle, An imaging device comprising: a generation unit that generates a projective transformation parameter for projective transformation of the omnidirectional image so as to incline; and a conversion unit that performs the projective transformation of the omnidirectional image using the projective transformation parameter. Device.

本発明によれば、撮影装置が移動中または運動中であっても、撮影された全方位画像を、撮影装置の撮影時の角度に応じて精度良く補正することができる、という効果を奏する。   According to the present invention, even if the photographing apparatus is moving or exercising, there is an effect that the photographed omnidirectional image can be accurately corrected according to the angle at which the photographing apparatus is photographing.

図1は、本実施の形態の撮影装置の外観の模式図である。FIG. 1 is a schematic diagram of the appearance of the photographing apparatus according to the present embodiment. 図2は、撮影装置の使用形態の一例を示す図である。FIG. 2 is a diagram illustrating an example of a usage pattern of the photographing apparatus. 図3は、本実施の形態の撮影装置で撮影された画像の説明図である。FIG. 3 is an explanatory diagram of an image photographed by the photographing apparatus according to the present embodiment. 図4は、全方位画像の他の例を示す模式図である。FIG. 4 is a schematic diagram illustrating another example of an omnidirectional image. 図5は、撮影装置の機能ブロック図である。FIG. 5 is a functional block diagram of the photographing apparatus. 図6は、撮影処理の手順を示すフローチャートである。FIG. 6 is a flowchart showing the procedure of the photographing process. 図7は、撮影装置のハードウェア構成図である。FIG. 7 is a hardware configuration diagram of the photographing apparatus.

以下、本発明の実施の形態について説明する。   Embodiments of the present invention will be described below.

図1は、撮影装置14の外観の模式図である。図1(A)は撮影装置14の側面図である。図1(B)は、撮影装置14の、図2(A)とは反対側の側面図である。図1(C)は、撮影装置14の平面図である。   FIG. 1 is a schematic diagram of the external appearance of the imaging device 14. FIG. 1A is a side view of the photographing apparatus 14. FIG. 1B is a side view of the imaging device 14 on the side opposite to FIG. 2A. FIG. 1C is a plan view of the imaging device 14.

撮影装置14は、例えば、人間が片手で持つことができる大きさである。なお、撮影装置14の大きさは、この大きさに限られない。   The photographing device 14 is, for example, a size that a human can hold with one hand. Note that the size of the photographing device 14 is not limited to this size.

撮影装置14の上部には、正面側(一方の面側)に撮像素子14Aおよび背面側(他方の面側)に撮像素子14Bが設けられている。撮影装置14の正面側には、ユーザによって操作される操作部24が設けられている。また、撮影装置14の側面側には、表示部26が設けられている。表示部26は、各種画像を表示する公知の表示機器である。表示部26は、例えば、液晶などである。なお、表示部26を、ユーザからの操作指示を受け付ける機能を備えた、タッチパネルとしてもよい。   In the upper part of the imaging device 14, an image sensor 14A is provided on the front side (one surface side) and an image sensor 14B is provided on the back side (the other surface side). An operation unit 24 that is operated by the user is provided on the front side of the photographing apparatus 14. Further, a display unit 26 is provided on the side surface side of the photographing apparatus 14. The display unit 26 is a known display device that displays various images. The display unit 26 is, for example, a liquid crystal. The display unit 26 may be a touch panel having a function of receiving an operation instruction from the user.

また、撮影装置14は、制御部22、記憶部28、加速度検出部30、角速度検出部32、および3軸地磁気検出部34を備える。   The imaging device 14 includes a control unit 22, a storage unit 28, an acceleration detection unit 30, an angular velocity detection unit 32, and a triaxial geomagnetism detection unit 34.

制御部22は、撮影装置14の全体を制御する。制御部22は、CPU(Central Processing Unit)で構成してもよいし、回路で構成してもよい。   The control unit 22 controls the entire photographing apparatus 14. The control unit 22 may be configured by a CPU (Central Processing Unit) or a circuit.

記憶部28は、各種データを記憶する。記憶部28は、撮影装置14の本体に対して取り外し可能な記憶媒体であってもよい。   The storage unit 28 stores various data. The storage unit 28 may be a storage medium that is removable from the main body of the photographing apparatus 14.

加速度検出部30は、撮影装置14に搭載されており、撮影装置14の3軸方向の加速度を検出する。加速度検出部30は、3軸方向の加速度を検出可能な、公知の加速度センサを用いればよい。加速度検出部30は、例えば、ピエゾ抵抗型3軸加速度センサ、静電容量型3軸加速度センサ、熱検知型3軸加速度センサなどである。   The acceleration detection unit 30 is mounted on the imaging device 14 and detects acceleration in the triaxial direction of the imaging device 14. The acceleration detection unit 30 may use a known acceleration sensor that can detect acceleration in three axis directions. The acceleration detection unit 30 is, for example, a piezoresistive triaxial acceleration sensor, a capacitance triaxial acceleration sensor, a heat detection triaxial acceleration sensor, or the like.

これらの中でも、加速度検出部30には、より高速駆動する3軸加速度センサを用いることが特に好ましい。   Among these, it is particularly preferable to use a triaxial acceleration sensor that is driven at a higher speed for the acceleration detection unit 30.

角速度検出部32は、撮影装置14に搭載されており、撮影装置14の3軸方向の角速度を検出する。角速度検出部32は、3軸方向の角速度を検出可能な、公知の角速度センサ(ジャイロセンサ、または、ジャイロスコープと称される場合もある)を用いればよい。なお、角速度検出部32には、より高速駆動する3軸角速度センサを用いることが好ましい。   The angular velocity detection unit 32 is mounted on the photographing apparatus 14 and detects angular velocities in the three axial directions of the photographing apparatus 14. The angular velocity detection unit 32 may use a known angular velocity sensor (sometimes referred to as a gyro sensor or a gyroscope) that can detect an angular velocity in three axial directions. The angular velocity detector 32 is preferably a triaxial angular velocity sensor that is driven at a higher speed.

3軸地磁気検出部34は、撮影装置14搭載されており、地球の3軸方向の地磁気を検出することで、撮影装置14を原点とした各方位(方位角、磁北)の方向を導出する。3軸地磁気検出部34には、公知の3軸電子コンパスを用いればよい。なお、3軸地磁気検出部34には、より高速駆動する3軸電子コンパスを用いることが好ましい。   The triaxial geomagnetism detection unit 34 is mounted on the imaging device 14 and derives the direction of each azimuth (azimuth angle, magnetic north) with the imaging device 14 as the origin by detecting the geomagnetism in the triaxial direction of the earth. A known triaxial electronic compass may be used for the triaxial geomagnetic detection unit 34. The triaxial geomagnetic detector 34 is preferably a triaxial electronic compass that is driven at a higher speed.

次に、本実施の形態の撮影装置14の使用形態の一例を説明する。図2は、撮影装置14の使用形態の一例を示す図である。撮影装置14は、ユーザが手に持ってユーザの周りの被写体を撮影するために用いられる。この場合、光学系20Aおよび光学系20B(図1参照)によって、ユーザの周りの被写体が撮影され、2つの半球画像が得られる。   Next, an example of a usage pattern of the imaging device 14 of the present embodiment will be described. FIG. 2 is a diagram illustrating an example of a usage pattern of the imaging device 14. The photographing device 14 is used for photographing a subject around the user with the hand held by the user. In this case, the subject around the user is photographed by the optical system 20A and the optical system 20B (see FIG. 1), and two hemispherical images are obtained.

次に、撮影装置14で撮影された画像を説明する。図3は、撮影装置14で撮影された画像の説明図である。図3(A)は撮影装置14で撮影された半球画像(前側)、図3(B)は撮影装置14で撮影された半球画像(後側)、図3(C)はメルカトル図法により表された全方位画像を示した図である。   Next, an image photographed by the photographing device 14 will be described. FIG. 3 is an explanatory diagram of an image photographed by the photographing device 14. 3A is a hemispheric image (front side) photographed by the photographing apparatus 14, FIG. 3B is a hemispheric image photographed by the photographing apparatus 14 (rear side), and FIG. 3C is represented by Mercator projection. It is the figure which showed the omnidirectional image.

図3(A)に示す、光学系20Aによって得られた画像は、光学系20Aに含まれる魚眼レンズ(図示省略)によって湾曲した半球画像(前側)となる。また、図3(B)に示すように、光学系20Bによって得られた画像は、光学系20Bに含まれる魚眼レンズ(図示省略)によって湾曲した半球画像(後側)となる。そして、半球画像(前側)と、半球画像(後側)は、撮影装置14によって合成され、図3(C)に示される、全方位画像とされる。図4は、全方位画像の他の例を示す模式図である。   The image obtained by the optical system 20A shown in FIG. 3A is a hemispherical image (front side) curved by a fisheye lens (not shown) included in the optical system 20A. As shown in FIG. 3B, the image obtained by the optical system 20B is a hemispherical image (rear side) curved by a fisheye lens (not shown) included in the optical system 20B. Then, the hemispherical image (front side) and the hemispherical image (rear side) are combined by the photographing device 14 to obtain an omnidirectional image shown in FIG. FIG. 4 is a schematic diagram illustrating another example of an omnidirectional image.

全方位画像は、全方位(全天球と称される場合もある)、すなわち、360°の撮影によって得られる画像である。静止画像としての全方位画像を時系列に連続させた画像は、動画像となる。   The omnidirectional image is an image obtained by photographing in all directions (sometimes referred to as an omnidirectional sphere), that is, 360 °. An image in which omnidirectional images as still images are continued in time series is a moving image.

次に、撮影装置14の機能的構成を説明する。   Next, a functional configuration of the photographing apparatus 14 will be described.

図5は、撮影装置14の機能ブロック図である。撮影装置14は、撮影部20と、加速度検出部30と、角速度検出部32と、3軸地磁気検出部34と、制御部22と、操作部24と、表示部26と、記憶部28と、を備える。撮影部20、加速度検出部30、角速度検出部32、3軸地磁気検出部34、および操作部24は、制御部22に信号およびデータ授受可能に接続されている。   FIG. 5 is a functional block diagram of the photographing apparatus 14. The imaging device 14 includes an imaging unit 20, an acceleration detection unit 30, an angular velocity detection unit 32, a triaxial geomagnetism detection unit 34, a control unit 22, an operation unit 24, a display unit 26, a storage unit 28, Is provided. The imaging unit 20, acceleration detection unit 30, angular velocity detection unit 32, triaxial geomagnetism detection unit 34, and operation unit 24 are connected to the control unit 22 so that signals and data can be exchanged.

撮影部20は、光学系20Aと、撮像素子21Aと、光学系20Bと、撮像素子21Bと、を含む。   The imaging unit 20 includes an optical system 20A, an image sensor 21A, an optical system 20B, and an image sensor 21B.

撮像素子21A、および撮像素子21Bは、光学画像を光電変換するための固体撮像素子であり、例えば、CMOSなどを用いる。撮像素子21Aは、光学系20Aを介して入射した光を受光し、受光した光による光電画像を光電変換した後に、制御部22へ出力する。撮像素子21Bは、光学系20Bを介して入射した光を受光し、受光した光による光電画像を光電変換した後に、制御部22へ出力する。   The image sensor 21A and the image sensor 21B are solid-state image sensors for photoelectrically converting an optical image, and for example, a CMOS or the like is used. The image pickup device 21A receives light incident through the optical system 20A, photoelectrically converts a photoelectric image by the received light, and outputs the photoelectric image to the control unit 22. The image sensor 21B receives light incident through the optical system 20B, photoelectrically converts a photoelectric image by the received light, and outputs the photoelectric image to the control unit 22.

操作部24は、ユーザによる各種操作指示を受け付ける。操作部24は、例えば、切替スイッチ24Aと、レリーズスイッチ24Bと、を含む。なお、操作部24は、更に他の操作指示を行うためのスイッチを含んだ構成であってもよい。また、上述したように、操作部24は、表示部26と一体的に構成したタッチパネルとしてもよい。   The operation unit 24 receives various operation instructions from the user. The operation unit 24 includes, for example, a changeover switch 24A and a release switch 24B. The operation unit 24 may further include a switch for performing another operation instruction. Further, as described above, the operation unit 24 may be a touch panel configured integrally with the display unit 26.

切替スイッチ24Aは、動画像撮影と、静止画像撮影と、の切替指示を入力するときにユーザによって操作されるスイッチである。レリーズスイッチ24Bは、撮影指示を入力するときにユーザによって操作されるスイッチである。   The changeover switch 24A is a switch operated by the user when inputting a switching instruction between moving image shooting and still image shooting. The release switch 24B is a switch operated by the user when inputting a shooting instruction.

制御部22は、第1取得部22Aと、信号処理部22Bと、第2取得部22Cと、算出部22Dと、生成部22Eと、変換部22Fと、出力部22Gと、を含む。第1取得部22A、信号処理部22B、第2取得部22C、算出部22D、生成部22E、変換部22F、および出力部22Gの一部またはすべては、例えば、CPUなどの処理装置にプログラムを実行させること、すなわち、ソフトウェアにより実現してもよいし、IC(Integrated Circuit)などのハードウェアにより実現してもよいし、ソフトウェアおよびハードウェアを併用して実現してもよい。   The control unit 22 includes a first acquisition unit 22A, a signal processing unit 22B, a second acquisition unit 22C, a calculation unit 22D, a generation unit 22E, a conversion unit 22F, and an output unit 22G. Part or all of the first acquisition unit 22A, the signal processing unit 22B, the second acquisition unit 22C, the calculation unit 22D, the generation unit 22E, the conversion unit 22F, and the output unit 22G can be programmed into a processing device such as a CPU, for example. Execution, that is, may be realized by software, may be realized by hardware such as an IC (Integrated Circuit), or may be realized by using software and hardware in combination.

第1取得部22Aは、撮影部20から全方位画像を取得する。   The first acquisition unit 22A acquires an omnidirectional image from the imaging unit 20.

信号処理部22Bは、第1取得部22Aで取得した全方位画像に、公知の色補正などを行う。   The signal processing unit 22B performs known color correction and the like on the omnidirectional image acquired by the first acquisition unit 22A.

具体的には、信号処理部22Bは、撮影部20で取得された全方位画像に、オプティカルブラック(OB)補正処理、欠陥画素補正処理、Linear補正処理、Shading補正処理、領域分割平均処理、ホワイトバランス(WB)処理、ガンマ(γ)補正処理、ベイヤー補間処理、YUV変換処理、YCFLT(エッジ強調)処理、および色補正処理などの信号処理を行う。   Specifically, the signal processing unit 22B applies an optical black (OB) correction process, a defective pixel correction process, a linear correction process, a Shading correction process, an area division average process, a white color to the omnidirectional image acquired by the photographing unit 20. Signal processing such as balance (WB) processing, gamma (γ) correction processing, Bayer interpolation processing, YUV conversion processing, YCFLT (edge enhancement) processing, and color correction processing is performed.

オプティカルブラック(OB)補正処理は、オプティカルブラック領域の出力信号を黒の基準レベルとして、有効画素領域の出力信号をクランプ補正する処理である。欠陥画素補正処理は、撮像素子21A、撮像素子21Bに含まれる欠陥画素の画素値を補正する処理である。Linear補正処理は、RGB別にリニア補正を施す処理である。Shading補正処理は、予め用意された補正係数(固定値)を有効画素領域の出力信号に乗じることによって、有効画素領域のシェーディング(陰影)の歪みを補正する処理である。   The optical black (OB) correction process is a process in which the output signal of the effective pixel area is clamp-corrected using the output signal of the optical black area as the black reference level. The defective pixel correction process is a process for correcting pixel values of defective pixels included in the image sensor 21A and the image sensor 21B. The linear correction process is a process for performing linear correction for each of RGB. The Shading correction process is a process for correcting shading (shading) distortion of the effective pixel region by multiplying the output signal of the effective pixel region by a correction coefficient (fixed value) prepared in advance.

領域分割平均処理は、得られた画像を分割し、平均輝度を算出する処理である。算出した平均輝度は、AE処理に使用する。ホワイトバランス(WB)処理は、公知の白色補正処理であり、各画素におけるRとBのゲインを変更することで補正を行う処理である。   The area division average process is a process of dividing the obtained image and calculating the average luminance. The calculated average luminance is used for AE processing. The white balance (WB) process is a well-known white correction process, and is a process of performing correction by changing the R and B gains in each pixel.

ガンマ(γ)補正処理は、公知のガンマ補正処理である。CMOSではベイヤー配列と呼ばれる配列で、1画素にRED、GREEN、BLUEのいずれか1色のカラーフィルタが貼付されており、RAWデータは1画素に1色の情報しかない。しかし、RAWデータから画像として見るためには、1画素にRED、GREEN、BLUEの3色の情報が必要である。ベイヤー補間処理では、足りない2色を補うために周辺の画素から補間する補間処理を行う。   The gamma (γ) correction process is a known gamma correction process. In a CMOS, an array called a Bayer array, a color filter of any one of RED, GREEN, and BLUE is attached to one pixel, and RAW data has only one color information per pixel. However, in order to view an image from RAW data, information of three colors RED, GREEN, and BLUE is required for one pixel. In the Bayer interpolation process, an interpolation process for interpolating from surrounding pixels is performed to compensate for the two missing colors.

RAWデータの段階では、RED、GREEN、BLUEの3色によるRGBデータ形式であるが、YUV変換では輝度信号Yと色差信号UVのYUVデータ形式に変換を行う。デジタルカメラ等で一般的に用いられるファイル形式のJPEG画像では、YUVデータから画像が作成される。このため、YUV変換処理では、RGBデータをYUVデータに変換する。   In the RAW data stage, the RGB data format is RED, GREEN, and BLUE, but in the YUV conversion, the luminance signal Y and the color difference signal UV are converted into the YUV data format. In a JPEG image of a file format generally used in a digital camera or the like, an image is created from YUV data. For this reason, in the YUV conversion process, RGB data is converted into YUV data.

YCFLT(エッジ強調)処理は、画像の輝度(Y)信号からエッジ部分を抽出するエッジ抽出フィルタ処理と、エッジ抽出フィルタにより抽出されたエッジに対してゲインを掛けるゲイン乗算処理と、エッジ抽出と並行して画像のノイズを除去するLPF(ローパスフィルタ)処理と、ゲイン乗算後のエッジ抽出データとLPF処理後の画像データを加算するデータ加算処理と、を含む。   YCFLT (edge enhancement) processing is performed in parallel with edge extraction filter processing for extracting an edge portion from a luminance (Y) signal of an image, gain multiplication processing for multiplying an edge extracted by the edge extraction filter, and edge extraction. Then, LPF (low pass filter) processing for removing image noise and data addition processing for adding edge extracted data after gain multiplication and image data after LPF processing are included.

色補正処理は、彩度設定、色相設定、部分的な色相変更設定、色抑圧設定などがある。彩度設定は色の濃さを決定するパラメータ設定であり、UV色空間を示すものであるが、例えば、第2象限でREDの色に対して原点からREDのドットまでのベクトルの長さが長い程、色の濃さは濃くなる。   Color correction processing includes saturation setting, hue setting, partial hue change setting, color suppression setting, and the like. The saturation setting is a parameter setting that determines the color depth and indicates the UV color space. For example, in the second quadrant, the length of the vector from the origin to the RED dot is the RED color. The longer the color, the darker the color.

第1取得部22Aでは、撮像素子21Aから取得した半球画像(前側)と、撮像素子21Bから取得した半球画像(後側)と、に上記信号処理を行うと共に合成することで、全方位画像を取得する。   The first acquisition unit 22A performs the above signal processing on the hemispherical image (front side) acquired from the image sensor 21A and the hemispherical image (rear side) acquired from the image sensor 21B, and synthesizes the omnidirectional image. get.

第2取得部22Cは、加速度検出部30、および角速度検出部32の各々から、撮影部20で画像を撮影したときの、3軸方向の加速度、および3軸方向の角速度の各々を取得する。   The second acquisition unit 22C acquires, from each of the acceleration detection unit 30 and the angular velocity detection unit 32, the acceleration in the three-axis direction and the angular velocity in the three-axis direction when an image is captured by the imaging unit 20.

なお、第2取得部22Cは、加速度検出部30、角速度検出部32、および3軸地磁気検出部34の各々から、撮影部20で画像を撮影したときの、3軸方向の加速度、3軸方向の角速度、および各方位の方向、の各々を取得することが好ましい。本実施の形態では、第2取得部22Cは、加速度検出部30、角速度検出部32、および3軸地磁気検出部34の各々から、検出結果を取得する場合を説明する。   Note that the second acquisition unit 22C has three-axis acceleration and three-axis direction when an image is captured by the imaging unit 20 from each of the acceleration detection unit 30, the angular velocity detection unit 32, and the triaxial geomagnetism detection unit 34. It is preferable to acquire each of the angular velocity and the direction of each direction. In the present embodiment, a case will be described in which the second acquisition unit 22C acquires detection results from each of the acceleration detection unit 30, the angular velocity detection unit 32, and the triaxial geomagnetism detection unit 34.

すなわち、本実施の形態では、第2取得部22Cは、全方位画像の撮影時に検出された、3軸方向の加速度と、3軸方向の角速度と、撮影装置14を原点とした各方位(方位角、磁北)の方向と、の各々を取得する。   In other words, in the present embodiment, the second acquisition unit 22C has the three-axis direction acceleration, the three-axis direction angular velocity, and the azimuths (azimuths) that have the shooting device 14 as the origin. Get the direction of (corner, magnetic north).

算出部22Dは、全方位画像の撮影時に検出された、3軸方向の加速度と、3軸方向の角速度と、に基づいて、天頂方向に対する撮影装置14の傾斜角を算出する。   The calculation unit 22D calculates the tilt angle of the imaging device 14 with respect to the zenith direction based on the triaxial acceleration and the triaxial angular velocity detected when the omnidirectional image is captured.

天頂方向とは、天球上においてユーザの真上方向を示し、反鉛直方向と一致する方向である。   The zenith direction indicates a direction directly above the user on the celestial sphere, and is a direction that coincides with the anti-vertical direction.

詳細には、算出部22Dは、加速度検出部30で検出された、グローバル座標系におけるXYZ3軸の3方向の加速度を取得する。また、算出部22Dは、角速度検出部32で検出された、グローバル座標系におけるXYZ3軸の3方向の角速度を取得する。   Specifically, the calculation unit 22D acquires the accelerations in the three directions of the XYZ three axes in the global coordinate system detected by the acceleration detection unit 30. Further, the calculation unit 22D acquires the angular velocities in the three directions of the XYZ three axes in the global coordinate system detected by the angular velocity detection unit 32.

そして、算出部22Dは、加速度検出部30で検出された加速度が、加速度が生じている(一定ではない)ことを示す場合には、加速度検出部30で検出されたグローバル座標系におけるXYZ3軸の3方向の加速度から、公知の方法により、天頂方向に対する撮影装置14の傾斜角を算出する。   When the acceleration detected by the acceleration detection unit 30 indicates that the acceleration is occurring (not constant), the calculation unit 22D displays the XYZ 3-axis in the global coordinate system detected by the acceleration detection unit 30. From the acceleration in the three directions, the tilt angle of the photographing device 14 with respect to the zenith direction is calculated by a known method.

一方、算出部22Dは、加速度検出部30で検出された加速度が、加速度一定を示す場合には、角速度検出部32で検出されたグローバル座標系におけるXYZ3軸の3方向の角速度から、公知の方法により、天頂方向に対する撮影装置14の傾斜角を算出する。   On the other hand, when the acceleration detected by the acceleration detection unit 30 indicates a constant acceleration, the calculation unit 22D calculates a known method from the angular velocities in the three directions of the XYZ three axes in the global coordinate system detected by the angular velocity detection unit 32. Thus, the inclination angle of the photographing device 14 with respect to the zenith direction is calculated.

天頂方向に対する撮影装置14の傾斜角は、本実施の形態では、天頂方向に対する、撮影装置14における光学系20Aと光学系20Bとに対向する対向面に沿った方向の傾きを示す。   In the present embodiment, the inclination angle of the imaging device 14 with respect to the zenith direction indicates the inclination of the direction along the facing surface of the imaging device 14 that faces the optical system 20A and the optical system 20B with respect to the zenith direction.

なお、算出部22Dは、全方位画像の撮影時に検出された、3軸方向の加速度と、3軸方向の角速度と、各方位の方向と、に基づいて、撮影装置14の傾斜角を算出することが好ましい。   Note that the calculation unit 22D calculates the tilt angle of the imaging device 14 based on the acceleration in the three-axis direction, the angular velocity in the three-axis direction, and the direction of each direction detected when the omnidirectional image is captured. It is preferable.

この場合、算出部22Dは、グローバル座標系におけるXYZ3軸の3方向の地磁気検出結果から、3軸地磁気検出部34で検出された、撮影装置14を原点とした各方位の方向を更に取得する。具体的には、算出部22Dは、撮影装置14を原点とした各方位として、光学系20Aの光軸と、光学系20Bの光軸と、の各々の方位を取得する。   In this case, the calculation unit 22D further acquires the directions of the respective orientations with the imaging device 14 as the origin, detected by the triaxial geomagnetism detection unit 34, from the XYZ triaxial geomagnetic detection results in the global coordinate system. Specifically, the calculation unit 22D acquires the respective azimuths of the optical axis of the optical system 20A and the optical axis of the optical system 20B as the respective azimuths with the photographing device 14 as the origin.

そして、算出部22Dは、加速度検出部30で検出された加速度が、加速度が生じている(一定ではない)ことを示す場合には、加速度検出部30で検出されたグローバル座標系におけるXYZ3軸の3方向の加速度と、光学系20Aの光軸の方位と、光学系20Bの光軸の方位と、を用いて、公知の方法により、天頂方向に対する撮影装置14の傾斜角と方位とを算出する。   When the acceleration detected by the acceleration detection unit 30 indicates that the acceleration is occurring (not constant), the calculation unit 22D displays the XYZ 3-axis in the global coordinate system detected by the acceleration detection unit 30. Using the acceleration in the three directions, the azimuth of the optical axis of the optical system 20A, and the azimuth of the optical axis of the optical system 20B, the tilt angle and azimuth of the imaging device 14 with respect to the zenith direction are calculated by a known method. .

また、算出部22Dは、加速度検出部30で検出された加速度が、加速度一定を示す場合には、角速度検出部32で検出されたグローバル座標系におけるXYZ3軸の3方向の角速度と、光学系20Aの光軸の方位と、光学系20Bの光軸の方位と、を用いて、公知の方法により、天頂方向に対する撮影装置14の傾斜角と方位とを算出する。   In addition, when the acceleration detected by the acceleration detection unit 30 indicates constant acceleration, the calculation unit 22D determines the angular velocity in the three directions of the XYZ three axes in the global coordinate system detected by the angular velocity detection unit 32 and the optical system 20A. The tilt angle and the azimuth of the photographing device 14 with respect to the zenith direction are calculated by a known method using the azimuth of the optical axis and the azimuth of the optical axis of the optical system 20B.

生成部22Eは、算出部22Dで算出した傾斜角に応じた角度傾斜させるように、全方位画像を射影変換するための射影変換パラメータを生成する。   The generation unit 22E generates projective transformation parameters for performing projective transformation on the omnidirectional image so as to tilt the angle according to the tilt angle calculated by the calculation unit 22D.

なお、算出部22Dで撮影装置14の傾斜角および方位を算出した場合には、生成部22Eは、算出部22Dで算出した傾斜角に応じた角度、算出された方位に一致する方向に傾斜させるための射影変換パラメータを生成すればよい。   When the calculation unit 22D calculates the tilt angle and orientation of the photographing device 14, the generation unit 22E causes the tilt according to the tilt angle calculated by the calculation unit 22D and a direction that matches the calculated orientation. It is sufficient to generate projective transformation parameters for

生成部22Eは、公知の方法を用いて、射影変換パラメータを生成すればよい。生成部22Eは、例えば、OpenGL(Open Graphics Library)を用いて、射影変換パラメータ(行列)を生成する。   The generation unit 22E may generate projective transformation parameters using a known method. The generation unit 22E generates a projective transformation parameter (matrix) using, for example, OpenGL (Open Graphics Library).

変換部22Fは、撮影部20で撮影された全方位画像を、該全方位画像の撮影時に加速度検出部30、角速度検出部32、3軸地磁気検出部34で検出された検出結果に応じて算出された傾斜角から生成された射影変換パラメータを用いて、射影変換する。   The conversion unit 22F calculates the omnidirectional image captured by the imaging unit 20 according to the detection result detected by the acceleration detection unit 30, the angular velocity detection unit 32, and the triaxial geomagnetic detection unit 34 when the omnidirectional image is captured. Projective transformation is performed using the projection transformation parameter generated from the tilt angle.

なお、変換部22Fは、時系列で撮影された複数の全方位画像の各々を、複数の全方位画像の各々に応じて生成された複数の射影変換パラメータの各々を用いて射影変換することで、射影変換した複数の全方位画像からなる動画像を生成してもよい。   Note that the conversion unit 22F performs projective conversion on each of a plurality of omnidirectional images captured in time series using each of a plurality of projection conversion parameters generated according to each of the plurality of omnidirectional images. Alternatively, a moving image composed of a plurality of omnidirectional images subjected to projective transformation may be generated.

出力部22Gは、変換部22Fで射影変換された全方位画像(静止画像、または動画像)を、表示部26へ出力する。表示部26への出力には、例えば、OpenGL等を用いればよい。なお、出力部22Gは、変換部22Fで射影変換された全方位画像(静止画像、または動画像)を、図示を省略する通信部等を介して、外部装置へ送信してもよい。また、出力部22Gは、変換部22Fで射影変換された全方位画像(静止画像、または動画像)を、記憶部28へ記憶してもよい。また、出力部22Gは、射影変換された全方位画像(静止画像、または動画像)に、公知の圧縮処理を施した後に、外部装置へ送信、または記憶部28へ記憶してもよい。   The output unit 22G outputs the omnidirectional image (still image or moving image) subjected to the projective conversion by the conversion unit 22F to the display unit 26. For output to the display unit 26, for example, OpenGL or the like may be used. Note that the output unit 22G may transmit the omnidirectional image (still image or moving image) subjected to projective conversion by the conversion unit 22F to an external device via a communication unit (not shown). Further, the output unit 22G may store the omnidirectional image (still image or moving image) subjected to projective conversion by the conversion unit 22F in the storage unit 28. Further, the output unit 22G may perform a known compression process on the omnidirectional image (still image or moving image) that has undergone the projective transformation, and then transmit it to an external device or store it in the storage unit 28.

次に、制御部22で実行する撮影処理の手順を説明する。   Next, a procedure of imaging processing executed by the control unit 22 will be described.

図6は、制御部22で実行する撮影処理の手順を示すフローチャートである。   FIG. 6 is a flowchart showing the procedure of the photographing process executed by the control unit 22.

まず、制御部22の第1取得部22Aが、撮影部20から全方位画像を取得する(ステップS100)。   First, the first acquisition unit 22A of the control unit 22 acquires an omnidirectional image from the imaging unit 20 (step S100).

次に、信号処理部22Bが、ステップS100で取得した全方位画像に信号処理を施す(ステップS102)。   Next, the signal processing unit 22B performs signal processing on the omnidirectional image acquired in step S100 (step S102).

次に、第2取得部22Cが、加速度検出部30、角速度検出部32、および3軸地磁気検出部34、の各々から、ステップS100で取得した全方位画像の撮影時の検出結果を取得する(ステップS104)。   Next, the 2nd acquisition part 22C acquires the detection result at the time of imaging | photography of the omnidirectional image acquired by step S100 from each of the acceleration detection part 30, the angular velocity detection part 32, and the triaxial geomagnetism detection part 34 ( Step S104).

次に、算出部22Dが、ステップS100で取得した全方位画像の撮影時の、撮影装置14の傾斜角および方位を算出する(ステップS106)。次に、生成部22Eが、ステップS100で算出された、傾斜角および方位から、射影変換パラメータを生成する(ステップS108)。   Next, the calculation unit 22D calculates the tilt angle and azimuth of the imaging device 14 when the omnidirectional image acquired in step S100 is captured (step S106). Next, the generation unit 22E generates a projective transformation parameter from the tilt angle and direction calculated in step S100 (step S108).

次に、変換部22Fが、ステップS102で信号処理された全方位画像を射影変換する(ステップS110)。   Next, the conversion unit 22F performs projective conversion on the omnidirectional image signal-processed in step S102 (step S110).

次に、変換部22Fは、動画像撮影指示、静止画像撮影指示、の何れを操作部24から受け付けているかを判断する(ステップS114)。   Next, the conversion unit 22F determines which one of the moving image shooting instruction and the still image shooting instruction is received from the operation unit 24 (step S114).

ユーザによる切替スイッチ24Aの操作指示によって、動画像撮影が指示されている場合には、変換部22Fは、動画像撮影指示がなされていると判断する(ステップS114:動画像)。そして、ステップS116へ進む。ステップS116では、変換部22Fは、動画像撮影の終了指示を受け付けたか否かを判断する(ステップS116)。変換部22Fは、切替スイッチ24Aまたはレリーズスイッチ24Bから、動画像撮影の終了指示を受け付けたか否かを判別することで、ステップS116の判断を行う。   In the case where moving image shooting is instructed by an operation instruction of the changeover switch 24A by the user, the conversion unit 22F determines that a moving image shooting instruction has been issued (step S114: moving image). Then, the process proceeds to step S116. In step S116, the conversion unit 22F determines whether an instruction to end moving image shooting has been received (step S116). The conversion unit 22F determines whether or not a moving image shooting end instruction has been received from the changeover switch 24A or the release switch 24B, thereby determining step S116.

ステップS116で否定判断すると(ステップS116:No)、上記ステップS100へ戻る。一方、ステップS116で肯定判断すると(ステップS116:Yes)、ステップS118へ進む。   If a negative determination is made in step S116 (step S116: No), the process returns to step S100. On the other hand, if an affirmative determination is made in step S116 (step S116: Yes), the process proceeds to step S118.

また、上記ステップS114において、ユーザによる切替スイッチ24Aの操作指示によって、静止画像撮影が指示されている場合には、変換部22Fは、静止画像撮影指示がなされていると判断する(ステップS114:静止画像)、そして、ステップS118へ進む。   In step S114, if a still image shooting instruction is given by an operation instruction of the changeover switch 24A by the user, the conversion unit 22F determines that a still image shooting instruction is given (step S114: still image). Image) and the process proceeds to step S118.

ステップS100〜ステップS116の処理によって、射影変換された全方位画像(静止画像)、または、射影変換された複数の全方位画像としての動画像が生成される。   Through the processes in steps S100 to S116, a moving image is generated as an omnidirectional image (still image) that has undergone projective transformation or a plurality of omnidirectional images that have undergone projective transformation.

次に、変換部22Fが、生成された全方位画像(静止画像、または動画像)を、表示部26、記憶部28、または外部装置へ出力する(ステップS118)。   Next, the conversion unit 22F outputs the generated omnidirectional image (still image or moving image) to the display unit 26, the storage unit 28, or an external device (step S118).

そして、本ルーチンを終了する。   Then, this routine ends.

以上説明したように、本実施の形態の撮影装置14は、撮影部20と、加速度検出部30と、角速度検出部32と、算出部22Dと、生成部22Eと、変換部22Fと、を備える。撮影部20は、撮影によって全方位画像を得る。加速度検出部30は、3軸方向の加速度を検出する。角速度検出部32は、3軸方向の角速度を検出する。算出部22Dは、全方位画像の撮影時に検出された、加速度と、角速度と、に基づいて、天頂方向に対する当該撮影装置14の傾斜角を算出する。生成部22Eは、傾斜角に応じた角度傾斜させるように全方位画像を射影変換するための射影変換パラメータを生成する。変換部22Fは、全方位画像を、射影変換パラメータを用いて射影変換する。   As described above, the imaging device 14 according to the present embodiment includes the imaging unit 20, the acceleration detection unit 30, the angular velocity detection unit 32, the calculation unit 22D, the generation unit 22E, and the conversion unit 22F. . The photographing unit 20 obtains an omnidirectional image by photographing. The acceleration detection unit 30 detects acceleration in the triaxial direction. The angular velocity detector 32 detects angular velocities in the three axial directions. The calculation unit 22D calculates the tilt angle of the imaging device 14 with respect to the zenith direction based on the acceleration and the angular velocity detected when the omnidirectional image is captured. The generation unit 22E generates projective transformation parameters for performing projective transformation on the omnidirectional image so as to be inclined according to the inclination angle. The conversion unit 22F performs projective conversion on the omnidirectional image using the projective conversion parameter.

従って、本実施の形態の撮影装置14は、撮影装置14が移動中または運動中であっても、撮影装置14の移動中または運動中に撮影された全方位画像を、撮影装置14の撮影時の角度に応じて精度良く補正することができる。   Therefore, the imaging device 14 according to the present embodiment captures an omnidirectional image captured while the imaging device 14 is moving or exercising even when the imaging device 14 is moving or exercising. Can be accurately corrected according to the angle.

また、本実施の形態の撮影装置14は、3軸地磁気検出部34を更に備え、算出部22Dは、全方位画像の撮影時に検出された、3軸方向の加速度と、3軸方向の角速度と、各方位の方向と、に基づいて、撮影装置14の天頂方向に対する傾斜角および撮影装置14の方位を算出する。また、生成部22Eは、傾斜角に応じた角度、算出された方位の一致する方向に傾斜させるように、全方位画像を射影変換するための射影変換パラメータを生成する。   The imaging device 14 according to the present embodiment further includes a triaxial geomagnetism detection unit 34, and the calculation unit 22D calculates the acceleration in the triaxial direction and the angular velocity in the triaxial direction detected when the omnidirectional image is captured. Based on the direction of each azimuth, the tilt angle of the photographing device 14 with respect to the zenith direction and the orientation of the photographing device 14 are calculated. In addition, the generation unit 22E generates projective transformation parameters for performing projective transformation on the omnidirectional image so as to incline in the direction corresponding to the inclination angle and the calculated azimuth.

このため、該射影変換パラメータを用いて全方位画像を射影変換することで、全方位画像に含まれる被写体の位置や方向を、撮影装置14の傾きや方位に関わらず固定した、全方位画像とすることができる。言い換えると、全方位画像における天頂方向や、全方位画像における撮影方向(特に静止画像の撮影方向)を一定の方向とした、全方位画像を得ることができる。   For this reason, by performing projective transformation of the omnidirectional image using the projective transformation parameter, the position and direction of the subject included in the omnidirectional image are fixed regardless of the inclination and azimuth of the imaging device 14, and can do. In other words, it is possible to obtain an omnidirectional image in which the zenith direction in the omnidirectional image and the shooting direction in the omnidirectional image (particularly the shooting direction of the still image) are set as a fixed direction.

次に、上述した撮影装置14のハードウェア構成について説明する。   Next, a hardware configuration of the above-described photographing apparatus 14 will be described.

図7は、撮影装置14のハードウェア構成図である。撮影装置14は、ハードウェア構成として、装置全体を制御するCPU52と、各種データや各種プログラムを記憶するROM50と、各種データや各種プログラムを記憶するRAM54と、操作部24(図1参照)に相当する入力装置58と、表示部26(図1参照)に相当する表示装置56と、通信装置60と、撮影部20と、検出部62と、を主に備えており、通常のコンピュータを利用したハードウェア構成となっている。検出部62は、上述した、加速度検出部30、角速度検出部32、および3軸地磁気検出部34を含む。   FIG. 7 is a hardware configuration diagram of the imaging device 14. The photographing apparatus 14 has a hardware configuration equivalent to a CPU 52 that controls the entire apparatus, a ROM 50 that stores various data and various programs, a RAM 54 that stores various data and various programs, and an operation unit 24 (see FIG. 1). Input device 58, a display device 56 corresponding to the display unit 26 (see FIG. 1), a communication device 60, a photographing unit 20, and a detection unit 62 are mainly provided, and an ordinary computer is used. It has a hardware configuration. The detection unit 62 includes the acceleration detection unit 30, the angular velocity detection unit 32, and the triaxial geomagnetism detection unit 34 described above.

上記実施の形態の撮影装置14で実行されるプログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録されてコンピュータプログラムプロダクトとして提供される。   The program executed by the photographing apparatus 14 of the above embodiment is a file in an installable format or an executable format, and is a computer such as a CD-ROM, a flexible disk (FD), a CD-R, a DVD (Digital Versatile Disk). Recorded on a readable recording medium and provided as a computer program product.

また、上記実施の形態の撮影装置14で実行されるプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成してもよい。また、上記実施の形態の撮影装置14で実行されるプログラムをインターネット等のネットワーク経由で提供または配布するように構成してもよい。   Further, the program executed by the photographing apparatus 14 of the above embodiment may be stored on a computer connected to a network such as the Internet and provided by being downloaded via the network. Further, the program executed by the photographing apparatus 14 of the above embodiment may be provided or distributed via a network such as the Internet.

また、上記実施の形態の撮影装置14で実行されるプログラムを、ROM等に予め組み込んで提供するように構成してもよい。   In addition, the program executed by the imaging device 14 of the above-described embodiment may be configured to be provided by being incorporated in advance in a ROM or the like.

上記実施の形態の撮影装置14で実行されるプログラムは、上述した各部を含むモジュール構成となっており、実際のハードウェアとしてはCPU(プロセッサ)が上記記憶媒体からプログラムを読み出して実行することにより上記各部が主記憶装置上にロードされ、上記各部が主記憶装置上に生成されるようになっている。   The program executed by the imaging device 14 of the above embodiment has a module configuration including the above-described units, and as actual hardware, a CPU (processor) reads and executes the program from the storage medium. Each of the above parts is loaded on the main memory, and each of the above parts is generated on the main memory.

なお、本発明は上記実施の形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施の形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施の形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施の形態にわたる構成要素を適宜組み合わせてもよい。また、種々の変形が可能である。   Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the components without departing from the scope of the invention in the implementation stage. Various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiments. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, constituent elements over different embodiments may be appropriately combined. Various modifications are possible.

14 撮影装置
20 撮影部
22D 算出部
22E 生成部
22F 変換部
22G 出力部
30 加速度検出部
32 角速度検出部
34 3軸地磁気検出部
14 imaging device 20 imaging unit 22D calculation unit 22E generation unit 22F conversion unit 22G output unit 30 acceleration detection unit 32 angular velocity detection unit 34 triaxial geomagnetic detection unit

特開2013−3259号公報JP2013-3259A

上述した課題を解決するために、本発明は、撮影方向の異なる画像を撮影する少なくとも2つの撮像素子を有する撮影部と、3軸方向の加速度を検出する加速度検出部と、3軸方向の角速度を検出する角速度検出部と、前記加速度検出部および前記角速度検出により検出された加速度と、角速度と、に基づいて、天頂方向に対する当該撮影装置の傾斜角を算出し、算出された前記傾斜角に基づいて前記画像を変換し、全方位画像を生成する制御部と、を備えた、撮影装置である。 In order to solve the above-described problems, the present invention provides an imaging unit having at least two imaging elements that capture images with different imaging directions, an acceleration detection unit that detects acceleration in three axes, and an angular velocity in three axes. an angular velocity detection unit for detecting a and acceleration of the detected by the acceleration detection section and the angular velocity detection, and the angular velocity, based on, and calculates the inclination angle of the imaging device relative to the zenith direction, the slope is calculated And a control unit that converts the image based on a corner and generates an omnidirectional image .

Claims (5)

撮影によって全方位画像を得る撮影部と、
3軸方向の加速度を検出する加速度検出部と、
3軸方向の角速度を検出する角速度検出部と、
前記全方位画像の撮影時に検出された、前記加速度と、前記角速度と、に基づいて、天頂方向に対する当該撮影装置の傾斜角を算出する算出部と、
算出された前記傾斜角に応じた角度、傾斜させるように、前記全方位画像を射影変換するための射影変換パラメータを生成する生成部と、
前記全方位画像を、前記射影変換パラメータを用いて射影変換する変換部と、
を備えた、撮影装置。
A shooting unit that obtains an omnidirectional image by shooting;
An acceleration detection unit for detecting acceleration in three axis directions;
An angular velocity detector that detects angular velocities in three axial directions;
A calculation unit that calculates an inclination angle of the imaging device with respect to the zenith direction based on the acceleration and the angular velocity detected at the time of capturing the omnidirectional image;
A generation unit that generates a projective transformation parameter for projective transformation of the omnidirectional image so as to be tilted at an angle corresponding to the calculated tilt angle;
The omnidirectional image, a conversion unit that performs projective conversion using the projective conversion parameters;
An imaging device comprising:
3軸方向の地磁気を検出することで、当該撮影装置を原点とした各方位の方向を検出する3軸地磁気検出部を更に備え、
前記算出部は、
前記全方位画像の撮影時に検出された、前記加速度と、前記角速度と、前記各方位の方向と、に基づいて、当該撮影装置の前記傾斜角および当該撮影装置の方位を算出し、
前記生成部は、
算出された前記傾斜角に応じた角度、算出された前記方位に一致する方向に傾斜させるように、前記全方位画像を射影変換するための前記射影変換パラメータを生成する、
請求項1に記載の撮影装置。
A triaxial geomagnetism detection unit that detects the direction of each azimuth with the imaging device as the origin by detecting the geomagnetism in the triaxial direction,
The calculation unit includes:
Based on the acceleration, the angular velocity, and the direction of each azimuth detected at the time of photographing the omnidirectional image, calculate the tilt angle of the photographic device and the azimuth of the photographic device,
The generator is
Generating the projective transformation parameters for projective transformation of the omnidirectional image so as to incline in an angle according to the calculated tilt angle and in a direction matching the calculated azimuth;
The imaging device according to claim 1.
前記変換部は、時系列で撮影された複数の前記全方位画像の各々を、複数の前記全方位画像の各々に応じて生成された複数の前記射影変換パラメータの各々を用いて射影変換した、動画像を生成する、
請求項1または請求項2に記載の撮影装置。
The conversion unit performs projective conversion of each of the plurality of omnidirectional images captured in time series using each of the plurality of projection conversion parameters generated according to each of the plurality of omnidirectional images. Generate moving images,
The imaging device according to claim 1 or 2.
撮影によって全方位画像を得る撮影部と、3軸方向の加速度を検出する加速度検出部と、3軸方向の角速度を検出する角速度検出部と、を備えた撮影装置で実行する撮影方法であって、
前記全方位画像の撮影時に検出された、前記加速度と、前記角速度と、に基づいて、天頂方向に対する当該撮影装置の傾斜角を算出するステップと、
算出された前記傾斜角に応じた角度、傾斜させるように、前記全方位画像を射影変換するための射影変換パラメータを生成するステップと、
前記全方位画像を、前記射影変換パラメータを用いて射影変換するステップと、
を含む、撮影方法。
An imaging method executed by an imaging device including an imaging unit that obtains an omnidirectional image by imaging, an acceleration detection unit that detects acceleration in three axes, and an angular velocity detection unit that detects angular velocity in three axes. ,
Calculating an inclination angle of the photographing apparatus with respect to the zenith direction based on the acceleration and the angular velocity detected when photographing the omnidirectional image;
Generating a projective transformation parameter for projective transformation of the omnidirectional image so as to be tilted at an angle corresponding to the calculated tilt angle;
Projecting the omnidirectional image using the projective transformation parameters; and
Including shooting method.
撮影によって全方位画像を得る撮影部と、3軸方向の加速度を検出する加速度検出部と、3軸方向の角速度を検出する角速度検出部と、を備えた撮影装置が有するコンピュータに、
前記全方位画像の撮影時に検出された、前記加速度と、前記角速度と、に基づいて、天頂方向に対する前記撮影装置の傾斜角を算出するステップと、
算出された前記傾斜角に応じた角度、傾斜させるように、前記全方位画像を射影変換するための射影変換パラメータを生成するステップと、
前記全方位画像を、前記射影変換パラメータを用いて射影変換するステップと、
を実行させる、プログラム。
A computer having an imaging device that includes an imaging unit that obtains an omnidirectional image by imaging, an acceleration detection unit that detects acceleration in three axes, and an angular velocity detection unit that detects angular velocity in three axes.
Calculating an inclination angle of the imaging device with respect to the zenith direction based on the acceleration and the angular velocity detected at the time of capturing the omnidirectional image;
Generating a projective transformation parameter for projective transformation of the omnidirectional image so as to be tilted at an angle corresponding to the calculated tilt angle;
Projecting the omnidirectional image using the projective transformation parameters; and
A program that executes
JP2018166634A 2018-09-06 2018-09-06 Imaging apparatus, imaging method, and program Active JP6610740B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018166634A JP6610740B2 (en) 2018-09-06 2018-09-06 Imaging apparatus, imaging method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018166634A JP6610740B2 (en) 2018-09-06 2018-09-06 Imaging apparatus, imaging method, and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2014165188A Division JP6398457B2 (en) 2014-08-14 2014-08-14 Imaging apparatus, imaging method, and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2019199324A Division JP6879351B2 (en) 2019-10-31 2019-10-31 Shooting device, display method, shooting method, and program

Publications (2)

Publication Number Publication Date
JP2019033487A true JP2019033487A (en) 2019-02-28
JP6610740B2 JP6610740B2 (en) 2019-11-27

Family

ID=65523780

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018166634A Active JP6610740B2 (en) 2018-09-06 2018-09-06 Imaging apparatus, imaging method, and program

Country Status (1)

Country Link
JP (1) JP6610740B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005339313A (en) * 2004-05-28 2005-12-08 Toshiba Corp Method and apparatus for presenting image
JP2007104234A (en) * 2005-10-04 2007-04-19 Canon Inc Imaging apparatus
JP2011166371A (en) * 2010-02-08 2011-08-25 Victor Co Of Japan Ltd Imaging apparatus and imaging method
JP2011207571A (en) * 2010-03-30 2011-10-20 Tadano Ltd Crane control device and crane
WO2013069048A1 (en) * 2011-11-07 2013-05-16 株式会社ソニー・コンピュータエンタテインメント Image generating device and image generating method
JP2013214947A (en) * 2012-03-09 2013-10-17 Ricoh Co Ltd Image capturing apparatus, image capturing system, image processing method, information processing apparatus, and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005339313A (en) * 2004-05-28 2005-12-08 Toshiba Corp Method and apparatus for presenting image
JP2007104234A (en) * 2005-10-04 2007-04-19 Canon Inc Imaging apparatus
JP2011166371A (en) * 2010-02-08 2011-08-25 Victor Co Of Japan Ltd Imaging apparatus and imaging method
JP2011207571A (en) * 2010-03-30 2011-10-20 Tadano Ltd Crane control device and crane
WO2013069048A1 (en) * 2011-11-07 2013-05-16 株式会社ソニー・コンピュータエンタテインメント Image generating device and image generating method
JP2013214947A (en) * 2012-03-09 2013-10-17 Ricoh Co Ltd Image capturing apparatus, image capturing system, image processing method, information processing apparatus, and program

Also Published As

Publication number Publication date
JP6610740B2 (en) 2019-11-27

Similar Documents

Publication Publication Date Title
JP6398457B2 (en) Imaging apparatus, imaging method, and program
JP6467787B2 (en) Image processing system, imaging apparatus, image processing method, and program
JP4661922B2 (en) Image processing apparatus, imaging apparatus, solid-state imaging device, image processing method, and program
JP5414405B2 (en) Image processing apparatus, imaging apparatus, and image processing method
JP2008042482A (en) Color filter, image processing apparatus and image processing method, imaging apparatus and imaging method, program, and recording medium
EP2219366B1 (en) Image capturing device, image capturing method, and image capturing program
US8441554B2 (en) Image capturing apparatus capable of extracting subject region from captured image
JP2011029735A5 (en)
JP2010088105A (en) Imaging apparatus and method, and program
JP6656035B2 (en) Image processing apparatus, imaging apparatus, and control method for image processing apparatus
JP2017168982A (en) Imaging apparatus, and control method and program for imaging apparatus
JP2017017689A (en) Imaging system and program of entire-celestial-sphere moving image
KR102592745B1 (en) Posture estimating apparatus, posture estimating method and computer program stored in recording medium
US11030732B2 (en) Information processing device, information processing system, and image processing method for generating a sum picture by adding pixel values of multiple pictures
JP2015050498A (en) Imaging device, imaging method, and recording medium
JP6610740B2 (en) Imaging apparatus, imaging method, and program
JP6879351B2 (en) Shooting device, display method, shooting method, and program
KR101822169B1 (en) Electronic device for providing panorama image and control method thereof
JP2020113219A (en) Imaging apparatus, image synthesizing method, and image synthesizing program
JP6834556B2 (en) Shooting equipment, shooting method and program
JP6696596B2 (en) Image processing system, imaging device, image processing method and program
JP7442989B2 (en) Imaging device, control method for the imaging device, and program
JP2017212698A (en) Imaging apparatus, control method for imaging apparatus, and program
JP6885133B2 (en) Image processing equipment, imaging system, image processing method and program
JP3209785B2 (en) Motion vector detection device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181009

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181010

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190624

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190702

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190830

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191014

R151 Written notification of patent or utility model registration

Ref document number: 6610740

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151