JP2011223627A - Image transmitter, image transmission method, and image transmission program - Google Patents

Image transmitter, image transmission method, and image transmission program Download PDF

Info

Publication number
JP2011223627A
JP2011223627A JP2011140074A JP2011140074A JP2011223627A JP 2011223627 A JP2011223627 A JP 2011223627A JP 2011140074 A JP2011140074 A JP 2011140074A JP 2011140074 A JP2011140074 A JP 2011140074A JP 2011223627 A JP2011223627 A JP 2011223627A
Authority
JP
Japan
Prior art keywords
image
captured image
mask area
area
mask
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2011140074A
Other languages
Japanese (ja)
Other versions
JP5300924B2 (en
Inventor
Miwa Koshijima
美和 腰島
Michiaki Koizumi
道明 小泉
Fumiaki Matsumoto
文明 松本
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.)
Kyocera Corp
Original Assignee
Kyocera Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kyocera Corp filed Critical Kyocera Corp
Priority to JP2011140074A priority Critical patent/JP5300924B2/en
Publication of JP2011223627A publication Critical patent/JP2011223627A/en
Application granted granted Critical
Publication of JP5300924B2 publication Critical patent/JP5300924B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To protect privacy.SOLUTION: A mobile phone comprises: a camera that outputs a captured image of an operator; a touch panel that accepts designation of at least a part of an area of the captured image; and a control unit that determines a mask area for masking at least a part of the captured image on the basis of the accepted area (S08), creates a composite image by converting the mask area of the captured image to another image (S10), and transmits the composite image (S11).

Description

この発明は画像送信装置、画像送信方法および画像送信プログラムに関し、特に携帯可能な画像送信装置、その画像送信装置で実行される撮像画像送信方法および撮像画像送信プログラムに関する。   The present invention relates to an image transmission device, an image transmission method, and an image transmission program, and more particularly to a portable image transmission device, a captured image transmission method and a captured image transmission program executed by the image transmission device.

近年、テレビ電話で通話可能な携帯電話機が普及してきている。テレビ電話では音声と同時に話者を撮影した画像が送信されるので、話者同士の心理的距離を縮めることが可能である。一方、携帯電話は持ち運びされるので通話する場所が限定されない。このため、カメラが撮影する話者の後ろの背景が、通話する時と場所によって異なる。例えば道を歩いている最中にテレビ電話がかかってきた場合に背景に他人の顔が含まれてしまうなど、その背景を撮影した画像を通話する相手に送信することが好ましくない場合もある。このような場合、テレビ電話で通話しないか、背景が撮影されても差し障り無い場所に移動した後にテレビ電話で通話する等しなければならず、通話する相手の要求に応えられなかったり、発呼に応答するまでに長時間かかってしまったりするといった問題がある。   In recent years, mobile phones that can be used for videophone calls have become widespread. In a videophone, an image of a speaker is transmitted at the same time as voice, so the psychological distance between the speakers can be reduced. On the other hand, since the mobile phone is carried, the place where the call is made is not limited. For this reason, the background behind the speaker photographed by the camera differs depending on when and where the call is made. For example, when a videophone call is received while walking on the road, the background of someone else is included in the background, and it may not be preferable to send an image of the background to the other party. In such a case, you must not make a videophone call, or you must make a videophone call after moving to a place where there is no problem even if the background is photographed. There is a problem that it takes a long time to respond to.

特開2006−13856号公報(特許文献1)には、カメラで撮影した動画像から人物と背景の境界を認識して背景の領域を抽出し、カメラで撮影した動画像の背景画像部分を予め記憶された背景画像で差し替えた動画像データを送信するテレビ電話装置が記載されている。   In Japanese Patent Laid-Open No. 2006-13856 (Patent Document 1), a background region is extracted by recognizing a boundary between a person and a background from a moving image photographed by a camera, and a background image portion of the moving image photographed by the camera is previously stored. A videophone device that transmits moving image data replaced with a stored background image is described.

しかしながら、カメラで撮影した動画像から人物と背景の境界を認識して背景の領域を抽出する高度な画像処理を実行する必要があり、人物と背景の境界を誤って認識した場合には処理することができないといった問題がある。また、背景領域を抽出する処理にある程度の時間が必要とされ、動画像を送信するまでに長時間かかるといった問題がある。   However, it is necessary to execute advanced image processing that recognizes the boundary between the person and the background from the moving image captured by the camera and extracts the background area. If the boundary between the person and the background is mistakenly recognized, the processing is performed. There is a problem that can not be. Further, there is a problem that a certain amount of time is required for the process of extracting the background region, and it takes a long time to transmit the moving image.

特開2006−13856号公報JP 2006-13856 A

この発明は上述した問題点を解決するためになされたもので、この発明の目的の1つは、プライバシーを保護することが可能な画像送信装置を提供することである。   The present invention has been made to solve the above-described problems, and one of the objects of the present invention is to provide an image transmitting apparatus capable of protecting privacy.

この発明は上述した問題点を解決するためになされたもので、この発明の目的の1つは、プライバシーを保護することが可能な画像送信方法および画像送信プログラムを提供することである。   The present invention has been made to solve the above-described problems, and one of the objects of the present invention is to provide an image transmission method and an image transmission program capable of protecting privacy.

上述した目的を達成するためにこの発明のある局面によれば、画像送信装置は、被写体を撮像した撮像画像を出力する撮像手段と、撮像画像の少なくとも一部の領域の指定を受け付ける領域指定手段と、受け付けられた領域に基づいて、撮像画像の少なくとも一部をマスクするためのマスク領域を決定するマスク領域決定手段と、撮像画像のマスク領域を別の画像に変換した合成画像を生成する合成画像生成手段と、合成画像を送信する送信手段と、を備える。   In order to achieve the above-described object, according to one aspect of the present invention, an image transmission device outputs an imaged image obtained by imaging a subject, and an area designating unit that accepts designation of at least a partial area of the imaged image And a mask area determining means for determining a mask area for masking at least a part of the captured image based on the received area, and a composition for generating a composite image obtained by converting the mask area of the captured image into another image Image generation means and transmission means for transmitting a composite image are provided.

この局面に従えば、被写体を撮像した撮像画像の少なくとも一部の領域の指定が受け付けられると、撮像画像の少なくとも一部をマスクするためのマスク領域が決定され、撮像画像のマスク領域を別の画像に変換した合成画像が生成されて送信される。このため、被写体を撮像した撮像画像の少なくとも一部の領域が送信されないので、撮像して得られる画像を部分的に選択して送信することが可能となる。その結果、プライバシーを保護することが可能な画像送信装置を提供することができる。   According to this aspect, when the designation of at least a part of the captured image obtained by capturing the subject is accepted, a mask area for masking at least a part of the captured image is determined, and the mask area of the captured image is changed to another. A composite image converted into an image is generated and transmitted. For this reason, since at least a part of the captured image obtained by capturing the subject is not transmitted, it is possible to partially select and transmit the image obtained by capturing the image. As a result, it is possible to provide an image transmission device capable of protecting privacy.

好ましくは、マスク領域決定手段は、受け付けられた領域または該領域以外の領域をマスク領域に決定する。   Preferably, the mask area determining means determines the received area or an area other than the received area as a mask area.

好ましくは、撮像画像を表示する表示手段をさらに備え、領域指定手段は、表示手段の表示面の位置を受け付ける位置受付手段を含む。   Preferably, a display means for displaying the captured image is further provided, and the area specifying means includes a position receiving means for receiving the position of the display surface of the display means.

この局面に従えば、撮像画像が表示され、表示面の位置が受け付けられると領域が指定されるので、撮像画像中から任意の領域を容易に選択することができる。   According to this aspect, when the captured image is displayed and the position of the display surface is received, the region is designated, and thus any region can be easily selected from the captured image.

好ましくは、表示手段は、予め定められたマスク領域を含むパターン画像を撮像画像に重畳した画像を表示し、マスク領域決定手段は、パターン画像に含まれるマスク領域を、受け付けられた表示面の位置に基づいて変更する変更手段を含む。   Preferably, the display means displays an image obtained by superimposing a pattern image including a predetermined mask area on the captured image, and the mask area determination means displays the mask area included in the pattern image on the position of the received display surface. The change means to change based on is included.

この局面に従えば、予め定められたマスク領域を含むパターン画像を撮像画像に重畳した画像が表示され、受け付けられた表示面の位置に基づいてマスク領域が変更されるので、撮像画像中から任意の領域を容易に選択することができる。   According to this aspect, an image in which a pattern image including a predetermined mask area is superimposed on the captured image is displayed, and the mask area is changed based on the position of the received display surface. This area can be easily selected.

好ましくは、撮像画像から特徴点を抽出する特徴点抽出手段と、特徴点の撮像画像における位置の変化に従って、撮像画像中におけるマスク領域を移動させるマスク領域移動手段をさらに含む。   Preferably, it further includes a feature point extracting unit that extracts a feature point from the captured image, and a mask region moving unit that moves the mask region in the captured image in accordance with a change in the position of the feature point in the captured image.

この局面に従えば、撮像画像から特徴点が抽出され、特徴点の撮像画像における位置の変化に従って、撮像画像中におけるマスク領域が移動するので、撮像範囲が変動する、または、被写体が移動する等する場合であっても、撮像画像中の所定の領域が送信されるのを防止することができる。   According to this aspect, a feature point is extracted from the captured image, and the mask area in the captured image moves according to a change in the position of the feature point in the captured image. Therefore, the imaging range fluctuates or the subject moves. Even in this case, it is possible to prevent a predetermined area in the captured image from being transmitted.

好ましくは、送信手段は、マスク領域が決定されることを条件に、合成画像を送信する。   Preferably, the transmission means transmits the composite image on the condition that the mask area is determined.

この発明の他の局面によれば、画像送信方法は、被写体を撮像した撮像画像を取得するステップと、撮像画像の少なくとも一部の領域の指定を受け付けるステップと、受け付けられた領域に基づいて、撮像画像の少なくとも一部をマスクするためのマスク領域を決定するステップと、撮像画像のマスク領域を別の画像に変換した合成画像を生成するステップと、合成画像を送信するステップと、を含む。   According to another aspect of the present invention, an image transmission method includes a step of acquiring a captured image obtained by capturing an image of a subject, a step of receiving designation of at least a partial region of the captured image, and a received region. Determining a mask region for masking at least a part of the captured image; generating a composite image obtained by converting the mask region of the captured image into another image; and transmitting the composite image.

この局面に従えば、プライバシーを保護することが可能な画像送信方法を提供することができる。   According to this aspect, an image transmission method capable of protecting privacy can be provided.

この発明のさらに他の局面によれば、画像送信プログラムは、被写体を撮像した撮像画像を取得するステップと、撮像画像の少なくとも一部の領域の指定を受け付けるステップと、受け付けられた領域に基づいて、撮像画像の少なくとも一部をマスクするためのマスク領域を決定するステップと、撮像画像のマスク領域を別の画像に変換した合成画像を生成するステップと、合成画像を送信するステップと、をコンピュータに実行させる。   According to still another aspect of the present invention, an image transmission program is based on a step of acquiring a captured image obtained by capturing an image of a subject, a step of receiving designation of at least a partial region of the captured image, and a received region. A step of determining a mask region for masking at least a part of the captured image, a step of generating a composite image obtained by converting the mask region of the captured image into another image, and a step of transmitting the composite image To run.

この局面に従えば、プライバシーを保護することが可能な画像送信プログラムを提供することができる。   According to this aspect, an image transmission program capable of protecting privacy can be provided.

本発明の実施の形態の1つにおける携帯電話機の外観を示す斜視図である。It is a perspective view which shows the external appearance of the mobile telephone in one of embodiment of this invention. 携帯電話機の平面図である。It is a top view of a mobile phone. 指示キーの配置を示す図である。It is a figure which shows arrangement | positioning of an instruction | indication key. 携帯電話機の機能の概要の一例を示す機能ブロック図である。It is a functional block diagram which shows an example of the outline | summary of the function of a mobile telephone. 制御部の機能の概要の一例を示す機能ブロック図である。It is a functional block diagram which shows an example of the outline | summary of the function of a control part. 撮像画像の一例を示す図である。It is a figure which shows an example of a captured image. マスク領域の一例を示す第1の図である。It is a 1st figure which shows an example of a mask area | region. 非マスク領域の一例を示す図である。It is a figure which shows an example of a non-mask area | region. マスク領域の一例を示す第2の図である。It is a 2nd figure which shows an example of a mask area | region. マスク領域決定部のパターン画像を用いてマスク領域を決定する機能を示す機能ブロック図である。It is a functional block diagram which shows the function which determines a mask area | region using the pattern image of a mask area | region determination part. パターン画像の一例を示す図である。It is a figure which shows an example of a pattern image. パターン画像のマスク領域を撮像画像に重畳した画像を示す図である。It is a figure which shows the image which superimposed the mask area | region of the pattern image on the captured image. パターン画像を拡張または縮小した後のマスク領域を示す図である。It is a figure which shows the mask area | region after expanding or reducing a pattern image. 移動後のマスク領域の一例を示す第1の図である。It is a 1st figure which shows an example of the mask area | region after a movement. 移動後のマスク領域の一例を示す第2の図である。It is a 2nd figure which shows an example of the mask area | region after a movement. 着信処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of an incoming call process. マスク領域決定処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of a mask area | region determination process. 追従処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of a tracking process. 発信処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of a transmission process.

以下、本発明の実施の形態について図面を参照して説明する。以下の説明では同一の部品には同一の符号を付してある。それらの名称および機能も同じである。したがってそれらについての詳細な説明は繰返さない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following description, the same parts are denoted by the same reference numerals. Their names and functions are also the same. Therefore, detailed description thereof will not be repeated.

以下の説明では、画像送信装置としてのテレビ電話機の一例として携帯電話機1について説明する。図1は、本発明の実施の形態の1つにおける携帯電話機の外観を示す斜視図である。図1を参照して、携帯電話機1は、表示側部2と、操作側部3と、を含む。表示側部2は、その裏面が操作側部3の表面と向かい合うように、長手方向にスライド可能に取り付けられる。図1においては、表示側部2を操作側部3に対してスライドさせて、携帯電話機1が開いた状態を示している。携帯電話機1が閉じた状態に置いては、表示側部2の裏面は、操作側部3の表面と重なる。   In the following description, a mobile phone 1 will be described as an example of a video phone as an image transmission device. FIG. 1 is a perspective view showing an appearance of a mobile phone according to one embodiment of the present invention. Referring to FIG. 1, mobile phone 1 includes a display side portion 2 and an operation side portion 3. The display side part 2 is attached to be slidable in the longitudinal direction so that the back surface thereof faces the surface of the operation side part 3. FIG. 1 shows a state in which the mobile phone 1 is opened by sliding the display side portion 2 with respect to the operation side portion 3. When the cellular phone 1 is closed, the back surface of the display side portion 2 overlaps the surface of the operation side portion 3.

図2(A)は、携帯電話機1の閉じた状態における平面図である。図2(B)は、携帯電話機の開いた状態における平面図である。図2(A)および図2(B)を参照して、表示側部2の表面は、カメラ24と、液晶表示装置(LCD)16と、タッチパネル25Aと、通話キー14B、指示キー15、および通話終了キー14Cとを含む操作キー14と、スピーカ11と、が配置される。タッチパネル25Aは、透明な部材からなり、LCD16の表示面の全体に渡ってそれに重畳して配置される。なお、ここでは携帯電話機1がLCD16を備える例を示すが、LCD16に代えて、有機EL(Electro Luminescence)ディスプレイ等を用いてもよい。   FIG. 2A is a plan view of the cellular phone 1 in a closed state. FIG. 2B is a plan view of the cellular phone in an opened state. Referring to FIGS. 2A and 2B, the surface of display side portion 2 includes camera 24, liquid crystal display (LCD) 16, touch panel 25A, call key 14B, instruction key 15, and An operation key 14 including a call end key 14C and a speaker 11 are arranged. The touch panel 25 </ b> A is made of a transparent member, and is disposed so as to overlap the entire display surface of the LCD 16. Although an example in which the mobile phone 1 includes the LCD 16 is shown here, an organic EL (Electro Luminescence) display or the like may be used instead of the LCD 16.

携帯電話機1が開いた状態において、操作側部3の表面の一部が露出する。操作側部3は、表面の露出する部分に操作キー14の一部を構成するテンキー14Aと、マイクロフ
ォン13とが配置される。また、操作側部3の側面には、第2スピーカ12(図4参照)が配置される。
In a state where the cellular phone 1 is opened, a part of the surface of the operation side portion 3 is exposed. On the operation side portion 3, a numeric keypad 14A constituting a part of the operation key 14 and a microphone 13 are arranged on the exposed surface portion. A second speaker 12 (see FIG. 4) is disposed on the side surface of the operation side unit 3.

図3は、指示キーの配置を示す図である。図3を参照して、指示キー15は、決定キー5、上矢印キー6、下矢印キー7、左矢印キー8および右矢印キー9を含む。決定キー5、上矢印キー6、下矢印キー7、左矢印キー8および右矢印キー9は、ボタンスイッチであり、押下されるとONになる。携帯電話機1は、LCD16にポインタを表示可能であり、ユーザによる指示キー15の操作が受け付けられると、上矢印キー6、下矢印キー7、左矢印キー8および右矢印キー9のうち押下されたキーに従って、ポインタを上下左右にそれぞれ移動させる。これにより、LCD16の表示面の任意の位置を指定することが可能となっている。   FIG. 3 is a diagram showing the arrangement of instruction keys. Referring to FIG. 3, instruction key 15 includes a determination key 5, an up arrow key 6, a down arrow key 7, a left arrow key 8, and a right arrow key 9. The enter key 5, the up arrow key 6, the down arrow key 7, the left arrow key 8, and the right arrow key 9 are button switches that are turned on when pressed. The mobile phone 1 can display a pointer on the LCD 16, and when the user operates the instruction key 15, the mobile phone 1 is pressed among the up arrow key 6, the down arrow key 7, the left arrow key 8, and the right arrow key 9. Move the pointer up / down / left / right according to the key. Thereby, it is possible to designate an arbitrary position on the display surface of the LCD 16.

図4は、携帯電話機の機能の概要の一例を示す機能ブロック図である。図4を参照して、携帯電話機1は、携帯電話機1の全体を制御するための制御部21と、アンテナ22Aと接続された無線回路22と、音声データを処理するためのコーデック部28と、それぞれがコーデック部28に接続されたマイクロフォン13および第1スピーカ11と、アンテナ23Aに接続されたチューナ23と、AVデコーダ29と、カメラ24と、ユーザの操作の入力を受付ける操作部25と、LCD16の表示を制御するための表示制御部30と、制御部21の作業領域として使用されるRAM(Random Access Memory)31と、制御部21で実行するプログラム等を記憶するためのフラッシュROM(Flush Read Only Memory)32と、振動部26と、カードインターフェース(I/F)27と、シリアルインターフェースとしての外部通信接続端子33と、を含む。   FIG. 4 is a functional block diagram illustrating an example of an outline of functions of the mobile phone. Referring to FIG. 4, a mobile phone 1 includes a control unit 21 for controlling the entire mobile phone 1, a radio circuit 22 connected to an antenna 22A, a codec unit 28 for processing audio data, Each of the microphone 13 and the first speaker 11 connected to the codec unit 28, the tuner 23 connected to the antenna 23A, the AV decoder 29, the camera 24, the operation unit 25 that receives input of a user operation, and the LCD 16 A display control unit 30 for controlling the display of the display, a RAM (Random Access Memory) 31 used as a work area of the control unit 21, and a flash ROM (Flush Read) for storing a program executed by the control unit 21 Only Memory) 32, vibration unit 26, card interface ( I / F) 27 and an external communication connection terminal 33 as a serial interface.

無線回路22は、アンテナ22Aにより受信された無線信号が入力され、無線信号を復調した音声信号をコーデック部28に出力する。また、無線回路22は、コーデック部28から音声信号が入力され、音声信号を変調した無線信号をアンテナ22Aに出力する。コーデック部28は、無線回路22から入力される音声信号を復号し、復号したデジタルの音声信号をアナログに変換し、増幅し、そして第1スピーカ11に出力する。また、コーデック部28は、マイクロフォン13からアナログの音声信号が入力され、音声信号をデジタルに変換し、符号化し、そして符号化した音声信号を無線回路22に出力する。   The radio circuit 22 receives the radio signal received by the antenna 22 </ b> A and outputs an audio signal obtained by demodulating the radio signal to the codec unit 28. The radio circuit 22 receives the audio signal from the codec unit 28 and outputs a radio signal obtained by modulating the audio signal to the antenna 22A. The codec unit 28 decodes the audio signal input from the radio circuit 22, converts the decoded digital audio signal to analog, amplifies it, and outputs it to the first speaker 11. The codec unit 28 receives an analog audio signal from the microphone 13, converts the audio signal to digital, encodes it, and outputs the encoded audio signal to the radio circuit 22.

チューナ23は、アンテナ23Aに接続されており、アンテナ23Aにより受信された放送信号が入力される。放送信号は、映像データおよび音声データを含む高周波デジタル変調信号である。チューナ23は、アンテナ23Aから入力される高周波デジタル変調信号から特定の周波数の信号を取り出す。また、チューナ23は、逆インターリーブ回路、誤り訂正回路を備えており、取り出した特定の周波数の高周波デジタル変調信号を復調して符号データをAVデコーダ29に出力する。AVデコーダ29は、ビデオデコーダおよびオーディオデコーダを備えており、チューナ23から入力された符号データを復号して映像信号および音声信号を生成し、映像信号を表示制御部30に出力し、音声信号をD/A(デジタル/アナログ)変換して第2スピーカ12に与える。なお、ここでは、デジタルテレビジョン放送の放送電波を受信して再生する例を示したが、アナログテレビジョン放送の放送電波を受信して再生するようにしてもよい。また、テレビジョン放送に代えて、または、テレビジョン放送に加えて、ラジオ放送の放送電波を受信して再生するようにしてもよい。   The tuner 23 is connected to the antenna 23A, and receives a broadcast signal received by the antenna 23A. The broadcast signal is a high frequency digital modulation signal including video data and audio data. The tuner 23 extracts a signal having a specific frequency from the high frequency digital modulation signal input from the antenna 23A. The tuner 23 also includes a deinterleave circuit and an error correction circuit. The tuner 23 demodulates the extracted high-frequency digital modulation signal having a specific frequency and outputs code data to the AV decoder 29. The AV decoder 29 includes a video decoder and an audio decoder, decodes the code data input from the tuner 23 to generate a video signal and an audio signal, outputs the video signal to the display control unit 30, and outputs the audio signal. D / A (digital / analog) conversion is applied to the second speaker 12. Although an example of receiving and playing back a digital television broadcast wave is shown here, an analog television broadcast wave may be received and played back. Further, instead of the television broadcast or in addition to the television broadcast, the broadcast radio wave of the radio broadcast may be received and reproduced.

表示制御部30は、制御部21により制御され、制御部21から入力される指示に従ってLCD16を制御して、LCD16に画像を表示させる。LCD16に表示させる画像は、動画像と静止画像とを含む。   The display control unit 30 is controlled by the control unit 21 and controls the LCD 16 according to an instruction input from the control unit 21 to display an image on the LCD 16. The image displayed on the LCD 16 includes a moving image and a still image.

カメラ24は、レンズおよびCMOS(Complementary Metal O
xide Semiconductor)センサ等の光電変換素子を備え、レンズで集光した光をCMOSセンサに結像し、CMOSセンサは受光した光を光電変換して画像データを制御部21に出力する。カメラ24は、制御部21により制御され、制御部21からの指示により撮像を開始して、得られる静止画データまたは動画データを制御部21に出力する。カメラ24は、光電変換した画像データの画質を向上させるための画像処理を実行する画像処理回路、画像データをアナログからデジタルに変換するA/D変換回路を備えている。制御部21は、カメラ24が出力する静止画データまたは動画データを表示制御部30に出力し、LCD16に表示させる。また、静止画データまたは動画データを符号化し、フラッシュROM32またはカードI/F27に装着されたメモリカード27Aに記憶することが可能である。また、カメラ24は、携帯電話機1がテレビ電話として機能する場合、動画データを予め定められた圧縮符号化方式で静を符号化して、制御部21に出力する。
The camera 24 includes a lens and a CMOS (Complementary Metal O
A photoelectric conversion element such as a xide (sensor) sensor is provided, and the light collected by the lens is imaged on the CMOS sensor. The CMOS sensor photoelectrically converts the received light and outputs image data to the control unit 21. The camera 24 is controlled by the control unit 21, starts imaging in response to an instruction from the control unit 21, and outputs the obtained still image data or moving image data to the control unit 21. The camera 24 includes an image processing circuit that executes image processing for improving the image quality of photoelectrically converted image data, and an A / D conversion circuit that converts image data from analog to digital. The control unit 21 outputs still image data or moving image data output from the camera 24 to the display control unit 30 and causes the LCD 16 to display it. Still image data or moving image data can be encoded and stored in the flash ROM 32 or the memory card 27A attached to the card I / F 27. In addition, when the mobile phone 1 functions as a video phone, the camera 24 encodes the moving image data with a predetermined compression encoding method and outputs the still image to the control unit 21.

操作部25は、操作キー14と、タッチパネル25Aとを含む。操作キー14およびタッチパネル25Aは、ユーザによる操作の入力を受け付け、受付けた操作を制御部21に出力する。   The operation unit 25 includes operation keys 14 and a touch panel 25A. The operation key 14 and the touch panel 25 </ b> A receive an operation input from the user and output the received operation to the control unit 21.

カードI/F27には、着脱可能なメモリカード27Aが装着される。メモリカード27Aは、例えば、CompactFlash、SmartMedia(登録商標)、SD(Secure Digital)/MiniSD/MicroSDメモリカード、メモリースティック、MMC(MultiMedia Card)、xDピクチャーカードなどである。   A removable memory card 27A is attached to the card I / F 27. The memory card 27A is, for example, CompactFlash, SmartMedia (registered trademark), SD (Secure Digital) / MiniSD / MicroSD memory card, memory stick, MMC (MultiMedia Card), xD picture card, and the like.

制御部21は、カードI/F27を介して、メモリカード27Aにアクセスが可能である。ここでは制御部21で実行するためのプログラムをフラッシュROM32に記憶しておく例を説明するが、プログラムをメモリカード27Aに記憶しておき、メモリカード27Aからプログラムを読み出して、制御部21で実行するようにしてもよい。プログラムを記憶する記録媒体としては、メモリカード27Aに限られず、フレキシブルディスク、カセットテープ、光ディスク(CD−ROM(Compact Disc−ROM)/MO(Magnetic Optical Disc)/MD(Mini Disc)/DVD(Digital Versatile Disc))、光カード、マスクROM、EPROMなどの半導体メモリ等でもよい。また、携帯電話機1をインターネットに無線回路22を介して接続し、インターネットに接続されたコンピュータからプログラムをダウンロードして、制御部21で実行するようにしてもよい。ここでいうプログラムは、制御部21により直接実行可能なプログラムだけでなく、ソースプログラム、圧縮処理されたプログラム、暗号化されたプログラム等を含む。   The control unit 21 can access the memory card 27A via the card I / F 27. Here, an example in which a program to be executed by the control unit 21 is stored in the flash ROM 32 will be described. However, the program is stored in the memory card 27A, the program is read from the memory card 27A, and is executed by the control unit 21. You may make it do. The recording medium for storing the program is not limited to the memory card 27A, but is a flexible disk, a cassette tape, an optical disk (CD-ROM (Compact Disc-ROM) / MO (Magnetic Optical Disc) / MD (Mini Disc) / DVD (Digital). Versatile Disc)), an optical card, a semiconductor memory such as a mask ROM, an EPROM, or the like. Alternatively, the mobile phone 1 may be connected to the Internet via the wireless circuit 22, and a program may be downloaded from a computer connected to the Internet and executed by the control unit 21. The program here includes not only a program directly executable by the control unit 21 but also a source program, a compressed program, an encrypted program, and the like.

図5は、制御部の機能の概要の一例を示す機能ブロック図である。図5を参照して、制御部21は、撮像画像を取得する撮像画像取得部51と、撮像画像中の任意の位置の指定を受け付ける位置受付部57と、マスク領域を決定するためのマスク領域決定部59と、撮像画像のマスク領域を別の画像で置き換えた合成画像を生成する合成画像生成部53と、合成画像を送信する送信部55と、撮像画像からそれに含まれる特徴点を抽出するための特徴点抽出部61と、撮像画像中における特徴点の移動に応じて撮像画像に対するマスク領域を移動させるマスク領域移動部63とを含む。   FIG. 5 is a functional block diagram illustrating an example of an outline of functions of the control unit. With reference to FIG. 5, the control unit 21 includes a captured image acquisition unit 51 that acquires a captured image, a position reception unit 57 that receives designation of an arbitrary position in the captured image, and a mask region for determining a mask region. A determination unit 59, a composite image generation unit 53 that generates a composite image obtained by replacing the mask area of the captured image with another image, a transmission unit 55 that transmits the composite image, and a feature point included in the captured image is extracted. And a mask area moving unit 63 that moves the mask area for the captured image in accordance with the movement of the feature point in the captured image.

撮像画像取得部51は、カメラ24が被写体を撮像して出力する撮像画像が入力される。撮像画像取得部51は、入力される撮像画像を取得する。撮像画像取得部51は、取得した撮像画像を合成画像生成部53および特徴点抽出部61に出力する。カメラ24から入力される撮像画像は、静止画像と、動画像とを含む。ここでは、撮像画像として動画像が入力される場合を例に説明する。合成画像生成部53は、撮像画像取得部51から撮像画像が入力されると、撮像画像を表示制御部30に出力し、LCD16に表示させる。   The captured image acquisition unit 51 receives a captured image that the camera 24 captures and outputs a subject. The captured image acquisition unit 51 acquires an input captured image. The captured image acquisition unit 51 outputs the acquired captured image to the composite image generation unit 53 and the feature point extraction unit 61. The captured image input from the camera 24 includes a still image and a moving image. Here, a case where a moving image is input as a captured image will be described as an example. When the captured image is input from the captured image acquisition unit 51, the composite image generation unit 53 outputs the captured image to the display control unit 30 and displays it on the LCD 16.

位置受付部57は、撮像画像中の任意の位置の指定を受け付ける。位置受付部57は、ユーザがタッチパネル25Aで指示する撮像画像中の位置を受け付ける。位置受付部57は、タッチパネル25Aで検出された位置からLCD16に表示されている撮像画像中の位置を特定する。また、ユーザが、指示キー15を操作してLCD16に表示されたポインタを移動させ、決定キー5を押下した時点のポインタの位置を受け付ける。LCD16に表示されているポインタの位置からLCD16に表示されている撮像画像中の位置を特定する。位置受付部57は、受け付けた撮像画像中の位置を、マスク領域決定部59に出力する。   The position accepting unit 57 accepts designation of an arbitrary position in the captured image. The position receiving unit 57 receives a position in the captured image that is instructed by the user on the touch panel 25A. The position receiving unit 57 specifies the position in the captured image displayed on the LCD 16 from the position detected by the touch panel 25A. Further, the user operates the instruction key 15 to move the pointer displayed on the LCD 16 and receives the position of the pointer when the determination key 5 is pressed. The position in the captured image displayed on the LCD 16 is specified from the position of the pointer displayed on the LCD 16. The position receiving unit 57 outputs the received position in the captured image to the mask area determining unit 59.

マスク領域決定部59は、位置受付部57から入力される撮像画像中の位置に基づいて、撮像画像中のマスク領域を決定し、決定したマスク領域をマスク領域移動部63に出力する。マスク領域決定部59は、マスク領域指定モードと、非マスク領域指定モードとのいずれかにモードを切り替える。マスク領域決定部59は、マスク領域指定モードに切り替えられている場合、位置受付部57から入力される撮像画像中の位置またはその位置から所定の範囲をマスク領域とする。ユーザがタッチパネルを指でなぞる、または指示キー15で先を描く等する場合には、位置受付部57から隣接する複数の位置が連続して入力される。マスク領域決定部59は、連続して入力される複数の位置から所定の範囲の領域をマスク領域とする。また、連続して入力される複数の位置で囲まれる領域をマスク領域としてもよい。   The mask area determining unit 59 determines a mask area in the captured image based on the position in the captured image input from the position receiving unit 57, and outputs the determined mask area to the mask area moving unit 63. The mask area determination unit 59 switches the mode to either a mask area designation mode or a non-mask area designation mode. When the mask area designating mode 59 is switched to the mask area designation mode, the mask area determining unit 59 sets a position in the captured image input from the position receiving unit 57 or a predetermined range from the position as the mask area. When the user traces the touch panel with a finger or draws the tip with the instruction key 15, a plurality of adjacent positions are continuously input from the position receiving unit 57. The mask area determination unit 59 sets an area within a predetermined range from a plurality of positions input continuously as a mask area. Further, a region surrounded by a plurality of positions that are continuously input may be used as a mask region.

マスク領域決定部59は、非マスク領域指定モードに切り替えられている場合、位置受付部57から入力される撮像画像中の位置から所定の範囲を非マスク領域とする。マスク領域決定部59は、位置受付部57から連続して入力される複数の位置から所定の範囲の領域を非マスク領域とする。また、連続して入力される複数の位置で囲まれる領域を非マスク領域としてもよい。マスク領域決定部59は、撮像画像中で非マスク領域以外の領域をマスク領域に決定する。   When the mask area determination unit 59 is switched to the non-mask area designation mode, the mask area determination unit 59 sets a predetermined range from the position in the captured image input from the position reception unit 57 as the non-mask area. The mask area determination unit 59 sets an area within a predetermined range from a plurality of positions continuously input from the position reception unit 57 as a non-mask area. In addition, a region surrounded by a plurality of positions that are continuously input may be a non-mask region. The mask area determination unit 59 determines an area other than the non-mask area in the captured image as a mask area.

ここで、マスク領域の指定について具体的に説明する。図6は、撮像画像の一例を示す図である。図6を参照して、撮像画像100は、被写体としての携帯電話機1の操作者の画像101と、背景に「○○株式会社」の文字が表された看板の画像103とを含む。図7は、マスク領域の一例を示す第1の図である。図6に示した撮像画像100が、LCD16に表示されている状態で、操作者が、自身の画像101以外の領域をタッチパネル25Aで塗りつぶすように指示することにより、図7にハッチングで示すマスク領域110が特定される。図8は、非マスク領域の一例を示す図である。図6に示した撮像画像100が、LCD16に表示されている状態で、操作者が、自身の画像101をタッチパネル25Aで塗りつぶすように指示することにより、図7にハッチングで示す非マスク領域111が特定される。図9は、マスク領域の一例を示す第2の図である。図6に示した撮像画像100が、LCD16に表示されている状態で、操作者が、「○○株式会社」の文字が表された看板の画像103の領域をタッチパネル25Aで塗りつぶすように指示することにより、図9にハッチングで示すマスク領域113が特定される。   Here, the specification of the mask area will be specifically described. FIG. 6 is a diagram illustrating an example of a captured image. Referring to FIG. 6, captured image 100 includes an image 101 of the operator of mobile phone 1 as a subject, and a sign image 103 on which characters “OO Co., Ltd.” are displayed on the background. FIG. 7 is a first diagram illustrating an example of a mask region. In the state where the captured image 100 shown in FIG. 6 is displayed on the LCD 16, the operator instructs the area other than the own image 101 to be painted on the touch panel 25 </ b> A, whereby the mask area shown by hatching in FIG. 7. 110 is identified. FIG. 8 is a diagram illustrating an example of a non-mask area. When the captured image 100 shown in FIG. 6 is displayed on the LCD 16, the operator instructs the user to paint his / her image 101 with the touch panel 25 </ b> A, whereby a non-mask area 111 indicated by hatching in FIG. Identified. FIG. 9 is a second diagram illustrating an example of the mask area. In a state where the captured image 100 shown in FIG. 6 is displayed on the LCD 16, the operator instructs the touch panel 25A to fill the area of the sign image 103 on which the characters “XX Corporation” are displayed. Thus, the mask region 113 indicated by hatching in FIG. 9 is specified.

図5に戻って、マスク領域決定部59は、また、フラッシュROM32に予め記憶されたパターン画像に基づいて、マスク領域を決定することが可能である。図10は、マスク領域決定部59のパターン画像を用いてマスク領域を決定する機能を示す機能ブロック図である。図10を参照して、マスク領域決定部59は、パターン画像を取得するパターン画像取得部71と、拡張指示を受け付けるための拡張指示受付部73と、拡張指示に基づいてマスク領域を拡張する拡張部75と、縮小指示を受け付けるための縮小指示受付部7
7と、縮小指示に基づいてマスク領域を縮小拡張する縮小部79と、を含む。
Returning to FIG. 5, the mask area determination unit 59 can also determine the mask area based on the pattern image stored in advance in the flash ROM 32. FIG. 10 is a functional block diagram illustrating a function of determining a mask area using the pattern image of the mask area determining unit 59. Referring to FIG. 10, mask area determination unit 59 has a pattern image acquisition unit 71 that acquires a pattern image, an extension instruction reception unit 73 that receives an extension instruction, and an extension that extends a mask area based on the extension instruction. Part 75 and reduction instruction receiving part 7 for receiving a reduction instruction
7 and a reduction unit 79 that reduces and expands the mask area based on the reduction instruction.

パターン画像取得部71は、フラッシュROM32に予め記憶されているパターン画像を読み出す。フラッシュROM32に複数のパターン画像を記憶しておき、撮像画像に含まれる画像の特徴からいずれか1つのパターン画像を選択するようにしてもよいし、操作者がいずれか1つを選択するようにしてもよい。パターン画像取得部71は、読み出したパターン画像を表示制御部30に出力し、LCD16に表示されている撮像画像にパターン画像を重畳した画像を表示させるとともに、拡張指示受付部73および縮小指示受付部77に出力する。   The pattern image acquisition unit 71 reads a pattern image stored in advance in the flash ROM 32. A plurality of pattern images may be stored in the flash ROM 32, and any one pattern image may be selected from the characteristics of the image included in the captured image, or the operator may select any one. May be. The pattern image acquisition unit 71 outputs the read pattern image to the display control unit 30 to display an image obtained by superimposing the pattern image on the captured image displayed on the LCD 16, as well as an expansion instruction reception unit 73 and a reduction instruction reception unit. Output to 77.

拡張指示受付部73は、パターン画像取得部71からパターン画像が入力されると、そのパターン画像をマスク領域に設定する。また、拡張指示受付部73は、拡張部75または縮小部79からマスク領域が入力される。さらに、拡張指示受付部73は、タッチパネル25Aまたは指示キー15から拡張指示を受け付ける。拡張指示受付部73は、ユーザがタッチパネル25Aでマスク領域の位置を指示した後、連続してマスク領域以外の位置を指示した場合に、拡張指示を受け付ける。拡張指示は、マスク領域以外の位置を含む。拡張指示受付部73は、拡張指示を受け付けると、受け付けた拡張指示に含まれるマスク領域以外の位置とその時のマスク領域とを拡張部75に出力する。   When the pattern image is input from the pattern image acquisition unit 71, the extension instruction reception unit 73 sets the pattern image as a mask area. The expansion instruction receiving unit 73 receives a mask area from the expansion unit 75 or the reduction unit 79. Furthermore, the extension instruction receiving unit 73 receives an extension instruction from the touch panel 25A or the instruction key 15. The extension instruction accepting unit 73 accepts an extension instruction when the user designates a position other than the mask area continuously after instructing the position of the mask area on the touch panel 25A. The extension instruction includes a position other than the mask area. When receiving the extension instruction, the extension instruction receiving unit 73 outputs a position other than the mask area included in the received extension instruction and the mask area at that time to the extension unit 75.

拡張部75は、拡張指示受付部73から受け付けられるマスク領域を、マスク領域以外の位置まで拡張する。拡張部75は、拡張後のマスク領域を拡張指示受付部73および縮小指示受付部77に出力する。   The extension unit 75 extends the mask area received from the extension instruction receiving unit 73 to a position other than the mask area. The expansion unit 75 outputs the expanded mask area to the expansion instruction reception unit 73 and the reduction instruction reception unit 77.

縮小指示受付部77は、パターン画像取得部71からパターン画像が入力されると、そのパターン画像をマスク領域に設定する。また、縮小指示受付部77は、拡張部75または縮小部79からマスク領域が入力される。さらに、縮小指示受付部77は、タッチパネル25Aまたは指示キー15から縮小指示を受け付ける。縮小指示受付部77は、ユーザがタッチパネル25Aでマスク領域以外の位置を指示した後、連続してマスク領域の位置を指示した場合に、縮小指示を受け付ける。縮小指示は、マスク領域の位置を含む。縮小指示受付部77は、縮小指示を受け付けると、受け付けた縮小指示に含まれるマスク領域の位置とその時のマスク領域とを縮小部79に出力する。   When a pattern image is input from the pattern image acquisition unit 71, the reduction instruction reception unit 77 sets the pattern image as a mask area. The reduction instruction receiving unit 77 receives a mask area from the expansion unit 75 or the reduction unit 79. Further, the reduction instruction receiving unit 77 receives a reduction instruction from the touch panel 25 </ b> A or the instruction key 15. The reduction instruction accepting unit 77 accepts a reduction instruction when the user designates a position other than the mask area on the touch panel 25A and then designates the position of the mask area continuously. The reduction instruction includes the position of the mask area. When receiving the reduction instruction, the reduction instruction receiving unit 77 outputs the position of the mask area included in the received reduction instruction and the mask area at that time to the reduction unit 79.

縮小部79は、縮小指示受付部77から受け付けられるマスク領域を、マスク領域の位置まで縮小する。縮小部79は、縮小後のマスク領域を拡張指示受付部73および縮小指示受付部77に出力する。   The reduction unit 79 reduces the mask area received from the reduction instruction reception unit 77 to the position of the mask area. The reduction unit 79 outputs the reduced mask area to the expansion instruction receiving unit 73 and the reduction instruction receiving unit 77.

パターン画像を用いてマスク領域を決定する場合の具体例を説明する。図11は、パターン画像の一例を示す図である。図11を参照して、パターン画像は、マスク領域となる予定のパターン121を含む。図では、パターン121をハッチングで示す。パターン画像は、画面の略中央に円形のマスク領域以外の領域を含む。図12は、パターン画像のマスク領域を撮像画像に重畳した画像を示す図である。図12を参照して、ユーザが、タッチパネル25Aで、点123で示す位置を指示し、点123から伸びる矢印方向に指を移動させると、縮小指示が受け付けられる。また、パターン画像が撮像画像に重畳してLCD16に表示されている状態で、ユーザが、タッチパネル25Aで、点125で示す位置を指示し、点125から伸びる矢印方向に指を移動させると、拡張指示が受け付けられる。図13に、パターン画像を拡張または縮小した後のマスク領域を示す。   A specific example of determining a mask area using a pattern image will be described. FIG. 11 is a diagram illustrating an example of a pattern image. Referring to FIG. 11, the pattern image includes a pattern 121 to be a mask area. In the figure, the pattern 121 is indicated by hatching. The pattern image includes an area other than the circular mask area at the approximate center of the screen. FIG. 12 is a diagram illustrating an image in which a mask area of a pattern image is superimposed on a captured image. Referring to FIG. 12, when the user designates the position indicated by point 123 on touch panel 25A and moves the finger in the direction of the arrow extending from point 123, a reduction instruction is accepted. When the user designates the position indicated by the point 125 on the touch panel 25A and moves the finger in the direction of the arrow extending from the point 125 with the pattern image superimposed on the captured image and displayed on the LCD 16, the expansion is performed. Instructions are accepted. FIG. 13 shows the mask area after the pattern image is expanded or reduced.

このように、タッチパネル25Aでパターン画像に含まれるマスク領域を拡大または縮小することで、マスク領域を変更することができるので、撮像画像に合わせたマスク領域を容易に決定することができる。   As described above, since the mask area can be changed by enlarging or reducing the mask area included in the pattern image on the touch panel 25A, it is possible to easily determine the mask area according to the captured image.

図5に戻って。特徴点抽出部61は、撮像画像取得部51から入力される撮像画像から特徴点を抽出する。特徴点は、例えば、人の目、文字など撮像画像中に含まれる特徴的な形状、色、模様などに含まれる。撮像画像を2値化して所定の形状を抽出したり、撮像画像中から所定の色の部分を抽出したりして、特徴点を決定することができる。   Return to FIG. The feature point extraction unit 61 extracts feature points from the captured image input from the captured image acquisition unit 51. The feature points are included in, for example, characteristic shapes, colors, patterns, and the like included in captured images such as human eyes and characters. A feature point can be determined by binarizing the captured image to extract a predetermined shape or extracting a predetermined color portion from the captured image.

特徴点抽出部61は、抽出した特徴点をマスク領域移動部63に出力する。特徴点抽出部61は、異なる時に撮像画像取得部51から入力される2つの撮像画像それぞれから抽出された同一の特徴点の位置が異なる場合、移動ベクトルを算出して、マスク領域移動部63に出力する。   The feature point extracting unit 61 outputs the extracted feature points to the mask area moving unit 63. When the positions of the same feature points extracted from the two captured images input from the captured image acquisition unit 51 at different times are different, the feature point extraction unit 61 calculates a movement vector and sends it to the mask region movement unit 63. Output.

マスク領域移動部63は、マスク領域決定部59から入力されるマスク領域を合成画像生成部53に出力する。また、マスク領域移動部63は、特徴点抽出部61から移動ベクトルが入力されると、撮像画像中においてマスク領域を移動ベクトルで特定される方向および距離だけ移動させ、移動後のマスク領域を合成画像生成部53に出力する。   The mask area moving unit 63 outputs the mask area input from the mask area determining unit 59 to the composite image generating unit 53. When the movement vector is input from the feature point extraction unit 61, the mask area moving unit 63 moves the mask area in the captured image by the direction and distance specified by the movement vector, and synthesizes the mask area after the movement. The image is output to the image generation unit 53.

合成画像生成部53は、撮像画像取得部51から入力される撮像画像のうち、マスク領域移動部63から入力されるマスク領域を、プリセット画像に置き換えた合成画像を生成する。プリセット画像は、フラッシュROM32に予め記憶されており、ユーザが複数のプリセット画像のうちから1つ以上を選択することにより決定される。合成画像生成部53は、合成画像を送信部55に出力する。   The composite image generation unit 53 generates a composite image in which the mask region input from the mask region moving unit 63 among the captured images input from the captured image acquisition unit 51 is replaced with a preset image. The preset image is stored in advance in the flash ROM 32, and is determined by the user selecting one or more of the plurality of preset images. The composite image generation unit 53 outputs the composite image to the transmission unit 55.

送信部55は、合成画像生成部53から入力される合成画像を、無線回路22を介して、通話の相手方のテレビ電話機に送信する。   The transmission unit 55 transmits the composite image input from the composite image generation unit 53 to the other party's video phone via the wireless circuit 22.

ここで、マスク領域の移動について説明する。図14は、移動後のマスク領域の一例を示す第1の図である。ここでは、人の目を特徴点として、撮像画像中で操作者が移動した場合を例に示している。図7に示したマスク領域110が、操作者の画像101が移動することに伴って移動する。図14において、ハッチングで示す領域110Aが移動後のマスク領域である。マスク領域の外側の領域が新たにマスク領域として設定される。   Here, the movement of the mask area will be described. FIG. 14 is a first diagram illustrating an example of the mask area after movement. Here, a case where an operator moves in a captured image using a human eye as a feature point is shown as an example. The mask area 110 shown in FIG. 7 moves as the operator's image 101 moves. In FIG. 14, an area 110A indicated by hatching is a mask area after movement. A region outside the mask region is newly set as a mask region.

図15は、移動後のマスク領域の一例を示す第2の図である。ここでは、撮像画像中の文字を特徴点として、カメラ24の撮像範囲が左方向に変動した場合を例に示している。図9に示したマスク領域113が、カメラ24の撮像範囲が変動することに伴って撮像画像中における「○○株式会社」の文字が移動する。図9に示すマスク領域113が、撮像画像中における「○○株式会社」の文字が移動した分だけ移動し、図15に示すハッチングで示すマスク領域113Aの位置まで移動する。   FIG. 15 is a second diagram illustrating an example of the mask area after movement. Here, the case where the imaging range of the camera 24 fluctuates in the left direction with the characters in the captured image as feature points is shown as an example. In the mask area 113 shown in FIG. 9, the characters “OO Co., Ltd.” in the captured image move as the imaging range of the camera 24 changes. The mask area 113 shown in FIG. 9 moves as much as the character “XX Co., Ltd.” in the captured image moves, and moves to the position of the mask area 113A indicated by hatching shown in FIG.

図16は、着信処理の流れの一例を示すフローチャートである。着信処理は、制御部21が撮像画像送信プログラムを実行することにより、制御部21により実行される処理である。図16を参照して、制御部21は、着呼を検出したか否かを判断する(ステップS01)。無線回路22が着呼信号を受信すると、着呼を検出する。着呼を検出するまで待機状態となり(ステップS01でNO)、着呼を検出すると処理をステップS02に進める。すなわち、着信処理は、着呼を検出することを条件に実行される処理である。   FIG. 16 is a flowchart illustrating an example of the flow of incoming call processing. The incoming call process is a process executed by the control unit 21 when the control unit 21 executes the captured image transmission program. Referring to FIG. 16, control unit 21 determines whether an incoming call has been detected (step S01). When the radio circuit 22 receives the incoming call signal, the incoming call is detected. The process waits until an incoming call is detected (NO in step S01). When an incoming call is detected, the process proceeds to step S02. In other words, the incoming call process is a process executed on condition that an incoming call is detected.

ステップS02においては、応呼指示を受け付けたか否かを判断する。通話キー14Bが押下されたか否かを判断する。応呼指示を受け付けたならば処理をステップS03に進めるが、そうでなければ処理を終了する。操作者が応呼する意思がない場合に、通話を確立しないためである。   In step S02, it is determined whether a call instruction is accepted. It is determined whether or not the call key 14B has been pressed. If a response instruction is accepted, the process proceeds to step S03. If not, the process ends. This is because the call is not established when the operator does not intend to answer the call.

処理をステップS03に進める場合、発呼側のテレビ電話機との間で通信が確立する。ステップS03においては、音声通話を開始する。この段階で、音声通話が可能となる。   When the process proceeds to step S03, communication is established with the videophone on the calling side. In step S03, a voice call is started. At this stage, a voice call is possible.

ステップS04においては、テレビ電話による通話か否かを判断する。テレビ電話による通話の場合には処理をステップS05に進め、そうでなければ処理をステップS17に進める。処理をステップS05に進める場合、発呼側のテレビ電話機から動画データが受信される場合は、その動画データを表示制御部30に出力し、LCD16に表示させる。ステップS17においては、音声による通話が終了したか否かを判断する。通話が終了するまで待機状態となり(ステップS17でNO)、通話が終了したならば処理を終了する。通話の終了は、通信の切断の検出、または、通話終了キー14Cの押下の検出により判断する。   In step S04, it is determined whether the call is a videophone call. If the call is a videophone call, the process proceeds to step S05; otherwise, the process proceeds to step S17. When the process proceeds to step S05, when moving image data is received from the calling side videophone, the moving image data is output to the display control unit 30 and displayed on the LCD 16. In step S17, it is determined whether or not the voice call has ended. It will be in a standby state until the call ends (NO in step S17), and if the call ends, the process ends. The end of the call is determined by detecting the disconnection of communication or detecting the pressing of the call end key 14C.

ステップS05においては、プリセットキャラクタの送信を開始する。具体的には、フラッシュROM32に予め記憶されているプリセットキャラクタを読み出し、無線回路22を介して相手方のテレビ電話機に送信する。これにより、相手方のテレビ電話機にプリセットキャラクタが表示される。この段階では、カメラ24で撮像して得られる画像は、相手方のテレビ電話機に送信されない。   In step S05, transmission of a preset character is started. Specifically, the preset characters stored in advance in the flash ROM 32 are read out and transmitted to the other party's video phone via the radio circuit 22. As a result, the preset character is displayed on the other party's video phone. At this stage, the image obtained by imaging with the camera 24 is not transmitted to the other party's video phone.

次のステップS06においては、画像を送出するか否かを判断する。画像を送出するか否かは、予め設定されていてもよく、ユーザが操作キー14に入力する指示に従って判断するようにしてもよい。画像を送出する場合は、処理をステップS07に進め、そうでない場合には処理をステップS13に進める。   In the next step S06, it is determined whether or not to send an image. Whether to send an image may be set in advance, or may be determined according to an instruction input by the user to the operation key 14. If the image is to be transmitted, the process proceeds to step S07; otherwise, the process proceeds to step S13.

ステップS07においては、画像をマスクするか否かを判断する。マスクするか否かは、予め設定されている設定に従って判断するようにしてもよいし、ユーザが入力する指示に従って判断するようにしてもよい。ユーザが入力する指示に従って判断する場合、カメラ24が操作者を撮像して出力する撮像画像をLCD16に表示するとともに、マスクするか否かを問合せるメッセージをLCD16に表示して、ユーザに指示の入力を促す。そして、ユーザにより操作キー14に割当られたマスクすることを示すキーが入力されたならば、処理をステップS08に進め、そうでなければ処理をステップS14に進める。   In step S07, it is determined whether to mask the image. Whether to mask or not may be determined according to a preset setting, or may be determined according to an instruction input by the user. When the determination is made according to the instruction input by the user, the camera 24 displays a captured image output by imaging the operator on the LCD 16, and displays a message asking whether or not to mask on the LCD 16 to input an instruction to the user. Prompt. If the key indicating masking assigned to operation key 14 is input by the user, the process proceeds to step S08; otherwise, the process proceeds to step S14.

ステップS08においては、マスク領域決定処理を実行する。マスク領域決定処理については後述するが、撮像画像中のマスク領域を決定する処理である。次のステップS09においては、画像を送信する指示を受け付けたか否かを判断する。操作キー14のうち画像を送信する指示の入力のために予め割り当てられたキーが指示されるまでマスク領域決定処理を繰り返すが、そのキーが指示されたならば処理をステップS10に進める。操作者が、マスク領域を決定した後に、初めてカメラ24が操作者を撮像して出力する撮像画像を送信するためである。   In step S08, a mask area determination process is executed. Although mask area determination processing will be described later, it is processing for determining a mask area in a captured image. In the next step S09, it is determined whether an instruction to transmit an image has been accepted. The mask area determination process is repeated until a key assigned in advance for inputting an instruction to transmit an image among the operation keys 14 is designated. If the key is designated, the process proceeds to step S10. This is because, after the operator determines the mask area, the camera 24 transmits a captured image output by imaging the operator for the first time.

ステップS10においては、合成画像を生成する。具体的には、カメラ24が操作者を撮像して出力する撮像画像のうち、ステップS08において決定されたマスク領域を、別の画像に置き換えた合成画像を生成する。別の画像は、ステップS08におけるマスク領域決定処理により決定されるプリセット画像または、単一色に塗りつぶした画像である。次のステップS11においては、ステップS05で送信を開始したプリセットキャラクタに代えて合成画像を、無線回路22を介して相手方のテレビ電話機に送信する。これにより、相手方のテレビ電話機に合成画像が表示される。   In step S10, a composite image is generated. Specifically, a composite image in which the mask area determined in step S08 is replaced with another image among the captured images output by the camera 24 imaging the operator is generated. Another image is a preset image determined by the mask area determination process in step S08 or an image filled with a single color. In the next step S11, the composite image is transmitted to the other party's videophone via the wireless circuit 22 in place of the preset character which has been transmitted in step S05. As a result, the composite image is displayed on the other party's video phone.

次のステップS12においては、追従処理を実行する。追従処理については後述するが、撮像画像中の特徴点の移動に追従してマスク領域を移動させる処理である。そして、次のステップS13においては、通話が終了したか否かを判断する。通話が終了したならば処理を終了し、そうでなければ処理をステップS10に戻す。通話が終了するまで、合成画像を送信するためである。   In the next step S12, a follow-up process is executed. Although the follow-up process will be described later, it is a process of moving the mask area following the movement of the feature point in the captured image. Then, in the next step S13, it is determined whether or not the call is finished. If the call is finished, the process is terminated; otherwise, the process returns to step S10. This is because the composite image is transmitted until the call ends.

一方、ステップS14においては、ステップS09と同様に、画像を送信する指示を受け付けたか否かを判断する。画像を送信する指示を受け付けるまで、待機状態となり(ステップS14でNO)、画像を送信する指示を受け付けると処理をステップS15に進める。操作者が、指示した後に、初めてカメラ24が操作者を撮像して出力する撮像画像を送信するためである。なお、画像を送信する指示を受け付けることなく、直ちに処理をステップS15に処理を進めるようにしてもよい。   On the other hand, in step S14, as in step S09, it is determined whether an instruction to transmit an image has been accepted. The process waits until an instruction to transmit an image is received (NO in step S14). When an instruction to transmit an image is received, the process proceeds to step S15. This is because the camera 24 transmits a captured image that is captured and output by the operator 24 for the first time after the operator gives an instruction. Note that the processing may be immediately advanced to step S15 without receiving an instruction to transmit an image.

ステップS15においては、撮像画像を、無線回路22を介して相手方のテレビ電話機に送信する。これにより、相手方のテレビ電話機に撮像画像が表示される。次のステップS16においては、通話が終了したか否かを判断する。通話が終了したならば処理を終了し、そうでなければ処理をステップS15に戻す。通話が終了するまで、撮像画像を送信するためである。   In step S15, the captured image is transmitted to the other party's video phone via the wireless circuit 22. As a result, the captured image is displayed on the other party's video phone. In the next step S16, it is determined whether or not the telephone call is finished. If the call is finished, the process is terminated; otherwise, the process returns to step S15. This is because the captured image is transmitted until the call ends.

図17は、マスク領域決定処理の流れの一例を示すフローチャートである。マスク領域決定処理は、図16のステップS08において実行される処理である。図17を参照して、マスク領域の指定方法により処理を分岐させる(ステップS51)。マスク領域の指定方法は、予め設定しておくようにしてもよいし、ユーザが操作部25に指示を入力することにより選択するようにしてもよい。   FIG. 17 is a flowchart illustrating an example of the flow of the mask area determination process. The mask area determination process is a process executed in step S08 of FIG. Referring to FIG. 17, the process branches according to the mask area designation method (step S51). The mask region designation method may be set in advance, or may be selected by the user inputting an instruction to the operation unit 25.

マスク領域の指定方法が、マスク領域指定ならば処理をステップS52に進め、非マスク領域指定ならば処理をステップS61に進め、パターン画像指定ならば処理をステップS71に進める。   If the mask area designation method is mask area designation, the process proceeds to step S52. If a non-mask area designation is designated, the process proceeds to step S61. If the pattern image designation is designated, the process proceeds to step S71.

ステップS52においては、LCD16に表示されている撮像画像中の位置を受け付ける。具体的には、タッチパネル25Aにおいて指示された位置に対応する位置を特定する、または、指示キー15により指示されたLCD16に表示されるポインタの位置に対応する撮像画像の位置を特定する。そして、受け付けられた位置をマスク領域に設定する(ステップS53)。受け付けられた位置から所定の範囲をマスク領域に設定するようにしてもよいし、連続して受け付けられる複数の位置で囲まれる領域をマスク領域に設定するようにしてもよい。   In step S52, the position in the captured image displayed on LCD 16 is received. Specifically, the position corresponding to the position indicated on the touch panel 25A is specified, or the position of the captured image corresponding to the position of the pointer displayed on the LCD 16 indicated by the instruction key 15 is specified. Then, the received position is set as a mask area (step S53). A predetermined range from the accepted position may be set as the mask area, or an area surrounded by a plurality of positions that are continuously accepted may be set as the mask area.

そして、マスク領域の指定が終了したか否かを判断する(ステップS54)。ユーザによりマスク領域の指定を終了させるための指示が、操作キー14に入力されることにより、マスク領域の指定が終了したと判断する。マスク領域の指定が終了したならば処理をステップS55に進め、終了していなければ処理をステップS52に戻す。複数のマスク領域を指定可能とするためである。   Then, it is determined whether or not the mask area has been designated (step S54). When the user inputs an instruction to end the specification of the mask area to the operation key 14, it is determined that the specification of the mask area has ended. If the mask area has been designated, the process proceeds to step S55; otherwise, the process returns to step S52. This is because a plurality of mask areas can be specified.

ステップS61においては、ステップS52と同様に、LCD16に表示されている撮像画像の位置を受け付ける。そして、受け付けられた位置を非マスク領域に設定する(ステップS62)。受け付けられた位置から所定の範囲を非マスク領域に設定するようにしてもよいし、連続して受け付けられる複数の位置で囲まれる領域を非マスク領域に設定するようにしてもよい。   In step S61, as in step S52, the position of the captured image displayed on the LCD 16 is accepted. Then, the received position is set as a non-mask area (step S62). A predetermined range from the accepted position may be set as a non-mask area, or an area surrounded by a plurality of positions that are continuously accepted may be set as a non-mask area.

そして、非マスク領域の指定が終了したか否かを判断する(ステップS63)。ユーザによりマスク領域の指定を終了させるための指示が、操作キー14に入力されることにより、非マスク領域の指定が終了したと判断する。非マスク領域の指定が終了したならば処理をステップS64に進め、終了していなければ処理をステップS61に戻す。複数の非
マスク領域を指定可能とするためである。ステップS64においては、撮像画像のうち非マスク領域以外の領域をマスク領域に設定し、処理をステップS55に進める。
Then, it is determined whether or not the designation of the non-mask area has been completed (step S63). When the user inputs an instruction to end the specification of the mask area to the operation key 14, it is determined that the specification of the non-mask area has ended. If the designation of the non-mask area has been completed, the process proceeds to step S64; otherwise, the process returns to step S61. This is because a plurality of non-mask areas can be specified. In step S64, an area other than the non-mask area in the captured image is set as a mask area, and the process proceeds to step S55.

また、ステップS71においては、フラッシュROM32に予め記憶されているパターン画像を読み出し、LCD16に表示する。LCD16に撮像画像が表示されているので、その撮像画像にパターン画像に含まれるマスク領域を重畳した画像をLCD16に表示する。フラッシュROM32に複数のパターン画像を記憶しておくようにし、ユーザがそのうちから1つを選択するようにしてもよいし、撮像画像から抽出される特徴に基づいて、複数のパターン画像のうちから1つを選択するようにしてもよい。また、撮像画像中の被写体の大きさに基づいてパターン画像を拡大または縮小するようにしてもよい。   In step S71, a pattern image stored in advance in the flash ROM 32 is read and displayed on the LCD 16. Since the captured image is displayed on the LCD 16, an image obtained by superimposing the mask region included in the pattern image on the captured image is displayed on the LCD 16. A plurality of pattern images may be stored in the flash ROM 32, and the user may select one of them, or one of the plurality of pattern images may be selected based on features extracted from the captured image. You may make it select one. Further, the pattern image may be enlarged or reduced based on the size of the subject in the captured image.

ステップS72においては、拡張指示が入力されたか否かを判断する。タッチパネル25Aまたは指示キー15により、LCD16に表示されているマスク領域の位置が受け付けられた後、連続してマスク領域以外の位置が受け付けられる場合に、拡張指示を受け付ける。拡張指示を受け付けたならば処理をステップS73に進め、そうでなければ処理をステップS74に進める。ステップS73においては、マスク領域を拡張し、処理をステップS74に進める。具体的には、タッチパネル25Aにより、LCD16に表示されているマスク領域の位置が受け付けられた後に連続して受け付けられるマスク領域以外の位置を、マスク領域に変更する。   In step S72, it is determined whether an extension instruction has been input. After the position of the mask area displayed on the LCD 16 is received by the touch panel 25A or the instruction key 15, an extension instruction is received when positions other than the mask area are continuously received. If an extension instruction has been accepted, the process proceeds to step S73; otherwise, the process proceeds to step S74. In step S73, the mask area is expanded and the process proceeds to step S74. Specifically, the touch panel 25A changes a position other than the mask area continuously received after the position of the mask area displayed on the LCD 16 is received to the mask area.

ステップS74においては、縮小指示が入力されたか否かを判断する。タッチパネル25Aにより、LCD16に表示されているマスク領域以外の領域の位置が受け付けられた後、連続してマスク領域の位置が受け付けられる場合に、縮小指示を受け付ける。縮小指示を受け付けたならば処理をステップS75に進め、そうでなければ処理をステップS76に進める。ステップS75においては、マスク領域を縮小し、処理をステップS76に進める。具体的には、タッチパネル25Aにより、LCD16に表示されているマスク領域以外の領域の位置が受け付けられた後に連続して受け付けられるマスク領域の位置を、非マスク領域に変更する。   In step S74, it is determined whether a reduction instruction has been input. When the position of the area other than the mask area displayed on the LCD 16 is received by the touch panel 25A and then the position of the mask area is continuously received, a reduction instruction is received. If a reduction instruction is accepted, the process proceeds to step S75; otherwise, the process proceeds to step S76. In step S75, the mask area is reduced, and the process proceeds to step S76. Specifically, the position of the mask area continuously received after the position of the area other than the mask area displayed on the LCD 16 is received by the touch panel 25A is changed to a non-mask area.

ステップS76においては、マスク領域が決定されたか否かを判断する。換言すれば、マスク領域の拡張および縮小が終了したか否かを判断する。ユーザによりマスク領域を決定するための指示が、操作キー14に入力されることにより、マスク領域が決定されたと判断する。マスク領域が決定されたならば処理をステップS55に進めるが、そうでなければ処理をステップS72に戻す。複数回のマスク領域の拡大および縮小を可能とするためである。   In step S76, it is determined whether a mask area has been determined. In other words, it is determined whether or not the expansion and reduction of the mask area have been completed. When the user inputs an instruction for determining the mask area to the operation key 14, it is determined that the mask area has been determined. If the mask area is determined, the process proceeds to step S55; otherwise, the process returns to step S72. This is because the mask area can be enlarged and reduced a plurality of times.

ステップS55においては、プリセット画像が選択されたか否かを判断する。フラッシュROM32に記憶されているプリセット画像が選択されたならば処理をステップS56に進め、選択されないならば処理をステップS57に進める。ステップS56においては、マスク領域の画像に、選択されたプリセット画像を設定し、処理を戻す。これにより、撮像画像のマスク領域がプリセット画像に置き換えられた合成画像が生成される。   In step S55, it is determined whether a preset image has been selected. If the preset image stored in flash ROM 32 has been selected, the process proceeds to step S56; otherwise, the process proceeds to step S57. In step S56, the selected preset image is set as the image in the mask area, and the process returns. Thereby, a composite image in which the mask area of the captured image is replaced with the preset image is generated.

一方、ステップS57においては、マスク領域の画像に単一色を設定し、処理を戻す。これにより、撮像画像のマスク領域が単一色の画像に置き換えられた合成画像が生成される。   On the other hand, in step S57, a single color is set for the image in the mask area, and the process returns. As a result, a composite image in which the mask area of the captured image is replaced with a single color image is generated.

なお、マスク領域指定と非マスク領域指定とを組み合わせてマスク領域を指定するようにしてもよい。マスク領域指定による指定方法によれば、撮像画像中の送信を望まない領域を指定することができ、非マスク領域指定による指定方法によれば、撮像画像中の送信望む領域を指定することができる。したがって、両指定方法を組み合わせることにより、
マスク領域の指定がより簡単に行うことができる。
Note that the mask area may be designated by combining the mask area designation and the non-mask area designation. According to the designation method by mask area designation, an area that is not desired to be transmitted in the captured image can be designated, and according to the designation method by non-mask area designation, the area to be transmitted in the captured image can be designated. . Therefore, by combining both specification methods,
The mask area can be specified more easily.

図18は、追従処理の流れの一例を示すフローチャートである。追従処理は、図16のステップS12で実行される処理である。図18を参照して、撮像画像から特徴点を抽出する(ステップS81)。特徴点は、人の目の画像、文字等である。そして、特徴点が移動しているか否かを判断する(ステップS82)。具体的には、今回特徴点を抽出した撮像画像より先の撮像画像から抽出された特徴点の位置と、今回抽出した特徴点の位置とが異なるか否かを判断する。2つの異なる撮像画像それぞれから抽出された特徴点の位置が異なれば、特徴点が移動していると判断する。特徴点が移動していれば処理をステップS83に進め、移動していなければ処理を戻す。   FIG. 18 is a flowchart illustrating an example of the flow of follow-up processing. The follow-up process is a process executed in step S12 of FIG. Referring to FIG. 18, feature points are extracted from the captured image (step S81). The feature points are human eye images, characters, and the like. Then, it is determined whether or not the feature point is moving (step S82). Specifically, it is determined whether the position of the feature point extracted from the captured image ahead of the captured image from which the current feature point is extracted is different from the position of the feature point extracted this time. If the positions of feature points extracted from two different captured images are different, it is determined that the feature points are moving. If the feature point has moved, the process proceeds to step S83, and if not, the process returns.

ステップS83においては、マスク領域を移動させ、処理を戻す。2つの特徴点から求められるベクトルに従って、マスク領域を平行移動させる。移動前のマスク領域が撮像画像の4辺のいずれかと接している場合には、接していた辺とマスク領域との間を新たにマスク領域とする。   In step S83, the mask area is moved and the process returns. The mask area is translated in accordance with a vector obtained from the two feature points. When the mask area before the movement is in contact with any one of the four sides of the captured image, a new area is defined between the side in contact with the mask area.

図19は、発信処理の流れの一例を示すフローチャートである。発信処理は、制御部21が撮像画像送信プログラムを実行することにより、制御部21により実行される処理である。図19を参照して、制御部21は、テレビ電話が起動されたか否かを判断する(ステップS21)。テレビ電話が起動されるまで待機状態となり、テレビ電話が起動されたならば処理をステップS22に進める。すなわち、発信処理は、テレビ電話機が起動されることを条件に実行される処理である。ステップS22においては、図15のステップS07と同様に、送信する画像をマスクするか否かを判断する。画像をマスクするならば、処理をステップS23に進め、そうでなければ処理をステップS32に進める。   FIG. 19 is a flowchart illustrating an example of the flow of outgoing call processing. The transmission process is a process executed by the control unit 21 when the control unit 21 executes the captured image transmission program. Referring to FIG. 19, control unit 21 determines whether or not the videophone is activated (step S21). The process waits until the videophone is activated. If the videophone is activated, the process proceeds to step S22. That is, the calling process is a process that is executed on condition that the videophone is activated. In step S22, as in step S07 of FIG. 15, it is determined whether or not to mask the image to be transmitted. If the image is masked, the process proceeds to step S23; otherwise, the process proceeds to step S32.

ステップS23においては、図16に示したマスク領域決定処理を実行する。次のステップS24においては、発信指示を受け付けたか否かを判断する。通話キー14Bの押下を検出したならば発信指示を受け付け、処理をステップS25に進めるが、そうでなければ処理をステップS23に戻す。操作者が、マスク領域を決定した後に、発呼するようにして、カメラ24が操作者を撮像して出力する撮像画像をマスクした合成画像を送信するためである。   In step S23, the mask area determination process shown in FIG. 16 is executed. In the next step S24, it is determined whether a call instruction has been accepted. If it is detected that the call key 14B is pressed, a call instruction is accepted and the process proceeds to step S25. If not, the process returns to step S23. This is because the camera 24 makes a call after determining the mask area, and transmits a composite image in which the camera 24 masks the captured image output by imaging the operator.

ステップS25においては、発呼し、処理をステップS26に進める。ステップS26においては、応呼があったか否かを判断し、応呼があったならば処理をステップS27に進め、応呼がなければ処理を終了する。   In step S25, a call is made and the process proceeds to step S26. In step S26, it is determined whether or not there is a call. If there is a call, the process proceeds to step S27. If there is no call, the process ends.

ステップS27においては、音声通話を開始し、処理をステップS28に進める。ステップS28においては、合成画像を生成する。具体的には、カメラ24が操作者を撮像して出力する撮像画像のうち、ステップS23において決定されたマスク領域を、別の画像に置き換えた合成画像を生成する。別の画像は、ステップS23におけるマスク領域決定処理により決定されるプリセット画像または、単一色に塗りつぶした画像である。次のステップS29においては、合成画像を、無線回路22を介して相手方のテレビ電話機に送信する。これにより、相手方のテレビ電話機に合成画像が表示される。   In step S27, a voice call is started, and the process proceeds to step S28. In step S28, a composite image is generated. Specifically, a composite image is generated by replacing the mask area determined in step S23 with another image in the captured image output by the camera 24 imaging the operator. Another image is a preset image determined by the mask area determination process in step S23 or an image filled in a single color. In the next step S29, the composite image is transmitted to the other party's video phone via the wireless circuit 22. As a result, the composite image is displayed on the other party's video phone.

次のステップS30においては、図16に示した追従処理を実行し、処理をステップS31に進める。ステップS31においては、通話が終了したか否かを判断する。通話が終了したならば処理を終了するが、通話が終了していなければ処理をステップS28に戻す。   In the next step S30, the follow-up process shown in FIG. 16 is executed, and the process proceeds to step S31. In step S31, it is determined whether the call has ended. If the call has ended, the process ends. If the call has not ended, the process returns to step S28.

一方、ステップS32においては、発信指示を受け付けるまで待機状態となり、発信指
示を受け付けたならば処理をステップS33に進める。ステップS33においては、発呼し、処理をステップS34に進める。ステップS34においては、応呼があったか否かを判断し、応呼があったならば処理をステップS35に進め、応呼がなければ処理を終了する。
On the other hand, in step S32, the process waits until a call instruction is accepted. If a call instruction is accepted, the process proceeds to step S33. In step S33, a call is made and the process proceeds to step S34. In step S34, it is determined whether or not there is a call. If there is a call, the process proceeds to step S35, and if there is no call, the process ends.

ステップS35においては、音声通話を開始し、処理をステップS36に進める。ステップS36においては、画像を送出するか否かを判断する。画像を送出する場合は、処理をステップS37に進め、そうでない場合には処理をステップS39に進める。   In step S35, a voice call is started, and the process proceeds to step S36. In step S36, it is determined whether or not to send an image. If the image is to be sent, the process proceeds to step S37; otherwise, the process proceeds to step S39.

ステップS37においては、撮像画像を、無線回路22を介して相手方のテレビ電話機に送信する。これにより、相手方のテレビ電話機に撮像画像が表示される。次のステップS38においては、通話が終了したか否かを判断する。通話が終了したならば処理を終了し、そうでなければ処理をステップS37に戻す。通話が終了するまで、撮像画像を送信するためである。ステップS38においては、通話が終了したか否かを判断する。通話が終了するまで待機状態となり、通話が終了したならば処理を終了する。   In step S <b> 37, the captured image is transmitted to the other party's video phone via the wireless circuit 22. As a result, the captured image is displayed on the other party's video phone. In the next step S38, it is determined whether or not the call has ended. If the call is finished, the process is terminated; otherwise, the process returns to step S37. This is because the captured image is transmitted until the call ends. In step S38, it is determined whether or not the call has ended. The process waits until the call ends, and when the call ends, the process ends.

以上説明したように、本実施の形態における携帯電話機1は、テレビ電話機として機能し、操作者を撮像した撮像画像の背景の少なくとも一部の領域が、タッチパネル25Aにより指定されると、撮像画像の少なくとも一部をマスクするためのマスク領域を決定し、撮像画像のマスク領域をプリセット画像または単一色の画像に変換した合成画像を生成し、送信する。このため、操作者を撮像した撮像画像の背景などの領域が送信されないので、撮像して得られる画像を部分的に選択して送信することが可能となる。たとえば、操作者が送信を望まない画像が背景に含まれていれば、その画像を送信しないようにすることができる。   As described above, the mobile phone 1 according to the present embodiment functions as a video phone, and when at least a part of the background of the captured image obtained by capturing the operator is designated by the touch panel 25A, the captured image is displayed. A mask area for masking at least a part is determined, and a composite image obtained by converting the mask area of the captured image into a preset image or a single color image is generated and transmitted. For this reason, since an area such as a background of a captured image obtained by imaging the operator is not transmitted, it is possible to partially select and transmit an image obtained by imaging. For example, if an image that the operator does not want to transmit is included in the background, the image can be prevented from being transmitted.

また、撮像画像をLCD16に表示しながら、マスク領域を指定することができるので、撮像画像中から送信しない領域を容易に選択することができる。   In addition, since the mask area can be designated while displaying the captured image on the LCD 16, it is possible to easily select an area not to be transmitted from the captured image.

また、予め定められたマスク領域を含むパターン画像を撮像画像に重畳した画像をLCD16に表示し、タッチパネル25Aを操作することによりマスク領域を拡大または縮小することができるので、マスクが表示され、受け付けられた表示面の位置に基づいてマスク領域が変更されるので、撮像画像中から送信しない領域を容易に選択することができる。   Further, an image obtained by superimposing a pattern image including a predetermined mask area on the captured image is displayed on the LCD 16, and the mask area can be enlarged or reduced by operating the touch panel 25A. Since the mask area is changed based on the displayed position of the display surface, it is possible to easily select an area not to be transmitted from the captured image.

また、撮像画像から目や文字等の特徴点を抽出し、特徴点の位置が撮像画像中で変化すると、その変化に従って、撮像画像中におけるマスク領域を移動させるので、カメラ24の撮像範囲が変動したり、被写体が移動したりする場合であっても、撮像画像中で送信を望まない領域が送信されるのを防止することができる。   Further, when feature points such as eyes and characters are extracted from the captured image, and the position of the feature point changes in the captured image, the mask area in the captured image is moved according to the change, so the imaging range of the camera 24 varies. Even if the subject moves or the subject moves, it is possible to prevent the transmission of an area that is not desired to be transmitted in the captured image.

また、マスク領域が決定されなければ、撮像画像を送信しないので、送信を望まない画像が送信されるのを確実に防止することができる。   If the mask area is not determined, the captured image is not transmitted, so that it is possible to reliably prevent an image that is not desired to be transmitted.

なお、本実施の形態においては、テレビ電話機能における画像の送信について説明したが、テレビ電話機能に限らず、例えば、KDDI社が提供するHello Messengerサービス等の文字や音声、画像を組み合わせて送受信するミーティング機能における画像の送信にも適用することができる。   In this embodiment, image transmission in the videophone function has been described. However, the transmission is not limited to the videophone function, and, for example, characters, sounds, and images such as Hello Messenger service provided by KDDI are combined for transmission / reception. It can also be applied to image transmission in the meeting function.

なお、本実施の形態においては、画像送信装置の一例として携帯電話機1を例に説明したが、図16〜図19に示した処理を画像送信装置に実行させる撮像画像送信方法、および図16〜図19に示した処理をコンピュータに実行させるための撮像画像送信プログラ
ムとして発明を捉えることができるのは言うまでもない。
In the present embodiment, the mobile phone 1 has been described as an example of the image transmission apparatus. However, the captured image transmission method that causes the image transmission apparatus to execute the processes illustrated in FIGS. 16 to 19 and FIGS. It goes without saying that the invention can be understood as a captured image transmission program for causing a computer to execute the processing shown in FIG.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

<付記>
(1) 前記変更手段は、前記マスク領域を拡張する拡張手段と、
前記マスク領域を縮小する縮小手段と、を含む請求項4に記載の画像送信装置。
(2) 前記撮像画像から顔の領域を検出する顔領域検出手段と、
検出された前記顔領域を前記マスク領域とするパターン画像を生成するパターン画像生成手段と、をさらに備えた請求項4に記載の画像送信装置。
(3) 着呼を検出する着呼検出手段と、
前記送信手段は、着呼に応呼する指示が受け付けられると、前記マスク領域が決定されるまで、予め定められた画像を送信する、請求項7に記載の画像送信装置。
(4) 前記送信手段は、発呼する指示が受け付けられると、前記マスク領域が決定されるまで、予め定められた画像を送信する、請求項7に記載の画像送信装置。
<Appendix>
(1) The changing means includes an expanding means for expanding the mask area;
The image transmission apparatus according to claim 4, further comprising a reduction unit that reduces the mask area.
(2) face area detecting means for detecting a face area from the captured image;
The image transmission apparatus according to claim 4, further comprising pattern image generation means for generating a pattern image using the detected face area as the mask area.
(3) an incoming call detection means for detecting an incoming call;
The image transmission device according to claim 7, wherein, when an instruction to answer an incoming call is received, the transmission unit transmits a predetermined image until the mask area is determined.
(4) The image transmission device according to claim 7, wherein, when an instruction to call is accepted, the transmission unit transmits a predetermined image until the mask area is determined.

1 携帯電話機、2 表示側部、3 操作側部、5 決定キー、6 上矢印キー、7 下矢印キー、8 左矢印キー、9 右矢印キー、11 第1スピーカ、12 第2スピーカ、13 マイクロフォン、14 操作キー、14A テンキー、14B 通話キー、14C 通話終了キー、15 指示キー、21 制御部、22 無線回路、22A アンテナ、23 チューナ、23A アンテナ、24 カメラ、25 操作部、25A タッチパネル、26 振動部、27 カードI/F、27A メモリカード、28 コーデック部、29 AVデコーダ、30 表示制御部、31 RAM、32 フラッシュROM、33 外部通信接続端子、51 撮像画像取得部、53 合成画像生成部、55 送信部、57 位置受付部、59 マスク領域決定部、61 特徴点抽出部、63 マスク領域移動部、71 パターン画像取得部、73 拡張指示受付部、75 拡張部、77 縮小指示受付部、79 縮小部。   DESCRIPTION OF SYMBOLS 1 Mobile phone, 2 Display side part, 3 Operation side part, 5 Enter key, 6 Up arrow key, 7 Down arrow key, 8 Left arrow key, 9 Right arrow key, 11 1st speaker, 12 2nd speaker, 13 Microphone , 14 operation keys, 14A numeric keypad, 14B call key, 14C call end key, 15 instruction key, 21 control unit, 22 radio circuit, 22A antenna, 23 tuner, 23A antenna, 24 camera, 25 operation unit, 25A touch panel, 26 vibration 27, card I / F, 27A memory card, 28 codec unit, 29 AV decoder, 30 display control unit, 31 RAM, 32 flash ROM, 33 external communication connection terminal, 51 captured image acquisition unit, 53 composite image generation unit, 55 transmitting unit, 57 position receiving unit, 59 mask area determining unit, 61 Extraction unit, 63 mask region movement section, 71 pattern image acquisition unit, 73 extended instruction receiving section, 75 extension, 77 reduced instruction receiving section, 79 reduction unit.

Claims (8)

被写体を撮像した撮像画像を出力する撮像手段と、
前記撮像画像の少なくとも一部の領域の指定を受け付ける領域指定手段と、
受け付けられた前記領域に基づいて、前記撮像画像の少なくとも一部をマスクするためのマスク領域を決定するマスク領域決定手段と、
前記撮像画像の前記マスク領域を別の画像に変換した合成画像を生成する合成画像生成手段と、
前記合成画像を送信する送信手段と、を備えた画像送信装置。
Imaging means for outputting a captured image obtained by imaging a subject;
Area designation means for accepting designation of at least a partial area of the captured image;
Mask area determining means for determining a mask area for masking at least a part of the captured image based on the received area;
Composite image generation means for generating a composite image obtained by converting the mask area of the captured image into another image;
An image transmission apparatus comprising: transmission means for transmitting the composite image.
前記マスク領域決定手段は、受け付けられた前記領域または該領域以外の領域を前記マスク領域に決定する、請求項1に記載の画像送信装置。   The image transmission apparatus according to claim 1, wherein the mask area determination unit determines the received area or an area other than the area as the mask area. 前記撮像画像を表示する表示手段をさらに備え、
前記領域指定手段は、前記表示手段の表示面の位置を受け付ける位置受付手段を含む、請求項1に記載の画像送信装置。
It further comprises display means for displaying the captured image,
The image transmitting apparatus according to claim 1, wherein the area specifying unit includes a position receiving unit that receives a position of a display surface of the display unit.
前記表示手段は、予め定められたマスク領域を含むパターン画像を前記撮像画像に重畳した画像を表示し、
前記マスク領域決定手段は、前記パターン画像に含まれるマスク領域を、受け付けられた前記表示面の位置に基づいて変更する変更手段を含む、請求項3に記載の画像送信装置。
The display means displays an image in which a pattern image including a predetermined mask region is superimposed on the captured image,
The image transmission apparatus according to claim 3, wherein the mask area determining unit includes a changing unit that changes a mask area included in the pattern image based on the received position of the display surface.
前記撮像画像から特徴点を抽出する特徴点抽出手段と、
前記特徴点の前記撮像画像における位置の変化に従って、前記撮像画像中における前記マスク領域を移動させるマスク領域移動手段をさらに含む、請求項1に記載の画像送信装置。
Feature point extraction means for extracting feature points from the captured image;
The image transmission apparatus according to claim 1, further comprising a mask area moving unit that moves the mask area in the captured image according to a change in a position of the feature point in the captured image.
前記送信手段は、前記マスク領域が決定されることを条件に、前記合成画像を送信する、請求項1に記載の画像送信装置。   The image transmission apparatus according to claim 1, wherein the transmission unit transmits the composite image on condition that the mask area is determined. 被写体を撮像した撮像画像を取得するステップと、
前記撮像画像の少なくとも一部の領域の指定を受け付けるステップと、
受け付けられた前記領域に基づいて、前記撮像画像の少なくとも一部をマスクするためのマスク領域を決定するステップと、
前記撮像画像の前記マスク領域を別の画像に変換した合成画像を生成するステップと、
前記合成画像を送信するステップと、を含む画像送信方法。
Acquiring a captured image obtained by imaging a subject;
Receiving a designation of at least a partial area of the captured image;
Determining a mask region for masking at least a part of the captured image based on the received region;
Generating a composite image obtained by converting the mask region of the captured image into another image;
And a step of transmitting the composite image.
被写体を撮像した撮像画像を取得するステップと、
前記撮像画像の少なくとも一部の領域の指定を受け付けるステップと、
受け付けられた前記領域に基づいて、前記撮像画像の少なくとも一部をマスクするためのマスク領域を決定するステップと、
前記撮像画像の前記マスク領域を別の画像に変換した合成画像を生成するステップと、
前記合成画像を送信するステップと、をコンピュータに実行させる画像送信プログラム。
Acquiring a captured image obtained by imaging a subject;
Receiving a designation of at least a partial area of the captured image;
Determining a mask region for masking at least a part of the captured image based on the received region;
Generating a composite image obtained by converting the mask region of the captured image into another image;
An image transmission program for causing a computer to execute the step of transmitting the composite image.
JP2011140074A 2011-06-24 2011-06-24 Image transmission apparatus, image transmission method, and image transmission program Active JP5300924B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011140074A JP5300924B2 (en) 2011-06-24 2011-06-24 Image transmission apparatus, image transmission method, and image transmission program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011140074A JP5300924B2 (en) 2011-06-24 2011-06-24 Image transmission apparatus, image transmission method, and image transmission program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2007086711A Division JP5414154B2 (en) 2007-03-29 2007-03-29 Image transmission apparatus, image transmission method, and image transmission program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2013062612A Division JP5638650B2 (en) 2013-03-25 2013-03-25 Image display device, image display method, and image display program

Publications (2)

Publication Number Publication Date
JP2011223627A true JP2011223627A (en) 2011-11-04
JP5300924B2 JP5300924B2 (en) 2013-09-25

Family

ID=45039874

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011140074A Active JP5300924B2 (en) 2011-06-24 2011-06-24 Image transmission apparatus, image transmission method, and image transmission program

Country Status (1)

Country Link
JP (1) JP5300924B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05328342A (en) * 1992-05-26 1993-12-10 Hitachi Ltd Video signal processor and inter multi-point video communication equipment
JP2003274375A (en) * 2002-03-13 2003-09-26 Mitsubishi Electric Corp Videoconferencing apparatus
JP2006201709A (en) * 2005-01-24 2006-08-03 Toshiba Corp Video display device, composite video delivery system, program, system, and method
JP2006270380A (en) * 2005-03-23 2006-10-05 Victor Co Of Japan Ltd Image information transmitter
JP2007049375A (en) * 2005-08-09 2007-02-22 Nikon Corp Image processor, camera, communication equipment, and program for realizing image processor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05328342A (en) * 1992-05-26 1993-12-10 Hitachi Ltd Video signal processor and inter multi-point video communication equipment
JP2003274375A (en) * 2002-03-13 2003-09-26 Mitsubishi Electric Corp Videoconferencing apparatus
JP2006201709A (en) * 2005-01-24 2006-08-03 Toshiba Corp Video display device, composite video delivery system, program, system, and method
JP2006270380A (en) * 2005-03-23 2006-10-05 Victor Co Of Japan Ltd Image information transmitter
JP2007049375A (en) * 2005-08-09 2007-02-22 Nikon Corp Image processor, camera, communication equipment, and program for realizing image processor

Also Published As

Publication number Publication date
JP5300924B2 (en) 2013-09-25

Similar Documents

Publication Publication Date Title
JP5414154B2 (en) Image transmission apparatus, image transmission method, and image transmission program
KR100678206B1 (en) Method for displaying emotion in video telephone mode of wireless terminal
US7119827B2 (en) Method for performing a camera function in a mobile communication terminal
KR100678201B1 (en) Method for setting the main language in wireless terminal
JP5638650B2 (en) Image display device, image display method, and image display program
JP6117880B2 (en) Image composition apparatus, image composition method, and image composition program
JP5638564B2 (en) Image transmission apparatus, image transmission method, and image transmission program
JP5300924B2 (en) Image transmission apparatus, image transmission method, and image transmission program
JP2007214909A (en) Telephone device and telephoning method
JP2007081785A (en) Portable terminal and program
JP2014212560A (en) Image transmitter, image transmission method, and image transmission program
KR101232537B1 (en) Video communication terminal and video method communicating in video communication terminal
JP4600643B2 (en) Videophone device having character display function and voice character conversion display method in videophone device
JP4069681B2 (en) Mobile terminal and notification method thereof
JP4940695B2 (en) Videophone device, mobile terminal with videophone, videophone method thereof and communication method of mobile terminal with videophone
JP4222968B2 (en) Mobile phone with digital camera and control method thereof
KR100713388B1 (en) Device and method for declaring of intention in video telephone call of wireless terminal
JP4995135B2 (en) Portable information terminal, image processing program, and image processing method
KR100630078B1 (en) Method for reorganizing image data in the mobile terminal
KR20040029751A (en) Method of compounding background picture and taken picture in wireless telephone having camera
JP2005175653A (en) Interface apparatus
JP2007228351A (en) Mobile phone
JP4242851B2 (en) Videophone communication method and terminal device
KR20060037916A (en) Method and apparatus for controlling photograph function and telephone function for use in mobile communication terminal equipped with camera
KR20060011639A (en) Method for display the image in wireless terminal

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130116

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130122

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130325

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130521

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130618

R150 Certificate of patent or registration of utility model

Ref document number: 5300924

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150