JP2006060339A - Mobile communication terminal and method of extracting and combining static image - Google Patents

Mobile communication terminal and method of extracting and combining static image Download PDF

Info

Publication number
JP2006060339A
JP2006060339A JP2004237832A JP2004237832A JP2006060339A JP 2006060339 A JP2006060339 A JP 2006060339A JP 2004237832 A JP2004237832 A JP 2004237832A JP 2004237832 A JP2004237832 A JP 2004237832A JP 2006060339 A JP2006060339 A JP 2006060339A
Authority
JP
Japan
Prior art keywords
image data
still image
extraction
moving image
synthesizing
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.)
Pending
Application number
JP2004237832A
Other languages
Japanese (ja)
Inventor
Masaaki Nakae
優晃 中江
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2004237832A priority Critical patent/JP2006060339A/en
Publication of JP2006060339A publication Critical patent/JP2006060339A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a mobile communication terminal which extracts a plurality of static image data from moving image data while a processing load is suppressed, and creates composite image data. <P>SOLUTION: The mobile communication terminal includes an extraction range specifier 401 for specifying the extracting range in the moving image data, a static image extractor 42 for sequentially extracting a plurality of static image data from the moving image data based on the extraction range, and a static image combiner 43 for combining the static image data extracted by the static image extractor 42 to create the combined image data. The static image synthesizer 43 sequentially additionally synthesizes the static image data with the composite image data, and starts the synthesis process before the extraction of all the static image data is completed. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、移動体通信端末及び静止画像抽出合成方法に係る。更に詳しくは、動画像データから複数枚の静止画像データを抽出し、これらの静止画像データを合成して合成画像データを生成する画像処理装置、特に、画像処理機能を有する携帯電話機などの移動体通信端末の改良に関する。   The present invention relates to a mobile communication terminal and a still image extraction / synthesis method. More specifically, an image processing apparatus that extracts a plurality of still image data from moving image data and synthesizes these still image data to generate composite image data, and particularly a mobile object such as a mobile phone having an image processing function. The present invention relates to improvement of communication terminals.

ゴルフ、テニス、野球などのスポーツにおけるスイングフォームを撮影することによって得られた一連の静止画像を比較観察することにより、スイングフォームを客観的に分析することができる。この様なスイングフォームの分析が可能な従来の装置としては、表示画面を分割し、各分割領域に静止画像をそれぞれ表示させる映像記録再生装置やゴルフスイングフォーム再生装置があった(例えば、特許文献1、特許文献2)。また、各静止画像から動きを伴う被写体部分を切り出し、積み重ねて合成画像を生成し表示する画像処理装置があった(特許文献3)。
特開平6−39070号公報 特開平10−277196号公報 特開平11−331693号公報
The swing form can be objectively analyzed by comparatively observing a series of still images obtained by photographing the swing form in sports such as golf, tennis, and baseball. Conventional devices capable of analyzing such a swing form include a video recording / reproducing apparatus and a golf swing form reproducing apparatus that divide a display screen and display a still image in each divided area (for example, Patent Documents) 1, Patent Document 2). In addition, there has been an image processing apparatus that cuts out a subject portion with movement from each still image and stacks to generate and display a composite image (Patent Document 3).
JP-A-6-39070 Japanese Patent Laid-Open No. 10-277196 JP-A-11-331693

このような従来の画像処理装置は、いずれも一連の静止画像データを用いて、スイングフォームなどの被写体の動きを解析するものである。このため、所望の動態解析を実現するためには、適切なタイミングで撮影された一連の静止画像データが必要となるが、このような静止画像データを取得することは容易ではないという問題があった。例えば、被写体の動作タイミングに応じて撮影の開始時及び終了時を適切に選択し、また、被写体の動作速度に応じて撮影間隔を適切に選択して、連続撮影を行わなければならず、所望の動態解析に適した一連の静止画像データを取得することは容易ではなかった。   All of such conventional image processing apparatuses analyze a motion of a subject such as a swing form using a series of still image data. For this reason, in order to realize a desired dynamic analysis, a series of still image data photographed at an appropriate timing is required. However, there is a problem that it is not easy to acquire such still image data. It was. For example, continuous shooting must be performed by appropriately selecting the start and end of shooting according to the operation timing of the subject, and appropriately selecting the shooting interval according to the operation speed of the subject. It was not easy to acquire a series of still image data suitable for dynamic analysis.

そこで、動画像データを利用して、被写体の動態解析を行うことが考えられる。すなわち、被写体を撮影した動画像データから複数枚の静止画像データを抽出し、これらの静止画像データを合成した合成画像を表示させることが考えられる。この場合、動画像データの範囲内において撮影開始時及び撮影終了時を任意に選択し、また、動画像データのフレーム間隔を限度として任意の撮影間隔で静止画像データを抽出することが可能になる。このため、様々な抽出条件について試行錯誤を行うことができ、動態解析に最も適した合成画像を生成することが可能になると考えられる。ところが、静止画像データの抽出枚数に応じて、プロセッサの演算処理量が増大し、また、メモリ使用量が増大するため、画像処理装置に大きな負荷がかかるという問題があった。   Therefore, it is conceivable to perform dynamic analysis of the subject using moving image data. That is, it is conceivable to extract a plurality of still image data from moving image data obtained by photographing a subject and display a synthesized image obtained by synthesizing these still image data. In this case, it is possible to arbitrarily select the start of shooting and the end of shooting within the range of moving image data, and to extract still image data at an arbitrary shooting interval up to the frame interval of moving image data. . For this reason, trial and error can be performed for various extraction conditions, and it is considered that a composite image most suitable for dynamic analysis can be generated. However, according to the number of still image data extracted, there is a problem that the processing amount of the processor increases and the amount of memory used increases, which places a heavy load on the image processing apparatus.

最近では、動画像を撮影可能なカメラ付携帯電話機が急速に普及しつつある。その性質上、常時携帯されている場合が多い携帯電話機を用いてスポーツフォーム等の動態解析を行うことができれば、その利便性は極めて高いと考えられる。ところが、この種の携帯電話機には、小型化、軽量化、低価格化などの要請があり、通常の画像処理用コンピュータに比べ、演算処理能力は低く、メモリ容量も少ない。このため、動画像データから静止画像データを抽出して合成画像を生成するという負荷の大きな処理を実現することは困難であった。   Recently, camera-equipped mobile phones capable of capturing moving images are rapidly spreading. Due to its nature, if a dynamic analysis of sports form or the like can be performed using a mobile phone that is often carried at all times, the convenience is considered extremely high. However, this type of mobile phone is required to be smaller, lighter, and less expensive, and has a lower processing capacity and a smaller memory capacity than a normal image processing computer. For this reason, it has been difficult to realize a processing with a heavy load of extracting still image data from moving image data and generating a composite image.

このような処理負荷を軽減する一つの方法として、動画像データから抽出される静止画像データの枚数を制限することも考えられる。しかしながら、この場合、静止画像データを抽出可能な動画像データの抽出範囲や抽出間隔が制限されることになる。このため、所望の動態解析を行うことができず、あるいは、静止画像データの抽出条件が得られるまでに、試行錯誤を何度も繰り返さなければならなくなる。例えば、全体的には緩慢な動きであるが、一部に速い動きを含むスイングフォームの解析を行いたい場合、静止画像データの枚数が制限されていると、所望の合成画像を生成するのは困難になると考えられる。   As one method for reducing such processing load, it is conceivable to limit the number of still image data extracted from moving image data. However, in this case, the extraction range and extraction interval of moving image data from which still image data can be extracted are limited. For this reason, a desired dynamic analysis cannot be performed, or trial and error must be repeated many times before a still image data extraction condition is obtained. For example, if you want to analyze a swing form that is slow movement as a whole, but includes some fast movements, if the number of still image data is limited, the desired composite image is generated. It will be difficult.

本発明は、上記の事情に鑑みてなされたものであり、処理負荷を抑制しつつ、動画像データから複数の静止画像データを抽出し、合成画像データを生成する移動体通信端末を提供することを目的とする。特に、使用するメモリ容量に比べ、多数の静止画像データを抽出し、合成することができる移動体通信端末を提供することを目的とする。また、試行錯誤により静止画像データの抽出条件を容易に求めることができる携帯通信端末を提供することを目的とする。   The present invention has been made in view of the above circumstances, and provides a mobile communication terminal that extracts a plurality of still image data from moving image data and generates composite image data while suppressing a processing load. With the goal. In particular, an object of the present invention is to provide a mobile communication terminal capable of extracting and synthesizing a large number of still image data compared to the memory capacity to be used. It is another object of the present invention to provide a portable communication terminal that can easily obtain the still image data extraction conditions by trial and error.

更に、本発明は、処理負荷を抑制しつつ、動画像データから複数の静止画像データを抽出し、合成画像データを生成する画像処理方法を提供することを目的とする。   It is another object of the present invention to provide an image processing method for extracting a plurality of still image data from moving image data and generating composite image data while suppressing a processing load.

本発明による移動体通信端末は、動画像データを記憶する動画像データ記憶手段と、静止画像データを抽出するための抽出範囲として、動画像データにおける時間軸上の範囲を指定する抽出条件指定手段と、上記抽出範囲に基づいて、上記動画像データから複数の静止画像データを順次に抽出する静止画像抽出手段と、上記静止画像抽出手段により抽出された静止画像データを合成し、合成画像データを生成する静止画像合成手段とを備え、上記静止画像合成手段が合成画像データに静止画像データを順次に追加合成し、全ての静止画像データの抽出が完了する前に、上記合成処理を開始するように構成される。   The mobile communication terminal according to the present invention includes moving image data storage means for storing moving image data, and extraction condition specifying means for specifying a range on the time axis in moving image data as an extraction range for extracting still image data. And, based on the extraction range, a still image extraction unit that sequentially extracts a plurality of still image data from the moving image data, and the still image data extracted by the still image extraction unit. A still image synthesizing unit for generating the still image synthesizing unit, the still image synthesizing unit sequentially adding and synthesizing the still image data to the synthesized image data, and starting the synthesizing process before extracting all the still image data is completed. Configured.

また、本発明による移動体通信端末は、上記静止画像合成手段が、上記静止画像抽出手段により1枚の静止画像データが抽出されるごとに追加合成を実行し、上記静止画像抽出手段が、上記静止画像合成手段により1枚の静止画像データが追加合成されるごとに新たな静止画像データの抽出を行うように構成される。   In the mobile communication terminal according to the present invention, the still image synthesizing unit performs additional synthesis every time one still image data is extracted by the still image extracting unit, and the still image extracting unit New still image data is extracted each time one still image data is additionally synthesized by the still image synthesis means.

また、本発明による移動体通信端末は、上記構成に加えて、上記動画像データ記憶手段に保持されている動画像データに基づいて、動画像を再生し、画面表示する動画像再生手段を備え、上記抽出条件指定手段が、ユーザ操作が行われた時の動画像データの再生位置に基づいて、上記抽出範囲を指定するように構成される。   In addition to the above configuration, the mobile communication terminal according to the present invention further includes a moving image reproducing unit that reproduces a moving image based on the moving image data stored in the moving image data storage unit and displays the screen. The extraction condition designating unit is configured to designate the extraction range based on the reproduction position of the moving image data when the user operation is performed.

また、本発明による移動体通信端末は、上記構成に加えて、上記静止画像合成手段において静止画像データを追加合成することにより得られる合成画像データを順次に画面表示する合成画像表示手段を備え、上記静止画像合成手段が、合成処理中におけるユーザ操作に基づいて、当該合成処理を中止するように構成される。   In addition to the above configuration, the mobile communication terminal according to the present invention includes a composite image display unit that sequentially displays on the screen composite image data obtained by additionally combining still image data in the still image combining unit. The still image synthesizing means is configured to stop the synthesis process based on a user operation during the synthesis process.

また、本発明による移動体通信端末は、上記構成に加えて、上記静止画像合成手段が、静止画像データの合成処理中に着信があった場合、当該合成処理を中断し、終話後に中断中の合成処理を再開するように構成される。   In addition to the above-described configuration, the mobile communication terminal according to the present invention interrupts the synthesis process when the still image synthesis unit receives an incoming call during the synthesis process of the still image data, and is suspended after the end of the call. The composition process is resumed.

また、本発明による移動体通信端末は、上記構成に加えて、上記静止画像合成手段が、終話時に、中断中の合成処理を再開するか否かをユーザの操作入力に基づいて決定するように構成される。   In addition to the above-described configuration, the mobile communication terminal according to the present invention may determine whether or not the still image synthesizing unit resumes the interrupted synthesizing process based on a user operation input at the end of the call. Configured.

また、本発明による移動体通信端末は、上記構成に加えて、上記静止画像合成手段が、静止画像データの合成処理中にメール受信通知があった場合,当該合成処理を中断し、メール受信処理後に中断している合成処理を再開するように構成される。   In addition to the above-described configuration, the mobile communication terminal according to the present invention interrupts the combining process when the still image combining unit has received a mail reception notification during the combining process of the still image data. It is configured to resume the composition processing that has been interrupted later.

また、本発明による移動体通信端末は、上記構成に加えて、上記静止画像合成手段が、メール受信処理後に、中断中の合成処理を再開するか否かをユーザに選択させるように構成される。   In addition to the above-described configuration, the mobile communication terminal according to the present invention is configured such that the still image combining unit allows the user to select whether to resume the interrupted combining process after the mail receiving process. .

また、本発明による静止画像抽出合成方法は、動画像データに基づいて動画像を再生し、画面表示する動画像再生ステップと、ユーザ操作が行われた時の動画像データの再生位置に基づいて、動画像データから静止画像データを抽出する抽出範囲を指定する抽出範囲指定ステップと、上記抽出範囲に基づいて、上記動画像データから複数の静止画像データを順次に抽出する静止画像抽出ステップと、上記静止画像抽出ステップにより抽出された静止画像データを合成し、合成画像データを生成する静止画像合成ステップとを備え、上記静止画像合成ステップは、合成画像データに静止画像データを順次に追加合成し、上記静止画像抽出ステップにおいて全ての静止画像データの抽出が完了する前に、上記合成処理を開始する様に構成される。   Also, the still image extraction and synthesis method according to the present invention reproduces a moving image based on moving image data and displays the moving image on the screen, and the reproduction position of the moving image data when a user operation is performed. An extraction range specifying step for specifying an extraction range for extracting still image data from the moving image data; and a still image extracting step for sequentially extracting a plurality of still image data from the moving image data based on the extraction range; A still image synthesizing step for synthesizing the still image data extracted by the still image extraction step and generating synthesized image data. The still image synthesizing step sequentially adds and synthesizes still image data to the synthesized image data. The composition processing is started before the extraction of all the still image data is completed in the still image extraction step.

また、本発明による静止画像抽出合成方法は、上記構成に加えて、上記静止画像合成ステップにおいて静止画像データを追加合成することにより得られる合成画像データを順次に画面表示する合成画像表示ステップを備え、上記静止画像合成ステップが、合成処理中におけるユーザ操作に基づいて、当該合成処理を中止するように構成される。   In addition to the above-described configuration, the still image extraction and synthesis method according to the present invention further includes a composite image display step of sequentially displaying the composite image data obtained by additionally combining the still image data in the still image synthesis step. The still image synthesis step is configured to stop the synthesis process based on a user operation during the synthesis process.

本発明によれば、処理負荷を抑制しつつ、動画像データから複数の静止画像データを抽出し、合成画像データを生成する移動体通信端末を提供することができる。特に、使用するメモリ容量に比べ、多数の静止画像データを抽出し、合成することができる移動体通信端末を提供することができる。また、試行錯誤により静止画像データの抽出条件を容易に求めることができる携帯通信端末を提供することができる。   According to the present invention, it is possible to provide a mobile communication terminal that extracts a plurality of still image data from moving image data and generates composite image data while suppressing processing load. In particular, it is possible to provide a mobile communication terminal that can extract and synthesize a large number of still image data compared to the memory capacity to be used. In addition, it is possible to provide a mobile communication terminal that can easily obtain still image data extraction conditions by trial and error.

更に、本発明によれば、処理負荷を抑制しつつ、動画像データから複数の静止画像データを抽出し、合成画像データを生成する画像処理方法を提供することができる。   Furthermore, according to the present invention, it is possible to provide an image processing method for extracting a plurality of still image data from moving image data and generating composite image data while suppressing a processing load.

図1は、本発明による移動体通信端末の一例を示した外観図であり、デジタルカメラを備えた携帯電話機1、いわゆるカメラ付携帯電話機が示されている。この携帯電話機1は、クラムシェル型と呼ばれる折り畳み式の筐体からなり、図中の(a)には、筐体を展開させた時の状態における操作面側が示され、(b)には折り畳んだ時の状態が示されている。   FIG. 1 is an external view showing an example of a mobile communication terminal according to the present invention, and shows a mobile phone 1 equipped with a digital camera, a so-called camera-equipped mobile phone. The mobile phone 1 is composed of a foldable casing called a clamshell type, in which (a) in the figure shows the operation surface side when the casing is unfolded, and (b) is folded. The situation at the time is shown.

携帯電話機1の筐体は、回転軸102を中心に回転可能に連結された上部本体100及び下部本体101からなり、上部本体100及び下部本体101の操作面を対向させて折り畳むことができる。このため、通話時には筐体を開いて使用される一方、通話を行わない場合には、操作面が内側、背面が外側となるように閉じて小型化することができる。   The casing of the mobile phone 1 includes an upper main body 100 and a lower main body 101 that are rotatably connected around a rotation shaft 102, and can be folded with the operation surfaces of the upper main body 100 and the lower main body 101 facing each other. For this reason, it is used by opening the casing when making a call, but when not making a call, it can be closed and downsized so that the operation surface is inside and the back is outside.

上部本体100の操作面側には、音声出力を行うためのレシーバ10と、液晶表示装置からなるメイン表示部11が設けられている。また、下部本体101の操作面側には、筐体の展開時に操作入力を行うためのキー操作部12と、音声入力を行うためのマイクロフォン13が設けられている。さらに、上部本体100の背面側には、動画像の撮像手段としてのカメラ部20と、露出調整のためのライト部21と、メイン表示部11よりも表示領域の小さい液晶表示装置からなるサブ表示部22と、操作入力を行うためのキー操作部23が設けられている。   On the operation surface side of the upper main body 100, a receiver 10 for outputting sound and a main display unit 11 including a liquid crystal display device are provided. Further, on the operation surface side of the lower main body 101, a key operation unit 12 for performing operation input when the casing is unfolded and a microphone 13 for performing voice input are provided. Further, on the back side of the upper main body 100, a camera unit 20 as a moving image capturing unit, a light unit 21 for adjusting exposure, and a sub display including a liquid crystal display device having a display area smaller than that of the main display unit 11 A unit 22 and a key operation unit 23 for performing operation input are provided.

図2は、図1の携帯電話機1の要部について内部構成の一例を示したブロック図である。図中の30はプロセッサ(CPU)、31は一時記憶メモリ、32は画像メモリ、33は表示制御部、34は無線部である。なお、図1に示された構成要素に相当するブロックには同一の符号を付している。   FIG. 2 is a block diagram showing an example of the internal configuration of the main part of the mobile phone 1 of FIG. In the figure, 30 is a processor (CPU), 31 is a temporary storage memory, 32 is an image memory, 33 is a display control unit, and 34 is a wireless unit. In addition, the same code | symbol is attached | subjected to the block corresponded to the component shown by FIG.

プロセッサ30は、携帯電話機1の主要な動作制御を行っている演算処理部である。一時記憶メモリ31は、DRAMなどの揮発性記憶装置からなり、保存メモリ32は、フラッシュメモリなどの不揮発性記憶装置からなる。いずれのメモリも、データの書き込み、読み出し及び消去はプロセッサ30によって行われるが、一時記憶メモリ31は、保存メモリ32に比べ、より高速にアクセスすることができるため、プロセッサ30の作業領域として用いられる。一方、保存メモリ32は、不揮発性であることから、画像データなどの保存領域として用いられる。   The processor 30 is an arithmetic processing unit that performs main operation control of the mobile phone 1. The temporary storage memory 31 is a volatile storage device such as a DRAM, and the storage memory 32 is a non-volatile storage device such as a flash memory. In any memory, writing, reading and erasing of data is performed by the processor 30, but the temporary storage memory 31 can be accessed at a higher speed than the storage memory 32 and is used as a work area for the processor 30. . On the other hand, since the storage memory 32 is non-volatile, it is used as a storage area for image data and the like.

表示制御部33は、メイン表示部11及びサブ表示部22の表示制御を行っている。メイン表示部11及びサブ表示部22の表示内容は、プロセッサ30が決定し、表示制御部33に指示している。無線部34は、図示しない無線基地局との間で双方向の無線通信を行っており、無線部34を介して通話及び電子メールの送受信が行われる。   The display control unit 33 performs display control of the main display unit 11 and the sub display unit 22. The display contents of the main display unit 11 and the sub display unit 22 are determined by the processor 30 and instructed to the display control unit 33. The wireless unit 34 performs two-way wireless communication with a wireless base station (not shown), and calls and electronic mail are transmitted and received through the wireless unit 34.

カメラ部20は、光電変換素子としてCCD(Charge Coupled Device)又はCMOSイメージセンサを備え、光電変換により得られた2次元画像データをフレーム画像データとしてプロセッサ30へ出力している。このフレーム画像データは、各ピクセルがRGBで表現されたRBGデータであるものとする。カメラ部20は、プロセッサ30から撮影開始信号が出力されると、所定のフレーム周期(例えば1/60秒)ごとに被写体を撮影し、フレーム画像データを順次に出力する。プロセッサ30は、これらの一連のフレーム画像データを一時記憶メモリ31に格納した後、必要に応じて圧縮処理などを施し、動画像データとして保存メモリ32に格納する。なお、撮影時には、必要に応じてライト部21が発光して露出調整が行われる。   The camera unit 20 includes a charge coupled device (CCD) or a CMOS image sensor as a photoelectric conversion element, and outputs two-dimensional image data obtained by photoelectric conversion to the processor 30 as frame image data. This frame image data is RBG data in which each pixel is expressed in RGB. When the imaging start signal is output from the processor 30, the camera unit 20 captures a subject every predetermined frame period (for example, 1/60 seconds) and sequentially outputs frame image data. The processor 30 stores the series of frame image data in the temporary storage memory 31, and then performs compression processing or the like as necessary, and stores it as moving image data in the storage memory 32. At the time of shooting, the light unit 21 emits light as necessary to adjust exposure.

キー操作部12,23は、複数の操作キーからなり、ユーザがキー操作を行った場合にキー操作信号が生成される。このキー操作信号に基づいてプロセッサ30への割り込みが発生し、プロセッサ30は割り込み処理を実行する。なお、この割り込み処理は、操作キーごとに予め定められている。   The key operation units 12 and 23 include a plurality of operation keys, and a key operation signal is generated when the user performs a key operation. Based on this key operation signal, an interrupt to the processor 30 occurs, and the processor 30 executes an interrupt process. This interrupt process is predetermined for each operation key.

図3は、プロセッサ30により実行されるプログラムについて要部の一例を示した機能ブロック図である。図中の40は合成処理制御部、41は動画像再生部、42は静止画像抽出部、43は静止画像合成部である。   FIG. 3 is a functional block diagram illustrating an example of a main part of a program executed by the processor 30. In the figure, 40 is a synthesis processing control unit, 41 is a moving image reproduction unit, 42 is a still image extraction unit, and 43 is a still image synthesis unit.

動画像再生部41は、ユーザ操作によって起動され、保存メモリ32に保持されている動画像データを読み出して動画像を再生する。つまり、動画像の再生中は、動画像再生部41においてフレーム周期ごとにフレーム画像データが生成されている。このフレーム画像データは、RGBデータからなり、表示制御部33によってメイン表示部11又はサブ表示部22に表示される。   The moving image reproduction unit 41 is activated by a user operation, reads out the moving image data held in the storage memory 32, and reproduces the moving image. That is, during the reproduction of a moving image, frame image data is generated for each frame period in the moving image reproduction unit 41. The frame image data is composed of RGB data, and is displayed on the main display unit 11 or the sub display unit 22 by the display control unit 33.

静止画像抽出部42は、合成処理制御部40によって指定された抽出条件に基づいて、静止画像データを生成している。この静止画像データはYUVデータからなり、静止画像抽出部42は、上記抽出条件に一致するフレーム画像データを動画像再生部41から取得するとともに、当該フレーム画像データをフォーマット変換することにより、静止画像データを生成している。   The still image extraction unit 42 generates still image data based on the extraction conditions specified by the synthesis processing control unit 40. The still image data is composed of YUV data, and the still image extraction unit 42 obtains frame image data that matches the extraction condition from the moving image reproduction unit 41, and converts the format of the frame image data to obtain a still image. Data is being generated.

静止画像合成部43は、静止画像抽出部42において抽出された複数の静止画像データをオーバーラップ合成した合成画像データを生成している。この合成処理は、例えば、ピクセルごとに平均値を求める演算によって実現される。また、この静止画像合成部43は、合成画像データに対し、静止画像データを順次に追加合成することによって、全ての静止画像データを合成した合成画像データを生成している。   The still image synthesizing unit 43 generates synthesized image data obtained by overlapping and synthesizing a plurality of still image data extracted by the still image extracting unit 42. This combining process is realized by, for example, an operation for obtaining an average value for each pixel. In addition, the still image synthesis unit 43 generates synthesized image data obtained by synthesizing all still image data by sequentially adding and synthesizing still image data to the synthesized image data.

このため、合成対象となる全ての静止画像データが静止画像抽出部42により生成されるのを待つことなく、合成処理を開始することができる。例えば、静止画像抽出部42による抽出処理と、静止画像合成部43により合成処理とを交互に実行することができる。本実施の形態では、1枚の静止画像データが抽出されるごとに、静止画像合成部43が既存の合成画像データに対し当該静止画像データを追加合成し、静止画像抽出部42は、この追加合成処理の完了を待って、次の静止画像データを抽出しているものとする。   Therefore, the synthesis process can be started without waiting for all the still image data to be synthesized to be generated by the still image extraction unit 42. For example, extraction processing by the still image extraction unit 42 and synthesis processing by the still image synthesis unit 43 can be executed alternately. In this embodiment, every time one piece of still image data is extracted, the still image combining unit 43 additionally combines the still image data with the existing combined image data, and the still image extracting unit 42 It is assumed that the next still image data is extracted after completion of the synthesis process.

このような追加合成処理が行われている場合、静止画像合成部43において生成される合成画像データは、新たな静止画像データが追加合成されるごとに順次に更新されていく。これらの各合成画像データは、動画像再生部41へ順次に出力され、合成処理中は、動画像に代えて、合成画像がコマ送り表示される。このため、ユーザは、合成処理の経過を視覚的に確認することができ、抽出条件が不適切であった場合には、全ての合成処理の完了を待つことなく、当該合成処理を直ちに中止させ、抽出条件の異なる合成処理を再実行することができる。   When such additional synthesis processing is performed, the synthesized image data generated in the still image synthesizing unit 43 is sequentially updated each time new still image data is additionally synthesized. Each of these synthesized image data is sequentially output to the moving image reproduction unit 41, and during the synthesizing process, the synthesized image is displayed in frame advance instead of the moving image. For this reason, the user can visually check the progress of the synthesis process, and if the extraction conditions are inappropriate, the user can immediately stop the synthesis process without waiting for the completion of all the synthesis processes. The synthesis process with different extraction conditions can be re-executed.

合成処理中における動画像再生部41、静止画像抽出部42及び静止画像合成部43の間における画像データ(フレーム画像データ、静止画像データ及び合成画像データ)の受け渡しは、一時記憶メモリ31を介して行われる。すなわち、動画像再生部41により生成されたフレーム画像データは、一旦、一時記憶メモリ31に格納され、静止画像抽出部42は、一時記憶メモリ31上のフレーム画像データを静止画像データに変換し、一時記憶メモリ31上に格納する。また、静止画像合成部43は、合成画像データを一時記憶メモリ31に格納しており、一時記憶メモリ31上の合成画像データに、一時記憶メモリ31上の静止画像データを追加合成している。さらに、動画像再生部41は、一時記憶メモリ31上の合成画像データをコマ送り表示している。   Transfer of image data (frame image data, still image data, and synthesized image data) among the moving image reproduction unit 41, the still image extraction unit 42, and the still image synthesis unit 43 during the synthesis process is performed via the temporary storage memory 31. Done. That is, the frame image data generated by the moving image playback unit 41 is temporarily stored in the temporary storage memory 31, and the still image extraction unit 42 converts the frame image data on the temporary storage memory 31 into still image data, Store in the temporary storage memory 31. The still image composition unit 43 stores the composite image data in the temporary storage memory 31, and additionally composites the still image data on the temporary storage memory 31 with the composite image data on the temporary storage memory 31. Further, the moving image reproduction unit 41 displays the composite image data on the temporary storage memory 31 by frame advance display.

合成処理制御部40は、抽出条件指定部401、中断処理部402及び再開処理部403を有し、オーバーラップ合成処理時に、動画像再生部41、静止画像抽出部42及び静止画像合成部43を制御している。   The composition processing control unit 40 includes an extraction condition designating unit 401, an interruption processing unit 402, and a restart processing unit 403. During the overlap composition processing, the composition processing control unit 40 includes the moving image reproduction unit 41, the still image extraction unit 42, and the still image composition unit 43. I have control.

抽出条件指定部401は、ユーザのキー操作に基づいて、静止画像データの抽出条件を指定している。この抽出条件は、抽出対象ファイル、抽出範囲及び抽出間隔からなる。まず最初に、抽出対象ファイルとして、保存メモリ32に格納されている動画像データのファイルが指定される。抽出対象ファイルは、通常、ファイル名によって指定される。   The extraction condition designating unit 401 designates still image data extraction conditions based on user key operations. This extraction condition includes an extraction target file, an extraction range, and an extraction interval. First, a moving image data file stored in the storage memory 32 is designated as an extraction target file. The extraction target file is usually specified by a file name.

抽出対象が動画像データの一部である場合、ユーザ操作に基づいて抽出範囲が指定される。抽出範囲とは、動画像データにおける時間軸上の範囲であり、始点及び終点の一方又は両方を指定するユーザのキー操作に基づいて決定される。始点及び終点の指定は、ユーザが数値入力などにより指定することもできるが、動画像再生中におけるキー操作のタイミングに基づいて決定することもできる。例えば、動画像再生部41による再生中にキー操作が行われた場合、その時点における再生位置を始点又は終点として決定すれば、ユーザは、被写体の動きを閲覧しながら抽出範囲を指定することができる。この場合、簡単な操作で、抽出範囲の指定を的確に行うことができる。   When the extraction target is a part of moving image data, an extraction range is designated based on a user operation. The extraction range is a range on the time axis in the moving image data, and is determined based on a user's key operation that specifies one or both of the start point and the end point. The start point and end point can be specified by the user by numerical input or the like, but can also be determined based on the key operation timing during moving image reproduction. For example, when a key operation is performed during playback by the moving image playback unit 41, if the playback position at that time is determined as the start point or end point, the user can specify the extraction range while viewing the movement of the subject. it can. In this case, the extraction range can be specified accurately with a simple operation.

また、ユーザ操作に基づいて抽出間隔が指定される。抽出間隔は、静止画像データが抽出される時間間隔であり、ユーザは、上記抽出間隔に代えて、抽出枚数を指定することもできる。この場合、上記抽出範囲に基づいて、抽出枚数が抽出間隔に変換される。なお、抽出間隔又は枚数は、予め定められた値であってもよく、この場合には、ユーザが指定する必要はない。   Further, an extraction interval is designated based on a user operation. The extraction interval is a time interval at which still image data is extracted, and the user can designate the number of extractions instead of the extraction interval. In this case, the number of extracted sheets is converted into an extraction interval based on the extraction range. Note that the extraction interval or the number of sheets may be a predetermined value, and in this case, the user does not need to specify.

中断処理部402は、合成処理中に着信又はメール受信通知があった場合に、当該合成処理を一旦中断する処理を行う。すなわち、無線部34が着信信号又はメール受信通知を受信した場合には、一時記憶メモリ31に保持されている作業用データ、例えば、抽出条件や合成画像データなどを保存メモリ32に退避させ、着信処理又はメール受信処理が開始される。   When there is an incoming call or mail reception notification during the composition processing, the interruption processing unit 402 performs processing for temporarily interrupting the composition processing. That is, when the wireless unit 34 receives an incoming signal or mail reception notification, the work data stored in the temporary storage memory 31, for example, the extraction conditions and the composite image data are saved in the storage memory 32 and the incoming call is received. Processing or mail reception processing is started.

再開処理部403は、合成処理を中断させていた通話処理が終了し、あるいは、メール受信処理が終了した場合に、中断中の合成処理を再開させるための処理を行っている。すなわち、保存メモリ32に一時退避させていた上記作業用データを一時記憶メモリ31上に復元させ、合成処理を継続させる。その際、ユーザ選択メニューを画面表示させ、合成処理を再開させるか否かをユーザに照会する。   The resume processing unit 403 performs processing for resuming the suspended synthesis process when the call process that interrupted the synthesis process ends or when the mail reception process ends. That is, the work data temporarily saved in the storage memory 32 is restored on the temporary storage memory 31, and the synthesis process is continued. At that time, the user selection menu is displayed on the screen, and the user is inquired whether or not to resume the synthesis process.

<画面表示>
図4は、メイン表示部11の表示例を示した図である。図中の(a)には、動画像再生中における画面表示例が示されている。50は画像表示領域であり、動画像再生中は動画像が表示され、合成処理中は合成画像が表示される。51は再生位置表示手段であり、総再生時間に対する現在の再生位置をメーター表示している。例えば、総再生時間に相当する横長の表示領域のうち、再生済みの部分が青く表示され、未再生の部分が赤く表示される。
<Screen display>
FIG. 4 is a diagram illustrating a display example of the main display unit 11. (A) in the figure shows a screen display example during moving image reproduction. Reference numeral 50 denotes an image display area. A moving image is displayed during reproduction of a moving image, and a combined image is displayed during composition processing. A reproduction position display means 51 displays the current reproduction position with respect to the total reproduction time as a meter. For example, in a horizontally long display area corresponding to the total reproduction time, a reproduced part is displayed in blue and an unreproduced part is displayed in red.

図中の(b)には、抽出範囲指定中における画面表示例が示されている。動画像生成中にユーザがキー操作を行うことによって、再生中の動画像データを対象とするオーバラップ合成モードに移行することができ、抽出範囲の指定が行われる。図中の52及び53は、抽出範囲の始点及び終点を指定するポインタであり、再生位置表示手段51上に表示される。ポインタ52,53は、動画像再生中にユーザがキー操作を行った場合に、その操作時点での再生位置として指定される。また、ユーザによる方向キーの操作によって、ポインタ52,53を移動させることもできる。   (B) in the figure shows a screen display example during extraction range designation. When the user performs a key operation during moving image generation, it is possible to shift to an overlap synthesis mode for moving image data being reproduced, and an extraction range is designated. 52 and 53 in the figure are pointers for designating the start point and end point of the extraction range, and are displayed on the reproduction position display means 51. The pointers 52 and 53 are designated as reproduction positions at the time of operation when the user performs key operations during moving image reproduction. Further, the pointers 52 and 53 can be moved by the operation of the direction key by the user.

図5は、オーバーラップ合成モードの実行中におけるメイン表示部11の表示例を示した図である。図中の(a)〜(e)には、合成処理中に順次に生成され、画像表示領域50にコマ送り表示される合成画像データが示されている。(a)には、最初に抽出された1枚の静止画像データが示されている。(b)には、2枚の静止画像データをオーバーラップ合成して得られる合成画像データが示されている。さらに、(c)には、(b)の合成画像データに1枚の静止画像データが追加合成されて得られた合成画像データが示されている。同様にして、1枚の静止画像データが順次に追加合成され、(d),(e)のように表示される。   FIG. 5 is a diagram illustrating a display example of the main display unit 11 during execution of the overlap composition mode. (A) to (e) in the figure show combined image data that is sequentially generated during the combining process and displayed in the image display area 50 by frame advance. (A) shows one still image data extracted first. (B) shows composite image data obtained by overlapping two still image data. Further, (c) shows composite image data obtained by additionally combining one still image data with the composite image data of (b). Similarly, one still image data is sequentially added and synthesized and displayed as (d) and (e).

(f)には、全ての合成処理が完了し、ユーザ選択メニューが示されている様子が示されている。このユーザ選択メニューは「継続」、「保存」及び「取消」の選択肢からなり、全ての合成処理の終了時、合成処理中における中止操作時、あるいは、中断中の合成処理の再開時に表示される。ユーザは、方向キーを操作し、フォーカスFCを上下移動させて、いずれかの選択肢を選択することができる。「継続」が選択された場合には、合成処理が再開され、「保存」が選択された場合には、合成画像データが保存メモリ32に格納され、「取消」が選択された場合には、合成画像データが破棄される。全ての合成処理が完了した場合、(e)の表示に引き続いて、選択肢「継続」がグレーアウトされたユーザ選択メニューが表示され、ユーザは、「保存」又は「取消」を選択することができる。   (F) shows a state in which all the synthesis processes are completed and the user selection menu is shown. This user selection menu has choices of “Continue”, “Save” and “Cancel”, and is displayed at the end of all the compositing processes, when canceling the compositing process, or when resuming the composing process being interrupted. . The user can select one of the options by operating the direction key to move the focus FC up and down. When “Continue” is selected, the compositing process is resumed. When “Save” is selected, the composite image data is stored in the storage memory 32, and when “Cancel” is selected, The composite image data is discarded. When all the synthesis processes are completed, a user selection menu in which the option “continue” is grayed out is displayed following the display of (e), and the user can select “save” or “cancel”.

<オーバラップ合成モードの動作>
図6のステップS101〜S110は、オーバーラップ合成処理の一例を示したフローチャートである。この携帯電話機は、動画像再生中のユーザ操作により、オーバーラップ合成モードに移行する。オーバーラップ合成モードでは、まず最初に、抽出条件指定部401において、ユーザ操作に基づき、抽出範囲、抽出間隔などの抽出条件の設定が行われる(ステップS101)。
<Overlap synthesis mode operation>
Steps S101 to S110 in FIG. 6 are flowcharts illustrating an example of the overlap synthesis process. This mobile phone shifts to the overlap synthesis mode by a user operation during moving image reproduction. In the overlap synthesis mode, first, the extraction condition designating unit 401 sets extraction conditions such as an extraction range and an extraction interval based on a user operation (step S101).

抽出条件の設定後、静止画像抽出部42により、動画像データから1枚の静止画像データが抽出される(ステップS102)。抽出された静止画像データは、静止画像合成部43により、合成画像データに追加合成される(ステップS103)。ただし、1枚目の静止画像データが抽出された時点では、未だ合成画像データは生成されておらず、当該静止画像データが、そのまま合成画像データとなる。2枚目以降の静止画像データは、既に生成されている合成画像データに追加合成される。この様にして生成された合成画像データは、動画像再生部41によって画面表示される(ステップS104)。   After setting the extraction conditions, one still image data is extracted from the moving image data by the still image extraction unit 42 (step S102). The extracted still image data is additionally combined with the combined image data by the still image combining unit 43 (step S103). However, at the time when the first still image data is extracted, the composite image data has not yet been generated, and the still image data becomes the composite image data as it is. The second and subsequent still image data are additionally combined with the already generated combined image data. The composite image data generated in this way is displayed on the screen by the moving image reproduction unit 41 (step S104).

上述した静止画像データの抽出処理(ステップS102)及び追加合成処理(ステップS103)は、抽出条件に合致する全ての静止画像データを合成した合成画像データが得られるまで、交互に繰り返される(ステップS106)。全ての静止画像データが抽出され、その合成が完了すれば、ユーザ選択メニューが画面表示される(ステップS107)。また、ステップS102〜S106の実行中に、ユーザが中止キーを操作した場合にも、抽出及び合成処理が中断され、ユーザ選択メニューが画面表示される(ステップS105)。   The still image data extraction process (step S102) and the additional synthesis process (step S103) described above are alternately repeated until synthesized image data obtained by synthesizing all the still image data matching the extraction condition is obtained (step S106). ). When all the still image data is extracted and the synthesis is completed, a user selection menu is displayed on the screen (step S107). Also, when the user operates the cancel key during the execution of steps S102 to S106, the extraction and synthesis process is interrupted and the user selection menu is displayed on the screen (step S105).

ユーザ選択メニューにおいて、ユーザが「継続」を選択した場合には、中止キーの操作により中断していた抽出処理及び合成処理が再開される(ステップS108)。ユーザが「保存」を選択した場合には、静止画像合成部43により生成された一時記憶メモリ31上の合成画像データが、保存メモリ32に格納され、オーバーラップ合成モードを終了する(ステップS109,S110)。一方、「取消」が選択された場合には、一時記憶メモリ31上の合成画像データを破棄し、オーバーラップ合成モードを終了する。   If the user selects “Continue” in the user selection menu, the extraction process and the synthesis process that were interrupted by the operation of the cancel key are resumed (step S108). When the user selects “save”, the composite image data on the temporary storage memory 31 generated by the still image composition unit 43 is stored in the storage memory 32, and the overlap composition mode ends (step S109, S110). On the other hand, when “Cancel” is selected, the composite image data on the temporary storage memory 31 is discarded, and the overlap composition mode is terminated.

この様にして、抽出処理及び合成処理(ステップS102及び103)を交互に実行することにより、一旦、全ての静止画像データを抽出してから合成する場合に比べて、オーバーラップ合成処理に必要となる一時記憶メモリ31の領域を小さくすることができる。特に、静止画像データの枚数が増大しても、必要となるメモリ領域が増大しないため、メモリサイズによって抽出条件が制限されることはなく、ユーザは抽出条件を自由に指定することができる。   In this way, the extraction process and the synthesis process (steps S102 and 103) are alternately performed, so that it is necessary for the overlap synthesis process compared to the case where all the still image data is extracted and then synthesized. Thus, the area of the temporary storage memory 31 can be reduced. In particular, even if the number of still image data increases, the required memory area does not increase. Therefore, the extraction condition is not limited by the memory size, and the user can freely specify the extraction condition.

<着信時の動作>
図7のステップS201〜S208は、着信時の動作の一例を示したフローチャートである。携帯電話機は、無線基地局から着信信号を受信した場合、ユーザがオフフック操作を行えば、直ちに通話可能な状態に移行する必要がある。しかしながら、いつ着信があるのかは予測することが出来ないため、オーバーラップ合成モードの実行中に着信する場合も生ずる。
<Action on incoming call>
Steps S201 to S208 in FIG. 7 are flowcharts showing an example of the operation at the time of an incoming call. When the mobile phone receives an incoming signal from the radio base station, it is necessary to immediately shift to a state where a call can be made if the user performs an off-hook operation. However, since it is impossible to predict when there is an incoming call, the incoming call may occur during the execution of the overlap synthesis mode.

無線部34が無線基地局から着信信号を受信した場合、無線部34からプロセッサ30へ着信通知が行われ、図7の処理が開始される。プロセッサ30は、まず、オーバーラップ合成モードの実行中であるか否かを判別する(ステップS201)。オーバーラップ合成モードの実行中でなければ、通常通りの着信処理が行われる。すなわち、着信のあったことを画面表示するとともに、スピーカを鳴動させて呼び出し音を出力し、ユーザがオフフックボタンを操作すれば通話が開始される。この通話状態は、その後、ユーザがオンフックボタンを操作するまで継続される。   When the radio unit 34 receives an incoming signal from the radio base station, the radio unit 34 notifies the processor 30 of the incoming call, and the processing in FIG. 7 is started. The processor 30 first determines whether or not the overlap synthesis mode is being executed (step S201). If the overlap synthesis mode is not being executed, normal incoming processing is performed. That is, the incoming call is displayed on the screen, the speaker is ringed to output a ringing tone, and the call is started when the user operates the off-hook button. This call state is then continued until the user operates the on-hook button.

一方、オーバーラップ合成モードの実行中であれば、プロセッサ30はオーバーラップ合成モードの実行を一時中断し、その作業用データを一時記憶メモリ31から保存メモリ32に退避させて、着信処理を開始する(ステップS202〜S203)。   On the other hand, if the overlap synthesis mode is being executed, the processor 30 temporarily suspends the execution of the overlap synthesis mode, saves the work data from the temporary storage memory 31 to the storage memory 32, and starts incoming processing. (Steps S202 to S203).

その後、通話が終了すれば、ユーザ選択メニューを画面表示させる(ステップS204〜S205)。ユーザ選択メニューにおいて、ユーザが「継続」を選択した場合には、上記作業用データを一時記憶メモリ31上に復元し、オーバーラップ合成処理を再開する(ステップS206〜S208)。一方、「取消」が選択された場合には、保存メモリ32上に退避させていた作業用データ及び合成画像データを破棄し、オーバーラップ合成モードを終了する。   Thereafter, when the call ends, the user selection menu is displayed on the screen (steps S204 to S205). When the user selects “Continue” in the user selection menu, the work data is restored on the temporary storage memory 31 and the overlap composition process is resumed (steps S206 to S208). On the other hand, when “Cancel” is selected, the work data and the composite image data saved in the storage memory 32 are discarded, and the overlap composition mode is terminated.

<電子メール受信時の動作>
携帯電話機を宛先とする電子メールは、一旦、通信事業者のメールサーバ(不図示)に送信される。この電子メールを受信したメールサーバは、無線基地局を介して当該携帯電話機に対しメール受信通知を送信する。電子メールの受信機能を有する携帯電話機は、このメール受信通知を受信すれば直ちに電子メールの受信を開始する必要がある。オーバーラップ合成モードの実行中に、このようなメール受信通知を受信する場合も生ずる。オーバーラップ合成処理の実行中にメール受信通知があった場合、着信時と同様にして、オーバーラップ合成処理が中断又は中止される。
<Operation when receiving e-mail>
An e-mail addressed to the mobile phone is once transmitted to a mail server (not shown) of the communication carrier. The mail server that has received the electronic mail transmits a mail reception notification to the mobile phone via the wireless base station. A mobile phone having an e-mail receiving function needs to start receiving e-mail immediately upon receiving this e-mail reception notification. Such a mail reception notification may be received during execution of the overlap composition mode. When there is a mail reception notification during the execution of the overlap composition process, the overlap composition process is interrupted or stopped in the same manner as when an incoming call is received.

図8のステップS301〜S308は、電子メール受信通知を受信した場合の動作の一例を示したフローチャートである。無線部34が無線基地局からメール受信通知を受信した場合、無線部34からプロセッサ30へメール受信通知の受信通知が行われ、図8の処理が開始される。プロセッサ30は、まず、オーバーラップ合成モードの実行中であるか否かを判別する(ステップS301)。オーバーラップ合成モードの実行中でなければ、通常通りのメール受信処理が行われる。すなわち、電子メールの受信を開始するとともに、画面表示や鳴動等により電子メールを受信したことをユーザに対し通知する。このとき、ユーザは受信メールの閲覧操作を行うことができる。   Steps S301 to S308 in FIG. 8 are a flowchart illustrating an example of an operation when an e-mail reception notification is received. When the wireless unit 34 receives the mail reception notification from the wireless base station, the wireless unit 34 notifies the processor 30 of the reception of the mail reception notification, and the processing of FIG. 8 is started. First, the processor 30 determines whether or not the overlap synthesis mode is being executed (step S301). If the overlap composition mode is not being executed, mail reception processing is performed as usual. That is, the reception of the e-mail is started, and the user is notified that the e-mail has been received by screen display or ringing. At this time, the user can perform a browsing operation of the received mail.

一方、オーバーラップ合成モードの実行中であれば、プロセッサ30はオーバーラップ合成モードの実行を一時中断し、その作業用データを一時記憶メモリ31から保存メモリ32に退避させて、着信処理を開始する(ステップS302〜S304)。   On the other hand, if the overlap synthesis mode is being executed, the processor 30 temporarily suspends the execution of the overlap synthesis mode, saves the work data from the temporary storage memory 31 to the storage memory 32, and starts incoming processing. (Steps S302 to S304).

その後、メール受信処理(ユーザへの通知、メール閲覧処理を含めてもよい)が終了すれば、ユーザ選択メニューを画面表示させる(ステップS305)。ユーザ選択メニューにおいて、ユーザが「継続」を選択した場合には、上記作業用データを一時記憶メモリ31上に復元し、オーバーラップ合成処理を再開する(ステップS306〜S308)。一方、「取消」が選択された場合には、保存メモリ32上に退避させていた作業用データ及び合成画像データを破棄し、オーバーラップ合成モードを終了する。   Thereafter, when the mail reception process (notification to the user and mail browsing process may be included) is completed, the user selection menu is displayed on the screen (step S305). When the user selects “Continue” in the user selection menu, the work data is restored to the temporary storage memory 31 and the overlap composition process is resumed (steps S306 to S308). On the other hand, when “Cancel” is selected, the work data and the composite image data saved in the storage memory 32 are discarded, and the overlap composition mode is terminated.

本実施の形態では、着信又はメール受信通知があった場合に、オーバーラップ合成モードの実行を中断又は中止する場合について説明したが、その他の条件又は手段によって中断又は中止させるように構成することもできる。例えば、予め設定された時刻にアラーム音が出力されるような場合に、オーバーラップ合成モードの実行を中断又は中止させてもよい。   In the present embodiment, the case where the overlap synthesis mode is interrupted or stopped when there is an incoming call or mail reception notification has been described. However, it may be configured to be interrupted or stopped by other conditions or means. it can. For example, when an alarm sound is output at a preset time, the execution of the overlap synthesis mode may be interrupted or stopped.

<合成処理>
次に、静止画像合成部43による合成処理の詳細について説明する。
<Compositing process>
Next, details of the composition processing by the still image composition unit 43 will be described.

図9は、静止画像抽出部42により生成される静止画像データのフォーマットの一例を示した図である。このデータフォーマットは、YUV420と呼ばれ、人間の目が輝度に比べ色度には鈍感であることを利用してデータ量を削減したフォーマットである。すなわち、各ピクセル(画素)ごとの輝度データYと、隣接する4ピクセルごとの色差データにより構成される。色差データは、さらに赤の色差U及び青の色差Vからなる。図示した静止画像の場合、横2mピクセル、縦2nピクセルからなり、4mn個の輝度データY〜Y4mnと、mn個の赤の色差データU〜Umnと、mn個の青の色差データV〜Vmnからなる。 FIG. 9 is a diagram illustrating an example of a format of still image data generated by the still image extraction unit 42. This data format is called YUV420 and is a format in which the amount of data is reduced by utilizing the fact that the human eye is less sensitive to chromaticity than luminance. That is, it is composed of luminance data Y for each pixel (pixel) and color difference data for every four adjacent pixels. The color difference data further includes a red color difference U and a blue color difference V. In the case of the illustrated still image, it is composed of 2 m pixels in the horizontal direction and 2n pixels in the vertical direction , 4 mn luminance data Y 1 to Y 4 mn, mn red color difference data U 1 to U mn , and mn blue color difference data. consisting of V 1 ~V mn.

静止画像合成部43は、YUV420フォーマットからなる複数枚の静止画像データを合成し、YUV420フォーマットからなる1枚の合成画像データを生成する。この合成処理は、従来の合成処理(例えば特許文献3)の様に画像データの2次元的な広がりを考慮するのではなく、ピクセルごとに独立して行われる。つまり、合成される各静止画像において位置的に対応するピクセルの画像データのみに基づいて、合成画像中の位置的に対応するピクセルの画像データが決定され、この様な処理を全てのピクセルについて繰り返し実行することにより合成画像が生成される。   The still image synthesizing unit 43 synthesizes a plurality of still image data having the YUV420 format, and generates one synthesized image data having the YUV420 format. This synthesizing process is performed independently for each pixel instead of considering the two-dimensional spread of the image data as in the conventional synthesizing process (for example, Patent Document 3). In other words, based on only the image data of the corresponding pixel in each synthesized still image, the image data of the corresponding pixel in the synthesized image is determined, and such processing is repeated for all the pixels. By executing this, a composite image is generated.

図10は、合成対象となる5枚の静止画像データと、合成画像データとを模式的に示した図である。静止画像データ及び合成画像データは、それぞれが輝度データY〜Y4nmと色差データU〜Unm及びV〜Vnmからなり、各画像データを区別するため、1〜5枚目の静止画像のデータには右上に1〜5を、合成画像データにはSを右上にそれぞれ付して区別している。 FIG. 10 is a diagram schematically showing five still image data to be combined and combined image data. Each of the still image data and the composite image data is composed of luminance data Y 1 to Y 4 nm and color difference data U 1 to U nm and V 1 to V nm. The image data is distinguished by attaching 1 to 5 in the upper right and S in the upper right of the composite image data.

この様な5枚の合成画像データを合成することにより最終的に得られる合成画像データは、次式の通りである。すなわち、合成画像データの輝度データY は、それぞれが対応するピクセルの輝度データY 〜Y の平均値として与えられる。同様にして、合成画像データのU ,U は、それぞれが対応するピクセルの色差データU 〜U ,V 〜V の平均値として与えられる。

Figure 2006060339
The synthesized image data finally obtained by synthesizing such five synthesized image data is as follows. That is, the luminance data Y i S of the composite image data is given as an average value of the luminance data Y i 1 to Y i 5 of the corresponding pixels. Similarly, the composite image data U j S and U j S are given as average values of the color difference data U j 1 to U j 5 and V j 1 to V j 5 of the corresponding pixels.
Figure 2006060339

静止画像合成部43では、(n−1)枚目までの合成画像データに対し、n枚目の静止画像データを追加合成する処理が行われている。この処理は、次式で表される。

Figure 2006060339
In the still image synthesis unit 43, processing for additionally synthesizing the nth still image data with respect to the (n-1) th synthesized image data is performed. This process is expressed by the following equation.
Figure 2006060339

この様な合成処理は、ピクセルごとの合成処理であるため、従来の合成処理(例えば特許文献3)に比べて、処理負荷が比較的軽く、処理速度が速い。このため、小型化、軽量化が要求され、演算処理能力が比較的低い携帯電話機などのような画像処理装置に好適である。また、静止画像データを順次に追加合成することができるため、動画像データから抽出される静止画像データの枚数が増大しても、使用するメモリ領域は増大しない。従って、ユーザは、メモリサイズによる制限を受けることなく、抽出範囲や抽出間隔を自由に指定することができる。   Since such a synthesis process is a pixel-by-pixel synthesis process, the processing load is relatively light and the processing speed is high compared to the conventional synthesis process (for example, Patent Document 3). For this reason, it is suitable for an image processing apparatus such as a mobile phone which requires a reduction in size and weight and a relatively low arithmetic processing capability. Further, since still image data can be added and synthesized sequentially, even if the number of still image data extracted from moving image data increases, the memory area to be used does not increase. Therefore, the user can freely specify the extraction range and the extraction interval without being restricted by the memory size.

本実施の形態によれば、ユーザが抽出条件を任意に指定し、動画像データから複数の静止画像データを抽出して合成画像を生成することができる。このため、1回だけ撮影を行った後、抽出条件を異ならせて合成処理を繰り返せば、所望の合成画像データを得ることができる。従って、撮影前に撮影間隔や撮影回数を慎重に決定し、一連の静止画像データを取得する必要がなく、所望の合成画像データを容易に生成することができる。   According to the present embodiment, a user can arbitrarily specify an extraction condition and extract a plurality of still image data from moving image data to generate a composite image. For this reason, the desired combined image data can be obtained by performing the image capturing only once and then repeating the combining process with different extraction conditions. Therefore, it is not necessary to carefully determine the shooting interval and the number of shots before shooting, and to obtain a series of still image data, and desired composite image data can be easily generated.

また、合成画像データに対し、静止画像データを順次に追加合成することにより、合成対象となる静止画像データの枚数を制限することなく、演算処理能力が比較的低い携帯電話機などにおいても実行することができる。   In addition, by sequentially adding still image data to the synthesized image data, it can be executed even on a cellular phone having a relatively low arithmetic processing capability without limiting the number of still image data to be synthesized. Can do.

また、追加合成により得られた合成画像データを順次に画面表示することにより、ユーザは、全ての合成処理が完了する前に当該処理を中断することができる。このため、抽出条件が適切でなく、所望の合成画像データが得られない場合に、当該合成処理を早い段階で中止し、抽出条件を変更して再び合成処理を開始することができる。   Further, by sequentially displaying the composite image data obtained by the additional composition on the screen, the user can interrupt the process before all the composition processes are completed. For this reason, when the extraction conditions are not appropriate and desired composite image data cannot be obtained, the synthesis processing can be stopped at an early stage, the extraction conditions can be changed, and the synthesis processing can be started again.

本発明による移動体通信端末の一例を示した外観図である。It is the external view which showed an example of the mobile communication terminal by this invention. 図1の携帯電話機1の要部について内部構成の一例を示したブロック図である。FIG. 2 is a block diagram illustrating an example of an internal configuration of a main part of the mobile phone 1 in FIG. 1. プロセッサ30により実行されるプログラムの要部について一例を示した機能ブロック図である。3 is a functional block diagram illustrating an example of a main part of a program executed by a processor 30. FIG. メイン表示部11の表示例を示した図である。4 is a diagram showing a display example of a main display unit 11. FIG. オーバーラップ合成モードの実行中におけるメイン表示部11の表示例を示した図である。It is the figure which showed the example of a display of the main display part 11 in execution of overlap synthetic | combination mode. オーバーラップ合成処理の動作の一例を示したフローチャートである。It is the flowchart which showed an example of the operation | movement of an overlap synthetic | combination process. 着信時の動作の一例を示したフローチャートである。It is the flowchart which showed an example of the operation | movement at the time of an incoming call. メール受信時における動作の一例を示したフローチャートである。It is the flowchart which showed an example of the operation | movement at the time of mail reception. 静止画像抽出部42により生成される静止画像データのフォーマットの一例を示した図である。It is the figure which showed an example of the format of the still image data produced | generated by the still image extraction part. 合成対象となる5枚の静止画像データと、合成画像データとを模式的に示した図である。It is the figure which showed typically the still image data of 5 sheets used as a synthetic | combination object, and synthetic | combination image data.

符号の説明Explanation of symbols

1 携帯電話機
11 メイン表示部
12,23 キー操作部
30 プロセッサ
31 一時記憶メモリ
32 保存メモリ
34 無線部
40 合成処理制御部
41 動画像再生部
42 静止画像抽出部
43 静止画像合成部
50 画像表示領域
51 再生位置表示手段
52,53 ポインタ
401 抽出条件指定部
402 中断処理部
403 再開処理部
FC フォーカス
-Umn,V-Vmn 色差データ
-Y4nm 輝度データ
DESCRIPTION OF SYMBOLS 1 Cellular phone 11 Main display part 12, 23 Key operation part 30 Processor 31 Temporary storage memory 32 Storage memory 34 Radio | wireless part 40 Compositing process control part 41 Moving image reproduction part 42 Still image extraction part 43 Still image composition part 50 Image display area 51 Playback position display means 52, 53 Pointer 401 Extraction condition designation unit 402 Interruption processing unit 403 Resumption processing unit FC Focus U 1 -U mn , V 1 -V mn Color difference data Y 1 -Y 4 nm luminance data

Claims (10)

動画像データを記憶する動画像データ記憶手段と、
静止画像データを抽出するための抽出範囲として、動画像データにおける時間軸上の範囲を指定する抽出条件指定手段と、
上記抽出範囲に基づいて、上記動画像データから複数の静止画像データを順次に抽出する静止画像抽出手段と、
上記静止画像抽出手段により抽出された静止画像データを合成し、合成画像データを生成する静止画像合成手段とを備え、
上記静止画像合成手段は、合成画像データに静止画像データを順次に追加合成し、上記静止画像抽出手段が全ての静止画像データの抽出を完了する前に、上記合成処理を開始することを特徴とする移動体通信端末。
Moving image data storage means for storing moving image data;
As an extraction range for extracting still image data, an extraction condition specifying means for specifying a range on the time axis in moving image data;
Still image extraction means for sequentially extracting a plurality of still image data from the moving image data based on the extraction range;
Still image synthesis means for synthesizing still image data extracted by the still image extraction means and generating synthesized image data,
The still image synthesizing unit sequentially adds and synthesizes still image data to the synthesized image data, and starts the synthesizing process before the still image extracting unit completes the extraction of all the still image data. Mobile communication terminal.
上記静止画像合成手段は、上記静止画像抽出手段により1枚の静止画像データが抽出されるごとに追加合成を実行し、
上記静止画像抽出手段は、上記静止画像合成手段により1枚の静止画像データが追加合成されるごとに新たな静止画像データの抽出を行うことを特徴とする請求項1に記載の移動体通信端末。
The still image composition means performs additional composition every time one still image data is extracted by the still image extraction means,
2. The mobile communication terminal according to claim 1, wherein the still image extracting means extracts new still image data every time one still image data is additionally synthesized by the still image synthesizing means. .
上記動画像データ記憶手段に保持されている動画像データに基づいて、動画像を再生し、画面表示する動画像再生手段を備え、
上記抽出条件指定手段は、ユーザ操作が行われた時の動画像データの再生位置に基づいて、上記抽出範囲を指定することを特徴とする請求項1に記載の移動体通信端末。
Based on the moving image data stored in the moving image data storage means, a moving image reproducing means for reproducing a moving image and displaying the screen is provided.
The mobile communication terminal according to claim 1, wherein the extraction condition designating unit designates the extraction range based on a playback position of moving image data when a user operation is performed.
上記静止画像合成手段において静止画像データを追加合成することにより得られる合成画像データを順次に画面表示する合成画像表示手段を備え、
上記静止画像合成手段は、合成処理中におけるユーザ操作に基づいて、当該合成処理を中止することを特徴とする請求項1に記載の移動体通信端末。
The composite image display means for sequentially displaying the composite image data obtained by additionally combining the still image data in the still image composition means on the screen,
2. The mobile communication terminal according to claim 1, wherein the still image synthesizing unit stops the synthesis process based on a user operation during the synthesis process.
上記静止画像合成手段は、静止画像データの合成処理中に着信があった場合、当該合成処理を中断し、終話後に中断中の合成処理を再開することを特徴とする請求項1に記載の移動体通信端末。   The said still image synthetic | combination means interrupts the said synthetic | combination process, when there exists an incoming call during the synthetic | combination process of still image data, The synthetic | combination process interrupted is resumed after the end of a call | call. Mobile communication terminal. 上記静止画像合成手段は、終話時に、中断中の合成処理を再開するか否かをユーザの操作入力に基づいて決定することを特徴とする請求項5に記載の移動体通信端末。   6. The mobile communication terminal according to claim 5, wherein the still image synthesizing unit determines, based on a user operation input, whether or not to resume the interrupted synthesizing process at the end of the talk. 上記静止画像合成手段は、静止画像データの合成処理中にメール受信通知があった場合,当該合成処理を中断し、メール受信処理後に中断している合成処理を再開することを特徴とする請求項1に記載の移動体通信端末。   The said still image composition means, when there is a mail reception notification during still image data composition processing, interrupts the composition processing and resumes the composition processing suspended after the mail reception processing. The mobile communication terminal according to 1. 上記静止画像合成手段は、メール受信処理後に、中断中の合成処理を再開するか否かをユーザに選択させることを特徴とする請求項7に記載の移動体通信端末。   8. The mobile communication terminal according to claim 7, wherein the still image synthesizing unit causes the user to select whether or not to resume the suspended synthesis process after the mail reception process. 動画像データに基づいて動画像を再生し、画面表示する動画像再生ステップと、
ユーザ操作が行われた時の動画像データの再生位置に基づいて、動画像データから静止画像データを抽出する抽出範囲を指定する抽出範囲指定ステップと、
上記抽出範囲に基づいて、上記動画像データから複数の静止画像データを順次に抽出する静止画像抽出ステップと、
上記静止画像抽出ステップにより抽出された静止画像データを合成し、合成画像データを生成する静止画像合成ステップとを備え、
上記静止画像合成ステップは、合成画像データに静止画像データを順次に追加合成し、上記静止画像抽出ステップにおいて全ての静止画像データの抽出が完了する前に、上記合成処理を開始することを特徴とする静止画像抽出合成方法。
A moving image reproduction step for reproducing a moving image based on the moving image data and displaying it on the screen;
An extraction range designation step for designating an extraction range for extracting still image data from moving image data based on a reproduction position of the moving image data when a user operation is performed;
A still image extraction step for sequentially extracting a plurality of still image data from the moving image data based on the extraction range;
A still image synthesis step of synthesizing the still image data extracted by the still image extraction step and generating synthesized image data;
In the still image synthesis step, still image data is sequentially added and synthesized to the synthesized image data, and the synthesis process is started before extraction of all the still image data is completed in the still image extraction step. Still image extraction and synthesis method.
上記静止画像合成ステップにおいて静止画像データを追加合成することにより得られる合成画像データを順次に画面表示する合成画像表示ステップを備え、
上記静止画像合成ステップは、合成処理中におけるユーザ操作に基づいて、当該合成処理を中止することを特徴とする請求項9に記載の静止画像抽出合成方法。
A composite image display step for sequentially displaying the composite image data obtained by additionally combining the still image data in the still image composition step on the screen;
10. The still image extracting and synthesizing method according to claim 9, wherein the still image synthesizing step stops the synthesizing process based on a user operation during the synthesizing process.
JP2004237832A 2004-08-18 2004-08-18 Mobile communication terminal and method of extracting and combining static image Pending JP2006060339A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004237832A JP2006060339A (en) 2004-08-18 2004-08-18 Mobile communication terminal and method of extracting and combining static image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004237832A JP2006060339A (en) 2004-08-18 2004-08-18 Mobile communication terminal and method of extracting and combining static image

Publications (1)

Publication Number Publication Date
JP2006060339A true JP2006060339A (en) 2006-03-02

Family

ID=36107482

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004237832A Pending JP2006060339A (en) 2004-08-18 2004-08-18 Mobile communication terminal and method of extracting and combining static image

Country Status (1)

Country Link
JP (1) JP2006060339A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008301043A (en) * 2007-05-30 2008-12-11 Fujitsu Ltd Image compositing device, image compositing method, and image compositing program
JP2009253690A (en) * 2008-04-07 2009-10-29 Sony Corp Image processing apparatus, image processing method, and program
US8665467B2 (en) 2008-10-17 2014-03-04 Canon Kabushiki Kaisha Image processing apparatus and method extracting still images from a moving image, system having such apparatus, printing apparatus used in such system, and computer-readable medium storing a program executed by a computer that extracts still images from a moving image

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10164472A (en) * 1996-11-25 1998-06-19 Sega Enterp Ltd Image information processing method and electronic camera
JP2001333153A (en) * 2000-05-23 2001-11-30 Yamaha Corp Method of processing incoming call in mobile phone with game function
JP2003046610A (en) * 2001-07-31 2003-02-14 Matsushita Electric Ind Co Ltd Portable telephone with camera
JP2004180259A (en) * 2002-09-30 2004-06-24 Toshiba Corp Image composing method, image composing device, and image composing program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10164472A (en) * 1996-11-25 1998-06-19 Sega Enterp Ltd Image information processing method and electronic camera
JP2001333153A (en) * 2000-05-23 2001-11-30 Yamaha Corp Method of processing incoming call in mobile phone with game function
JP2003046610A (en) * 2001-07-31 2003-02-14 Matsushita Electric Ind Co Ltd Portable telephone with camera
JP2004180259A (en) * 2002-09-30 2004-06-24 Toshiba Corp Image composing method, image composing device, and image composing program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008301043A (en) * 2007-05-30 2008-12-11 Fujitsu Ltd Image compositing device, image compositing method, and image compositing program
JP2009253690A (en) * 2008-04-07 2009-10-29 Sony Corp Image processing apparatus, image processing method, and program
JP4544332B2 (en) * 2008-04-07 2010-09-15 ソニー株式会社 Image processing apparatus, image processing method, and program
TWI392346B (en) * 2008-04-07 2013-04-01 Sony Corp Image processing apparatus, image processing method, and program
US8848097B2 (en) 2008-04-07 2014-09-30 Sony Corporation Image processing apparatus, and method, for providing special effect
US8665467B2 (en) 2008-10-17 2014-03-04 Canon Kabushiki Kaisha Image processing apparatus and method extracting still images from a moving image, system having such apparatus, printing apparatus used in such system, and computer-readable medium storing a program executed by a computer that extracts still images from a moving image

Similar Documents

Publication Publication Date Title
JP4177713B2 (en) Imaging device
US7693391B2 (en) Video playback device, playback method and video playback program
KR100617702B1 (en) Portable terminal capable of editing image and image edition method using that
JP2009175227A (en) Portable terminal device
JPWO2013141071A1 (en) Image display apparatus and method
KR20050113058A (en) Method and apparatus for compounding taken image in mobile terminal having camera
KR100819243B1 (en) Method of taking and storing a picture image on digital-camera-enabled phone
KR100776433B1 (en) Mobile communication terminal with the improved image composing
KR100640501B1 (en) Method for displaying picture stored in mobile communication terminal
KR100642688B1 (en) Apparatus and method for editing a part of picture in mobile communication terminal
JP2006060339A (en) Mobile communication terminal and method of extracting and combining static image
JP2007068182A (en) Photographed image composition method, and camera for compositing images photographed by the method or mobile apparatus with built-in camera
JP2005295374A (en) Device and method for reproducing image
JP3984205B2 (en) Mobile communication terminal, still image composition device, and still image composition method
JP4515807B2 (en) Mobile terminal device
JP2009089086A (en) Imaging apparatus and portable terminal device
KR200410855Y1 (en) Camera or mobile terminal with camera module synthesizing the images
KR20050112998A (en) Wireless communication terminal and its method for providing selective saving function of image
KR20080042462A (en) Apparatus and method for editing image in portable terminal
JP2006074558A (en) Image processor, image processing method, and image processing program
JP2005229190A (en) Imaging apparatus and program thereof
WO2020066332A1 (en) Imaging device, imaging method, and program
JP4324733B2 (en) Image transmission apparatus, transmission control method, and transmission control program
JP2004120269A (en) Portable image pickup device and its control method
KR200408006Y1 (en) Camera or mobile terminal with camera module synthesizing the images

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060912

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090202

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090401

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090818