JP2010263546A - Panoramic image compositing method and device - Google Patents

Panoramic image compositing method and device Download PDF

Info

Publication number
JP2010263546A
JP2010263546A JP2009114431A JP2009114431A JP2010263546A JP 2010263546 A JP2010263546 A JP 2010263546A JP 2009114431 A JP2009114431 A JP 2009114431A JP 2009114431 A JP2009114431 A JP 2009114431A JP 2010263546 A JP2010263546 A JP 2010263546A
Authority
JP
Japan
Prior art keywords
image
camera
panoramic
panoramic image
cut
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.)
Withdrawn
Application number
JP2009114431A
Other languages
Japanese (ja)
Inventor
Tadashi Eguchi
忠志 江口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Saitama Ltd
Original Assignee
NEC Saitama Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Saitama Ltd filed Critical NEC Saitama Ltd
Priority to JP2009114431A priority Critical patent/JP2010263546A/en
Publication of JP2010263546A publication Critical patent/JP2010263546A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Studio Circuits (AREA)
  • Studio Devices (AREA)
  • Stereoscopic And Panoramic Photography (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method and a device for compositing a panoramic image which can utilize a memory which is to be used for compositing a panoramic image more effectively, irrespective of usage conditions of a camera. <P>SOLUTION: The device for compositing a panoramic image from an output image of a camera 101, having an effective rectangular pixel area includes: an image clipping means 103 for clipping a first image from the camera output image according to a clipping size; an image-educing means 104 for generating a second image by reducing the first image to a predetermined number of pixels in a longitudinal direction of the panoramic image; a panoramic image compositing means 105 for compositing the panoramic image from the second image by utilizing the memory; and a control means 108 for setting the clipping size, indicating the maximum square area that can be clipped, at least from the camera output image, according to the direction of the camera 101. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は複数の画像を合成してパノラマ画像を生成する方法および装置に関する。   The present invention relates to a method and apparatus for generating a panoramic image by combining a plurality of images.

複数の画像を合成してパノラマ画像を生成する画像処理装置が特許文献1に開示されている。この画像処理装置は、使用可能なメモリ量以下で複数の画像が合成可能となるように各画像の最大の縮小率を決定しようとするものである(特許文献1の段落0022参照)。   An image processing apparatus that generates a panoramic image by combining a plurality of images is disclosed in Patent Document 1. This image processing apparatus attempts to determine the maximum reduction ratio of each image so that a plurality of images can be combined with less than the usable memory amount (see paragraph 0022 of Patent Document 1).

特開平11−355553号公報JP-A-11-355553

ところで、近年、表示部を設けたハウジングと操作部を設けたハウジングとが別々に設けられ、これらが相対的に移動可能あるいは回転可能に連結された携帯電話機が普及している。このような携帯電話機のなかには、表示部のハウジングが90°回転して縦長画面と横長画面とを切り替えることができるもの、あるいは表示部のハウジングを裏返して操作部のハウジングと重ねた状態で、通常のデジタルカメラのような操作性を狙ったものも市販されている。このようなカメラ付き携帯電話機では、種々の使用形態でカメラ撮影が行われると想定する必要がある。   By the way, in recent years, a mobile phone in which a housing provided with a display portion and a housing provided with an operation portion are separately provided, and these are connected so as to be relatively movable or rotatable has become widespread. Among such mobile phones, the display housing can be rotated 90 ° to switch between a portrait screen and a landscape screen, or the display housing is turned upside down and overlapped with the operation housing. There are also products that are aimed at operability such as digital cameras. In such a camera-equipped mobile phone, it is necessary to assume that camera photography is performed in various usage forms.

しかしながら、特許文献1に開示されたパノラマ画像合成では、使用可能メモリ量に応じて画像を一律に縮小するだけであるために、カメラの使用形態によってはパノラマ画像の合成に最も適した画像縮小にならない場合がある。その結果として、特許文献1の方法では、メモリの十分な有効利用を達成できないという課題が依然として残っている。   However, since the panoramic image composition disclosed in Patent Document 1 only reduces the image uniformly according to the amount of usable memory, the image is most suitable for panoramic image composition depending on the usage form of the camera. It may not be possible. As a result, the method of Patent Document 1 still has a problem that sufficient effective use of the memory cannot be achieved.

そこで、本発明の目的は、カメラの使用形態に関わらず、パノラマ画像合成の際の使用メモリをより有効に利用できるパノラマ画像合成方法および装置を提供することにある。   Accordingly, an object of the present invention is to provide a panoramic image synthesizing method and apparatus capable of more effectively using a memory used for synthesizing a panoramic image regardless of the usage form of the camera.

本発明によるパノラマ画像合成装置は、長方形状の有効画素領域を有するカメラの出力画像からパノラマ画像を合成する装置であって、切り出しサイズに従って、前記カメラ出力画像から第1画像を切り出す画像切出手段と、前記第1画像をパノラマ画像の縦方向に関して所定画素数となるように縮小することで第2画像を生成する画像縮小手段と、メモリを利用して前記第2画像からパノラマ画像を合成するパノラマ画像合成手段と、前記カメラの向きに応じて、少なくとも前記カメラ出力画像から切り出し可能な最大正方形領域を示す前記切り出しサイズを設定する制御手段と、を有することを特徴とする。   The panorama image composition device according to the present invention is a device for synthesizing a panorama image from an output image of a camera having a rectangular effective pixel area, and an image cutout means for cutting out a first image from the camera output image according to a cutout size. And the image reduction means for generating the second image by reducing the first image so as to have a predetermined number of pixels in the vertical direction of the panorama image, and the panorama image is synthesized from the second image using a memory. Panoramic image synthesizing means and control means for setting the cut-out size indicating at least a maximum square area that can be cut out from the camera output image according to the orientation of the camera.

本発明によるパノラマ画像合成方法は、長方形状の有効画素領域を有するカメラの出力画像からパノラマ画像を合成する方法であって、前記カメラの向きに応じて、少なくとも前記カメラ出力画像から切り出し可能な最大正方形領域を示す切り出しサイズを設定し、画像切出手段が前記切り出しサイズに従って、前記カメラ出力画像から第1画像を切り出し、画像縮小手段が前記第1画像をパノラマ画像の縦方向に関して所定画素数となるように縮小することで第2画像を生成し、パノラマ画像合成手段がメモリを利用して前記第2画像からパノラマ画像を合成する、ことを特徴とする。   A panoramic image synthesis method according to the present invention is a method for synthesizing a panoramic image from an output image of a camera having a rectangular effective pixel area, and is a maximum that can be cut out from at least the camera output image according to the orientation of the camera. A cutout size indicating a square area is set, an image cutout unit cuts out a first image from the camera output image according to the cutout size, and an image reduction unit sets the first image to a predetermined number of pixels in the vertical direction of the panoramic image. The second image is generated by being reduced so that the panoramic image synthesizing unit synthesizes the panoramic image from the second image using a memory.

本発明によるプログラムは、長方形状の有効画素領域を有するカメラの出力画像からパノラマ画像を合成する装置としてプログラム制御プロセッサを機能させるプログラムであって、切り出しサイズに従って、前記カメラ出力画像から第1画像を切り出す画像切出手段と、前記第1画像をパノラマ画像の縦方向に関して所定画素数となるように縮小することで第2画像を生成する画像縮小手段と、メモリを利用して前記第2画像からパノラマ画像を合成するパノラマ画像合成手段と、前記カメラの向きに応じて、少なくとも前記カメラ出力画像から切り出し可能な最大正方形領域を示す前記切り出しサイズを設定する制御手段と、を有するパノラマ画像合成装置として前記プログラム制御プロセッサを機能させることを特徴とする。   A program according to the present invention is a program for causing a program control processor to function as a device for synthesizing a panoramic image from an output image of a camera having a rectangular effective pixel area, and the first image is extracted from the camera output image according to a cut-out size. An image cutting means for cutting, an image reducing means for generating a second image by reducing the first image so as to have a predetermined number of pixels in the vertical direction of the panoramic image, and a second image using the memory. A panoramic image synthesizing apparatus comprising panoramic image synthesizing means for synthesizing a panoramic image, and control means for setting the cutout size indicating at least the maximum square area that can be cut out from the camera output image according to the orientation of the camera. The program control processor is made to function.

本発明により、カメラの使用形態に関わらず、パノラマ画像合成の際の使用メモリをより有効に利用できる。   According to the present invention, the memory used for panoramic image composition can be used more effectively regardless of the usage form of the camera.

本発明の第1実施形態によるパノラマ画像合成装置の機能的な構成を示すブロック図である。It is a block diagram which shows the functional structure of the panoramic image synthesizer by 1st Embodiment of this invention. 本発明の一適用例である携帯通信端末の外観を示し、(A)は表示部およびカメラの向きがスタイル1である場合の平面図、(B)は表示部およびカメラの向きがスタイル2である場合の平面図である。The external appearance of the portable communication terminal which is one application example of this invention is shown, (A) is a top view in case the direction of a display part and a camera is style 1, (B) is the direction of a display part and a camera in style 2. It is a top view in a case. 本発明の一適用例である携帯通信端末の表示部およびカメラの向きがスタイル3である場合の平面図である。It is a top view in case the direction of a display part and camera of a portable communication terminal which is one application example of the present invention is style 3. 本発明の一実施例によるパノラマ画像合成方法の第1例を示す模式的フローチャートである。It is a typical flowchart which shows the 1st example of the panoramic image synthesis method by one Example of this invention. 本実施例によるパノラマ画像合成方法の第2例を示す模式的フローチャートである。It is a typical flowchart which shows the 2nd example of the panoramic image synthesis method by a present Example. 本実施例によるパノラマ画像合成方法の第3例を示す模式的フローチャートである。It is a typical flowchart which shows the 3rd example of the panoramic image synthesis method by a present Example. 本発明の一適用例である携帯通信端末の概略的な内部回路構成を示すブロック図である。It is a block diagram which shows the schematic internal circuit structure of the portable communication terminal which is one example of application of this invention. (A)は比較例(1)によるパノラマ画像合成方法を示す模式的フローチャート、(B)は比較例(2)によるパノラマ画像合成方法を示す模式的フローチャートである。(A) is a schematic flowchart showing a panoramic image synthesis method according to comparative example (1), and (B) is a schematic flowchart showing a panoramic image synthesis method according to comparative example (2). (A)は第1実施例および第2実施例と比較例(1)との対比を示すテーブルであり、(B)は第3実施例と比較例(2)との対比を示すテーブルである。(A) is a table showing the comparison between the first and second embodiments and the comparative example (1), and (B) is a table showing the comparison between the third embodiment and the comparative example (2). . 本発明の第2実施形態によるパノラマ画像合成装置の機能的な構成を示すブロック図である。It is a block diagram which shows the functional structure of the panoramic image synthesis apparatus by 2nd Embodiment of this invention.

1.第1実施形態
図1に示すように、撮像装置としてのカメラ101には2次元フォトセンサからなるカメラセンサ102が設けられ、その有効画素領域の撮像信号が、たとえば一定時間間隔(フレーム間隔)で画像メモリ102に格納される。画像切出部103は、指定されたサイズの画像を画像メモリ102に格納されている画像データから順次切り出し画像縮小部104へ出力する。画像縮小部104は、切り出された画像を指定された間引き率に従って縮小し、複数の縮小画像を動画としてパノラマ合成エンジン105へ出力する。
1. First Embodiment As shown in FIG. 1, a camera 101 as an imaging device is provided with a camera sensor 102 formed of a two-dimensional photosensor, and an imaging signal of the effective pixel region is, for example, at a constant time interval (frame interval). Stored in the image memory 102. The image cutout unit 103 sequentially outputs images of a specified size from the image data stored in the image memory 102 to the cutout image reduction unit 104. The image reduction unit 104 reduces the clipped image according to the specified thinning rate, and outputs a plurality of reduced images to the panorama synthesis engine 105 as moving images.

パノラマ合成エンジン105はメモリ106を使用して複数の縮小画像を合成してパノラマ画像を生成し、画像符号化部107へ出力する。パノラマ画像合成は一般的な処理方法を有するものとする。たとえば入力画像を動画として扱い、動画の各フレーム間の非共通部分を継ぎ足して所定サイズの合成結果を静止画像として生成する。また、一般に、パノラマ画像の画素数が多くなればパノラマ画像生成に必要なメモリ106の容量も大きくなる。   The panorama synthesis engine 105 generates a panorama image by combining a plurality of reduced images using the memory 106 and outputs the panorama image to the image encoding unit 107. It is assumed that panoramic image synthesis has a general processing method. For example, an input image is treated as a moving image, and a non-common part between frames of the moving image is added to generate a synthesized result of a predetermined size as a still image. In general, as the number of pixels of the panoramic image increases, the capacity of the memory 106 necessary for generating the panoramic image increases.

画像符号化部107は、所定の符号化方式によりパノラマ画像データを符号化し、表示部(図示せず。)などへ出力する。   The image encoding unit 107 encodes panoramic image data by a predetermined encoding method and outputs the panorama image data to a display unit (not shown).

画像処理制御部108は、パノラマ合成エンジン105の入力許容画像サイズおよび後述するカメラ101の向き(スタイル)に依存して、画像切出部103の切出サイズ、画像縮小部104の間引き率などのパラメータを決定する。具体的には後述するように、カメラ101の向きに応じて切出サイズを決定し、パノラマ合成エンジン105の入力許容画像サイズに応じて間引き率を決定する。さらに、画像処理制御部108はパノラマ合成エンジン105および画像符号化部107の動作制御を行う。   The image processing control unit 108 depends on the input allowable image size of the panorama synthesis engine 105 and the orientation (style) of the camera 101 to be described later, such as the cropping size of the image cropping unit 103, the thinning rate of the image reduction unit 104, and the like. Determine the parameters. Specifically, as described later, the cut-out size is determined according to the orientation of the camera 101, and the thinning rate is determined according to the input allowable image size of the panorama synthesis engine 105. Further, the image processing control unit 108 controls the operation of the panorama synthesis engine 105 and the image encoding unit 107.

2.一実施例
以下、カメラ機能付き携帯電話機を一例として用い、視野角360°のパノラマ画像を合成する場合を詳細に説明する。
2. One Example Hereinafter, a case where a panoramic image with a viewing angle of 360 ° is synthesized will be described in detail using a mobile phone with a camera function as an example.

図2に示すように、この例における携帯電話機は、上側ハウジング10と下側ハウジング20とが相対的に回動可能に連結された構成を有し、上側ハウジング10に表示部11が設けられている。下側ハウジング20の裏側には、下側ハウジング20の長手方向と有効画素領域の長手方向(矢印S方向)とが一致するようにカメラ12が搭載されているものと仮定する。   As shown in FIG. 2, the mobile phone in this example has a configuration in which an upper housing 10 and a lower housing 20 are connected so as to be relatively rotatable, and a display unit 11 is provided in the upper housing 10. Yes. It is assumed that the camera 12 is mounted on the back side of the lower housing 20 so that the longitudinal direction of the lower housing 20 coincides with the longitudinal direction of the effective pixel region (arrow S direction).

図2(A)は、上側ハウジング10と下側ハウジング20とを開いた状態で、表示部11の長手方向が下側ハウジング20の長手方向(カメラの矢印S方向)と一致している姿勢を示し、これをスタイル1とする。図2(B)は、上側ハウジング10を開いて、更に下側ハウジング20に対して90°回転させた状態で、表示部11の長手方向が下側ハウジング20の長手方向(カメラの矢印S方向)と直交している姿勢を示し、これをスタイル2とする。いずれのスタイルであっても、ユーザは下側ハウジング20を手で持ち、カメラ12を被写体へ向け、表示部11の被写体画像を見ながらシャッタボタンを押すという操作が行われる。   FIG. 2A shows a posture in which the longitudinal direction of the display unit 11 coincides with the longitudinal direction of the lower housing 20 (the arrow S direction of the camera) in a state where the upper housing 10 and the lower housing 20 are opened. This is shown as Style 1. 2B shows the state in which the upper housing 10 is opened and further rotated 90 ° with respect to the lower housing 20, and the longitudinal direction of the display unit 11 is the longitudinal direction of the lower housing 20 (the direction of the arrow S of the camera). ) Is shown as a style 2. In any style, the user performs an operation of holding the lower housing 20 with his hand, pointing the camera 12 toward the subject, and pressing the shutter button while viewing the subject image on the display unit 11.

さらに、この携帯電話機は、図3に示すように、上側ハウジング10の表示部11を表側に露出させた状態で下側ハウジング20と重ねて折り畳むことができるものとする。この状態は、表示部11の長手方向が下側ハウジング20の長手方向(カメラの矢印S方向)と一致して重なっており、表示部11とカメラ12とがほぼ同じ視線上で反対方向に向いている姿勢を示し、これをスタイル3とする。スタイル3では、ユーザは、通常のデジタルカメラのように、重なったハウジングの上下を手で持ち、カメラ12を被写体へ向け、表示部11の横長画面を見ながらシャッタボタンを押すという操作が行われる。   Further, as shown in FIG. 3, this mobile phone can be folded and overlapped with the lower housing 20 with the display unit 11 of the upper housing 10 exposed to the front side. In this state, the longitudinal direction of the display unit 11 coincides with and overlaps with the longitudinal direction of the lower housing 20 (the direction of the arrow S of the camera), and the display unit 11 and the camera 12 are directed in opposite directions on substantially the same line of sight. This is style 3. In style 3, the user performs an operation of holding the upper and lower sides of the overlapping housing with his / her hand, pointing the camera 12 toward the subject, and pressing the shutter button while looking at the horizontally long screen of the display unit 11 like a normal digital camera. .

この携帯電話機は、現在の姿勢がどのスタイルであるかを検出する手段を有しており、このスタイル検出手段自体は周知の方式を採用すればよい。後述するように、本実施例によれば、携帯電話機のカメラの向き(スタイル)に応じて適切な画像切り出しおよび画像縮小を行うことができ、メモリを効率的に使用しながらパノラマ画像を合成することができる。   This mobile phone has means for detecting which style the current posture is, and the style detecting means itself may adopt a known method. As will be described later, according to this embodiment, appropriate image cutout and image reduction can be performed according to the orientation (style) of the mobile phone camera, and a panoramic image is synthesized while using the memory efficiently. be able to.

また、実施例の前提条件として、カメラセンサ102の有効画素数は横(長辺)方向に1632ピクセル、縦(短辺)方向に1224ピクセル、水平(横)画角57°、垂直(縦)画角44°、カメラレンズの最大ズーム倍率は2.55倍、パノラマ合成エンジン105の入力画像(合成元の画像)の縦方向許容最大画素数は480、画像符号化部107はJPEG(Joint Photographic Experts Group)エンコーダであるとする。   As a precondition of the embodiment, the effective number of pixels of the camera sensor 102 is 1632 pixels in the horizontal (long side) direction, 1224 pixels in the vertical (short side) direction, a horizontal (horizontal) angle of view of 57 °, and vertical (vertical). The angle of view is 44 °, the maximum zoom magnification of the camera lens is 2.55, the maximum allowable number of pixels in the vertical direction of the input image (composition source image) of the panorama synthesis engine 105 is 480, and the image encoding unit 107 is JPEG (Joint Photographic Experts Group) encoder.

2.1)例1
ここでは、図2(A)あるいは図2(B)に示すスタイル1またはスタイル2でカメラ101が使用されたものとする。
2.1) Example 1
Here, it is assumed that the camera 101 is used in the style 1 or the style 2 shown in FIG. 2A or 2B.

図4において、カメラセンサ102が出力する有効画素領域の原画像201は、図2に示すようにカメラセンサ102が縦向き(矢印S方向)であるから、横1224×縦1632(ピクセル)となる。   In FIG. 4, the original image 201 of the effective pixel area output from the camera sensor 102 is horizontal 1224 × vertical 1632 (pixels) because the camera sensor 102 is in the vertical direction (arrow S direction) as shown in FIG. .

画像切出部103は、画像処理制御部108からのサイズ設定に従って、原画像201から最大の正方形画像202を切り出す。この場合、最大正方形画像202は画素数1224×1224となる。したがって、横方向の垂直画角(44°)を変化させることなく画像を切り出すことができる。   The image cutout unit 103 cuts out the largest square image 202 from the original image 201 in accordance with the size setting from the image processing control unit 108. In this case, the maximum square image 202 has 1224 × 1224 pixels. Therefore, an image can be cut out without changing the vertical vertical angle of view (44 °).

続いて、画像縮小部104は、画像処理制御部108からの間引き率に従って、画素数1224×1224の正方形画像202をパノラマ画像合成エンジン105により許容される画素数に縮小する。パノラマ画像合成エンジン105により許容される画素数は、メモリ106の容量と画像符号化部107の符号化処理可能な最大画像サイズとに依存する。ここでは、パノラマ画像合成エンジン105の縦方向の許容される最大画素数は480であるから、画素数1224×1224の正方形画像202は画素数480×480の縮小画像203に縮小される(倍率2.55)。縮小するだけなので横方向の画角は44°に保持される。   Subsequently, the image reduction unit 104 reduces the square image 202 having 1224 × 1224 pixels to the number of pixels allowed by the panoramic image synthesis engine 105 according to the thinning rate from the image processing control unit 108. The number of pixels allowed by the panoramic image synthesis engine 105 depends on the capacity of the memory 106 and the maximum image size that can be encoded by the image encoding unit 107. Here, since the maximum number of pixels allowed in the vertical direction of the panoramic image composition engine 105 is 480, the square image 202 having 1224 × 1224 pixels is reduced to the reduced image 203 having 480 × 480 pixels (magnification 2). .55). Since the image is only reduced, the horizontal angle of view is maintained at 44 °.

このようにして、携帯電話機のカメラをパンすることでN枚の縮小画像203が画像縮小部104からパノラマ画像合成エンジン105へ動画として出力される。パノラマ画像合成エンジン105において360°のパノラマ画像を生成するためには、N=360°÷画角44°=約8.18となり、8.18枚の縮小画像(480×480)が必要となる。この場合、パノラマ合成画像の横方向の画素数は、480画素×8.18枚=3926画素である。   In this way, by panning the camera of the mobile phone, N reduced images 203 are output from the image reduction unit 104 to the panoramic image synthesis engine 105 as a moving image. In order to generate a 360 ° panoramic image in the panoramic image synthesis engine 105, N = 360 ° ÷ view angle 44 ° = about 8.18, and 8.18 reduced images (480 × 480) are required. . In this case, the number of pixels in the horizontal direction of the panorama composite image is 480 pixels × 8.18 = 3926 pixels.

したがって、一般に、図2(A)あるいは図2(B)に示すスタイル1またはスタイル2の時、視野角がθ°であれば、画像処理制御部108は、縮小画像の枚数Nをθ/44で求め、現在のスタイルに応じて画像切取サイズを、パノラマ画像合成エンジン105により許容される画素数が得られるように画像間引き率をそれぞれ決定し、画像切出部103および画像縮小部104を制御する。   Therefore, generally, in the case of style 1 or style 2 shown in FIG. 2A or 2B, if the viewing angle is θ °, the image processing control unit 108 sets the number N of reduced images to θ / 44. The image cropping size is determined according to the current style, the image thinning rate is determined so that the number of pixels allowed by the panoramic image composition engine 105 can be obtained, and the image cropping unit 103 and the image reduction unit 104 are controlled. To do.

2.2)例2
図2(A)あるいは図2(B)に示すスタイル1またはスタイル2でカメラが使用された場合、上記例1とは異なり、原画像をそのまま縮小する上記条件にあった縮小画像を生成することも可能である。
2.2) Example 2
When the camera is used in style 1 or style 2 shown in FIG. 2 (A) or FIG. 2 (B), unlike the first example, a reduced image that satisfies the above conditions for reducing the original image as it is is generated. Is also possible.

図5において、カメラセンサ102が出力する有効画素領域の原画像301は、図2に示すようにカメラセンサ102が縦向き(矢印S方向)であるから、横1224×縦1632(ピクセル)となる。   In FIG. 5, the original image 301 of the effective pixel region output from the camera sensor 102 is 1224 × 1632 (pixels) since the camera sensor 102 is in the vertical direction (arrow S direction) as shown in FIG. .

本例2によれば、画像切出部103による切り出しを行わず、画像縮小部104により原画像301をパノラマ合成エンジン105に入力可能な画素数まで直接縮小する。すなわち、画像縮小部104は、画像処理制御部108からの間引き率(倍率3.4)に従って、画素数1224×1632の原画像301をパノラマ画像合成エンジン105により許容される画素数360×480の縮小画像302に縮小する。縮小するだけなので横方向の画角は44°に保持される。   According to the second example, the image cutout unit 103 does not cut out, and the image reduction unit 104 directly reduces the original image 301 to the number of pixels that can be input to the panorama synthesis engine 105. That is, the image reduction unit 104 converts the original image 301 having a pixel number of 1224 × 1632 into a pixel number of 360 × 480 allowed by the panoramic image composition engine 105 according to the thinning rate (magnification 3.4) from the image processing control unit 108. The image is reduced to a reduced image 302. Since the image is only reduced, the horizontal angle of view is maintained at 44 °.

このようにして、携帯電話機のカメラをパンすることでN枚の縮小画像302が画像縮小部104からパノラマ画像合成エンジン105へ動画として出力される。パノラマ画像合成エンジン105において360°のパノラマ画像を生成するためには、N=360°÷画角44°=約8.18となり、8.18枚の縮小画像(360×480)が必要となる。この場合、パノラマ合成画像の横方向の画素数は、360画素×8.18枚=2945画素である。   In this way, by panning the camera of the mobile phone, N reduced images 302 are output from the image reduction unit 104 to the panoramic image synthesis engine 105 as moving images. In order to generate a 360 ° panoramic image in the panoramic image synthesis engine 105, N = 360 ° ÷ view angle 44 ° = approximately 8.18, and 8.18 reduced images (360 × 480) are required. . In this case, the number of pixels in the horizontal direction of the panoramic composite image is 360 pixels × 8.18 = 2945 pixels.

したがって、一般に、図2(A)あるいは図2(B)に示すスタイル1またはスタイル2の時、視野角がθ°であれば、画像処理制御部108は、縮小画像の枚数Nをθ/44で求め、パノラマ画像合成エンジン105により許容される画素数が得られるように画像間引き率を決定し、画像縮小部104を制御する。   Therefore, generally, in the case of style 1 or style 2 shown in FIG. 2A or 2B, if the viewing angle is θ °, the image processing control unit 108 sets the number N of reduced images to θ / 44. The image reduction rate is determined so that the number of pixels allowed by the panoramic image synthesis engine 105 is obtained, and the image reduction unit 104 is controlled.

2.3)例3
例3では、図3に示すスタイル3でカメラが使用され、横長画面の原画像が撮像されたものとする。
2.3) Example 3
In Example 3, it is assumed that the camera is used in the style 3 shown in FIG. 3 and an original image of a landscape screen is captured.

図6において、カメラセンサ102が出力する有効画素領域の原画像401は、図3に示すようにカメラセンサ102が横向き(矢印S方向)であるから、横1632×縦1224(ピクセル)となる。   In FIG. 6, the original image 401 of the effective pixel area output from the camera sensor 102 is 1632 × 1224 (pixels) since the camera sensor 102 is in the horizontal direction (arrow S direction) as shown in FIG. 3.

画像切出部103は、画像処理制御部108からのサイズ設定に従って、原画像401から最大の正方形画像402を切り出す。この場合、最大正方形画像402は画素数1224×1224となる。横方向がサイズ制限されたので、この場合の水平画角は原画像の57°から42.75°に変化する。   The image cutout unit 103 cuts out the maximum square image 402 from the original image 401 in accordance with the size setting from the image processing control unit 108. In this case, the maximum square image 402 has 1224 × 1224 pixels. Since the size in the horizontal direction is limited, the horizontal angle of view in this case changes from 57 ° to 42.75 ° of the original image.

続いて、画像縮小部104は、画像処理制御部108からの間引き率に従って、画素数1224×1224の正方形画像402をパノラマ画像合成エンジン105により許容される画素数に縮小する。ここでは、パノラマ画像合成エンジン105の縦方向の許容される最大画素数は480であるから、画素数1224×1224の正方形画像202は画素数480×480の縮小画像403に縮小される(倍率2.55)。縮小するだけなので横方向の画角は42.75°に保持される。   Subsequently, the image reduction unit 104 reduces the square image 402 having the number of pixels 1224 × 1224 to the number of pixels allowed by the panoramic image synthesis engine 105 according to the thinning rate from the image processing control unit 108. Here, since the maximum allowable number of pixels in the vertical direction of the panorama image synthesis engine 105 is 480, the square image 202 having the number of pixels 1224 × 1224 is reduced to the reduced image 403 having the number of pixels 480 × 480 (magnification 2). .55). Since the image is only reduced, the horizontal angle of view is maintained at 42.75 °.

このようにして、携帯電話機のカメラをパンすることでN枚の縮小画像403が画像縮小部104からパノラマ画像合成エンジン105へ動画として出力される。パノラマ画像合成エンジン105において360°のパノラマ画像を生成するためには、N=360°÷画角42.75°=約8.42となり、8.42枚の縮小画像(480×480)が必要となる。この場合、パノラマ合成画像の横方向の画素数は、480画素×8.42枚=4042画素である。   In this way, by panning the camera of the mobile phone, N reduced images 403 are output from the image reduction unit 104 to the panoramic image synthesis engine 105 as a moving image. In order to generate a 360 ° panoramic image in the panoramic image synthesis engine 105, N = 360 ° ÷ view angle 42.75 ° = approximately 8.42, and 8.42 reduced images (480 × 480) are necessary. It becomes. In this case, the number of pixels in the horizontal direction of the panorama composite image is 480 pixels × 8.42 = 4042 pixels.

したがって、一般に、図3に示すスタイル3の時、視野角がθ°であれば、画像処理制御部108は、縮小画像の枚数Nをθ/42.75で求め、現在のスタイルに応じて画像切取サイズを、パノラマ画像合成エンジン105により許容される画素数が得られるように画像間引き率をそれぞれ決定し、画像切出部103および画像縮小部104を制御する。   Therefore, generally, in the case of style 3 shown in FIG. 3, if the viewing angle is θ °, the image processing control unit 108 obtains the number N of reduced images by θ / 42.75, and the image according to the current style. The image cut-out rate is determined so that the number of pixels allowed by the panoramic image composition engine 105 can be obtained, and the image cutout unit 103 and the image reduction unit 104 are controlled.

3.カメラ機能付き携帯通信端末
上述した実施例によれば、携帯電話機のカメラの向き(スタイル)に応じて、適切な画像切り出しおよび画像縮小を行うことで、所望の視野角のパノラマ画像の合成とメモリ節約とを両立させることができる。以下、上述した実施例によるパノラマ画像合成装置を内蔵した携帯通信端末について説明する。
3. Mobile communication terminal with camera function According to the above-described embodiment, the composition and memory of a panoramic image with a desired viewing angle are obtained by performing appropriate image cutout and image reduction according to the orientation (style) of the camera of the mobile phone. Both savings can be achieved. Hereinafter, a portable communication terminal incorporating the panoramic image synthesis apparatus according to the above-described embodiment will be described.

図7において、携帯通信端末は、カメラ501、液晶ディスプレイ(LCD)等の表示部502、カメラ501の向きを検出するスタイル検出部503、キーパッドやタッチパネル等の操作部504、各種プログラムや画像データなどを格納するメモリ505、移動通信システムの基地局と無線通信を行うための無線送受信部506、および、携帯通信端末の各種機能を実現するための制御部507を有する。制御部507は、CPU等のプログラム制御プロセッサにより実現可能である。   7, the mobile communication terminal includes a camera 501, a display unit 502 such as a liquid crystal display (LCD), a style detection unit 503 that detects the orientation of the camera 501, an operation unit 504 such as a keypad and a touch panel, various programs, and image data. And the like, a wireless transmission / reception unit 506 for performing wireless communication with a base station of the mobile communication system, and a control unit 507 for realizing various functions of the mobile communication terminal. The control unit 507 can be realized by a program control processor such as a CPU.

カメラ501はTV電話や通常の撮影を行うことができ、表示部502はカメラの映像情報などを表示可能とする。なお、メモリ505には、画像切出部103、画像縮小部104、パノラマ画像合成エンジン105、JPEGエンコーダ107および画像処理制御部108をそれぞれ実現するためのプログラムが格納され、制御部507がそれらのプログラムを必要に応じて実行することで、上述した本実施例によるパノラマ画像合成装置を実現することもできる。その他、制御部507は、無線送受信部506を介した基地局との間の通信制御を行う。   The camera 501 can perform a videophone or normal shooting, and the display unit 502 can display video information of the camera. The memory 505 stores programs for realizing the image cutout unit 103, the image reduction unit 104, the panorama image synthesis engine 105, the JPEG encoder 107, and the image processing control unit 108, and the control unit 507 stores them. By executing the program as necessary, the above-described panoramic image synthesis apparatus according to the present embodiment can also be realized. In addition, the control unit 507 performs communication control with the base station via the wireless transmission / reception unit 506.

図7に示す携帯通信端末は、図2および図3に示すように、上側ハウジング10と下側ハウジング20とが相対的に回動可能に連結された構成を有し、上側ハウジング10に表示部502が設けられている。下側ハウジング20の裏側には、下側ハウジング20の長手方向と有効画素領域の長手方向(矢印S方向)とが一致するようにカメラ501が搭載されている。   The mobile communication terminal shown in FIG. 7 has a configuration in which an upper housing 10 and a lower housing 20 are connected to each other so as to be relatively rotatable, as shown in FIGS. 502 is provided. A camera 501 is mounted on the back side of the lower housing 20 so that the longitudinal direction of the lower housing 20 coincides with the longitudinal direction of the effective pixel region (the arrow S direction).

上述したように、制御部507により画像切出部103、画像縮小部104、パノラマ画像合成エンジン105、JPEGエンコーダ107および画像処理制御部108をそれぞれ実現するためのプログラムが実行されることで、スタイル検出部503により検出されたカメラ501の向き(スタイル)に応じて、適切な画像切り出しおよび画像縮小が実行され、メモリ505を有効に使用しながら所望の視野角のパノラマ画像を合成することができる。   As described above, the control unit 507 executes the programs for realizing the image cutout unit 103, the image reduction unit 104, the panorama image synthesis engine 105, the JPEG encoder 107, and the image processing control unit 108, so that the style Appropriate image segmentation and image reduction are executed in accordance with the orientation (style) of the camera 501 detected by the detection unit 503, and a panoramic image having a desired viewing angle can be synthesized while using the memory 505 effectively. .

4.効果
以下、上述した実施例の効果を比較例と対比しながら説明する。
4). Effects Hereinafter, the effects of the above-described embodiments will be described in comparison with comparative examples.

4.1)比較例
図8(A)はカメラ向きが縦向きの場合を示し、カメラが出力する有効画素領域の原画像601が横1224×縦1632の画素数であるとする。この原画像601から、横長のVGA画像サイズのアスペクト比で最大となる画素数1060×796の長方形画像602を切り出す。これにより、横方向の画角は1224:1060=44:38.1の関係から38.1°に縮小される。
4.1) Comparative Example FIG. 8A shows a case where the camera orientation is vertical, and it is assumed that the original image 601 of the effective pixel area output by the camera has the number of pixels of horizontal 1224 × vertical 1632. From this original image 601, a rectangular image 602 having a pixel number of 1060 × 796 that is the maximum in the aspect ratio of the horizontally long VGA image size is cut out. Thereby, the angle of view in the horizontal direction is reduced to 38.1 ° from the relationship of 1224: 1060 = 44: 38.1.

続いて、1060×796画素数の長方形画像602を、縦方向画素数がパノラマ画像合成エンジンが許容する縦方向最大画素数480になるように縮小することで、画素数640×480の縮小画像603を得る。縮小するだけなので横方向の画角は38.1°に保持される。こうして得られた画素数640×480の複数の縮小画像603がパノラマ画像合成エンジンへ動画として入力する。パノラマ画像合成エンジンで360°のパノラマ画像を得るには、360°÷画角38.1°=約9.44の関係から約9.44枚の縮小画像(640×480)が必要となり、横方向の画素として必要となるのは640画素×9.44枚=6042画素となる。   Subsequently, the reduced image 603 having a pixel number of 640 × 480 is reduced by reducing the rectangular image 602 having a pixel number of 1060 × 796 pixels so that the number of vertical pixels becomes the maximum number of vertical pixels 480 allowed by the panorama image synthesis engine. Get. Since the image is only reduced, the horizontal angle of view is maintained at 38.1 °. A plurality of reduced images 603 having the number of pixels of 640 × 480 obtained in this manner are input as moving images to the panoramic image synthesis engine. In order to obtain a 360 ° panorama image with the panorama image synthesis engine, about 9.44 reduced images (640 × 480) are required because of the relationship of 360 ° ÷ view angle 38.1 ° = about 9.44. The number of pixels required in the direction is 640 pixels × 9.44 pixels = 6042 pixels.

図8(B)はカメラ向きが横向きの場合を示し、カメラが出力する有効画素領域の原画像701が横1632×縦1224の画素数であるとする。この原画像701から等価的に等倍の画像を切り出し、縦方向画素数がパノラマ画像合成エンジンが許容する縦方向最大画素数480になるように縮小する。これによって、原画像701から画素数640×480の縮小画像702を直接得ることができる。縮小するだけなので横方向の画角は57°に保持される。こうして得られた画素数640×480の複数の縮小画像702がパノラマ画像合成エンジンへ動画として入力する。パノラマ画像合成エンジンで360°のパノラマ画像を得るには、360°÷画角57°=約6.32の関係から約6.32枚の縮小画像(640×480)が必要となり、横方向の画素として必要となるのは640画素×6.32枚=4042画素となる。   FIG. 8B shows a case where the camera orientation is landscape orientation, and it is assumed that the original image 701 in the effective pixel area output from the camera has 1632 pixels × 1224 pixels. An equivalent-size image is cut out from the original image 701 and reduced so that the number of vertical pixels becomes the maximum number of vertical pixels 480 allowed by the panoramic image synthesis engine. As a result, a reduced image 702 having a pixel number of 640 × 480 can be obtained directly from the original image 701. Since the image is only reduced, the horizontal angle of view is maintained at 57 °. A plurality of reduced images 702 having the number of pixels of 640 × 480 obtained in this way are input as moving images to the panoramic image synthesis engine. In order to obtain a 360 ° panorama image with the panorama image synthesis engine, about 6.32 reduced images (640 × 480) are required from the relationship of 360 ° ÷ view angle 57 ° = about 6.32. The number of pixels required is 640 pixels × 6.32 = 4042 pixels.

4.2)比較
図9(A)に示すように、図4に示す例1と比較例(1)とを対比すると、合成されたパノラマ画像の横方向の画素数は、比較例(1)が6042画素であるのに対して、本実施例における例1では3926画素であり、本実施例の方がより少ない画素数で360°のパノラマ撮影を実現可能である。間引き率(ズーム倍率d)は同じであるから、本実施例の方がメモリを有効に利用していることとなる。
4.2) Comparison As shown in FIG. 9A, when Example 1 shown in FIG. 4 is compared with Comparative Example (1), the number of pixels in the horizontal direction of the combined panoramic image is compared with Comparative Example (1). Is 6042 pixels, whereas in Example 1 in this embodiment, it is 3926 pixels, and this embodiment can realize 360 ° panoramic shooting with a smaller number of pixels. Since the thinning rate (zoom magnification d) is the same, this embodiment uses the memory more effectively.

同じ図9(A)において、図5に示す例2と比較例(1)とを対比すると、合成されたパノラマ画像の横方向の画素数は、比較例(1)が6042画素であるのに対して、本実施例における例2では2945画素であり、本実施例の方が更に少ない画素数で360°のパノラマ撮影を実現可能である。間引き率(ズーム倍率d)は本実施例の方が多くなっているが、それ以上にメモリを有効に利用していることがわかる。このように画質とメモリ効率とはトレードオフの関係となるので、どの要素を重視するかによって、いずれかの方式を採用すればよい。   In the same FIG. 9A, comparing Example 2 shown in FIG. 5 with Comparative Example (1), the number of pixels in the horizontal direction of the combined panoramic image is 6042 in Comparative Example (1). On the other hand, in Example 2 in this embodiment, there are 2945 pixels, and in this embodiment, 360 ° panoramic shooting can be realized with a smaller number of pixels. Although the thinning rate (zoom magnification d) is higher in the present embodiment, it can be seen that the memory is used more effectively than that. As described above, since the image quality and the memory efficiency are in a trade-off relationship, any method may be adopted depending on which element is important.

図9(B)に示すように、図6に示す例3と比較例(2)とを対比すると、画角は本実施例の例3の方が低下しており、合成されたパノラマ画像の横方向の画素数、間引き率(ズーム倍率d)およびメモリ効率に関しては本実施例の例3は比較例(2)に同等である。言い換えれば、本実施例の例3では、画像切り出しを行って画角を犠牲にしても、結果的には比較例(2)に比べて性能は劣化していない。したがって、図3に示すスタイル3の場合には、図6に示す例3を採用しても画質もメモリ効率も劣化しないことを示している。   As shown in FIG. 9B, when the example 3 shown in FIG. 6 is compared with the comparative example (2), the angle of view is lower in the example 3 of this example, and the synthesized panoramic image With respect to the number of pixels in the horizontal direction, the thinning rate (zoom magnification d), and memory efficiency, Example 3 of this example is equivalent to Comparative Example (2). In other words, in Example 3 of the present embodiment, even if the image is cut out and the angle of view is sacrificed, as a result, the performance is not deteriorated as compared with Comparative Example (2). Therefore, in the case of the style 3 shown in FIG. 3, even if the example 3 shown in FIG. 6 is adopted, neither image quality nor memory efficiency is deteriorated.

4.3)効果
図9の対比テーブルから分かるように、スタイルに応じて、原画像から最大正方形画像を切り出して縮小する方式(例1あるいは例3)を採用することで、全体として画質を劣化させることなくメモリ効率を向上させることができる。したがって、画質重視であれば、スタイルに応じて例1あるいは例3を採用することが望ましい。
4.3) Effect As can be seen from the comparison table of FIG. 9, the overall image quality deteriorates by adopting a method (Example 1 or Example 3) that cuts out and reduces the maximum square image from the original image according to the style. The memory efficiency can be improved without doing so. Therefore, if the image quality is important, it is desirable to adopt Example 1 or Example 3 depending on the style.

また、スタイル1あるいはスタイル2では原画像を切り出さずに縮小する方式(例2)を採用し、スタイル3では原画像から最大正方形画像を切り出して縮小する方式(例3)をすることで、スタイル1あるいは2の時に画質が若干劣化するもののメモリ効率をより向上させることができる。したがって、メモリ効率重視であれば、スタイルに応じて例2あるいは例3を採用することが望ましい。   Also, style 1 or style 2 employs a method (Example 2) for reducing an original image without extracting it, and style 3 uses a method (Example 3) for extracting and reducing a maximum square image from an original image. Although the image quality is slightly deteriorated at 1 or 2, the memory efficiency can be further improved. Therefore, if emphasizing memory efficiency, it is desirable to adopt Example 2 or Example 3 depending on the style.

5.第2実施形態
スタイル検出には種々の方式が考えられるが、本発明の第2実施形態によるパノラマ画像合成装置では加速度センサを採用する。
5). Second Embodiment Various methods are conceivable for style detection. The panoramic image synthesis apparatus according to the second embodiment of the present invention employs an acceleration sensor.

図10に示すように、カメラ801内に加速度センサ802を組み込んで重力方向を検出する。スタイル判定部803は、検出された重力方向からカメラがスタイル1あるいは2(図2)であるかスタイル3(図3)であるかを判定し、画像処理制御部108へ出力する。その他の構成および動作は、図1に示す第1実施形態と同様であるから、同一の参照番号を付して説明は省略する。   As shown in FIG. 10, an acceleration sensor 802 is incorporated in a camera 801 to detect the direction of gravity. The style determination unit 803 determines whether the camera is style 1 or 2 (FIG. 2) or style 3 (FIG. 3) from the detected direction of gravity, and outputs it to the image processing control unit. Since other configurations and operations are the same as those of the first embodiment shown in FIG. 1, the same reference numerals are assigned and description thereof is omitted.

本発明は、カメラ付きの携帯電話機などの携帯端末に適用可能である。   The present invention is applicable to a mobile terminal such as a mobile phone with a camera.

10 上側ハウジング
11 表示部
12 カメラ
20 下側ハウジング
101 カメラ
102 カメラセンサ
103 画像切出部
104 画像縮小部
105 パノラマ合成エンジン
106 メモリ
107 画像符号化部
108 画像処理制御部
DESCRIPTION OF SYMBOLS 10 Upper housing 11 Display part 12 Camera 20 Lower housing 101 Camera 102 Camera sensor 103 Image extraction part 104 Image reduction part 105 Panorama synthesis engine 106 Memory 107 Image encoding part 108 Image processing control part

Claims (15)

長方形状の有効画素領域を有するカメラの出力画像からパノラマ画像を合成する装置であって、
切り出しサイズに従って、前記カメラ出力画像から第1画像を切り出す画像切出手段と、
前記第1画像をパノラマ画像の縦方向に関して所定画素数となるように縮小することで第2画像を生成する画像縮小手段と、
メモリを利用して前記第2画像からパノラマ画像を合成するパノラマ画像合成手段と、
前記カメラの向きに応じて、少なくとも前記カメラ出力画像から切り出し可能な最大正方形領域を示す前記切り出しサイズを設定する制御手段と、
を有することを特徴とするパノラマ画像合成装置。
An apparatus for synthesizing a panoramic image from an output image of a camera having a rectangular effective pixel area,
Image cutout means for cutting out the first image from the camera output image according to the cutout size;
Image reduction means for generating a second image by reducing the first image so as to have a predetermined number of pixels in the vertical direction of the panoramic image;
Panoramic image synthesis means for synthesizing a panoramic image from the second image using a memory;
Control means for setting the cut-out size indicating at least the maximum square area that can be cut out from the camera output image according to the orientation of the camera;
A panoramic image synthesizer characterized by comprising:
前記カメラの有効画素領域の長手方向が縦方向である場合、前記切り出しサイズに従って切り出される前記第1画像は、前記最大正方形領域の画像または前記カメラ出力画像そのもののいずれかであることを特徴とする請求項1に記載のパノラマ画像合成装置。   When the longitudinal direction of the effective pixel area of the camera is the vertical direction, the first image cut out according to the cut-out size is either the image of the maximum square area or the camera output image itself. The panoramic image synthesis apparatus according to claim 1. 前記第1画像は、パノラマ画像の画質を優先する場合には前記最大正方形領域の画像であり、前記パノラマ画像のデータ削減量を優先する場合には前記カメラ出力画像そのものであることを特徴とする請求項2に記載のパノラマ画像合成装置。   The first image is the image of the maximum square area when priority is given to the image quality of a panoramic image, and the camera output image itself when priority is given to the data reduction amount of the panoramic image. The panoramic image synthesis apparatus according to claim 2. 前記カメラの有効画素領域の長手方向が横方向である場合、前記切り出しサイズに従って切り出される前記第1画像は、前記最大正方形領域の画像あることを特徴とする請求項1−3のいずれか1項に記載のパノラマ画像合成装置。   The said 1st image cut out according to the said cut-out size when the longitudinal direction of the effective pixel area | region of the said camera is a horizontal direction is an image of the said largest square area, The any one of Claims 1-3 characterized by the above-mentioned. 2. A panoramic image synthesis device according to 1. 長方形状の有効画素領域を有するカメラの出力画像からパノラマ画像を合成する方法であって、
前記カメラの向きに応じて、少なくとも前記カメラ出力画像から切り出し可能な最大正方形領域を示す切り出しサイズを設定し、
画像切出手段が前記切り出しサイズに従って、前記カメラ出力画像から第1画像を切り出し、
画像縮小手段が前記第1画像をパノラマ画像の縦方向に関して所定画素数となるように縮小することで第2画像を生成し、
パノラマ画像合成手段がメモリを利用して前記第2画像からパノラマ画像を合成する、
ことを特徴とするパノラマ画像合成方法。
A method for synthesizing a panoramic image from an output image of a camera having a rectangular effective pixel area,
Depending on the orientation of the camera, set a cutout size that indicates at least the maximum square area that can be cut out from the camera output image,
An image cutout means cuts out the first image from the camera output image according to the cutout size,
An image reduction means generates the second image by reducing the first image so as to have a predetermined number of pixels in the vertical direction of the panoramic image,
A panoramic image synthesizing unit synthesizes a panoramic image from the second image using a memory;
A panoramic image synthesis method characterized by the above.
前記カメラの有効画素領域の長手方向が縦方向である場合、前記切り出しサイズに従って切り出される前記第1画像は、前記最大正方形領域の画像または前記カメラ出力画像そのもののいずれかであることを特徴とする請求項5に記載のパノラマ画像合成方法。   When the longitudinal direction of the effective pixel area of the camera is the vertical direction, the first image cut out according to the cut-out size is either the image of the maximum square area or the camera output image itself. The panoramic image synthesis method according to claim 5. 前記第1画像は、パノラマ画像の画質を優先する場合には前記最大正方形領域の画像であり、前記パノラマ画像のデータ削減量を優先する場合には前記カメラ出力画像そのものであることを特徴とする請求項6に記載のパノラマ画像合成方法。   The first image is the image of the maximum square area when priority is given to the image quality of a panoramic image, and the camera output image itself when priority is given to the data reduction amount of the panoramic image. The panoramic image synthesis method according to claim 6. 前記カメラの有効画素領域の長手方向が横方向である場合、前記切り出しサイズに従って切り出される前記第1画像は、前記カメラ出力画像から切り出し可能な最大正方形領域の画像あることを特徴とする請求項5−7のいずれか1項に記載のパノラマ画像合成方法。   6. When the longitudinal direction of the effective pixel area of the camera is a horizontal direction, the first image cut out according to the cut-out size is an image of a maximum square area that can be cut out from the camera output image. The panoramic image synthesis method according to any one of -7. 長方形状の有効画素領域を有するカメラの出力画像からパノラマ画像を合成する装置としてプログラム制御プロセッサを機能させるプログラムであって、
切り出しサイズに従って、前記カメラ出力画像から第1画像を切り出す画像切出手段と、
前記第1画像をパノラマ画像の縦方向に関して所定画素数となるように縮小することで第2画像を生成する画像縮小手段と、
メモリを利用して前記第2画像からパノラマ画像を合成するパノラマ画像合成手段と、
前記カメラの向きに応じて、少なくとも前記カメラ出力画像から切り出し可能な最大正方形領域を示す前記切り出しサイズを設定する制御手段と、
を有するパノラマ画像合成装置として前記プログラム制御プロセッサを機能させることを特徴とするプログラム。
A program for causing a program control processor to function as a device for synthesizing a panoramic image from an output image of a camera having a rectangular effective pixel area,
Image cutout means for cutting out the first image from the camera output image according to the cutout size;
Image reduction means for generating a second image by reducing the first image so as to have a predetermined number of pixels in the vertical direction of the panoramic image;
Panoramic image synthesis means for synthesizing a panoramic image from the second image using a memory;
Control means for setting the cut-out size indicating at least the maximum square area that can be cut out from the camera output image according to the orientation of the camera;
A program for causing the program control processor to function as a panoramic image synthesizing apparatus.
前記カメラの有効画素領域の長手方向が縦方向である場合、前記切り出しサイズに従って切り出される前記第1画像は、前記最大正方形領域の画像または前記カメラ出力画像そのもののいずれかであることを特徴とする請求項9に記載のプログラム。   When the longitudinal direction of the effective pixel area of the camera is the vertical direction, the first image cut out according to the cut-out size is either the image of the maximum square area or the camera output image itself. The program according to claim 9. 前記第1画像は、パノラマ画像の画質を優先する場合には前記最大正方形領域の画像であり、前記パノラマ画像のデータ削減量を優先する場合には前記カメラ出力画像そのものであることを特徴とする請求項10に記載のプログラム。   The first image is the image of the maximum square area when priority is given to the image quality of a panoramic image, and the camera output image itself when priority is given to the data reduction amount of the panoramic image. The program according to claim 10. 前記カメラの有効画素領域の長手方向が横方向である場合、前記切り出しサイズに従って切り出される前記第1画像は、前記カメラ出力画像から切り出し可能な最大正方形領域の画像あることを特徴とする請求項9−11のいずれか1項に記載のプログラム。   The first image cut out according to the cut-out size when the longitudinal direction of the effective pixel area of the camera is a horizontal direction is an image of a maximum square area that can be cut out from the camera output image. The program according to any one of -11. 請求項1−4のいずれかに記載のパノラマ画像合成装置を有するカメラ付き携帯通信端末。   A mobile communication terminal with a camera, comprising the panoramic image synthesis device according to claim 1. 請求項5−8のいずれかに記載のパノラマ画像合成方法を実行するカメラ付き携帯通信端末。   A mobile communication terminal with a camera that executes the panoramic image synthesis method according to claim 5. 請求項9−12のいずれかに記載のプログラムを実行する制御部を有するカメラ付き携帯通信端末。   A camera-equipped mobile communication terminal having a control unit that executes the program according to claim 9.
JP2009114431A 2009-05-11 2009-05-11 Panoramic image compositing method and device Withdrawn JP2010263546A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009114431A JP2010263546A (en) 2009-05-11 2009-05-11 Panoramic image compositing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009114431A JP2010263546A (en) 2009-05-11 2009-05-11 Panoramic image compositing method and device

Publications (1)

Publication Number Publication Date
JP2010263546A true JP2010263546A (en) 2010-11-18

Family

ID=43361238

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009114431A Withdrawn JP2010263546A (en) 2009-05-11 2009-05-11 Panoramic image compositing method and device

Country Status (1)

Country Link
JP (1) JP2010263546A (en)

Similar Documents

Publication Publication Date Title
KR102385841B1 (en) shooting mobile terminal
JP4448177B2 (en) Shooting image processing switching device for videophone function
KR101532861B1 (en) Generating a zoomed image
KR100866230B1 (en) Method for photographing panorama picture
JP5348687B2 (en) Terminal device and program
JP2005100084A (en) Image processor and method
US20070291177A1 (en) System, method and computer program product for providing reference lines on a viewfinder
JP2006303651A (en) Electronic device
JP5294889B2 (en) Imaging apparatus and imaging method
JP2014007653A (en) Imaging device, imaging method, imaging system, and program
JP2018037859A (en) Image processing system and control method
CN106664361B (en) Information processing apparatus, information processing method, and computer-readable storage medium
CN111050062A (en) Shooting method and electronic equipment
JP2013207680A (en) Communication apparatus, imaging apparatus, imaging system, and program
JP2009005254A (en) Video transmission apparatus and video receiving apparatus
US9430859B2 (en) Image processing apparatus, image relaying apparatus, method for processing image, and method for relaying image
JP2004159014A (en) Digital camera attached mobile communication terminal
US20130147980A1 (en) Apparatus and associated method for face tracking in video conference and video chat communications
JP2016515220A (en) Method and system for stabilization and reframing
JP2010263546A (en) Panoramic image compositing method and device
KR100678208B1 (en) Method for saving and displaying image in wireless terminal
TW202221409A (en) Method of virtual camera movement, imaging device and electronic system
CA2793631C (en) Apparatus and associated method for face tracking in video conference and video chat communications
JP2010278511A (en) Electronic equipment
KR100664154B1 (en) Method for displaying of picture move in wireless terminal

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20120807