JP2010268425A - Image processor and program - Google Patents

Image processor and program Download PDF

Info

Publication number
JP2010268425A
JP2010268425A JP2010023642A JP2010023642A JP2010268425A JP 2010268425 A JP2010268425 A JP 2010268425A JP 2010023642 A JP2010023642 A JP 2010023642A JP 2010023642 A JP2010023642 A JP 2010023642A JP 2010268425 A JP2010268425 A JP 2010268425A
Authority
JP
Japan
Prior art keywords
image
display
imaging
unit
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2010023642A
Other languages
Japanese (ja)
Other versions
JP4849173B2 (en
Inventor
Shoichi Nagatomo
正一 永友
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2010023642A priority Critical patent/JP4849173B2/en
Priority to US12/757,285 priority patent/US8269847B2/en
Publication of JP2010268425A publication Critical patent/JP2010268425A/en
Application granted granted Critical
Publication of JP4849173B2 publication Critical patent/JP4849173B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To create electronic documents exhibiting a dynamic expressive power more conveniently. <P>SOLUTION: When a portable communication terminal in a mail creation mode is instructed to turn into a video recording mode, it detects it and controls an imaging part 10 and an imaging control part 11 so that images may be continuously taken for a given length of time. After that, a live view display is maintained for a given length of time. If some image areas remain unchanged for all the plurality of taken images and the image areas are included in the images displayed on the live view screen, an animation file in a GIF format in which the image areas without change conforming to MPEG are permeabilized as α=0 is created. Then mail data which is temporarily saved in a memory 15 is read out and the created animation file is in-line displayed as an animation GIF icon in a position of the current cursor of the mail content in process of creation. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、画像処理装置、及び、プログラムに関し、詳細には、連続的に撮像された画像をファイル化する画像処理装置、及び、プログラムに関する。   The present invention relates to an image processing apparatus and a program, and more particularly, to an image processing apparatus and a program that file continuously captured images.

従来より、HTML(Hyper Text Markup Language)に代表される、文章の論理構造や見栄えを表示文書とともに記述する記述言語を用いて、表現力の豊かな電子文書を作成し、これを電子メールのメッセージコンテンツとして送信する技術が存在する。
また、近年では、携帯電話等の通信端末における電子メール作成機能として、上記の記述言語を用いた文書作成機能を有するものが存在している。
詳細には、上記の通信端末は、文書に予め記憶されたGIF(Graphics Interchange Format)形式の画像ファイルを挿入して表示される電子文書を装飾し、表示内容を見栄え良くする技術が採用されている(例えば、特許文献1参照)。
一方、電子文書の表現力を豊かにするという目的では、内蔵するカメラで撮影した短時間の動画ファイル添付するという技術も採用されている(例えば、特許文献2参照)。
Conventionally, a highly expressive electronic document is created using a description language that describes the logical structure and appearance of a sentence together with a display document, represented by HTML (Hyper Text Markup Language), and this is created as an e-mail message. There is a technology for transmitting as content.
In recent years, there is an electronic mail creation function in a communication terminal such as a mobile phone having a document creation function using the above description language.
Specifically, the above communication terminal employs a technique for decorating an electronic document displayed by inserting an image file in a GIF (Graphics Interchange Format) format stored in advance in the document, and improving the display contents. (For example, refer to Patent Document 1).
On the other hand, for the purpose of enriching the expressive power of electronic documents, a technique of attaching a short-time moving image file taken with a built-in camera is also employed (for example, see Patent Document 2).

特開2004−310352号公報JP 2004-310352 A 特開2004−201191号公報JP 2004-201191 A

このように、動的なものを含め、表現力豊かな文書を作成する技術は多数存在する。
しかしながら、上述のGIF形式の画像ファイル、特にアニメーションファイルを文書中に挿入させる場合については、文書全体の容量や描画処理に対する負担の面において有効であるものの、予め用意されたファイルしか利用できないため、表現方法に限界があるという問題がある。また、カメラで撮影した動画ファイルを添付する場合については、表現力において上記の点よりは有利であるものの、全体の容量や描画処理に対する負担の面において、上記アニメーションファイルには敵わないという問題がある。
Thus, there are many techniques for creating highly expressive documents including dynamic ones.
However, when inserting the above-mentioned GIF format image file, particularly an animation file, into the document, although it is effective in terms of the capacity of the entire document and the burden on the drawing process, only a file prepared in advance can be used. There is a problem that there is a limit to the expression method. In addition, when attaching a video file shot with a camera, although it is more advantageous than the above points in terms of expressiveness, there is a problem that it is not comparable to the animation file in terms of overall capacity and burden on drawing processing. There is.

本発明は、上記の問題点に鑑みてなされたものであり、動的な表現力を有する電子文書の作成において、より利便性に富んだものにすることを目的とする。   The present invention has been made in view of the above problems, and an object of the present invention is to make the electronic document having dynamic expressiveness more convenient.

上記目的を達成するため、請求項1記載の発明は、撮像手段と、前記撮像手段に対し連続的に画像を撮像するよう制御する第1の撮像制御手段と、前記第1の撮像制御手段による撮像後、前記連続的に撮像された画像に共通して同じ画像領域が存在するか否かを判断する第1の判断手段と、前記第1の撮像制御手段による撮像後に撮像された画像において、前記同じ画像領域が存在するか否かを判断する第2の判断手段と、前記第1の判断手段と前記第2の判断手段が共に肯定と判断した場合、前記連続的に撮像された画像から、前記同じ画像領域を透過領域とした画像ファイルを生成する第1の生成手段と、表示手段と、 前記第1の生成手段によって生成された画像ファイルが文書中に挿入された電子文書を前記表示手段に表示するよう制御する第1の表示制御手段と、を備えることを特徴とする。。   In order to achieve the above object, the invention according to claim 1 is based on an imaging unit, a first imaging control unit that controls the imaging unit to continuously capture images, and the first imaging control unit. A first determination unit that determines whether or not the same image area exists in common in the continuously captured images after imaging, and an image captured after imaging by the first imaging control unit; When the second determination means for determining whether or not the same image area exists, and when both the first determination means and the second determination means determine affirmative, from the continuously captured images First display means for generating an image file having the same image area as a transparent area, display means, and the electronic document in which the image file generated by the first generation means is inserted in the document is displayed. To display on the means A first display control means Gosuru, characterized in that it comprises a. .

また、請求項2記載の発明は、上記請求項1記載の発明において、前記画像ファイルは、前記透過領域とともに撮像手段によって撮像された主要被写体を非透過領域として含み、 この非透過領域のサイズを取得するサイズ取得手段と、前記サイズ取得手段によって取得されたサイズと、この画像ファイルが表示されるべき表示サイズとを比較する比較手段と、 この比較手段による比較結果に基づいて、前記非透過領域のサイズを変更するサイズ変更手段と、を更に備えることを特徴とする。   According to a second aspect of the present invention, in the first aspect of the present invention, the image file includes a main subject imaged by an imaging unit together with the transmissive area as a non-transmissive area, and the size of the non-transmissive area is determined. A non-transparent area based on a comparison result obtained by a size obtaining unit to obtain, a size obtained by the size obtaining unit, and a display size to which the image file is to be displayed; And a size changing means for changing the size.

また、請求項3記載の発明は、上記請求項1又は2記載の発明において、前記非透過領域の縦横比を取得する縦横比取得手段と、前記縦横比取得手段によって取得された非透過領域の縦横比と、この画像ファイルが表示されるべき表示先の縦横比とを比較する比較手段と、この比較手段による比較結果に基づいて、前記画像ファイルに対し新たに透過領域を追加してこの画像ファイルの縦横比を調整する縦横比調整手段と、を更に備えることを特徴とする。   According to a third aspect of the present invention, in the first or second aspect of the present invention, the aspect ratio acquisition means for acquiring the aspect ratio of the non-transparent area, and the non-transparent area acquired by the aspect ratio acquisition means. Comparison means for comparing the aspect ratio with the aspect ratio of the display destination on which the image file is to be displayed, and a new transparent region is added to the image file based on the comparison result by the comparison means. Aspect ratio adjusting means for adjusting the aspect ratio of the file is further provided.

また、請求項4記載の発明は、上記請求項1乃至3の何れかに記載の発明において、前記第1の判断手段と前記第2の判断手段の少なくとも一方で否定と判断した場合、前記連続的に撮像された画像から動画ファイルを生成する第2の生成手段と、前記第2の生成手段によって生成された動画ファイルを添付ファイルとした電子文書を前記表示手段に表示するよう制御する第2の表示制御手段と、を更に備えることを特徴とする。   According to a fourth aspect of the invention, in the invention according to any one of the first to third aspects, when it is determined that at least one of the first determination means and the second determination means is negative, the continuous A second generation unit that generates a moving image file from the captured image, and a second control unit that displays on the display unit an electronic document having the moving image file generated by the second generation unit as an attached file. The display control means is further provided.

また、請求項5記載の発明は、上記請求項1乃至4の何れかに記載の発明において、前記表示手段によって表示された電子文書を送信する送信手段を更に備えることを特徴とする。   The invention according to claim 5 is the invention according to any one of claims 1 to 4, further comprising transmission means for transmitting the electronic document displayed by the display means.

また、上記目的を達成するため、請求項6記載の発明は、撮像部と表示部とを備えるコンピュータを、前記撮像部に対し連続的に画像を撮像するよう制御する第1の撮像制御手段、前記第1の撮像制御手段による撮像後、前記連続的に撮像された画像に共通して同じ画像領域が存在するか否かを判断する第1の判断手段、前記第1の撮像制御手段による撮像後に撮像された画像において、前記同じ画像領域が存在するか否かを判断する第2の判断手段、前記第1の判断手段と前記第2の判断手段が共に肯定と判断した場合、前記連続的に撮像された画像から、前記同じ画像領域を透過領域とした画像ファイルを生成する生成手段、前記生成手段によって生成された画像ファイルが文書中に挿入された電子文書を前記表示部に表示するよう制御する表示制御手段として機能させることを特徴とする。   In order to achieve the above object, the invention according to claim 6 is a first imaging control means for controlling a computer including an imaging unit and a display unit so that the imaging unit continuously captures images, After the image pickup by the first image pickup control means, a first determination means for determining whether or not the same image area exists in common in the continuously picked-up images, the image pickup by the first image pickup control means A second determination unit that determines whether or not the same image area exists in an image captured later; if both the first determination unit and the second determination unit determine affirmative, Generating means for generating an image file having the same image area as a transparent area from the captured image, and displaying the electronic document in which the image file generated by the generating means is inserted in the document on the display section control Wherein the function as that display control means.

本発明によれば、動的な表現力を有する電子文書の作成において、より利便性に富んだものにすることができる。   According to the present invention, the creation of an electronic document having dynamic expressiveness can be made more convenient.

本発明を適用した携帯通信端末の回路構成を示す図である。It is a figure which shows the circuit structure of the portable communication terminal to which this invention is applied. プログラムメモリの記憶内容を概念的に示す図である。It is a figure which shows the memory content of a program memory notionally. メール作成モードの処理を示すフローチャートである。It is a flowchart which shows the process of mail preparation mode. 連写された撮像画像の状態と、その後撮像された撮像画像の状態を示す図である。It is a figure which shows the state of the captured image continuously shot, and the state of the captured image imaged after that. 表示部の表示内容を示す図である。It is a figure which shows the display content of a display part. 連写された撮像画像の状態と、その後撮像された撮像画像の状態を示す図である。It is a figure which shows the state of the captured image continuously shot, and the state of the captured image imaged after that. 表示部の表示内容を示す図である。It is a figure which shows the display content of a display part. 第2の実施の形態におけるメール作成モードの一部の処理を示すフローチャートである。It is a flowchart which shows a part of process of the mail preparation mode in 2nd Embodiment. 透過領域を有する画像のアスペクト比と表示対象のアスペクト比との対応関係を示す図である。It is a figure which shows the correspondence of the aspect ratio of the image which has a transmissive area | region, and the aspect ratio of a display target. 最大の非透過領域に追加される透過領域の状態を示す図であり、(a)は、横長のアスペクト比を有するケース、(b)は横長のアスペクト比を有するケースを示す図である。It is a figure which shows the state of the permeation | transmission area | region added to the largest non- permeation | transmission area | region, (a) is a figure which shows the case which has a laterally long aspect ratio, (b) is a figure which shows the case which has a laterally long aspect ratio.

(第1の実施の形態)
以下、本発明を具体的に適用した第1の実施形態について詳述する。
図1は、本発明を適用した撮像機能を有する携帯通信端末の回路構成を示すものである。同図において、携帯通信端末は回路全体を制御する制御部1を備えており、これを中心に、プログラムメモリ2、信号処理部5、音声処理部8、撮像処理部11、表示制御部13、キー入力部14、及び、メモリ15がバス100を介して相互に電気的に接続されている。
プログラムメモリ2は、携帯通信端末を動作させるため制御部1が実行するプログラムを記憶する。より具体的には図2に示すように、本発明の各構成を制御部1に実行させるための各種プログラムを記憶する記憶部(撮像処理プログラム記憶部201、画像処理プログラム記憶部202、ハイパーテキスト形式メール編集プログラム記憶部203、及び、通信処理プログラム記憶部204)を有する他、他のプログラムを記憶する記憶部205を有し、制御部1からの指令に基づきこれらに記憶されたプログラムが読み出される。
尚、図2は、本発明の構成の理解を容易にするために示したものであるが、プログラムメモリ2に記憶されるプログラムの実行内容に、上記各種プログラムの実行内容を含ませても良い。
(First embodiment)
Hereinafter, a first embodiment to which the present invention is specifically applied will be described in detail.
FIG. 1 shows a circuit configuration of a mobile communication terminal having an imaging function to which the present invention is applied. In the figure, the mobile communication terminal includes a control unit 1 that controls the entire circuit, and a program memory 2, a signal processing unit 5, an audio processing unit 8, an imaging processing unit 11, a display control unit 13, The key input unit 14 and the memory 15 are electrically connected to each other via the bus 100.
The program memory 2 stores a program executed by the control unit 1 for operating the mobile communication terminal. More specifically, as shown in FIG. 2, a storage unit (an imaging processing program storage unit 201, an image processing program storage unit 202, a hypertext for storing various programs for causing the control unit 1 to execute each configuration of the present invention. In addition to having a formal mail editing program storage unit 203 and a communication processing program storage unit 204), it also has a storage unit 205 for storing other programs, and based on instructions from the control unit 1, the programs stored therein are read out. It is.
Note that FIG. 2 is shown to facilitate understanding of the configuration of the present invention, but the execution contents of the various programs may be included in the execution contents of the program stored in the program memory 2. .

無線通信部4は、信号処理部5の制御に従ってアンテナ3より無線信号を送受信し、CDMA方式等、所定の無線変復調方式による一次変調/一次復調処理を行う。信号処理部5は、制御部1の制御にしたがってバス100を介して入力されたCELP方式によりデジタル処理された音声データ、メールデータ、アニメーションGIFファイル、動画ファイルをQPSK方式で変調して無線通信部4に出力する一方、無線通信部4より入力されたデータを復調して、バス100に出力する。音声処理部8は、マイク6を介して入力された音声をCELP符号化して出力する一方、バス100より入力したCLEP符号化データを音声信号に変換してスピーカ7より出力する。   The wireless communication unit 4 transmits / receives a wireless signal from the antenna 3 under the control of the signal processing unit 5 and performs primary modulation / primary demodulation processing by a predetermined wireless modulation / demodulation method such as a CDMA method. The signal processing unit 5 modulates the voice data, mail data, animation GIF file, and moving image file digitally processed by the CELP method input via the bus 100 according to the control of the control unit 1 by the QPSK method, and wireless communication unit 4, the data input from the wireless communication unit 4 is demodulated and output to the bus 100. The sound processing unit 8 performs CELP coding on the sound input through the microphone 6 and outputs the sound, and converts the CLEP encoded data input from the bus 100 into a sound signal and outputs the sound signal from the speaker 7.

撮像部10はCMOS、もしくはCCDからなるイメージキャプチャーデバイスとDSP等を含み、撮像レンズ9を介して結像されたイメージをデジタル処理する。撮像処理部11は撮像部10のイメージキャプチャーデバイスの駆動制御(詳細には連続撮影等に係る連続読出処理)を行うとともに、デジタル化された撮像画像をバス100に出力する。
表示部12は制御部1の制御よって表示制御部13を介して各種データ(メールデータや、アニメーションGIF、動画)を表示する。
The imaging unit 10 includes an image capture device composed of CMOS or CCD, a DSP, and the like, and digitally processes an image formed through the imaging lens 9. The imaging processing unit 11 performs drive control of the image capture device of the imaging unit 10 (specifically, continuous reading processing related to continuous shooting and the like) and outputs a digitized captured image to the bus 100.
The display unit 12 displays various data (email data, animation GIF, moving image) through the display control unit 13 under the control of the control unit 1.

操作部キー入力部14は、発信する電話番号の指定の他、文字や英数字の入力を検出するためのテンキー141、後述のメール作成モードにおいてカレントカーソルの位置の指定を検出するためのカーソルキー142、各種決定や、画像の撮り込みや格納指示を検出するための決定キー143などからなる。
メモリ15は、制御部1がプログラムメモリ2に格納された各種プログラムを実行した際の作業メモリ(アプリケーションヒープ)として利用される他、撮像によって取得した静止画ファイル、動画ファイル、アニメーションファイルを記憶する他、ダウンロードした各種データも記憶する。
The operation unit key input unit 14 includes a numeric keypad 141 for detecting input of characters and alphanumeric characters in addition to designation of a telephone number to be transmitted, and a cursor key for detecting designation of a current cursor position in a mail creation mode described later. 142, and a determination key 143 for detecting various determinations, image capturing and storage instructions.
The memory 15 is used as a working memory (application heap) when the control unit 1 executes various programs stored in the program memory 2, and stores still image files, moving image files, and animation files acquired by imaging. In addition, it also stores various downloaded data.

図3は携帯通信端末が実行するメール作成モードの処理を示すフローチャートである。
先ず、携帯通信端末は、電源投入を検出した際、プログラムメモリ2に記憶されている通信処理プログラム記憶部204からプログラムを読み出してこれを実行し、外部無線通信ネットワークとのネゴシエーション処理や通信処理を行っているものとする。そして、メール作成モードがスタートすると、制御部1は、プログラムメモリ2のハイパーテキスト形式メール編集プログラム記憶部203を読出してこれを実行し、表示部12に作成画面を表示させる(ステップS01)。
FIG. 3 is a flowchart showing a mail creation mode process executed by the mobile communication terminal.
First, when the mobile communication terminal detects power-on, it reads out the program from the communication processing program storage unit 204 stored in the program memory 2 and executes it, and performs negotiation processing and communication processing with the external wireless communication network. Suppose you are going. When the mail creation mode starts, the control unit 1 reads the hypertext format mail editing program storage unit 203 in the program memory 2, executes it, and causes the display unit 12 to display a creation screen (step S01).

その後、ユーザーによるテンキー141、カーソルキー142、及び、決定キー143の操作を検出することによりメール内容であるところの電子文書の入力処理を行ってメール作成を実行し(ステップS02)、更にメール作成処理の終了指示を検出したか否かを判断する(ステップS03)。
尚、本処理によって作成されるメールは、ハイパーテキスト形式であるため、文字の入力のみだけでなく、文字や背景色の編集、文字フォントの大小の変更、文字のスクロール、点滅、レイアウトの変更等、Html形式のタグで指定できる内容で任意に編集可能である。
Thereafter, by detecting the operation of the numeric keypad 141, the cursor key 142, and the decision key 143 by the user, the electronic document as the mail content is input and the mail is created (step S02). It is determined whether or not a process end instruction has been detected (step S03).
The mail created by this process is in hypertext format, so not only text input, but also text and background color editing, text font size change, text scrolling, blinking, layout change, etc. , And can be arbitrarily edited with contents that can be specified by a tag in the Html format.

ステップS03でメール作成の終了指示を検出した場合は、ステップS19にて、更に作成したメールの送信指示を検出したか否かを判断するが、メール作成終了指示を検出しない場合は、更にキー入力部14への所定の操作を検出することにより動画撮影指示を検出したか否かを判断する(ステップS04)。
動画撮影指示を検出しない場合はステップS02に移行するが、動画撮影指示を検出した場合、制御部1は更に撮像処理プログラム記憶部201、及び、画像処理プログラム記憶部202から夫々プログラムを読み出して実行し、撮像部10、及び、撮像処理部11を起動させる。そして、入力・作成されているメール内容(電子文書)を一時メモリ15に退避保存させるとともに、撮像部10を周期的に駆動させて、逐次出力される撮像画像を表示部12にライブビュー表示するよう撮像処理部11、及び、表示制御部13を制御する(ステップS05)。
If a mail creation end instruction is detected in step S03, it is determined in step S19 whether or not a mail creation end instruction has been detected. If no mail creation end instruction is detected, key input is further performed. It is determined whether a moving image shooting instruction has been detected by detecting a predetermined operation on the unit 14 (step S04).
When the moving image shooting instruction is not detected, the process proceeds to step S02. However, when the moving image shooting instruction is detected, the control unit 1 further reads out and executes the programs from the imaging processing program storage unit 201 and the image processing program storage unit 202, respectively. Then, the imaging unit 10 and the imaging processing unit 11 are activated. Then, the mail contents (electronic document) input / created are saved and saved in the temporary memory 15, and the imaging unit 10 is periodically driven to display the sequentially output captured images on the display unit 12. The imaging processing unit 11 and the display control unit 13 are controlled (step S05).

そしてこのライブビュー表示状態において、ユーザーの決定キー143の操作を検出したか否かにより撮影指示が検出されたか否かを判断する(ステップS06)。
撮影指示が検出されない場合はステップS05に戻るが、撮影指示が検出された場合は、撮像部10、撮像処理部11に対し、連続的に撮像画像を取得させることによる一定時間の画像の撮り込み処理を開始させ(ステップS07)、メールへの添付が許容される動画ファイルの容量に相当する時間である一定時間が経過したか否かを判断する(ステップS08)。また、一定時間が経過していない場合は、ユーザーの決定キー143の操作を検出することによる撮影終了指示を検出したか否かを判断する(ステップS09)。
Then, in this live view display state, it is determined whether or not a shooting instruction has been detected based on whether or not the user's operation of the enter key 143 has been detected (step S06).
When the shooting instruction is not detected, the process returns to step S05. However, when the shooting instruction is detected, the imaging unit 10 and the imaging processing unit 11 continuously capture captured images by acquiring captured images. The process is started (step S07), and it is determined whether or not a certain time, which is the time corresponding to the capacity of the moving image file allowed to be attached to the e-mail, has passed (step S08). If the predetermined time has not elapsed, it is determined whether or not an imaging end instruction has been detected by detecting the user's operation of the enter key 143 (step S09).

ステップS09にて撮影終了指示を検出しない場合はステップS08の判断に戻り、ステップS08で一定時間が経過したと判断したか、或いは、ステップS09で撮影終了指示を検出したと判断した場合は、撮像部10、撮像処理部11に対し画像撮り込み終了を指示し(ステップS10)、更に、撮像部10を周期的に駆動させて、逐次出力される撮像画像を表示部12にライブビュー表示するよう撮像処理部11、及び、表示制御部13を制御する(ステップS11)。
そして、この後、ステップS11におけるライブビュー表示が開始されてから、一定時間内にユーザーの決定キー143の操作を検出することによるステップS07〜S10において撮り込まれた複数の撮像画像の保存指示を検出したか否かを判断する(ステップS12)。
If the shooting end instruction is not detected in step S09, the process returns to the determination in step S08, and if it is determined in step S08 that a certain time has elapsed, or if it is determined that the shooting end instruction is detected in step S09, imaging is performed. The image capturing unit 11 is instructed to end image capture (step S10), and the image capturing unit 10 is periodically driven so that sequentially output captured images are displayed on the display unit 12 in a live view. The imaging processing unit 11 and the display control unit 13 are controlled (step S11).
Then, after the live view display in step S11 is started, an instruction to save a plurality of captured images captured in steps S07 to S10 by detecting the user's operation of the determination key 143 within a predetermined time is issued. It is determined whether or not it has been detected (step S12).

この判断は、ユーザーの意思として撮り込まれた複数の画像をフレームとした動画ファイルとして保存することを検出したか否かを検出するものである。
すなわち、ステップS12において直ちに保存指示を検出した場合は、ユーザーが撮り込まれた複数の画像をフレームとした動画ファイルとして保存することを所望したと判断してステップS17に移行するが、一定時間経っても保存指示が検出されない場合、今現在表示しているライブビュー画像を、撮り込まれた複数の画像における差分領域画像検出用の画像として利用すると判断する。
したがって、ステップS12で一定時間経っても保存指示が検出されない場合、制御部1は更に、撮り込まれた複数の画像全てにおいて一部の画像領域の変化が無いか否かを判断する(ステップS13)。
This determination is to detect whether or not it is detected that a plurality of images taken as a user's intention are stored as a moving image file having a frame.
That is, if a save instruction is detected immediately in step S12, it is determined that the user desires to save a plurality of captured images as a moving image file, and the process proceeds to step S17. However, if the save instruction is not detected, it is determined that the currently displayed live view image is used as a difference area image detection image in the plurality of captured images.
Therefore, when the storage instruction is not detected even after a predetermined time in step S12, the control unit 1 further determines whether or not there is a change in some image areas in all of the plurality of captured images (step S13). ).

ステップS13において、撮り込まれた複数の画像全てにおいて全画像領域で変化が有ると判断した場合、撮り込まれた複数の画像間の差分領域の画像の検出が不可能であるので、ステップS17に移行するが、撮り込まれた複数の画像全てにおいて一部の画像領域の変化が無いと判断した場合は、撮り込まれた複数の画像間の差分領域の画像の検出が可能であるので、その変化の無い一部の画像領域が、今現在ライブビュー表示されている画像に含まれているか否かを判断する(ステップS14)。
そして、ステップS14において、その変化の無い一部の画像領域が今現在ライブビュー表示されている画像に含まれていないと判断した場合は、差分領域を検出すべき比較領域がライブビュー表示されている画像から見つけられないのでステップS17に移行するが、今現在ライブビュー表示されている画像に含まれていると判断した場合は、差分領域を検出すべき比較領域がライブビュー表示されている画像から見つけることが可能なので、上記変化の無い一部の画像領域を透過処理したGIF形式のアニメーションファイルを生成する(ステップS15)。
If it is determined in step S13 that there is a change in the entire image area in all of the plurality of captured images, it is impossible to detect the image of the difference area between the plurality of captured images. However, if it is determined that there is no change in some of the image areas in all the captured images, it is possible to detect the image of the difference area between the captured images. It is determined whether or not a part of the image area without change is included in the image currently displayed in live view (step S14).
In step S14, when it is determined that the part of the image area without the change is not included in the image currently displayed in live view, the comparison area in which the difference area is to be detected is displayed in live view. Since it cannot be found from the existing image, the process proceeds to step S17. However, if it is determined that the image is currently included in the live view display image, the comparison area in which the difference area should be detected is displayed in the live view display. Therefore, a GIF-format animation file is generated by transparently processing a part of the image area having no change (step S15).

図4は、ステップS15におけるアニメーションファイルの生成の考え方を示したものである。
同図において、ステップS07〜S10の間に、撮り込まれた5枚の画像111〜115が存在するとする。そして画像111〜115には被写体画像領域A1〜A5が存在するとともに、共通して被写体Bの画像領域が存在する。
FIG. 4 shows the concept of generating an animation file in step S15.
In the figure, it is assumed that five captured images 111 to 115 exist between steps S07 to S10. The images 111 to 115 include subject image areas A1 to A5 and the image area of the subject B in common.

その後、ステップS11において、画像116がライブビューで一定時間表示維持されていると、制御部1は、上記画像111〜115における変化の無い一部の画像領域として、被写体画像領域A1〜A5が存在しない領域の画素について、α=0として透過処理し、これとは逆に上記画像111については被写体画像領域A1の画素を、上記画像112については被写体画像領域A2の画素を、上記画像113については被写体画像領域A3の画素を、上記画像114については被写体画像領域A4の画素を、そして、上記画像115については被写体画像領域A5の画素を、α=1、すなわち非透過領域とした5コマからなるGIF形式のアニメーションファイルを生成する。   Thereafter, in step S11, when the display of the image 116 is maintained for a certain period of time in live view, the control unit 1 includes subject image areas A1 to A5 as part of the image areas having no change in the images 111 to 115. On the other hand, the pixel in the non-permitted area is subjected to the transmission processing with α = 0, and conversely, the pixel in the subject image area A1 for the image 111, the pixel in the subject image area A2 for the image 112, and the image 113 The subject image region A3 is composed of five frames, with the pixel of the subject image region A4 for the image 114 and the pixel of the subject image region A5 for the image 115 as α = 1, that is, a non-transparent region. Generate an animation file in GIF format.

ステップS15にてアニメーションファイルが生成されると、制御部1は、メモリ15に一時退避させたメールデータを読み出して、表示部12に表示するよう表示制御部13を制御する。
そしてハイパーテキスト形式メール編集プログラムに従い、上記ステップS15にて生成されたアニメーションファイルを作成中のメール内容に添付するとともに、カレントカーソルの位置に生成されたアニメーションファイルをアニメーションGIFアイコンとしてインライン表示するよう記述する(ステップS16)。
When the animation file is generated in step S15, the control unit 1 reads the mail data temporarily saved in the memory 15 and controls the display control unit 13 to display it on the display unit 12.
Then, in accordance with the hypertext mail editing program, the animation file generated in step S15 is attached to the mail content being created, and the animation file generated at the current cursor position is displayed inline as an animation GIF icon. (Step S16).

図5はこの場合の表示部12の表示態様を示すものである。
同図においては、121には本メールの送信あて先を示すメールアドレスが、122にはメールサブジェクト「こんにちは!」が、123には本メールに添付されるファイル(アニメーションファイル)のファイル名が、そして、メール本文125、125が表示されるとともにカレントカーソルが存在した位置にアニメーションファイルの内容126がインラインでアニメーション表示されている。
FIG. 5 shows a display mode of the display unit 12 in this case.
In the figure, e-mail address indicating the transmission destination of the mail to 121, the e-mail subject "Hello!" Is to 122, the file name of the file to 123, which is attached to this e-mail (animation file) and, The mail texts 125 and 125 are displayed, and the content 126 of the animation file is animated inline at the position where the current cursor exists.

一方、ステップS17では、ステップS07〜S10において撮り込まれた複数の画像をフレームとした動画ファイルを生成する(ステップS17)。
図6は、ステップS13からステップS17に移行した場合の動画ファイルの生成の考え方を示したものである。
同図において、ステップS07〜S10の間に、撮り込まれた5枚の画像131〜135が存在するとする。そして画像131〜135にも被写体画像領域A1〜A5が存在するとともに、共通して被写体Bの画像領域が存在する。
On the other hand, in step S17, a moving image file using a plurality of images taken in steps S07 to S10 as frames is generated (step S17).
FIG. 6 shows a concept of generating a moving image file when the process proceeds from step S13 to step S17.
In the figure, it is assumed that five captured images 131 to 135 exist between steps S07 to S10. The subject images region A1 to A5 also exist in the images 131 to 135, and the subject region B image region exists in common.

その後、ステップS13において、画像131〜135を参照すると、被写体画像Bの位置が変化していることにより制御部1は、撮り込まれた複数の画像全てにおいて全画像領域で変化が有ると判断し、MPEG−4形式の符号化方式に準拠した符号化方式で各フレームを圧縮符号化し、ファイル化する。
そしてハイパーテキスト形式メール編集プログラムに従い、上記ステップS17にて生成された動画ファイルを作成中のメールに添付する(ステップS18)。
Thereafter, in step S13, referring to the images 131 to 135, the control unit 1 determines that there is a change in the entire image region in all of the plurality of captured images because the position of the subject image B has changed. Then, each frame is compressed and encoded into a file by an encoding method compliant with the MPEG-4 format encoding method.
Then, according to the hypertext format mail editing program, the moving image file generated in step S17 is attached to the mail being created (step S18).

図7はこの場合の表示部12の表示態様を示すものである。
同図においては、121には本メールの送信あて先を示すメールアドレスが、122にはメールサブジェクト「こんにちは!」が、127には本メールに添付されるファイル(動画ファイル)のファイル名が、そして、メール本文125が表示されている。
そして、ステップS16、S18の処理の後、再度ステップS02に移行する。
また、ステップS03にて、メールの作成終了指示を検出した場合は、更に送信指示を検出したか否かを判断する(ステップS19)。
FIG. 7 shows a display mode of the display unit 12 in this case.
In the figure, e-mail address indicating the transmission destination of the mail to 121, the e-mail subject "Hello!" Is to 122, the file name of the file (video file), which is attached to this e-mail to 127 and, A mail text 125 is displayed.
And after the process of step S16, S18, it transfers to step S02 again.
If a mail creation end instruction is detected in step S03, it is further determined whether a transmission instruction is detected (step S19).

そして送信指示を検出しなかった場合はステップS02に移行するが、送信指示を検出した場合は、入力した送信先アドレスへメール本文(添付ファイルがある場合には添付ファイルも)を送信するよう、アンテナ3、無線通信部4、及び、信号処理部5を制御し(ステップS20)、本処理を終了する。   If no transmission instruction is detected, the process proceeds to step S02. However, if a transmission instruction is detected, an email text (including an attached file if there is an attached file) is transmitted to the input destination address. The antenna 3, the wireless communication unit 4, and the signal processing unit 5 are controlled (step S20), and this process is terminated.

このように本発明によれば、連続的に撮像された複数の画像について撮り込み後一定時間ライブビュー表示されたか否か、撮り込まれた複数の画像全てについて一部の画像領域に変化が無いか否か、一部の画像領域に変化が無く且つその画像領域がライブビュー表示されている画像に含まれているか否か、の判断に従って、連続的に撮像された複数の画像から、動画ファイルより容量の少ないアニメーションファイルを生成し、更には、作成中の電子文書に挿入して表示して装飾するので、動的な表現力を有する電子文書の作成において、より利便性に富んだものにすることができる。
また、文章の論理構造や見栄えを表示文書とともに記述する記述言語を用いた電子文書において、より装飾効果の高い電子文書を作成することができる。
As described above, according to the present invention, whether or not a plurality of continuously captured images have been displayed in a live view for a certain period of time after capturing, and there is no change in some image regions for all the captured images. Whether or not a part of the image area is unchanged and whether or not the image area is included in the image displayed in live view, from a plurality of continuously captured images, An animation file with a smaller capacity is generated, and inserted into the electronic document being created for display and decoration, making it more convenient for creating an electronic document with dynamic expressiveness. can do.
In addition, in an electronic document using a description language that describes the logical structure and appearance of a sentence together with a display document, an electronic document with a higher decoration effect can be created.

(第2の実施の形態)
上記第1の実施の形態においては、ステップS14〜S15において、変化の無い一部の画像領域を透過処理したGIF形式のアニメーションファイルを生成する手法について述べた。
しかしながら、この手法により生成されたアニメーションファイルにおいて透過領域の面積が非透過領域の面積と比較して広い場合、これを、ハイパーテキスト形式メールのGIFアイコンとしてインライン表示させても非透過領域が小さいために、メール閲覧者は確認できないという問題が予想される。
また、上記手法により生成され、表示サイズが小さく表示解像度が低いアニメーションファイルを、表示サイズが大きく表示解像度が高い表示手段に表示させると、メール閲覧者による非透過領域の確認が困難になる問題が予想される。
さらには、上記手法により生成され、表示サイズが小さく表示解像度が低いアニメーションファイルの縦横のアスペクト比が、表示手段の縦横のアスペクト比と異なっている場合でも、アスペクトの不一致によりメール閲覧者による非透過領域の確認が困難になる問題が予想される。
本第2の実施の形態では、上記予想される問題を解決するための手法を詳述する。
(Second Embodiment)
In the first embodiment described above, the method of generating a GIF-format animation file in which a part of an image area having no change is transparently processed in steps S14 to S15 has been described.
However, if the area of the transparent area is larger than the area of the non-transparent area in the animation file generated by this method, the non-transparent area is small even if it is displayed inline as a GIF icon of hypertext mail. In addition, it is expected that the mail viewer cannot confirm.
In addition, when an animation file generated by the above method and having a small display size and a low display resolution is displayed on a display means having a large display size and a high display resolution, it becomes difficult for the mail viewer to confirm the non-transparent area. is expected.
Furthermore, even if the vertical / horizontal aspect ratio of an animation file that is generated by the above method and has a small display size and low display resolution is different from the vertical / horizontal aspect ratio of the display means, non-transparency by the mail viewer due to the aspect mismatch. A problem that makes it difficult to confirm the area is expected.
In the second embodiment, a technique for solving the above-mentioned anticipated problem will be described in detail.

尚、本第2の実施の形態において、上記第1の実施の形態と同様の構成や処理については、上記第1の実施の形態と同じ番号を付し、その説明は省略する。
本第2の実施の形態は、上記第1の実施の形態におけるステップS14(Yes)からその説明を始める。
In the second embodiment, the same configurations and processes as those in the first embodiment are denoted by the same reference numerals as those in the first embodiment, and description thereof is omitted.
The description of the second embodiment starts from step S14 (Yes) in the first embodiment.

まず、制御部1は、ステップS14において、撮り込まれた複数の画像の上記変化の無い一部の画像領域を順次透過処理する(ステップS21)。そして、これら透過処理された複数の画像のうち、最も非透過領域の大きいものを選択し、その非透過領域の縦横のサイズを取得する(ステップS22)。図9は、このステップS22の説明を補助するために示すものであり、透過領域を有する画像のアスペクト比と表示対象のアスペクト比との対応関係を示す図である。
同図において、透過領域を有する画像は、縦サイズYC、横サイズXCからなり、透過領域Cと非透過領域A1〜A5の何れかのうちの最大の非透過領域とを含む。この最大の非透過領域は縦サイズYO、横サイズXOである。したがって、上記ステップS22ではこの縦サイズYO、横サイズXOを取得する。
First, in step S14, the control unit 1 sequentially performs a transparent process on a part of the image area without the change of the plurality of captured images (step S21). Then, the image having the largest non-transparent area is selected from the plurality of images subjected to the transmission process, and the vertical and horizontal sizes of the non-transparent area are acquired (step S22). FIG. 9 is shown to assist the explanation of step S22, and is a diagram showing the correspondence between the aspect ratio of an image having a transmissive area and the aspect ratio of a display target.
In the figure, an image having a transmissive area is composed of a vertical size YC and a horizontal size XC, and includes a transmissive area C and a maximum non-transmissive area among any of the non-transmissive areas A1 to A5. This maximum non-transmission area is the vertical size YO and the horizontal size XO. Accordingly, in step S22, the vertical size YO and the horizontal size XO are acquired.

ステップS22にて制御部1が透過処理された複数の画像のうち最大の非透過領域を有する画像を選択するのは、撮り込まれた複数の画像間において非透過領域として処理された画像が動くように変化するものの場合、最も非透過領域が大きな画像を選択しないと、他の透過処理された画像における非透過領域の一部が続く処理により削除される可能性があるからである。
尚、このステップS22においては、非透過領域として処理された画像が撮り込まれた複数の画像間において全体の位置が変化せず、その一部が動くように変化するものについて説明している。
しかしながら、上記の如く透過処理された画像の中には、平行移動する場合など、複数の画像間において非透過領域全体の位置が変化するケースも想定される。
このようなケースにおいては、撮り込まれた複数の画像において、最初に撮影された画像に対応する透過処理された画像の非透過領域の位置と、最後に撮影された画像に対応する透過処理された画像の非透過領域の位置とを取得し、これらの位置を含む最小範囲を縦サイズYO、横サイズXOとして取得する。
In step S22, the control unit 1 selects the image having the largest non-transparent area among the plurality of images subjected to the transmission process. The image processed as the non-transmission area moves between the plurality of captured images. In the case of such a change, if an image having the largest non-transparent area is not selected, a part of the non-transparent area in another transparent processed image may be deleted by subsequent processing.
Note that in this step S22, a description is given of a case where the entire position does not change between a plurality of images in which images processed as non-transparent areas are captured, and a part thereof changes so as to move.
However, there may be a case in which the position of the entire non-transparent region changes between a plurality of images, such as a case where the images are subjected to the translucent process as described above.
In such a case, in a plurality of captured images, the position of the non-transparent area of the image subjected to the transmission processing corresponding to the first captured image and the transmission processing corresponding to the last captured image are performed. The position of the non-transparent area of the obtained image is acquired, and the minimum range including these positions is acquired as the vertical size YO and the horizontal size XO.

ステップS22で制御部1が最大の非透過領域の縦サイズYO、横サイズXOを取得すると、次に、透過処理された画像の表示対象である表示部のアスペクト比情報、及び、解像度情報を取得する(ステップS23)。
このアスペクト比情報、及び、解像度情報の取得方法については様々想定されるが、表示対象が自端末である場合、自端末のスペックデータを取得する。また、メールの送信先が表示対象である場合、自端末外部からユーザ操作やネットワークを経由してそのメール送信先端末の表示部のスペックデータを取得する。
そして、ステップS22にて選択された最大の非透過領域(縦サイズYO、横サイズXO)のアスペクト比とステップS23にて取得された表示対象のアスペクト比とが異なるか否かを判断する(ステップS24)。
When the control unit 1 acquires the maximum non-transparent area vertical size YO and horizontal size XO in step S22, it acquires the aspect ratio information and resolution information of the display unit that is the display target of the image subjected to the transmission process. (Step S23).
Various methods of acquiring the aspect ratio information and the resolution information are assumed. When the display target is the own terminal, the specification data of the own terminal is acquired. Further, when the mail transmission destination is a display target, the specification data of the display unit of the mail transmission destination terminal is acquired from the outside of the own terminal via a user operation or a network.
Then, it is determined whether or not the aspect ratio of the maximum non-transmissive area (vertical size YO, horizontal size XO) selected in step S22 is different from the aspect ratio of the display target acquired in step S23 (step S23). S24).

制御部1が、双方のアスペクト比が異ならない、つまり同じであると判断すると、ステップS26の処理へ進む。一方、双方のアスペクト比が異なると判断すると、ステップS25の処理へ進む。
ステップS24において、双方のアスペクト比が異なると判断すると、表示対象のアスペクト比を基準にして、上記選択された最大の透過領域の周囲(上下或いは左右)に均等に透過領域を追加する。
If the controller 1 determines that the aspect ratios of both are not different, that is, the same, the process proceeds to step S26. On the other hand, if it is determined that the two aspect ratios are different, the process proceeds to step S25.
If it is determined in step S24 that the aspect ratios of the two are different from each other, the transmissive areas are uniformly added around the selected maximum transmissive area (up and down or left and right) based on the aspect ratio of the display target.

図10は最大の非透過領域に追加される透過領域の状態を示す図である。図10(a)に示すように、最大の非透過領域A1〜A5(の何れかのうち、最大の非透過領域を有するもの)は横長(XO>YO)のアスペクト比を有する。また、表示対象D1も横長(XI>YI)のアスペクト比を有するが、その比率は上記最大の透過領域とは異なっている。
この場合、制御部1は、表示対象D1のアスペクト比を基準にし、このアスペクト比と同じになるように、最大の非透過領域A1〜A5の周囲に透過領域を追加する。例えば、図10(a)においては、表示対象D1のアスペクト比を基準とすると、最大の非透過領域A1〜A5は横サイズで(XI−XO)だけ不足する。したがって、この場合、最大の非透過領域A1〜A5の破線で示されたラインの左右外側に均等に(XI−XO)/2の幅の透過領域を追加する。
FIG. 10 is a diagram showing a state of the transmissive region added to the maximum non-transmissive region. As shown in FIG. 10A, the largest non-transmissive areas A1 to A5 (one of which has the largest non-transmissive area) has an aspect ratio of horizontally long (XO> YO). The display object D1 also has an aspect ratio of horizontally long (XI> YI), but the ratio is different from the maximum transmission region.
In this case, the control unit 1 adds a transmission region around the maximum non-transmission regions A1 to A5 so that the aspect ratio of the display target D1 is the same as the reference. For example, in FIG. 10A, when the aspect ratio of the display target D1 is used as a reference, the maximum non-transparent areas A1 to A5 are short in size (XI-XO). Therefore, in this case, a transparent region having a width of (XI-XO) / 2 is added evenly on the left and right outer sides of the line indicated by the broken lines of the maximum non-transmissive regions A1 to A5.

また、図10(b)に示すように、最大の非透過領域A1〜A5は横長(XO>YO)のアスペクト比を有する。また、表示対象D2は縦長(XI<YI)のアスペクト比を有する。
この場合、制御部1は、表示対象D2のアスペクト比を基準にし、このアスペクト比と同じになるように、最大の非透過領域A1〜A5の周囲に透過領域を追加する。例えば、図10(b)においては、表示対象D2のアスペクト比を基準とすると、最大の非透過領域A1〜A5は縦サイズで(YI−YO)だけ不足する。したがって、この場合、最大の非透過領域A1〜A5の破線で示されたラインの上下外側に均等に(YI−YO)/2の幅の透過領域を追加する。
As shown in FIG. 10B, the maximum non-transmissive regions A1 to A5 have an aspect ratio of horizontally long (XO> YO). In addition, the display target D2 has an aspect ratio of vertically long (XI <YI).
In this case, the control unit 1 adds a transmissive region around the maximum non-transmissive regions A1 to A5 so that the aspect ratio of the display target D2 is the same as the reference. For example, in FIG. 10B, when the aspect ratio of the display target D2 is used as a reference, the maximum non-transparent areas A1 to A5 are short in size and are insufficient by (YI-YO). Therefore, in this case, a transparent region having a width of (YI-YO) / 2 is added evenly on the upper and lower sides of the line indicated by the broken lines of the maximum non-transmissive regions A1 to A5.

次いで、表示対象の解像度と最大の非透過領域との解像度との大小を判定する(ステップS26)。
そして、表示対象の解像度の方が大きいと判定すると(ステップS27→No)、更に、縦横幅において、表示対象の解像度の方が2倍以上大きいか否かを判定する(ステップS28)。
この判定処理において、表示対象の解像度の方が2倍以上大きいと判定した場合(ステップS28→Yes)、例えば、最大の非透過領域A1〜A5の解像度がQVGA(320画素×240画素)で、表示対象の解像度がVGA(640画素×400画素)以上の場合、最大の非透過領域A1〜A5の画素単位で整数倍以上の拡大処理が可能になるので、制御部1は表示対象の解像度に合わせて、画素単位で最大の非透過領域A1〜A5を拡大処理する(ステップS29)。
Next, the size of the display target resolution and the maximum non-transparent area is determined (step S26).
If it is determined that the resolution of the display target is larger (step S27 → No), it is further determined whether the resolution of the display target is twice or more larger in the vertical and horizontal widths (step S28).
In this determination process, when it is determined that the resolution of the display target is twice or more larger (step S28 → Yes), for example, the resolution of the maximum non-transparent areas A1 to A5 is QVGA (320 pixels × 240 pixels), When the display target resolution is VGA (640 pixels × 400 pixels) or higher, enlargement processing of an integer multiple or more is possible in units of pixels of the maximum non-transparent areas A1 to A5. At the same time, the maximum non-transparent areas A1 to A5 are enlarged for each pixel (step S29).

一方、ステップS28の判定処理において、表示対象の解像度の方が2倍以上大きくないと判定した場合(ステップS28→NO)、例えば、最大の非透過領域A1〜A5の解像度がQVGA(320画素×240画素)で、表示対象の解像度がHVGA(480画素×320画素)の場合、最大の非透過領域A1〜A5の画素単位で整数倍以上の拡大処理が不可能になるので、制御部1は画素単位での拡大処理を行うことなくステップS30に移行する。
そして最大の非透過領域を含む複数の画像からGIF形式のアニメーションファイルを生成する(ステップS0)。
On the other hand, when it is determined in the determination process in step S28 that the resolution of the display target is not larger than twice (step S28 → NO), for example, the resolution of the maximum non-transparent areas A1 to A5 is QVGA (320 pixels × 240 pixels), and when the resolution of the display target is HVGA (480 pixels × 320 pixels), enlargement processing of an integer multiple or more in pixel units of the maximum non-transparent areas A1 to A5 becomes impossible. The process proceeds to step S30 without performing the enlargement process in units of pixels.
Then, a GIF-format animation file is generated from a plurality of images including the maximum non-transparent area (step S0).

一方、ステップS27の処理において、最大の非透過領域A1〜A5の解像度の方が大きいと判定すると(ステップS27→Yes)、更に、縦横幅において、最大の非透過領域A1〜A5の解像度の方が2倍以上大きいか否かを判定する(ステップS31)。
この判定処理において、最大の非透過領域A1〜A5の解像度の方が2倍以上大きいと判定した場合(ステップS31→Yes)、例えば、最大の非透過領域A1〜A5の解像度がVGA(640画素×480画素)以上で、表示対象の解像度がQVGA(320画素×240画素)の場合、最大の非透過領域A1〜A5の画素単位で整数分の一以下の間引き処理が可能になるので、制御部1は表示対象の解像度に合わせて、画素単位で最大の非透過領域A1〜A5を間引き処理する(ステップS32)。
On the other hand, if it is determined in the process of step S27 that the resolution of the maximum non-transparent areas A1 to A5 is larger (step S27 → Yes), the resolution of the maximum non-transparent areas A1 to A5 in the vertical and horizontal widths is further determined. It is determined whether or not is greater than twice (step S31).
In this determination process, when it is determined that the resolution of the maximum non-transparent areas A1 to A5 is twice or more (step S31 → Yes), for example, the resolution of the maximum non-transparent areas A1 to A5 is VGA (640 pixels). If the display target resolution is QVGA (320 pixels × 240 pixels) or more, thinning processing of an integer or less can be performed in units of pixels of the maximum non-transparent areas A1 to A5. The unit 1 performs thinning processing on the maximum non-transparent areas A1 to A5 in units of pixels according to the resolution of the display target (step S32).

一方、ステップS32の判定処理において、最大の非透過領域A1〜A5の解像度の方が2倍以上大きくないと判定した場合(ステップS32→NO)、例えば、最大の非透過領域A1〜A5の解像度がVGA(640画素×480画素)で、表示対象の解像度がHVGA(480画素×320画素)の場合、最大の非透過領域A1〜A5の画素単位で整数分の一以下の間引き処理が不可能になるので、制御部1は画素単位での間引き処理を行うことなくステップS30に移行する。   On the other hand, in the determination process of step S32, when it is determined that the resolution of the maximum non-transparent area A1 to A5 is not larger than twice (step S32 → NO), for example, the resolution of the maximum non-transparent area A1 to A5 Is VGA (640 pixels × 480 pixels) and the display target resolution is HVGA (480 pixels × 320 pixels), it is impossible to perform thinning processing of an integer or less in the pixel unit of the maximum non-transparent area A1 to A5. Therefore, the control unit 1 proceeds to step S30 without performing the thinning process in units of pixels.

このように本第2の実施形態によれば、表示対象のアスペクト比や解像度に応じて、非透過領域のサイズを変更するので、表示対象の解像度に左右されることなく、メール閲覧者による非透過領域の確認が容易になる。   As described above, according to the second embodiment, since the size of the non-transparent area is changed according to the aspect ratio and resolution of the display target, the mail viewer does not depend on the resolution of the display target. The transmission area can be easily confirmed.

尚、本実施形態では、連続的に撮り込まれた複数の画像からGIF形式のアニメーションファイルを生成し、作成中の電子文書(メール)中に挿入して装飾するようにしたが、生成されたGIF形式のアニメーションファイルは他の用途にも利用可能なことは言うまでもないことである。
例えば、本実施形態においては、本発明を携帯通信端末に適用した場合を例示したが、その場合であっても、メール文書への挿入の他、着信待受画面に表示させたり、その他メール送信・受信用、アラーム報知用等の報知アイコンとしても利用できる。
In the present embodiment, an animation file in GIF format is generated from a plurality of images taken continuously and inserted into an electronic document (e-mail) being created for decoration. It goes without saying that GIF animation files can be used for other purposes.
For example, in the present embodiment, the case where the present invention is applied to a mobile communication terminal has been exemplified, but even in that case, in addition to being inserted into a mail document, it is displayed on an incoming standby screen or other mail transmission -It can also be used as notification icons for reception, alarm notification, etc.

また、本実施形態においては、本発明を携帯通信端末に適用した場合を例示したが、これに限ることなく、撮像等により連続的に撮り込まれた複数の画像からアニメーションファイルを生成してこれを利用する実施態様であれば、コンピュータソフトウェアや、ネットワークサーバシステム等、様々なハードウェア、システム、ソフトウェアに適用可能である。   In the present embodiment, the case where the present invention is applied to a mobile communication terminal is illustrated. However, the present invention is not limited thereto, and an animation file is generated from a plurality of images continuously captured by imaging or the like. As long as it is an embodiment using the above, it can be applied to various hardware, systems, and software such as computer software and network server systems.

1 制御部
2 プログラムメモリ
10 撮像部
11 撮像処理部
12 表示部
13 表示制御部
126 アニメーションファイル
DESCRIPTION OF SYMBOLS 1 Control part 2 Program memory 10 Imaging part 11 Imaging processing part 12 Display part 13 Display control part 126 Animation file

Claims (6)

撮像手段と、
前記撮像手段に対し連続的に画像を撮像するよう制御する第1の撮像制御手段と、
前記第1の撮像制御手段による撮像後、前記連続的に撮像された画像に共通して同じ画像領域が存在するか否かを判断する第1の判断手段と、
前記第1の撮像制御手段による撮像後に撮像された画像において、前記同じ画像領域が存在するか否かを判断する第2の判断手段と、
前記第1の判断手段と前記第2の判断手段が共に肯定と判断した場合、前記連続的に撮像された画像から、前記同じ画像領域を透過領域とした画像ファイルを生成する第1の生成手段と、
表示手段と、
前記第1の生成手段によって生成された画像ファイルが文書中に挿入された電子文書を前記表示手段に表示するよう制御する第1の表示制御手段と、
を備えることを特徴とする画像処理装置。
Imaging means;
First imaging control means for controlling the imaging means to continuously capture images;
First determination means for determining whether or not the same image area exists in common in the continuously captured images after imaging by the first imaging control means;
Second determination means for determining whether or not the same image region exists in an image captured after imaging by the first imaging control means;
When both the first determination unit and the second determination unit determine affirmative, the first generation unit generates an image file having the same image region as a transmission region from the continuously captured images. When,
Display means;
First display control means for controlling the display means to display an electronic document in which the image file generated by the first generation means is inserted in the document;
An image processing apparatus comprising:
前記画像ファイルは、前記透過領域とともに撮像手段によって撮像された主要被写体を非透過領域として含み、
この非透過領域のサイズを取得するサイズ取得手段と、
前記サイズ取得手段によって取得されたサイズと、この画像ファイルが表示されるべき表示サイズとを比較する比較手段と、
この比較手段による比較結果に基づいて、前記非透過領域のサイズを変更するサイズ変更手段と、
を更に備えることを特徴とする請求項1記載の画像処理装置。
The image file includes a main subject imaged by an imaging unit together with the transmissive area as a non-transmissive area,
Size acquisition means for acquiring the size of the non-transparent area;
Comparison means for comparing the size acquired by the size acquisition means with the display size in which the image file is to be displayed;
Based on the comparison result by the comparison means, the size changing means for changing the size of the non-transparent region,
The image processing apparatus according to claim 1, further comprising:
前記非透過領域の縦横比を取得する縦横比取得手段と、
前記縦横比取得手段によって取得された非透過領域の縦横比と、この画像ファイルが表示されるべき表示先の縦横比とを比較する比較手段と、
この比較手段による比較結果に基づいて、前記画像ファイルに対し新たに透過領域を追加してこの画像ファイルの縦横比を調整する縦横比調整手段と、
を更に備えることを特徴とする請求項1又は2記載の画像処理装置。
An aspect ratio acquisition means for acquiring an aspect ratio of the non-transmissive region;
Comparison means for comparing the aspect ratio of the non-transparent area acquired by the aspect ratio acquisition means with the aspect ratio of the display destination where the image file is to be displayed;
Based on the comparison result by the comparison means, an aspect ratio adjustment means for adjusting the aspect ratio of the image file by newly adding a transparent region to the image file;
The image processing apparatus according to claim 1, further comprising:
前記第1の判断手段と前記第2の判断手段の少なくとも一方で否定と判断した場合、前記連続的に撮像された画像から動画ファイルを生成する第2の生成手段と、
前記第2の生成手段によって生成された動画ファイルを添付ファイルとした電子文書を前記表示手段に表示するよう制御する第2の表示制御手段と、
を更に備えることを特徴とする請求項1乃至3の何れかに記載の画像処理装置。
A second generation unit that generates a moving image file from the continuously captured images when it is determined that at least one of the first determination unit and the second determination unit is negative;
Second display control means for controlling to display on the display means an electronic document having the moving image file generated by the second generation means as an attached file;
The image processing apparatus according to claim 1, further comprising:
前記表示手段によって表示された電子文書を送信する送信手段を更に備えることを特徴とする請求項1乃至4の何れかに記載の画像処理装置。   The image processing apparatus according to claim 1, further comprising a transmission unit that transmits the electronic document displayed by the display unit. 撮像部と表示部とを備えるコンピュータを、
前記撮像部に対し連続的に画像を撮像するよう制御する第1の撮像制御手段、
前記第1の撮像制御手段による撮像後、前記連続的に撮像された画像に共通して同じ画像領域が存在するか否かを判断する第1の判断手段、
前記第1の撮像制御手段による撮像後に撮像された画像において、前記同じ画像領域が存在するか否かを判断する第2の判断手段、
前記第1の判断手段と前記第2の判断手段が共に肯定と判断した場合、前記連続的に撮像された画像から、前記同じ画像領域を透過領域とした画像ファイルを生成する生成手段、
前記生成手段によって生成された画像ファイルが文書中に挿入された電子文書を前記表示部に表示するよう制御する表示制御手段
として機能させることを特徴とするプログラム。
A computer including an imaging unit and a display unit,
First imaging control means for controlling the imaging unit to continuously capture images;
First determination means for determining whether or not the same image area exists in common to the continuously captured images after imaging by the first imaging control means;
Second determination means for determining whether or not the same image area exists in an image captured after imaging by the first imaging control means;
Generating means for generating an image file having the same image area as a transmission area from the continuously captured images when both the first determination means and the second determination means determine affirmative;
A program that causes an image file generated by the generating unit to function as a display control unit that controls an electronic document inserted in a document to be displayed on the display unit.
JP2010023642A 2009-04-17 2010-02-05 Image processing apparatus and program Expired - Fee Related JP4849173B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2010023642A JP4849173B2 (en) 2009-04-17 2010-02-05 Image processing apparatus and program
US12/757,285 US8269847B2 (en) 2009-04-17 2010-04-09 Image processing apparatus, image processing method, and non-transitory recording medium for selectively creating one of an animation file and a moving image file from a plurality of continuously shot images

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2009100423 2009-04-17
JP2009100423 2009-04-17
JP2010023642A JP4849173B2 (en) 2009-04-17 2010-02-05 Image processing apparatus and program

Publications (2)

Publication Number Publication Date
JP2010268425A true JP2010268425A (en) 2010-11-25
JP4849173B2 JP4849173B2 (en) 2012-01-11

Family

ID=43364994

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010023642A Expired - Fee Related JP4849173B2 (en) 2009-04-17 2010-02-05 Image processing apparatus and program

Country Status (1)

Country Link
JP (1) JP4849173B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001027977A (en) * 1999-05-07 2001-01-30 Matsushita Electric Ind Co Ltd Electronic mail generating device and program recording medium
JP2007026090A (en) * 2005-07-15 2007-02-01 Oki Electric Ind Co Ltd Video preparation device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001027977A (en) * 1999-05-07 2001-01-30 Matsushita Electric Ind Co Ltd Electronic mail generating device and program recording medium
JP2007026090A (en) * 2005-07-15 2007-02-01 Oki Electric Ind Co Ltd Video preparation device

Also Published As

Publication number Publication date
JP4849173B2 (en) 2012-01-11

Similar Documents

Publication Publication Date Title
CN109670427B (en) Image information processing method and device and storage medium
JP2005134968A (en) Personal digital assistant device, information processing method, recording medium, and program
CN111355998B (en) Video processing method and device
JP2011034315A (en) Remote support method and system, and program
KR100735262B1 (en) Method for displaying automatically in wireless terminal
JP5313713B2 (en) Terminal device and program
US10489053B2 (en) Method and apparatus for associating user identity
CN113747199A (en) Video editing method, video editing apparatus, electronic device, storage medium, and program product
CN108989869B (en) Video picture playing method, device, equipment and computer readable storage medium
JP2005198235A (en) Apparatus and method for operating display and backlight in portable terminals
JP2005033346A (en) Apparatus and method for processing information, and software
US8269847B2 (en) Image processing apparatus, image processing method, and non-transitory recording medium for selectively creating one of an animation file and a moving image file from a plurality of continuously shot images
JP5376658B2 (en) Terminal device and program
JP4849173B2 (en) Image processing apparatus and program
US20120120109A1 (en) Apparatus and method for providing image effect in mobile terminal
JP4924723B2 (en) Document data generation apparatus and program
KR20060127307A (en) Method for changing image attach mode in wireless terminal
KR20140130887A (en) Method for generating thumbnail image and an electronic device thereof
JP2011022962A (en) Information processing terminal
KR101425362B1 (en) Portable terminal and method for making message thereof
JP4427784B2 (en) Image processing apparatus and mobile phone equipped with image processing apparatus
JP4223940B2 (en) Image generation apparatus, portable terminal, image generation method, image display method, and program
KR100689526B1 (en) Method for searching data in wireless terminal
KR100735249B1 (en) Method for displaying image in wireless terminal
JP2009099087A (en) Content generation device, information display device and computer program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100823

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110408

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110510

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110708

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110920

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111003

R150 Certificate of patent or registration of utility model

Ref document number: 4849173

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141028

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees