JP2009282815A - Text composition processing system and portable communication terminal equipped with the same - Google Patents

Text composition processing system and portable communication terminal equipped with the same Download PDF

Info

Publication number
JP2009282815A
JP2009282815A JP2008135055A JP2008135055A JP2009282815A JP 2009282815 A JP2009282815 A JP 2009282815A JP 2008135055 A JP2008135055 A JP 2008135055A JP 2008135055 A JP2008135055 A JP 2008135055A JP 2009282815 A JP2009282815 A JP 2009282815A
Authority
JP
Japan
Prior art keywords
text
image data
processing unit
font
data
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
JP2008135055A
Other languages
Japanese (ja)
Inventor
Toyoshi Takahashi
豊志 高橋
Masakatsu Nagai
雅克 永井
Mitsu Komatsu
美都 小松
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.)
CATALYST MOBILE KK
Original Assignee
CATALYST MOBILE KK
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 CATALYST MOBILE KK filed Critical CATALYST MOBILE KK
Priority to JP2008135055A priority Critical patent/JP2009282815A/en
Publication of JP2009282815A publication Critical patent/JP2009282815A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a text composition processing system which is used for a portable communication terminal or the like and composites a text with image data. <P>SOLUTION: The text composition processing system includes: an image data storage part for storing image data associated with the information of at least one of font, display position, display direction, display size and rotational position for displaying a text to be compounded with the image data as a template; an image data acquisition part for acquiring the image data of the template from the image data storage part; a text input acceptance part for accepting the input of the text to be compounded with the image data; and a composite image storage processing part for compositing the text with the image data by using glyph data based on the information of font in the template based on at least one of the display position, display direction, display size and rotational position in the selected template, and for making a predetermined storage device store the composite image. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、テキストを画像データに合成するテキスト合成処理システムに関する。特にそのテキスト合成処理システムを、携帯電話、PHS、PDA、スマートフォンなどの可搬型通信端末で用いる場合に関する。
The present invention relates to a text composition processing system that synthesizes text with image data. In particular, the present invention relates to a case where the text composition processing system is used in a portable communication terminal such as a mobile phone, PHS, PDA, or smart phone.

近年、多くの人が可搬型通信端末を所持しており、通話機能のほか、電子メール機能を利用している。この電子メール機能としては、単にテキストデータを送受信する電子メールのほか、cHTML形式で電子メールを送受信することによって、電子メールの背景、文字の色や大きさを変更したり、文字を点滅、左右に移動させる、あるいはフレームの中に文字を入力するなど、様々な演出効果を伴う電子メールを送受信することが出来る。このような装飾された電子メールは、文字だけのメールよりも自らの感情などを表現豊かに伝えることが出来るとともに、華やかさを演出できるなどの効果があることから、広く普及しつつある。   In recent years, many people have portable communication terminals and use an electronic mail function in addition to a telephone call function. In addition to e-mails that simply send and receive text data, this e-mail function can change the background, character color and size of e-mails, and blink characters, send and receive e-mails in cHTML format. It is possible to send and receive e-mails with various effects such as moving to, or inputting characters in the frame. Such decorated e-mails are becoming widespread because they can convey their own emotions more expressively than text-only e-mails and can produce gorgeousness.

この装飾された電子メールのサービスは、各携帯電話会社によって提供されており、例えば株式会社エヌ・ティ・ティ・ドコモによって提供されるデコメールサービスなどがある。このデコメールサービスの仕組みは、下記非特許文献1及び非特許文献2などに開示されている。   This decorated e-mail service is provided by each mobile phone company, such as a deco-mail service provided by NTT DoCoMo, Inc. The mechanism of the decomail service is disclosed in Non-Patent Document 1 and Non-Patent Document 2 below.

株式会社エヌ・ティ・ティ・ドコモ、”デコメールサービスの仕組み”、[online]、<URL: http://www.nttdocomo.co.jp/service/imode/make/content/deco_mail/mechanism/>NTT DoCoMo, Inc., “Decomail Service Mechanism”, [online], <URL: http://www.nttdocomo.co.jp/service/imode/make/content/deco_mail/mechanism/> 大和 哲、”デコメールとは”、[online]、インプレス株式会社、インターネット<URL: http://k-tai.impress.co.jp/cda/article/keyword/17872.html>Satoshi Yamato, “What is Deco-mail”, [online], Impress Corporation, Internet <URL: http://k-tai.impress.co.jp/cda/article/keyword/17872.html>

しかし上述のような従来の装飾された電子メール機能を用いたとしても、電子メールの背景の画像に、通常のフォントを組み合わせているだけなので、文字や絵文字のみの電子メールよりは装飾が施されているもののまだ十分とは言えない。これは、メッセージを入力可能な領域が背景ごとに定められており、更に、メッセージの文字は、予め定められた行に従って表示されることに起因している。   However, even if the conventional decorated e-mail function as described above is used, only the normal font is combined with the background image of the e-mail. It is not enough yet. This is because an area in which a message can be input is determined for each background, and the characters of the message are displayed according to a predetermined line.

そのためその入力可能領域以外の領域にメッセージを表示させることは行えず、例えば背景が砂浜の画像データに、砂浜に文字を書いたようにメッセージを表示させたり、背景が壁の画像データに、メッセージをその壁に沿って表示させるようなことは行えない。そのため、装飾性や演出効果に欠けている。   For this reason, it is not possible to display a message in an area other than the input-enabled area. For example, a message is displayed on the sandy beach image data as if a message was written on the sandy beach, or a message is displayed on the wall image data. Cannot be displayed along the wall. For this reason, it lacks decoration and production effects.

本発明者は上記課題に鑑み、従来の装飾された電子メール機能よりも、より演出効果の高い電子メールを送信することが出来るテキスト合成処理システム及びそれを備える可搬型通信端末を発明した。   In view of the above problems, the inventor of the present invention invented a text composition processing system capable of transmitting an e-mail having a higher effect than the conventional decorated e-mail function, and a portable communication terminal including the same.

第1の発明は、画像データにテキストを合成するテキスト合成処理システムであって、前記テキスト合成処理システムは、画像データと、その画像データに合成させるテキストを表示させるフォント、表示位置、表示方向、表示サイズ、回転位置のうちいずれか一以上の情報とが対応づけられており、テンプレートとして記憶している画像データ記憶部と、ユーザによって選択されたテンプレートの画像データを前記画像データ記憶部から取得する画像データ取得部と、前記画像データに合成させるテキストの入力を受け付けるテキスト入力受付部と、前記選択されたテンプレートにおける表示位置、表示方向、表示サイズ、回転位置のうちいずれか一以上の情報に基づいて、前記テンプレートにおけるフォントの情報に基づくグリフデータで前記テキストを前記画像データに合成し、所定の記憶装置に記憶させる合成画像保存処理部と、を有するテキスト合成処理システムである。   1st invention is a text composition processing system which synthesize | combines a text with image data, Comprising: The said text composition processing system is a font for displaying image data and the text made to synthesize | combine with the image data, a display position, a display direction, One or more pieces of information of display size and rotation position are associated with each other, and the image data storage unit stored as a template and the image data of the template selected by the user are acquired from the image data storage unit An image data acquisition unit, a text input reception unit that receives input of text to be combined with the image data, and at least one piece of information among display position, display direction, display size, and rotation position in the selected template Based on the font information in the template Combining the text to the image data, a text combining processing system having a composite image storage processing unit for storing in a predetermined storage device.

本発明のように構成することで、ユーザは容易に、画像データにメッセージであるテキストを合成することが可能となる。この画像データを電子メールで送信すれば、装飾性及び演出効果の高い電子メールを送信することが出来る。   With the configuration according to the present invention, a user can easily synthesize text as a message with image data. If this image data is transmitted by e-mail, it is possible to transmit an e-mail with high decorativeness and effect.

第2の発明は、画像データにテキストを合成するテキスト合成処理システムであって、前記テキスト合成処理システムは、前記画像データを取得する画像データ取得部と、前記画像データに合成させるテキストの入力を受け付けるテキスト入力受付部と、前記テキストに含まれるグリフデータの種類の数に基づいて、前記テキストのグリフデータの解像度を設定するフォント処理部と、前記フォント処理部で設定された解像度のグリフデータで、前記画像データに前記グリフデータを合成し、所定の記憶装置に記憶させる合成画像保存処理部と、を有するテキスト合成処理システムである。   According to a second aspect of the present invention, there is provided a text composition processing system for synthesizing text with image data, wherein the text composition processing system receives an image data acquisition unit for acquiring the image data, and an input of the text to be combined with the image data. A text input receiving unit, a font processing unit for setting the resolution of the glyph data of the text based on the number of types of glyph data included in the text, and glyph data having a resolution set by the font processing unit. , A text composition processing system comprising: a composite image storage processing unit that synthesizes the glyph data with the image data and stores it in a predetermined storage device.

第3の発明は、画像データにテキストを合成するテキスト合成処理システムであって、前記テキスト合成処理システムは、前記画像データを取得する画像データ取得部と、前記画像データに合成させるテキストの入力を受け付け、前記テキストの表示位置、表示方向、表示サイズ、回転位置のいずれか一以上の情報を決定するテキスト処理部と、前記テキストに含まれるグリフデータの種類の数に基づいて、前記テキストのグリフデータの解像度を設定するフォント処理部と、前記テキスト処理部で決定した情報に基づいて、フォントのグリフデータで前記テキストを前記画像データに合成し、所定の記憶装置に記憶させる合成画像保存処理部と、を有しており、前記テキスト処理部は、前記フォント処理部で設定された解像度のグリフデータを、前記画像データにレンダリングして表示装置に表示させる、テキスト合成処理システムである。   A third aspect of the present invention is a text composition processing system that synthesizes text with image data, the text composition processing system receiving an image data acquisition unit that acquires the image data, and an input of the text to be combined with the image data. Based on the number of types of glyph data included in the text and a text processing unit that determines one or more information of receiving, displaying position, display direction, display size, and rotation position of the text, the glyph of the text A font processing unit for setting the resolution of data, and a composite image storage processing unit for synthesizing the text with the image data with glyph data of a font based on the information determined by the text processing unit, and storing it in a predetermined storage device And the text processing unit has a glyph data having a resolution set by the font processing unit. And the image data rendered to be displayed on the display device, a text combining processing system.

ユーザは自由にテキストを入力することから、テキストがすべてのグリフデータを使用する可能性もある。そしてユーザの入力に従って、それらのグリフデータが高速に再描画される必要があるが、このような処理を行うには、フォント処理に使用するメモリに容量が必要となる。しかし、容量に限定があるメモリを使用している可搬型通信端末などの場合では、すべてのグリフデータを展開してしまうと、上記を行えない問題点がある。そこで本発明の処理を行うことで、フォントに対するメモリの使用量を一定限度に抑え、上述の問題点を解消することが出来る。   Since the user is free to enter text, the text may use all glyph data. The glyph data needs to be redrawn at a high speed in accordance with the user's input. However, in order to perform such processing, the memory used for font processing needs to have a capacity. However, in the case of a portable communication terminal using a memory with limited capacity, there is a problem that the above cannot be performed if all glyph data are expanded. Therefore, by performing the processing of the present invention, the amount of memory used for the font can be suppressed to a certain limit, and the above-mentioned problems can be solved.

本発明のテキスト合成処理プログラムを可搬型端末で実行することによって、第1の発明を実現することが出来る。すなわち、画像データと、その画像データに合成させるテキストを表示させるフォント、表示位置、表示方向、表示サイズ、回転位置のうちいずれか一以上の情報とが対応づけられており、テンプレートとして記憶している記憶装置を備える可搬型端末を、ユーザによって選択されたテンプレートの画像データを前記記憶装置から取得する画像データ取得部、前記画像データに合成させるテキストの入力を受け付けるテキスト入力受付部、前記選択されたテンプレートにおける表示位置、表示方向、表示サイズ、回転位置のうちいずれか一以上の情報に基づいて、前記テンプレートにおけるフォントの情報に基づくグリフデータで前記テキストを前記画像データに合成し、所定の記憶装置に記憶させる合成画像保存処理部、として機能させるテキスト合成処理プログラムのように構成することが出来る。   The first invention can be realized by executing the text composition processing program of the present invention on a portable terminal. That is, the image data is associated with at least one of font, display position, display direction, display size, and rotation position for displaying text to be combined with the image data, and is stored as a template. A portable terminal including a storage device, an image data acquisition unit that acquires image data of a template selected by a user from the storage device, a text input reception unit that receives an input of text to be combined with the image data, the selected The text is combined with the image data with glyph data based on font information in the template based on any one or more of the display position, display direction, display size, and rotation position in the template. Function as a composite image storage processing unit to be stored in the device It can be configured as text synthesis processing program.

本発明のテキスト合成処理プログラムを可搬型端末で実行することによって、第2の発明を実現することが出来る。可搬型端末を、画像データを取得する画像データ取得部、前記画像データに合成させるテキストの入力を受け付けるテキスト入力受付部、前記テキストに含まれるグリフデータの種類の数に基づいて、前記テキストのグリフデータの解像度を設定するフォント処理部、前記フォント処理部で設定された解像度のグリフデータで、前記画像データに前記グリフデータを合成し、所定の記憶装置に記憶させる合成画像保存処理部、として機能させるテキスト合成処理プログラムのように構成することが出来る。   By executing the text composition processing program of the present invention on a portable terminal, the second invention can be realized. Based on the number of types of glyph data included in the text, an image data acquisition unit that acquires image data, a text input reception unit that receives input of text to be combined with the image data, and a glyph of the text Functions as a font processing unit for setting data resolution, and a composite image storage processing unit for combining the glyph data with the image data with the glyph data having the resolution set by the font processing unit and storing the data in a predetermined storage device The text composition processing program can be configured.

本発明のテキスト合成処理プログラムを可搬型端末で実行することによって、第3の発明を実現することが出来る。可搬型端末を、画像データを取得する画像データ取得部、前記画像データに合成させるテキストの入力を受け付け、前記テキストの表示位置、表示方向、表示サイズ、回転位置のいずれか一以上の情報を決定するテキスト処理部、前記テキストに含まれるグリフデータの種類の数に基づいて、前記テキストのグリフデータの解像度を設定するフォント処理部、前記テキスト処理部で決定した情報に基づいて、フォントのグリフデータで前記テキストを前記画像データに合成し、所定の記憶装置に記憶させる合成画像保存処理部、として機能させるテキスト合成処理プログラムであって、前記テキスト処理部は、前記フォント処理部で設定された解像度のグリフデータを、前記画像データにレンダリングして表示装置に表示させる、テキスト合成処理プログラムのように構成することが出来る。   The third invention can be realized by executing the text composition processing program of the present invention on a portable terminal. An image data acquisition unit that acquires image data from a portable terminal, accepts input of text to be combined with the image data, and determines one or more pieces of information on the display position, display direction, display size, and rotation position of the text A text processing unit, a font processing unit for setting a resolution of the glyph data of the text based on the number of types of glyph data included in the text, and a glyph data of the font based on information determined by the text processing unit And a text composition processing program that functions as a composite image storage processing unit that synthesizes the text with the image data and stores it in a predetermined storage device, wherein the text processing unit has a resolution set by the font processing unit. Text glyph data is rendered into the image data and displayed on a display device. It can be configured as processing program.

また上述の各発明のテキスト合成処理プログラムは、可搬型通信端末に備えることが好ましい。   Moreover, it is preferable that the text composition processing program of each of the above-described inventions is provided in a portable communication terminal.

また、前記可搬型通信端末は、前記テキスト合成処理プログラムにおいて生成した合成画像データを、電子メールのデータとして送信する電子メール処理部を備える、可搬型通信端末であることが好ましい。   The portable communication terminal is preferably a portable communication terminal including an e-mail processing unit that transmits the synthesized image data generated in the text synthesis processing program as e-mail data.

本発明の可搬型通信端末のテキスト合成処理システムにより生成された合成画像データを電子メールとして送信することによって、従来の装飾された電子メールよりも、装飾性が高く、且つ演出効果の高い電子メールを実現することが出来る。
E-mail with higher decorativeness and higher production effect than conventional decorated e-mail by sending the synthesized image data generated by the text composition processing system of the portable communication terminal of the present invention as e-mail Can be realized.

本発明の可搬型通信端末1のハードウェア構成の一例を図1に示す。本発明の可搬型通信端末1では、プログラムの演算処理を実行するCPUなどの演算装置10と、情報を記憶するRAMやROMなどの記憶装置11と、ディスプレイなどの表示装置12と、キーパッドやキーボードなどの文字や数字、記号などの入力を行う入力装置13と、演算装置10の処理結果や記憶装置11に記憶する情報をインターネットなどのネットワークを介して送受信する通信装置14と、撮像装置15と、可搬型通信端末1における傾き方向、傾き量などを検出する動き検出装置16などを有している。   An example of the hardware configuration of the portable communication terminal 1 of the present invention is shown in FIG. In the portable communication terminal 1 of the present invention, an arithmetic device 10 such as a CPU that executes arithmetic processing of a program, a storage device 11 such as a RAM or ROM that stores information, a display device 12 such as a display, a keypad, An input device 13 for inputting characters, numbers, symbols and the like such as a keyboard, a communication device 14 for transmitting and receiving processing results of the arithmetic device 10 and information stored in the storage device 11 via a network such as the Internet, and an imaging device 15 And a motion detection device 16 that detects a tilt direction, a tilt amount, and the like in the portable communication terminal 1.

動き検出装置16は、可搬型通信端末1に備えられた加速度センサーや傾きセンサー、ジャイロなどが一例としてある。つまり可搬型通信端末1が傾けられた方向やその傾き量などを検出する装置であれば如何なるものであっても良い。また上記のようなセンサーやジャイロのほか、可搬型通信端末1の外側または内側に備えられた撮像装置15で撮像したデータを用いて、可搬型通信端末1の傾けられた方向や傾き量などを検出しても良い。この場合、撮像装置15で撮像した画像データに基づいて、傾き方向や傾き量などが所定の処理プロセスによって処理されることで、動き検出装置16を実現する。   Examples of the motion detection device 16 include an acceleration sensor, a tilt sensor, and a gyro provided in the portable communication terminal 1. That is, any device that detects the direction in which the portable communication terminal 1 is tilted, the amount of tilt, and the like may be used. In addition to the sensors and gyros as described above, the direction and amount of tilt of the portable communication terminal 1 can be determined using data captured by the imaging device 15 provided outside or inside the portable communication terminal 1. It may be detected. In this case, the motion detection device 16 is realized by processing the tilt direction, the tilt amount, and the like by a predetermined processing process based on the image data captured by the image capturing device 15.

また本発明の可搬型通信端末1に備える、ユーザの入力したテキストと背景の画像データとを合成処理するテキスト合成処理システム2(以下、「テキスト合成処理システム2」)は、可搬型通信端末1において、所定のプログラムやモジュールが実行されることにより実現される。本発明における各手段は、その機能が論理的に区別されているのみであって、物理上あるいは事実上は同一の領域を為していても良い。   A text compositing processing system 2 (hereinafter referred to as “text compositing processing system 2”), which is provided in the portable communication terminal 1 of the present invention and synthesizes text input by a user and background image data, is referred to as a portable communication terminal 1. In FIG. 4, the program is realized by executing a predetermined program or module. Each means in the present invention is only logically distinguished in function, and may be physically or practically the same area.

可搬型通信端末1の演算装置10で実行されるテキスト合成処理システム2は、画像データ記憶部3と画像データ取得部4とテキスト処理部5と合成画像保存処理部6と合成画像データ記憶部7とを有する。図2にテキスト合成処理システム2の機能構成の一例を模式的に示す。   The text composition processing system 2 executed by the arithmetic device 10 of the portable communication terminal 1 includes an image data storage unit 3, an image data acquisition unit 4, a text processing unit 5, a composite image storage processing unit 6, and a composite image data storage unit 7. And have. FIG. 2 schematically shows an example of the functional configuration of the text composition processing system 2.

画像データ記憶部3は、電子メールで送信する際の背景となる画像データ、特に好ましくは可搬型通信端末1の撮像装置15で撮像した画像データを記憶する。なお撮像装置15で撮像した画像データのみならず、ウェブサイトからダウンロードした画像データ、ほかのコンピュータ端末や可搬型通信端末1から受信した画像データなどであっても良い。また予め記憶された画像データであっても良い。   The image data storage unit 3 stores image data as a background when transmitting by e-mail, particularly preferably image data captured by the imaging device 15 of the portable communication terminal 1. In addition to image data captured by the imaging device 15, image data downloaded from a website, image data received from another computer terminal or the portable communication terminal 1, and the like may be used. Further, it may be image data stored in advance.

画像データ取得部4は、テキスト合成処理システム2で用いる、背景となる画像データを画像データ記憶部3から取得する。   The image data acquisition unit 4 acquires background image data used in the text composition processing system 2 from the image data storage unit 3.

テキスト処理部5は、画像データ取得部4で取得した、背景となる画像データに合成する、テキストやそのフォント、テキストの表示位置、表示方向、表示サイズ、回転位置、色などの情報にかかる処理を実行する。テキスト処理部5は、更に、テキスト入力受付部51とフォント選択受付部52と位置決定処理部53と方向決定処理部54とサイズ決定処理部55と回転位置決定処理部56とカラー決定処理部57とを有する。図3にテキスト処理部5の機能構成の一例を模式的に示す。なお本明細書において「テキスト」とは文字以外にも、数字、記号、特殊記号、絵文字など、電子メールのメッセージに使用可能な情報であれば如何なるものであっても良い。   The text processing unit 5 performs processing related to information such as text and its font, text display position, display direction, display size, rotation position, and color to be synthesized with the background image data acquired by the image data acquisition unit 4. Execute. The text processing unit 5 further includes a text input reception unit 51, a font selection reception unit 52, a position determination processing unit 53, a direction determination processing unit 54, a size determination processing unit 55, a rotational position determination processing unit 56, and a color determination processing unit 57. And have. FIG. 3 schematically shows an example of the functional configuration of the text processing unit 5. In this specification, the “text” may be any information other than characters, such as numbers, symbols, special symbols, pictograms, and the like that can be used for an e-mail message.

合成画像保存処理部6は、テキスト処理部5で処理したテキストの表示位置などの情報に基づいて、そのテキストのグリフデータを、画像データ取得部4で取得した画像データに合成処理し、それを合成画像データとして後述する合成画像データ記憶部7に記憶させる。   The composite image storage processing unit 6 combines the glyph data of the text with the image data acquired by the image data acquisition unit 4 based on the information such as the display position of the text processed by the text processing unit 5, and processes it. The data is stored in a composite image data storage unit 7 described later as composite image data.

合成画像データ記憶部7は、合成画像保存処理部6において保存させた合成画像データを記憶する。ここで保存した合成画像データが電子メールのデータとして、送信先に送信される。   The composite image data storage unit 7 stores the composite image data stored in the composite image storage processing unit 6. The composite image data stored here is transmitted to the transmission destination as e-mail data.

上述のテキスト処理部5におけるテキスト入力受付部51は、画像データ取得部4で取得した画像に合成するテキストの入力を、可搬型通信端末1の入力装置13から受け付ける。ここで入力を受け付けたテキストのグリフデータがメッセージとして画像データに合成される。   The text input receiving unit 51 in the text processing unit 5 described above receives input of text to be combined with the image acquired by the image data acquiring unit 4 from the input device 13 of the portable communication terminal 1. Here, the glyph data of the text that has been accepted is combined with the image data as a message.

フォント選択受付部52は、テキスト入力受付部51で受け付けたテキストのフォントの選択を受け付ける。ここで選択されたフォントのグリフデータによりテキストが画像データに合成される。   The font selection accepting unit 52 accepts the selection of the text font accepted by the text input accepting unit 51. The text is synthesized with the image data by using the glyph data of the selected font.

位置決定処理部53は、入力されたテキストをどの位置で合成するか、の表示位置の決定処理を行う。この表示位置の決定処理の際には、入力装置13で入力された情報によってテキスト位置を上下左右に変更したり、可搬型通信端末1を前後左右に傾けることによって動き検出装置16でその傾き方向や傾き量を検出し、その検出した傾き方向や傾き量に応じてテキスト位置を上下左右に変更する。   The position determination processing unit 53 performs a display position determination process as to where the input text is to be combined. In this display position determination process, the motion position is changed by the motion detector 16 by changing the text position up, down, left, or right according to the information input by the input device 13 or by tilting the portable communication terminal 1 forward, backward, left, or right. And the amount of inclination are detected, and the text position is changed vertically and horizontally according to the detected inclination direction and amount.

方向決定処理部54は、位置決定処理部53において表示位置を決定したテキストについて、その表示方向の決定処理を行う。この表示方向の決定処理の際には、入力装置13で入力された情報によってテキストの表示方向を変更したり、可搬型通信端末1を前後左右に傾けることによって動き検出装置16でその傾き方向や傾き量を検出し、その検出した傾き方向に傾き量に応じて、テキストの表示方向を変更する。例えば可搬型通信端末1を前方向に傾けることによって、テキストの中心点が回転の中心点となり、前方向に傾けられる。また右方向に傾けた場合には、テキストの中心点から右方向に傾けられる。   The direction determination processing unit 54 performs a display direction determination process on the text whose display position has been determined by the position determination processing unit 53. In the process of determining the display direction, the direction of text display is changed by the information input by the input device 13, or the tilt direction of the portable communication terminal 1 is tilted forward / backward / left / right by the motion detection device 16. The inclination amount is detected, and the text display direction is changed in the detected inclination direction according to the inclination amount. For example, when the portable communication terminal 1 is tilted forward, the center point of the text becomes the center point of rotation and tilts forward. When it is tilted to the right, it is tilted to the right from the center point of the text.

サイズ決定処理部55は、位置決定処理部53、方向決定処理部54で表示位置、表示方向を決定したテキストについて、テキストの表示サイズの決定処理を行う。表示サイズの決定処理の際には、入力装置13で入力された情報によって表示サイズを上下左右方向に伸縮したり、可搬型通信端末1を前後左右に傾けることによって動き検出装置16でその傾き方向や傾き量を検出し、その検出した傾き方向に傾き量に応じて、表示サイズを上下左右方向に伸縮させる。   The size determination processing unit 55 performs text display size determination processing on the text whose display position and display direction are determined by the position determination processing unit 53 and the direction determination processing unit 54. In the process of determining the display size, the display size is expanded and contracted in the vertical and horizontal directions according to the information input by the input device 13, or the tilt direction is tilted by the motion detection device 16 by tilting the portable communication terminal 1 in the front and rear and right and left directions. And the tilt amount are detected, and the display size is expanded and contracted in the vertical and horizontal directions according to the tilt amount in the detected tilt direction.

回転位置決定処理部56は、位置決定処理部53、方向決定処理部54、サイズ決定処理部55で表示位置、表示方向、表示サイズを決定したテキストについて、テキストを回転させ、その位置を決定する処理を行う。回転位置の決定処理の際には、入力装置13で入力された情報によってテキストの中心点を回転の中心点として、テキストを時計回りまたは反時計回りに回転させたり、可搬型通信端末1を前後左右に傾けることによって動き検出装置16でその傾き方向や傾き量を検出し、その検出した傾き方向に傾き量に応じて、テキストの中心点を回転の中心点として、テキストを時計回りまたは反時計回りに回転させる。   The rotation position determination processing unit 56 rotates the text and determines the position of the text whose display position, display direction, and display size are determined by the position determination processing unit 53, the direction determination processing unit 54, and the size determination processing unit 55. Process. When the rotational position is determined, the text is rotated clockwise or counterclockwise with the center point of the text as the rotation center point according to the information input by the input device 13, or the portable communication terminal 1 is moved back and forth. The motion detection device 16 detects the tilt direction and the tilt amount by tilting left and right, and the text is rotated clockwise or counterclockwise with the center point of the text as the rotation center point according to the detected tilt direction. Rotate around.

カラー決定処理部57は、上述のテキストに対する各処理について、テキストのフォントが色つきであるかどうかを判定し、色つきでない場合には、テキストの色度、彩度及び明度を決定する処理を行う。この処理の際には、入力装置13で入力された情報によってテキストの色度、彩度及び明度を変更させたり、可搬型通信端末1を前後左右に傾けることによって動き検出装置16でその傾き方向や傾き量を検出し、その検出した傾き方向に傾き量に応じて、テキストの色度、彩度及び明度を変更させる。ここで、色度、彩度及び明度を決定するにあたり、HSV色空間を用いて値を指定しても良いし、それ以外の方法、例えばRGB色空間、HLS色空間などを用いて値を指定しても良い。   The color determination processing unit 57 determines whether or not the font of the text is colored for each process for the text described above, and determines the chromaticity, saturation, and lightness of the text if it is not colored. Do. In this process, the chromaticity, saturation, and brightness of the text are changed according to information input by the input device 13, or the tilt direction of the portable communication terminal 1 is tilted by the motion detection device 16 by tilting the portable communication terminal 1 back and forth. And the amount of inclination are detected, and the chromaticity, saturation, and brightness of the text are changed in the detected inclination direction according to the amount of inclination. Here, in determining chromaticity, saturation, and lightness, values may be specified using the HSV color space, or values may be specified using other methods such as the RGB color space, the HLS color space, and the like. You may do it.

なおテキスト処理部5における各処理手段の実行順番は任意であり、またそのすべてを実行せずとも、一部のみを実行しても良い。   The execution order of the processing means in the text processing unit 5 is arbitrary, and only a part of the processing means may be executed without executing all of them.

次に本発明の可搬型通信端末1を用いてテキスト合成処理システム2を機能させ、装飾された電子メール(以下、「電子メール」という)を送信する場合の一例を模式的に示す。   Next, an example in which the text composition processing system 2 is functioned using the portable communication terminal 1 of the present invention and a decorated electronic mail (hereinafter referred to as “electronic mail”) is transmitted is schematically shown.

なお以下の説明においては可搬型通信端末1が携帯電話機である場合を説明するが、それ以外にも、PHS、PDA、スマートフォンなどの端末であっても良い。   In the following description, a case where the portable communication terminal 1 is a mobile phone will be described, but other terminals such as a PHS, a PDA, and a smartphone may be used.

携帯電話機の利用者(ユーザ)は、携帯電話機に備えられた撮像装置15などで、電子メールの背景として使用する画像データを撮像する。撮像装置15で撮像した画像データは、携帯電話機の記憶装置11における画像データ記憶部3に記憶される。なお画像データ記憶部3には、電子メールの背景として使用する画像データのほか、使用しない画像データが記憶されていても良い。つまり、撮像した画像データ、携帯電話機で取得した画像データなどが記憶されていればよい。   A user (user) of the mobile phone images image data to be used as an e-mail background with the imaging device 15 provided in the mobile phone. The image data captured by the imaging device 15 is stored in the image data storage unit 3 in the storage device 11 of the mobile phone. The image data storage unit 3 may store image data that is not used in addition to image data that is used as the background of the e-mail. That is, it is only necessary to store captured image data, image data acquired by a mobile phone, and the like.

そしてユーザが本発明のテキスト合成処理システム2により電子メールを送信する場合には、携帯電話機の入力装置13を用いて所定の操作を行うことによって、テキスト合成システムを起動させる。この際に表示されるメニュー画面の一例が図5である。   When the user transmits an e-mail using the text composition processing system 2 of the present invention, the text composition system is activated by performing a predetermined operation using the input device 13 of the mobile phone. An example of the menu screen displayed at this time is shown in FIG.

なお図5の画面において、「オリジナル背景」とは、上述のように、背景として使用する画像データを先に撮像装置15で撮像するのではなく、「オリジナル背景」を選択することによって撮像装置15を起動させて撮像することによって、当該撮像した画像データが画像データ記憶部3に記憶されるとともに、背景画像として使用可能なように選択されるメニューである。また「データフォルダ」とは、上述のように予め撮像した画像データや、携帯電話機で取得した画像データなど、画像データ記憶部3に予め記憶されていた画像データを、背景として使用する場合のメニューである。「くも」「すなはま」とは、「くも」や「すなはま」の画像データとそれに対応するフォントの情報、テキストのグリフデータを合成する際の表示位置などの必要な情報が予め記憶されており、テンプレートとしてそれらを使用する場合のメニューである。「その他背景(ダウンロード)」とは、背景として使用する画像データを任意のウェブサイトからダウンロードして画像データ記憶部3に記憶させる場合のメニューである。   In the screen of FIG. 5, the “original background” means that, as described above, the image data used as the background is not first imaged by the imaging device 15 but is selected by selecting the “original background”. Is a menu that is selected so that the captured image data is stored in the image data storage unit 3 and can be used as a background image. The “data folder” is a menu used when image data stored in advance in the image data storage unit 3 such as image data captured in advance as described above or image data acquired by a mobile phone is used as a background. is there. “Spider” and “Sunahama” are necessary information such as the display position when combining the image data of “Spider” and “Sunahama” and the corresponding font information and text glyph data. This is a menu that is stored in advance and used as a template. “Other background (download)” is a menu when image data used as a background is downloaded from an arbitrary website and stored in the image data storage unit 3.

上述のように本実施例では、先に携帯電話機の撮像装置15で画像データを撮像し、その撮像した画像データの中から、背景として使用する画像データを選択する場合なので、ユーザは、図5のメニュー画面から「データフォルダ」を選択することで、背景として使用する画像データを選択する。   As described above, in this embodiment, since the image data is first picked up by the image pickup device 15 of the mobile phone, and the image data to be used as the background is selected from the picked-up image data, the user selects FIG. By selecting “Data Folder” from the menu screen, image data to be used as the background is selected.

ここで背景として使用する画像データが選択されると、受け付けた選択に基づいて、画像データ取得部4が、当該選択された画像データを画像データ記憶部3から取得する(S100)。つまり画像データ記憶部3に記憶されている、選択された画像データをロードすることとなる。   When image data to be used as a background is selected here, the image data acquisition unit 4 acquires the selected image data from the image data storage unit 3 based on the received selection (S100). That is, the selected image data stored in the image data storage unit 3 is loaded.

画像データ取得部4は、画像データ記憶部3から選択された画像データを取得(ロード)する場合、ロード対象として選択された画像データの縦あるいは横のサイズが携帯電話機の表示装置12の解像度より大きい場合、縦、横とも表示装置12の解像度以下になるようにアスペクト比を維持して縮小した画像データとしてロードする。また逆に、ロード対象として選択された画像データの縦、横のサイズが携帯電話機の表示装置12におけるアプリケーション表示領域(表示装置12の表示領域から、ピクト領域などの携帯電話機のバッテリー残量、電波状況などを示す表示領域を除いた領域。アプリケーションの表示に用いる領域)よりも大きい場合には、画像データをセンタリングしてロードする。   When the image data acquisition unit 4 acquires (loads) the selected image data from the image data storage unit 3, the vertical or horizontal size of the image data selected as the load target depends on the resolution of the display device 12 of the mobile phone. If it is large, the image data is loaded as reduced image data while maintaining the aspect ratio so that both the vertical and horizontal resolutions are lower than the resolution of the display device 12. Conversely, the vertical and horizontal sizes of the image data selected as the load target are the application display area on the display device 12 of the mobile phone (from the display area of the display device 12 to the remaining battery level of the mobile phone such as the pictogram region, If it is larger than the display area indicating the situation etc. (area used for displaying the application), the image data is centered and loaded.

また本実施例では画像データを画像データ記憶部3から取得する場合であったが、図5のメニュー画面において、「オリジナル背景」のように撮像装置15を起動させて撮像する場合には、その撮像時の画像データの解像度を表示装置12の解像度と同一に設定した上で撮像し、その撮像した画像データを画像データ記憶部3に記憶させることがよい。   Further, in this embodiment, the image data is acquired from the image data storage unit 3. However, when the imaging device 15 is activated and imaged like “original background” on the menu screen of FIG. It is preferable to set the resolution of the image data at the time of imaging to be the same as the resolution of the display device 12, and to store the captured image data in the image data storage unit 3.

以上のように画像データ取得部4は、電子メールの背景として使用する画像データを取得(ロード)する。背景として選択された画像データが図6であるとする。   As described above, the image data acquisition unit 4 acquires (loads) the image data used as the background of the e-mail. Assume that the image data selected as the background is shown in FIG.

次に、背景に合成するテキストにかかる処理をテキスト処理部5で実行する。まず、背景の画像データに合成するテキストの入力を行う。これは画像データ取得部4において背景として使用する画像データが選択されると、テキスト入力受付部51は、図7に示すようにメッセージ入力を促す画面を表示させ、ユーザが入力装置13から何らのボタン等を押下することによって、図8に示すテキストエディタを起動させる。そしてこのテキストエディタに、ユーザは、入力装置13からメッセージを入力する。ここで入力されたメッセージは、テキスト入力受付部51で受け付ける(S110)。例えば「こんにちは」と入力したとすると、それをテキスト入力受付部51が受け付ける。   Next, the text processing unit 5 executes processing related to the text to be combined with the background. First, text to be combined with background image data is input. When the image data used as the background is selected in the image data acquisition unit 4, the text input reception unit 51 displays a screen for prompting message input as shown in FIG. By pressing a button or the like, the text editor shown in FIG. 8 is activated. The user inputs a message from the input device 13 into the text editor. The message input here is received by the text input receiving unit 51 (S110). For example, if it is assumed that the input and "Hello", accept it is text input receiving unit 51.

このようにしてメッセージとするテキストの入力を受け付けると、フォント選択受付部52は、入力したテキストのフォントの選択を受け付ける(S120)。これはテキスト入力受付部51でテキストを受け付けると、フォント選択受付部52は、図9に示すようにフォント選択を促す画面を表示させ、当該背景の画像データに対して使用可能なフォントで、入力されたテキストのグリフデータを表示する(つまり入力したテキストを、使用可能なフォントのグリフデータでレンダリングして表示する)。この状態を示す画面が図10である。   When the input of the text as the message is received in this way, the font selection receiving unit 52 receives the selection of the font of the input text (S120). When the text is received by the text input receiving unit 51, the font selection receiving unit 52 displays a screen for prompting font selection as shown in FIG. 9, and is input in a font usable for the background image data. Displays the glyph data of the text that has been entered (that is, the rendered text is rendered with glyph data of an available font). A screen showing this state is shown in FIG.

この際に使用可能なフォントは、予め記憶装置11に記憶されていることが好ましい。またここでは使用可能なフォントとして2種類の場合を説明したが、3種類以上であっても良い。   The fonts that can be used at this time are preferably stored in the storage device 11 in advance. In addition, although two types of usable fonts have been described here, three or more types may be used.

使用可能なフォントのうち、ユーザは使用したいフォントを入力装置13から選択する(例えば上下キーを上下することで選択する)ことで、その選択をフォント選択受付部52で受け付け、選択されたフォントの識別情報(例えばフォント名など)を記憶する。   Among the usable fonts, the user selects a font to be used from the input device 13 (for example, by selecting the up / down key up / down), and the selection is received by the font selection receiving unit 52, and the selected font is selected. Identification information (such as a font name) is stored.

使用するフォントが選択されると、次に、テキストの表示位置を決定する処理を位置決定処理部53で行う(S130)。これはフォント選択受付部52で使用するフォントの選択を受け付けると、当該フォントのグリフデータでレンダリングしたテキストを、背景となる画像データの中心に表示させ、それとともに、図11に示すようなテキストの表示位置の決定を行うことを促す画面を表示する。なおS130以降のテキストに対する処理については、S120で選択されたフォントのグリフデータでレンダリングされたテキストに対する処理を説明しているが、単に「テキスト」との記載であっても「S120で選択されたフォントのグリフデータでレンダリングされたテキスト」に対する処理である。   When the font to be used is selected, the position determination processing unit 53 performs processing for determining the text display position (S130). When the selection of the font to be used is received by the font selection receiving unit 52, the text rendered with the glyph data of the font is displayed at the center of the background image data, and the text as shown in FIG. A screen that prompts the user to determine the display position is displayed. As for the processing for the text after S130, the processing for the text rendered with the glyph data of the font selected in S120 has been described. However, even the description “text” is simply “selected in S120”. This is processing for “text rendered with font glyph data”.

そしてユーザが携帯電話機を前後左右に傾けることで、その傾き方向、傾き量を動き検出装置16が検出する。そして、その傾き方向、傾き量の情報を動き検出装置16から位置決定処理部53が受け付けることによって、傾き方向、傾き量に応じて、当該テキストの表示位置を上下左右方向に移動させる。例えばユーザが携帯電話機を前方向に傾けた場合、テキストの表示位置は上方向に移動し、ユーザが携帯電話機を右方向に傾けた場合、テキストの表示位置は右方向に移動する。   Then, when the user tilts the mobile phone forward, backward, left and right, the motion detection device 16 detects the tilt direction and the tilt amount. Then, when the position determination processing unit 53 receives information about the tilt direction and the tilt amount from the motion detection device 16, the display position of the text is moved in the vertical and horizontal directions according to the tilt direction and the tilt amount. For example, when the user tilts the mobile phone forward, the text display position moves upward, and when the user tilts the mobile phone right, the text display position moves right.

図12はテキストの表示位置が初期状態(中心)の場合を示しており、図13は、図12の状態からユーザが携帯電話機を前方向に傾けたことによって、テキストの表示位置が上方向に移動したことを示す。   FIG. 12 shows a case where the text display position is in the initial state (center), and FIG. 13 shows that the text display position is upward when the user tilts the mobile phone forward from the state shown in FIG. Indicates that it has moved.

なお携帯電話機を傾けることでその傾き方向、傾き量に応じて表示位置を決定するほか、入力装置13において上下左右方向が入力され、その入力を位置決定処理部53で受け付けることによって当該テキストの表示位置を上下左右方向に移動させても良い。   In addition to determining the display position according to the tilt direction and the tilt amount by tilting the mobile phone, the input device 13 inputs the vertical and horizontal directions, and the position determination processing unit 53 receives the input to display the text. The position may be moved vertically and horizontally.

このようにしてユーザによって入力されたテキストの表示位置の情報、例えば画像データにおけるテキストの表示位置の相対座標の情報を記憶する。   Information on the text display position input by the user in this way, for example, information on the relative coordinates of the text display position in the image data is stored.

背景の画像データにおけるテキストの表示位置を決定すると、次にそのテキストの表示方向を決定する処理を方向決定処理部54で行う(S140)。これはまず、位置決定処理部53でテキストの表示位置を決定すると、図14に示すようなテキストの表示方向の決定を行うことを促す画面を表示する。   Once the text display position in the background image data has been determined, the direction determination processing unit 54 performs processing for determining the text display direction (S140). First, when the display position of the text is determined by the position determination processing unit 53, a screen for prompting the determination of the text display direction as shown in FIG. 14 is displayed.

そしてユーザが携帯電話機を前後左右に傾けることで、その傾き方向、傾き量を動き検出装置16が検出する。そして、その傾き方向、傾き量の情報を動き検出装置16から方向決定処理部54が受け付けることによって、傾き方向、傾き量に応じて、当該テキストの表示方向を変更する。   Then, when the user tilts the mobile phone forward, backward, left and right, the motion detection device 16 detects the tilt direction and the tilt amount. Then, when the direction determination processing unit 54 receives information about the tilt direction and the tilt amount from the motion detection device 16, the display direction of the text is changed according to the tilt direction and the tilt amount.

つまり、テキストの中心点を回転の中心点として、前方向に傾けられた場合にはx軸上から負の方向をみて時計回り、後ろ方向に傾けられた場合にはx軸上から負の方向をみて反時計回り、右方向に傾けられた場合にはy軸上から負の方向をみて時計回り、左方向に傾けられた場合にはy軸上から負の方向をみて反時計回りの方向に、テキストを回転させる。なお初期状態は、テキストの表示方向は、ユーザに対して正面方向であるとする。これを模式的に示すのが図15である。   In other words, with the center point of the text as the rotation center point, when tilted forward, it looks clockwise from the negative direction on the x-axis, and when tilted backward, negative direction from the top of the x-axis When it is tilted counterclockwise and tilted to the right, it looks clockwise from the negative direction on the y axis, and when tilted to the left, it looks counterclockwise when viewed from the negative direction on the y axis. Rotate the text. In the initial state, it is assumed that the text display direction is the front direction with respect to the user. This is schematically shown in FIG.

例えばユーザが携帯電話機を右方向に傾けた場合、図16に示すように、テキストの中心点から右方向に傾いた状態となる。   For example, when the user tilts the mobile phone to the right, as shown in FIG. 16, the user is tilted to the right from the center point of the text.

なお携帯電話機を傾けることでその傾き方向、傾き量に応じて表示方向を決定するほか、入力装置13において上下左右方向が入力され、その入力を方向決定処理部54で受け付けることによって当該テキストの表示方向を変更しても良い。   In addition to determining the display direction according to the tilt direction and the tilt amount by tilting the cellular phone, the input device 13 inputs the up / down / left / right directions, and the direction determination processing unit 54 receives the input to display the text. The direction may be changed.

このようにしてユーザによって入力されたテキストの表示方向の情報、例えばx軸、y軸に対する傾きの角度などの情報を記憶する。   Information on the display direction of the text input by the user in this way, for example, information such as the angle of inclination with respect to the x-axis and y-axis is stored.

テキストの表示方向を決定すると、次にそのテキストの表示サイズ(大きさ)を決定する処理をサイズ決定処理部55で行う(S150)。これは、方向決定処理部54でテキストの表示方向を決定すると、図17に示すようなテキストの表示サイズの決定を行うことを促す画面を表示する。   Once the text display direction is determined, the size determination processing unit 55 performs processing for determining the display size (size) of the text (S150). When the direction determination processing unit 54 determines the text display direction, a screen prompting the determination of the text display size as shown in FIG. 17 is displayed.

そしてユーザが携帯電話機を前後左右に傾けることで、その傾き方向、傾き量を動き検出装置16が検出する。そして、その傾き方向、傾き量の情報を動き検出装置16からサイズ決定処理部55が受け付けることによって、傾き方向、傾き量に応じて、当該テキストの表示サイズを変更する。   Then, when the user tilts the mobile phone forward, backward, left and right, the motion detection device 16 detects the tilt direction and the tilt amount. Then, when the size determination processing unit 55 receives information on the inclination direction and the inclination amount from the motion detection device 16, the display size of the text is changed according to the inclination direction and the inclination amount.

つまりテキストの中心点を表示サイズ変更の中心点とし、前方向に傾けられた場合にはテキストの高さを小さくし、後ろ方向に傾けられた場合にはテキストの高さを大きくし、右方向に傾けられた場合にはテキストの幅を大きくし、左方向に傾けられた場合にはテキストの幅を小さくするように、テキストの表示サイズを変更する。これを模式的に示すのが図18である。   In other words, the center point of the text is used as the center point of the display size change, the text height is reduced when tilted forward, the text height is increased when tilted backward, and the right direction The text display size is changed so that the text width is increased when tilted to the left, and the text width is decreased when tilted to the left. This is schematically shown in FIG.

例えばユーザが携帯電話機を左方向に傾けた場合、図19に示すように、テキストの幅が小さい状態となる。   For example, when the user tilts the mobile phone leftward, the text width is small as shown in FIG.

なおサイズ決定処理部55におけるテキストの表示サイズの決定処理の際には、テキストの表示サイズと背景の画像データの表示サイズとを比較し、テキストの表示サイズが背景の表示サイズを超えないようにその変更範囲に制限を設けても良い。また画像データの表示サイズの所定割合、例えば7割を超えないように変更範囲に制限を設けても良い。更に、その変更範囲として、テキストの表示サイズが所定の表示サイズ未満にならないように小さいサイズへの変更範囲の制限を設けても良い。   In the text display size determination process in the size determination processing unit 55, the text display size is compared with the display size of the background image data so that the text display size does not exceed the background display size. A restriction may be provided on the change range. Further, the change range may be limited so as not to exceed a predetermined ratio of the display size of the image data, for example, 70%. Furthermore, the change range may be limited to a small size so that the text display size does not become smaller than a predetermined display size.

なお携帯電話機を傾けることでその傾き方向、傾き量に応じて表示サイズを決定するほか、入力装置13において上下左右方向が入力され、その入力をサイズ決定処理部55で受け付けることによって当該テキストの表示サイズを変更しても良い。   In addition to determining the display size according to the tilt direction and tilt amount by tilting the cellular phone, the input device 13 inputs the vertical and horizontal directions, and the size determination processing unit 55 receives the input to display the text. You may change the size.

このようにしてユーザによって入力されたテキストの表示サイズの情報、例えばテキストの縦横のサイズの情報を記憶する。   Information on the display size of the text input by the user in this way, for example, information on the vertical and horizontal sizes of the text is stored.

テキストの表示サイズを決定すると、次にそのテキストの回転位置を決定する処理を回転位置決定処理部56で行う(S160)。これは、サイズ決定処理部55でテキストの表示サイズを決定すると、図20に示すようなテキストの回転位置の決定を行うことを促す画面を表示する。   Once the text display size is determined, the rotational position determination processing unit 56 performs a process for determining the rotational position of the text (S160). When the display size of the text is determined by the size determination processing unit 55, a screen prompting the determination of the text rotation position as shown in FIG. 20 is displayed.

そしてユーザが携帯電話機を左右に傾けることで、その傾き方向、傾き量を動き検出装置16が検出する。そして、その傾き方向、傾き量の情報を動き検出装置16から回転位置決定処理部56が受け付けることによって、傾き方向、傾き量に応じて、当該テキストの回転位置を決定する。   When the user tilts the mobile phone left and right, the motion detection device 16 detects the tilt direction and the tilt amount. Then, when the rotation position determination processing unit 56 receives the information on the inclination direction and the amount of inclination from the motion detection device 16, the rotation position of the text is determined according to the inclination direction and the amount of inclination.

つまりテキストの中心点を回転の中心点とし、右方向に傾けられた場合には中心点を中心として、ユーザからみて時計回りにテキストを回転させ、左方向に傾けられた場合には中心点を中心としてユーザからみて反時計回りにテキストを回転させる。なお初期状態は水平位置とする。これを模式的に示すのが図21である。   In other words, the center point of the text is the center point of rotation, and when it is tilted to the right, the text is rotated clockwise from the user's center, and when it is tilted to the left, the center point is The text is rotated counterclockwise as viewed from the user center. The initial state is the horizontal position. This is schematically shown in FIG.

例えばユーザが携帯電話機を左方向に傾けた場合、図22に示すように、テキストの中心点を中心として、反時計回りにテキストが回転した状態となる。   For example, when the user tilts the mobile phone leftward, as shown in FIG. 22, the text is rotated counterclockwise around the center point of the text.

なお携帯電話機を傾けることでその傾き方向、傾き量に応じて回転位置を決定するほか、入力装置13において左右方向が入力され、その入力を回転位置決定処理部56で受け付けることによって当該テキストの回転位置を変更しても良い。   In addition to determining the rotation position according to the tilt direction and the tilt amount by tilting the mobile phone, the left and right directions are input by the input device 13 and the rotation position determination processing unit 56 accepts the input to rotate the text. The position may be changed.

このようにしてユーザによって入力されたテキストの回転位置の情報、例えば水平状態から回転させた角度の情報を記憶する。   Information on the rotational position of the text input by the user in this way, for example, information on the angle rotated from the horizontal state is stored.

以上のようにして、テキストの表示位置、表示方向、表示サイズ、回転位置を決定すると、カラー決定処理部57は、当該テキストのフォントが色つきであるかどうかを判定し(S170)、色つきでない場合にはフォントに対する色度、その彩度及び明度の選択の処理をカラー決定処理部57で行う(S180、S190)。またテキストのフォントが色つきである場合には、S200の処理にうつる。なお、フォントが色つきであるとは、S120で選択したフォントについて、レンダリングすべき色度、及びその彩度と明度が定められている場合を意味しており、フォントが色つきでないとは、S120で選択したフォントについて、レンダリングすべき色度、及びその彩度と明度が定められていない場合を意味している。なお上述のテキストに対する各処理において、S120で選択したフォントが色つきである場合にはその色度、及び彩度と明度でレンダリングを行い、S120で選択したフォントが色つきではない場合には予め設定されている色度(好ましくは目立つ色)、及び彩度と明度でレンダリングを行った後、後述するS180及びS190の処理において、フォントに対して実際にレンダリングする色度、及び彩度と明度の決定を行う。   When the text display position, display direction, display size, and rotation position are determined as described above, the color determination processing unit 57 determines whether the font of the text is colored (S170). If not, the color determination processing unit 57 performs processing for selecting the chromaticity, the saturation, and the brightness of the font (S180, S190). If the text font is colored, the process proceeds to S200. Note that the font is colored means that the chromaticity to be rendered and the saturation and brightness are determined for the font selected in S120, and that the font is not colored. This means that the chromaticity to be rendered and the saturation and brightness are not defined for the font selected in S120. In each process for the text described above, if the font selected in S120 is colored, rendering is performed with the chromaticity, saturation, and lightness. If the font selected in S120 is not colored, the rendering is performed in advance. After rendering with the set chromaticity (preferably a conspicuous color), saturation and lightness, in the processing of S180 and S190 described later, the chromaticity, saturation and lightness actually rendered for the font Make a decision.

また上述のS170において、フォントに対して色つきであるか否かは以下のように判定すればよい。すなわちフォントのグリフデータはラスタ形式であって、アルファ値(アルファチャンネル)とRGB値とを有している。そしてフォントが色つきである場合にはアルファ値とRGB値とが設定されており、フォントが色つきでない場合にはアルファ値のみが設定されている(RGB値が設定されていない)。そこでフォントのグリフデータに対して、カラー決定処理部57は、RGB値が設定されていない場合にはフォントが色つきではないと判定し、RGB値が設定されている場合にはフォントが色つきであると判定すればよい。   In S170 described above, whether or not the font is colored may be determined as follows. That is, the glyph data of the font is in a raster format and has an alpha value (alpha channel) and an RGB value. When the font is colored, the alpha value and the RGB value are set. When the font is not colored, only the alpha value is set (no RGB value is set). Therefore, for the glyph data of the font, the color determination processing unit 57 determines that the font is not colored when the RGB value is not set, and the font is colored when the RGB value is set. What is necessary is just to determine that it is.

S170においてフォントが色つきではないと、カラー決定処理部57で判定すると、当該フォントの色度を決定する処理をカラー決定処理部57で行う(S180)。これは、回転位置決定処理部56でテキストの回転位置を決定し、テキストのフォントが色つきではないと判定した場合に、図23に示すようなテキスト(フォント)の表示色の決定を行うことを促す画面を表示する。   If the color determination processing unit 57 determines that the font is not colored in S170, the color determination processing unit 57 performs processing for determining the chromaticity of the font (S180). This is to determine the display color of the text (font) as shown in FIG. 23 when the rotation position determination processing unit 56 determines the rotation position of the text and determines that the font of the text is not colored. A screen prompting you to display is displayed.

なおテキストを表示する色度、及び彩度と明度を決定するカラー決定処理部57において、本実施例ではHSV色空間に基づいて決定する場合を説明するが、それ以外の色空間に基づいて決定することも出来る。   In this embodiment, the chromaticity for displaying text and the color determination processing unit 57 for determining the saturation and lightness are described based on the HSV color space. However, the color determination processing unit 57 determines based on the other color space. You can also

まずユーザが携帯電話機を左右に傾けることで、その傾き方向、傾き量を動き検出装置16が検出する。そして、その傾き方向、傾き量の情報を動き検出装置16からカラー決定処理部57が受け付けることによって、傾き方向、傾き量に応じて、HSV環上のHue値を決定する。   First, when the user tilts the mobile phone left and right, the motion detection device 16 detects the tilt direction and the tilt amount. Then, when the color determination processing unit 57 receives the information on the inclination direction and the inclination amount from the motion detection device 16, the Hue value on the HSV ring is determined according to the inclination direction and the inclination amount.

これを模式的に示す画面の一例が図24である。   FIG. 24 shows an example of a screen schematically showing this.

例えばユーザが携帯電話機を右方向に傾けた場合にはその傾き量に応じて、ユーザからみて時計回りに選択マークがHSV環上を移動し、それに伴ってHue値(色度)が増加する。また左方向に傾けた場合にはその傾き量に応じて、ユーザからみて反時計回りに選択マークがHSV環上を移動し、それに伴ってHue値が減少する。そしてその各時点において対応したHue値で当該テキストを、選択されたフォントでレンダリングして表示を行う。このような操作によってテキスト(フォント)の色度が初期値(緑色)から赤色に変更された場合を模式的に示すのが図25である。   For example, when the user tilts the mobile phone to the right, the selection mark moves on the HSV ring clockwise as viewed from the user according to the amount of tilt, and the Hue value (chromaticity) increases accordingly. When tilted to the left, the selection mark moves on the HSV ring counterclockwise as viewed from the user, and the Hue value decreases accordingly. Then, the text is rendered with the selected font at the corresponding Hue value and displayed. FIG. 25 schematically shows a case where the chromaticity of the text (font) is changed from the initial value (green) to red by such an operation.

なお携帯電話機を傾けることでその傾き方向、傾き量に応じて色度を決定するほか、入力装置13において左右方向が入力され、その入力をカラー決定処理部57で受け付けることによって当該テキスト(フォント)の色度を決定しても良い。   In addition to determining the chromaticity according to the tilt direction and the tilt amount by tilting the mobile phone, the left and right directions are input by the input device 13, and the input is received by the color determination processing unit 57, thereby the text (font). The chromaticity may be determined.

このようにしてユーザによって入力されたテキストの色度(Hue値など)の情報を記憶する。   Information on the chromaticity (Hue value, etc.) of the text input by the user in this way is stored.

このようにしてテキストの色度を決定すると、当該フォントの彩度及び明度を決定する処理をカラー決定処理部57で行う(S190)。これは、カラー決定処理部57でテキスト(フォント)の色度を決定し、図26に示すようなテキスト(フォント)の彩度及び明度の決定を行うことを促す画面を表示する。   When the chromaticity of the text is determined in this way, the color determination processing unit 57 performs processing for determining the saturation and lightness of the font (S190). This displays a screen that prompts the color determination processing unit 57 to determine the chromaticity of the text (font) and to determine the saturation and brightness of the text (font) as shown in FIG.

そしてユーザが携帯電話機を前後左右に傾けることで、その傾き方向、傾き量を動き検出装置16が検出する。そして、その傾き方向、傾き量の情報を動き検出装置16からカラー決定処理部57が受け付けることによって、傾き方向、傾き量に応じて、HSV環上のSaturation値(彩度)、Value値(明度)を決定する。   Then, when the user tilts the mobile phone forward, backward, left and right, the motion detection device 16 detects the tilt direction and the tilt amount. Then, when the color determination processing unit 57 receives the information on the inclination direction and the inclination amount from the motion detection device 16, the saturation value (saturation) and the value value (lightness) on the HSV ring according to the inclination direction and the inclination amount. ).

これを模式的に示す画面の一例が図27である。   FIG. 27 shows an example of a screen schematically showing this.

例えばユーザが携帯電話機を前方向に傾けた場合にはその傾き量に応じて、選択マークがHSV環の三角形において上方に移動し、それに伴ってSaturation値が増加し、後ろ方向に傾けた場合にはその傾き量に応じて、選択マークがHSV環の三角形において下方に移動し、それに伴ってSaturation値が減少する。また右方向に傾けた場合には、選択マークがHSV環の三角形において右方に移動し、それに伴ってValue値が増加し、左方向に傾けた場合には、選択マークがHSV環の三角形において左方に移動し、それに伴ってValue値が減少する。そしてその各時点において対応したSaturation値、Value値で当該テキストを、選択されたフォントでレンダリングして表示を行う。このような操作によってテキスト(フォント)の彩度及び明度が決定された場合を模式的に示すのが図28である。なおSaturation値の初期値は100%、Value値の初期値は50%とする。   For example, when the user tilts the mobile phone forward, the selection mark moves upward in the triangle of the HSV ring according to the amount of the tilt, and the Saturation value increases accordingly and tilts backward. In accordance with the amount of inclination, the selection mark moves downward in the triangle of the HSV ring, and the saturation value decreases accordingly. In addition, when tilted to the right, the selection mark moves to the right in the triangle of the HSV ring, and the value increases accordingly, and when tilted to the left, the selection mark moves to the triangle of the HSV ring. Moving to the left, the Value value decreases accordingly. Then, the text is rendered with the selected font at the corresponding Saturation value and Value value and displayed. FIG. 28 schematically shows a case where the saturation and brightness of text (font) are determined by such an operation. The initial value of the saturation value is 100%, and the initial value of the value value is 50%.

また携帯電話機を傾けることでその傾き方向、傾き量に応じて彩度及び明度を決定するほか、入力装置13において上下左右方向が入力され、その入力をカラー決定処理部57で受け付けることによって当該テキスト(フォント)の彩度及び明度を決定しても良い。   In addition to determining the saturation and brightness according to the tilt direction and the tilt amount by tilting the mobile phone, the input device 13 inputs the up / down / left / right directions, and accepts the input by the color determination processing unit 57 to thereby receive the text. The saturation and lightness of (font) may be determined.

このようにしてユーザによって入力されたテキストの彩度及び明度(Saturation値、Value値)の情報を記憶する。   In this way, information on the saturation and brightness (saturation value, value value) of the text input by the user is stored.

なお上記のように決定したHSV値を所定の方法でRGB値に変換し、グリフデータのRGB値に用いても良い。   The HSV value determined as described above may be converted into an RGB value by a predetermined method and used as the RGB value of the glyph data.

以上のようなテキスト処理部5における各処理を実行することで、背景として選択された画像データに、ユーザが入力したテキストを、希望する表示位置、表示方向、表示サイズ、回転位置、色度、彩度及び明度で合成することが出来る。   By executing the processes in the text processing unit 5 as described above, the text input by the user is added to the image data selected as the background, and the desired display position, display direction, display size, rotation position, chromaticity, It can be synthesized with saturation and brightness.

カラー決定処理部57において彩度及び明度を決定すると、ユーザが携帯電話機において、画像を合成して保存する所定の操作を入力装置13から入力することで、その入力を受け付ける。そして、合成画像保存処理部6は、テキスト処理部5の各処理で取得した各情報に基づいて、画像データ取得部4で取得(ロード)した画像データと、テキスト入力受付部51で受け付けたテキストを、フォント選択受付部52で選択したフォントのグリフデータとを合成し、合成画像データとして合成画像データ記憶部7に記憶させる(S200)。このようにして合成された合成画像データの一例が図38である。   When the saturation and lightness are determined by the color determination processing unit 57, the user inputs a predetermined operation for synthesizing and saving an image from the input device 13 on the mobile phone, thereby receiving the input. The composite image storage processing unit 6 then acquires the image data acquired (loaded) by the image data acquisition unit 4 based on the information acquired by each process of the text processing unit 5 and the text received by the text input reception unit 51. Are combined with the glyph data of the font selected by the font selection receiving unit 52 and stored in the combined image data storage unit 7 as combined image data (S200). An example of the synthesized image data synthesized in this way is shown in FIG.

以上のようにして生成された合成画像データを電子メールに挿入することによって、従来の装飾された電子メールよりも、演出効果の高い電子メールを送信することが可能となる。特に、従来の装飾された電子メールでは、テキストの入力位置などが定められていたが、テキストを背景となる画像データにあうように、その表示位置や方向、サイズなど様々にユーザがアレンジして生成した合成画像データを電子メールとして送信することが可能となる。   By inserting the composite image data generated as described above into an e-mail, it is possible to send an e-mail with a higher effect than the conventional decorated e-mail. In particular, in the conventional decorated e-mail, the input position of the text is determined, but the user arranges the display position, direction, size, etc. in various ways so that the text matches the background image data. The generated composite image data can be transmitted as an e-mail.

実施例1における各処理を実行することによって、背景として選択した画像データにテキストのグリフデータを合成することが出来るが、単に合成するだけでは、背景の画像データにおける環境光がテキストのグリフデータに及んでいないため、綺麗になじまない。   By executing each processing in the first embodiment, text glyph data can be combined with image data selected as a background. However, simply by combining the ambient light in the background image data into text glyph data. Because it doesn't reach, it doesn't fit nicely.

そこで上述の実施例1において、更に、環境光を反映した上で合成処理を、合成画像保存処理部6が行うと良い。   Therefore, in the above-described first embodiment, the combined image storage processing unit 6 may perform the combining process after reflecting the ambient light.

具体的には、上記画像データにおいて、テキストのグリフデータを配置する範囲のピクセルの明度の平均を合成画像保存処理部6で算出し、またその範囲の画像データのピクセルの明度のガウスぼかし(ガウスぼかしはガウスぼかし関数などを用いることによって算出可能である)を合成画像保存処理部6で算出し、テキストのグリフデータの各ピクセルについて、その位置のガウスぼかし明度が、上記で算出した平均明度より高ければグリフデータのピクセルの明度を所定値だけ高くし、そうでない場合には当該ピクセルの明度を所定値だけ低くする処理を実行する。なお、ガウスぼかし以外の平滑化処理の方法を用いて同様の処理を実行することも出来る。   Specifically, in the image data, the average brightness of the pixels in the range where the glyph data of the text is arranged is calculated by the composite image storage processing unit 6, and the Gaussian blur (Gaussian blur) of the brightness of the pixels of the image data in the range is performed. (The blur can be calculated by using a Gaussian blur function or the like) is calculated by the composite image storage processing unit 6, and the Gaussian blur lightness at the position of each pixel of the text glyph data is calculated based on the average lightness calculated above. If it is higher, the brightness of the pixel of the glyph data is increased by a predetermined value, and if not, the process of lowering the brightness of the pixel by a predetermined value is executed. Note that the same processing can be executed using a smoothing method other than Gaussian blurring.

以上のような処理を行うことで、環境光を背景の画像データになじませる処理を実現することが可能となり、背景の画像データとテキストがより馴染むこととなる。   By performing the processing as described above, it is possible to realize processing for adapting ambient light to the background image data, and the background image data and the text become more familiar.

上述のテキスト処理部5における各処理では、S120でユーザが選択したフォントで当該テキストのグリフデータをリアルタイムにレンダリングしながら処理を実行している。これはユーザによる入力値をリアルタイムに反映することで、ユーザがその入力結果を容易に認識できるようにするためである。   In each process in the text processing unit 5 described above, the process is executed while rendering the glyph data of the text in real time with the font selected by the user in S120. This is because the input value by the user is reflected in real time so that the user can easily recognize the input result.

そのためには背景とした画像データにテキストのグリフデータを高速にレンダリングする必要があるが、携帯電話機の場合にはパーソナルコンピュータなどとは異なり、その性能に限界があることから、そのままでは困難である。   For that purpose, text glyph data needs to be rendered at high speed on the background image data, but in the case of a mobile phone, unlike a personal computer, its performance is limited, so it is difficult as it is. .

このような問題点から、画像処理を行う場合には、その処理性能に併せて画質を落とすなどによって処理速度の向上を図ることが従前より行われている。しかし、その場合、生成される合成画像データも低画質となってしまうこととなるが、ユーザは高画質の画像データを送信することを望んでいる。特に近年のように、携帯電話機の撮像装置15の高画質化が進んでいる状態においてはなおのことである。   From such a problem, when image processing is performed, it has been conventionally attempted to improve the processing speed by reducing the image quality in accordance with the processing performance. In this case, however, the generated composite image data also has low image quality, but the user desires to transmit high-quality image data. This is particularly true in recent years when the image quality of the imaging device 15 of the mobile phone is increasing.

そこで上述の実施例1の処理において、処理に負荷がかかるテキストの表示位置の決定処理、表示方向の決定処理、表示サイズの決定処理、回転位置の決定処理、カラー決定処理については、高速モードで実行するものの、合成画像を保存する処理については、高画質モードで処理を行わせるように構成することも出来る。   Therefore, in the process of the first embodiment, the text display position determining process, the display direction determining process, the display size determining process, the rotation position determining process, and the color determining process which are burdensome on the process are performed in the high-speed mode. Although executed, the process of saving the composite image can be configured to perform the process in the high image quality mode.

つまり位置決定処理部53、方向決定処理部54、サイズ決定処理部55、回転位置決定処理部56、カラー決定処理部57においては、その処理の負荷を軽減するために、実施例2における環境光に対する処理及びアンチエイリアス処理を行わずに各手段における処理を実行する。つまり環境光に対する処理、アンチエイリアス処理を行うことによって、テキストのグリフデータと背景の画像データとは綺麗に馴染むこととなるが、これらの処理には負荷が発生することから、処理能力が高くない携帯電話機の場合には描画が遅延し、操作に対するストレスになりかねない。またテキスト処理部5における各処理は、背景の画像データにどのようにテキストのグリフデータを合成するか、その表示位置、表示方向、表示サイズ、回転位置、グリフデータの色度、彩度及び明度(HSV値)を決定することが重要であって、それさえ決まれば、それらの各情報に基づいて、合成画像保存処理部6における、背景の画像データとテキストのグリフデータとの合成処理の際にのみ環境光に対する処理、アンチエイリアス処理を行えば何等不都合はない。なぜならば実際に電子メールで送信される合成画像データは、合成画像保存処理部6で合成された後の画像データのみであって、テキストをどの位置に表示させるか、といったことを決定する際の画像データは、電子メールで送信されないからである。   That is, in the position determination processing unit 53, the direction determination processing unit 54, the size determination processing unit 55, the rotation position determination processing unit 56, and the color determination processing unit 57, the environmental light in the second embodiment is reduced in order to reduce the processing load. The processing in each means is executed without performing the processing for and the antialiasing processing. In other words, by performing processing for ambient light and anti-aliasing processing, the text glyph data and the background image data will be blended cleanly. In the case of a telephone, drawing is delayed, which may cause stress on the operation. Each process in the text processing unit 5 is how to combine the glyph data of the text with the background image data, its display position, display direction, display size, rotation position, chromaticity, saturation and brightness of the glyph data. It is important to determine the (HSV value), and if it is determined, the composite image storage processing unit 6 performs the composite processing of the background image data and the text glyph data based on each information. There is no inconvenience if only processing for ambient light and anti-aliasing are performed. This is because the combined image data that is actually transmitted by e-mail is only the image data that has been combined by the combined image storage processing unit 6, and at which position the text is to be displayed is determined. This is because the image data is not transmitted by electronic mail.

そこで上述の位置決定処理部53、方向決定処理部54、サイズ決定処理部55、回転位置決定処理部56、カラー決定処理部57における各処理の際に、テキストのグリフデータを背景の画像データにレンダリングする場合には、高速モードとして環境光に対する処理、アンチエイリアス処理のいずれかまたは双方を行わないことによって、携帯電話機に対する負荷を軽減し、それらの処理を高速に実現する。その一方で、合成画像保存処理部6でテキストのグリフデータと背景の画像データとを合成する際には、上述の各処理における各情報に基づいて、実施例2の環境光に対する処理、アンチエイリアス処理を行うことで高画質の合成画像データとすることが出来る。   Therefore, the text glyph data is converted into the background image data in each processing in the position determination processing unit 53, the direction determination processing unit 54, the size determination processing unit 55, the rotation position determination processing unit 56, and the color determination processing unit 57 described above. In the case of rendering, the load on the mobile phone is reduced by not performing either or both of the processing for the ambient light and the anti-aliasing as the high-speed mode, and the processing is realized at high speed. On the other hand, when the synthesized image storage processing unit 6 synthesizes the text glyph data and the background image data, based on the information in each process described above, the process for the ambient light and the anti-aliasing process in the second embodiment. By performing the above, it is possible to obtain high-quality composite image data.

携帯電話機に備える撮像装置15で撮像した場合、撮像された画像データにはレンズ歪みが存在する。そしてレンズ歪みを考慮せずにテキストのグリフデータを合成すると、画像データの辺縁部について、特に綺麗に馴染まない。そこで合成画像保存処理部6は、レンズ歪みも加味してテキストのグリフデータを、背景の画像データに合成すると良い。   When an image is captured by the imaging device 15 provided in the mobile phone, the captured image data includes lens distortion. When text glyph data is synthesized without taking lens distortion into consideration, the edge of the image data is not particularly well-suited. Therefore, the synthesized image storage processing unit 6 may synthesize text glyph data with background image data in consideration of lens distortion.

例えば、格子を撮像した場合、レンズ歪みが存在しないとするならば図29のように撮像されるはずである。そこに図30に示す格子を合成するとしたら、綺麗に馴染み、図31のようになる。ここで図29が上述の背景の画像データであり、図30の格子がテキストのグリフデータに相当する。   For example, when a lattice is imaged, if there is no lens distortion, the image should be captured as shown in FIG. If the lattice shown in FIG. 30 is synthesized there, it will become familiar and become as shown in FIG. Here, FIG. 29 shows the background image data, and the grid in FIG. 30 corresponds to text glyph data.

しかし実際に、図29と同一の格子を撮像した場合、レンズ歪みが存在することから、その撮像された画像データは図32のようになる(なお図32では、わかりやすさのため、レンズ歪みを強調して示している)。そこに図30の格子を合成したとしても、図33に示すように、背景の画像データのレンズ歪みがテキストのグリフデータにまで及ばず、合成した画像も馴染まないものとなる。   However, in reality, when the same lattice as in FIG. 29 is imaged, lens distortion exists, so the imaged image data is as shown in FIG. 32 (in FIG. 32, the lens distortion is emphasized for ease of understanding). As shown). Even if the grid of FIG. 30 is synthesized there, as shown in FIG. 33, the lens distortion of the background image data does not reach the glyph data of the text, and the synthesized image becomes unfamiliar.

そこで本実施例では、更に上述の実施例1乃至実施例3に加え、背景の画像データのレンズ歪みを加味してテキストのグリフデータを合成する処理を行う場合を説明する。   Therefore, in the present embodiment, a case will be described in which, in addition to the above-described first to third embodiments, processing for synthesizing text glyph data in consideration of lens distortion of background image data is described.

まず本実施例においては、テキストのグリフデータ全体を一つの矩形とせず、一辺が所定ピクセル(例えば40ピクセル)のメッシュに分け、その各メッシュに対して数1により樽型歪みの補正処理を行った上で合成処理を行う。

Figure 2009282815
ただし画像データの中心を(0,0)とし、画像データの縦横サイズが(2w,2h)、メッシュの頂点の歪み適用前の座標が(x,y)、適用後の座標が(dx,dy)、歪み係数をdとする。 First, in this embodiment, the entire text glyph data is not made one rectangle, but is divided into meshes each having a predetermined pixel (for example, 40 pixels), and barrel distortion correction processing is performed on each mesh according to Equation (1). Then, the composition process is performed.
Figure 2009282815
However, the center of the image data is (0, 0), the vertical and horizontal size of the image data is (2w, 2h), the coordinates of the vertex of the mesh before the distortion application is (x, y), and the coordinates after the application are (dx, dy) ), And let d be the distortion coefficient.

なお上述の数1において歪み係数dは、携帯電話機に備えられた撮像装置15のレンズによって異なるが、例えば−0.04などの値を用いることが出来る。   In the above equation 1, the distortion coefficient d varies depending on the lens of the imaging device 15 provided in the mobile phone, but a value such as −0.04 can be used.

以上のような処理を合成画像保存処理部6が、テキストのグリフデータを背景の画像データに合成する処理を行う際に実行することで、レンズ歪みをも加味した、より馴染んだ合成画像データとすることが出来る。図34に、上述のレンズ歪みの補正処理を行った場合の一例を示す。   The composite image storage processing unit 6 executes the above process when performing the process of combining the text glyph data with the background image data, so that more familiar composite image data including lens distortion can be obtained. I can do it. FIG. 34 shows an example when the above-described lens distortion correction processing is performed.

上述の各実施例においてテキストを表現するにはどのようなフォントを用いても良いが、演出効果を高めるためには専用のフォントを用いることが好ましい。しかしフォントのグリフデータはラスター形式であって、フォントを携帯電話機のメモリ上にロードする際に、すべてのグリフデータをラスター形式で展開することは、メモリ性能が高くない携帯電話機においては制約上行えない。   Any font may be used to express the text in each of the embodiments described above, but it is preferable to use a dedicated font in order to enhance the effect. However, font glyph data is in raster format, and when loading fonts into the memory of a mobile phone, it is not possible to expand all glyph data in raster format on mobile phones that do not have high memory performance. Absent.

しかしユーザは携帯電話機の入力装置13を用いて、背景となる画像データに合成させるテキストを自由に入力することから、テキストがすべてのグリフデータを使用する可能性も否定できない。また背景となる画像データにテキストのグリフデータを合成して、合成画像データを電子メールとして送信する機能であることの性質上、画像データに合成するテキストのグリフデータはすべて同時に可視状態となっており、かつ、テキスト処理部5におけるテキストに対する各処理の際に、ユーザの入力に従って、それらのグリフデータが高速に再描画される必要性がある。従って、すべてのグリフデータがラスター形式で携帯電話機のメモリ上に展開できなければならない。   However, since the user freely inputs the text to be combined with the background image data using the input device 13 of the mobile phone, the possibility that the text uses all glyph data cannot be denied. In addition, due to the nature of combining text glyph data with background image data and sending the composite image data as an e-mail, all text glyph data to be combined with the image data is simultaneously visible. In addition, it is necessary to redraw the glyph data at high speed in accordance with the user input at the time of each processing on the text in the text processing unit 5. Therefore, all glyph data must be able to be expanded on the mobile phone memory in a raster format.

そこで本実施例では、携帯電話機においても上記課題を解決し得る場合を説明する。すなわち、本実施例においては、入力されたテキストに含まれるグリフデータの種類の数によって携帯電話機のメモリ上のグリフデータの解像度を変更しながら、それをロードする場合を説明する。このように、本実施例の携帯電話機においては、フォントに対する処理を実行するフォント処理部(図示せず)を備えている。   Therefore, in this embodiment, a case where the above-described problem can be solved also in a mobile phone will be described. That is, in the present embodiment, a case will be described in which the resolution of the glyph data on the memory of the mobile phone is changed while loading it depending on the number of types of glyph data included in the input text. As described above, the cellular phone according to the present embodiment includes a font processing unit (not shown) that executes processing for a font.

まずフォント処理部は、テキスト入力受付部51で受け付けた、ユーザにより入力されたテキストから、使用するグリフデータの種類の数を判定する(この種類の数をCとする)。そしてグリフデータのために使用する総メモリ量を設定する(この総メモリ量をMとする)。総メモリ量は予め設定しておいても良いし、何らかの演算により算出することで設定しても良い。   First, the font processing unit determines the number of types of glyph data to be used from the text input by the user received by the text input receiving unit 51 (the number of types is C). Then, the total amount of memory used for glyph data is set (this total amount of memory is set to M). The total memory amount may be set in advance, or may be set by calculating by some calculation.

次にフォント処理部は、グリフデータの最大寸法に基づいて、グリフデータ一つに使用する最大のメモリ量を算出する(このメモリ量をGとする)。そして数2を演算することでSを算出する(ただしSは整数に切り上げる)。

Figure 2009282815
Next, the font processing unit calculates the maximum amount of memory used for one piece of glyph data based on the maximum size of the glyph data (this amount of memory is G). Then, S is calculated by calculating Formula 2 (where S is rounded up to an integer).
Figure 2009282815

数2を用いて算出したSに基づいて、各グリフデータをロードする際に、各グリフデータの縦横の解像度をそれぞれS分の1にリサンプルしながら、携帯電話機のメモリにロードを行う。   When loading each glyph data based on S calculated using Equation 2, the glyph data is loaded into the memory of the mobile phone while resampling the vertical and horizontal resolutions to 1 / S.

本実施例の処理を実行することによって、グリフデータをロードするために使用する総メモリ量を一定以下に抑えることが可能となる。使用されるグリフデータの種類の数と総メモリ量との関係性を示すグラフを図35に示す。   By executing the processing of this embodiment, the total amount of memory used for loading glyph data can be suppressed to a certain level or less. A graph showing the relationship between the number of types of glyph data used and the total amount of memory is shown in FIG.

なお、グリフデータの種類の数が増加するに従い、グリフデータの解像度が低下することとなるが、画質に与える影響は軽微である。なぜならば、グリフデータの種類の数が多い場合にはテキストに含まれる文字の数も多い。このときテキスト全体が背景となる画像データに収まる程度のサイズでテキストが描画されるので、個々のグリフデータの解像度が低下したとしても画質に対して与える影響は小さくなるからである。   As the number of types of glyph data increases, the resolution of glyph data decreases, but the effect on image quality is negligible. This is because when the number of types of glyph data is large, the number of characters included in the text is also large. At this time, the text is drawn with a size that fits in the background image data, so even if the resolution of the individual glyph data is reduced, the influence on the image quality is reduced.

上述の実施例1乃至実施例5においては、背景となる画像データをユーザが選択し、入力したテキストの表示位置、表示方向、表示サイズ、回転位置、カラーなどをユーザが決定する場合であったが、予めテンプレートを携帯電話機に記憶させておくことで、ユーザによる操作入力を減らすことも出来る。この場合を本実施例では説明する。   In the first to fifth embodiments described above, the user selects image data as a background, and the user determines the display position, display direction, display size, rotation position, color, and the like of the input text. However, by storing the template in the mobile phone in advance, the operation input by the user can be reduced. This case will be described in the present embodiment.

つまり本実施例の場合には、テンプレートとして予め画像データ記憶部3に記憶された画像データをユーザが選択し、その画像データに合成したいテキストをユーザが入力するだけで、画像データに入力したテキストが合成される場合である。つまりユーザはテンプレートを選択する手間と、テキストを入力する手間だけしか発生しない。   That is, in the case of the present embodiment, the user selects image data stored in advance in the image data storage unit 3 as a template, and the user simply inputs the text to be combined with the image data. Is synthesized. That is, the user only needs to select a template and input text.

画像データ記憶部3に記憶した、テンプレートとして使用可能な画像データに、テキストを表示するフォント、テキストの表示位置、表示方向、表示サイズ、回転位置、色度、彩度及び明度(HSV値)などの情報が対応づけて記憶されている。つまり実施例1などにおいてテキスト処理部5でユーザが入力を行っていた情報が、テンプレートの画像データに対応づけて記憶されている。   Fonts for displaying text, text display position, display direction, display size, rotation position, chromaticity, saturation, brightness (HSV value), etc., on image data stored in the image data storage unit 3 and usable as a template Are stored in association with each other. That is, the information that the user has input in the text processing unit 5 in the first embodiment or the like is stored in association with the image data of the template.

例えば図5のメニュー画面からユーザがテンプレートである「すなはま」を選択した場合、その選択を受け付けることで、画像データ取得部4は、画像データ記憶部3から「すなはま」のテンプレートの画像データと、テキストを表示するフォント、テキストの表示位置、表示方向、表示サイズ、回転位置、色度、彩度及び明度(HSV値)などの情報を画像データ記憶部3から取得する。   For example, when the user selects “Sunahama” as a template from the menu screen of FIG. 5, the image data acquisition unit 4 receives “Sunahama” from the image data storage unit 3 by accepting the selection. The image data of the template and information such as the font for displaying the text, the display position of the text, the display direction, the display size, the rotation position, the chromaticity, the saturation and the brightness (HSV value) are acquired from the image data storage unit 3.

このようにテンプレートをユーザが選択することで、画像データ取得部4は、電子メールの背景として使用する画像データを取得(ロード)する。そして図36に示すようなテキストの入力を促す画面が表示される。   As described above, when the user selects a template, the image data acquisition unit 4 acquires (loads) image data used as the background of the e-mail. Then, a screen for prompting input of text as shown in FIG. 36 is displayed.

この画面が表示されると、ユーザが入力装置13から何らのボタン等を押下することによって、実施例1の図8に示すテキストエディタを起動させる。そしてこのテキストエディタに、ユーザは、入力装置13からメッセージを入力する。ここで入力されたメッセージは、テキスト入力受付部51で受け付ける。例えば「こんにちは」と入力したとすると、それをテキスト入力受付部51が受け付ける。   When this screen is displayed, the user presses any button or the like from the input device 13 to activate the text editor shown in FIG. The user inputs a message from the input device 13 into the text editor. The message input here is received by the text input receiving unit 51. For example, if it is assumed that the input and "Hello", accept it is text input receiving unit 51.

このようにしてメッセージとするテキストの入力を受け付け、ユーザが携帯電話機において、画像を合成して保存する所定の操作を入力装置13から入力することで、合成画像保存処理部6は、テンプレートの画像データに対応づけられたテキストを表示するフォント、テキストの表示位置、表示方向、表示サイズ、回転位置、色度、彩度及び明度(HSV値)などの情報と、テキスト入力受付部51で受け付けたテキストの情報に基づいて、画像データ取得部4で取得(ロード)した画像データにテキストを合成し、合成画像データとして合成画像データ記憶部7に記憶させる。この場合の合成画像データの一例を図37に示す。   In this way, the input of the text as a message is received, and the user inputs a predetermined operation for combining and storing the image on the mobile phone from the input device 13, so that the combined image storage processing unit 6 can display the template image. Information such as font for displaying text associated with data, text display position, display direction, display size, rotation position, chromaticity, saturation, and brightness (HSV value), and the text input reception unit 51 Based on the text information, the text is synthesized with the image data acquired (loaded) by the image data acquisition unit 4 and stored in the composite image data storage unit 7 as composite image data. An example of the composite image data in this case is shown in FIG.

以上のようにして生成された合成画像データを電子メールに挿入することによって、従来の装飾された電子メールよりも、演出効果の高い電子メールを送信することが可能となる。またテンプレートとして表示位置などの情報が設定されているので、より簡便に、従来よりも演出効果の高い合成画像データを電子メールとして送信することが可能となる。   By inserting the composite image data generated as described above into an e-mail, it is possible to send an e-mail with a higher effect than the conventional decorated e-mail. Further, since information such as a display position is set as a template, it is possible to more easily transmit composite image data having a higher effect than the conventional one as an e-mail.

本発明の可搬型通信端末1のテキスト合成処理システム2により生成された合成画像データを電子メールとして送信することによって、従来の装飾された電子メールよりも、演出効果の高い電子メールを実現することが出来る。
Realizing an e-mail with a higher effect than a conventional decorated e-mail by transmitting the synthesized image data generated by the text composition processing system 2 of the portable communication terminal 1 of the present invention as an e-mail. I can do it.

可搬型通信端末のハードウェア構成の一例を模式的に示す概念図である。It is a conceptual diagram which shows typically an example of the hardware constitutions of a portable communication terminal. テキスト合成処理システムの構成の一例を模式的に示す概念図である。It is a key map showing typically an example of composition of a text composition processing system. テキスト処理部の構成の一例を模式的に示す概念図である。It is a conceptual diagram which shows an example of a structure of a text processing part typically. 本発明の処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process of this invention. メニュー画面の一例である。It is an example of a menu screen. 背景として選択された画像データの一例である。It is an example of the image data selected as a background. テキストの入力を促す画面の一例である。It is an example of the screen which prompts input of a text. テキストエディタの画面の一例である。It is an example of the screen of a text editor. フォントを選ぶことを促す画面の一例である。It is an example of a screen prompting to select a font. フォントを選ぶ画面の一例である。It is an example of the screen which selects a font. テキストの表示位置を決定することを促す画面の一例である。It is an example of the screen which prompts to determine the display position of a text. テキストの表示位置を決定する際の初期状態の画面の一例である。It is an example of the screen of the initial state at the time of determining the display position of a text. テキストの表示位置を変更した際の画面の一例である。It is an example of the screen at the time of changing the display position of a text. テキストの表示方向を決定することを促す画面の一例である。It is an example of the screen which prompts to determine the display direction of a text. テキストの表示方向を決定する処理を模式的に示す図である。It is a figure which shows typically the process which determines the display direction of a text. テキストの表示方向を変更した際の画面の一例である。It is an example of the screen at the time of changing the display direction of a text. テキストの表示サイズを決定することを促す画面の一例である。It is an example of the screen which prompts to determine the display size of a text. テキストの表示サイズを決定する処理を模式的に示す図である。It is a figure which shows typically the process which determines the display size of a text. テキストの表示サイズを変更した際の画面の一例である。It is an example of the screen at the time of changing the display size of a text. テキストの回転位置を決定することを促す画面の一例である。It is an example of the screen which prompts to determine the rotation position of a text. テキストの回転位置を決定する処理を模式的に示す図である。It is a figure which shows typically the process which determines the rotation position of a text. テキストの回転位置を変更した際の画面の一例である。It is an example of the screen at the time of changing the rotation position of a text. テキストの色度を決定することを促す画面の一例である。It is an example of the screen which prompts to determine the chromaticity of a text. テキストの色度を決定する処理を模式的に示す図である。It is a figure which shows typically the process which determines the chromaticity of a text. テキストの色度を変更した際の画面の一例である。It is an example of the screen at the time of changing the chromaticity of a text. テキストの彩度及び明度を決定することを促す画面の一例である。It is an example of the screen which prompts to determine the saturation and the brightness of a text. テキストの彩度及び明度を決定する処理を模式的に示す図である。It is a figure which shows typically the process which determines the saturation and the brightness of a text. テキストの彩度及び明度を変更した際の画面の一例である。It is an example of the screen at the time of changing the saturation and the brightness of a text. 背景の画像データを想定した格子を撮像した場合に、レンズ歪みが存在しない場合の撮像した画像データの一例である。It is an example of the imaged image data when there is no lens distortion when imaging a grid assuming background image data. テキストのグリフデータを想定した格子の一例である。It is an example of a grid that assumes text glyph data. 図29の画像データに図30を合成した場合の一例である。It is an example at the time of combining FIG. 30 with the image data of FIG. 背景の画像データを想定した格子を撮像した場合に、レンズ歪みが存在する場合の撮像した画像データの一例である。It is an example of the imaged image data when a lens distortion exists when a grid that assumes background image data is imaged. 図32の画像データに図30を合成した場合の一例である。It is an example at the time of combining FIG. 30 with the image data of FIG. 図30にレンズ歪み補正処理を施して図32の画像データに合成した場合の一例である。FIG. 30 shows an example in which the lens distortion correction processing is performed on FIG. 30 and the image data of FIG. 32 is combined. 使用されるグリフデータの種類の数と総メモリ量との関係性を示すグラフの一例である。It is an example of the graph which shows the relationship between the number of the kind of glyph data used, and total memory amount. テンプレートである画像データを用いた場合に、テキスト入力を促す画面の一例である。It is an example of a screen for prompting text input when image data as a template is used. テンプレートである画像データを用いて、テキストが合成された場合の合成画像データの画面の一例である。It is an example of the screen of synthetic | combination image data when a text is synthesize | combined using the image data which is a template. 合成画像データの画面の一例である。It is an example of the screen of synthetic image data.

符号の説明Explanation of symbols

1:可搬型通信端末
2:テキスト合成処理システム
3:画像データ記憶部
4:画像データ取得部
5:テキスト処理部
6:合成画像保存処理部
7:合成画像データ記憶部
10:演算装置
11:記憶装置
12:表示装置
13:入力装置
14:通信装置
15:撮像装置
16:動き検出装置
51:テキスト入力受付部
52:フォント選択受付部
53:位置決定処理部
54:方向決定処理部
55:サイズ決定処理部
56:回転位置決定処理部
57:カラー決定処理部
1: portable communication terminal 2: text composition processing system 3: image data storage unit 4: image data acquisition unit 5: text processing unit 6: composite image storage processing unit 7: composite image data storage unit 10: arithmetic device 11: storage Device 12: Display device 13: Input device 14: Communication device 15: Imaging device 16: Motion detection device 51: Text input reception unit 52: Font selection reception unit 53: Position determination processing unit 54: Direction determination processing unit 55: Size determination Processing unit 56: Rotation position determination processing unit 57: Color determination processing unit

Claims (8)

画像データにテキストを合成するテキスト合成処理システムであって、
前記テキスト合成処理システムは、
画像データと、その画像データに合成させるテキストを表示させるフォント、表示位置、表示方向、表示サイズ、回転位置のうちいずれか一以上の情報とが対応づけられており、テンプレートとして記憶している画像データ記憶部と、
ユーザによって選択されたテンプレートの画像データを前記画像データ記憶部から取得する画像データ取得部と、
前記画像データに合成させるテキストの入力を受け付けるテキスト入力受付部と、
前記選択されたテンプレートにおける表示位置、表示方向、表示サイズ、回転位置のうちいずれか一以上の情報に基づいて、前記テンプレートにおけるフォントの情報に基づくグリフデータで前記テキストを前記画像データに合成し、所定の記憶装置に記憶させる合成画像保存処理部と、
を有することを特徴とするテキスト合成処理システム。
A text synthesis processing system for synthesizing text with image data,
The text composition processing system includes:
An image stored as a template in which image data is associated with at least one of font, display position, display direction, display size, and rotation position for displaying text to be combined with the image data. A data storage unit;
An image data acquisition unit that acquires image data of a template selected by a user from the image data storage unit;
A text input receiving unit that receives input of text to be combined with the image data;
Based on any one or more of the display position, display direction, display size, and rotation position in the selected template, the text is combined with the image data with glyph data based on the font information in the template, A composite image storage processing unit to be stored in a predetermined storage device;
A text composition processing system comprising:
画像データにテキストを合成するテキスト合成処理システムであって、
前記テキスト合成処理システムは、
前記画像データを取得する画像データ取得部と、
前記画像データに合成させるテキストの入力を受け付けるテキスト入力受付部と、
前記テキストに含まれるグリフデータの種類の数に基づいて、前記テキストのグリフデータの解像度を設定するフォント処理部と、
前記フォント処理部で設定された解像度のグリフデータで、前記画像データに前記グリフデータを合成し、所定の記憶装置に記憶させる合成画像保存処理部と、
を有することを特徴とするテキスト合成処理システム。
A text synthesis processing system for synthesizing text with image data,
The text composition processing system includes:
An image data acquisition unit for acquiring the image data;
A text input receiving unit that receives input of text to be combined with the image data;
A font processing unit for setting the resolution of the glyph data of the text based on the number of types of glyph data included in the text;
A synthesized image storage processing unit configured to synthesize the glyph data with the image data with the resolution glyph data set by the font processing unit, and store the synthesized glyph data in a predetermined storage device;
A text composition processing system comprising:
画像データにテキストを合成するテキスト合成処理システムであって、
前記テキスト合成処理システムは、
前記画像データを取得する画像データ取得部と、
前記画像データに合成させるテキストの入力を受け付け、前記テキストの表示位置、表示方向、表示サイズ、回転位置のいずれか一以上の情報を決定するテキスト処理部と、
前記テキストに含まれるグリフデータの種類の数に基づいて、前記テキストのグリフデータの解像度を設定するフォント処理部と、
前記テキスト処理部で決定した情報に基づいて、フォントのグリフデータで前記テキストを前記画像データに合成し、所定の記憶装置に記憶させる合成画像保存処理部と、を有しており、
前記テキスト処理部は、
前記フォント処理部で設定された解像度のグリフデータを、前記画像データにレンダリングして表示装置に表示させる、
ことを特徴とするテキスト合成処理システム。
A text synthesis processing system for synthesizing text with image data,
The text composition processing system includes:
An image data acquisition unit for acquiring the image data;
A text processing unit that accepts input of text to be combined with the image data, and determines at least one of the display position, display direction, display size, and rotation position of the text;
A font processing unit for setting the resolution of the glyph data of the text based on the number of types of glyph data included in the text;
A composite image storage processing unit that combines the text with the glyph data of the font and the image data based on the information determined by the text processing unit, and stores the image data in a predetermined storage device;
The text processing unit
Rendering the glyph data of the resolution set by the font processing unit into the image data and displaying it on a display device;
A text composition processing system characterized by that.
画像データと、その画像データに合成させるテキストを表示させるフォント、表示位置、表示方向、表示サイズ、回転位置のうちいずれか一以上の情報とが対応づけられており、テンプレートとして記憶している記憶装置を備える可搬型端末を、
ユーザによって選択されたテンプレートの画像データを前記記憶装置から取得する画像データ取得部、
前記画像データに合成させるテキストの入力を受け付けるテキスト入力受付部、
前記選択されたテンプレートにおける表示位置、表示方向、表示サイズ、回転位置のうちいずれか一以上の情報に基づいて、前記テンプレートにおけるフォントの情報に基づくグリフデータで前記テキストを前記画像データに合成し、所定の記憶装置に記憶させる合成画像保存処理部、
として機能させることを特徴とするテキスト合成処理プログラム。
Memory that stores image data and at least one of font, display position, display direction, display size, and rotation position for displaying text to be combined with the image data and stored as a template A portable terminal equipped with a device,
An image data acquisition unit for acquiring image data of a template selected by a user from the storage device;
A text input receiving unit for receiving input of text to be combined with the image data;
Based on any one or more of the display position, display direction, display size, and rotation position in the selected template, the text is combined with the image data with glyph data based on the font information in the template, A composite image storage processing unit to be stored in a predetermined storage device;
A text composition processing program characterized in that it functions as a program.
可搬型端末を、
画像データを取得する画像データ取得部、
前記画像データに合成させるテキストの入力を受け付けるテキスト入力受付部、
前記テキストに含まれるグリフデータの種類の数に基づいて、前記テキストのグリフデータの解像度を設定するフォント処理部、
前記フォント処理部で設定された解像度のグリフデータで、前記画像データに前記グリフデータを合成し、所定の記憶装置に記憶させる合成画像保存処理部、
として機能させることを特徴とするテキスト合成処理プログラム。
A portable terminal
An image data acquisition unit for acquiring image data;
A text input receiving unit for receiving input of text to be combined with the image data;
A font processing unit for setting the resolution of the glyph data of the text based on the number of types of glyph data included in the text;
A synthesized image storage processing unit that synthesizes the glyph data with the image data with the resolution glyph data set by the font processing unit, and stores the synthesized data in a predetermined storage device;
A text composition processing program characterized in that it functions as a program.
可搬型端末を、
画像データを取得する画像データ取得部、
前記画像データに合成させるテキストの入力を受け付け、前記テキストの表示位置、表示方向、表示サイズ、回転位置のいずれか一以上の情報を決定するテキスト処理部、
前記テキストに含まれるグリフデータの種類の数に基づいて、前記テキストのグリフデータの解像度を設定するフォント処理部、
前記テキスト処理部で決定した情報に基づいて、フォントのグリフデータで前記テキストを前記画像データに合成し、所定の記憶装置に記憶させる合成画像保存処理部、
として機能させるテキスト合成処理プログラムであって、
前記テキスト処理部は、
前記フォント処理部で設定された解像度のグリフデータを、前記画像データにレンダリングして表示装置に表示させる、
ことを特徴とするテキスト合成処理プログラム。
A portable terminal
An image data acquisition unit for acquiring image data;
A text processing unit that accepts input of text to be combined with the image data and determines any one or more of the display position, display direction, display size, and rotation position of the text;
A font processing unit for setting the resolution of the glyph data of the text based on the number of types of glyph data included in the text;
Based on the information determined by the text processing unit, a combined image storage processing unit that combines the text with the image data with glyph data of a font and stores the image data in a predetermined storage device;
A text synthesis processing program that functions as
The text processing unit
Rendering the glyph data of the resolution set by the font processing unit into the image data and displaying it on a display device;
A text composition processing program characterized by that.
請求項4から請求項6のいずれかに記載のテキスト合成処理プログラムを備える可搬型通信端末。   A portable communication terminal comprising the text composition processing program according to claim 4. 前記可搬型通信端末は、
前記テキスト合成処理プログラムにおいて生成した合成画像データを、電子メールのデータとして送信する電子メール処理部を備える、
ことを特徴とする請求項7に記載の可搬型通信端末。
The portable communication terminal is
An email processing unit that transmits the composite image data generated in the text composition processing program as email data;
The portable communication terminal according to claim 7.
JP2008135055A 2008-05-23 2008-05-23 Text composition processing system and portable communication terminal equipped with the same Pending JP2009282815A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008135055A JP2009282815A (en) 2008-05-23 2008-05-23 Text composition processing system and portable communication terminal equipped with the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008135055A JP2009282815A (en) 2008-05-23 2008-05-23 Text composition processing system and portable communication terminal equipped with the same

Publications (1)

Publication Number Publication Date
JP2009282815A true JP2009282815A (en) 2009-12-03

Family

ID=41453196

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008135055A Pending JP2009282815A (en) 2008-05-23 2008-05-23 Text composition processing system and portable communication terminal equipped with the same

Country Status (1)

Country Link
JP (1) JP2009282815A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011130209A (en) * 2009-12-17 2011-06-30 Canon Inc Imaging apparatus, image processing device, and image processing method
WO2013180844A1 (en) * 2012-05-31 2013-12-05 Fleur De Lis Group, Llc Cryptic notes and related apparatus and methods
JP2015053603A (en) * 2013-09-06 2015-03-19 東日本電信電話株式会社 Communication system, communication method, and computer program
US9792449B2 (en) 2012-05-31 2017-10-17 Fleur De Lis Group, Llc Cryptic notes and related methods

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61282974A (en) * 1985-06-07 1986-12-13 Photo Composing Mach Mfg Co Ltd Character processing system
JPH07306670A (en) * 1994-03-18 1995-11-21 Hewlett Packard Co <Hp> Compression and expansion apparatus of font data
JP2000029450A (en) * 1998-07-09 2000-01-28 Alpine Electronics Inc Character string display method
JP2006166157A (en) * 2004-12-09 2006-06-22 Sharp Corp Portable communication terminal and mail character extraction method
JP2008117319A (en) * 2006-11-07 2008-05-22 Canon Inc Information processor, control method for information processor, and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61282974A (en) * 1985-06-07 1986-12-13 Photo Composing Mach Mfg Co Ltd Character processing system
JPH07306670A (en) * 1994-03-18 1995-11-21 Hewlett Packard Co <Hp> Compression and expansion apparatus of font data
JP2000029450A (en) * 1998-07-09 2000-01-28 Alpine Electronics Inc Character string display method
JP2006166157A (en) * 2004-12-09 2006-06-22 Sharp Corp Portable communication terminal and mail character extraction method
JP2008117319A (en) * 2006-11-07 2008-05-22 Canon Inc Information processor, control method for information processor, and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011130209A (en) * 2009-12-17 2011-06-30 Canon Inc Imaging apparatus, image processing device, and image processing method
WO2013180844A1 (en) * 2012-05-31 2013-12-05 Fleur De Lis Group, Llc Cryptic notes and related apparatus and methods
US9356784B2 (en) 2012-05-31 2016-05-31 Fleur De Lis Group, Llc Cryptic notes and related apparatus and methods
US9792449B2 (en) 2012-05-31 2017-10-17 Fleur De Lis Group, Llc Cryptic notes and related methods
JP2015053603A (en) * 2013-09-06 2015-03-19 東日本電信電話株式会社 Communication system, communication method, and computer program

Similar Documents

Publication Publication Date Title
CN109863742B (en) Image processing method and terminal device
CN108605097B (en) Optical imaging method and device
CN107369197B (en) Picture processing method, device and equipment
CN108287744B (en) Character display method, device and storage medium
US7085590B2 (en) Mobile terminal with ergonomic imaging functions
CN111508039B (en) Word processing method of ink screen and communication terminal
CN101521004B (en) Electronic device with image processing function and image processing method thereof
US8024004B2 (en) Device having display buttons and display method and medium for the device
US9330437B2 (en) Method for automatically generating presentation slides containing picture elements
US20220269463A1 (en) Display method and electronic device
KR101214675B1 (en) Method for processing a image in a handheld device and apparatus for the same
CN112184595B (en) Mobile terminal and image display method thereof
JP2009282815A (en) Text composition processing system and portable communication terminal equipped with the same
JP5885152B2 (en) Portable terminal device, program, and display control method
JP4959629B2 (en) Text composition processing system and portable communication terminal comprising the same
CN113518243A (en) Image processing method and device
CN112328193A (en) Multi-terminal screen combination method, device, equipment and computer storage medium
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
US8035619B2 (en) Image drawing method, portable terminal, and computer program
EP1748388B1 (en) Mobile communication terminal with means for estimating motion direction and method thereof
JP2021044772A (en) Image processing apparatus, imaging apparatus, image processing method, and image processing program
CN114257755A (en) Image processing method, device, equipment and storage medium
JP6542644B2 (en) PORTABLE TERMINAL, CONTROL METHOD, AND CONTROL PROGRAM
JP2011081436A (en) Image processing apparatus and image display device
JP5747114B2 (en) Image display device, image display method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101007

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120117

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120124

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120220

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120313

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120417

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120515