JP6653310B2 - Method and terminal for acquiring panoramic image - Google Patents

Method and terminal for acquiring panoramic image Download PDF

Info

Publication number
JP6653310B2
JP6653310B2 JP2017235104A JP2017235104A JP6653310B2 JP 6653310 B2 JP6653310 B2 JP 6653310B2 JP 2017235104 A JP2017235104 A JP 2017235104A JP 2017235104 A JP2017235104 A JP 2017235104A JP 6653310 B2 JP6653310 B2 JP 6653310B2
Authority
JP
Japan
Prior art keywords
image
user
mobile terminal
terminal
front camera
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.)
Active
Application number
JP2017235104A
Other languages
Japanese (ja)
Other versions
JP2018078586A (en
Inventor
成 杜
成 杜
蔚 ▲蘇▼
蔚 ▲蘇▼
巍 ▲羅▼
巍 ▲羅▼
斌 ▲ドン▼
斌 ▲ドン▼
▲蘭▼▲ディ▼ 李
▲蘭▼▲ディ▼ 李
Original Assignee
華為終端有限公司
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 華為終端有限公司 filed Critical 華為終端有限公司
Priority to JP2017235104A priority Critical patent/JP6653310B2/en
Publication of JP2018078586A publication Critical patent/JP2018078586A/en
Application granted granted Critical
Publication of JP6653310B2 publication Critical patent/JP6653310B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、画像処理技術の分野に関し、特にパノラマ画像を取得する方法及び端末に関する。   The present invention relates to the field of image processing technology, and more particularly, to a method and a terminal for acquiring a panoramic image.

背面パノラマ撮影モードは、既存のスマートフォンにおいて通常利用される撮影モードである。背面パノラマ撮影は、ある方向に撮影端末を移動して複数の写真を撮影し、複数の写真をより大きな視角を有する画像に接合することである。   The back panorama shooting mode is a shooting mode usually used in existing smartphones. Back panoramic photography is to move a photographing terminal in a certain direction to photograph a plurality of photos and join the plurality of photos to an image having a larger viewing angle.

1人の人が旅行のため外出し、あるシーンと共に写真を撮ることを所望するとき、通常、その人は他の人に手助けを求める必要があり、不便である。その人が自撮り写真を撮ることを所望する場合、通常、その人の顔しか含まない写真は撮影できるが、シーンの背景全体を含む写真を撮ることは困難である。   When one person goes out for a trip and wants to take a picture with a scene, that person usually needs to seek help from another person, which is inconvenient. If the person wants to take a selfie photo, usually a photo containing only the person's face can be taken, but it is difficult to take a photo that includes the entire background of the scene.

複数の人々が一緒になって、グループ写真を撮ることを所望するとき、全ての人を含む写真は、自撮りモードを利用することによってさえ撮影できず、ユーザに面倒を掛ける。   When multiple people together want to take a group photo, a photo that includes everyone cannot be taken even by utilizing the selfie mode, which is troublesome for the user.

本発明の発明者は、従来技術において前面パノラマ撮影モードはなく、従来技術における背面パノラマモードが前面撮影モードに適用されたとしても、複数の写真を撮影して大きな視角を有する写真を取得するため、撮影端末が撮影中に1つの方向のみに移動されることに気付いた。このようにして、撮影がある人からスタートするとき、その人の片側のみのシーンが撮影可能であり、撮影があるシーンからスタートするとき、人が強調されることができず、これにより、撮影効果を低減する。   The inventor of the present invention aims to obtain a photograph having a large viewing angle by photographing a plurality of photographs even when the front panorama mode is not applied in the prior art and the rear panorama mode in the prior art is applied to the front photography mode. Noticed that the shooting terminal was moved in only one direction during shooting. In this way, when shooting starts from a certain person, a scene on only one side of the person can be shot, and when starting from a certain scene, the person cannot be emphasized. Reduce the effect.

本発明の実施例は、パノラマ撮影中に中央位置における画像を強調可能であり、これにより、パノラマ画像の全体的効果を向上させるパノラマ画像を取得する方法を提供する。本発明の実施例は更に対応する端末を提供する。   Embodiments of the present invention provide a method for acquiring a panoramic image that can enhance the image at the center position during panoramic shooting, thereby improving the overall effect of the panoramic image. Embodiments of the present invention further provide a corresponding terminal.

第1の態様によると、本発明は、パノラマ画像を取得する方法であって、
ユーザによりトリガされたパノラマ撮影指示が取得された後、第1の画像を撮影し、前記第1の画像の撮影パラメータを取得するステップと、
所定の移動ガイドポリシーに従って移動ガイド情報を決定し、前記移動ガイド情報に従って端末を移動するよう前記ユーザに指示するため、前記端末上に前記移動ガイド情報を表示するステップと、
前記端末が移動したことが検出された後、前記第1の画像の撮影パラメータに従って所定数の画像を撮影するステップであって、前記所定数の画像は前記第1の画像に対応する背景の左側と右側との双方における背景画像である、撮影するステップと、
前記第1の画像をセンタとして利用し、所定の接合方式を利用することによって、前記第1の画像及び前記所定数の画像に対してシームレスな接合を実行し、パノラマ画像を取得するステップと、
を有する方法を提供する。
According to a first aspect, the present invention is a method for obtaining a panoramic image,
Capturing a first image after obtaining a panoramic shooting instruction triggered by a user, and obtaining shooting parameters of the first image;
Determining travel guide information according to a predetermined travel guide policy, and displaying the travel guide information on the terminal to instruct the user to move the terminal according to the travel guide information;
After detecting that the terminal has moved, capturing a predetermined number of images according to a capturing parameter of the first image, wherein the predetermined number of images are on a left side of a background corresponding to the first image. Shooting a background image on both the right side and the right side;
Using the first image as a center, performing a seamless connection to the first image and the predetermined number of images by using a predetermined connection method, and acquiring a panoramic image;
Is provided.

第1の態様を参照して、第1の可能な実現方式では、前記ユーザが前記移動ガイド情報に従って前記端末を移動するように、前記所定の移動ガイドポリシーに従って移動ガイド情報を決定し、前記端末上に前記移動ガイド情報を表示するステップは、
前記所定の移動ガイドポリシーに従って次の画像の撮影位置を決定し、前記端末上に前記次の画像の撮影位置を表示するステップを有し、
対応して、前記端末が移動したことが検出された後、前記第1の画像の撮影パラメータに従って所定数の画像を撮影するステップであって、前記所定数の画像は前記第1の画像に対応する背景の左側と右側との双方における背景画像である、撮影するステップは、
前記端末が前記次の画像の撮影位置に移動した後、前記第1の画像の撮影パラメータに従って前記次の画像を撮影するステップと、
前記所定数の画像が撮影されるまで、前記上記の決定、表示及び撮影するステップを繰り返すステップと、
を有する。
Referring to the first aspect, in a first possible realization scheme, the mobile terminal determines travel guide information according to the predetermined travel guide policy so that the user moves the terminal according to the travel guide information, The step of displaying the movement guide information above,
Determining a shooting position of the next image according to the predetermined movement guide policy, and displaying the shooting position of the next image on the terminal;
Correspondingly, after detecting that the terminal has moved, capturing a predetermined number of images according to the capturing parameters of the first image, wherein the predetermined number of images correspond to the first image. Taking a background image on both the left and right sides of the background
After the terminal moves to the shooting position of the next image, shooting the next image according to shooting parameters of the first image;
Until the predetermined number of images are captured, repeating the above-described determination, display and capturing steps,
Having.

第1の態様の第1の可能な実現方式を参照して、第2の可能な実現方式では、前記端末上に前記次の画像の撮影位置を表示するステップの後に、当該方法は更に、
前記端末が移動しているとき、前記端末の位置をリアルタイムで取得及び表示するステップを有し、
対応して、前記端末が前記次の画像の撮影位置に移動した後、前記第1の画像の撮影パラメータに従って前記次の画像を撮影するステップは、
前記端末の表示された位置が前記次の画像の撮影位置と同じであるとき、前記第1の画像の撮影パラメータに従って前記次の画像を撮影するステップを有する。
With reference to the first possible realization of the first aspect, in a second possible realization, after displaying the shooting position of the next image on the terminal, the method further comprises:
When the terminal is moving, has a step of obtaining and displaying the position of the terminal in real time,
Correspondingly, after the terminal has moved to the shooting position of the next image, the step of shooting the next image according to the shooting parameters of the first image,
When the displayed position of the terminal is the same as the photographing position of the next image, a step of photographing the next image according to the photographing parameters of the first image is included.

第1の態様の第2の可能な実現方式を参照して、第3の可能な実現方式では、前記端末が移動しているとき、前記端末の位置をリアルタイムで取得及び表示するステップは、
前記端末が移動しているとき、前記次の画像を取得するための位置に前記端末を移動するよう前記ユーザに指示するため、隣接するフレームの画像の相対的な動きを検出することによって、移動過程における前記端末の位置をリアルタイムに取得及び表示するステップを有する。
With reference to the second possible realization of the first aspect, in a third possible realization, when the terminal is moving, obtaining and displaying the position of the terminal in real time comprises:
When the terminal is moving, moving the terminal by detecting the relative movement of images in adjacent frames to instruct the user to move the terminal to a position for acquiring the next image. Acquiring and displaying the position of the terminal in the process in real time.

第1の態様の第2又は第3の可能な実現方式を参照して、第4の可能な実現方式では、前記第1の画像を撮影し、前記第1の画像の撮影パラメータを取得するステップの後に、当該方法は更に、
所定の画像フレームの間隔で中央位置校正を実行するステップであって、前記中央位置校正は、現在のプレビュー画像と前記第1の画像とを比較し、前記現在のプレビュー画像と前記第1の画像との間の一致類似度が所定の閾値より高いとき、前記端末の位置が検出できないときに、前記第1の画像が撮影される位置に従って撮影を再開するため、前記端末の位置は前記第1の画像が撮影される前記端末の位置に戻っていると判断することである、実行するステップを有する。
Referring to the second or third possible realization method of the first aspect, in a fourth possible realization method, photographing the first image and acquiring photographing parameters of the first image. After, the method further comprises:
Performing a center position calibration at predetermined image frame intervals, the center position calibration comparing a current preview image with the first image, and comparing the current preview image with the first image. When the matching similarity between is higher than a predetermined threshold, and when the position of the terminal cannot be detected, shooting is restarted according to the position where the first image is shot. Determining that it has returned to the position of the terminal at which the image is taken.

第1の態様の第1乃至第4の可能な実現方式の何れか1つを参照して、第5の可能な実現方式では、前記第1の画像を撮影し、前記第1の画像の撮影パラメータを取得するステップの前に、当該方法は更に、
前記所定数の撮影される画像の撮影パラメータが前記第1の画像の撮影パラメータに整合し続けるように、自動白色バランスAWB制御及び自動露光AE制御をロックするステップを有する。
With reference to any one of the first to fourth possible realizations of the first aspect, in a fifth possible realization, the first image is captured and the first image is captured. Prior to the step of obtaining the parameters, the method further comprises:
Locking the automatic white balance AWB control and the automatic exposure AE control so that the shooting parameters of the predetermined number of shot images continue to match the shooting parameters of the first image.

第1の態様の第1乃至第5の可能な実現方式の何れか1つを参照して、第6の可能な実現方式では、前記第1の画像をセンタとして利用し、所定の接合方式を利用することによって、前記第1の画像及び前記所定数の画像に対してシームレスな接合を実行し、パノラマ画像を取得するステップは、
前記第1の画像と前記所定数の画像との双方における人物画像の位置を検出するステップと、
画像接合が前記所定の接合方式を利用することによって実行されるとき、各画像における非人物画像の位置から接合を実行するステップと、
を有する。
With reference to any one of the first to fifth possible implementation methods of the first aspect, in a sixth possible implementation method, the first image is used as a center, and a predetermined joining method is used. Performing a seamless join to the first image and the predetermined number of images to obtain a panoramic image,
Detecting the position of the human image in both the first image and the predetermined number of images;
Performing image joining from the position of the non-human image in each image when image joining is performed by utilizing the predetermined joining method;
Having.

第2の態様によると、本発明は、端末であって、
ユーザによりトリガされたパノラマ撮影指示を取得するよう構成される取得ユニットと、
前記取得ユニットが前記ユーザによりトリガされたパノラマ撮影指示を取得した後、第1の画像を撮影するよう構成される撮影ユニットと、
ここで、前記取得ユニットは更に、前記撮影ユニットが前記第1の画像を撮影するとき、前記第1の画像の撮影パラメータを取得するよう構成され、
前記取得ユニットが前記第1の画像を取得した後、所定の移動ガイドポリシーに従って移動ガイド情報を決定するよう構成される決定ユニットと、
前記移動ガイド情報に従って前記端末を移動するよう前記ユーザに指示するため、前記端末上に前記決定ユニットにより決定された前記移動ガイド情報を表示するよう構成される表示ユニットと、
前記端末の移動状態を検出するよう構成される検出ユニットと、
ここで、前記撮影ユニットは更に、前記検出ユニットが前記端末が移動したことを検出した後、前記第1の画像の撮影パラメータに従って所定数の画像を撮影するよう構成され、前記所定数の画像は前記第1の画像に対応する背景の左側と右側との双方における背景画像であり、
前記第1の画像をセンタとして利用し、所定の接合方式を利用することによって、前記撮影ユニットにより撮影された前記第1の画像及び前記所定数の画像に対してシームレスな接合を実行し、パノラマ画像を取得するよう構成される接合ユニットと、
を有する端末を提供する。
According to a second aspect, the invention relates to a terminal,
An obtaining unit configured to obtain a panoramic shooting instruction triggered by a user;
A photographing unit configured to photograph a first image after the acquiring unit acquires a panoramic photographing instruction triggered by the user;
Here, the obtaining unit is further configured to obtain a shooting parameter of the first image when the shooting unit shoots the first image,
A determining unit configured to determine moving guide information according to a predetermined moving guide policy after the obtaining unit has obtained the first image;
A display unit configured to display the travel guide information determined by the determination unit on the terminal to instruct the user to move the terminal according to the travel guide information;
A detection unit configured to detect a movement state of the terminal;
Here, the photographing unit is further configured to photograph a predetermined number of images according to a photographing parameter of the first image after the detection unit detects that the terminal has moved, and the predetermined number of images is Background images on both the left and right sides of the background corresponding to the first image,
Using the first image as a center and using a predetermined joining method, seamless joining is performed on the first image and the predetermined number of images photographed by the photographing unit, and the panorama is performed. A joining unit configured to acquire an image;
Is provided.

第2の態様を参照して、第1の可能な実現方式では、
前記決定ユニットは、前記所定の移動ガイドポリシーに従って次の画像の撮影位置を決定するよう構成され、
前記表示ユニットは、前記端末上に前記次の画像の撮影位置を表示するよう構成され、
前記端末が前記次の画像の撮影位置に移動した後、前記撮影ユニットは、前記第1の画像の撮影パラメータに従って前記次の画像を撮影するよう構成され、
前記決定ユニット、前記表示ユニット及び前記撮影ユニットは、前記所定数の画像が撮影されるまで、前記上記の決定、表示及び撮影するステップを繰り返す。
Referring to the second aspect, in a first possible realization scheme:
The determining unit is configured to determine a shooting position of a next image according to the predetermined movement guide policy,
The display unit is configured to display a shooting position of the next image on the terminal,
After the terminal moves to the shooting position of the next image, the shooting unit is configured to shoot the next image according to shooting parameters of the first image,
The determination unit, the display unit, and the photographing unit repeat the above-described determination, display, and photographing steps until the predetermined number of images are photographed.

第2の態様の第1の可能な実現方式を参照して、第2の可能な実現方式では、
前記取得ユニットは更に、前記端末が移動しているとき、前記端末の位置をリアルタイムで取得するよう構成され、
前記表示ユニットは更に、前記取得ユニットにより取得された前記端末の位置をリアルタイムに表示するよう構成され、
前記表示ユニットにより表示された前記端末の位置が前記次の画像の撮影位置と同じであるとき、前記撮影ユニットは、前記第1の画像の撮影パラメータに従って前記次の画像を撮影するよう構成される。
With reference to the first possible implementation of the second aspect, in a second possible implementation,
The obtaining unit is further configured to obtain a position of the terminal in real time when the terminal is moving,
The display unit is further configured to display the position of the terminal obtained by the obtaining unit in real time,
When the position of the terminal displayed by the display unit is the same as the shooting position of the next image, the shooting unit is configured to shoot the next image according to the shooting parameters of the first image. .

第2の態様の第2の可能な実現方式を参照して、第3の可能な実現方式では、
前記取得ユニットは、前記端末が移動しているとき、前記次の画像を取得するための位置に前記端末を移動するよう前記ユーザに指示するため、隣接するフレームの画像の相対的な動きを検出することによって、移動過程における前記端末の位置をリアルタイムに取得するよう構成され、
前記表示ユニットは、前記取得ユニットにより取得される前記移動過程における前記端末の位置を表示するよう構成される。
With reference to a second possible implementation of the second aspect, in a third possible implementation,
The obtaining unit detects a relative movement of an image of an adjacent frame to instruct the user to move the terminal to a position for obtaining the next image when the terminal is moving. By doing so, it is configured to obtain the position of the terminal in a moving process in real time,
The display unit is configured to display a position of the terminal in the movement process acquired by the acquisition unit.

第2の態様の第2又は第3の可能な実現方式を参照して、第4の可能な実現方式では、
前記端末は更に、
前記撮影ユニットが前記第1の画像を撮影した後、所定の画像フレームの間隔で中央位置校正を実行するよう構成される校正ユニットであって、前記中央位置校正は、現在のプレビュー画像と前記第1の画像とを比較し、前記現在のプレビュー画像と前記第1の画像との間の一致類似度が所定の閾値より高いとき、前記端末の位置が検出できないときに、前記第1の画像が撮影される位置に従って撮影を再開するため、前記端末の位置は前記第1の画像が撮影される前記端末の位置に戻っていると判断することである、校正ユニットを有する。
With reference to the second or third possible implementation of the second aspect, in a fourth possible implementation,
The terminal further comprises:
A calibration unit configured to perform a center position calibration at predetermined image frame intervals after the imaging unit captures the first image, wherein the center position calibration is performed based on a current preview image and the second preview image. The first image is compared with the first image when the matching similarity between the current preview image and the first image is higher than a predetermined threshold, and when the position of the terminal cannot be detected. A calibration unit for determining that the position of the terminal has returned to the position of the terminal at which the first image is captured, in order to resume shooting according to the position where the image is captured.

第2の態様及び第2の態様の第1乃至第4の可能な実現方式の何れか1つを参照して、第5の可能な実現方式では、
前記端末は更に、
前記撮影ユニットが前記第1の画像を撮影する前、前記所定数の撮影される画像の撮影パラメータが前記第1の画像の撮影パラメータに整合し続けるように、自動白色バランスAWB制御及び自動露光AE制御をロックするよう構成されるロックユニットを有する。
With reference to the second aspect and any one of the first to fourth possible implementations of the second aspect, in a fifth possible implementation,
The terminal further comprises:
Before the photographing unit photographs the first image, automatic white balance AWB control and automatic exposure AE are performed so that the photographing parameters of the predetermined number of photographed images continue to match the photographing parameters of the first image. A locking unit configured to lock control.

第2の態様及び第2の態様の第1乃至第5の可能な実現方式の何れか1つを参照して、第6の可能な実現方式では、
前記接合ユニットは、
前記第1の画像と前記所定数の画像との双方における人物画像の位置を検出するよう構成される検出サブユニットと、
画像接合が前記所定の接合方式を利用することによって実行されるとき、前記検出サブユニットにより検出された各画像における非人物画像の位置から接合を実行するよう構成される接合サブユニットと、
を有する。
With reference to the second aspect and any one of the first to fifth possible implementations of the second aspect, in a sixth possible implementation,
The joining unit is
A detection subunit configured to detect a position of a human image in both the first image and the predetermined number of images;
A joining subunit configured to perform joining from the position of the non-human image in each image detected by the detection subunit when image joining is performed by utilizing the predetermined joining method;
Having.

第3の態様によると、本発明は、受信機、送信機、カメラ、プロセッサ及びメモリを有する端末であって、
前記カメラは、画像を撮影するよう構成され、
前記受信機は、ユーザにより入力されたパノラマ撮影指示を受信するよう構成され、
前記プロセッサは、以下のステップ、
ユーザによりトリガされたパノラマ撮影指示が取得された後、第1の画像を撮影し、前記第1の画像の撮影パラメータを取得するステップと、
所定の移動ガイドポリシーに従って移動ガイド情報を決定し、前記移動ガイド情報に従って前記端末を移動するよう前記ユーザに指示するため、前記端末上に前記移動ガイド情報を表示するステップと、
前記端末が移動したことが検出された後、前記第1の画像の撮影パラメータに従って所定数の画像を撮影するステップであって、前記所定数の画像は前記第1の画像に対応する背景の左側と右側との双方における背景画像である、撮影するステップと、
前記第1の画像をセンタとして利用し、所定の接合方式を利用することによって、前記第1の画像及び前記所定数の画像に対してシームレスな接合を実行し、パノラマ画像を取得するステップと、
を実行するよう構成される端末を提供する。
According to a third aspect, the present invention is a terminal having a receiver, a transmitter, a camera, a processor and a memory,
The camera is configured to capture an image,
The receiver is configured to receive a panorama shooting instruction input by a user,
The processor comprises the following steps:
Capturing a first image after obtaining a panoramic shooting instruction triggered by a user, and obtaining shooting parameters of the first image;
Determining travel guide information according to a predetermined travel guide policy, displaying the travel guide information on the terminal to instruct the user to move the terminal according to the travel guide information,
After detecting that the terminal has moved, capturing a predetermined number of images according to a capturing parameter of the first image, wherein the predetermined number of images are on a left side of a background corresponding to the first image. Shooting a background image on both the right side and the right side;
Using the first image as a center, performing a seamless connection to the first image and the predetermined number of images by using a predetermined connection method, and acquiring a panoramic image;
Providing a terminal configured to execute

本発明の実施例によると、ユーザによりトリガされたパノラマ撮影指示が取得された後、第1の画像が撮影され、第1の画像の撮影パラメータが取得され、移動ガイド情報が所定の移動ガイドポリシーに従って決定され、移動ガイド情報に従って端末を移動するようユーザに指示するため、移動ガイド情報が端末上に表示される。端末が移動したことが検出された後、所定数の画像が第1の画像の撮影パラメータに従って撮影され、ここで、所定数の画像は、第1の画像に対応する背景の左側と右側との双方における背景画像であり、第1の画像をセンタとして利用し、所定の接合方式を利用することによって、第1の画像及び所定数の画像に対してシームレスな接合が実行され、パノラマ画像を取得する。中央位置における画像がパノラマ撮影中に強調可能でない従来技術と比較して、本発明の実施例において提供される方法では、中央位置における画像がパノラマ撮影中に強調可能であり、これにより、パノラマ画像の全体的効果を向上させる。   According to an embodiment of the present invention, after a panoramic shooting instruction triggered by a user is obtained, a first image is shot, shooting parameters of the first image are obtained, and the moving guide information is a predetermined moving guide policy. The travel guide information is displayed on the terminal to instruct the user to move the terminal according to the travel guide information. After it is detected that the terminal has moved, a predetermined number of images are captured according to the capturing parameters of the first image, wherein the predetermined number of images correspond to the left and right sides of the background corresponding to the first image. A background image on both sides, using the first image as a center and using a predetermined joining method, seamless joining is performed on the first image and a predetermined number of images, and a panoramic image is obtained. I do. Compared with the prior art where the image at the center position cannot be enhanced during panoramic shooting, the method provided in the embodiment of the present invention allows the image at the center position to be enhanced during panoramic shooting, thereby Improve the overall effect of

本発明の実施例における技術的解決策をより明確に説明するため、以下は、実施例を説明するのに必要な添付図面を簡単に紹介する。明らかに、以下の説明における添付図面は本発明の単なるいくつかの実施例を示し、当業者は、創作的な努力なく、これらの添付図面から他の図面を依然として導出してもよい。
図1は、本発明の実施例によるパノラマ画像を取得するための方法の概略図である。 図2は、本発明の他の実施例によるパノラマ画像を取得するための方法の概略図である。 図3Aは、本発明の他の実施例によるパノラマ画像を取得するための方法の概略図である。 図3Bは、本発明の他の実施例によるパノラマ画像を取得するための方法の概略図である。 図3Cは、本発明の他の実施例によるパノラマ画像を取得するための方法の概略図である。 図4は、本発明の実施例による端末の概略図である。 図5は、本発明の他の実施例による端末の概略図である。 図6は、本発明の他の実施例による端末の概略図である。 図7は、本発明の他の実施例による端末の概略図である。 図8は、本発明の他の実施例による端末の概略図である。 図9は、本発明の他の実施例による端末の概略図である。
In order to more clearly explain the technical solutions in the embodiments of the present invention, the following briefly introduces the accompanying drawings necessary for describing the embodiments. Apparently, the accompanying drawings in the following description show merely some embodiments of the present invention, and those skilled in the art may still derive other drawings from these accompanying drawings without creative efforts.
FIG. 1 is a schematic diagram of a method for acquiring a panoramic image according to an embodiment of the present invention. FIG. 2 is a schematic diagram of a method for acquiring a panoramic image according to another embodiment of the present invention. FIG. 3A is a schematic diagram of a method for acquiring a panoramic image according to another embodiment of the present invention. FIG. 3B is a schematic diagram of a method for acquiring a panoramic image according to another embodiment of the present invention. FIG. 3C is a schematic diagram of a method for acquiring a panoramic image according to another embodiment of the present invention. FIG. 4 is a schematic diagram of a terminal according to an embodiment of the present invention. FIG. 5 is a schematic diagram of a terminal according to another embodiment of the present invention. FIG. 6 is a schematic diagram of a terminal according to another embodiment of the present invention. FIG. 7 is a schematic diagram of a terminal according to another embodiment of the present invention. FIG. 8 is a schematic diagram of a terminal according to another embodiment of the present invention. FIG. 9 is a schematic diagram of a terminal according to another embodiment of the present invention.

本発明の実施例は、パノラマ撮影中に中央位置における画像を強調可能であり、これにより、パノラマ画像の全体的効果を向上させるパノラマ画像を取得する方法を提供する。本発明の実施例は更に対応する端末を提供する。詳細な説明が以下になされる。   Embodiments of the present invention provide a method for acquiring a panoramic image that can enhance the image at the center position during panoramic shooting, thereby improving the overall effect of the panoramic image. Embodiments of the present invention further provide a corresponding terminal. A detailed description is given below.

以下は、本発明の実施例における添付図面を参照して本発明の実施例における技術的解決策を明確且つ完全に説明する。明らかに、説明される実施例は、本発明の実施例の全てでなく単に一部である。創作的な努力なく本発明の実施例に基づき当業者により取得される他の全ての実施例は、本発明の保護範囲内に属する。   The following clearly and completely describes the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are merely a part rather than all of the embodiments of the present invention. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts fall within the protection scope of the present invention.

本発明の実施例において提供されるパノラマ画像を取得するための解決策は、背面撮影モード及び前面撮影モードに適用可能であり、特に前面撮影モードに適用可能である。   The solution for obtaining a panoramic image provided in the embodiment of the present invention is applicable to a rear shooting mode and a front shooting mode, and particularly applicable to a front shooting mode.

図1を参照して、本発明の実施例において提供されるパノラマ画像を取得する方法は以下のステップを有する。   Referring to FIG. 1, a method for obtaining a panoramic image provided in an embodiment of the present invention includes the following steps.

101.ユーザによりトリガされたパノラマ撮影指示が取得された後、第1の画像を撮影し、第1の画像の撮影パラメータを取得する。   101. After the panorama shooting instruction triggered by the user is obtained, the first image is shot and the shooting parameters of the first image are obtained.

パノラマ撮影が必要とされるとき、端末は、ユーザによりトリガされたパノラマ撮影指示が取得された後、第1の画像を撮影し、他の以降の画像の露光制御及び白色バランス制御などのパラメータが第1の画像のものと同じであることを保証するため、第1の画像の撮影パラメータを同時に取得する。   When panoramic shooting is required, the terminal shoots the first image after the panoramic shooting instruction triggered by the user is acquired, and sets parameters such as exposure control and white balance control of other subsequent images. In order to ensure that they are the same as those of the first image, the shooting parameters of the first image are obtained at the same time.

102.所定の移動ガイドポリシーに従って移動ガイド情報を決定し、移動ガイド情報に従って端末を移動するようユーザに指示するため、端末上に移動ガイド情報を表示する。   102. The travel guide information is displayed on the terminal to determine travel guide information according to a predetermined travel guide policy and to instruct a user to move the terminal according to the travel guide information.

本発明の本実施例における所定の移動ガイドポリシーは、端末の初期的位置の左側に向かってまず移動又は回転し、その後、端末の初期的位置の右側に向かって移動又は回転することであってもよい。   The predetermined movement guide policy in this embodiment of the present invention is to move or rotate first to the left of the initial position of the terminal, and then move or rotate to the right of the initial position of the terminal. Is also good.

移動ガイド情報は、アイコンガイド情報であってもよいし、又はテキストガイド情報であってもよい。端末が移動すべき位置は端末上に表示されてもよい。   The movement guide information may be icon guide information or text guide information. The position to which the terminal should move may be displayed on the terminal.

103.端末が移動したことが検出された後、第1の画像の撮影パラメータに従って所定数の画像を撮影し、ここで、所定数の画像は第1の画像に対応する背景の左側と右側との双方における背景画像である。   103. After it is detected that the terminal has moved, a predetermined number of images are photographed according to the photographing parameters of the first image, wherein the predetermined number of images are both on the left and right sides of the background corresponding to the first image. 3 is a background image.

前面パノラマ撮影中、端末が初期的位置の左側に回転すると、第1の画像の背景の右側の画像が撮影されてもよく、端末が初期的位置の右側に回転すると、第1の画像の背景の左側の画像が撮影されてもよい。   During front panoramic shooting, when the terminal rotates to the left of the initial position, an image on the right side of the background of the first image may be captured, and when the terminal rotates to the right of the initial position, the background of the first image may be captured. May be taken.

所定数は4であってもよく、初期的位置の左側に回転すると、端末は2つの画像を撮影し、初期的位置の右側に回転すると、端末は2つの画像を撮影する。あるいは、所定数は2であってもよく、左側の一方の画像と右側の他方の画像とであってもよい。所定数は限定されず、必要に応じて設定されてもよい。   The predetermined number may be 4, and when the terminal rotates to the left of the initial position, the terminal captures two images, and when the terminal rotates to the right of the initial position, the terminal captures two images. Alternatively, the predetermined number may be two, that is, one image on the left side and the other image on the right side. The predetermined number is not limited, and may be set as needed.

例えば、ユーは自撮り写真を撮ることを所望し、ユーザは携帯電話を保持し、ユーザにフォーカスし、画像を撮影し、当該画像は“C”とラベル付けされる。ユーザは、画像Cが撮影された位置の左側に向かって携帯電話を回転させ、2つの画像、すなわち、画像B及び画像Aを連続して撮影し、それから、画像Cが撮影された位置の右側に向かって携帯電話を回転させ、2つの画像、すなわち、画像D及び画像Eを撮影する。このようにして、5つの画像、すなわち、画像Aから画像Eが取得される。   For example, you want to take a selfie photo, the user holds the mobile phone, focuses on the user, takes an image, and the image is labeled "C". The user rotates the mobile phone toward the left side of the position where the image C was taken, continuously takes two images, that is, the image B and the image A, and then takes the right side of the position where the image C was taken. , The mobile phone is rotated to capture two images, that is, an image D and an image E. In this manner, five images, that is, the image E to the image A are obtained.

104.第1の画像をセンタとして利用し、所定の接合方式を利用することによって、第1の画像及び所定数の画像に対してシームレスな接合を実行し、パノラマ画像を取得する。   104. Using the first image as a center and using a predetermined joining method, seamless joining is performed on the first image and a predetermined number of images to obtain a panoramic image.

画像接合技術は、複数の画像を大きな視角を有する画像に接合することである。ステップ103における具体例が依然として利用される。画像Aから画像Eは、画像Cが中央にあるパノラマ画像が取得されるように、A,B,C,D及びEのシーケンス又はE,D,C,B及びAのシーケンスに従って接合される。   The image joining technique is to join a plurality of images into an image having a large viewing angle. The example in step 103 is still used. Images A to E are joined according to a sequence of A, B, C, D and E or a sequence of E, D, C, B and A such that a panoramic image with image C in the center is obtained.

本発明の本実施例における画像接合解決策は従来技術に属する。例えば、接合は、テンプレートマッチング方法、隣接カラムレシオマッチング方法、高速グリッドベースマッチング方法又は局所エントロピー差分ベース画像マッチング方法などの方法を利用することによって実行されてもよい。   The image joining solution in this embodiment of the present invention belongs to the prior art. For example, the joining may be performed by using a method such as a template matching method, an adjacent column ratio matching method, a fast grid-based matching method, or a local entropy difference-based image matching method.

本発明の本実施例によると、ユーザによりトリガされたパノラマ撮影指示が取得された後、第1の画像が撮影され、第1の画像の撮影パラメータが取得され、移動ガイド情報が所定の移動ガイドポリシーに従って決定され、移動ガイド情報に従って端末を移動するようユーザに指示するため、移動ガイド情報が端末上に表示される。端末が移動したことが検出された後、所定数の画像が第1の画像の撮影パラメータに従って撮影され、ここで、所定数の画像は、第1の画像に対応する背景の左側と右側との双方における背景画像であり、第1の画像をセンタとして利用し、所定の接合方式を利用することによって、第1の画像及び所定数の画像に対してシームレスな接合が実行され、パノラマ画像を取得する。中央位置における画像がパノラマ撮影中に強調可能でない従来技術と比較して、本発明の実施例において提供される方法では、中央位置における画像がパノラマ撮影中に強調可能であり、これにより、パノラマ画像の全体的効果を向上させる。   According to the present embodiment of the present invention, after the panorama shooting instruction triggered by the user is obtained, the first image is shot, the shooting parameters of the first image are obtained, and the moving guide information is set to the predetermined moving guide. The travel guide information is displayed on the terminal to be determined according to the policy and instruct the user to move the terminal according to the travel guide information. After it is detected that the terminal has moved, a predetermined number of images are captured according to the capturing parameters of the first image, wherein the predetermined number of images correspond to the left and right sides of the background corresponding to the first image. A background image on both sides, using the first image as a center and using a predetermined joining method, seamless joining is performed on the first image and a predetermined number of images, and a panoramic image is obtained. I do. Compared with the prior art where the image at the center position cannot be enhanced during panoramic shooting, the method provided in the embodiment of the present invention allows the image at the center position to be enhanced during panoramic shooting, thereby Improve the overall effect of

任意的には、上記における図1に対応する実施例に基づき、本発明の実施例において提供されるパノラマ画像を取得する方法の他の実施例では、所定の移動ガイドポリシーに従って移動ガイド情報を決定し、移動ガイド情報に従って端末を移動するようユーザに指示するため、端末上に移動ガイド情報を表示することは、
所定の移動ガイドポリシーに従って次の画像の撮影位置を決定し、端末上に次の画像の撮影位置を表示することを有してもよく、
対応して、端末が移動したことが検出された後、第1の画像の撮影パラメータに従って所定数の画像を撮影することは、ここで、所定数の画像は第1の画像に対応する背景の左側と右側との双方における背景画像であり、
端末が次の画像の撮影位置に移動した後、第1の画像の撮影パラメータに従って次の画像を撮影することと、
所定数の画像が撮影されるまで、上記の決定、表示及び撮影するステップを繰り返すことと、
を有する。
Optionally, based on the embodiment corresponding to FIG. 1 above, in another embodiment of the method for obtaining a panoramic image provided in the embodiment of the present invention, the moving guide information is determined according to a predetermined moving guide policy. Displaying the travel guide information on the terminal to instruct the user to move the terminal according to the travel guide information,
Determining the shooting position of the next image according to a predetermined movement guide policy, and displaying the shooting position of the next image on the terminal;
Correspondingly, photographing a predetermined number of images according to the photographing parameters of the first image after detecting that the terminal has moved, wherein the predetermined number of images is a background image corresponding to the first image. Background images on both the left and right sides,
After the terminal moves to the shooting position of the next image, shooting the next image according to the shooting parameters of the first image;
Until a predetermined number of images are taken, repeating the above determination, display and photographing steps,
Having.

本発明の本実施例では、所定の移動ガイドポリシーが初期的位置の左側に向かってまず移動又は回転するよう指示する場合、端末は、次の画像の撮影位置が初期的位置の左側にあると決定し、端末のディスプレイインタフェースにおいて次の画像の撮影位置を表示する。   In this embodiment of the present invention, if the predetermined movement guide policy instructs to move or rotate first to the left of the initial position, the terminal determines that the shooting position of the next image is on the left of the initial position. Then, the photographing position of the next image is displayed on the display interface of the terminal.

ユーザは端末のディスプレイインタフェースにおけるプロンプトに従って端末を移動又は回転させてもよく、端末が次の画像の撮影位置に回転すると、端末は次の画像を自動的に撮影する。このようにして、画像が撮影される毎に、次の画像の撮影位置が端末のインタフェースにおいて表示され、ユーザが端末のディスプレイインタフェースにおけるプロンプトに従って端末を移動又は回転させる限り、第1の画像に対応する背景の左側と右側との双方における所定数の背景画像が撮影されるまで、画像が撮影できる。   The user may move or rotate the terminal according to the prompt on the display interface of the terminal, and when the terminal rotates to the shooting position of the next image, the terminal automatically shoots the next image. In this way, each time an image is taken, the location of the next image is displayed on the terminal interface and corresponds to the first image as long as the user moves or rotates the terminal according to the prompts on the display interface of the terminal. Images can be captured until a predetermined number of background images are captured on both the left and right sides of the background.

例えば、図2を参照して、ユーザはパノラマ撮影モードにおいて自撮り写真を撮り、ユーザは携帯電話を保持し、ユーザにフォーカスし、第1の画像を撮影する。端末は、第2の画像の撮影を完了させるため、所定の移動ガイドポリシーに従って携帯電話を左方向に回転させるよう指示する。さらに、小さなボールと小さなサークルとが、携帯電話のディスプレイインタフェースにおいて表示され、ここで、矢印は小さなサークルから小さなボールを指し示し、小さなボールは次の画像の撮影位置を示すのに利用され、小さなサークルは第1の画像が撮影された携帯電話の初期的位置を示すのに利用される。矢印の方向は、携帯電話が左方向に回転する必要があることを示す。このようにして、ユーザはインタフェースにおけるプロンプトに従って携帯電話を左方向に回転させることができる。小さなサークルが小さなボールの位置に回転すると、小さなサークルは小さなボールとオーバラップし、携帯電話は第2の画像を自動的に撮影する。第2の画像が撮影された後、携帯電話は更に第3の画像の撮影位置を表示する。ユーザは、ディスプレイインタフェースにおけるプロンプトに従って携帯電話を回転しさえすればよく、それから、必要とされる画像の撮影が完了させることができる。   For example, referring to FIG. 2, the user takes a selfie photograph in the panoramic shooting mode, the user holds the mobile phone, focuses on the user, and shoots the first image. The terminal instructs the mobile phone to rotate to the left according to a predetermined movement guide policy in order to complete the capturing of the second image. In addition, a small ball and a small circle are displayed on the display interface of the mobile phone, where the arrow points from the small circle to the small ball, and the small ball is used to indicate the shooting position of the next image, and the small circle Is used to indicate the initial position of the mobile phone where the first image was taken. The direction of the arrow indicates that the mobile phone needs to rotate to the left. In this way, the user can rotate the mobile phone to the left according to the prompt in the interface. When the small circle rotates to the position of the small ball, the small circle overlaps with the small ball and the mobile phone automatically captures the second image. After the second image is shot, the mobile phone further displays the shooting position of the third image. The user only needs to rotate the mobile phone according to the prompts on the display interface, and then the required image capture can be completed.

図3Aを参照して、図3Aに示されるサークルは端末を用いて自撮り写真を撮りたいユーザの体を示し、垂直ラインはユーザの腕を示し、水平ラインは端末を示す。図3Aは、ユーザが第1の画像を撮影するときの端末とユーザとの間の関係の概略図である。第1の画像が撮影された後、端末は第2の画像を撮影するため左方向に回転する必要があり、そのとき、ユーザは左方向に端末を回転してもよいが、腕は動かす必要はない。図3Bに示されるように、端末が第2の画像の撮影位置に回転した後、第2の画像が撮影されてもよい。第2の画像が撮影された後、端末は右方向に回転し、第3の画像を撮影する必要があり、そのとき、ユーザは端末を右方向に回転してもよい。図3Cに示される第3の画像の撮影位置に回転すると、端末は第3の画像を撮影してもよい。   Referring to FIG. 3A, the circle shown in FIG. 3A indicates the body of the user who wants to take a selfie photograph using the terminal, the vertical line indicates the user's arm, and the horizontal line indicates the terminal. FIG. 3A is a schematic diagram of a relationship between the terminal and the user when the user captures the first image. After the first image is captured, the terminal needs to rotate left to capture the second image, at which time the user may rotate the terminal left but need to move his arm There is no. As illustrated in FIG. 3B, the second image may be captured after the terminal rotates to the capturing position of the second image. After the second image is taken, the terminal needs to rotate rightward and take a third image, at which time the user may rotate the terminal rightward. When the terminal is rotated to the shooting position of the third image shown in FIG. 3C, the terminal may shoot the third image.

任意的には、上記における図1に対応する任意的な実施例に基づき、本発明の実施例において提供されるパノラマ画像を取得する方法の他の実施例では、端末上に次の画像の撮影位置を表示した後、当該方法は更に、
端末が移動しているとき、端末の位置をリアルタイムで取得及び表示することを有し、
対応して、端末が次の画像の撮影位置に移動した後、第1の画像の撮影パラメータに従って次の画像を撮影することは、
端末の表示された位置が次の画像の撮影位置と同じであるとき、第1の画像の撮影パラメータに従って次の画像を撮影することを有してもよい。
Optionally, based on the optional embodiment corresponding to FIG. 1 above, in another embodiment of the method of obtaining a panoramic image provided in the embodiment of the present invention, the following image capture on the terminal After indicating the location, the method further comprises:
Comprising obtaining and displaying the location of the terminal in real time when the terminal is moving,
Correspondingly, photographing the next image according to the photographing parameters of the first image after the terminal moves to the photographing position of the next image,
When the displayed position of the terminal is the same as the photographing position of the next image, photographing the next image according to the photographing parameters of the first image may be included.

本発明の本実施例では、図2を参照して、ユーザが携帯電話を回転するとき、携帯電話はリアルタイムに回転過程における携帯電話の位置を取得及び表示し、すなわち、小さなサークルが小さなボールとオーバラップすることを可能にするため、携帯電話がどの程度回転されるべきかをユーザが決定することを助けるため、小さなサークルの位置の変化が、携帯電話の移動過程において携帯電話上にリアルタイムに表示される。小さなサークルと小さなボールとの位置が互いにオーバラップするとき、携帯電話は自動的に次の画像を取得する。   In this embodiment of the present invention, referring to FIG. 2, when the user rotates the mobile phone, the mobile phone obtains and displays the position of the mobile phone in the rotating process in real time, that is, a small circle corresponds to a small ball. To help the user determine how much the mobile phone should be rotated to allow them to overlap, changes in the position of the small circles are made on the mobile phone in real time during the mobile phone's movement. Is displayed. When the positions of the small circle and the small ball overlap each other, the mobile phone automatically acquires the next image.

任意的には、上記における図1に対応する任意的な実施例に基づき、本発明の実施例において提供されるパノラマ画像を取得する方法の他の実施例では、端末が移動しているとき、端末の位置をリアルタイムで取得及び表示することは、
端末が移動しているとき、次の画像を取得するための位置に端末を移動するようユーザに指示するため、隣接するフレームの画像の相対的な動きを検出することによって、移動過程における端末の位置をリアルタイムに取得及び表示することを有する。
Optionally, based on the optional embodiment corresponding to FIG. 1 above, in another embodiment of the method for obtaining a panoramic image provided in the embodiment of the present invention, when the terminal is moving, Obtaining and displaying the location of the terminal in real time
When the terminal is moving, detecting the relative movement of the images of adjacent frames to instruct the user to move the terminal to a position for acquiring the next image, Including obtaining and displaying the position in real time.

本発明の本実施例では、第1の画像が撮影された後、携帯電話は、次の画像を撮影するため、次の画像の位置に回転する必要がある。実際、撮影モードが有効とされた時間から、ユーザはフレームレートに従って画像をキャプチャすることはできない。例えば、フレームレートが30フレーム/秒であるとき、端末は1/30秒の間隔で1つのフレームをキャプチャし、端末は、隣接フレームの2つの画像の間の差分に従って、端末がどの程度移動したか決定し、移動過程における端末の位置を決定し、次の画像の撮影位置に端末を移動するようユーザに指示するため、端末上に決定された位置を表示することができる。   In this embodiment of the present invention, after the first image is captured, the mobile phone needs to rotate to the position of the next image to capture the next image. In fact, from the time when the shooting mode is enabled, the user cannot capture an image according to the frame rate. For example, when the frame rate is 30 frames / sec, the terminal captures one frame at an interval of 1/30 second, and the terminal moves according to the difference between two images of adjacent frames. The determined position can be displayed on the terminal in order to determine the position of the terminal in the moving process and instruct the user to move the terminal to the shooting position of the next image.

任意的には、上記における図1に対応する任意的な実施例に基づき、本発明の実施例において提供されるパノラマ画像を取得する方法の他の実施例では、第1の画像を撮影し、第1の画像の撮影パラメータを取得した後、当該方法は更に、
所定の画像フレームの間隔で中央位置校正を実行することを有し、ここで、中央位置校正は、現在のプレビュー画像と第1の画像とを比較し、現在のプレビュー画像と第1の画像との間の一致類似度が所定の閾値より高いとき、端末の位置が検出できないときに、第1の画像が撮影される位置に従って撮影を再開するため、端末の位置は第1の画像が撮影される端末の位置に戻っていると判断することである。
Optionally, based on the optional embodiment corresponding to FIG. 1 above, in another embodiment of the method for obtaining a panoramic image provided in the embodiment of the present invention, capturing the first image, After obtaining the shooting parameters of the first image, the method further comprises:
Performing a center position calibration at predetermined image frame intervals, wherein the center position calibration compares the current preview image with the first image, and compares the current preview image with the first image. Is higher than a predetermined threshold, and when the position of the terminal cannot be detected, the photographing is restarted according to the position where the first image is photographed. Is determined to have returned to the position of the terminal.

本発明の本実施例では、所定の画像フレームは10フレームであってもよく、すなわち、中央位置校正は10フレームの間隔で実行される。中央位置校正の目的は、端末が端末の位置を検出できないとき、第1の画像が撮影された位置を求めることである。このようにして、撮影は再開できる。   In this embodiment of the invention, the predetermined image frame may be ten frames, ie, the center position calibration is performed at intervals of ten frames. The purpose of the center position calibration is to determine the position where the first image was taken when the terminal cannot detect the position of the terminal. In this way, shooting can be resumed.

第1の画像は通常は人の顔をフォーカスすることによって撮影されるため、所定の閾値は80%又は90%であってもよいし、又は、他の値であってもよい。プレビュー画像と第1の画像との間の類似度が所定の閾値より高いとき、端末は第1の画像が撮影された位置に戻っていると決定されてもよい。   Since the first image is typically taken by focusing on a human face, the predetermined threshold may be 80% or 90%, or another value. When the similarity between the preview image and the first image is higher than a predetermined threshold, the terminal may be determined to have returned to the position where the first image was captured.

任意的には、図1に対応する実施例又は上記における図1に対応する何れかの任意的な実施例に基づき、本発明の実施例において提供されるパノラマ画像を取得する方法の他の実施例では、
第1の画像を撮影し、第1の画像の撮影パラメータを取得する前に、当該方法は更に、
所定数の撮影される画像の撮影パラメータが第1の画像の撮影パラメータに整合し続けるように、自動白色バランス(Auto White Balance,AWB)制御及び自動露光(Auto−Exposure,AE)制御をロックすることを有してもよい。
Optionally, based on the embodiment corresponding to FIG. 1 or any optional embodiment corresponding to FIG. 1 above, another implementation of the method for obtaining a panoramic image provided in an embodiment of the present invention In the example,
Prior to capturing the first image and obtaining the capturing parameters of the first image, the method further includes:
Lock the automatic white balance (Auto White Balance, AWB) control and the automatic exposure (Auto-Exposure, AE) control so that the shooting parameters of the predetermined number of images to be shot continue to match the shooting parameters of the first image. It may have that.

パノラマ撮影中に複数の画像を収集するため、露光設定及び白色バランス設定が、第1の画像に対応する露光及び白色バランス設定に従ってロックされる必要がある。中間において画像をまず撮影することによって、ロックされた露光及び白色バランス設定が人の顔をより良好にレンダリングすることが保証できる。画像が左側でまず撮影される場合、通常は、屋外背景のルミナンスは人の顔のルミナンスよりはるかに大きく、人の顔は暗くなりすぎる。   In order to collect multiple images during panoramic photography, the exposure settings and white balance settings need to be locked according to the exposure and white balance settings corresponding to the first image. Taking an image first in the middle can ensure that locked exposure and white balance settings render a human face better. If the image is taken first on the left, the luminance of the outdoor background is usually much greater than the luminance of the human face, and the human face is too dark.

任意的には、図1に対応する実施例又は上記における図1に対応する何れかの任意的な実施例に基づき、本発明の実施例において提供されるパノラマ画像を取得する方法の他の実施例では、第1の画像をセンタとして利用し、所定の接合方式を利用することによって、第1の画像及び所定数の画像に対してシームレスな接合を実行し、パノラマ画像を取得することは、
第1の画像と所定数の画像との双方における人物画像の位置を検出することと、
画像接合が所定の接合方式を利用することによって実行されるとき、各画像における非人物画像の位置から接合を実行することと、
を有してもよい。
Optionally, based on the embodiment corresponding to FIG. 1 or any optional embodiment corresponding to FIG. 1 above, another implementation of the method for obtaining a panoramic image provided in an embodiment of the present invention In the example, using the first image as a center and using a predetermined joining method, performing seamless joining on the first image and a predetermined number of images to obtain a panoramic image,
Detecting the position of the human image in both the first image and the predetermined number of images;
Performing image joining from the position of the non-human image in each image when image joining is performed by utilizing a predetermined joining method;
May be provided.

本発明の本実施例では、接合効果を保証するため、人物画像は接合されることを最大限防がれるべきであり、画像における低い勾配を有する画像ポイントが選択され、人の顔がある領域は最大限回避されるべきである。   In this embodiment of the present invention, in order to guarantee the joining effect, the person image should be prevented from being joined as much as possible, the image point with low gradient in the image is selected, and the area where the human face is located Should be avoided as much as possible.

画像接合中、各画像における特徴点が抽出されてもよく、ここで、スケール不変特徴変換(Scale−invariant feature transform,SIFT)抽出方法、特徴点抽出方法又は角点抽出方法が、特徴点を抽出するのに利用されてもよい。SIFT抽出方法及び角点抽出方法は、画像処理分野における周知の技術に属し、本実施例では詳細は説明しない。   During image joining, feature points in each image may be extracted, wherein the scale-invariant feature transform (SIFT) extraction method, feature point extraction method, or corner point extraction method extracts feature points. It may be used to do so. The SIFT extraction method and the corner point extraction method belong to a well-known technique in the field of image processing, and will not be described in detail in this embodiment.

特徴点が抽出された後、異なる画像から抽出された特徴点が比較され、同じ画像キャラクタを表す特徴点がマッチングされる。SIFT特徴点マッチングが利用されてもよいし、又は画像ブロックマッチングが利用されてもよい。SIFT特徴点マッチング及び画像ブロックマッチングは、画像処理分野における周知の技術に属し、本実施例では詳細は説明しない。   After the feature points are extracted, feature points extracted from different images are compared, and feature points representing the same image character are matched. SIFT feature point matching may be used, or image block matching may be used. SIFT feature point matching and image block matching belong to well-known techniques in the field of image processing, and will not be described in detail in this embodiment.

特徴点がマッチングされた後、特徴点ペアが選択され、同じ画像変換を表す特徴点ペアが保持され、他の画像変換を指し示す特徴点ペアは削除され、ランダムサンプルコンセンサス(RANdom SAmple Consensus,RANSAC)アルゴリズムが利用されてもよい。2つの画像の間の変換行列がまた、行列を変換することによって選択された特徴点ペアに従って計算されてもよい。   After the feature points are matched, feature point pairs are selected, feature point pairs representing the same image transformation are retained, feature point pairs pointing to other image transformations are deleted, and a random sample consensus (RANdom Sample Consensus, RANSAC). An algorithm may be used. A transformation matrix between the two images may also be calculated according to the feature point pairs selected by transforming the matrix.

画像が変換行列に従って回転された後、人の顔が接合されることを防ぐため、人の顔の位置が検出される。繰り返しアルゴリズムADABOOSTアルゴリズムが利用されてもよいし、又は、FLOATBOOSTアルゴリズムが利用されてもよい。これらのアルゴリズムは、画像処理分野における周知の技術に属し、ここでは詳細は説明しない。   After the image is rotated according to the transformation matrix, the position of the human face is detected to prevent the human faces from being joined. The iterative algorithm ADABOOST algorithm may be used, or the FLOATBOOST algorithm may be used. These algorithms belong to well-known techniques in the field of image processing and will not be described in detail here.

2つの画像の間の接合シームが検索され、画像がシーム処理される。画像はシームカービング技術を利用することによってシーム処理されてもよい。シームカービング技術は、周知の技術に属し、ここでは詳細は説明しない。接合シームの選択中、画像において低い勾配を有する画像ポイントが選択され、人の顔がある領域は最大限回避されるべきである。   The joint seam between the two images is searched and the images are seamed. Images may be seamed by utilizing seam carving techniques. The seam carving technique belongs to a well-known technique and will not be described in detail here. During the selection of the joint seam, image points with a low gradient in the image are selected and the area where the human face is should be avoided as much as possible.

図4を参照して、本発明の実施例において提供される端末は、
ユーザによりトリガされたパノラマ撮影指示を取得するよう構成される取得ユニット201と、
取得ユニット201がユーザによりトリガされたパノラマ撮影指示を取得した後、第1の画像を撮影するよう構成される撮影ユニット202と、
ここで、取得ユニット201は更に、撮影ユニットが第1の画像を撮影するとき、第1の画像の撮影パラメータを取得するよう構成され、
取得ユニット201が第1の画像を取得した後、所定の移動ガイドポリシーに従って移動ガイド情報を決定するよう構成される決定ユニット203と、
移動ガイド情報に従って端末を移動するようユーザに指示するため、端末上に決定ユニット203により決定された移動ガイド情報を表示するよう構成される表示ユニット204と、
表示ユニット204が移動ガイド情報を表示した後、端末の移動状態を検出するよう構成される検出ユニット205と、
ここで、撮影ユニット202は更に、検出ユニット205が端末が移動したことを検出した後、第1の画像の撮影パラメータに従って所定数の画像を撮影するよう構成され、ここで、所定数の画像は第1の画像に対応する背景の左側と右側との双方における背景画像であり、
第1の画像をセンタとして利用し、所定の接合方式を利用することによって、撮影ユニット202により撮影された第1の画像及び所定数の画像に対してシームレスな接合を実行し、パノラマ画像を取得するよう構成される接合ユニット206と、
を有する。
Referring to FIG. 4, the terminal provided in the embodiment of the present invention includes:
An obtaining unit 201 configured to obtain a panoramic shooting instruction triggered by a user;
A photographing unit 202 configured to photograph a first image after the acquiring unit 201 acquires a panoramic photographing instruction triggered by a user;
Here, the obtaining unit 201 is further configured to obtain a shooting parameter of the first image when the shooting unit shoots the first image;
A determining unit 203 configured to determine the moving guide information according to a predetermined moving guide policy after the obtaining unit 201 has obtained the first image;
A display unit 204 configured to display the travel guide information determined by the determination unit 203 on the terminal to instruct the user to move the terminal according to the travel guide information;
A detection unit 205 configured to detect a movement state of the terminal after the display unit 204 displays the movement guide information;
Here, the photographing unit 202 is further configured to photograph a predetermined number of images in accordance with the photographing parameters of the first image after the detection unit 205 detects that the terminal has moved, wherein the predetermined number of images is Background images on both the left and right sides of the background corresponding to the first image,
Using the first image as a center and using a predetermined joining method, seamless joining is performed on the first image and a predetermined number of images taken by the imaging unit 202 to obtain a panoramic image. A joining unit 206 configured to
Having.

本発明の本実施例によると、取得ユニット201はユーザによりトリガされたパノラマ撮影指示を取得し、撮影ユニット202は、取得ユニット201がユーザによりトリガされたパノラマ撮影指示を取得した後、第1の画像を撮影し、取得ユニット201は更に、撮影ユニットが第1の画像を撮影するとき、第1の画像の撮影パラメータを取得し、取得ユニット201が第1の画像を取得した後、決定ユニット203は、所定の移動ガイドポリシーに従って移動ガイド情報を決定し、表示ユニット204は、移動ガイド情報に従って端末を移動するようユーザに指示するため、端末上に決定ユニット203により決定された移動ガイド情報を表示し、検出ユニット205は、表示ユニット204が移動ガイド情報を表示した後、端末の移動状態を検出し、撮影ユニット202は更に、検出ユニット205が端末が移動したことを検出した後、第1の画像の撮影パラメータに従って所定数の画像を撮影し、ここで、所定数の画像は第1の画像に対応する背景の左側と右側との双方における背景画像であり、接合ユニット206は、第1の画像をセンタとして利用し、所定の接合方式を利用することによって、撮影ユニット202により撮影された第1の画像及び所定数の画像に対してシームレスな接合を実行し、パノラマ画像を取得する。中央位置における画像がパノラマ撮影中に強調できない従来技術と比較して、本発明の本実施例において提供される端末は、パノラマ撮影中に中央位置における画像を強調可能であり、これにより、パノラマ画像の全体的効果を向上させる。   According to this embodiment of the present invention, the obtaining unit 201 obtains a panoramic shooting instruction triggered by the user, and the shooting unit 202 performs the first panoramic shooting instruction after the obtaining unit 201 obtains the panoramic shooting instruction triggered by the user. Photographing the image, the acquiring unit 201 further acquires a photographing parameter of the first image when the photographing unit photographs the first image, and after the acquiring unit 201 acquires the first image, the determining unit 203 Determines the travel guide information according to a predetermined travel guide policy, and the display unit 204 displays the travel guide information determined by the determination unit 203 on the terminal to instruct the user to move the terminal according to the travel guide information. Then, the detection unit 205 moves the terminal after the display unit 204 displays the movement guide information. State, and the photographing unit 202 further photographs a predetermined number of images according to the photographing parameters of the first image after the detection unit 205 detects that the terminal has moved, where the predetermined number of images is This is a background image on both the left side and the right side of the background corresponding to the first image. The joining unit 206 uses the first image as a center and uses a predetermined joining method to capture images by the imaging unit 202. A seamless joining is performed on the obtained first image and a predetermined number of images to obtain a panoramic image. Compared with the prior art in which the image at the center position cannot be enhanced during panoramic shooting, the terminal provided in the present embodiment of the present invention can enhance the image at the center position during panoramic shooting, and thereby the panoramic image Improve the overall effect of

任意的には、上記における図4に対応する実施例に基づき、本発明の実施例において提供される端末の他の実施例では、
決定ユニット203は、所定の移動ガイドポリシーに従って次の画像の撮影位置を決定するよう構成され、
表示ユニット204は、端末上に次の画像の撮影位置を表示するよう構成され、
検出ユニット205は、端末が次の画像のものであって、表示ユニット204により表示される撮影位置に移動するか検出するよう構成され、
端末が次の画像の撮影位置に移動したことを検出ユニット205が検出した後、撮影ユニット202は、第1の画像の撮影パラメータに従って次の画像を撮影するよう構成され、
決定ユニット203、表示ユニット204及び撮影ユニット202は、所定数の画像が撮影されるまで、上記の決定、表示及び撮影するステップを繰り返す。
Optionally, based on the embodiment corresponding to FIG. 4 above, in another embodiment of the terminal provided in the embodiment of the present invention,
The determining unit 203 is configured to determine a shooting position of a next image according to a predetermined movement guide policy,
The display unit 204 is configured to display a shooting position of a next image on the terminal,
The detection unit 205 is configured to detect whether the terminal is for the next image and moves to a shooting position displayed by the display unit 204,
After the detection unit 205 detects that the terminal has moved to the shooting position of the next image, the shooting unit 202 is configured to shoot the next image according to the shooting parameters of the first image,
The determination unit 203, the display unit 204, and the imaging unit 202 repeat the above-described determination, display, and imaging steps until a predetermined number of images are captured.

任意的には、上記における図4に対応する実施例に基づき、図5を参照して、本発明の実施例において提供される端末の他の実施例において、
取得ユニット201は更に、端末が移動しているとき、端末の位置をリアルタイムで取得するよう構成され、
表示ユニット204は更に、取得ユニット201により取得された端末の位置をリアルタイムに表示するよう構成され、
検出ユニット205は、表示ユニットにより表示された端末の位置が次の画像の撮影位置と同じであるか検出するよう構成され、
表示ユニットにより表示された端末の位置が次の画像の撮影位置と同じであると検出ユニット205が検出すると、撮影ユニット202は、第1の画像の撮影パラメータに従って次の画像を撮影するよう構成される。
Optionally, based on the embodiment corresponding to FIG. 4 above, and referring to FIG. 5, in another embodiment of the terminal provided in the embodiment of the present invention,
The obtaining unit 201 is further configured to obtain the position of the terminal in real time when the terminal is moving,
The display unit 204 is further configured to display the position of the terminal obtained by the obtaining unit 201 in real time,
The detection unit 205 is configured to detect whether the position of the terminal displayed by the display unit is the same as the shooting position of the next image,
When the detection unit 205 detects that the position of the terminal displayed by the display unit is the same as the shooting position of the next image, the shooting unit 202 is configured to shoot the next image according to the shooting parameters of the first image. You.

任意的には、上記における図5に対応する実施例に基づき、本発明の実施例において提供される端末の他の実施例では、
取得ユニット201は、端末が移動しているとき、次の画像を取得するための位置に端末を移動するようユーザに指示するため、隣接するフレームの画像の相対的な動きを検出することによって、移動過程における端末の位置をリアルタイムに取得するよう構成され、
表示ユニット204は、取得ユニット201により取得される移動過程における端末の位置を表示するよう構成される。
Optionally, based on the embodiment corresponding to FIG. 5 above, in another embodiment of the terminal provided in the embodiment of the present invention,
The acquiring unit 201 detects a relative movement of an image of an adjacent frame to instruct a user to move the terminal to a position for acquiring a next image when the terminal is moving, It is configured to obtain the position of the terminal in the moving process in real time,
The display unit 204 is configured to display the position of the terminal during the movement process acquired by the acquisition unit 201.

任意的には、上記における図5に対応する実施例に基づき、図6を参照して、本発明の実施例において提供される端末の他の実施例では、端末20は更に、
撮影ユニット202が第1の画像を撮影した後、所定の画像フレームの間隔で中央位置校正を実行するよう構成される校正ユニット207を有し、ここで、中央位置校正は、現在のプレビュー画像と第1の画像とを比較し、現在のプレビュー画像と第1の画像との間の一致類似度が所定の閾値より高いとき、端末の位置が検出できないときに、第1の画像が撮影される位置に従って撮影を再開するため、端末の位置は第1の画像が撮影される端末の位置に戻っていると判断することである。
Optionally, based on the embodiment corresponding to FIG. 5 above, and referring to FIG. 6, in another embodiment of the terminal provided in the embodiment of the present invention, the terminal 20 further includes:
After the photographing unit 202 has photographed the first image, it has a calibration unit 207 configured to perform a center position calibration at predetermined image frame intervals, wherein the center position calibration is performed by comparing the current preview image with the current preview image. The first image is compared with the first image, and when the matching similarity between the current preview image and the first image is higher than a predetermined threshold, and when the terminal position cannot be detected, the first image is captured. In order to resume shooting according to the position, it is determined that the terminal position has returned to the terminal position where the first image is shot.

任意的には、上記における図4に対応する実施例に基づき、図7を参照して、本発明の実施例において提供される端末の他の実施例では、端末20は更に、
撮影ユニット202が第1の画像を撮影する前、所定数の撮影される画像の撮影パラメータが第1の画像の撮影パラメータに整合し続けるように、自動白色バランスAWB制御及び自動露光AE制御をロックするよう構成されるロックユニット208を有する。
Optionally, based on the embodiment corresponding to FIG. 4 above and referring to FIG. 7, in another embodiment of the terminal provided in the embodiment of the present invention, the terminal 20 further comprises:
Before the shooting unit 202 shoots the first image, the automatic white balance AWB control and the automatic exposure AE control are locked so that the shooting parameters of a predetermined number of shot images continue to match the shooting parameters of the first image. And a lock unit 208 configured to

任意的には、上記における図4に対応する実施例に基づき、図8を参照して、本発明の実施例において提供される端末の他の実施例では、接合ユニット206は更に、
第1の画像と所定数の画像との双方における人物画像の位置を検出するよう構成される検出サブユニット2061と、
画像接合が所定の接合方式を利用することによって実行されるとき、検出サブユニット2061により検出された各画像における非人物画像の位置から接合を実行するよう構成される接合サブユニット2062と、
を有する。
Optionally, based on the embodiment corresponding to FIG. 4 above, and referring to FIG. 8, in another embodiment of the terminal provided in the embodiment of the present invention, the joining unit 206 further includes:
A detection sub-unit 2061 configured to detect the position of the human image in both the first image and the predetermined number of images;
A joining sub-unit 2062 configured to perform joining from the position of the non-human image in each image detected by the detection sub-unit 2061, when the image joining is performed by using a predetermined joining method;
Having.

図9は、本発明の実施例において提供される端末の構成を示す。本発明の本実施例において提供される端末は、本発明の実施例においてパノラマ画像を取得する方法を実現するよう構成されてもよい。説明の簡単化のため、本発明の本実施例に関連する部分のみが示される。開示されない特定の技術詳細について、理解のため本発明の方法の実施例における部分を参照されたい。   FIG. 9 shows a configuration of a terminal provided in an embodiment of the present invention. The terminal provided in this embodiment of the present invention may be configured to implement the method for acquiring a panoramic image in the embodiment of the present invention. For simplicity of description, only those parts of the present invention that are relevant to this embodiment are shown. For specific technical details not disclosed, reference is made to parts in the method embodiments of the present invention for understanding.

端末は、携帯電話、タブレットコンピュータ、PDA(Personal Digital Assistant,パーソナル・デジタル・アシスタント)、POS(Point of Sales、ポイント・オブ・セールス)及び車両搭載コンピュータなどの端末を含むものであってもよい。例えば、端末は携帯電話である。図9は、本発明の本実施例において提供される端末に関連する携帯電話400の一部の構成のブロック図である。図9を参照して、携帯電話400は、RF(Radio Frequency,無線周波数)回路410、メモリ420、入力ユニット430、ディスプレイ装置440、センサ450、出力ユニット451、オーディオ周波数回路460、ワイヤレスフィデリティ(wireless fidelity,WiFi)モジュール470、プロセッサ480及び電源490などのコンポーネントを有する。当業者は、図9に示される携帯電話の構成が携帯電話に対する限定を構成せず、携帯電話は、図9に示されるものより多い又は少ないコンポーネント、一部のコンポーネントの組み合わせ又は異なって配置されるコンポーネントを有してもよいことを理解してもよい。   The terminal may include a terminal such as a mobile phone, a tablet computer, a PDA (Personal Digital Assistant, personal digital assistant), a POS (Point of Sales, point of sales), and a vehicle-mounted computer. For example, the terminal is a mobile phone. FIG. 9 is a block diagram of a partial configuration of a mobile phone 400 related to a terminal provided in this embodiment of the present invention. Referring to FIG. 9, a mobile phone 400 includes an RF (Radio Frequency, radio frequency) circuit 410, a memory 420, an input unit 430, a display device 440, a sensor 450, an output unit 451, an audio frequency circuit 460, and a wireless fidelity (wireless). (WiFi) module 470, a processor 480, and a power supply 490. One skilled in the art will appreciate that the configuration of the mobile phone shown in FIG. 9 does not constitute a limitation on the mobile phone, and that the mobile phone may have more or less components, some combinations of components or differently arranged components than those shown in FIG. It may be understood that components may be included.

携帯電話400のコンポーネントは、図9を参照して以下において詳細に説明される。   The components of the mobile phone 400 are described in detail below with reference to FIG.

RF回路410は、情報送受信処理又は呼処理において信号を送受信し、特に、基地局のダウンリンク情報を受信した後、処理のためダウンリンク情報をプロセッサ480に送信し、さらに、アップリンクデータを基地局に送信するよう構成されてもよい。通常、RF回路は、限定することなく、アンテナ、少なくとも1つのアンプ、送受信機、カプラ、低ノイズアンプ(Low Noise Amplifier,LNA)、デュプレクサなどを含む。さらに、RF回路410は更に、無線通信により他の装置と通信してもよい。無線通信は、限定することなく、グローバル・システム・フォー・モバイル・コミュニケーションズ(Global System of Mobile communication,GSM)、ジェネラル・パケット・ラジオ・サービス(General Packet Radio Service,GPRS)、符号分割多重接続(Code Division Multiple Access,CDMA)、ワイドバンド符号分割多重接続(Wideband Code Division Multiple Access,WCDMA)、ロング・ターム・エボリューション(Long Term Evolution,LTE)、電子メール、ショート・メッセージング・サービス(Short Messaging Service,SMS)などを含む何れかの通信規格又はプロトコルを利用してもよい。   The RF circuit 410 transmits and receives signals in information transmission and reception processing or call processing, and in particular, after receiving downlink information of the base station, transmits downlink information to the processor 480 for processing, and further transmits uplink data to the base station. It may be configured to transmit to a station. Typically, the RF circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, and the like. Further, the RF circuit 410 may further communicate with other devices by wireless communication. Wireless communications include, without limitation, Global System of Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (GPRS), Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (Long Term Ession, LTE e-mailing, Email Service, Long Term E-mail, Short Term Email Service, Long Term Email Service, Long Term Email Service, Long Term Email Service, Long Term Email Service) SMS) may be used either communication standards or protocols, including.

メモリ420は、ソフトウェアプログラム及びソフトウェアモジュールを記憶するよう構成されてもよく、プロセッサ480は、メモリ420に記憶されたソフトウェアプログラム及びソフトウェアモジュールを実行することによって、携帯電話400の各種ファンクションアプリケーション及びデータ処理を実行する。メモリ420は、プログラム記憶領域及びデータ記憶領域を主として有してもよく、ここで、オペレーティングシステム、少なくとも1つのファンクション(サウンド再生ファンクション及び画像再生ファンクションなど)により必要とされるアプリケーションプログラムなどがプログラム記憶領域に記憶されてもよい。携帯電話400の使用に従って作成されるデータ(オーディオデータ及びアドレスブックなど)は、データ記憶領域に記憶されてもよい。さらに、メモリ420は、高速ランダムアクセスメモリを有してもよいし、又は、少なくとも1つの磁気ディスク記憶装置などの不揮発性メモリ、フラッシュメモリ装置又は他の揮発性ソリッドステートメモリ装置を有してもよい。   The memory 420 may be configured to store software programs and software modules, and the processor 480 executes the software programs and software modules stored in the memory 420 to execute various function applications and data processing of the mobile phone 400. Execute The memory 420 may mainly include a program storage area and a data storage area, where an operating system, application programs required by at least one function (such as a sound reproduction function and an image reproduction function), and the like are stored in the program storage area. It may be stored in an area. Data created according to the use of the mobile phone 400 (such as audio data and an address book) may be stored in a data storage area. Further, memory 420 may include high speed random access memory, or may include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state memory device. Good.

入力ユニット430は、入力デジタル又は文字情報を受信し、携帯電話400のファンクション制御及びユーザの設定に関連するキー信号入力を生成するよう構成されてもよい。具体的には、入力ユニット430は、タッチパネル431及び他の入力装置432を有してもよい。タッチパネル431はまた、タッチ画面として参照され、タッチ画面上又は近くでユーザにより実行されるタッチ操作(例えば、指やスタイラスなどの何れか適切なオブジェクト又はアクセサリを利用することによって、タッチパネル431上で又はタッチパネル431の近くでユーザにより実行される操作)を収集し、所定のプログラムに従って対応する接続装置を駆動することが可能である。任意的には、タッチパネル431は、タッチ検出装置及びタッチコントローラの2つの部分を有してもよい。タッチ検出装置は、ユーザのタッチ方向を検出し、タッチ操作により生成される信号を検出し、当該信号をタッチコントローラに送信する。タッチコントローラは、タッチ検出装置からタッチ情報を受信し、タッチ情報を接触座標に変換し、接触座標をプロセッサ480に送信し、プロセッサ480からコマンドを受信し、当該コマンドを実行可能である。さらに、タッチパネル431は、抵抗タイプ、容量タイプ、赤外線タイプ及び表面音響波などの各種タイプで実現されてもよい。タッチパネル431に加えて、入力ユニット430は更に他の入力装置432を有してもよい。具体的には、他の入力装置432は、限定することなく、物理的キーボード、ファンクションキー(例えば、ボリューム制御キー、スイッチキーなど)、トラックボール、マウス及び操作ロッドの1つ以上を有してもよい。   The input unit 430 may be configured to receive input digital or textual information and generate key signal inputs related to function control of the mobile phone 400 and user settings. Specifically, the input unit 430 may include a touch panel 431 and another input device 432. Touch panel 431 is also referred to as a touch screen, and may be touched on or near touch screen by a user (eg, by utilizing any suitable object or accessory, such as a finger or stylus, on touch panel 431 or An operation performed by the user near the touch panel 431 is collected, and the corresponding connection device can be driven according to a predetermined program. Optionally, the touch panel 431 may have two parts, a touch detection device and a touch controller. The touch detection device detects a touch direction of the user, detects a signal generated by a touch operation, and transmits the signal to the touch controller. The touch controller can receive touch information from the touch detection device, convert the touch information into contact coordinates, send the contact coordinates to the processor 480, receive a command from the processor 480, and execute the command. Further, the touch panel 431 may be realized by various types such as a resistance type, a capacitance type, an infrared type, and a surface acoustic wave. In addition to the touch panel 431, the input unit 430 may further include another input device 432. In particular, other input devices 432 include, without limitation, one or more of a physical keyboard, function keys (eg, volume control keys, switch keys, etc.), a trackball, a mouse, and an operating rod. Is also good.

ディスプレイ装置440は、ユーザにより入力された情報又はユーザに提供される情報及び携帯電話400の各種メニューを表示するよう構成されてもよい。ディスプレイ装置440は、ディスプレイパネル441を有してもよく、任意的には、液晶ディスプレイ(Liquid Crystal Display,LCD)や有機発光ダイオード(Organic Light−Emitting Diode,OLED)などの形態においてディスプレイパネル441を構成してもよい。さらに、タッチパネル431はディスプレイパネル441をカバーし、タッチパネル431がタッチパネル431上で実行されるタッチ操作を検出すると、タッチイベントのタイプを決定するため、タッチ操作をプロセッサ480に送信してもよい。このとき、プロセッサ480は、タッチイベントのタイプに従ってディスプレイパネル441上に対応する視覚的出力を提供する。図9において、タッチパネル431及びディスプレイパネル441が、携帯電話400の入出力機能を実現するための2つの独立したコンポーネントとして機能するが、いくつかの実施例では、タッチパネル431及びディスプレイパネル441は、携帯電話400の入出力機能を実現するよう統合されてもよい。   The display device 440 may be configured to display information input by or provided to the user and various menus of the mobile phone 400. The display device 440 may have a display panel 441, and optionally, the display panel 441 in the form of a liquid crystal display (LCD), an organic light emitting diode (Organic Light-Emitting Diode, OLED), or the like. You may comprise. Further, the touch panel 431 may cover the display panel 441, and when the touch panel 431 detects a touch operation performed on the touch panel 431, the touch operation may be transmitted to the processor 480 to determine a type of a touch event. At this time, the processor 480 provides a corresponding visual output on the display panel 441 according to the type of the touch event. In FIG. 9, the touch panel 431 and the display panel 441 function as two independent components for realizing the input / output function of the mobile phone 400, but in some embodiments, the touch panel 431 and the display panel 441 are It may be integrated to realize the input / output function of the telephone 400.

携帯電話400は更に、光センサ、動きセンサ及び他のセンサなどの少なくとも1つのタイプのセンサ450を有してもよい。具体的には、光センサは、周辺光センサ及び近接センサを有してもよく、ここで、周辺光センサは周辺光の明るさ及び暗さに従ってディスプレイパネル441の輝度を調整し、近接センサは、携帯電話400が耳の近くに移動すると、ディスプレイパネル441及び/又はバックライトをオフにしてもよい。動きセンサの1つのタイプとして、加速度センサは、各種方向(通常は3軸である)における加速度を検出可能であり、携帯電話400が静止状態にあるとき、重力の値及び方向を検出可能であり、携帯電話の姿勢を特定するためのアプリケーション(横向きと縦向きとの間のスイッチ、関連するゲーム及び磁力計姿勢測定など)、振動特定関連機能(歩数計及びノッキングなど)などにおいて利用可能である。携帯電話400のため、ジャイロスコープ、気圧計、湿度計、温度計及び赤外線センサなどの他のセンサが更に構成されてもよく、ここでは詳細は説明されない。   Cell phone 400 may further include at least one type of sensor 450, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, where the ambient light sensor adjusts the brightness of the display panel 441 according to the brightness and darkness of the ambient light, and the proximity sensor When the mobile phone 400 moves closer to the ear, the display panel 441 and / or the backlight may be turned off. As one type of motion sensor, the acceleration sensor can detect acceleration in various directions (usually three axes), and can detect the value and direction of gravity when the mobile phone 400 is stationary. It can be used in applications to determine the orientation of the mobile phone (switch between landscape and portrait orientation, related games and magnetometer attitude measurement, etc.), vibration identification related functions (pedometer, knocking, etc.), etc. . Other sensors such as gyroscopes, barometers, hygrometers, thermometers and infrared sensors for the mobile phone 400 may be further configured and will not be described in detail herein.

出力ユニット451は、信号を送信するよう構成されてもよい。   The output unit 451 may be configured to transmit a signal.

オーディオ周波数回路460、ラウドスピーカ461及びマイクロフォン462は、ユーザと携帯電話400との間のオーディオインタフェースを提供可能である。オーディオ周波数回路460は、受信したオーディオデータを変換することによって取得された電気信号をラウドスピーカ461に送信可能であり、それから、ラウドスピーカ461は、電気信号を出力用の音声信号に変換する。他の態様では、マイクロフォン462は、収集した音声信号を電気信号に変換し、それから、オーディオ周波数回路460は、電気信号を受信した後、電気信号をオーディオデータに変換し、オーディオデータを処理のためプロセッサ480に出力する。それから、オーディオデータは、RF回路410を利用することによって、例えば、他の携帯電話に送信されるか、又は更なる処理のためメモリ420に出力される。   Audio frequency circuit 460, loudspeaker 461, and microphone 462 can provide an audio interface between the user and mobile phone 400. The audio frequency circuit 460 can transmit an electric signal obtained by converting the received audio data to the loudspeaker 461, and then the loudspeaker 461 converts the electric signal into an audio signal for output. In another aspect, microphone 462 converts the collected audio signals to electrical signals, and then, after receiving the electrical signals, audio frequency circuit 460 converts the electrical signals to audio data and processes the audio data for processing. Output to processor 480. The audio data is then transmitted by utilizing the RF circuit 410, for example, to another mobile phone, or output to the memory 420 for further processing.

WiFiは短距離無線伝送技術に属し、携帯電話400は、WiFiモジュール470を利用することによって、ユーザが電子メールを送受信し、ウェブページをブラウズし、ストリーミングメディアにアクセスすることを支援できる。WiFiは、無線ブロードバンドインターネットアクセスをユーザに提供する。図9はWiFiモジュール470を示しているが、WiFiモード470は携帯電話400の必ずしも必要な部分でなく、本発明の本質の範囲から逸脱することなく必要に応じて省略されてもよい。   WiFi belongs to the short-range wireless transmission technology, and the mobile phone 400 can use the WiFi module 470 to help the user send and receive e-mails, browse web pages, and access streaming media. WiFi provides users with wireless broadband Internet access. Although FIG. 9 illustrates the WiFi module 470, the WiFi mode 470 is not a necessary part of the mobile phone 400 and may be omitted as necessary without departing from the scope of the present invention.

プロセッサ480は、携帯電話400の制御センタであり、各種インタフェース及びラインを利用することによって、携帯電話全体の各種部分に接続され、携帯電話に対して全体的なモニタリングを実行するため、携帯電話400の各種機能を実行し、メモリ420に記憶されているソフトウェアプログラム及び/又はモジュールを実行し、メモリ420に記憶されているデータを呼び出すことによってデータを処理する。任意的には、プロセッサ480は、1つ以上の処理ユニットを有してもよい。好ましくは、プロセッサ480は、アプリケーションプロセッサ及びモデムプロセッサと統合されてもよく、ここで、アプリケーションプロセッサは主としてオペレーティングシステム、ユーザインタフェース、アプリケーションプログラムなどを処理する。モデムプロセッサは、主として無線通信を処理する。上記のモデムプロセッサはプロセッサ480に統合されなくてもよいことが理解されてもよい。   The processor 480 is a control center of the mobile phone 400 and is connected to various parts of the entire mobile phone by using various interfaces and lines, and performs overall monitoring on the mobile phone. , Execute software programs and / or modules stored in the memory 420, and process data by calling the data stored in the memory 420. Optionally, processor 480 may have one or more processing units. Preferably, the processor 480 may be integrated with an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application program, and the like. The modem processor mainly processes wireless communication. It may be appreciated that the modem processor described above may not be integrated with processor 480.

携帯電話400は更に、各種コンポーネントに電力を供給する電源490(例えば、バッテリ)を有する。好ましくは、電源は、電源管理システムを利用することによって充電、放電及び電力消費管理などの機能を実現するため、電源管理システムを利用することによって、プロセッサ480に論理接続されてもよい。   The mobile phone 400 further includes a power supply 490 (for example, a battery) that supplies power to various components. Preferably, the power supply may be logically connected to the processor 480 by utilizing the power management system to achieve functions such as charging, discharging and power consumption management by utilizing the power management system.

携帯電話400は更に、カメラ491を有してもよく、ここで、カメラ491は画像を撮影する。   The mobile phone 400 may further include a camera 491, where the camera 491 captures an image.

携帯電話400は更に、図示されないブルートゥースモジュールを有してもよく、ここでは詳細は説明されない。   The mobile phone 400 may further include a Bluetooth module (not shown), and details are not described herein.

本発明の本実施例では、端末に含まれるプロセッサ480は更に以下の機能を有する。   In this embodiment of the present invention, the processor 480 included in the terminal further has the following functions.

プロセッサ480は、ユーザによりトリガされたパノラマ撮影指示が取得された後、第1の画像を撮影し、第1の画像の撮影パラメータを取得し、所定の移動ガイドポリシーに従って移動ガイド情報を決定し、移動ガイド情報に従って端末を移動するようユーザに指示するため、端末上に移動ガイド情報を表示し、端末が移動したことが検出された後、第1の画像の撮影パラメータに従って所定数の画像を撮影し、ここで、所定数の画像は第1の画像に対応する背景の左側と右側との双方における背景画像であり、第1の画像をセンタとして利用し、所定の接合方式を利用することによって、第1の画像及び所定数の画像に対してシームレスな接合を実行し、パノラマ画像を取得するよう構成される。   The processor 480, after the panoramic shooting instruction triggered by the user is obtained, shoots the first image, obtains the shooting parameters of the first image, determines the moving guide information according to a predetermined moving guide policy, In order to instruct the user to move the terminal according to the movement guide information, the movement guide information is displayed on the terminal, and after detecting that the terminal has moved, a predetermined number of images are photographed according to the photographing parameters of the first image. Here, the predetermined number of images are background images on both the left side and the right side of the background corresponding to the first image. By using the first image as a center and using a predetermined joining method, , Performing seamless joining on the first image and the predetermined number of images to obtain a panoramic image.

本発明の本実施例では、パノラマ画像が撮影されるとき、中間における画像がまず撮影されてもよく、その後、2つの側の画像が撮影されてもよく、中央位置における画像が強調可能であり、これにより、パノラマ画像の全体的効果を向上させる。   In this embodiment of the present invention, when a panoramic image is taken, the middle image may be taken first, then the two side images may be taken, and the image at the center position can be enhanced. This improves the overall effect of the panoramic image.

本発明のいくつかの実施例では、プロセッサ480は更に、所定の移動ガイドポリシーに従って次の画像の撮影位置を決定するよう構成される。   In some embodiments of the present invention, processor 480 is further configured to determine a next image capture location according to a predetermined travel guide policy.

ディスプレイ装置440は、端末上に次の画像の撮影位置を表示してもよい。   The display device 440 may display the shooting position of the next image on the terminal.

カメラ491は更に、端末が次の画像の撮影位置に移動した後、第1の画像の撮影パラメータに従って次の画像を撮影するよう構成される。   The camera 491 is further configured to shoot the next image according to the shooting parameters of the first image after the terminal moves to the shooting position of the next image.

プロセッサ480、ディスプレイ装置440及びカメラ491は、所定数の画像が撮影されるまで、上記の決定、表示及び撮影ステップを繰り返す。   The processor 480, the display device 440, and the camera 491 repeat the above determination, display, and shooting steps until a predetermined number of images have been shot.

本発明のいくつかの実施例では、プロセッサ480は更に、端末が移動しているとき、端末の位置をリアルタイムに取得するよう構成される。   In some embodiments of the present invention, processor 480 is further configured to obtain the location of the terminal in real time as the terminal is moving.

ディスプレイ装置440は更に、端末の位置を表示してもよい。   The display device 440 may further display the location of the terminal.

プロセッサ480は更に、端末の表示された位置が次の画像の撮影位置と同じであるとき、次の画像を撮影するようカメラをトリガするよう構成される。   Processor 480 is further configured to trigger the camera to capture the next image when the displayed position of the terminal is the same as the capture position of the next image.

カメラ491は更に、第1の画像の撮影パラメータに従って次の画像を撮影するよう構成される。   Camera 491 is further configured to capture the next image according to the capture parameters of the first image.

本発明のいくつかの実施例では、プロセッサ480は更に、端末が移動しているとき、次の画像を取得するための位置に端末を移動するようユーザに指示するため、隣接フレームの画像の相対的な動きを検出することによって、移動過程における端末の位置をリアルタイムに取得するよう構成される。   In some embodiments of the present invention, the processor 480 may further include, when the terminal is moving, the relative position of the image of the adjacent frame to instruct the user to move the terminal to a position for acquiring the next image. It is configured to obtain the position of the terminal in the moving process in real time by detecting a dynamic movement.

ディスプレイ装置440は、移動処理において端末の位置を表示してもよい。   The display device 440 may display the position of the terminal in the moving process.

本発明のいくつかの実施例では、プロセッサ480は更に、所定の画像フレームの間隔で中央位置校正を実行するよう構成され、ここで、中央位置校正は、現在のプレビュー画像と第1の画像とを比較し、現在のプレビュー画像と第1の画像との間の一致類似度が所定の閾値より高いとき、端末の位置が検出できないときに、第1の画像が撮影される位置に従って撮影を再開するため、端末の位置は前記第1の画像が撮影される端末の位置に戻っていると判断することである。   In some embodiments of the present invention, processor 480 is further configured to perform a center position calibration at predetermined image frame intervals, where the center position calibration is performed with the current preview image and the first image. When the matching similarity between the current preview image and the first image is higher than a predetermined threshold, and when the position of the terminal cannot be detected, shooting is restarted according to the position where the first image is shot. Therefore, it is determined that the position of the terminal has returned to the position of the terminal where the first image is captured.

本発明のいくつかの実施例では、プロセッサ480は更に、所定数の撮影される画像の撮影パラメータが第1の画像の撮影パラメータと整合し続けるように、自動白色バランスAWB制御及び自動露光AE制御をロックするよう構成される。   In some embodiments of the present invention, processor 480 further includes an automatic white balance AWB control and an automatic exposure AE control such that the imaging parameters of the predetermined number of captured images continue to match the imaging parameters of the first image. Is configured to lock.

本発明のいくつかの実施例では、プロセッサ480は更に、第1の画像と所定数の画像との双方における人物画像の位置を検出し、画像接合が所定の接合方式を利用することによって実行されると、各画像における非人物画像の位置から接合を実行するよう構成される。   In some embodiments of the invention, the processor 480 further detects the position of the human image in both the first image and the predetermined number of images, and the image combining is performed by utilizing a predetermined combining scheme. Then, it is configured to execute the joining from the position of the non-human image in each image.

当業者は、上記の実施例における方法のステップの全て又は一部が関連するハードウェアに指示するプログラムにより実現されてもよいことを理解してもよい。プログラムは、コンピュータ可読記憶媒体に記憶されてもよい。記憶媒体は、ROM、RAM、磁気ディスク又は光ディスクを含むものであってもよい。   Those skilled in the art may understand that all or some of the steps of the method in the above embodiments may be realized by a program instructing relevant hardware. The program may be stored on a computer-readable storage medium. The storage medium may include a ROM, a RAM, a magnetic disk, or an optical disk.

本発明の実施例において提供されるパノラマ画像を取得する方法及び端末が以下において詳細に説明される。本明細書は、特定の具体例を利用することによって、本発明の原理及び実現方式を説明する。上記の実施例の説明は、本発明の方法及びそれのコアアイディアを理解することを支援することを単に意図している。一方、当業者は、本発明のアイディアに従って特定の実現方式及び適用範囲に対して変形を行うかもしれない。結論として、本明細書のコンテンツは、本発明に対する限定として解釈されるべきでない。   The method and terminal for obtaining a panoramic image provided in the embodiment of the present invention will be described in detail below. This specification describes the principles and implementations of the present invention by way of specific examples. The above description of the embodiments is merely intended to assist in understanding the method of the present invention and its core ideas. On the other hand, those skilled in the art may make modifications to the specific implementation and scope according to the idea of the present invention. In conclusion, the contents herein should not be construed as limitations on the invention.

Claims (16)

前面カメラを有する携帯端末によるパノラマ画像を取得する方法であって、
ユーザによりトリガされた撮影指示を取得するステップと、
前記撮影指示に応答して、前記前面カメラによって中心画像を撮影するステップと、
前記中心画像の撮影後、前記ユーザが前記ユーザの第1の側に前記携帯端末を回転するように指示するための移動ガイド情報をディスプレイ上に表示するステップと、
前記携帯端末が前記ユーザの第1の側に向かって回転されたことを検出するステップと、
前記前面カメラが前記ユーザの第1の側で背景に対面したとき、前記前面カメラによって第1の側の画像を自動的に撮影するステップと、
前記第1の側の画像の撮影後、前記ユーザが前記ユーザの第2の側に前記携帯端末を回転するように指示するための前記移動ガイド情報を前記ディスプレイ上に表示するステップであって、前記第2の側は前記第1の側の反対である、表示するステップと、
前記携帯端末が前記ユーザの第2の側に向かって回転されたことを検出するステップと、
前記前面カメラが前記ユーザの第2の側で前記背景に対面したとき、前記前面カメラによって第2の側の画像を自動的に撮影するステップと、
前記パノラマ画像の中心における前記中心画像によるパノラマ画像を取得するため、前記中心画像、前記第1の側の画像及び前記第2の側の画像を接合するステップと、
を有する方法。
A method for acquiring a panoramic image by a mobile terminal having a front camera ,
Obtaining a shadow instruction Ta triggered by the user,
In response to the photographing instruction, photographing a center image by the front camera ,
After capturing the center image, displaying on a display moving guide information for the user to instruct the first side of the user to rotate the mobile terminal;
Detecting that the mobile terminal has been rotated toward a first side of the user;
Automatically capturing an image of the first side by the front camera when the front camera faces the background on the first side of the user;
Displaying the movement guide information on the display for instructing the user to rotate the mobile terminal on the second side of the user after capturing the image of the first side, Displaying the second side is opposite to the first side;
Detecting that the mobile terminal has been rotated toward a second side of the user;
Automatically capturing an image of a second side by the front camera when the front camera faces the background on the second side of the user;
Joining the center image, the first side image, and the second side image to obtain a panoramic image based on the center image at the center of the panoramic image;
Having a method.
前記移動ガイド情報は、テキストガイド情報を含む、請求項1記載の方法。   The method of claim 1, wherein the travel guide information comprises text guide information. 前記移動ガイド情報は更に、アイコンガイド情報を含む、請求項記載の方法。 The moving guide information further includes an icon guide information, The method of claim 1, wherein. 前記アイコンガイド情報は、前記ユーザの第1の及び第2のに向かってのみ画像を撮影するよう前記ユーザに指示するために示される、請求項3記載の方法。 The icon guide information, said towards the first side and the second side of the user is shown only in order to instruct the user to capture an image, The method of claim 3. 該方法は更に、前記携帯端末のリアルタイム位置を表示するステップを含み、前記リアルタイム位置は前記携帯端末の初期的位置に対して相対的であり、前記携帯端末の初期的位置は前記携帯端末が前記中心画像を撮影する場所である、請求項1乃至4何れか一項記載の方法。 Those method further the comprising the step of displaying the real-time location of the mobile terminal, the real-time position Ri relative der against first-term position of the portable terminal, the initial position of the portable terminal the portable terminal Ru place der to shoot the central image, claims 1 to 4 or the method of one claim. 前記携帯端末のリアルタイム位置を表示するステップは、前記携帯端末が回転しているとき、隣接フレームの画像の相対的な動きを検出することによって、回転過程における前記携帯端末の前記リアルタイム位置を表示するステップを含む、請求項5記載の方法。 Displaying a real-time location of said mobile terminal when said mobile terminal is rotating, by detecting the relative motion of the image of the adjacent frames, said real-time location of the mobile terminal in rotation process 6. The method of claim 5, comprising displaying. 前記中心画像を撮影した後であって、前記第1の側の画像を撮影する前、当該方法は更に、自動白色バランスAWB又は自動露光AEの少なくとも1つをロックするステップを含む、請求項5記載の方法。 6. The method of claim 5, further comprising locking at least one of an automatic white balance AWB or an automatic exposure AE after capturing the central image and before capturing the first side image. The described method. タッチ画面、前面カメラ、1つ以上のプロセッサ及びメモリを有する携帯端末であって、前記メモリはプログラムを記憶し、前記プログラムが前記1つ以上のプロセッサによって実行されると、
ユーザによりトリガされた撮影指示を取得するステップと、
前記撮影指示に応答して、前記前面カメラによって中心画像を撮影するステップと、
前記中心画像の撮影後、前記ユーザが前記ユーザの第1の側に前記携帯端末を回転するように指示するための移動ガイド情報をディスプレイ上に表示するステップと、
前記携帯端末が前記ユーザの第1の側に向かって回転されたことを検出するステップと、
前記前面カメラが前記ユーザの第1の側で背景に対面したとき、前記前面カメラによって第1の側の画像を自動的に撮影するステップと、
前記第1の側の画像の撮影後、前記ユーザが前記ユーザの第2の側に前記携帯端末を回転するように指示するための前記移動ガイド情報を前記ディスプレイ上に表示するステップであって、前記第2の側は前記第1の側の反対である、表示するステップと、
前記携帯端末が前記ユーザの第2の側に向かって回転されたことを検出するステップと、
前記前面カメラが前記ユーザの第2の側で前記背景に対面したとき、前記前面カメラによって第2の側の画像を自動的に撮影するステップと、
パノラマ画像の中心における前記中心画像によるパノラマ画像を取得するため、前記中心画像、前記第1の側の画像及び前記第2の側の画像を接合するステップと、
を前記携帯端末に実行させる携帯端末。
A mobile terminal having a touch screen, a front camera, one or more processors, and a memory , wherein the memory stores a program, and the program is executed by the one or more processors.
Obtaining a shadow instruction Ta triggered by the user,
In response to the photographing instruction, photographing a center image by the front camera ,
After capturing the center image, displaying on a display moving guide information for the user to instruct the first side of the user to rotate the mobile terminal;
Detecting that the mobile terminal has been rotated toward a first side of the user;
Automatically capturing an image of the first side by the front camera when the front camera faces the background on the first side of the user;
Displaying the movement guide information on the display for instructing the user to rotate the mobile terminal on the second side of the user after capturing the image of the first side, Displaying the second side is opposite to the first side;
Detecting that the mobile terminal has been rotated toward a second side of the user;
Automatically capturing an image of a second side by the front camera when the front camera faces the background on the second side of the user;
Joining the center image, the first side image, and the second side image to obtain a panoramic image of the center image at the center of the panoramic image;
A portable terminal that causes the portable terminal to execute .
前記移動ガイド情報は、テキストガイド情報を含む、請求項記載の携帯端末。 The mobile terminal according to claim 8 , wherein the travel guide information includes text guide information. 前記移動ガイド情報は更に、アイコンガイド情報を含む、請求項記載の携帯端末。 The mobile terminal according to claim 8 , wherein the movement guide information further includes icon guide information. 前記アイコンガイド情報は、前記ユーザの第1の及び第2のに向かってのみ画像を撮影するよう前記ユーザに指示するために示される、請求項10記載の携帯端末。 The icon guide information, first only towards the side and the second side is shown to indicate to the user to capture an image, the portable terminal according to claim 10, wherein the user. 前記プログラムが前記1つ以上のプロセッサによって実行されると、前記携帯端末のリアルタイム位置を表示するステップを前記携帯端末に更に実行させ、前記リアルタイム位置は前記携帯端末の初期的位置に対して相対的であり、前記携帯端末の初期的位置は前記携帯端末が前記中心画像を撮影する場所である、請求項9乃至11何れか一項記載の携帯端末。 When the program is executed by the one or more processors, said step of displaying a real-time location of the mobile terminal further executes the portable terminal, wherein the real-time location relative with respect to the first-term position of said mobile terminal specifically der it is, the initial position of the mobile terminal Ru place der which the mobile terminal captures the central image, the portable terminal of any one of claims 9 to 11. 前記プログラムが前記1つ以上のプロセッサによって実行されると、前記携帯端末が回転しているとき、隣接フレームの画像の相対的な動きを検出することによって、回転過程における前記携帯端末の前記リアルタイム位置を表示するステップを前記携帯端末に更に実行させる、請求項12記載の携帯端末。 When the program is executed by the one or more processors, when said mobile terminal is rotating, by detecting the relative motion of the image of the adjacent frames, the said mobile terminal in rotation process the step of displaying the real-time location Ru further executed to the portable terminal, the portable terminal according to claim 12, wherein. 前記プログラムが前記1つ以上のプロセッサによって実行されると、前記中心画像を撮影した後であって、前記第1の側の画像を撮影する前、自動白色バランスAWB又は自動露光AEの少なくとも1つをロックするステップを前記携帯端末に更に実行させる、請求項12記載の携帯端末。 When the program is executed by the one or more processors, even after taken the central image, before capturing an image of said first side, at least one of the self Dohakushoku balance AWB or automatic exposure AE 13. The mobile terminal according to claim 12 , further comprising the step of locking the mobile terminal. 1つ以上のプログラムを記憶するコンピュータ可読記憶媒体であって、前記1つ以上のプログラムは、前面カメラを備えた携帯端末によって実行されると、
ユーザによりトリガされた撮影指示を取得するステップと、
前記撮影指示に応答して、前記前面カメラによって中心画像を撮影するステップと、
前記中心画像の撮影後、前記ユーザが前記ユーザの第1の側に前記携帯端末を回転するように指示するための移動ガイド情報をディスプレイ上に表示するステップと、
前記携帯端末が前記ユーザの第1の側に向かって回転されたことを検出するステップと、
前記前面カメラが前記ユーザの第1の側で背景に対面したとき、前記前面カメラによって第1の側の画像を自動的に撮影するステップと、
前記第1の側の画像の撮影後、前記ユーザが前記ユーザの第2の側に前記携帯端末を回転するように指示するための前記移動ガイド情報を前記ディスプレイ上に表示するステップであって、前記第2の側は前記第1の側の反対である、表示するステップと、
前記携帯端末が前記ユーザの第2の側に向かって回転されたことを検出するステップと、
前記前面カメラが前記ユーザの第2の側で前記背景に対面したとき、前記前面カメラによって第2の側の画像を自動的に撮影するステップと、
パノラマ画像の中心における前記中心画像によるパノラマ画像を取得するため、前記中心画像、前記第1の側の画像及び前記第2の側の画像を接合するステップと、
を前記携帯端末に実行させる命令を含む記憶媒体。
A computer-readable storage medium storing one or more programs, wherein the one or more programs are executed by a mobile terminal having a front camera,
Obtaining a shadow instruction Ta triggered by the user,
In response to the photographing instruction, photographing a center image by the front camera ,
After capturing the center image, displaying on a display moving guide information for the user to instruct the first side of the user to rotate the mobile terminal;
Detecting that the mobile terminal has been rotated toward a first side of the user;
Automatically capturing an image of the first side by the front camera when the front camera faces the background on the first side of the user;
Displaying the movement guide information on the display for instructing the user to rotate the mobile terminal on the second side of the user after capturing the image of the first side, Displaying the second side is opposite to the first side;
Detecting that the mobile terminal has been rotated toward a second side of the user;
Automatically capturing an image of a second side by the front camera when the front camera faces the background on the second side of the user;
Joining the center image, the first side image, and the second side image to obtain a panoramic image of the center image at the center of the panoramic image;
A storage medium containing instructions for causing the portable terminal to execute the following.
コンピュータ実行可能命令を有するコンピュータプログラムであって、前記命令は、プロセッサによって実行されると、
ユーザによりトリガされた撮影指示を取得する処理と、
前記撮影指示に応答して、前面カメラによって中心画像を撮影する処理と、
前記中心画像の撮影後、前記ユーザが前記ユーザの第1の側に携帯端末を回転するように指示するための移動ガイド情報をディスプレイ上に表示する処理と、
前記携帯端末が前記ユーザの第1の側に向かって回転されたことを検出する処理と、
前記前面カメラが前記ユーザの第1の側で背景に対面したとき、前記前面カメラによって第1の側の画像を自動的に撮影する処理と、
前記第1の側の画像の撮影後、前記ユーザが前記ユーザの第2の側に前記携帯端末を回転するように指示するための前記移動ガイド情報を前記ディスプレイ上に表示する処理であって、前記第2の側は前記第1の側の反対である、表示する処理と、
前記携帯端末が前記ユーザの第2の側に向かって回転されたことを検出する処理と、
前記前面カメラが前記ユーザの第2の側で前記背景に対面したとき、前記前面カメラによって第2の側の画像を自動的に撮影する処理と、
パノラマ画像の中心における前記中心画像によるパノラマ画像を取得するため、前記中心画像、前記第1の側の画像及び前記第2の側の画像を接合する処理と、
を実行するコンピュータプログラム。
A computer program having computer-executable instructions, wherein the instructions are executed by a processor,
A process of acquiring the shadow instruction Ta triggered by the user,
In response to the shooting instruction, a process of shooting a center image by a front camera ,
After capturing the center image, a process of displaying, on a display, movement guide information for the user to instruct the first side of the user to rotate the mobile terminal;
Detecting that the mobile terminal has been rotated toward a first side of the user;
Automatically capturing an image of the first side by the front camera when the front camera faces the background on the first side of the user;
After capturing the image of the first side, a process of displaying on the display the movement guide information for the user to instruct the second side of the user to rotate the mobile terminal, Displaying the second side is opposite to the first side;
Detecting that the mobile terminal has been rotated toward the second side of the user;
When the front camera faces the background on the second side of the user, a process of automatically capturing an image of a second side by the front camera;
A process of joining the center image, the image on the first side, and the image on the second side to obtain a panoramic image based on the center image at the center of the panoramic image;
A computer program that executes.
JP2017235104A 2017-12-07 2017-12-07 Method and terminal for acquiring panoramic image Active JP6653310B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017235104A JP6653310B2 (en) 2017-12-07 2017-12-07 Method and terminal for acquiring panoramic image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017235104A JP6653310B2 (en) 2017-12-07 2017-12-07 Method and terminal for acquiring panoramic image

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2016537082A Division JP6259095B2 (en) 2013-12-13 2013-12-13 Method and terminal for acquiring panoramic image

Publications (2)

Publication Number Publication Date
JP2018078586A JP2018078586A (en) 2018-05-17
JP6653310B2 true JP6653310B2 (en) 2020-02-26

Family

ID=62150861

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017235104A Active JP6653310B2 (en) 2017-12-07 2017-12-07 Method and terminal for acquiring panoramic image

Country Status (1)

Country Link
JP (1) JP6653310B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3804313B2 (en) * 1998-12-03 2006-08-02 カシオ計算機株式会社 Panorama shooting method and imaging apparatus
US7746404B2 (en) * 2003-11-10 2010-06-29 Hewlett-Packard Development Company, L.P. Digital camera with panoramic image capture
WO2012002046A1 (en) * 2010-06-30 2012-01-05 富士フイルム株式会社 Stereoscopic panorama image synthesizing device and compound-eye imaging device as well as stereoscopic panorama image synthesizing method
JP5652142B2 (en) * 2010-11-11 2015-01-14 ソニー株式会社 Imaging apparatus, display control method, and program
JP5659305B2 (en) * 2011-11-07 2015-01-28 株式会社ソニー・コンピュータエンタテインメント Image generating apparatus and image generating method

Also Published As

Publication number Publication date
JP2018078586A (en) 2018-05-17

Similar Documents

Publication Publication Date Title
US11846877B2 (en) Method and terminal for acquiring panoramic image
CN109891874B (en) Panoramic shooting method and device
US9344644B2 (en) Method and apparatus for image processing
WO2019129020A1 (en) Automatic focusing method of camera, storage device and mobile terminal
WO2016019926A1 (en) Photo shooting method, device, and mobile terminal
CN108156378B (en) Photographing method, mobile terminal and computer-readable storage medium
CN111713102B9 (en) Shooting control method and terminal
KR20140106265A (en) Apparatus and method for processing a image in device
KR20220005087A (en) Filming method and terminal
CN112135060B (en) Focusing processing method, mobile terminal and computer storage medium
US20170374278A1 (en) Angle switching method and apparatus for image captured in electronic terminal
JP6653310B2 (en) Method and terminal for acquiring panoramic image
WO2022252158A1 (en) Photographing method, mobile terminal and readable storage medium
WO2018113203A1 (en) Photographing method and mobile terminal
CN107959793B (en) Image processing method, terminal and storage medium
CN106993138B (en) Time-gradient image shooting device and method
CN116634262A (en) Shooting method, intelligent terminal and storage medium
WO2019072222A1 (en) Image processing method and device and apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180105

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190131

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190219

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20190520

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190719

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200127

R150 Certificate of patent or registration of utility model

Ref document number: 6653310

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250