JP5243280B2 - Mobile terminal and synthesis program - Google Patents
Mobile terminal and synthesis program Download PDFInfo
- Publication number
- JP5243280B2 JP5243280B2 JP2009012445A JP2009012445A JP5243280B2 JP 5243280 B2 JP5243280 B2 JP 5243280B2 JP 2009012445 A JP2009012445 A JP 2009012445A JP 2009012445 A JP2009012445 A JP 2009012445A JP 5243280 B2 JP5243280 B2 JP 5243280B2
- Authority
- JP
- Japan
- Prior art keywords
- images
- information
- image
- image data
- panoramic
- 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
Links
Images
Landscapes
- Television Signal Processing For Recording (AREA)
- Editing Of Facsimile Originals (AREA)
- Studio Devices (AREA)
- Image Processing (AREA)
Description
この発明は、携帯端末に関し、特にたとえばパノラマ写真の撮影が可能な、携帯端末に関する。 The present invention relates to a mobile terminal, and more particularly to a mobile terminal capable of taking a panoramic photograph, for example.
従来、特にたとえばパノラマ写真の撮影が可能な、携帯端末が知られており、この種の装置の一例が、特許文献1に開示されている。この背景技術の写真システムにおけるカメラでは、写真撮影場所が識別できる位置データを、周囲に配置されたステーションとの無線通信またはGPS衛星との通信によって取得する。また、カメラによって撮影された画像は、位置データを関連付けられ、メモリに保存される。そして、位置データが関連付けられた画像は、処理サブシステムのプロセッサによって、データベースに保存されている保存コンテンツと関連付けられ、パノラマおよび360度写真などの拡張画像製品が作られる。また、現像者は、撮影された画像のコンテンツ情報(たとえば、撮影された場所)をステッカーに印刷し、現像者自身で写真の裏側に貼り付けることができる。
しかし、特許文献1における写真システムにおけるカメラでは、パノラマ写真が複数に分割されて現像されることについては、何ら考慮されていない。たとえば、パノラマ写真用の印画紙は、特殊な大きさであり、かつ高価である。そのため、現像者は、パノラマ写真をアルバムに収納する場合に、L版の印画紙を複数枚使い、パノラマ写真を複数の写真に分割して現像することがある。ところが、現像者は、写真をアルバムに収納してからしばらく経つと、分割して現像した複数の写真の配置を忘れてしまい、再配置できなくなってしまう。また、特許文献1では、撮影された場所などを示すコンテンツ情報をステッカーに印刷する技術が開示されているが、使用者は、裏側のステッカーを見ても撮影した場所を思い出すだけである。
However, the camera in the photographic system in
それゆえに、この発明の主たる目的は、新規な、携帯端末、画像記憶プログラムおよび画像記憶方法を提供することである。 Therefore, a main object of the present invention is to provide a novel portable terminal , an image storage program, and an image storage method .
この発明の他の目的は、複数の画像を容易に再配置する事ができる、携帯端末、画像記憶プログラムおよび画像記憶方法を提供することである。 Another object of the present invention is to provide a portable terminal , an image storage program, and an image storage method capable of easily rearranging a plurality of images.
この発明は、上記の課題を解決するために、以下の構成を採用した。なお、括弧内の参照符号および補足説明等は、この発明の理解を助けるために記述する実施形態との対応関係を示したものであって、この発明を何ら限定するものではない。 The present invention employs the following configuration in order to solve the above problems. The reference numerals in parentheses, supplementary explanations, and the like indicate the corresponding relationship with the embodiments described in order to help understanding of the present invention, and do not limit the present invention.
第1の発明は、パノラマモードで撮影された複数の画像を、それぞれ個別の画像として記憶する、携帯端末であって、撮影操作に応じて画像を撮影する撮影手段、方位情報を取得する方位情報取得手段、携帯端末の傾きを検出する傾き検出手段、パノラマモードが設定されている状態で撮影操作がされたとき、方位情報および携帯端末の傾きを、複数の画像のそれぞれに対応付けて記憶する第1記憶手段、および複数の画像のそれぞれに対応付けられた方位情報に基づくパノラマ配置の順序情報を、複数の画像に付与して記憶する第2記憶手段を備え、パノラマ配置の順序情報は、複数の画像のそれぞれに対応付けられた傾きに基づいて付与される位置が決められる、携帯端末である。 Orientation first invention, a plurality of images captured in a panoramic mode, respectively stored as separate images, a portable terminal, to acquire imaging unit for capturing an image, a rectangular position information in accordance with the photographing operation information acquisition means, tilt detecting means for detecting the tilt of the portable terminal, when the photographing operation is in a state where the panoramic mode is set, the inclination of the rectangular position information and the portable terminal, in association with each of the plurality of images first storage means for storing, and plurality of order information based rather panoramic disposed orientation information associated with each image, a second memory means for storing given to a plurality of images, the panoramic arrangement sequence information, the position to be imparted based on the slope associated with each of the plurality of images Ru determined, a portable terminal.
第1の発明では、携帯端末(10)はパノラマモードで撮影された複数の画像を、それぞれ個別の画像として記憶する。使用者は、撮影操作を行うことで撮影手段(36,38)によって画像を撮影することができる。また、方位情報取得手段(20,34,S3)は、撮像装置の光軸方向が示す方位情報を取得する。傾き検出手段(20,32,S5)は携帯端末の傾きを検出する。第1記憶手段(20,30,S9)はパノラマモードが設定されている状態で撮影操作がされたとき、方位情報および携帯端末の傾きを、複数の画像のそれぞれに対応付けて記憶する。第2記憶手段(20,S17,S21)は複数の画像のそれぞれに対応付けられた方位情報に基づくパノラマ配置の順序情報を、複数の画像に付与して記憶する。パノラマ配置の順序情報は、複数の画像のそれぞれに対応付けられた傾きに基づいて付与される位置が決められる。 In the first invention, the mobile terminal (10) stores a plurality of images taken in the panorama mode as individual images. The user can take an image with the photographing means (36, 38) by performing a photographing operation . Further, the orientation information acquisition means (20, 34, S3) acquires the orientation information indicated by the optical axis direction of the imaging device. The inclination detecting means (20, 32, S5) detects the inclination of the portable terminal. The first storage means (20, 30, S9) stores the azimuth information and the inclination of the mobile terminal in association with each of the plurality of images when a photographing operation is performed in a state where the panorama mode is set. The second storage means (20, S17 , S21 ) assigns and stores the panorama arrangement order information based on the azimuth information associated with each of the plurality of images. Sequence information of the panoramic arrangement, Ru position granted under the slope associated with each of the plurality of images are determined.
第1の発明によれば、使用者は、方位情報に基づいて決められた順序情報を参照して、複数に分割されて現像されたパノラマ写真を容易に再配置する事ができる。
特に、使用者は、携帯端末の傾きに基づいて付与された順序情報を参照することができるので、たとえば被写体に対する地面の方向を正確に認識し、パノラマ写真の再配置を行うことなどができるようになる。
According to the first aspect of the invention, the user can easily rearrange the panoramic photographs that are divided and developed by referring to the order information determined based on the orientation information.
In particular, the user can refer to the order information given based on the inclination of the mobile terminal, so that the user can accurately recognize the direction of the ground with respect to the subject and rearrange panoramic photos, for example. become.
第2の発明は、第1の発明に従属し、時刻を取得する時刻取得手段をさらに備え、第1記憶手段は、時刻取得手段によって取得された時刻を、複数の画像のそれぞれに対応付けて記憶し、第2記憶手段は、同じ方位情報が対応付けられた2つ以上の画像がある場合、複数の画像のそれぞれに対応付けられた方位情報および時刻に基づいてパノラマ配置の順序情報を決める。 A second invention is according to the first inventions, when further comprising a time obtaining means for obtaining a time, first storage means, by the time the acquisition by time acquisition means, corresponding to each of the plurality of images give stored, the second storage means, if the same orientation data is at least two images associated with the sequence of a panoramic arranged based on direction information and the time associated with each of the plurality of images Decide information.
第2の発明では、時刻取得手段(20,20a,S7)は時刻を取得する。第1記憶手段は、時刻取得手段によって取得された時刻を、複数の画像のそれぞれに対応付けて記憶する。第2記憶手段は、同じ方位情報が対応付けられた2つ以上の画像がある場合、複数の画像のそれぞれに対応付けられた方位情報および時刻に基づいてパノラマ配置の順序情報を決める。 In the second invention, the time acquisition means (20, 20a, S7) acquires the time. The first storage means stores the time acquired by the time acquisition means in association with each of the plurality of images. Second storage means, the same if the direction information there are two or more images associated with, Ru determine the order information panorama arranged based on direction information and the time associated with each of the plurality of images.
第2の発明によれば、同じ方位が対応付けられた画像が複数ある場合に、撮影された時刻に基づいて順序情報が決められる。 According to the second invention, when images of the same orientation are associated there is more than one, Ru order information are determined based on the captured time.
第3の発明は、第1の発明または第2の発明に従属し、第2記憶手段は、方位を示す情報を画像に付与して記憶する。 A third invention is the first invention or dependent on the second inventions, the second storage means, it stores imparted information indicating the orientation in the image.
第3の発明によれば、使用者は、たとえば同じ場所で複数のパノラマ写真を撮影する場合に、各パノラマ写真に付与された方位の情報から、各パノラマ写真に写る被写体(山など)を区別することができるようになる。 According to the third invention, for example, when a user takes a plurality of panoramic photos at the same place, the user distinguishes the subject (mountain or the like) shown in each panoramic photo from information on the orientation given to each panoramic photo. Will be able to.
第4の発明は、撮影操作に応じて画像を撮影する撮影手段(36,38)を有し、パノラマモードで撮影された複数の画像を、それぞれ個別の画像として記憶する、携帯端末(10)のプロセサ(20)を、方位情報を取得する方位情報取得手段(S3)、携帯端末の傾きを検出する傾き検出手段、パノラマモードが設定されている状態で撮影操作がされたとき、方位情報および携帯端末の傾きを、複数の画像のそれぞれに対応付けて記憶する第1記憶手段(S9)、および複数の画像のそれぞれに対応付けられた方位情報に基づくパノラマ配置の順序情報を、複数の画像に付与して記憶する第2記憶手段(S17,S21)として機能させ、パノラマ配置の順序情報は、複数の画像のそれぞれに対応付けられた傾きに基づいて付与される位置が決められる、画像記憶プログラムである。
第5の発明は、撮影操作に応じて画像を撮影する撮影手段を有し、パノラマモードで撮影された複数の画像を、それぞれ個別の画像として記憶する、携帯端末の画像記憶方法であって、方位情報を取得し、携帯端末の傾きを検出し、パノラマモードが設定されている状態で撮影操作がされたとき、方位情報および携帯端末の傾きを、複数の画像のそれぞれに対応付けて記憶し、そして複数の画像のそれぞれに対応付けられた方位情報に基づくパノラマ配置の順序情報を、複数の画像に付与して記憶し、パノラマ配置の順序情報は、複数の画像のそれぞれに対応付けられた傾きに基づいて付与される位置が決められる、画像記憶方法である。
The fourth invention has a photographing means (36, 38) for photographing an image according to a photographing operation, and stores a plurality of images photographed in the panorama mode as individual images, respectively. of the processor (20), the orientation information acquiring means for acquiring the rectangular position information (S3), the inclination detecting means for detecting the tilt of the portable terminal, when the photographing operation is in a state where the panoramic mode is set, square position the inclination of the information and the mobile terminal, a first storage means (S9) for storing in association with each of the plurality of images, and a plurality of order information based rather panoramic disposed orientation information associated with each image , to function as a second storage means (S17, S21) for storing assigned to a plurality of images, the sequence information of the panoramic arrangement is given on the basis of the slope associated with each of the plurality of images Location is Ru determined, an image storage program.
5th invention is an image storage method of a portable terminal which has a photography means which picturizes an image according to photography operation, and memorizes a plurality of pictures photoed in panorama mode as an individual picture, respectively. Obtains azimuth information, detects the tilt of the mobile terminal, and stores the azimuth information and the tilt of the mobile terminal in association with each of a plurality of images when a shooting operation is performed with the panorama mode set. Panorama arrangement order information based on the orientation information associated with each of the plurality of images is assigned to and stored in the plurality of images, and the panorama arrangement order information is associated with each of the plurality of images. This is an image storage method in which a position to be given is determined based on an inclination.
第4の発明および第5の発明でも、第1の発明と同様に、使用者は、方位情報に基づいて決められた順序情報を参照して、複数に分割されて現像されたパノラマ写真を容易に再配置する事ができる。
特に、使用者は、携帯端末の傾きに基づいて付与された順序情報を参照することができるので、たとえば画像における地面がある方向を正確に認識し、パノラマ写真の再配置を行うことなどができるようになる。
In the fourth and fifth inventions , as in the first invention, the user can easily create a panoramic photograph that has been divided and developed by referring to the order information determined based on the orientation information. Can be rearranged.
In particular, since the user can refer to the order information given based on the tilt of the mobile terminal, for example, the user can accurately recognize the direction of the ground in the image and rearrange panoramic photos. It becomes like this.
この発明によれば、使用者は、各画像に付与された順序情報を参照して、複数に分割されて現像されたパノラマ写真を容易に再配置する事ができる。 According to the present invention, the user can easily rearrange the panoramic photographs developed by dividing into a plurality of parts by referring to the order information given to each image.
この発明の上述の目的、その他の目的、特徴および利点は、図面を参照して行う以下の実施例の詳細な説明から一層明らかとなろう。 The above object, other objects, features, and advantages of the present invention will become more apparent from the following detailed description of embodiments with reference to the drawings.
図1を参照して、携帯端末10は、CPU(プロセサまたはコンピュータと呼ばれることもある。)20および入力装置であるキー入力装置22を含む。CPU20は、CDMA方式に対応する無線通信回路14を制御して発呼信号を出力する。出力された発呼信号は、アンテナ12から送出され、基地局を含む移動通信網に送信される。通話相手が応答操作を行うと、通話可能状態が確立される。
Referring to FIG. 1,
通話可能状態に移行した後にキー入力装置22によって通話終了操作が行われると、CPU20は、無線通信回路14を制御して、通話相手に通話終了信号を送信する。そして、通話終了信号の送信後、CPU20は、通話処理を終了する。また、先に通話相手から通話終了信号を受信した場合も、CPU20は、通話処理を終了する。さらに、通話相手によらず、移動通信網から通話終了信号を受信した場合も、CPU20は通話処理を終了する。
When a call end operation is performed by the
携帯端末10が起動している状態で通話相手からの発呼信号がアンテナ12によって捉えられると、無線通信回路14は、着信をCPU20に通知する。また、CPU20は、LCDドライバ24によって表示装置であるLCDモニタ26を制御し、着信通知に記述された発信元情報をLCDモニタ26に表示させる。そして、CPU20は、図示しない着信通知用のスピーカから着信音を出力させる。
When a call signal from a call partner is captured by the
通話可能状態では、次のような処理が実行される。通話相手から送られてきた変調音声信号(高周波信号)は、アンテナ12によって受信される。受信された変調音声信号は、無線通信回路14によって復調処理および復号処理を施される。そして、得られた受話音声信号は、スピーカ18から出力される。一方、マイク16によって取り込まれた送話音声信号は、無線通信回路14によって符号化処理および変調処理を施される。そして、生成された変調音声信号は、上述と同様、アンテナ12を利用して通話相手に送信される。
In the call ready state, the following processing is executed. The modulated audio signal (high frequency signal) sent from the other party is received by the
また、携帯端末10には、携帯端末10の傾きを検出する傾きセンサ32および方位を検出する電子コンパス34が内蔵されている。傾きセンサ32は、半導体式の3軸の加速度センサであり、各軸の重力加速度をCPU20に出力する。そして、CPU20は、各軸の重力加速度の値に対して逆三角関数を用いて、携帯端末10の傾き、つまり角度を算出する。また、電子コンパス34は、3軸の電子コンパスであり、3つの地磁気センサおよび制御回路から構成される。さらに、制御回路は、3つの地磁気センサによって検出された磁気データから地磁気データを抽出して、CPU20に出力する。そして、CPU20は、制御回路から出力された地磁気データと、傾きセンサ32が出力する角度とに基づいて、方位角(方位)を得る。また、取得される方位は、イメージセンサ38およびフォーカスレンズ40が並ぶ光軸方向と一致する。なお、本実施例における方位角は、北(N)を0度として時計回りに、東(E)が90度、南(S)が180度および西(W)が270度とする。また、各地磁気センサは、ホール素子が用いられているが、MR(Magnet−Resistive)素子やMI(Magnet−Impedance)素子が用いられてもよい。
In addition, the
さらに、携帯端末10は、カメラ制御回路36およびイメージセンサ38を撮影手段として機能させることで、カメラ機能を実行する。カメラ機能は、オートフォーカス処理によって、被写体にピントの合った画像データを記録する。具体的には、キー入力装置22によってカメラ機能を実行する操作が行われると、CPU20は、カメラ制御回路36にカメラ機能を実行するために必要な命令を与える。カメラ制御回路36は、イメージセンサ38およびフォーカスレンズ40を制御し、イメージセンサ38によって取得された披写界の光学像を画像データに変換する。そして、CPU20は、カメラ制御回路36から得られる、被写体にピントを合わせた画像データをJPEG方式の圧縮画像データに変換してフラッシュメモリ28に記録する。また、このカメラ機能では、撮影する画像のサイズをWQVGA(240×400)、VGA(640×480)およびUXGA(1600×1200)から選択することが可能である。もちろん、本発明のカメラ機能にて、撮影する画像のサイズは、これらに限定されるものではなく、適宜他のサイズであってもよい。また、画像を圧縮する方式は、JPEG方式ではなく、GIFおよびPNGなどの方式であってもよい。
Further, the
また、カメラ機能が実行された状態では、被写界のリアルタイム動画像(以下、スルー画像と言う)をLCDモニタ26に表示させる処理を行う。具体的には、CPU20は、カメラ制御回路36に内蔵されるイメージセンサドライバを起動させ、露光動作および指定された読み出し領域に対応する電荷読み出し動作をイメージセンサドライバに命令する。
Further, in a state where the camera function is executed, a process of displaying a real-time moving image of the object scene (hereinafter referred to as a through image) on the
イメージセンサドライバは、イメージセンサ38の撮像面の露光と、当該露光によって生成された電荷の読み出しとを実行する。この結果、生画像信号が、イメージセンサ38から出力される。また、イメージセンサ38から出力された生画像信号は、カメラ制御回路36に入力される。カメラ制御回路36は、入力された生画像信号に対して、色分離、白バランス調整、YUV変換などの処理を施し、YUV形式の画像データを生成する。そして、CPU20は、YUV形式の画像データが入力される。
The image sensor driver performs exposure of the imaging surface of the
CPU20に入力されたYUV形式の画像は、CPU20によってRAM30に一旦格納される。さらに、格納されたYUV形式の画像データは、CPU20を介して、RAM30からLCDドライバ24に与えられる。また同時に、CPU20は、間引き読み出し命令をLCDドライバ24に発行する。そして、LCDドライバ24は、CPU20から発行された間引き読み出し命令に従ってYUV形式の画像データをLCDモニタ26に出力する。よって、被写界を表す低解像度のスルー画像がLCDモニタ26に再現される。
The YUV format image input to the
なお、YUV形式の画像データにおいて、Yは輝度を意味し、Uは青色から輝度を引いた色差を意味し、Vは赤色から輝度を引いた色差を意味する。つまり、YUV形式の画像データは、輝度信号(Y)データと青色の色差信号(U)データと赤色の色差信号(V)データとから構成される。 In YUV format image data, Y means luminance, U means a color difference obtained by subtracting luminance from blue, and V means a color difference obtained by subtracting luminance from red. That is, the YUV format image data is composed of luminance signal (Y) data, blue color difference signal (U) data, and red color difference signal (V) data.
なお、スルー画像の更新周期は15fpsであり、イメージセンサ38は、CMOSイメージセンサである。
Note that the through image update cycle is 15 fps, and the
図2(A),(B)は、携帯端末10の外観を示す図解図である。また、図2(A)は携帯端末10の表面外観図であり、図2(B)は携帯端末10の裏面外観図である。
図2(A)を参照して、携帯端末10は、板状に形成されたケースCを有する。図2(A)では図示しないマイク16およびスピーカ18は、ケースCに内蔵される。内蔵されたマイク16に通じる開口OP2は、ケースCの長さ方向一方の表面に設けられ、内蔵されたスピーカ18に通じる開口OP1は、ケースCの長さ方向他方の表面に設けられる。つまり、使用者は、開口OP1を通じてスピーカ18から出力される音を聞き、開口OP2を通じてマイク16に音声を入力する。
2A and 2B are illustrative views showing the appearance of the
With reference to FIG. 2A, the
キー入力装置22は、通話キー、終話キー、カーソルキー、確定キーおよび0〜9の数字キーを含み、それぞれのキーは、ケースCの表面に設けられる。LCDモニタ26は、モニタ画面がケースCの表面に露出するように取り付けられる。
The
使用者は、通話キーを押下することで応答操作を行い、終話キーを押下することで通話終了操作を行う。また、カーソルキーまたは数字キーによってGUI(Graphical User Interface)を操作し、操作の結果を確定キーによって確定する。また、0〜9の数字キーを利用して、通話相手の電話番号を入力する。そして、終話キー22cを長押しすることで携帯端末10の電源オン/オフ操作を行うことができる。なお、確定キーは、カメラ機能が実行されていれば、撮影キーとして機能する。つまり、使用者は、カメラ機能が実行されている場合に、確定キーを押下して撮影操作を行い、フラッシュメモリ28に画像データを記録させる。
The user performs a response operation by pressing a call key, and performs a call end operation by pressing an end call key. Further, a GUI (Graphical User Interface) is operated with a cursor key or a numeric key, and the result of the operation is determined with a confirmation key. Also, the telephone number of the other party is input using the numeric keys 0-9. Then, the power-on / off operation of the
続いて、図2(B)を参照して、図2(B)では図示しないイメージセンサ38およびフォーカスレンズ40は、ケースCに内蔵されており、内蔵されたイメージセンサ38およびフォーカスレンズ40に通じる開口OP3は、ケースCの長さ方向他方の裏面に設けられる。つまり、使用者は、LCDモニタ26の裏側に設けられた開口OP3を被写体に向けることで、任意の被写体を撮影することができる。なお、開口OP3は、透明なプラスチックカバーで覆われている。
2B, the
なお、図2(A),(B)において、傾きセンサ32は、携帯端末10の縦方向(y軸方向)、横方向(x軸方向)および前後方向(z軸方向)の3軸で各々の重力加速度を検出する。
2A and 2B, the
次に、図3(A)−(D)を参照して、携帯端末10の傾きを説明する。図3(A)は、携帯端末10が縦向きで保持されている状態を示す図解図であり、携帯端末10の角度は0度である。また、図3(B)は、携帯端末10が縦向きから左に傾けられて保持されている状態を示す図解図であり、携帯端末10の角度は90度である。さらに、図3(C)は、携帯端末10が縦向きから反対に向けられて保持されている状態を示す図解図であり、携帯端末10の角度は180度である。そして、図3(D)は、携帯端末10が縦向きから右に傾けられて保持されている状態を示す図解図であり、携帯端末10の角度は270である。つまり、傾きセンサ32によって検出される携帯端末10の角度は、縦向きが0度の状態で、反時計回り方向に回されるにつれて大きくなり、360度回転すると0度に戻る。
Next, the inclination of the
ここで、本実施例のカメラ機能は、通常の撮影を行うモード(通常モード)とは別に、パノラマ撮影を行うモード(パノラマモード)を設定することが可能である。このパノラマモードでは、連続して撮影された複数の画像データを1つのパノラマ写真として扱う。つまり、使用者は、携帯端末10のカメラ機能をパノラマ撮影モードに設定して、複数の画像を連続して撮影すると、パノラマ撮影を行うことができる。以下、図4(A)−(C)を参照して、通常モードとパノラマ撮影モードとを切り替える操作について説明する。
Here, the camera function of the present embodiment can set a mode for performing panoramic shooting (panoramic mode) separately from a mode for performing normal shooting (normal mode). In this panorama mode, a plurality of image data continuously photographed is handled as one panoramic photograph. That is, the user can perform panoramic shooting by setting the camera function of the
図4(A)は、カメラ機能によって撮影されたスルー画像を表示するLCDモニタ26の表示例を示す図解図である。図4(A)を参照して、LCDモニタ26は、状態表示領域50、機能表示領域52およびキー表示領域54を含む。状態表示領域50には、アンテナ12による電波受信状態、充電池の残電池容量および現在日時などが表示される。なお、状態表示領域50に表示される現在日時は、CPU20に内蔵されるRTC20aから取得される。
FIG. 4A is an illustrative view showing a display example of the
また、機能表示領域52には、カメラ機能によって撮影されたスルー画像およびカメラ機能のモードを示すモード表示58が表示される。なお、図4(A)に示す状態では、モード表示58内に、「通常撮影」の文字列が表示されており、カメラ機能が通常モードである事を示す。
In the
そして、キー表示領域54には、機能キー56が含まれる。この機能キー56に対応するキー(たとえば、右方向のカーソルキー)が操作されると、図4(B)に示す、機能設定表示60が機能表示領域52に表示される。この機能設定表示60は、「1.モード切替」、「2.時刻スタンプ」、「3.セルフタイマー」および「4.画像サイズ」がメニュー表示されている。そして、各メニューを示す数字と同じ数字キーが押下されると、その数字キーが示す数字が付されたメニューが指定される。
The
「1.モード切り替え」が指定されると、携帯端末10は、カメラ機能が通常モードであればパノラマモードに切り替え、カメラ機能がパノラマモードであれば通常モードに切り替える。「2.時刻スタンプ」が指定されると、携帯端末10は、撮影した画像データに時刻を示す数字列を合成する状態になる。「3.セルフタイマー」が指定されると、携帯端末10は、撮影操作がされた後、一定時間が経過してから画像データをフラッシュメモリ28に記録(撮影)する。「4.画像サイズ」は、撮影する画像のサイズをWQVGA、VGAおよびUXGAから選択するためのメニュー画面をさらに表示する。つまり、使用者は、「4.画像サイズ」のメニューを指定することで、画像データのサイズを切り替える。
When “1. Mode switching” is designated, the
そして、「1」の数字キーが押下されると、図4(C)に示すように、モード表示58内の文字列が「パノラマ撮影」の文字列に切り替わる。そして、使用者によってパノラマモードが設定された状態で確定キーが連続して押下されると、画像データは、RAM30に記憶される。そして、パノラマモードが終了されると、各画像データは、パノラマ写真としてフラッシュメモリ28に記録される。なお、パノラマモードを終了させるためには、通常モードに切り替えればよい。
When the numeric key “1” is pressed, as shown in FIG. 4C, the character string in the
ここで、パノラマモードで撮影を行うと、各画像データにはパノラマ配置を示す番号(順序情報)が合成される。具体的に、パノラマモードで撮影されると、撮影された画像データに、RTC20aから取得される時刻、傾きセンサ32によって検出される携帯端末10の角度および電子コンパス34によって取得される方位を対応付けて、RAM30に一時記憶する。そして、一時記憶した各画像データは、方位および時刻に基づいて、ソーティングされ番号が割り振られる。また、番号が合成される位置は、画像データに対応付けられた携帯端末10の角度に基づいて決められる。これによって、各画像データは、撮影した順番に関係なく、対応付けられた方位および時刻に基づいて、パノラマ配置を示す番号が合成される。以下、詳細な処理について、図面を用いて説明する。
Here, when shooting is performed in the panorama mode, a number (order information) indicating the panorama arrangement is combined with each image data. Specifically, when the image is captured in the panorama mode, the captured image data is associated with the time acquired from the
まず、図5(A),(B)を参照して、パノラマモードにおける撮影される画像データについて説明する。図5(A)は、或る場所において、北(N)、北東(NE)および東(E)の方角の風景を示す図解図である。そして、図5(B)は、図5(A)に示す風景をパノラマモードで撮影した6つの画像データであり、各画像データのファイル名は、撮影した順番に、「001.jpg」、「002.jpg」、「003.jpg」、「004.jpg」、「005.jpg」および「006.jpg」となっている。 First, image data captured in the panorama mode will be described with reference to FIGS. FIG. 5A is an illustrative view showing a landscape in the direction of north (N), northeast (NE), and east (E) in a certain place. FIG. 5B shows six image data obtained by shooting the landscape shown in FIG. 5A in the panorama mode. The file names of the image data are “001.jpg”, “ 002.jpg ”,“ 003.jpg ”,“ 004.jpg ”,“ 005.jpg ”, and“ 006.jpg ”.
また、「001.jpg」および「006.jpg」の画像データは、図3(B)または図3(D)に示す状態で撮影されており、横向き画像データと言うことにする。「002.jpg」、「003.jpg」および「004.jpg」の画像データは、図3(A)または図3(C)に示す状態で撮影されており、縦向き画像データ言うことにする。そして、「005.jpg」の画像データは、携帯端末10が右に傾けられた状態で撮影されており、右傾斜画像データと言うことにする。
The image data “001.jpg” and “006.jpg” are taken in the state shown in FIG. 3B or 3D, and are referred to as landscape image data. The image data “002.jpg”, “003.jpg” and “004.jpg” are taken in the state shown in FIG. 3 (A) or FIG. 3 (C), and are referred to as portrait image data. . The image data “005.jpg” is taken with the
また、縦向き画像データ、横向き画像データおよび右傾斜画像データのそれぞれは、図6(A)−(C)に示す位置の方位が対応付けられる。図6(A)を参照して、縦向き画像データでは、点Paの位置と、光軸方向とが一致するため、画像内の点Paの位置が示す方位が縦向き画像データに対応付けられる。次に、図6(B)を参照して、横向き画像データでは、点Pbの位置と、光軸方向とが一致するため、画像内の点Pbの位置が示す方位が横向き画像データに対応付けられる。そして、図6(C)を参照して、右傾斜画像データでは、点Pcの位置と、光軸方向とが一致するため、画像内の点Pcの位置が示す方位が右傾斜画像データに対応付けられる。 Each of the vertical image data, the horizontal image data, and the right tilt image data is associated with the azimuths of the positions shown in FIGS. Referring to FIG. 6A, in the portrait image data, since the position of the point Pa matches the optical axis direction, the orientation indicated by the position of the point Pa in the image is associated with the portrait image data. . Next, referring to FIG. 6B, in the horizontal image data, the position indicated by the position of the point Pb in the image corresponds to the horizontal image data because the position of the point Pb matches the optical axis direction. It is done. 6C, in the right tilt image data, the position indicated by the position of the point Pc in the image corresponds to the right tilt image data because the position of the point Pc matches the optical axis direction. Attached.
なお、点Pa、点Pbおよび点Pcが示す座標は、画像データにおける重心座標であるため、他の角度で傾く右傾斜画像データであっても、画像における、対応付けられる方位の位置座標が、変わることは無い。 Note that the coordinates indicated by the point Pa, the point Pb, and the point Pc are the barycentric coordinates in the image data. Therefore, even if the right-tilted image data is tilted at another angle, the position coordinates of the corresponding orientation in the image are There is no change.
また、図示はしていないが、携帯端末10が左に傾けられた状態で撮影されると、その画像データは、左傾斜画像データと言うことにする。そして、右傾斜画像データおよび左傾斜画像データのそれぞれを区別しない場合には、傾斜画像データと言う。
Although not shown, when the
続いて、図5(B)を再び参照して、「001.jpg」〜「006.jpg」の画像データのそれぞれをRAM30のバッファに一旦格納(一時的に記憶)する手順について説明する。図7は、バッファに一旦格納された画像データの一覧を示すパノラマ撮影テーブルの内容を示す図解図である。このパノラマ撮影テーブルは、「時刻」、「ファイル名」、「方位角」および「傾き」の列から構成されており、撮影された順番で各行にデータが記憶される。
Next, a procedure for temporarily storing (temporarily storing) each of the image data “001.jpg” to “006.jpg” in the buffer of the
たとえば、パノラマモードが設定された状態で、10時に方位角33.75度(おおよそ、北北東)の方向を向き、携帯端末10が図3(B)に示す状態で撮影すると、パノラマ撮影テーブルの一番上の行にデータが記憶される。つまり、時刻の欄に「10:00:00」、ファイル名の欄に「001.jpg」、方位角の欄に「33.75」および傾きの欄に「90.00」が記憶され、RAM30のバッファに、「001.jpg」の横向き画像データが格納される。
For example, when the panorama mode is set and the
次に、10時5秒に方位角60.00度の方向を向き、携帯端末10が図3(A)に示す状態で撮影すると、パノラマ撮影テーブルの2段目の行にデータが記憶される。つまり、時刻の欄に「10:00:05」、ファイル名の欄に「002.jpg」、方位角の欄に「60.00」および傾きの欄に「0.00」が記憶され、さらにRAM30のバッファに、「002.jpg」の横向き画像データがさらに格納される。
Next, when the
そして、使用者が撮影する方向と携帯端末10の傾きとを変えながら、撮影操作を3回続けて行い、10時50秒に1回目と同じ方向、同じ傾きで撮影すると、パノラマ撮影テーブルの6段目の行(最後の行)にデータが記憶される。つまり、時刻の欄に「10:00:00」、ファイル名の欄に「001.jpg」、方位角の欄に「33.75」および傾きの欄に「90.00」が記憶され、RAM30のバッファに、「006.jpg」の横向き画像データがさらに格納される。
Then, the shooting operation is continued three times while changing the shooting direction of the user and the inclination of the
続いて、パノラマモードが終了されれば、撮影された各画像データは、パノラマ撮影テーブルの「方位角」および「時刻」の列に基づいて、ソーティングされる。図7を参照して、「方位角」の列には、「33.75」、「60.00」、「116.25」、「7.50」、「88.13」および「33.75」の順番で、方位角が記憶されている。そのため、「方位角」の列が「7.50」、「33.75」、「33.75」、「60.00」、「88.13」および「116.25」となるように、方位角が小さい順番にソーティングされる。また、「33.75」の方位角が対応付けられた画像データが2つあるため、さらに「時刻」の列に基づいて、ソーティングされる。つまり、時刻の列では、「10:00:00」、「10:00:50」の順となるよう、時刻が早い順番にソーティングされる。これによって、同じ方位が対応付けられた画像データが複数在る場合に、撮影された時刻に基づいて番号(順序情報)が合成される。そして、ソーティングされた結果は、図8に示すソートテーブルに記憶される。 Subsequently, when the panorama mode is ended, each captured image data is sorted based on the columns of “azimuth” and “time” in the panorama shooting table. Referring to FIG. 7, the “azimuth” column includes “33.75”, “60.00”, “116.25”, “7.50”, “88.13”, and “33.75”. The azimuth angles are stored in the order of "." Therefore, the direction of the “azimuth” column is “7.50”, “33.75”, “33.75”, “60.00”, “88.13”, and “116.25”. Sorted in ascending order of corners. Further, since there are two pieces of image data associated with the azimuth angle of “33.75”, the image data is further sorted based on the “time” column. That is, in the time column, the time is sorted in the order of early so that “10:00: 00” and “10:00: 50” are in this order. As a result, when there are a plurality of image data associated with the same orientation, a number (order information) is synthesized based on the time when the image was taken. The sorted result is stored in the sort table shown in FIG.
図8に示すソートテーブルは、図7に示すパノラマ撮影テーブルの内容が、方位角および時刻に基づいてソーティングされた結果を示す。このソートテーブルは、「方位角」、「時刻」、「ファイル名」および「傾き」の列から構成されている。そして、一番上の行には、最も小さい方位角が対応付けられた画像データのファイル名および傾きが記憶される。 The sort table shown in FIG. 8 shows the result of sorting the contents of the panorama shooting table shown in FIG. 7 based on the azimuth and time. This sort table is composed of columns of “azimuth”, “time”, “file name”, and “tilt”. In the top row, the file name and inclination of the image data associated with the smallest azimuth angle are stored.
つまり、一番上の行において、方位角の欄には「7.50」が記憶され、対応する時刻の欄には「10:00:30」、ファイル名の欄には「004.jpg」および傾きの欄には「0.00」がそれぞれ記憶される。次の2段目の行では、方位角の欄には「33.75」が記憶され、対応する時刻の欄には「10:00:00」、ファイル名の欄には「001.jpg」および傾きの欄には「90.00」がそれぞれ記憶される。次の3段目の行では、方位角の欄には「33.75」が記憶され、対応する時刻の欄には「10:00:50」、ファイル名の欄には「006.jpg」および傾きの欄には「90.00」のがそれぞれ記憶される。次の4段目の行では、方位角の欄には「60.00」が記憶され、対応する時刻の欄には「10:00:05」、ファイル名の欄には「002.jpg」、傾きの欄には「0.00」がそれぞれ記憶される。次の5段目の行では、方位角の欄には「88.13」が記憶され、対応する時刻の欄には「10:00:35」、ファイル名の欄には「005.jpg」および傾きの欄には「335.00」がそれぞれ記憶される。そして、6段目の行(最後の行)では、方位角の欄には「116.25」が記憶され、対応する時刻の欄には「10:00:10」、ファイル名の欄には「003.jpg」および傾きの欄には「0.00」がそれぞれ記憶される。 That is, in the top row, “7.50” is stored in the azimuth column, “10:00:30” in the corresponding time column, and “004.jpg” in the file name column. In addition, “0.00” is stored in each of the columns of inclination and inclination. In the second row, “33.75” is stored in the azimuth column, “10:00:00” in the corresponding time column, and “001.jpg” in the file name column. In addition, “90.00” is stored in the column of the inclination. In the third row, “33.75” is stored in the azimuth column, “10:00:50” in the corresponding time column, and “006.jpg” in the file name column. In addition, “90.00” is stored in the column of the inclination. In the next fourth row, “60.00” is stored in the azimuth column, “10:00:05” in the corresponding time column, and “002.jpg” in the file name column. In the slope column, “0.00” is stored. In the next fifth row, “88.13” is stored in the azimuth column, “10:00:35” in the corresponding time column, and “005.jpg” in the file name column. In addition, “335.00” is stored in the column of the inclination. In the sixth row (last row), “116.25” is stored in the azimuth column, “10:00:10” in the corresponding time column, and “10:00:10” in the file name column. “0.00” is stored in each of “003.jpg” and the slope column.
そして、ソートテーブルに基づいて、RAM30内に設けられたバッファに格納されている画像データには、図9に示すように、番号が合成される。
Based on the sort table, numbers are combined with the image data stored in the buffer provided in the
図9を参照して、「001.jpg」〜「006.jpg」の画像データにおける左上には、(1)〜(6)の番号がそれぞれ合成される。つまり、「004.jpg」の縦向き画像データには(1)の番号が合成され、「001.jpg」の横向き画像データには(2)の番号が合成され、「006.jpg」の横向き画像データには(3)の番号が合成され、「002.jpg」の縦向き画像データには(4)の番号が合成され、「005.jpg」の右傾斜画像データには(5)の番号が合成され、「003.jpg」の縦向き画像データには(6)の番号が合成される。 Referring to FIG. 9, numbers (1) to (6) are respectively synthesized on the upper left in the image data “001.jpg” to “006.jpg”. That is, the number (1) is combined with the vertical image data “004.jpg”, the number (2) is combined with the horizontal image data “001.jpg”, and the horizontal direction “006.jpg” is displayed. The number of (3) is combined with the image data, the number of (4) is combined with the vertically oriented image data of “002.jpg”, and the right inclined image data of “005.jpg” is combined with the number of (5). The numbers are combined, and the number (6) is combined with the vertically oriented image data “003.jpg”.
また、番号が合成される方向および位置は、各画像データに対応付けられた傾きから決められる。まず、合成される番号の方向は、撮影された被写界における地面に対して垂直方向となるようにする。具体的には、画像データに対応付けられた傾きが90度であれば、当該画像データが地面に対して左方向に90度傾いて撮影されたと分かるため、地面に対する垂直方向を求める事ができる。これによって、使用者は、合成された番号によって、画像データにおける地面の方向を正確に認識して、パノラマ配置をすることができるようになる。 Also, the direction and position where the numbers are combined is determined from the inclination associated with each image data. First, the direction of the number to be combined is set to be perpendicular to the ground in the captured scene. Specifically, if the inclination associated with the image data is 90 degrees, it can be understood that the image data was photographed with an inclination of 90 degrees to the left with respect to the ground, and therefore the direction perpendicular to the ground can be obtained. . As a result, the user can accurately recognize the direction of the ground in the image data based on the synthesized number, and can arrange the panorama.
もちろん、本発明では、合成される番号の方向は、上記のように、撮影された被写界における地面に対して垂直方向に限定されるものではなく、その他、撮影された被写界における地面に対して水平方向など、適宜の方向をとることができる。 Of course, in the present invention, the direction of the number to be combined is not limited to the direction perpendicular to the ground in the photographed scene as described above. An appropriate direction such as a horizontal direction can be taken.
次に、合成される番号の位置は、画像内において、最も地面から離れた位置の左上となるようにする。具体的には、画像データを仮想平面上で、地面の方向が下向きとなるように回転させ、左上を示す座標に基づいて、合成される番号の位置が決定される。 Next, the position of the number to be combined is set to the upper left of the position farthest from the ground in the image. Specifically, the image data is rotated on the virtual plane so that the direction of the ground is downward, and the position of the number to be combined is determined based on the coordinates indicating the upper left.
ここで、番号を合成する位置を上側とするのは、パノラマ写真において撮影者が必要とする被写体(山など)は下部に含まれるため、被写体の上部(空など)は撮影者にとって重要で無い場合が多いためである。また、左側とするのは、画像のラスタスキャンによって始まる位置となるため、ラスタスキャンによって位置を決定する処理を早くするためである。そのため、本実施例では、合成される番号の位置は左上とする。これによって、携帯端末10によって撮影されたパノラマ写真では、使用者とって邪魔にならない位置に、番号を合成することができる。なお、ラスタスキャンが右上端から始まる場合に限り、合成される番号の位置は、右上端であってもよい。さらに、他の実施例では、順序情報が合成される位置は、使用者によって任意に決められるようになっていてもよい。
Here, the position where the numbers are combined is set on the upper side, since the subject (such as a mountain) required by the photographer in the panoramic photograph is included in the lower part, and the upper part (such as the sky) of the subject is not important for the photographer. This is because there are many cases. Further, the left side is the position starting from the raster scan of the image, so that the process of determining the position by the raster scan is accelerated. For this reason, in this embodiment, the position of the number to be combined is set to the upper left. As a result, in the panoramic photograph taken by the
また、「001.jpg」、「004.jpg」、「005.jpg」および「006.jpg」には、8方位(北、北東、東、南東、南、南西、西、北西)を示す方位の情報がさらに合成される。たとえば、「001.jpg」および「006.jpg」の画像データには、北東を意味する「NE」がそれぞれ合成され、「004.jpg」の画像データには、北を意味する「N」が合成され、「004.jpg」の画像データには、東を意味する「E」が合成される。また、合成される方位情報には、地面方向をより明確に認識できるように、補助線が付加されている。これによって、使用者は、同じ場所で複数のパノラマ写真を撮影する場合に、各パノラマ写真に合成された方位から、各パノラマ写真に写る被写体(山など)を区別することができるようになる。 “001.jpg”, “004.jpg”, “005.jpg”, and “006.jpg” indicate eight directions (north, northeast, east, southeast, south, southwest, west, northwest). Is further synthesized. For example, “NE” meaning northeast is combined with the image data “001.jpg” and “006.jpg” respectively, and “N” meaning north is added to the image data “004.jpg”. The combined image data “004.jpg” is combined with “E”, which means east. Further, an auxiliary line is added to the direction information to be synthesized so that the ground direction can be recognized more clearly. Accordingly, when the user takes a plurality of panoramic photos at the same place, the user can distinguish a subject (such as a mountain) that appears in each panoramic photo from the direction combined with each panoramic photo.
ここで、方位の情報を合成する場合には、光軸におけるイメージセンサ38およびフォーカスレンズ40の距離から画角を算出し、光軸が示す方向(方位)と算出された画角とから、対象の画像データ内に8方位が含まれるか判断する。そして、画像データ内に8方位が含まれる場合に、「N」などのアルファベットを合成する。また、本実施例におけるパノラマモードでは、撮影する度に画角が変化しないようにされているため、パノラマ撮影テーブルに画角のデータが記憶されない。
Here, when compositing azimuth information, the angle of view is calculated from the distance between the
なお、方位の情報は、画像データの下側に合成されるが、使用者によって合成するか否かを決定できる。つまり、使用者は、合成される方位の情報が邪魔だと判断すれば、方位の情報を合成しないようにできる。また、図9では、合成された方位の情報を認識し易くするために大きく描画したが、目立たないようにするために、合成される方位の情報、つまりアルファベットの大きさを小さくしてもよい。 Note that the direction information is synthesized on the lower side of the image data, but it can be determined by the user whether to synthesize. That is, if the user determines that the direction information to be combined is an obstacle, the user can prevent the direction information from being combined. Further, in FIG. 9, the drawing is greatly drawn for easy recognition of the combined direction information, but the combined direction information, that is, the size of the alphabet may be reduced so as not to stand out. .
図10は、RAM30のメモリマップを示す図解図である。図10を参照して、RAM30のメモリマップ300には、プログラム記憶領域302およびデータ記憶領域304が含まれる。プログラムおよびデータの一部は、フラッシュメモリ28から一度に全部または必要に応じて部分的にかつ順次的に読み出され、RAM30に記憶されてからCPU20などで処理される。
FIG. 10 is an illustrative view showing a memory map of the
プログラム記憶領域302は、携帯端末10を動作させるためのプログラムを記憶する。携帯端末10を動作させるためのプログラムは、カメラ機能プログラム310などによって構成される。また、カメラ機能プログラム310は、カメラ機能を実行するためのプログラムであり、さらにパノラマ撮影プログラム312を含む。そして、パノラマ撮影プログラム312は、パノラマモードによって撮影された複数の画像データに順序情報および方位の情報を合成するためのプログラムである。
The
なお、図示は省略するが、携帯端末10を動作させるためのプログラムは、通話を行うためのプログラムなどを含む。
In addition, although illustration is abbreviate | omitted, the program for operating the
データ記憶領域304には、スルー画像バッファ320、パノラマ撮影バッファ322、ソートバッファ324が設けられる。また、番号画像データ326および方位画像データ328が記憶される。
In the
スルー画像バッファ320は、カメラ制御回路36から読み出されたYUV形式の画像データが一時的に記憶(一旦格納)されるバッファである。パノラマ撮影バッファ322は、パノラマモードで撮影された画像のそれぞれが一時的に格納されるバッファであり、さらに図7に示すパノラマ撮影テーブルも一時的に記憶される。ソートバッファ324は、パノラマ撮影テーブルがソーティングされるときに利用されるバッファであり、図8に示すソートテーブルが一時的に記憶される。番号画像データ326は、画像データに合成される(1)〜(6)((6)以上も含む)の番号を示す画像データである。方位画像データは、画像データに合成される方位の情報、つまり「N」,「NE」および「E」などのアルファベットを示す画像データである。
The through
なお、図示は省略するが、データ記憶領域304には、図4(A)−(C)に示すGUIを表示すためのGUI画像データが記憶されると共に、携帯端末10の動作に必要な他のカウンタやフラグも設けられる。
Although illustration is omitted, the GUI image data for displaying the GUI shown in FIGS. 4A to 4C is stored in the
CPU20は、「Linux」および「REX」などのRTOS(real−time operating system)の制御下で、図11に示すパノラマ撮影処理などを含む複数のタスクを並列的に実行する。
The
図11は、パノラマ撮影処理を示すフロー図である。たとえば、使用者がパノラマモードに設定する操作を行うと、CPU20は、ステップS1では、撮影操作か否かを判断する。つまり、確定キーが押下されたか否かを判断する。ステップS1で“NO”であれば、つまり撮影操作がされなければ、ステップS1の処理を繰り返し実行する。一方、ステップS1で“YES”であれば、つまり確定キーが押下されれば、ステップS3で電子コンパス34から方位データを取得する。つまり、撮影されたときの光軸方向に対応する方位角を取得する。
FIG. 11 is a flowchart showing the panorama shooting process. For example, when the user performs an operation for setting the panorama mode, the
続いて、ステップS5では、傾きセンサ32から角度を算出する。つまり、撮影に合わせて、傾きセンサ32から出力される各軸の重力加速度に対して逆三角関数を用いて、携帯端末10の角度を算出する。続いて、ステップS7では、現在時刻を取得する。つまり、RTC20aから現在時刻を取得する。続いて、ステップS9では、画像データと、対応する時刻、方位データおよび角度とを記憶する。つまり、パノラマ撮影バッファ322に、画像データを一時的に記憶し、さらにその画像データに対応する時刻、データ名、方位角および傾き(角度)をパノラマ撮影テーブルに記憶する。続いて、ステップS11では、終了操作か否かを判断する。つまり、パノラマモードを終了する操作がされたか否かを判断する。
Subsequently, in step S5, an angle is calculated from the
ステップS11で“NO”であれば、つまりパノラマモードが終了されなければ、ステップS1に戻る。一方、ステップS11で“YES”であれば、つまりパノラマモードが終了されれば、ステップS13で、パノラマ撮影バッファ322内の画像データをソーティングする。つまり、パノラマ撮影テーブルに記録される各データを、方位角および時刻に基づいてソーティングして、ソートバッファ324内にソートテーブルを作成する。
If “NO” in the step S11, that is, if the panorama mode is not ended, the process returns to the step S1. On the other hand, if “YES” in the step S11, that is, if the panorama mode is ended, the image data in the
続いて、ステップS15では、角度に基づいて合成位置を決定する。つまり、画像データを仮想平面上で、地面の方向が下向きとなるように回転させ、左上を示す座標を求める。続いて、ステップS17では、ソーティング結果および角度に基づいて各画像データに番号を合成する。つまり、各画像データにおいて、地面に対する垂直方向を求め、作成したソートテーブルに基づいて、番号(順番情報)を合成する。続いて、ステップS19では、角度に基づいて画像データに方位を合成する。つまり、ステップS17の処理と同様に、地面に対する垂直方向を求め、被写界に8方位が含まれていれば方位の情報を合成する。 Subsequently, in step S15, a synthesis position is determined based on the angle. That is, the image data is rotated on the virtual plane so that the direction of the ground is downward, and the coordinates indicating the upper left are obtained. Subsequently, in step S17, a number is combined with each image data based on the sorting result and the angle. That is, in each image data, the vertical direction with respect to the ground is obtained, and numbers (order information) are synthesized based on the created sort table. Subsequently, in step S19, the orientation is combined with the image data based on the angle. That is, as in the process of step S17, the vertical direction with respect to the ground is obtained, and if the object field includes eight directions, the direction information is synthesized.
続いて、ステップS21では、各画像データを記録し、パノラマ撮影処理を終了する。つまり、ステップS21では、番号および方位の情報が合成された画像データのそれぞれをパノラマ写真として、フラッシュメモリ28に記録する。つまり、使用者は、個別に撮影した各画像データを、パノラマ写真として保存することができる。
Subsequently, in step S21, each image data is recorded, and the panorama shooting process is ended. That is, in step S21, each of the image data in which the number and direction information are combined is recorded in the
なお、パノラマモードでは、順序情報および方位の情報が合成されている画像データと、順序情報および方位の情報が合成されていない画像データとのそれぞれを記録するようにしてもよい。 In the panorama mode, each of the image data in which the order information and the direction information are combined and the image data in which the order information and the direction information are not combined may be recorded.
以上の説明から分かるように、携帯端末10は、カメラ制御回路36、イメージセンサ38およびフォーカスレンズ40を含み、使用者は、携帯端末10によって画像データを撮影することができる。また、携帯端末10は、電子コンパス34を内蔵しており、イメージセンサ38およびフォーカスレンズ40の光軸方向が示す方位を取得することができる。たとえば、パノラマモードが設定されている場合に、撮影された画像データのそれぞれには方位角などが対応付けられて一時記憶される。
As can be understood from the above description, the
そして、パノラマモードが終了されると、各画像データは、各画像データに対応付けられた方位角に基づいて、パノラマ配置の順序を示す番号が合成される。 When the panorama mode is finished, each image data is combined with a number indicating the order of panorama arrangement based on the azimuth angle associated with each image data.
これによって、使用者は、方位角に基づいて決められた順序情報を参照して、複数に分割されて現像されたパノラマ写真を容易に再配置する事ができるようになる。 As a result, the user can easily rearrange the panoramic photographs that have been divided and developed with reference to the order information determined based on the azimuth angle.
なお、イメージセンサ38は、CMOSイメージセンサではなく、CCDイメージセンサであってもよい。また、順序情報は、番号だけに限らず、「abc」や「左中右上下」などの順序を示す文字列などであってもよい。つまり、本発明における順序情報としては、使用者が順序を認識できるものを用いればよいので、順序情報として、数字、記号、図柄、文字およびその他の情報、またはこれらの任意の組み合わせなど適宜なものを用いることができる。さらに、図9に示されるように、括弧で数字を括る以外にも、このような括弧()を用いなくてもよいし、括弧〔〕など、他の括弧を用いることもできる。また、合成される方位の情報は、8方位に、北北東、東北東、東南東、南南東、南南西、西南西、西北西および北北西を加えた16方位や、その他、適宜な数種類の方位の情報を組み合わせて合成される方位の情報としてもよい。
The
また、携帯端末10の通信方式には、CDMA方式に限らず、W‐CDMA方式、TDMA方式、PHS方式およびGSM方式などを採用してもよい。携帯端末10のみに限らず、カメラ機能を備えるPDA(Personal Degital Assistant)などの携帯情報端末などであってもよい。
Further, the communication method of the
10 … 携帯端末
20 … CPU
22 … キー入力装置
26 … LCDモニタ
28 … フラッシュメモリ
30 … RAM
32 … 傾きセンサ
34 … 電子コンパス
36 … カメラ制御回路
38 … イメージセンサ
40 … フォーカスレンズ
10 ... Mobile terminal 20 ... CPU
22 ...
32 ...
Claims (5)
撮影操作に応じて画像を撮影する撮影手段、
方位情報を取得する方位情報取得手段、
前記携帯端末の傾きを検出する傾き検出手段、
前記パノラマモードが設定されている状態で撮影操作がされたとき、方位情報および前記携帯端末の傾きを、複数の画像のそれぞれに対応付けて記憶する第1記憶手段、および
前記複数の画像のそれぞれに対応付けられた方位情報に基づくパノラマ配置の順序情報を、前記複数の画像に付与して記憶する第2記憶手段を備え、
前記パノラマ配置の順序情報は、複数の画像のそれぞれに対応付けられた傾きに基づいて付与される位置が決められる、携帯端末。 A mobile terminal that stores a plurality of images shot in panorama mode as individual images,
Photographing means for photographing an image in accordance with a photographing operation;
Orientation information acquisition means for acquiring a rectangular position information,
Inclination detecting means for detecting the inclination of the portable terminal;
When the panorama mode is the photographing operation in a state that has been set, square position information and the inclination of the portable terminal, a first storage means for storing in association with each of the plurality of images, and
Order information based rather panoramic disposed orientation information associated with each of the plurality of images, a second storage means for storing given to the plurality of images,
The sequence information of the panoramic arrangement is Ru determined position granted under the slope associated with each of the plurality of images, the portable terminal.
前記第1記憶手段は、前記時刻取得手段によって取得された時刻を、複数の画像のそれぞれに対応付けて記憶し、
前記第2記憶手段は、同じ方位情報が対応付けられた2つ以上の画像がある場合、前記複数の画像のそれぞれに対応付けられた方位情報および時刻に基づいて前記パノラマ配置の順序情報を決める、請求項1記載の携帯端末。 Further comprising a time acquisition means for acquiring at time,
The first storage means stores the time acquired by the time acquisition means in association with each of a plurality of images,
Said second storage means, if the same orientation data is at least two images associated with the sequence information of the panoramic arranged based on direction information and the time associated with each of the plurality of images determining, according to claim 1 Symbol placement of the portable terminal.
方位情報を取得する方位情報取得手段、
前記携帯端末の傾きを検出する傾き検出手段、
前記パノラマモードが設定されている状態で撮影操作がされたとき、方位情報および前記携帯端末の傾きを、複数の画像のそれぞれに対応付けて記憶する第1記憶手段、および
前記複数の画像のそれぞれに対応付けられた方位情報に基づくパノラマ配置の順序情報を、前記複数の画像に付与して記憶する第2記憶手段として機能させ、
前記パノラマ配置の順序情報は、複数の画像のそれぞれに対応付けられた傾きに基づいて付与される位置が決められる、画像記憶プログラム。 A processor of a portable terminal that has a photographing means for photographing an image according to a photographing operation and stores a plurality of images photographed in the panoramic mode as individual images ;
Orientation information acquisition means for acquiring a rectangular position information,
Inclination detecting means for detecting the inclination of the portable terminal;
When the panorama mode is the photographing operation in a state that has been set, square position information and the inclination of the portable terminal, a first storage means for storing in association with each of the plurality of images, and
Wherein the plurality of order information based rather panoramic disposed orientation information associated with each image, to function as a second storage means for storing given to the plurality of images,
The sequence information of the panoramic arrangement, Ru position granted under the slope associated with each of the plurality of images are determined, an image storage program.
方位情報を取得し、Get direction information,
前記携帯端末の傾きを検出し、Detecting the tilt of the mobile device;
前記パノラマモードが設定されている状態で撮影操作がされたとき、方位情報および前記携帯端末の傾きを、複数の画像のそれぞれに対応付けて記憶し、そしてWhen a shooting operation is performed with the panorama mode set, the orientation information and the inclination of the mobile terminal are stored in association with each of a plurality of images, and
前記複数の画像のそれぞれに対応付けられた方位情報に基づくパノラマ配置の順序情報を、前記複数の画像に付与して記憶し、Panoramic arrangement order information based on the orientation information associated with each of the plurality of images is assigned to the plurality of images and stored;
前記パノラマ配置の順序情報は、複数の画像のそれぞれに対応付けられた傾きに基づいて付与される位置が決められる、画像記憶方法。The panorama arrangement order information is an image storage method in which a position to be given is determined based on an inclination associated with each of a plurality of images.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009012445A JP5243280B2 (en) | 2009-01-23 | 2009-01-23 | Mobile terminal and synthesis program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009012445A JP5243280B2 (en) | 2009-01-23 | 2009-01-23 | Mobile terminal and synthesis program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010171743A JP2010171743A (en) | 2010-08-05 |
JP5243280B2 true JP5243280B2 (en) | 2013-07-24 |
Family
ID=42703431
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009012445A Expired - Fee Related JP5243280B2 (en) | 2009-01-23 | 2009-01-23 | Mobile terminal and synthesis program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5243280B2 (en) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000032379A (en) * | 1998-07-08 | 2000-01-28 | Olympus Optical Co Ltd | Electronic camera |
JP3804313B2 (en) * | 1998-12-03 | 2006-08-02 | カシオ計算機株式会社 | Panorama shooting method and imaging apparatus |
JP3925057B2 (en) * | 2000-09-12 | 2007-06-06 | カシオ計算機株式会社 | Camera device, shooting range display system, and shooting range display method |
JP3959393B2 (en) * | 2004-01-29 | 2007-08-15 | ソフトバンクモバイル株式会社 | Mobile communication terminal |
-
2009
- 2009-01-23 JP JP2009012445A patent/JP5243280B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2010171743A (en) | 2010-08-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10638039B2 (en) | Apparatus, system, and method of controlling image capturing, and recording medium | |
KR100827089B1 (en) | Method for photographing panorama picture | |
CN107197137B (en) | Image processing apparatus, image processing method, and recording medium | |
EP2961153B1 (en) | Image pickup device | |
JP4236986B2 (en) | Imaging apparatus, method, and program | |
JP2017058812A (en) | Image display apparatus, image display method and program | |
JP2011040898A (en) | Imaging reproducing device and program | |
US20140210941A1 (en) | Image capture apparatus, image capture method, and image capture program | |
JP2013021730A (en) | Information processor, display device, control method of information processor and program | |
KR100630007B1 (en) | Method for taking a panorama photograph | |
JP4288134B2 (en) | Imaging device | |
CN111953871B (en) | Electronic device, control method of electronic device, and computer-readable medium | |
JPH10243263A (en) | Image data processing system and image-processing unit | |
JP5003358B2 (en) | Display device, electronic camera, and control program | |
KR20060014228A (en) | Multi focus photographing method and apparatus in a mobile communication terminal having many cameras | |
JP5243280B2 (en) | Mobile terminal and synthesis program | |
JP4294433B2 (en) | Mobile terminal device | |
WO2020196384A1 (en) | Image processing device, image processing method and program, and image-capture device | |
KR20070116410A (en) | Photographing method and device for making a panorama using marker | |
JP5458411B2 (en) | Photographed image display device, photographed image display method, and electronic map output by photographed image display method | |
JP7191980B2 (en) | IMAGING DEVICE, IMAGING METHOD, AND PROGRAM | |
JP2019168999A (en) | Imaging device, imaging method and program | |
JP5637298B2 (en) | Information processing apparatus, electronic apparatus, and display control method | |
JP7150053B2 (en) | IMAGING DEVICE, IMAGING METHOD, AND PROGRAM | |
WO2020196385A1 (en) | Image processing device, image processing method, program, and image-capturing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20111228 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20121220 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130108 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130311 |
|
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: 20130402 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130404 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20160412 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 5243280 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |