JP4631370B2 - Projector device, mobile phone, camera - Google Patents

Projector device, mobile phone, camera Download PDF

Info

Publication number
JP4631370B2
JP4631370B2 JP2004273429A JP2004273429A JP4631370B2 JP 4631370 B2 JP4631370 B2 JP 4631370B2 JP 2004273429 A JP2004273429 A JP 2004273429A JP 2004273429 A JP2004273429 A JP 2004273429A JP 4631370 B2 JP4631370 B2 JP 4631370B2
Authority
JP
Japan
Prior art keywords
image
projection
projected
hue
projector
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.)
Expired - Fee Related
Application number
JP2004273429A
Other languages
Japanese (ja)
Other versions
JP2006093822A (en
Inventor
展宏 藤縄
雅 太田
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.)
Nikon Corp
Original Assignee
Nikon 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
Priority to JP2004273429A priority Critical patent/JP4631370B2/en
Application filed by Nikon Corp filed Critical Nikon Corp
Priority to PCT/JP2005/016742 priority patent/WO2006033255A1/en
Priority to CN201010551743XA priority patent/CN102006346A/en
Priority to US11/660,498 priority patent/US20080259289A1/en
Priority to CN200580027868XA priority patent/CN101006721B/en
Priority to AT05782394T priority patent/ATE532330T1/en
Priority to EP05782394A priority patent/EP1793600B1/en
Publication of JP2006093822A publication Critical patent/JP2006093822A/en
Priority to US12/958,289 priority patent/US8123363B2/en
Application granted granted Critical
Publication of JP4631370B2 publication Critical patent/JP4631370B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0272Details of the structure or mounting of specific components for a projector or beamer module assembly

Description

本発明は、液晶表示パネルを用いた投射型液晶プロジェクタのように、画像を投射面に投射してその投射像を生成するプロジェクタ装置であって、携帯電話やカメラに内蔵されるハンディタイプのプロジェクタ装置などに関する。   The present invention is a projector device that projects an image on a projection surface and generates a projection image like a projection type liquid crystal projector using a liquid crystal display panel, and is a handy type projector incorporated in a mobile phone or a camera. It relates to devices.

投射型液晶プロジェクタとして、ハロゲンランプやキセノンランプなどの光源を用いたものが従来から知られている。これは、光源から出力された光を赤(R)、緑(G)および青(B)の3原色光に分離し、それぞれを異なる液晶表示パネルに導いて透過させた後に再び合成して、その合成光を投影レンズを介してスクリーンなどの投射面へ投射するものである。しかし、こうしたランプ光源を用いた投射型液晶プロジェクタでは、光学系の分離・合成が必要であるために装置が大型化してしまうという欠点があった。そこで、こうした欠点を解決するために、たとえばR、GおよびBの3種類のレーザ光を光源として用いたもの(特許文献1)や、R、GおよびBの3種類のLED光を光源として用いたもの(特許文献2)などが知られている。   As a projection type liquid crystal projector, a projector using a light source such as a halogen lamp or a xenon lamp is conventionally known. This separates the light output from the light source into three primary color lights of red (R), green (G) and blue (B), and guides them to different liquid crystal display panels for transmission, and then combines them again. The synthesized light is projected onto a projection surface such as a screen via a projection lens. However, the projection type liquid crystal projector using such a lamp light source has a drawback that the apparatus becomes large because the optical system needs to be separated and combined. Therefore, in order to solve these disadvantages, for example, one using three types of laser light of R, G and B as a light source (Patent Document 1) and three types of LED light of R, G and B are used as a light source. What is known (Patent Document 2) is known.

特開平9−326981号公報JP-A-9-326981 特開2000−194275号公報JP 2000-194275 A

特許文献1や2に開示されるような光源を用いて装置を小型化することで、従来のような据え置き型ではなく、手に持って使用できるハンディタイプの投射型液晶プロジェクタを構築することができる。   By downsizing the apparatus using a light source as disclosed in Patent Documents 1 and 2, it is possible to construct a hand-held projection type liquid crystal projector that can be used by holding it in hand instead of the conventional stationary type. it can.

従来の据え置き型の投射型液晶プロジェクタでは、投射中における投射像の位置が変化しないため、投射面の色合いも変わらず、したがって投射像のホワイトバランス調整を一度だけ行えばよい。しかし、ハンディタイプの投射型液晶プロジェクタにおいては、持っている手の向きが変化したりすることで投射中に投射像の位置が変化し、その結果、投射面の色合いが異なるものとなる場合がある。したがって、投射像のホワイトバランス調整を投射中に行う必要があるが、従来のような方法では投射中におけるホワイトバランス調整ができないという問題がある。
また、従来の投射型液晶プロジェクタでは通常、投射像のホワイトバランス調整を行うときに、元の画像データから色情報値を変更して画像の色合いを変えることによって実現しているため、処理が複雑であるという問題もある。
In the conventional stationary projection type liquid crystal projector, the position of the projected image during projection does not change, so the hue of the projection surface does not change, and therefore the white balance adjustment of the projected image only needs to be performed once. However, in a handy-type projection type liquid crystal projector, the position of the projected image changes during projection due to changes in the orientation of the hand held, and as a result, the color of the projection surface may be different. is there. Accordingly, it is necessary to adjust the white balance of the projected image during projection, but there is a problem that white balance cannot be adjusted during projection by a conventional method.
In addition, the conventional projection type liquid crystal projector is usually realized by changing the color information value by changing the color information value from the original image data when adjusting the white balance of the projected image. There is also the problem of being.

請求項1の発明によるハンディタイプのプロジェクタ装置は、複数の色の光を発光する光源を有し、その光源から発せられる各色の光を合成した光を用いて画像を投射面に投射してその画像の投射像を生成する投射手段と、前記投射手段により生成された前記投射像の撮像画像を取得する撮像手段と、ユーザからの操作入力を受け付けるための操作入力手段と、前記操作入力手段への操作入力が行われるごとに、前記撮像手段により取得された前記投射像の撮像画像における色合いに基づいて、前記光源からの発光量をその発光色ごとに変化させることにより、前記投射像の色合いを繰り返し調節する色合い調節手段と、を備え、前記操作入力手段は、カーソルキーであることを特徴とする。
請求項2の発明によるハンディタイプのプロジェクタ装置は、複数の色の光を発光する光源を有し、その光源から発せられる各色の光を合成した光を用いて画像を投射面に投射してその画像の投射像を生成する投射手段と、前記投射手段により生成された前記投射像の撮像画像を取得する撮像手段と、ユーザからの操作入力を受け付けるための操作入力手段と、前記操作入力手段への操作入力が行われるごとに、前記撮像手段により取得された前記投射像の撮像画像における色合いに基づいて、前記光源からの発光量をその発光色ごとに変化させることにより、前記投射像の色合いを繰り返し調節する色合い調節手段と、外部の無線通信設備を介して他の端末との通信を行うための無線通信手段と、を備え、前記操作入力手段は、前記通信を開始または終了するための操作キーであることを特徴とする。
The handy-type projector device according to the first aspect of the present invention has a light source that emits light of a plurality of colors, projects an image on a projection surface using light obtained by combining the light of each color emitted from the light source, and Projection means for generating a projected image of an image, imaging means for acquiring a captured image of the projection image generated by the projection means, operation input means for receiving an operation input from a user, and the operation input means Each time the operation input is performed , based on the hue in the captured image of the projection image acquired by the imaging unit, the amount of light emitted from the light source is changed for each emission color, thereby changing the hue of the projection image. Color adjustment means for repeatedly adjusting the operation input means , wherein the operation input means is a cursor key .
A handy-type projector device according to a second aspect of the present invention includes a light source that emits light of a plurality of colors, and projects an image on a projection surface using light obtained by combining the light of each color emitted from the light source. Projection means for generating a projected image of an image, imaging means for acquiring a captured image of the projection image generated by the projection means, operation input means for receiving an operation input from a user, and the operation input means Each time the operation input is performed, based on the hue in the captured image of the projection image acquired by the imaging unit, the amount of light emitted from the light source is changed for each emission color, thereby changing the hue of the projection image. Color adjustment means for repeatedly adjusting, and wireless communication means for communicating with other terminals via an external wireless communication facility, and the operation input means performs the communication Characterized in that it is an operation key for start or end.

本発明によれば、所定の形状パターンを含む画像を投射面に投射し、その投射像の撮像画像中に含まれている所定の形状パターンに基づいて、投射像の色合いの調節を行うこととした。このような色合いの調節方法を用いてホワイトバランス調整を行っているので、投射像のホワイトバランス調整を投射中において行うことができる。
また、光源から複数の色の光を発光し、光源からの発光量をその発光色ごとに変化させることにより投射像の色合いを調節することとした。このような色合いの調節方法を用いてホワイトバランス調整を行っているので、簡単な処理で投射像の明るさを調節できる。
According to the present invention, an image including a predetermined shape pattern is projected onto the projection surface, and the hue of the projected image is adjusted based on the predetermined shape pattern included in the captured image of the projection image. did. Since the white balance adjustment is performed using such a hue adjustment method, the white balance adjustment of the projected image can be performed during the projection.
In addition, light of a plurality of colors is emitted from the light source, and the hue of the projected image is adjusted by changing the amount of light emitted from the light source for each emission color. Since the white balance adjustment is performed using such a hue adjustment method, the brightness of the projected image can be adjusted with a simple process.

−第1の実施の形態−
以下、図面を参照して本発明を実施するための第1の形態について説明する。図1は、本発明の一実施の形態による携帯可能なハンディタイプのプロジェクタ付き携帯電話機10の外観図である。(a)は正面図、(b)は側面図、(c)は背面図をそれぞれ表している。図1において、プロジェクタ付き携帯電話機10の筺体は操作部1と表示部2によって構成されており、操作部1と表示部2は回動可能な折りたたみヒンジ部3を介して連結されている。すなわち、プロジェクタ付き携帯電話機10は折りたたみヒンジ部3を回動中心に折りたたみ可能な構造を有している。
-First embodiment-
Hereinafter, a first embodiment for carrying out the present invention will be described with reference to the drawings. FIG. 1 is an external view of a portable handheld projector-equipped mobile phone 10 according to an embodiment of the present invention. (A) is a front view, (b) is a side view, and (c) is a rear view. In FIG. 1, the housing of the projector-equipped mobile phone 10 includes an operation unit 1 and a display unit 2, and the operation unit 1 and the display unit 2 are connected to each other via a rotatable folding hinge unit 3. That is, the projector-equipped mobile phone 10 has a structure that can be folded around the folding hinge portion 3 as a rotation center.

操作部1には、ユーザからの操作入力を受け付けるための各種の操作キーが配設されている。この操作キーには、カメラ機能やメール送受信機能、インターネットへの接続機能などを備えた一般的な携帯電話機と同様のキーが含まれている。たとえば、通話を開始または終了するための操作キー、電話番号や文字等を入力するための操作キー、画面操作用のカーソルキー、カメラ撮影モードやメール送受信モード、インターネットへの接続モードなど各種の動作モードへ移行するための操作キーなどが含まれている。操作部1にはさらにこうした一般的な携帯電話機と同様の操作キーに加えて、後述するプロジェクタモジュール6を用いて画像を投射するモード(プロジェクタモード)へ移行するための操作キーが配設されている。たとえば、符号21に示す操作キーが押されるとプロジェクタモードへ移行し、プロジェクタモジュール6によって後で説明するようにして画像がスクリーンや壁面などの投射面に投射されて、その画像の投射像が生成される。   The operation unit 1 is provided with various operation keys for receiving operation inputs from the user. The operation keys include keys similar to those of a general mobile phone having a camera function, a mail transmission / reception function, a connection function to the Internet, and the like. For example, various operations such as operation keys for starting or ending calls, operation keys for entering phone numbers and characters, cursor keys for screen operations, camera shooting mode, mail transmission / reception mode, Internet connection mode, etc. Operation keys for entering the mode are included. The operation unit 1 is further provided with operation keys for shifting to a mode for projecting an image (projector mode) using a projector module 6 described later, in addition to the same operation keys as those of a general mobile phone. Yes. For example, when the operation key indicated by reference numeral 21 is pressed, the projector mode is entered, and the projector module 6 projects an image onto a projection surface such as a screen or a wall surface as described later, and a projection image of the image is generated. Is done.

表示部2には、正面側にメイン液晶表示器4が配設され、背面側にサブ液晶表示器5が配設されている。表示部2の背面側にはさらに、プロジェクタモジュール6とカメラモジュール7が配設されている。   The display unit 2 is provided with a main liquid crystal display 4 on the front side and a sub liquid crystal display 5 on the back side. A projector module 6 and a camera module 7 are further provided on the back side of the display unit 2.

図2は、図1のプロジェクタ付き携帯電話機10の構成を説明するブロック図である。図2において、操作部1側にはCPU101と、メモリ102と、近距離通信部103と、マイク105と、外部インターフェイス(I/F)106と、電源107と、通信制御部108と、アンテナ109と、操作キー群110と、スピーカー111と、開閉角度センサ112とが備えられ、着脱可能なメモリカード104が実装されている。   FIG. 2 is a block diagram illustrating the configuration of the projector-equipped mobile phone 10 of FIG. 2, on the operation unit 1 side, a CPU 101, a memory 102, a short-range communication unit 103, a microphone 105, an external interface (I / F) 106, a power source 107, a communication control unit 108, and an antenna 109 are provided. An operation key group 110, a speaker 111, and an opening / closing angle sensor 112, and a removable memory card 104 is mounted.

表示部2側にはメイン液晶表示器4と、サブ液晶表示器5と、プロジェクタモジュール(プロジェクタ部)6と、カメラモジュール(カメラ部)7と、スピーカー201とが備えられている。   On the display unit 2 side, a main liquid crystal display 4, a sub liquid crystal display 5, a projector module (projector unit) 6, a camera module (camera unit) 7, and a speaker 201 are provided.

CPU101は、制御プログラムに基づいて、プロジェクタ付き携帯電話機10を構成する各部から入力される信号を用いて所定の演算を行うなどして、プロジェクタ付き携帯電話機10の各部に対する制御信号を送出することにより、電話機動作、カメラ動作、プロジェクタ動作をそれぞれ制御する。なお、制御プログラムはCPU101内の不図示の不揮発性メモリに格納されている。   The CPU 101 sends a control signal to each part of the projector-equipped mobile phone 10 by performing a predetermined calculation using a signal input from each part constituting the projector-equipped mobile phone 10 based on the control program. , Control phone operation, camera operation, projector operation. The control program is stored in a nonvolatile memory (not shown) in the CPU 101.

メモリ102はCPU101の作業用エリアとして使用される。近距離通信部103は、たとえば、赤外線通信回路によって構成され、CPU101の指令により外部機器との間でデータを送受信する。また外部インターフェイス106は、CPU101の指令により不図示のケーブルまたはクレードルを介して外部機器との間でデータを送受信する。近距離通信部103または外部インターフェイス106を用いることにより、各種の映像・音声データを外部機器から入力することが可能である。   The memory 102 is used as a work area for the CPU 101. The short-range communication unit 103 is configured by, for example, an infrared communication circuit, and transmits / receives data to / from an external device according to instructions from the CPU 101. The external interface 106 transmits / receives data to / from an external device via a cable or cradle (not shown) according to a command from the CPU 101. By using the short-range communication unit 103 or the external interface 106, it is possible to input various video / audio data from an external device.

メモリカード104は不揮発性メモリによって構成され、CPU101の指令により、たとえば、カメラモジュール7より出力される画像データや、近距離通信部103または外部インターフェイス106を介して外部機器から入力される映像・音声データなどのデータの保存および読み出しが可能である。   The memory card 104 is configured by a non-volatile memory, and, for example, image data output from the camera module 7 or video / audio input from an external device via the short-range communication unit 103 or the external interface 106 according to a command from the CPU 101. Data such as data can be stored and read.

マイク105は、集音した音声を電気信号に変換してCPU101へ送出する。音声信号は、録音時にはメモリカード104に記録され、通話時には通信制御部108へ送られる。スピーカー111は、CPU101から出力された音声信号による音声を再生する。操作キー群110は、前述した各種の操作キーを1つのブロックにまとめて表したものであり、押下された操作キーに対応する操作信号をCPU101へ送出する。通信制御部108は無線送受信回路を含み、CPU101の指令により不図示の基地局を介して他の電話機との間で通信を行う。通信制御部108は、電話音声の他にもカメラモジュール7で撮影された画像データや、プロジェクタモジュール6で投射するための画像データなどを送受信可能に構成されている。アンテナ109は通信制御部110の送受信アンテナである。   The microphone 105 converts the collected sound into an electrical signal and sends it to the CPU 101. The audio signal is recorded on the memory card 104 during recording, and is sent to the communication control unit 108 during a call. The speaker 111 reproduces sound based on the sound signal output from the CPU 101. The operation key group 110 collectively represents the various operation keys described above in one block, and sends an operation signal corresponding to the pressed operation key to the CPU 101. The communication control unit 108 includes a wireless transmission / reception circuit, and performs communication with other telephones via a base station (not shown) according to a command from the CPU 101. The communication control unit 108 is configured to transmit and receive image data captured by the camera module 7 and image data to be projected by the projector module 6 in addition to telephone voice. An antenna 109 is a transmission / reception antenna of the communication control unit 110.

電源107は、たとえば、着脱可能な電池パックおよびDC/DC変換回路などで構成され、携帯電話機10内の各部に必要な電力を供給する。開閉角度センサ112は、折り畳みヒンジ部3の回動角、すなわちプロジェクタ付き携帯電話機10の折りたたみ角度θを検出して、CPU101へ送出する。   The power source 107 is composed of, for example, a detachable battery pack and a DC / DC conversion circuit, and supplies necessary power to each part in the mobile phone 10. The opening / closing angle sensor 112 detects the rotation angle of the folding hinge unit 3, that is, the folding angle θ of the projector-equipped mobile phone 10, and sends it to the CPU 101.

メイン液晶表示器4とサブ液晶表示器5は、CPU101の指令により画像やテキストなどの情報をそれぞれ表示する。スピーカー201は、通話時にCPU101から出力された音声信号による音声を再生する。   The main liquid crystal display 4 and the sub liquid crystal display 5 respectively display information such as images and texts according to instructions from the CPU 101. The speaker 201 reproduces sound based on the sound signal output from the CPU 101 during a call.

プロジェクタモジュール6は、投影レンズ61と、液晶パネル62と、LED光源63と、LED駆動部64と、液晶駆動部65と、レンズ駆動部66とを含む。LED駆動部64は、CPU101から出力されるLED駆動信号に応じてLED光源63に電流を供給する。LED光源63は、供給電流に応じた出力でR(赤)、G(緑)およびB(青)の3原色光をそれぞれ照射して液晶パネル62を照明する。これら各色の光が合成されることにより、LED光源63から白色光が照射される。なお、RGB各色の光の強度は、LED駆動部64からの電流強度によってそれぞれ個別に調節することができる。   The projector module 6 includes a projection lens 61, a liquid crystal panel 62, an LED light source 63, an LED drive unit 64, a liquid crystal drive unit 65, and a lens drive unit 66. The LED drive unit 64 supplies current to the LED light source 63 in accordance with the LED drive signal output from the CPU 101. The LED light source 63 illuminates the liquid crystal panel 62 by irradiating light of three primary colors of R (red), G (green), and B (blue) with an output corresponding to the supply current. By combining the light of these colors, white light is emitted from the LED light source 63. In addition, the intensity of light of each RGB color can be individually adjusted by the current intensity from the LED drive unit 64.

液晶駆動部65は、画像データに応じて液晶パネル駆動信号を生成し、生成した駆動信号で液晶パネル62を駆動することにより、液晶パネル62上に画像を表示する。具体的には、液晶層に対して画像信号に応じた電圧を画素ごとに印加する。電圧が印加された液晶層は液晶分子の配列が変わり、当該液晶層の光の透過率が変化する。この透過率の変化によって画像が表される。なお、液晶パネル62はカラーフィルタを有しており、各画素がRGBいずれかの色に対応している。これにより、液晶パネル62にはRGB各色の画素を組み合わせたカラー画像が表示される。   The liquid crystal drive unit 65 generates a liquid crystal panel drive signal in accordance with the image data, and drives the liquid crystal panel 62 with the generated drive signal, thereby displaying an image on the liquid crystal panel 62. Specifically, a voltage corresponding to the image signal is applied to the liquid crystal layer for each pixel. In the liquid crystal layer to which a voltage is applied, the arrangement of liquid crystal molecules changes, and the light transmittance of the liquid crystal layer changes. An image is represented by this change in transmittance. The liquid crystal panel 62 has a color filter, and each pixel corresponds to one of RGB colors. As a result, a color image in which RGB pixels are combined is displayed on the liquid crystal panel 62.

液晶パネル62に表示する画像は、メモリカード104に保存されている画像や、外部機器から入力された画像、後述するようにしてカメラモジュール7によって撮像された画像など、様々な画像の中から選択することができる。メイン液晶表示器4やサブ液晶表示器5に表示されている画像と同じものであってもよいし、動画像であってもよい。また、メール文章などを選択して表示するようにしてもよい。   The image displayed on the liquid crystal panel 62 is selected from various images such as an image stored in the memory card 104, an image input from an external device, and an image captured by the camera module 7 as described later. can do. It may be the same as the image displayed on the main liquid crystal display 4 or the sub liquid crystal display 5 or may be a moving image. In addition, mail text or the like may be selected and displayed.

以上説明したように選択された画像を液晶パネル62に表示した後、LED光源63から照射されたRGB各色の光を合成した白色光を通過させることにより、液晶パネル62に表示された画像の光像が生成される。レンズ駆動部66は、CPU101から出力される制御信号に基づいて、投影レンズ61を光軸方向に進退駆動する。こうして投影レンズ61の焦点位置を変化させることにより、後述する投射像のフォーカス状態の調節が行われる。投影レンズ61は、液晶パネル62から射出される光像をスクリーンなどの投射面へ向けて投射する。このようにして、RGB各色の光を合成した白色光を用いて、選択された画像を投射面に投射して、その画像の投射像を生成する。   After the selected image is displayed on the liquid crystal panel 62 as described above, the light of the image displayed on the liquid crystal panel 62 is transmitted by passing white light that is a combination of RGB light emitted from the LED light source 63. An image is generated. The lens driving unit 66 drives the projection lens 61 to advance and retract in the optical axis direction based on a control signal output from the CPU 101. By changing the focal position of the projection lens 61 in this way, the focus state of the projection image, which will be described later, is adjusted. The projection lens 61 projects the light image emitted from the liquid crystal panel 62 toward a projection surface such as a screen. In this manner, the selected image is projected onto the projection surface using the white light obtained by combining the light of each RGB color, and a projection image of the image is generated.

カメラモジュール7は、撮影レンズ71と、イメージセンサ72と、レンズ駆動部73と、カメラ制御CPU74とを含む。イメージセンサ72としてはCCDやCMOS撮像素子などが用いられる。カメラ制御CPU74は、CPU101の指令によりイメージセンサ72およびレンズ駆動部73を駆動制御する。レンズ駆動部73は、カメラ制御CPU74からの制御信号に応じて、撮影レンズ71を構成する焦点調節レンズ(不図示)を光軸に沿って前後方向へ駆動することにより、撮影レンズ71の焦点位置を変化させる。これにより、被写体像のピント調節が行われる。   The camera module 7 includes a photographing lens 71, an image sensor 72, a lens driving unit 73, and a camera control CPU 74. As the image sensor 72, a CCD, a CMOS image sensor or the like is used. The camera control CPU 74 drives and controls the image sensor 72 and the lens driving unit 73 according to instructions from the CPU 101. The lens driving unit 73 drives a focus adjustment lens (not shown) constituting the photographing lens 71 in the front-rear direction along the optical axis in accordance with a control signal from the camera control CPU 74, so that the focal position of the photographing lens 71 is reached. To change. As a result, the focus of the subject image is adjusted.

撮影レンズ71は、イメージセンサ72の撮像面上に被写体像を結像させる。カメラ制御CPU74はイメージセンサ72に撮像を開始させ、撮像終了後にイメージセンサ72から蓄積電荷信号を読み出し、所定の信号処理を施した上で画像データとしてCPU101へ送出する。なお、カメラモジュール7で撮影した画像データを送信する場合にはCPU101から通信制御部108へ画像データが送出される。また、撮影画像を投射する場合にはカメラ制御CPU74からCPU101を経由してプロジェクタモジュール6へ画像データが送出される。このようにして、カメラモジュール7において撮影した被写体の撮像画像を取得する。   The photographing lens 71 forms a subject image on the imaging surface of the image sensor 72. The camera control CPU 74 causes the image sensor 72 to start imaging, reads the accumulated charge signal from the image sensor 72 after completion of imaging, performs predetermined signal processing, and sends it to the CPU 101 as image data. When transmitting image data captured by the camera module 7, the image data is transmitted from the CPU 101 to the communication control unit 108. When projecting a captured image, image data is sent from the camera control CPU 74 to the projector module 6 via the CPU 101. In this way, a captured image of the subject photographed by the camera module 7 is acquired.

図3はプロジェクタモジュール6の断面図である。(a)は携帯電話機10の側面図中にプロジェクタモジュール6の断面図を示したものであり、(b)はその拡大図である。図2のレンズ駆動部73は、レンズ支持部731と駆動モータ732を有している。レンズ支持部731は、投影レンズ61の上下に配設されて投影レンズ61を支持している。駆動モータ732は、その駆動動作によってレンズ支持部731の位置を図の左右方向に移動することにより、液晶パネル62およびLED光源63と投影レンズ61との間隔を調節することができる。これにより、投射像のフォーカス状態を調節することができる。なお、図2のLED駆動部64と液晶駆動部65については、図3において図示を省略している。   FIG. 3 is a cross-sectional view of the projector module 6. (A) is a sectional view of the projector module 6 in the side view of the mobile phone 10, and (b) is an enlarged view thereof. The lens drive unit 73 in FIG. 2 includes a lens support unit 731 and a drive motor 732. The lens support portion 731 is disposed above and below the projection lens 61 and supports the projection lens 61. The drive motor 732 can adjust the distance between the liquid crystal panel 62 and the LED light source 63 and the projection lens 61 by moving the position of the lens support portion 731 in the left-right direction in the drawing by the drive operation. Thereby, the focus state of the projected image can be adjusted. The LED driving unit 64 and the liquid crystal driving unit 65 in FIG. 2 are not shown in FIG.

次に、プロジェクタ付き携帯電話機10において画像を投射するときの動作内容について説明する。プロジェクタ付き携帯電話機10は、プロジェクタモジュール6によって生成される投射像の投射面における映り具合を調整するための動作(以下、キャリブレーション動作という)を、その投射像の投射中に繰り返し実行する。このキャリブレーション動作は、(1)フォーカス状態の調節、(2)明るさの調節、(3)ホワイトバランスの調節、および(4)台形歪みの補正 の各動作に分類される。以下、これらの各動作について順に説明する。   Next, the operation content when projecting an image in the projector-equipped mobile phone 10 will be described. The projector-equipped mobile phone 10 repeatedly executes an operation (hereinafter referred to as a calibration operation) for adjusting the projection of the projection image generated by the projector module 6 on the projection surface during the projection of the projection image. This calibration operation is classified into (1) focus state adjustment, (2) brightness adjustment, (3) white balance adjustment, and (4) trapezoidal distortion correction. Hereinafter, each of these operations will be described in order.

(1)フォーカス状態の調節
プロジェクタモジュール6において投射像のフォーカス状態が適切でない場合、すなわち投射面までの距離に対して投射像の焦点が正しく合っていない場合には、ピントがずれてボケた投射像が映し出されてしまう。ピントが合った投射像を映すためには、適切なフォーカス状態に調節する必要がある。この投射像のフォーカス状態の調節は、カメラモジュール7により撮影して取得された投射像の撮像画像に基づいて、次のようにして行われる。
(1) Adjustment of the focus state When the focus state of the projection image is not appropriate in the projector module 6, that is, when the projection image is not correctly focused with respect to the distance to the projection surface, the projection is out of focus and blurred. The image is projected. In order to project a focused projection image, it is necessary to adjust to an appropriate focus state. The adjustment of the focus state of the projected image is performed as follows based on the captured image of the projected image obtained by photographing with the camera module 7.

プロジェクタ付き携帯電話機10は、プロジェクタモジュール6によって画像を投射している間、カメラモジュール7を用いてその投射像を撮像する。カメラモジュール7において取得された投射像の撮像画像は、CPU101に出力される。CPU101は、カメラモジュール7から出力された撮像画像のボケ具合を検出することにより、投射像のフォーカス状態が適切であるか否かを判断する。撮像画像がボケている場合はフォーカス状態が適切でないと判断し、レンズ駆動部66を用いて投影レンズ61を駆動させる。このようにして、撮像画像がボケなくなるまで投影レンズ61を駆動させることにより、投射像のフォーカス状態を調節して適切なフォーカス状態となるようにする。   While the projector mobile phone 10 projects an image by the projector module 6, the projector mobile phone 10 captures the projected image using the camera module 7. A captured image of the projection image acquired by the camera module 7 is output to the CPU 101. The CPU 101 determines whether or not the focus state of the projection image is appropriate by detecting the degree of blurring of the captured image output from the camera module 7. If the captured image is blurred, it is determined that the focus state is not appropriate, and the projection lens 61 is driven using the lens driving unit 66. In this way, by driving the projection lens 61 until the captured image is no longer blurred, the focus state of the projection image is adjusted so as to obtain an appropriate focus state.

上記のフォーカス状態の調節は、デジタルカメラにおいて焦点位置を調節する際に広く用いられているコントラスト検出方式と同様の方法によって行うことができる。すなわち、投影レンズ61の焦点位置を様々に変化させて撮像画像を取得し、その撮像画像のそれぞれについてコントラスト量を算出する。そして、各撮像画像のコントラスト量を比較し、投影レンズ61の焦点位置をコントラスト量が最大である撮像画像が取得されたときの位置に合わせる。これにより、投射像のフォーカス状態を適切に調節することができる。なお、このときカメラモジュール7において撮影画像のピント調節やホワイトバランス調節を行う必要があるが、この点については後で説明する。   The adjustment of the focus state can be performed by a method similar to a contrast detection method widely used when adjusting the focus position in a digital camera. That is, the captured image is acquired by changing the focal position of the projection lens 61 in various ways, and the contrast amount is calculated for each of the captured images. Then, the contrast amounts of the captured images are compared, and the focal position of the projection lens 61 is adjusted to the position when the captured image having the maximum contrast amount is acquired. Thereby, the focus state of a projection image can be adjusted appropriately. At this time, it is necessary to perform focus adjustment and white balance adjustment of the photographed image in the camera module 7, which will be described later.

しかし、投射像のフォーカス状態の調節中にその投射像自体が変化すると、それによって撮像画像のコントラスト量が変化してしまうため、適切な調節結果が得られなくなる。特に動画を投射している場合は投射像が常に変化しているため、投射像のフォーカス状態を調節することができない。そこでプロジェクタ付き携帯電話機10においては、投射対象として選択された画像に、コントラスト量を算出するための所定の画像(以下、コントラスト算出用画像という)を重畳した後、それをプロジェクタモジュール6により投射して投射像をカメラモジュール7により撮像する。このようにすると、元の投射対象画像が変化しても、重畳されたコントラスト算出用画像の部分は変化しない。したがって、コントラスト算出用画像についてコントラスト量を算出し、そのコントラスト量に基づいて投射像のフォーカス状態を調節することで、動画を投射中であっても投射像のフォーカス状態を適切に調節することができる。   However, if the projection image itself changes during adjustment of the focus state of the projection image, the amount of contrast of the captured image changes accordingly, so that an appropriate adjustment result cannot be obtained. In particular, when a moving image is being projected, the projected image is constantly changing, so the focus state of the projected image cannot be adjusted. Therefore, the projector-equipped mobile phone 10 superimposes a predetermined image for calculating the contrast amount (hereinafter referred to as a contrast calculation image) on the image selected as the projection target, and then projects it by the projector module 6. The projected image is captured by the camera module 7. In this way, even if the original projection target image changes, the portion of the superimposed contrast calculation image does not change. Therefore, by calculating the contrast amount for the contrast calculation image and adjusting the focus state of the projection image based on the contrast amount, the focus state of the projection image can be appropriately adjusted even while a moving image is being projected. it can.

図4は、投射対象画像にコントラスト算出用画像を重畳した様子を示す図である。(a)は元の投射対象画像を示し、(b)は(a)の投射対象画像にコントラスト算出用画像を重畳した画像を示している。(b)の画像では、下端部にファイル名と日付情報に加えて、符号21に示すコントラスト算出用画像が重畳されている。このコントラスト算出用画像21は、コントラスト量が算出しやすいように縦ラインを複数連ねた所定の形状パターンを有している。このような所定の形状パターンによって形成されるコントラスト算出用画像21を含む画像が、プロジェクタモジュール6によって投射面に投射され、その投射像がカメラモジュール7によって撮像される。こうして取得された撮像画像を用いて、コントラスト算出用画像21に基づいてコントラスト量が算出され、投射像のフォーカス状態の調節が行われる。なお、ここで示したコントラスト算出用画像21の形状パターンは一例であって、コントラスト量が算出できるものであればどのような形状パターンでもよいことは言うまでもない。   FIG. 4 is a diagram illustrating a state in which the contrast calculation image is superimposed on the projection target image. (A) shows the original projection target image, and (b) shows an image obtained by superimposing a contrast calculation image on the projection target image of (a). In the image of (b), in addition to the file name and date information, a contrast calculation image indicated by reference numeral 21 is superimposed on the lower end. The contrast calculation image 21 has a predetermined shape pattern in which a plurality of vertical lines are connected so that the contrast amount can be easily calculated. An image including the contrast calculation image 21 formed by such a predetermined shape pattern is projected onto the projection surface by the projector module 6, and the projection image is captured by the camera module 7. Using the captured image acquired in this manner, the contrast amount is calculated based on the contrast calculation image 21 and the focus state of the projection image is adjusted. It should be noted that the shape pattern of the contrast calculation image 21 shown here is an example, and it is needless to say that any shape pattern may be used as long as the contrast amount can be calculated.

なお、上記のようなコントラスト量の演算には、カメラモジュール7のイメージセンサ72より画素単位で出力される撮像信号(蓄積電荷信号)のうち、コントラスト算出用画像21と対応する領域の画素より出力される撮像信号のみが用いられる。   Note that the above-described calculation of the contrast amount is output from the pixels in the region corresponding to the contrast calculation image 21 among the imaging signals (accumulated charge signals) output from the image sensor 72 of the camera module 7 in pixel units. Only the captured image signal is used.

ここで、以上説明したようなコントラスト算出用画像の重畳は必ずしも常時行う必要はなく、所定の短時間だけ行うようにしてもよい。このようにすると、投射像を見ている者に対してコントラスト算出用画像を重畳していることを気づかれにくくすることができる。図5は、その様子を説明するためのタイミングチャートである。液晶パネル62に表示する画像は、符号31に示すタイミングで1/30秒ごとに更新する。すなわち、1秒間に30フレームの画像表示を行う。   Here, it is not always necessary to superimpose the contrast calculation image as described above, and it may be performed only for a predetermined short time. In this way, it is possible to make it difficult for a person who is looking at the projection image to notice that the contrast calculation image is superimposed. FIG. 5 is a timing chart for explaining the situation. The image displayed on the liquid crystal panel 62 is updated every 1/30 seconds at the timing indicated by reference numeral 31. That is, 30 frames of images are displayed per second.

コントラスト算出用画像の重畳は、符号32に示すタイミングで一定のフレーム間隔ごとに行う。このタイミングでコントラスト算出用画像を含む画像が投射され、その他のタイミングではコントラスト算出用画像を含まない画像が投射される。さらにこのとき、カメラモジュール7による撮像画像の取得を符号33に示すタイミングで行う。すなわち、コントラスト算出用画像を含む画像が投射されるタイミングに同期して、カメラモジュール7において投射像を撮像する。こうして撮像された撮像画像におけるコントラスト算出用画像の部分の形状パターンに基づいて、符号34に示すタイミングでコントラスト量の計算および投射像のフォーカス状態の調節が行われる。   Contrast calculation images are superimposed at regular frame intervals at the timing indicated by reference numeral 32. An image including the contrast calculation image is projected at this timing, and an image not including the contrast calculation image is projected at other timings. Further, at this time, the captured image is acquired by the camera module 7 at the timing indicated by reference numeral 33. That is, the camera module 7 captures a projected image in synchronization with the timing at which an image including a contrast calculation image is projected. Based on the shape pattern of the contrast calculation image portion in the captured image thus captured, the contrast amount is calculated and the focus state of the projected image is adjusted at the timing indicated by reference numeral 34.

さらに、投射像のフォーカス状態の調節は、以上説明したように一定周期ごとに繰り返し行うようにしてもよい。または、プロジェクタ付き携帯電話機10に対して操作キーへの入力操作が行われるごとに繰り返し行うようにしてもよい。操作キーへの入力操作が行われると、それによってプロジェクタ付き携帯電話機10の位置や向きが変化して投射像がぶれる場合がある。したがって、操作キーへの入力操作が行われるごとに投射像のフォーカス状態の調節を行うようにすると、投射像がぶれてしまった場合でもそれを補正して見やすい投射像とすることができる。   Further, the adjustment of the focus state of the projected image may be repeatedly performed at regular intervals as described above. Alternatively, it may be repeatedly performed each time an input operation to the operation key is performed on the projector-equipped mobile phone 10. When an input operation is performed on the operation key, the position and orientation of the projector-equipped mobile phone 10 may change, and the projected image may be blurred. Therefore, if the focus state of the projection image is adjusted every time an input operation to the operation key is performed, even if the projection image is blurred, it can be corrected to make the projection image easy to see.

あるいは、フォーカス状態の調節頻度を設定できるようにしてもよい。たとえば、3種類の調節頻度を設定できるようにして、最も高い調節頻度が設定された場合は、上記のように投射像の投射中にフォーカス状態の調節を繰り返し行う。一方、中間の調節頻度が設定された場合は、最初の1回だけ投射像の投射中にフォーカス状態の調節を行い、最も低い調節頻度が設定された場合は、投射像のフォーカス状態の調節を行わないようにする。このようにすると、投射像のフォーカス状態の調節が不要である場合において電力消費を抑えることができる。なお、調節頻度の設定は操作キーの入力操作などによって行うようにすることができる。   Or you may enable it to set the adjustment frequency of a focus state. For example, when the three types of adjustment frequencies can be set and the highest adjustment frequency is set, the focus state is repeatedly adjusted during projection of the projection image as described above. On the other hand, when the intermediate adjustment frequency is set, the focus state is adjusted during the projection of the projected image only once, and when the lowest adjustment frequency is set, the focus state of the projection image is adjusted. Do not do it. In this way, power consumption can be suppressed when it is not necessary to adjust the focus state of the projected image. The adjustment frequency can be set by an input operation of an operation key.

上記の説明では、コントラスト算出用画像を重畳することにより、動画を投射中であっても投射像のフォーカス状態を調節することとしていた。しかし、投射されている画像が静止画であれば、その静止画に基づいてコントラスト量を算出し、投射像のフォーカス状態を適切に調節することができる。したがって、コントラスト算出用画像の重畳は行わず、静止画を投射しているときのみ投射像のフォーカス状態を調節するようにしてもよい。さらに、動画を投射中の場合にはコントラスト算出用画像を重畳し、静止画を投射中の場合にはコントラスト算出用画像を重畳しないようにして、コントラスト算出用画像または静止画のいずれかに基づいてコントラスト量を算出し、投射像のフォーカス状態を調節するようにしてもよい。   In the above description, the focus state of the projected image is adjusted even when a moving image is being projected by superimposing the contrast calculation image. However, if the projected image is a still image, the contrast amount can be calculated based on the still image, and the focus state of the projected image can be adjusted appropriately. Therefore, the focus state of the projected image may be adjusted only when a still image is projected without superimposing the contrast calculation image. Furthermore, based on either the contrast calculation image or the still image, the contrast calculation image is superimposed when a moving image is being projected, and the contrast calculation image is not superimposed when a still image is being projected. Thus, the contrast amount may be calculated to adjust the focus state of the projected image.

(2)明るさの調節
次に、明るさの調節について説明する。プロジェクタモジュール6において適切な明るさで投射が行われないと、投射像が暗すぎたり明るすぎたりして見えづらくなってしまうため、投射像の明るさを適切に調節する必要がある。この投射像の明るさの調節は、前述したフォーカス状態の調節と同様に、カメラモジュール7によって撮影して取得された投射像の撮像画像に基づいて行われる。
(2) Brightness adjustment Next, the brightness adjustment will be described. If the projector module 6 does not project at an appropriate brightness, the projected image will be too dark or too bright to be difficult to see, so the brightness of the projected image must be adjusted appropriately. The adjustment of the brightness of the projection image is performed based on the captured image of the projection image obtained by capturing with the camera module 7 in the same manner as the adjustment of the focus state described above.

プロジェクタ付き携帯電話機10は、カメラモジュール7から出力された撮像画像の明るさをCPU101において検出することにより、投射像の明るさが適切であるか否かを判断する。撮像画像が全体的に暗すぎたり明るすぎる場合は、投射像の明るさが適切でないと判断し、LED駆動部64からLED光源63への供給電流を増加または減少させる。LED駆動部64からの供給電流量に応じてLED光源63の発光強度が変化し、投射像の明るさが変わる。このようにして、投射像の明るさが適切となるように調節する。   The projector-equipped mobile phone 10 determines whether the brightness of the projected image is appropriate by detecting the brightness of the captured image output from the camera module 7 by the CPU 101. If the entire captured image is too dark or too bright, it is determined that the brightness of the projected image is not appropriate, and the supply current from the LED drive unit 64 to the LED light source 63 is increased or decreased. The light emission intensity of the LED light source 63 changes according to the amount of current supplied from the LED drive unit 64, and the brightness of the projected image changes. In this way, adjustment is made so that the brightness of the projected image is appropriate.

なお、LED光源63がPWM点灯を行っている場合には、そのデューティ比を変えることで投射像の明るさを調節するようにしてもよい。すなわち、LED光源がパルス状に発光する光源である場合は、そのパルス幅を広げることにより投射像を明るくし、逆にパルス幅を狭めることにより投射像を暗くすることができる。さらに、LED光源63がRGB各色の光を複数組発光し、各組ごとに点灯のオンオフを個別に制御できるような場合には、その点灯組数を変えることで投射像の明るさを調節することもできる。以上説明したような方法により、LED光源63の発光量を変化させて投射像の明るさを調節することができる。   When the LED light source 63 performs PWM lighting, the brightness of the projected image may be adjusted by changing the duty ratio. That is, when the LED light source is a light source that emits light in pulses, the projected image can be brightened by widening the pulse width, and conversely, the projected image can be darkened by narrowing the pulse width. Further, when the LED light source 63 emits a plurality of RGB light components and lighting on / off can be individually controlled for each group, the brightness of the projected image is adjusted by changing the number of lighting groups. You can also. With the method described above, the brightness of the projected image can be adjusted by changing the light emission amount of the LED light source 63.

プロジェクタ付き携帯電話機10は、上記のようにして撮像画像に基づいて投射像の明るさを調節する場合、投射対象として選択された画像に、明るさを検出するための所定の画像(以下、明るさ検出用画像という)を重畳した後、それをプロジェクタモジュール6により投射してその投射像をカメラモジュール7により撮像する。このようにすると、元の投射対象画像が変化しても、重畳された明るさ検出用画像の部分の明るさに基づいて、投射像の明るさを適切に調節することができる。   When adjusting the brightness of the projection image based on the captured image as described above, the projector-equipped mobile phone 10 detects a predetermined image (hereinafter referred to as “brightness”) for detecting the brightness in the image selected as the projection target. After the image is detected, the projector module 6 projects the projected image and the camera module 7 captures the projected image. In this way, even if the original projection target image changes, the brightness of the projected image can be appropriately adjusted based on the brightness of the portion of the superimposed brightness detection image.

図6は、投射対象画像に明るさ検出用画像を重畳した様子を示す図である。(a)は元の投射対象画像を示し、(b)は(a)の投射対象画像に明るさ検出用画像を重畳した画像を示している。(b)の画像では、図4(b)のコントラスト算出用画像が重畳された画像と同様に、下端部にファイル名と日付情報に加えて、符号22に示す明るさ検出用画像が重畳されている。この明るさ検出用画像22は、明るさを検出しやすいように全体が無色(白色)である所定の形状パターンを有している。このような所定の形状パターンによって形成される明るさ検出用画像22を含む画像が、プロジェクタモジュール6によって投射面に投射され、その投射像がカメラモジュール7によって撮像される。こうして取得された撮像画像を用いて、明るさ検出用画像22に基づいて明るさが検出され、投射像の明るさの調節が行われる。なお、ここで示した明るさ検出用画像22の形状パターンは一例であって、明るさが検出できるものであればどのような形状パターンでもよいことは言うまでもない。   FIG. 6 is a diagram illustrating a state in which the brightness detection image is superimposed on the projection target image. (A) shows the original projection target image, and (b) shows an image obtained by superimposing the brightness detection image on the projection target image of (a). In the image of (b), in the same manner as the image on which the contrast calculation image of FIG. 4 (b) is superimposed, in addition to the file name and date information, the brightness detection image indicated by reference numeral 22 is superimposed on the lower end. ing. The brightness detection image 22 has a predetermined shape pattern that is colorless (white) as a whole so that the brightness can be easily detected. An image including the brightness detection image 22 formed by such a predetermined shape pattern is projected onto the projection surface by the projector module 6, and the projection image is captured by the camera module 7. Using the captured image acquired in this way, the brightness is detected based on the brightness detection image 22, and the brightness of the projection image is adjusted. It should be noted that the shape pattern of the brightness detection image 22 shown here is an example, and it is needless to say that any shape pattern may be used as long as the brightness can be detected.

なお、上記のような明るさの検出には、カメラモジュール7のイメージセンサ72より画素単位で出力される撮像信号(蓄積電荷信号)のうち、明るさ検出用画像22と対応する領域の画素より出力される撮像信号のみが用いられる。   Note that the brightness detection as described above is performed using pixels in an area corresponding to the brightness detection image 22 in the image pickup signal (accumulated charge signal) output from the image sensor 72 of the camera module 7 in units of pixels. Only the output imaging signal is used.

以上説明したような明るさ検出用画像の重畳を、前述したコントラスト算出用画像と同様に所定の短時間だけ行うようにしてもよい。その場合には、明るさ検出用画像を含む画像が投射されるタイミングに同期して、カメラモジュール7において投射像を撮像する。   The superimposition of the brightness detection image as described above may be performed for a predetermined short period of time as in the case of the contrast calculation image described above. In that case, the camera module 7 captures a projected image in synchronization with the timing at which the image including the brightness detection image is projected.

また、前述したフォーカス状態の調節と同様に、この投射像の明るさの調節についても、一定周期ごとに繰り返し行うようにしてもよいし、またはプロジェクタ付き携帯電話機10に対して操作キーへの入力操作が行われるごとに繰り返し行うようにしてもよい。操作キーへの入力操作が行われと、それによってプロジェクタ付き携帯電話機10の位置や向きが変化して投射面との距離が変化し、投射像の明るさが変化してしまう場合がある。したがって、操作キーへの入力操作が行われるごとに投射像の明るさの調節を行うようにすると、その入力操作によって投射像の明るさが変化してしまった場合でも、明るさを補正して見やすい投射像とすることができる。   Similarly to the adjustment of the focus state described above, the adjustment of the brightness of the projection image may be repeatedly performed at regular intervals, or input to the operation key for the projector-equipped mobile phone 10. You may make it repeat repeatedly whenever operation is performed. When an input operation to the operation key is performed, the position and orientation of the projector-equipped mobile phone 10 may change, the distance from the projection surface may change, and the brightness of the projected image may change. Therefore, if the brightness of the projected image is adjusted each time an input operation to the operation key is performed, the brightness is corrected even if the brightness of the projected image changes due to the input operation. Easy-to-see projection image.

あるいは、フォーカス状態の調節と同様に、操作キーの入力操作によって明るさの調節頻度を3種類の中から設定できるようにしてもよい。すなわち、最も高い調節頻度が設定された場合は、投射像の投射中に明るさの調節を繰り返し行い、中間の調節頻度が設定された場合は、最初の1回だけ投射像の投射中に明るさの調節を行い、最も低い調節頻度が設定された場合は、投射像の明るさの調節を行わないようにする。このようにすると、投射像の明るさの調節が不要である場合において電力消費を抑えることができる。   Alternatively, similarly to the adjustment of the focus state, the brightness adjustment frequency may be set from among three types by an input operation of the operation key. That is, when the highest adjustment frequency is set, the brightness is repeatedly adjusted during projection of the projected image, and when the intermediate adjustment frequency is set, the brightness is projected only once during the projection image projection. When the lowest adjustment frequency is set, the brightness of the projected image is not adjusted. In this way, power consumption can be suppressed when adjustment of the brightness of the projected image is unnecessary.

上記の説明では、LED光源63の発光量を変化させて投射像の明るさを調節することとしていた。しかし、発光量を上げることは電力消費量や発熱量の増加につながるため、できるだけ発光量を抑えることが望ましい。したがって、投射像の明るさに対して所定の基準値を予め設定しておき、その基準値よりも暗くするときにだけ発光量を低下させて投射像の明るさを調節するようにしてもよい。その場合、基準値よりも明るくする際には、液晶パネル62に表示する投射対象画像自体の明るさを変えることによって投射像の明るさを調節する。このときの色合いの変化には、LUT(Look Up Table)処理やガンマ補正処理と呼ばれる方法などを用いることができる。LUT処理では、テーブル化された対応関係に従って、画像データにおける各画素の色情報値を補正する。ガンマ補正処理では、ガンマカーブと呼ばれる変換曲線に従って、画像データにおける各画素の色情報値を補正する。なお、これ以外の方法を用いて投射対象画像の明るさを変化させるようにしてもよい。   In the above description, the brightness of the projected image is adjusted by changing the light emission amount of the LED light source 63. However, since increasing the amount of light emission leads to an increase in power consumption and heat generation, it is desirable to suppress the amount of light emission as much as possible. Therefore, a predetermined reference value may be set in advance for the brightness of the projected image, and the brightness of the projected image may be adjusted by reducing the light emission amount only when the brightness is darker than the reference value. . In that case, when making the image brighter than the reference value, the brightness of the projection image is adjusted by changing the brightness of the projection target image itself displayed on the liquid crystal panel 62. To change the hue at this time, a method called LUT (Look Up Table) processing or gamma correction processing can be used. In the LUT process, the color information value of each pixel in the image data is corrected according to the tabulated correspondence. In the gamma correction process, the color information value of each pixel in the image data is corrected according to a conversion curve called a gamma curve. In addition, you may make it change the brightness of a projection target image using methods other than this.

(3)ホワイトバランスの調節
次に、ホワイトバランスの調節について説明する。プロジェクタモジュール6において投射像の色合いを調節していないと、周囲の配光状況や投射面の色合いによっては、投射像の見た目が本来の色合いとは異なるものとなってしまう場合がある。したがって、投射像が本来の色合いで見えるようにホワイトバランス調節を行う必要がある。この投射像のホワイトバランスの調節は、前述したフォーカス状態の調節や明るさの調節と同様に、カメラモジュール7によって撮影して取得された投射像の撮像画像に基づいて行われる。
(3) White Balance Adjustment Next, white balance adjustment will be described. If the color of the projected image is not adjusted in the projector module 6, the appearance of the projected image may differ from the original color depending on the surrounding light distribution and the color of the projection surface. Therefore, it is necessary to adjust the white balance so that the projected image can be seen in the original color. The adjustment of the white balance of the projected image is performed based on the captured image of the projected image acquired by photographing with the camera module 7 in the same manner as the focus state adjustment and the brightness adjustment described above.

プロジェクタ付き携帯電話機10は、カメラモジュール7から出力された撮像画像の色合いをCPU101において検出することにより、投射像のホワイトバランスが適切であるか否かを判断する。検出した色合いが本来の色合いと異なる場合は、LED駆動部64からLED光源63への供給電流をRGB各色ごとに増加または減少させる。LED駆動部64からの供給電流量に応じて、LED光源63においてRGB各色の発光強度がそれぞれ変化し、投射像の色合いが変わる。このようにして色合いを調節することにより、投射像のホワイトバランスが適切となるように調節する。   The projector-equipped mobile phone 10 determines whether the white balance of the projected image is appropriate by detecting the hue of the captured image output from the camera module 7 by the CPU 101. If the detected color is different from the original color, the supply current from the LED drive unit 64 to the LED light source 63 is increased or decreased for each of the RGB colors. In accordance with the amount of current supplied from the LED drive unit 64, the light emission intensity of each color of RGB changes in the LED light source 63, and the hue of the projected image changes. By adjusting the hue in this way, the white balance of the projected image is adjusted to be appropriate.

なお、前述した明るさ調節の場合と同様に、LED光源63がPWM点灯を行っている場合には、RGB各色ごとにデューティ比を変えることで投射像の色合いを調節するようにしてもよい。すなわち、LED光源がRGB各色ごとにパルス状に発光する光源である場合は、パルス幅を広げることによってその発光色の色合いを強くし、逆にパルス幅を狭めることによってその発光色の色合いを弱くすることができる。さらに、LED光源63がRGB各色の光を複数組発光するような場合には、その点灯数を色によって変えることで投射像の色合いを調節することもできる。以上説明したような方法により、LED光源63の発光量をその発光色ごとに変化させて投射像の色合いを調節し、投射像のホワイトバランスの調節を行うことができる。   As in the case of the brightness adjustment described above, when the LED light source 63 performs PWM lighting, the hue of the projected image may be adjusted by changing the duty ratio for each of the RGB colors. That is, when the LED light source is a light source that emits light in pulses for each RGB color, the light emission color is strengthened by widening the pulse width, and conversely, the light emission color is weakened by narrowing the pulse width. can do. Furthermore, when the LED light source 63 emits a plurality of sets of light of each color of RGB, the hue of the projected image can be adjusted by changing the number of lights depending on the color. By the method described above, the light emission amount of the LED light source 63 is changed for each emission color to adjust the hue of the projection image, and the white balance of the projection image can be adjusted.

プロジェクタ付き携帯電話機10は、上記のようにして撮像画像に基づいて投射像のホワイトバランスを調節する場合、投射対象として選択された画像に、色合いを検出するための所定の画像(以下、色合い検出用画像という)を重畳した後、それをプロジェクタモジュール6により投射して投射像をカメラモジュール7により撮像する。このようにすると、元の投射対象画像が変化しても、重畳された色合い検出用画像の部分の色合いに基づいて、投射像のホワイトバランスを適切に調節することができる。   When adjusting the white balance of the projection image based on the captured image as described above, the projector-equipped mobile phone 10 detects a predetermined image for detecting the hue (hereinafter, hue detection) on the image selected as the projection target. (Hereinafter referred to as a “use image”), it is projected by the projector module 6 and a projected image is taken by the camera module 7. In this way, even if the original projection target image changes, the white balance of the projected image can be appropriately adjusted based on the hue of the portion of the superimposed hue detection image.

上記の色合い検出用画像は、図6(b)に示す明るさ検出用画像22と兼用することができる。色合い検出用画像(明るさ検出用画像)22は、全体が白色である所定の形状パターンを有している。したがって、カメラモジュール7によって取得された撮像画像において、色合い検出用画像(明るさ検出用画像)22に基づいて色合いを検出し、その色合いを本来の白色と比較することで、ホワイトバランス調節を行うことができる。なお、これ以外にもホワイトバランス調節を行うことができるようなものであればどのような形状パターンでもよいことは言うまでもない。投射像のフォーカス状態の調節に用いたコントラスト算出用画像のうち白色の部分を、色合い検出用画像や明るさ検出用画像として用いるようにしてもよい。   The above-described hue detection image can also be used as the brightness detection image 22 shown in FIG. The hue detection image (brightness detection image) 22 has a predetermined shape pattern that is entirely white. Therefore, in the captured image acquired by the camera module 7, the hue is detected based on the hue detection image (brightness detection image) 22, and the white balance is adjusted by comparing the hue with the original white color. be able to. Needless to say, any other shape pattern can be used as long as the white balance can be adjusted. A white portion of the contrast calculation image used for adjusting the focus state of the projected image may be used as a hue detection image or a brightness detection image.

なお、上記のような色合いの検出には、カメラモジュール7のイメージセンサ72より画素単位で出力される撮像信号(蓄積電荷信号)のうち、色合い検出用画像22と対応する領域の画素より出力される撮像信号のみが用いられる。   For the above-described detection of the hue, the image signal (accumulated charge signal) output from the image sensor 72 of the camera module 7 in units of pixels is output from the pixels in the region corresponding to the hue detection image 22. Only imaging signals are used.

以上説明したような色合い検出用画像の重畳を、前述したコントラスト算出用画像や明るさ検出用画像と同様に、所定の短時間だけ行うようにしてもよい。その場合には、色合い検出用画像を含む画像が投射されるタイミングに同期して、カメラモジュール7において投射像を撮像する。   The above-described superimposition of the hue detection image may be performed for a predetermined short period of time as in the case of the contrast calculation image and the brightness detection image described above. In that case, the camera module 7 captures a projected image in synchronization with the timing at which the image including the hue detection image is projected.

また、前述したフォーカス状態の調節や明るさの調節と同様に、このホワイトバランスの調節についても、一定周期ごとに繰り返し行うようにしてもよいし、またはプロジェクタ付き携帯電話機10に対して操作キーへの入力操作が行われるごとに繰り返し行うようにしてもよい。操作キーへの入力操作が行われと、それによってプロジェクタ付き携帯電話機10の位置や向きが変化して、投射像の位置が変わる場合がある。このとき、投射像の位置が変わったことで周囲の配光状況や投射面の色合いが変化し、その結果、投射像の見た目の色あいが変化してしまう場合がある。したがって、操作キーへの入力操作が行われるごとに投射像のホワイトバランスの調節を行うようにすると、その入力操作によって投射像の見た目の色合いが変化してしまった場合でも、色合いを補正して見やすい投射像とすることができる。   Similarly to the focus state adjustment and the brightness adjustment described above, this white balance adjustment may be repeated at regular intervals, or the projector-equipped mobile phone 10 may be operated with an operation key. It may be repeated each time the input operation is performed. When an input operation to the operation key is performed, the position and orientation of the projector-equipped mobile phone 10 may change accordingly, and the position of the projected image may change. At this time, a change in the position of the projected image changes the surrounding light distribution and the hue of the projection surface, and as a result, the apparent color of the projected image may change. Therefore, if the white balance of the projected image is adjusted each time an input operation is performed on the operation key, even if the apparent color of the projected image changes due to the input operation, the hue is corrected. Easy-to-see projection image.

あるいは、フォーカス状態の調節や明るさの調節と同様に、操作キーの入力操作によってホワイトバランスの調節頻度を3種類の中から設定できるようにしてもよい。すなわち、最も高い調節頻度が設定された場合は、投射像の投射中にホワイトバランスの調節を繰り返し行い、中間の調節頻度が設定された場合は、最初の1回だけ投射像の投射中にホワイトバランスの調節を行い、最も低い調節頻度が設定された場合は、投射像のホワイトバランスの調節を行わないようにする。このようにすると、投射像のホワイトバランスの調節が不要である場合において電力消費を抑えることができる。   Alternatively, similarly to the adjustment of the focus state and the adjustment of the brightness, the white balance adjustment frequency may be set from among three types by the input operation of the operation keys. That is, when the highest adjustment frequency is set, white balance adjustment is repeatedly performed during projection of the projected image, and when the intermediate adjustment frequency is set, white is only projected during the first projection. When the balance is adjusted and the lowest adjustment frequency is set, the white balance of the projected image is not adjusted. In this way, power consumption can be suppressed when it is not necessary to adjust the white balance of the projected image.

上記の説明では、投射像の色合いを調節する例としてホワイトバランスの調節について説明していたが、白以外の色を基準として色合いを調節する場合に適用してもよい。   In the above description, the adjustment of the white balance has been described as an example of adjusting the hue of the projected image. However, the adjustment may be applied to the case where the hue is adjusted based on a color other than white.

(4)台形歪みの補正
最後に、台形歪みの補正について説明する。台形歪みとは、プロジェクタモジュール6による投射方向と投射面との角度に応じて生じる投射像の台形状の歪みのことをいう。投射方向が投射面に正対していない場合には、こうした台形歪みが生じることが知られている。この台形歪みの補正は、前述した各種の調節と同様に、カメラモジュール7によって撮影して取得された投射像の撮像画像に基づいて行われる。
(4) Correction of trapezoidal distortion Finally, correction of trapezoidal distortion will be described. The trapezoidal distortion refers to a trapezoidal distortion of a projection image generated according to the angle between the projection direction by the projector module 6 and the projection surface. It is known that such trapezoidal distortion occurs when the projection direction does not face the projection surface. The correction of the trapezoidal distortion is performed based on the captured image of the projection image acquired by capturing with the camera module 7 as in the various adjustments described above.

プロジェクタ付き携帯電話機10は、カメラモジュール7から出力された撮像画像の形状をCPU101において検出することにより、投射像に台形歪みが生じているか否かを判断する。台形歪みが生じている場合は、液晶駆動部65を制御して、その台形歪みとは逆の方向に液晶パネル62上に表示する画像を歪ませ、台形歪みを打ち消すようにする。この画像を投射することにより、台形歪みを補正する。   The projector-equipped mobile phone 10 determines whether or not a trapezoidal distortion has occurred in the projected image by detecting the shape of the captured image output from the camera module 7 by the CPU 101. If trapezoidal distortion has occurred, the liquid crystal driving unit 65 is controlled to distort the image displayed on the liquid crystal panel 62 in a direction opposite to the trapezoidal distortion so as to cancel the trapezoidal distortion. The keystone distortion is corrected by projecting this image.

プロジェクタ付き携帯電話機10は、上記のようにして撮像画像に基づいて台形歪みを補正する場合、投射対象として選択された画像に、投射像の形状を特定するための所定の図形(以下、形状特定用図形という)を重畳した後、それをプロジェクタモジュール6により投射して投射像をカメラモジュール7により撮像する。このようにすると、どのような内容の投射対象画像であっても、重畳された形状特定用図形に基づいて台形歪みを補正することができる。   When correcting the trapezoidal distortion based on the captured image as described above, the projector-equipped mobile phone 10 determines a predetermined figure for specifying the shape of the projection image (hereinafter, shape specification) in the image selected as the projection target. (Referred to as “graphic”) is projected by the projector module 6 and a projected image is captured by the camera module 7. In this way, it is possible to correct the trapezoidal distortion based on the superimposed shape specifying figure regardless of the content of the projection target image.

図7は、投射対象画像に形状特定用図形を重畳した様子を示す図である。(a)は元の投射対象画像を示し、(b)は(a)の投射対象画像に形状特定用図形を重畳した画像を示している。(b)の画像では、投射対象画像の周囲に太枠状の形状特定用図形23が重畳されている。このような形状特定用図形23を含む画像が、プロジェクタモジュール6によって投射面に投射され、その投射像がカメラモジュール7によって撮像される。こうして取得された撮像画像を用いて、形状特定用図形23に基づいて投射像の形状が特定され、台形歪みの補正が行われる。なお、ここで示した形状特定用図形23は一例であって、投射像の形状を特定できるものであればどのような図形でもよいことは言うまでもない。あるいは、図形ではなく記号や文字などを用いてもよい。   FIG. 7 is a diagram illustrating a state in which the shape specifying graphic is superimposed on the projection target image. (A) shows the original projection target image, and (b) shows an image in which a shape specifying figure is superimposed on the projection target image of (a). In the image of (b), a thick frame-shaped shape specifying figure 23 is superimposed around the projection target image. An image including the shape specifying figure 23 is projected onto the projection surface by the projector module 6, and the projection image is captured by the camera module 7. Using the captured image acquired in this way, the shape of the projected image is specified based on the shape specifying figure 23, and the trapezoidal distortion is corrected. Note that the shape specifying figure 23 shown here is an example, and it is needless to say that any figure may be used as long as the shape of the projected image can be specified. Alternatively, symbols and characters may be used instead of graphics.

以上説明したような形状特定用図形の重畳を、前述したコントラスト算出用画像や明るさ検出用画像、色合い検出用画像と同様に、所定の短時間だけ行うようにしてもよい。その場合には、形状特定用図形を含む画像が投射されるタイミングに同期して、カメラモジュール7において投射像を撮像する。   The shape specifying graphic as described above may be superimposed for a predetermined short time, similar to the contrast calculation image, brightness detection image, and hue detection image described above. In that case, the camera module 7 captures a projected image in synchronization with the timing at which the image including the shape specifying graphic is projected.

また、前述した各種の調節と同様に、この台形歪みの補正についても、一定周期ごとに繰り返し行うようにしてもよいし、またはプロジェクタ付き携帯電話機10に対して操作キーへの入力操作が行われるごとに繰り返し行うようにしてもよい。操作キーへの入力操作が行われと、それによってプロジェクタ付き携帯電話機10の位置や向きが変化して、投射像の投射方向と投射面との角度が変わり、その結果、台形歪みの形状が変化してしまう場合がある。したがって、操作キーへの入力操作が行われるごとに台形歪みの補正を行うようにすると、その入力操作によって台形歪みの形状が変化してしまった場合でも、台形歪みを補正して見やすい投射像とすることができる。   Similarly to the various adjustments described above, the correction of the trapezoidal distortion may be repeatedly performed at regular intervals, or an input operation to the operation key is performed on the projector-equipped mobile phone 10. You may make it repeat every. When an input operation is performed on the operation key, the position and orientation of the projector-equipped mobile phone 10 change, thereby changing the angle between the projection direction of the projected image and the projection surface, and as a result, the shape of the trapezoidal distortion changes. May end up. Therefore, if the keystone distortion is corrected each time an input operation to the operation key is performed, even if the keystone distortion shape is changed by the input operation, the keystone distortion is corrected and an easy-to-see projection image is obtained. can do.

あるいは、前述の各種の調節と同様に、操作キーの入力操作によって台形歪みの補正頻度を3種類の中から設定できるようにしてもよい。すなわち、最も高い補正頻度が設定された場合は、投射像の投射中に台形歪みの補正を繰り返し行い、中間の補正頻度が設定された場合は、最初の1回だけ投射像の投射中に台形歪みの補正を行い、最も低い補正頻度が設定された場合は、台形歪みの補正を行わないようにする。このようにすると、台形歪みの補正が不要である場合において電力消費を抑えることができる。   Alternatively, as with the above-described various adjustments, the trapezoidal distortion correction frequency may be set from among three types by an input operation of the operation keys. That is, when the highest correction frequency is set, trapezoidal distortion correction is repeatedly performed during projection of the projection image, and when the intermediate correction frequency is set, the trapezoid is generated during projection of the projection image only once. When the distortion is corrected and the lowest correction frequency is set, the trapezoidal distortion is not corrected. In this way, power consumption can be suppressed when trapezoidal distortion correction is unnecessary.

上記の説明では、形状特定用図形を重畳した画像を撮像し、その形状特定用図形に基づいて投射像の形状を特定することにより、台形歪みの補正を行うこととしていた。しかし、開閉角度センサ112によって検出された折りたたみ角度θに基づいて、台形歪みの補正を行うようにしてもよい。このとき、プロジェクタモジュール6による投射像の投射方向が表示部2に対して固定されているものとする。このようにすると、操作部1の底面部分を机上などに設置して投射する場合に、撮像を行わなくても簡単に台形歪みを補正することができる。   In the above description, the trapezoidal distortion is corrected by capturing an image on which the shape specifying graphic is superimposed and specifying the shape of the projected image based on the shape specifying graphic. However, the trapezoidal distortion may be corrected based on the folding angle θ detected by the opening / closing angle sensor 112. At this time, it is assumed that the projection direction of the projected image by the projector module 6 is fixed with respect to the display unit 2. In this way, when the bottom surface portion of the operation unit 1 is installed on a desk or the like and projected, the trapezoidal distortion can be easily corrected without performing imaging.

図8は、水平面上に操作部1を設置して垂直な投射面に投射したときの、折りたたみ角度θと台形歪みとの関係を示した図である。(a)は、折りたたみ角度θが90°よりも小さい場合の投射の様子を側面図によって示した図であり、(b)は、(a)のときの台形歪みの様子を正面図によって示した図である。(c)は、θ=90°である場合の投射の様子を側面図によって示した図であり、(d)は、(b)のときの台形歪みの様子を正面図によって示した図である。   FIG. 8 is a diagram showing the relationship between the folding angle θ and the trapezoidal distortion when the operation unit 1 is installed on a horizontal plane and projected onto a vertical projection surface. (A) is the figure which showed the mode of projection when folding angle (theta) is smaller than 90 degrees by the side view, (b) showed the mode of the trapezoid distortion at the time of (a) by the front view. FIG. (C) is the figure which showed the mode of projection in the case of (theta) = 90 degree by the side view, (d) is the figure which showed the mode of the trapezoid distortion at the time of (b) by the front view. .

図8(a)、(b)に示すように、折りたたみ角度θが90°よりも小さい場合には台形歪みが発生する。また、これとは逆に折りたたみ角度θが90°よりも大きい場合にも、台形歪みが発生する。この台形歪みの程度(歪み具合)は、折りたたみ角度θによって変化し、その変化の割合は決まっている。したがって、折りたたみ角度θの値に応じて、台形歪みを打ち消すために液晶パネル62上に表示する画像を歪ませるときの歪ませ具合を予め設定しておくことで、台形歪みを補正することができる。なお、図8(c)、(d)に示すように、θ=90°である場合には台形歪みが発生しないため、台形歪みの補正は必要ない。   As shown in FIGS. 8A and 8B, trapezoidal distortion occurs when the folding angle θ is smaller than 90 °. Conversely, trapezoidal distortion also occurs when the folding angle θ is greater than 90 °. The degree of the trapezoidal distortion (the degree of distortion) varies depending on the folding angle θ, and the rate of the change is determined. Therefore, the trapezoidal distortion can be corrected by setting in advance the degree of distortion when the image displayed on the liquid crystal panel 62 is distorted in order to cancel the trapezoidal distortion according to the value of the folding angle θ. . As shown in FIGS. 8C and 8D, since trapezoidal distortion does not occur when θ = 90 °, it is not necessary to correct the trapezoidal distortion.

または、プロジェクタ付き携帯電話機10において、表示部2の左右の中心軸を回転軸とし、その回転軸を中心として表示部2を回転可能な構造として、所定の基準位置に対するその回転角度を検出し、検出された回転角度φに基づいて台形歪みの補正を行うこととしてもよい。なお、この場合にもプロジェクタモジュール6による投射像の投射方向は表示部2に対して固定されているものとする。   Alternatively, in the projector-equipped mobile phone 10, the left and right central axes of the display unit 2 are used as rotation axes, the display unit 2 is configured to be rotatable around the rotation axis, and the rotation angle with respect to a predetermined reference position is detected. The trapezoidal distortion may be corrected based on the detected rotation angle φ. Also in this case, it is assumed that the projection direction of the projection image by the projector module 6 is fixed with respect to the display unit 2.

図9は、水平面上に操作部1を設置して垂直な投射面に投射したときの、表示部2の回転角度φと台形歪みとの関係を示した図である。(a)は、回転角度φが90°よりも小さい場合の投射の様子を平面図によって示した図であり、(b)は、(a)のときの台形歪みの様子を正面図によって示した図である。(c)は、φ=90°である場合の投射の様子を平面図によって示した図であり、(d)は、(b)のときの台形歪みの様子を正面図によって示した図である。なお、図9において回転角度φの基準位置は操作部1の左右の中心軸とし、折りたたみ角度θは90°であるものとする。回転角度φが90°のとき、表示部2の背面は投射面に正対している。   FIG. 9 is a diagram showing the relationship between the rotation angle φ of the display unit 2 and the trapezoidal distortion when the operation unit 1 is installed on a horizontal plane and projected onto a vertical projection surface. (A) is the figure which showed the mode of projection in case rotation angle (phi) is smaller than 90 degrees by the top view, (b) showed the mode of the trapezoid distortion at the time of (a) by the front view. FIG. (C) is the figure which showed the mode of projection in the case of (phi) = 90 degrees by the top view, (d) is the figure which showed the mode of the trapezoid distortion at the time of (b) by the front view. . In FIG. 9, the reference position of the rotation angle φ is the left and right central axis of the operation unit 1, and the folding angle θ is 90 °. When the rotation angle φ is 90 °, the back surface of the display unit 2 faces the projection surface.

図9(a)、(b)に示すように、回転角度φが90°よりも小さい場合には台形歪みが発生する。また、これとは逆に回転角度φが90°よりも大きい場合にも、台形歪みが発生する。この台形歪みの程度(歪み具合)は、回転角度φによって変化し、その変化の割合は決まっている。したがって、折りたたみ角度θの場合と同様に、回転角度φの値に応じて、台形歪みを打ち消すために液晶パネル62上に表示する画像を歪ませるときの歪ませ具合を予め設定しておくことで、台形歪みを補正することができる。なお、図9(c)、(d)に示すように、φ=90°である場合には台形歪みが発生しないため、台形歪みの補正は必要ない。   As shown in FIGS. 9A and 9B, trapezoidal distortion occurs when the rotation angle φ is smaller than 90 °. Conversely, trapezoidal distortion also occurs when the rotation angle φ is greater than 90 °. The degree of the trapezoidal distortion (distortion degree) varies depending on the rotation angle φ, and the rate of the change is determined. Therefore, as in the case of the folding angle θ, by setting in advance the degree of distortion when the image displayed on the liquid crystal panel 62 is distorted in order to cancel the trapezoidal distortion according to the value of the rotation angle φ. , Trapezoidal distortion can be corrected. Note that, as shown in FIGS. 9C and 9D, trapezoidal distortion does not occur when φ = 90 °, so that it is not necessary to correct the trapezoidal distortion.

さらに、以上説明した折りたたみ角度θに基づく台形歪みの補正と、回転角度φに基づく台形歪みの補正とを、組み合わせて用いるようにしてもよい。   Furthermore, the trapezoidal distortion correction based on the folding angle θ described above and the trapezoidal distortion correction based on the rotation angle φ may be used in combination.

以上説明したようにして、フォーカス状態の調節、明るさの調節、ホワイトバランスの調節および台形歪みの補正の各動作を行うことにより、キャリブレーション動作を実行する。なお、これらの各動作は必ずしも全て行う必要はなく、選択した動作のみを実行するようにしてもよい。   As described above, the calibration operation is executed by performing the operations of adjusting the focus state, adjusting the brightness, adjusting the white balance, and correcting the trapezoidal distortion. Note that it is not always necessary to perform all these operations, and only selected operations may be executed.

次に、カメラモジュール7において撮像画像のピントを調節する方法について説明する。撮像画像のピント調節には、コントラスト検出方式と呼ばれる方法が用いられる。具体的には、撮影レンズ71の焦点位置を様々に変化させて撮像画像を取得し、その撮像画像のそれぞれについてコントラスト量を算出する。そして、CPU101において各撮像画像のコントラスト量を比較し、撮影レンズ71の焦点位置をコントラスト量が最大である撮像画像が取得されたときの位置に合わせて駆動するように、カメラ制御CPU74に対して制御信号を出力する。投射像の撮像画像を適切に撮影してキャリブレーション動作を行うためには、このような撮影画像のピント調節を行う必要がある。   Next, a method for adjusting the focus of the captured image in the camera module 7 will be described. A method called a contrast detection method is used for focus adjustment of a captured image. Specifically, the captured image is acquired by changing the focal position of the photographic lens 71 in various ways, and the contrast amount is calculated for each of the captured images. Then, the CPU 101 compares the contrast amount of each captured image, and controls the camera control CPU 74 so as to drive the focus position of the photographic lens 71 according to the position when the captured image having the maximum contrast amount is acquired. Output a control signal. In order to appropriately capture a captured image of a projected image and perform a calibration operation, it is necessary to perform such focus adjustment of the captured image.

撮像画像のピント調節は、プロジェクタモジュール6において実行する投射像のフォーカス状態の調節と同時に行ってもよいし、別々に行ってもよい。同時に行う場合には同焦点移動方式と呼ばれる制御方法が用いられ、別々に行う場合にはカメラ固定方式と呼ばれる制御方法が用いられる。以下、これらの制御方法の内容について順に説明する。   The focus adjustment of the captured image may be performed simultaneously with the adjustment of the focus state of the projection image executed in the projector module 6 or may be performed separately. When performing simultaneously, a control method called a confocal movement method is used, and when performing separately, a control method called a camera fixing method is used. Hereinafter, the contents of these control methods will be described in order.

−同焦点移動方式−
この制御方法では、カメラモジュール7の撮像焦点位置、すなわち撮像画像に対する撮影レンズ71の焦点位置と、プロジェクタモジュール6の投射焦点位置、すなわち投射像に対する投影レンズ61の焦点位置とを、同じ位置関係に保ちつつ変化させる。ここで撮像焦点位置と投射焦点位置が同じ位置関係であるとは、プロジェクタ付き携帯電話機10に対する距離が両焦点位置でほぼ等しいことをいう。そして、プロジェクタモジュール6により異なる複数の投射焦点位置において投射像をそれぞれ生成し、その複数の投射像の撮像画像をカメラモジュール7により、その複数の投射焦点位置とそれぞれ同じ位置関係に保たれている複数の撮像焦点位置においてそれぞれ取得する。こうして取得された複数の投射像の撮像画像についてコントラスト量をそれぞれ算出し、コントラスト量が最大となったときの位置に合わせるように撮像焦点位置と投射焦点位置を調節する。このようにして、撮像画像のピント調節と投射像のフォーカス状態の調節とを同時に行う。さらにこの際に、取得された複数の撮像画像に基づいて、投射像のフォーカス状態の調節以外のキャリブレーション動作も合わせて実行してもよい。
-Confocal movement method-
In this control method, the imaging focal position of the camera module 7, that is, the focal position of the photographing lens 71 with respect to the captured image, and the projection focal position of the projector module 6, that is, the focal position of the projection lens 61 with respect to the projected image are in the same positional relationship. Change while keeping. Here, that the imaging focal position and the projection focal position have the same positional relationship means that the distance to the projector-equipped mobile phone 10 is substantially equal at both focal positions. Projection images are respectively generated at a plurality of different projection focal positions by the projector module 6, and captured images of the plurality of projection images are kept in the same positional relationship as the plurality of projection focal positions by the camera module 7. Each is acquired at a plurality of imaging focal positions. A contrast amount is calculated for each of the captured images of the plurality of projection images acquired in this way, and the imaging focus position and the projection focus position are adjusted so as to match the position when the contrast amount is maximized. In this way, the focus adjustment of the captured image and the adjustment of the focus state of the projection image are performed simultaneously. Further, at this time, a calibration operation other than the adjustment of the focus state of the projected image may be executed based on the acquired plurality of captured images.

図10は、以上説明した同焦点移動方式を用いて、撮像画像のピント調節と投射像のフォーカス状態の調節を同時に行う様子を示した図である。図10(a)〜(e)では、投射面から約50cmの位置にプロジェクタ付き携帯電話機10が設置されている。なお、プロジェクタモジュール6における最適な投射距離は50cm程度であるものとする。   FIG. 10 is a diagram illustrating a state in which the focus adjustment of the captured image and the adjustment of the focus state of the projection image are simultaneously performed using the above-described confocal movement method. 10A to 10E, the projector-equipped mobile phone 10 is installed at a position of about 50 cm from the projection surface. In addition, the optimal projection distance in the projector module 6 shall be about 50 cm.

初めに(a)のように、カメラモジュール7の撮像焦点位置とプロジェクタモジュール6の投射焦点位置を、共にプロジェクタ付き携帯電話機10から60cm離れた位置に合わせる。この状態で、プロジェクタモジュール6によって生成される投射像をカメラモジュール7において撮影し、その撮像画像についてコントラスト量を算出する。次に(b)のように、カメラモジュール7の撮像焦点位置とプロジェクタモジュール6の投射焦点位置を共にプロジェクタ付き携帯電話機10から55cm離れた位置に合わせて、その投射像の撮像画像についてコントラスト量を算出する。   First, as shown in (a), the imaging focal position of the camera module 7 and the projection focal position of the projector module 6 are both adjusted to a position 60 cm away from the projector-equipped mobile phone 10. In this state, the camera module 7 captures a projection image generated by the projector module 6 and calculates a contrast amount for the captured image. Next, as shown in (b), the imaging focal position of the camera module 7 and the projection focal position of the projector module 6 are both set to a position 55 cm away from the projector-equipped mobile phone 10, and the contrast amount is set for the captured image of the projected image. calculate.

その後(c)〜(e)のように、カメラモジュール7の撮像焦点位置とプロジェクタモジュール6の投射焦点位置をプロジェクタ付き携帯電話機10から50cm、45cm、40cm離れた位置に順に合わせ、その位置における投射像の撮像画像についてコントラスト量を算出する。そして、最大のコントラスト量が得られたときの位置に合わせて、カメラモジュール7の撮像焦点位置とプロジェクタモジュール6の投射焦点位置を調節する。このようにして、撮像画像のピント調節を行うと共に、投射像のフォーカス状態の調節を行う。   Thereafter, as shown in (c) to (e), the imaging focal position of the camera module 7 and the projection focal position of the projector module 6 are sequentially adjusted to positions 50 cm, 45 cm, and 40 cm away from the projector-equipped mobile phone 10, and the projection at that position is performed. The contrast amount is calculated for the captured image of the image. Then, the imaging focal position of the camera module 7 and the projection focal position of the projector module 6 are adjusted in accordance with the position when the maximum contrast amount is obtained. In this manner, the focus of the captured image is adjusted and the focus state of the projected image is adjusted.

以上説明したような同焦点移動方式を用いると、カメラモジュール7の撮像焦点位置とプロジェクタモジュール6の投射焦点位置がプロジェクタ付き携帯電話機10に対してほぼ同じ距離に保たれる。ここで、投射焦点位置が投射面に近いほど高いコントラストの投射像が生成され、撮像焦点位置が投射面に近いほど投射像の撮像画像を高いコントラストで取得できる。したがって、同焦点移動方式を用いることにより、合焦状態とそうでない状態において算出されるコントラスト量の差を大きく取ることができ、撮像焦点位置と投射焦点位置をともに正確に調節することができる。そのため、カメラモジュール7において投射像を適切に撮影できるようにすることができる。なお、より一層の高精度を必要とする場合には、上記のような方法で求められた撮像焦点位置と投射焦点位置に一旦合わせた後、そこを中心としてさらに細かく刻んだ焦点位置の範囲において撮像焦点位置および投射焦点位置を変化させ、同様の処理を繰り返せばよい。   When the same focal point movement method as described above is used, the imaging focal position of the camera module 7 and the projection focal position of the projector module 6 are kept at substantially the same distance from the projector-equipped mobile phone 10. Here, the closer the projection focal position is to the projection plane, the higher the projected image is generated, and the closer the imaging focal position is to the projection plane, the higher the contrast of the projected image. Therefore, by using the same focal point movement method, it is possible to make a large difference in contrast amount calculated between the focused state and the non-focused state, and it is possible to accurately adjust both the imaging focus position and the projection focus position. Therefore, the camera module 7 can appropriately capture a projected image. In the case where higher accuracy is required, after once matching the imaging focus position and the projection focus position obtained by the method as described above, in the range of the focus position further finely centric. The same processing may be repeated by changing the imaging focus position and the projection focus position.

−カメラ固定方式−
この制御方法では、カメラモジュール7の撮像焦点位置を固定させた状態で、プロジェクタモジュール6の投射焦点位置のみを変化させる。そして、異なる複数の投射焦点位置において投射像の撮像画像を生成し、その複数の投射像の撮像画像を固定された1つの撮像焦点位置において取得する。こうして取得された複数の投射像の撮像画像についてコントラスト量をそれぞれ算出し、コントラスト量が最大となったときの位置に合わせてプロジェクタモジュール6の投射焦点位置を調節する。
-Camera fixing method-
In this control method, only the projection focal position of the projector module 6 is changed while the imaging focal position of the camera module 7 is fixed. And the picked-up image of a projection image is produced | generated in a several different projection focus position, and the picked-up image of the some projection image is acquired in one fixed imaging focus position. The contrast amount is calculated for each of the captured images of the plurality of projection images acquired in this way, and the projection focal position of the projector module 6 is adjusted according to the position when the contrast amount is maximized.

このようにして投射焦点位置を調節した後さらに、カメラモジュール7により1つの撮像焦点位置において取得された上記の複数の投射像の撮像画像が所定の条件を満たす場合、具体的には、その複数の投射像の撮像画像によって算出された最大コントラスト量が所定のしきい値よりも小さかった場合には、その複数の投射像の撮像画像に基づいて、算出された最大コントラスト量を用いて、撮像焦点位置を投射焦点位置と同じ位置に合わせるように調節する。その後、再びその調節後の撮像焦点位置において投射焦点位置のみを変化させ、上記と同様にして、プロジェクタモジュール6による複数の投射像の生成と、カメラモジュール7による複数の投射像の撮像画像の取得とを再び行う。こうして取得された各撮像画像についてコントラスト量を算出して、その最大コントラスト量の位置に合わせて投射焦点位置を調節する。このような処理を繰り返すことにより、撮像画像のピント調節と投射像のフォーカス状態の調節とを別々に行う。さらにこの際に、取得された複数の撮像画像に基づいて、投射像のフォーカス状態の調節以外のキャリブレーション動作も合わせて実行してもよい。   When the captured images of the plurality of projection images acquired at one imaging focus position by the camera module 7 further satisfy the predetermined condition after adjusting the projection focus position in this way, specifically, the plurality When the maximum contrast amount calculated from the captured image of the projected image is smaller than a predetermined threshold value, imaging is performed using the calculated maximum contrast amount based on the captured images of the plurality of projected images. Adjust the focal position so that it matches the projection focal position. Thereafter, only the projection focal position is changed again at the adjusted imaging focal position, and in the same manner as described above, a plurality of projection images are generated by the projector module 6 and a plurality of projection images are acquired by the camera module 7. And do again. A contrast amount is calculated for each captured image acquired in this way, and the projection focus position is adjusted according to the position of the maximum contrast amount. By repeating such processing, the focus adjustment of the captured image and the adjustment of the focus state of the projected image are performed separately. Further, at this time, a calibration operation other than the adjustment of the focus state of the projected image may be executed based on the acquired plurality of captured images.

図11は、以上説明したカメラ固定方式を用いて、撮像画像のピント調節と投射像のフォーカス状態の調節を別々に行う様子を示した図である。図11(a)〜(e)では図10と同様に、投射面から約50cmの位置にプロジェクタ付き携帯電話機10が設置されており、プロジェクタモジュール6における最適な投射距離は50cm程度であるものとする。   FIG. 11 is a diagram illustrating a state in which the focus adjustment of the captured image and the adjustment of the focus state of the projection image are separately performed using the camera fixing method described above. In FIGS. 11A to 11E, similarly to FIG. 10, the projector-equipped mobile phone 10 is installed at a position of about 50 cm from the projection surface, and the optimum projection distance in the projector module 6 is about 50 cm. To do.

初めに(a)のように、カメラモジュール7の撮像焦点位置をプロジェクタ付き携帯電話機10から50cm離れた位置に固定した状態で、プロジェクタモジュール6の投射焦点位置をプロジェクタ付き携帯電話機10から60cm離れた位置に合わせる。この状態で、プロジェクタモジュール6によって生成される投射像をカメラモジュール7において撮像し、その撮像画像についてコントラスト量を算出する。次に(b)のように、撮像焦点位置は(a)と同じ位置に固定したままで、投射焦点位置をプロジェクタ付き携帯電話機10から55cm離れた位置に合わせ、その投射像の撮像画像についてコントラスト量を算出する。   First, as shown in (a), with the imaging focus position of the camera module 7 fixed at a position 50 cm away from the projector-equipped mobile phone 10, the projection focus position of the projector module 6 was separated from the projector-equipped mobile phone 10 by 60 cm. Adjust to position. In this state, a projection image generated by the projector module 6 is captured by the camera module 7, and the contrast amount is calculated for the captured image. Next, as shown in (b), with the imaging focal position fixed at the same position as in (a), the projection focal position is adjusted to a position 55 cm away from the projector-equipped mobile phone 10, and the contrast of the captured image of the projected image is contrasted. Calculate the amount.

その後(c)〜(e)のように、カメラモジュール7の撮像焦点位置をプロジェクタ付き携帯電話機10から50cmの位置に固定したままで、プロジェクタモジュール6の投射焦点位置のみをプロジェクタ付き携帯電話機10から50cm、45cm、40cm離れた位置に順に合わせ、その位置における投射像の撮像画像についてコントラスト量を算出する。そして、最大のコントラスト量が得られたときの位置に合わせて、プロジェクタモジュール6の投射焦点位置を調節し、その最大コントラスト量の値が予め定められた所定のしきい値以上であるか否かを判定する。しきい値以上であれば、投射像のフォーカス状態の調節を完了する。なお、この後さらにカメラモジュール7において撮像画像のピント調節を行うようにしてもよい。   Thereafter, as shown in (c) to (e), only the projection focal position of the projector module 6 is moved from the projector-equipped mobile phone 10 while the imaging focal position of the camera module 7 is fixed at a position 50 cm from the projector-equipped mobile phone 10. The images are sequentially adjusted to positions that are 50 cm, 45 cm, and 40 cm apart, and the contrast amount is calculated for the captured image of the projected image at that position. Then, the projection focus position of the projector module 6 is adjusted according to the position when the maximum contrast amount is obtained, and whether or not the value of the maximum contrast amount is equal to or greater than a predetermined threshold value. Determine. If it is equal to or greater than the threshold value, the adjustment of the focus state of the projected image is completed. After that, the camera module 7 may further adjust the focus of the captured image.

最大コントラスト量がしきい値よりも小さい場合は、その最大コントラスト量が得られた位置に合わせて撮像焦点位置を調節した後、再び(a)〜(e)のようにして投射焦点位置を順に変化させ、その投射像の撮像画像をカメラモジュール7において取得する。取得された撮像画像についてコントラスト量を算出し、最大コントラスト量が得られた位置に合わせて投射焦点位置を調節してから、その最大コントラスト量としきい値との比較を再度行う。このような処理を繰り返すことにより、撮像画像のピント調節と投射像のフォーカス状態の調節を別々に行う。   If the maximum contrast amount is smaller than the threshold value, the imaging focus position is adjusted in accordance with the position where the maximum contrast amount is obtained, and then the projection focus position is sequentially changed again as in (a) to (e). The captured image of the projected image is acquired by the camera module 7. A contrast amount is calculated for the acquired captured image, and the projection focus position is adjusted according to the position where the maximum contrast amount is obtained, and then the comparison between the maximum contrast amount and the threshold value is performed again. By repeating such processing, the adjustment of the focus of the captured image and the adjustment of the focus state of the projected image are performed separately.

以上説明したようなカメラ固定方式を用いると、カメラモジュール7における撮像画像のピント調節と、プロジェクタモジュール6における投射像のフォーカス状態の調節とを別々に実行するため、同焦点移動方式よりも簡単な処理でこれらの調節を行うことができる。したがって、処理能力の低いCPUなどを用いた場合にも、カメラモジュール7において投射像を適切に撮影できるようにすることができる。   When the camera fixing method as described above is used, the adjustment of the focus of the captured image in the camera module 7 and the adjustment of the focus state of the projection image in the projector module 6 are performed separately, which is easier than the confocal movement method. These adjustments can be made in the process. Therefore, even when a CPU having a low processing capability is used, the camera module 7 can appropriately capture a projected image.

なお、以上説明したカメラ固定方式において、投射像のフォーカス状態の調節を1回だけ行うようにしてもよい。すなわち、最初に固定した撮像焦点位置において取得された複数の撮像画像に基づいて、投射焦点位置を最終的に決定し、再び処理を繰りかえさないようにしてもよい。投射像のボケ具合や撮像画像の被写界深度によっては、このようにしても投射像のフォーカス状態を適切に調節できる。さらにこの場合、取得される撮像画像のピントが近くから無限遠まで合っているパンフォーカス状態となるように、カメラモジュール7において撮像焦点位置を固定することが好ましい。このようにすれば、投射焦点位置の調節処理を複数回繰り返す必要がなく、短時間で投射像のフォーカス状態を調節して投射像を適切に撮影できるようにすることができる。なお、このような投射像のフォーカス状態の調節方法は、カメラモジュール7が焦点調節機能を有しない単焦点カメラのようなものである場合にも適用することができる。   In the camera fixing method described above, the focus state of the projected image may be adjusted only once. In other words, the projection focal position may be finally determined based on a plurality of captured images acquired at the first fixed imaging focal position, and the process may not be repeated. Depending on the degree of blur of the projected image and the depth of field of the captured image, the focus state of the projected image can be appropriately adjusted in this way. Furthermore, in this case, it is preferable to fix the imaging focus position in the camera module 7 so that a pan-focus state in which the acquired captured image is focused from near to infinity is achieved. In this way, it is not necessary to repeat the adjustment process of the projection focal position a plurality of times, and the projection image can be appropriately captured by adjusting the focus state of the projection image in a short time. Note that such a method for adjusting the focus state of the projected image can also be applied to the case where the camera module 7 is a single focus camera that does not have a focus adjustment function.

次に、カメラモジュール7における撮像画像のホワイトバランス調節方法について説明する。被写体を撮影してその撮像画像を取得する電子式カメラでは通常、様々なシーンの撮影において取得された撮像画像の色合いを人間の見た目に合わせるために、ホワイトバランス調節が行われる。すなわち、撮影時に周囲の配光状況によって生じる被写体像の色合い変化を抑えて、その被写体像から得られる撮像画像が自然な色合いで表現されるように、予め定められた色変換法則などに基づいて撮像画像の色情報値を異なる値へと変換する。この変換後の色情報値によって、撮像画像における色合いが表される。   Next, a method for adjusting the white balance of the captured image in the camera module 7 will be described. In an electronic camera that captures an image of a subject and acquires the captured image, white balance adjustment is usually performed in order to match the color of the captured image acquired in capturing various scenes. That is, based on a predetermined color conversion law or the like so that a captured image obtained from the subject image is expressed in a natural hue while suppressing a change in the hue of the subject image caused by a surrounding light distribution situation at the time of shooting. The color information value of the captured image is converted into a different value. The color information value after this conversion represents the hue in the captured image.

本実施形態のプロジェクタ付き携帯電話機10では、カメラモジュール7によって取得された撮像画像が前述のように画像データとしてCPU101に出力され、この画像データに基づいてCPU101において上記のような色情報値の変換処理を実行することにより、撮像画像の色合いを調節する。このようにして、撮像画像のホワイトバランス調節が行われる。なお、このときに用いられる色変換法則の内容は、ユーザが撮影シーンの種類を設定することで切り替えられる。   In the projector-equipped mobile phone 10 according to the present embodiment, the captured image acquired by the camera module 7 is output as image data to the CPU 101 as described above, and the CPU 101 converts the color information value as described above based on this image data. By executing the process, the hue of the captured image is adjusted. In this way, white balance adjustment of the captured image is performed. Note that the content of the color conversion law used at this time can be switched by the user setting the type of shooting scene.

さらに、プロジェクタモジュール6によって生成された投射像をカメラモジュール7により撮影する際には、以上説明したような撮像画像のホワイトバランス調節が自動的に実行される。すなわち、プロジェクタモジュール6を使用して投射像を生成する際には、自動的にカメラモジュール7において撮像画像を取得し、その撮像画像に対してホワイトバランス調節を行う。この投射時における撮像画像のホワイトバランス調節では、撮影シーンの種類がどの状態に設定されているかに関わらず、投射像の撮影用に予め定められた所定の色変換法則に基づいて、カメラモジュール7において取得された撮像画像の色合いを調節する。なお、ここで述べた所定の色変換法則については後で説明する。   Further, when the projection image generated by the projector module 6 is captured by the camera module 7, the white balance adjustment of the captured image as described above is automatically executed. That is, when a projection image is generated using the projector module 6, a captured image is automatically acquired by the camera module 7, and white balance adjustment is performed on the captured image. In the white balance adjustment of the captured image at the time of projection, the camera module 7 is based on a predetermined color conversion law predetermined for shooting the projected image, regardless of the state of the type of shooting scene. The hue of the captured image acquired in step is adjusted. The predetermined color conversion law described here will be described later.

上記のようにして投射時における撮像画像のホワイトバランス調節を行う場合、プロジェクタモジュール6のLED光源63は初めに、予め設定された所定の色合いに調節した光を出力する。このときの投射像をカメラモジュール7において撮影し、投射時における撮像画像のホワイトバランス調節を行った後に、そのホワイトバランス調節後の撮像画像に基づいて、前述したようなキャリブレーション動作を実行する。キャリブレーション動作において既に説明した投射像のホワイトバランス調節が行われることにより、LED光源63の発光色が上記の所定の色合いから変化して、投射像の色合いが調節される。   When adjusting the white balance of the captured image at the time of projection as described above, the LED light source 63 of the projector module 6 first outputs light adjusted to a predetermined color set in advance. The projection image at this time is taken by the camera module 7, and after adjusting the white balance of the captured image at the time of projection, the calibration operation as described above is executed based on the captured image after the white balance adjustment. By performing the white balance adjustment of the projection image already described in the calibration operation, the light emission color of the LED light source 63 is changed from the predetermined hue, and the hue of the projection image is adjusted.

ここでプロジェクタモジュール6のLED光源63は、発光時の色合い特性に個体差があり、上記のように予め設定された所定の色合いに調節した光を出力しても、その出力光の実際の色合いは個体ごとに微妙に異なる。また、プロジェクタ付き携帯電話機10として仕様の異なる複数の機種が存在する場合は、機種ごとに異なる仕様の光源がLED光源63として用いられる場合がある。このような場合にも発光時の色合い特性が異なるため、出力光の色合いに差が生じる。   Here, the LED light source 63 of the projector module 6 has individual differences in the hue characteristics at the time of light emission, and even if the light adjusted to the predetermined hue set in advance as described above is output, the actual hue of the output light is Is slightly different for each individual. When there are a plurality of models having different specifications as the projector-equipped mobile phone 10, a light source having different specifications for each model may be used as the LED light source 63. Even in such a case, since the hue characteristics at the time of light emission are different, a difference occurs in the hue of output light.

そのため、本実施形態のプロジェクタ付き携帯電話機10では、投射時における撮像画像のホワイトバランス調節を、LED光源63の色合い特性に応じて予め定められた所定の色変換法則に基づいて実行する。この所定の色変換法則には、上記で説明したようなLED光源63における色合い特性の差が補正されるようなものが設定される。すなわち、個体や機種ごとにLED光源63の色合い特性を予め測定しておき、その測定結果に基づいて、出力される光の色合いの差を打ち消すような色変換法則をプロジェクタ付き携帯電話機10の製造時にCPU101に記憶させておく。このような色変換法則を用いることにより、LED光源63における色合い特性の差を補正し、カメラモジュール7において投射像を適切に撮影できるようにすることができる。   Therefore, in the projector-equipped mobile phone 10 according to the present embodiment, white balance adjustment of the captured image at the time of projection is executed based on a predetermined color conversion law that is determined in advance according to the hue characteristics of the LED light source 63. The predetermined color conversion law is set so as to correct the difference in hue characteristics in the LED light source 63 as described above. That is, the color conversion law that cancels the difference in the hue of the output light based on the measurement result is previously measured for each individual or model, and the projector-equipped mobile phone 10 is manufactured. Sometimes stored in the CPU 101. By using such a color conversion law, it is possible to correct a difference in hue characteristics in the LED light source 63 so that the camera module 7 can appropriately capture a projected image.

なお、上記のような色変換法則をプロジェクタ付き携帯電話機10の製造後に設定できるようにしてもよい。たとえば、プロジェクタモジュール6を使用して画像を投射する前に、白色の投射面に対してLED光源63からの出力光自体、すなわち無色透明の画像を前述した所定の色合いで投射し、その投射像をカメラモジュール7において撮影する。こうして取得された撮像画像に基づいて、基準特性に対するLED光源63の色合い特性の差を検出し、その検出結果に応じて、投射時における撮像画像のホワイトバランス調節に使用する色変換法則を設定することができる。   The color conversion law as described above may be set after manufacturing the projector-equipped mobile phone 10. For example, before projecting an image using the projector module 6, the output light itself from the LED light source 63, that is, a colorless and transparent image is projected on the white projection surface in the predetermined color, and the projection image Is photographed by the camera module 7. Based on the captured image acquired in this way, a difference in the hue characteristic of the LED light source 63 with respect to the reference characteristic is detected, and a color conversion rule used for white balance adjustment of the captured image at the time of projection is set according to the detection result. be able to.

以上説明した第1の実施の形態によれば、次の作用効果を奏する。
(1)カメラモジュール7により撮影して取得された投射像の撮像画像に基づいて、プロジェクタモジュール6におけるキャリブレーション動作を投射像の投射中に繰り返し実行することとした。具体的には、投射像のフォーカス状態の調節や、投射像の明るさの調節や、投射像の色合いの調節や、投射像の台形歪みの補正を、投射像の投射中に繰り返し実行することとした。このようにしたので、プロジェクタ付き携帯電話機10を持っている手の向きが変化したりすることで投射中に投射像がぶれた場合にも、投射像の映り具合を適切に調節することができる。
According to 1st Embodiment described above, there exists the following effect.
(1) Based on the captured image of the projected image acquired by photographing with the camera module 7, the calibration operation in the projector module 6 is repeatedly executed during the projection of the projected image. Specifically, adjustment of the focus state of the projected image, adjustment of the brightness of the projected image, adjustment of the hue of the projected image, and correction of the keystone distortion of the projected image are repeatedly performed during projection of the projected image. It was. Since it did in this way, even when the direction of the hand holding the projector-equipped mobile phone 10 changes or the projection image is blurred during the projection, the projected image can be appropriately adjusted. .

(2)キャリブレーション動作、すなわち投射像のフォーカス状態の調節や、投射像の明るさの調節や、投射像の色合いの調節や、投射像の台形歪みの補正を、一定周期ごとに繰り返し実行することとすれば、投射中において投射像の映り具合を常時調節することができる。 (2) The calibration operation, that is, the adjustment of the focus state of the projection image, the adjustment of the brightness of the projection image, the adjustment of the hue of the projection image, and the correction of the trapezoidal distortion of the projection image are repeatedly executed at regular intervals. If this is the case, it is possible to constantly adjust the projection of the projected image during projection.

(3)キャリブレーション動作、すなわち投射像のフォーカス状態の調節や、投射像の明るさの調節や、投射像の色合いの調節や、投射像の台形歪みの補正を、操作キーへの操作入力が行われるごとに繰り返し実行することもできる。このようにすれば、操作キーへの操作入力によってプロジェクタ付き携帯電話機10の位置や向きが変化し、投射像がぶれてしまった場合でも、それを補正して見やすい投射像とすることができる。 (3) Calibration key operations such as adjusting the focus state of the projected image, adjusting the brightness of the projected image, adjusting the hue of the projected image, and correcting the trapezoidal distortion of the projected image, It can also be repeated every time it is done. In this way, even if the position and orientation of the projector-equipped mobile phone 10 changes due to an operation input to the operation keys and the projection image is blurred, it can be corrected to obtain an easy-to-see projection image.

(4)投射像の撮像画像中に含まれている所定の形状パターンに基づいて、キャリブレーション動作のうち投射像のフォーカス状態の調節と、投射像の明るさの調節と、投射像の色合いの調節とを行うこととした。具体的には、所定の形状パターンを有するコントラスト算出用画像に基づいて投射像のフォーカス状態を調節し、所定の形状パターンを有する明るさ検出用画像に基づいて投射像の明るさを調節し、所定の形状パターンを有する色合い検出用画像に基づいて投射像の色合いを調節することとした。このようにしたので、投射像のフォーカス状態、明るさおよび色合いを投射中において調節することができる。 (4) Based on a predetermined shape pattern included in the captured image of the projected image, the adjustment of the focus state of the projected image, the adjustment of the brightness of the projected image, and the hue of the projected image in the calibration operation It was decided to make adjustments. Specifically, the focus state of the projection image is adjusted based on the contrast calculation image having a predetermined shape pattern, the brightness of the projection image is adjusted based on the brightness detection image having the predetermined shape pattern, The hue of the projected image is adjusted based on the hue detection image having a predetermined shape pattern. Since it did in this way, the focus state, brightness, and hue of a projection image can be adjusted during projection.

(5)また、投射像の撮像画像中に含まれている投射像の形状を特定するための所定の図形または記号に基づいて、キャリブレーション動作のうち投射像の台形歪みの補正を行うこととした。このようにしたので、投射中においても投射像の台形歪みを補正することができる。 (5) Further, based on a predetermined figure or symbol for specifying the shape of the projected image included in the captured image of the projected image, correcting the trapezoidal distortion of the projected image in the calibration operation; did. Since it did in this way, the trapezoid distortion of a projection image can be correct | amended even during a projection.

(6)所定の形状パターンを含む画像や、所定の図形または記号を含む画像を所定の短時間だけ投射するようにし、その画像の投射タイミングに同期して投射像を被写体として撮影することとすれば、投射像を見ている者に対してその形状パターンや図形または記号を気づかれにくくすることができる。 (6) An image including a predetermined shape pattern or an image including a predetermined figure or symbol is projected for a predetermined short time, and a projected image is taken as a subject in synchronization with the projection timing of the image. Thus, it is possible to make it difficult for a person who is looking at the projected image to notice the shape pattern, figure, or symbol.

(7)キャリブレーション動作、すなわち投射像のフォーカス状態の調節や、投射像の明るさの調節や、投射像の色合いの調節や、投射像の台形歪みの補正について、その頻度を設定することもできる。そして、3種類の頻度を設定可能とし、最も高い頻度が設定された場合はこれらのキャリブレーション動作を投射像の投射中に繰り返し実行し、中間の頻度が設定された場合はこれらのキャリブレーション動作を投射像の投射中に1回だけ実行し、最も低い頻度が設定された場合はこれらのキャリブレーション動作を行わないようにすることができる。このようにすれば、上記のようなキャリブレーション動作が不要である場合に電力消費を抑えることができる。 (7) The frequency of the calibration operation, that is, the adjustment of the focus state of the projection image, the adjustment of the brightness of the projection image, the adjustment of the hue of the projection image, and the correction of the keystone distortion of the projection image may be set. it can. Three types of frequencies can be set. When the highest frequency is set, these calibration operations are repeatedly executed during projection of the projected image, and when an intermediate frequency is set, these calibration operations are performed. Is executed only once during the projection of the projected image, and when the lowest frequency is set, these calibration operations are not performed. In this way, power consumption can be suppressed when the calibration operation as described above is unnecessary.

(8)静止画像が投射されているときには、その投射像を撮影して取得された撮像画像に基づいて、投射像のフォーカス状態を調節することもできる。このようにしても、投射像のフォーカス状態を投射中において調節することができる。 (8) When a still image is projected, the focus state of the projected image can be adjusted based on the captured image obtained by capturing the projected image. In this way, the focus state of the projected image can be adjusted during projection.

(9)さらに上記の場合において、動画像が投射されているときには、所定の形状パターンを有するコントラスト算出用画像を含む画像を投射することもできる。このようにすれば、動画像を投射中のときにも投射像のフォーカス状態を投射中において調節することができる。 (9) Further, in the above case, when a moving image is projected, an image including a contrast calculation image having a predetermined shape pattern can be projected. In this way, the focus state of the projected image can be adjusted during projection even when a moving image is being projected.

(10)LED光源63からの発光量を変化させることにより投射像の明るさを調節することとしているので、簡単な処理で投射像の明るさを調節できる。さらにこのとき、所定の基準値よりも暗くする場合にはLED光源63からの発光量を低下させて投射像の明るさを調節し、所定の基準値よりも明るくする場合には液晶パネル62に表示する画像自体の明るさを変えることによって投射像の明るさを調節することもできる。このようにすれば、発光量を抑えて電力消費量や発熱量を低減することができる。 (10) Since the brightness of the projection image is adjusted by changing the amount of light emitted from the LED light source 63, the brightness of the projection image can be adjusted with a simple process. Further, at this time, when it becomes darker than the predetermined reference value, the light emission amount from the LED light source 63 is reduced to adjust the brightness of the projected image, and when it becomes brighter than the predetermined reference value, the liquid crystal panel 62 is adjusted. It is also possible to adjust the brightness of the projected image by changing the brightness of the displayed image itself. In this way, it is possible to reduce the light emission amount and reduce the power consumption and the heat generation amount.

(11)LED光源63からの発光量をRGB各発光色ごとに変化させることにより投射像の色合いを調節することとしているので、簡単な処理で投射像の色合いを調節できる。 (11) Since the hue of the projection image is adjusted by changing the light emission amount from the LED light source 63 for each of the RGB emission colors, the hue of the projection image can be adjusted with a simple process.

(12)操作部1と表示部2の折りたたみ角度θを検出し、その折りたたみ角度θに基づいて台形歪みを補正することとした。または、表示部2の回転角度φを検出し、その回転角度φに基づいて台形歪みを補正することとした。このようにしたので、カメラモジュール6を用いた投射像の撮像を行わなくても、簡単な制御で台形歪みを補正することができる。 (12) The folding angle θ between the operation unit 1 and the display unit 2 is detected, and the trapezoidal distortion is corrected based on the folding angle θ. Alternatively, the rotation angle φ of the display unit 2 is detected, and the trapezoidal distortion is corrected based on the rotation angle φ. Since it did in this way, even if it does not image the projection image using the camera module 6, trapezoid distortion can be correct | amended by simple control.

(13)撮像画像のピント調節において同焦点移動方式を用いた場合には、プロジェクタモジュール6によって異なる複数の投射焦点位置において投射像をそれぞれ生成し、その複数の投射像の撮像画像をカメラモジュール7によって取得する。このとき、その複数の投射像の撮像画像を、プロジェクタ付き携帯電話10に対する距離が投射像を生成した複数の投射焦点位置とそれぞれほぼ等しい複数の撮像焦点位置においてそれぞれ取得することとした。このようにしたので、カメラモジュール7において投射像を適切に撮影できるようにすることができる。 (13) When the confocal movement method is used in the focus adjustment of the captured image, the projector module 6 generates a projected image at a plurality of different projection focal positions, and the captured image of the projected image is the camera module 7. Get by. At this time, the captured images of the plurality of projection images are respectively acquired at a plurality of imaging focal positions where the distance to the projector-equipped mobile phone 10 is approximately equal to the plurality of projection focal positions at which the projection images are generated. Since it did in this way, a projection image can be appropriately imaged in the camera module 7.

(14)撮像画像のピント調節においてカメラ固定方式を用いた場合には、プロジェクタモジュール6によって異なる複数の投射焦点位置において投射像をそれぞれ生成し、その複数の投射像の撮像画像をカメラモジュール7によって取得する。このとき、その複数の投射像の撮像画像を、固定された1つの撮像焦点位置においてそれぞれ取得することとした。このようにしても、カメラモジュール7において投射像を適切に撮影できるようにすることができる。 (14) When the camera fixing method is used in the focus adjustment of the captured image, a projection image is generated at each of a plurality of different projection focal positions by the projector module 6, and the captured image of the plurality of projection images is generated by the camera module 7. get. At this time, the captured images of the plurality of projection images are respectively acquired at one fixed imaging focus position. Even in this case, the camera module 7 can appropriately capture a projected image.

(15)カメラ固定方式を用いた場合はさらに、1つの撮像焦点位置において取得された複数の投射像の撮像画像が所定の条件を満たす場合には、その複数の投射像の撮像画像に基づいて撮像焦点位置を調節した後、その調節後の撮像焦点位置において、プロジェクタモジュール6による複数の投射像の生成と、カメラモジュール7による複数の投射像の撮像画像の取得とを再び行うこととした。このようにしたので、最初に固定された撮像焦点位置が適切ではなかった場合でも、調節後の撮像焦点位置において投射像を適切に撮影できるようにすることができる。 (15) Further, when the camera fixing method is used, when the captured images of a plurality of projection images acquired at one imaging focus position satisfy a predetermined condition, the captured images of the plurality of projection images are used. After adjusting the imaging focus position, the projector module 6 generates a plurality of projection images and the camera module 7 acquires the plurality of projection images at the adjusted imaging focus position. Since it did in this way, even when the imaging focus position fixed initially is not appropriate, a projection image can be appropriately image | photographed in the imaging focus position after adjustment.

(16)また、カメラ固定方式を用いる場合において、取得される撮像画像のピントが近くから無限遠まで合っているパンフォーカス状態となるように、カメラモジュール7において撮像焦点位置を固定し、その撮像焦点位置において複数の投射像の撮像画像を取得することとすれば、投射焦点位置の調節処理を複数回繰り返す必要がなく、短時間で投射像を適切に撮影できるようにすることができる。 (16) When the camera fixing method is used, the imaging focus position is fixed in the camera module 7 so that the acquired captured image is in a pan-focus state where the focus is close to infinity, and the captured image is captured. If captured images of a plurality of projection images are acquired at the focal position, it is not necessary to repeat the projection focal position adjustment process a plurality of times, and the projection images can be appropriately captured in a short time.

(17)投射時における撮像画像のホワイトバランス調節において、投射像をカメラモジュール7により撮影する際、LED光源63の色合い特性に応じて予め定められた所定の色変換法則に基づいて、取得された撮像画像の色合いを調節することとした。このようにしたので、撮像画像のホワイトバランス調節、すなわち撮像画像の色合い調節を行う場合にも、カメラモジュール7において投射像を適切に撮影できるようにすることができる。 (17) In white balance adjustment of a captured image at the time of projection, when a projected image is captured by the camera module 7, it is acquired based on a predetermined color conversion law determined in advance according to the hue characteristics of the LED light source 63. It was decided to adjust the color of the captured image. Since it did in this way, also when performing the white balance adjustment of a captured image, ie, the hue adjustment of a captured image, it can be made to be able to image | photograph a projection image appropriately in the camera module 7.

−第2の実施の形態−
本発明の第2の実施の形態について説明する。この実施形態ではカメラモジュール7にズーム機能が付いており、撮影時にユーザの操作によって任意のズーム位置へと動かすことができる。これにより、ユーザは被写体を拡大または縮小して撮影することができる。なお、本実施形態の外観および構成は第1の実施の形態と同じであるため、ここでは説明を省略する。
-Second Embodiment-
A second embodiment of the present invention will be described. In this embodiment, the camera module 7 has a zoom function, and can be moved to an arbitrary zoom position by a user's operation during photographing. As a result, the user can shoot with the subject enlarged or reduced. In addition, since the external appearance and structure of this embodiment are the same as 1st Embodiment, description is abbreviate | omitted here.

本実施形態において、カメラモジュール7の撮影レンズ71はズーミング可能なズームレンズであり、カメラ制御CPU74の制御に基づいてレンズ駆動部73によって駆動されることでそのズーム位置が制御される。カメラ制御CPU74は、投射像をカメラモジュール7により撮影する際には、予め設定された所定のズーム位置となるように撮影レンズ71のズーム位置を制御する。すなわち、プロジェクタモジュール6を使用して投射像を生成する際には、自動的にカメラモジュール7において撮影レンズ71を所定のズーム位置へと制御して撮像画像を取得する。このときの所定のズーム位置は、カメラモジュール7における撮影範囲がプロジェクタモジュール6による投射像の投射範囲を少なくとも含むように設定される。なお、投射像の投射範囲は、プロジェクタ付き携帯電話機10と投射面の距離によって変動する。したがって、その変動量を考慮して撮影範囲の方が大きくなるように所定のズーム位置を設定しておくことが好ましい。   In the present embodiment, the photographing lens 71 of the camera module 7 is a zoom lens that can be zoomed, and the zoom position is controlled by being driven by the lens driving unit 73 based on the control of the camera control CPU 74. The camera control CPU 74 controls the zoom position of the photographing lens 71 so as to be a predetermined zoom position set in advance when the camera module 7 captures a projection image. That is, when generating a projection image using the projector module 6, the camera module 7 automatically controls the photographing lens 71 to a predetermined zoom position to acquire a captured image. The predetermined zoom position at this time is set so that the shooting range in the camera module 7 includes at least the projection range of the projected image by the projector module 6. The projection range of the projected image varies depending on the distance between the projector-equipped mobile phone 10 and the projection surface. Therefore, it is preferable to set a predetermined zoom position so that the photographing range becomes larger in consideration of the variation amount.

カメラモジュール7は、上記の所定のズーム位置としたときの撮影範囲により、プロジェクタモジュール6によって生成される投射像を撮像する。この撮像画像に基づいて、CPU101とプロジェクタモジュール6において前述したようなキャリブレーション動作を行い、投射像の映り具合を調節する。   The camera module 7 captures a projection image generated by the projector module 6 based on the photographing range when the predetermined zoom position is set. Based on this captured image, the CPU 101 and the projector module 6 perform the calibration operation as described above to adjust the projected image.

図12は、撮影範囲が投射範囲を含むようにカメラモジュール7のズーム位置を制御するときの様子を示した図である。(a)の平面図と(b)の正面図は、ズーム位置を制御する前の撮影範囲と投射範囲の関係を示した図である。このときのカメラモジュール7による撮影範囲は、プロジェクタモジュール6による投射範囲よりも狭くなっている。このままでは投射像の全体を撮影することができないため、投射時にはズーム位置を制御して撮影範囲を拡大する。   FIG. 12 is a diagram illustrating a state when the zoom position of the camera module 7 is controlled so that the shooting range includes the projection range. The top view of (a) and the front view of (b) are the figures which showed the relationship between the imaging | photography range and projection range before controlling a zoom position. At this time, the shooting range by the camera module 7 is narrower than the projection range by the projector module 6. Since the entire projection image cannot be captured as it is, the zoom range is controlled during projection to expand the imaging range.

(c)の平面図と(d)の正面図は、所定のズーム位置へと制御した後の撮影範囲と投射範囲の関係を示した図である。このとき、(a)および(b)の状態よりもズーム位置を後退させることによりカメラモジュール7の撮影範囲を拡大して、その撮影範囲がプロジェクタモジュール6による投射範囲を含むように拡大する。このようにしてズーム位置を制御する。なお、ズーム位置が前述の所定のズーム位置よりも撮影範囲が拡大する側にあった場合には、上記と同様に所定のズーム位置となるように制御してもよいし、そのままズーム位置を変えないこととしてもよい。   The plan view of (c) and the front view of (d) are diagrams showing the relationship between the shooting range and the projection range after control to a predetermined zoom position. At this time, the shooting range of the camera module 7 is expanded by retracting the zoom position from the states of (a) and (b), and the shooting range is expanded to include the projection range of the projector module 6. In this way, the zoom position is controlled. If the zoom position is closer to the shooting range than the predetermined zoom position, the zoom position may be controlled to be the same as described above, or the zoom position may be changed as it is. It's okay to not

以上説明した第2の実施の形態によれば、投射像をカメラモジュール7により撮影する際、カメラ制御CPU74によって、カメラモジュール7における撮影範囲が投射像の投射範囲を少なくとも含むように予め設定された所定のズーム位置に、カメラモジュール7のズーム位置を制御することとした。このようにしたので、カメラモジュール7にズーム機構が付いている場合でも投射像を適切に撮影できるようにすることができる。   According to the second embodiment described above, when the projection image is captured by the camera module 7, the camera control CPU 74 presets the imaging range in the camera module 7 so as to include at least the projection range of the projection image. The zoom position of the camera module 7 is controlled to a predetermined zoom position. Since it did in this way, even when the camera module 7 is equipped with a zoom mechanism, a projected image can be appropriately captured.

なお、上記の第1および第2の実施の形態において、投射像をカメラモジュール7によって撮影する前のカメラモジュール7における各種の設定状態をCPU101において記憶し、プロジェクタモジュール6による投射像の生成を止めた後、またはキャリブレーション動作の実行を止めた後に、その記憶された状態へと各種の設定状態を戻すこととしてもよい。ここでいう各種の設定状態には、第1の実施の形態では撮像焦点位置の状態や、撮像画像のホワイトバランス調節時に用いられる色変換法則の状態が該当し、第2の実施形態ではズーム位置の状態が該当する。なおこの場合において、投射像をカメラモジュール7により撮影する場合とそうでない場合とで、撮像画像のホワイトバランス調節時に用いられる色変換法則が異なることは言うまでもない。   In the first and second embodiments, the CPU 101 stores various setting states in the camera module 7 before the projection image is captured by the camera module 7, and stops the generation of the projection image by the projector module 6. After stopping the execution of the calibration operation, various setting states may be returned to the stored state. The various setting states referred to here include the state of the imaging focus position in the first embodiment and the state of the color conversion law used when adjusting the white balance of the captured image, and the zoom position in the second embodiment. This is the case. In this case, it goes without saying that the color conversion rule used when adjusting the white balance of the captured image differs depending on whether the projected image is captured by the camera module 7 or not.

−第3の実施の形態−
本発明の第3の実施の形態について説明する。図13は、本実施形態によるプロジェクタ付き携帯電話機10Aの外観図である。(a)と(b)は側面図、(c)は背面図を表している。このプロジェクタ付き携帯電話機10Aは、第1の実施の形態と同じ操作部1と、表示部2Aによって構成されている。表示部2Aは、図に示す位置にプロジェクタモジュール6とカメラモジュール7が配設されており、図1のサブ液晶表示器5は有していない。これ以外の点については、第1の実施の形態における表示部2と同一である。
-Third embodiment-
A third embodiment of the present invention will be described. FIG. 13 is an external view of the projector-equipped mobile phone 10A according to the present embodiment. (A) and (b) are side views, and (c) is a rear view. This projector-equipped cellular phone 10A includes the same operation unit 1 and display unit 2A as in the first embodiment. The display unit 2A is provided with the projector module 6 and the camera module 7 at the positions shown in the figure, and does not have the sub liquid crystal display 5 of FIG. About points other than this, it is the same as the display part 2 in 1st Embodiment.

カメラモジュール7は、表示部2Aのカメラ取付機構部2Bに配設されている。このカメラ取付機構部2Bは、カメラモジュール6の撮像方向を変化させるために回転可能な機構を有している。そのため、カメラモジュール7の撮像方向とプロジェクタモジュール6の投射方向は、(b)に示すよう同一方向である場合と、(a)に示すように同一方向でない場合とがある。(a)のように一致しない場合にプロジェクタモジュール6によって画像を投射すると、その投射像をカメラモジュール7において撮像することができないため、前述したようなキャリブレーション動作を実行できない。   The camera module 7 is disposed in the camera mounting mechanism 2B of the display unit 2A. The camera mounting mechanism 2B has a mechanism that can rotate to change the imaging direction of the camera module 6. Therefore, the imaging direction of the camera module 7 and the projection direction of the projector module 6 may be the same direction as shown in (b) or may not be the same direction as shown in (a). When an image is projected by the projector module 6 when they do not match as in (a), the projection image cannot be picked up by the camera module 7, and thus the calibration operation as described above cannot be executed.

そのため本実施形態では、カメラ取付機構部2Bの回転角度を検出するための回転角度検出部(不図示)を表示部2Aに備えるようにし、その回転角度によってカメラモジュール7の撮像方向を判断する。そして、カメラモジュール7の撮像方向とプロジェクタモジュール6の投射方向が同一方向であるか否かをCPU101において判定し、同一方向であると判定された場合にのみ、CPU101においてプロジェクタモジュール6の動作を許可する。   Therefore, in the present embodiment, the display unit 2A is provided with a rotation angle detection unit (not shown) for detecting the rotation angle of the camera attachment mechanism unit 2B, and the imaging direction of the camera module 7 is determined based on the rotation angle. Then, the CPU 101 determines whether or not the imaging direction of the camera module 7 and the projection direction of the projector module 6 are the same direction, and the CPU 101 permits the operation of the projector module 6 only when it is determined that they are the same direction. To do.

上記の判定の結果、撮像方向と投射方向が同一方向でないと判定された場合には、CPU101においてプロジェクタモジュール6の動作を禁止するとともに、カメラモジュール7の撮像方向を変更するようユーザに促すための警告を発する。この警告は、警告メッセージとしてメイン液晶表示器4に表示したり、あるいはスピーカー111から警告音として出力したりすることができる。なお、上記のようなプロジェクタモジュール6の動作の許可または禁止の制御と、警告音の出力とは、どちらか一方のみを実行するようにしてもよい。   As a result of the above determination, when it is determined that the imaging direction and the projection direction are not the same direction, the CPU 101 prohibits the operation of the projector module 6 and prompts the user to change the imaging direction of the camera module 7. Issue a warning. This warning can be displayed on the main liquid crystal display 4 as a warning message, or can be output as a warning sound from the speaker 111. Note that only one of the control for permitting or prohibiting the operation of the projector module 6 and the output of the warning sound may be executed.

以上説明した第3の実施の形態によれば、次の作用効果を奏する。
(1)プロジェクタモジュール6の投射方向とカメラモジュール7の撮像方向が同一方向であるか否かを判定し、同一方向ではないと判定された場合には警告を発することとしたので、カメラモジュール7の撮像方向が可変な場合でも投射像を適切に撮影できるようにすることができる。
According to the third embodiment described above, the following operational effects are obtained.
(1) It is determined whether or not the projection direction of the projector module 6 and the imaging direction of the camera module 7 are the same direction, and if it is determined that they are not the same direction, a warning is issued. Even when the imaging direction is variable, it is possible to appropriately capture a projected image.

(2)また、プロジェクタモジュール6の投射方向とカメラモジュール7の撮像方向が同一方向であると判定された場合にのみ、プロジェクタモジュール6の動作を許可することとした。このようにしても、カメラモジュール7の撮像方向が可変な場合に投射像を適切に撮影できるようにすることができる。 (2) The operation of the projector module 6 is permitted only when it is determined that the projection direction of the projector module 6 and the imaging direction of the camera module 7 are the same direction. Even in this case, it is possible to appropriately capture a projected image when the imaging direction of the camera module 7 is variable.

なお、上記の各実施の形態では、プロジェクタ機能が携帯電話機に組み込まれたプロジェクタ付き携帯電話機を例に説明した。しかし、上記に説明したような動作を行うプロジェクタ装置であれば、携帯電話機に組み込まれたものに限らず、プロジェクタ機能とカメラ機能を有する小型の携帯型電子機器であればどのようなものでもよい。あるいは、デジタルスチルカメラなどの電子式カメラにプロジェクタ機能を組み込み、上記のような動作を実行させるようにしてもよい。   In each of the above embodiments, the projector-equipped mobile phone in which the projector function is incorporated in the mobile phone has been described as an example. However, as long as the projector device performs the operation as described above, the projector device is not limited to the one built in the mobile phone, and may be any small portable electronic device having a projector function and a camera function. . Alternatively, a projector function may be incorporated in an electronic camera such as a digital still camera to execute the above operation.

上記の各実施の形態において説明した内容はあくまで一例であって、本発明はこの内容に限定されるものではない。本発明の技術的思想の範囲内で考えられるその他の態様も、本発明の範囲内に含まれる。   The contents described in the above embodiments are merely examples, and the present invention is not limited to these contents. Other embodiments conceivable within the scope of the technical idea of the present invention are also included in the scope of the present invention.

本発明の一実施形態によるプロジェクタ付き携帯電話機の外観図である。1 is an external view of a projector-equipped mobile phone according to an embodiment of the present invention. プロジェクタ付き携帯電話機のブロック図である。It is a block diagram of a mobile phone with a projector. プロジェクタモジュールの断面図である。It is sectional drawing of a projector module. 投射対象画像にコントラスト算出用画像を重畳した様子を示す図である。It is a figure which shows a mode that the image for a contrast calculation was superimposed on the projection target image. コントラスト算出用画像の重畳タイミングを示すタイミングチャートである。It is a timing chart which shows the superimposition timing of the image for contrast calculation. 投射対象画像に明るさ検出用画像を重畳した様子を示す図である。It is a figure which shows a mode that the image for brightness detection was superimposed on the projection target image. 投射対象画像に形状特定用図形を重畳した様子を示す図である。It is a figure which shows a mode that the figure for shape specification was superimposed on the projection target image. 折りたたみ角度θと台形歪みとの関係を示した図である。It is the figure which showed the relationship between folding angle (theta) and trapezoid distortion. 回転角度φと台形歪みとの関係を示した図である。It is the figure which showed the relationship between rotation angle (phi) and trapezoid distortion. 同焦点移動方式を用いて撮像画像のピント調節と投射像のフォーカス状態の調節を同時に行う様子を示した図である。It is the figure which showed a mode that the focus adjustment of a captured image and the adjustment of the focus state of a projection image are performed simultaneously using the same focus movement system. カメラ固定方式を用いて撮像画像のピント調節と投射像のフォーカス状態の調節を別々に行う様子を示した図である。It is the figure which showed a mode that the focus adjustment of a captured image and the adjustment of the focus state of a projection image are performed separately using a camera fixing system. 撮影範囲が投射範囲を含むようにズーム位置を制御するときの様子を示した図である。It is the figure which showed a mode when controlling a zoom position so that an imaging | photography range may include a projection range. 本発明の他の実施形態によるプロジェクタ付き携帯電話機の外観図である。It is an external view of the mobile phone with a projector by other embodiment of this invention.

符号の説明Explanation of symbols

1:操作部 2:表示部
3:折りたたみヒンジ部 4:メイン液晶表示器
5:サブ液晶表示器 6:プロジェクタモジュール
7:カメラモジュール 10:プロジェクタ付き携帯電話機
61:投影レンズ 62:液晶パネル
63:LED光源 64:LED駆動部
65:液晶駆動部 66:レンズ駆動部
71:撮影レンズ 72:イメージセンサ
73:レンズ駆動部 74:カメラ制御CPU
101:CPU 102:メモリ
103:近距離通信部 104:メモリカード
105:マイク 106:外部インターフェイス
107:電源 108:通信制御部
109:アンテナ 110:操作キー群
111:スピーカー 112:開閉角度センサ
1: Operation unit 2: Display unit 3: Folding hinge unit 4: Main liquid crystal display unit 5: Sub liquid crystal display unit 6: Projector module 7: Camera module 10: Mobile phone with projector 61: Projection lens 62: Liquid crystal panel 63: LED Light source 64: LED drive unit 65: Liquid crystal drive unit 66: Lens drive unit 71: Shooting lens 72: Image sensor 73: Lens drive unit 74: Camera control CPU
101: CPU 102: Memory 103: Short-range communication unit 104: Memory card 105: Microphone 106: External interface 107: Power supply 108: Communication control unit 109: Antenna 110: Operation key group 111: Speaker 112: Opening / closing angle sensor

Claims (6)

複数の色の光を発光する光源を有し、その光源から発せられる各色の光を合成した光を用いて画像を投射面に投射してその画像の投射像を生成する投射手段と、
前記投射手段により生成された前記投射像の撮像画像を取得する撮像手段と、
ユーザからの操作入力を受け付けるための操作入力手段と、
前記操作入力手段への操作入力が行われるごとに、前記撮像手段により取得された前記投射像の撮像画像における色合いに基づいて、前記光源からの発光量をその発光色ごとに変化させることにより、前記投射像の色合いを繰り返し調節する色合い調節手段と、を備え、
前記操作入力手段は、画面操作用カーソルキーであることを特徴とするハンディタイプのプロジェクタ装置。
A light source that emits light of a plurality of colors, a projection unit that projects an image on a projection surface using light obtained by combining light of each color emitted from the light source, and generates a projected image of the image;
Imaging means for acquiring a captured image of the projection image generated by the projection means;
An operation input means for receiving an operation input from a user;
By changing the amount of light emitted from the light source for each emission color based on the hue in the captured image of the projection image acquired by the imaging unit each time an operation input to the operation input unit is performed , A hue adjusting means for repeatedly adjusting the hue of the projected image,
The handy type projector apparatus , wherein the operation input means is a cursor key for screen operation .
複数の色の光を発光する光源を有し、その光源から発せられる各色の光を合成した光を用いて画像を投射面に投射してその画像の投射像を生成する投射手段と、
前記投射手段により生成された前記投射像の撮像画像を取得する撮像手段と、
ユーザからの操作入力を受け付けるための操作入力手段と、
前記操作入力手段への操作入力が行われるごとに、前記撮像手段により取得された前記投射像の撮像画像における色合いに基づいて、前記光源からの発光量をその発光色ごとに変化させることにより、前記投射像の色合いを繰り返し調節する色合い調節手段と、
外部の無線通信設備を介して他の端末との通信を行うための無線通信手段と、を備え、
前記操作入力手段は、前記通信を開始または終了するための操作キーであることを特徴とするハンディタイプのプロジェクタ装置。
A light source that emits light of a plurality of colors, a projection unit that projects an image on a projection surface using light obtained by combining light of each color emitted from the light source, and generates a projected image of the image;
Imaging means for acquiring a captured image of the projection image generated by the projection means;
An operation input means for receiving an operation input from a user;
By changing the amount of light emitted from the light source for each emission color based on the hue in the captured image of the projection image acquired by the imaging unit each time an operation input to the operation input unit is performed, Hue adjustment means for repeatedly adjusting the hue of the projected image;
Wireless communication means for communicating with other terminals via an external wireless communication facility,
The handy type projector apparatus , wherein the operation input means is an operation key for starting or ending the communication .
請求項1または2のプロジェクタ装置において、
前記投射手段により投射される前記画像は、投射対象として選択された画像に、色合い検出用画像が重畳された画像であり、
前記色合い調節手段は、前記投射像の撮像画像における前記色合い検出用画像の色合いに基づいて、前記投射像の色合いを調節することを特徴とするハンディタイプのプロジェクタ装置。
In the projector apparatus of Claim 1 or 2,
The image projected by the projection means is an image in which a color detection image is superimposed on an image selected as a projection target,
The handy-type projector device, wherein the hue adjustment unit adjusts the hue of the projection image based on the hue of the hue detection image in the captured image of the projection image.
請求項1〜3のいずれかのプロジェクタ装置において、
前記撮像手段は、ズームレンズと、前記ズームレンズを駆動して前記ズームレンズの位置を制御するズームレンズ駆動部とを備えており、
前記ズームレンズ駆動部は、撮影範囲が前記投射像の投射範囲を少なくとも含むように前記ズームレンズの位置を制御することを特徴とするハンディタイプのプロジェクタ装置。
In the projector apparatus in any one of Claims 1-3,
The imaging means includes a zoom lens, and a zoom lens driving unit that drives the zoom lens to control the position of the zoom lens,
The handy type projector apparatus, wherein the zoom lens driving unit controls the position of the zoom lens so that a photographing range includes at least a projection range of the projected image.
請求項1〜4のいずれか一項に記載のハンディタイプのプロジェクタ装置を備えた携帯電話。A mobile phone comprising the handy type projector device according to any one of claims 1 to 4. 請求項1〜4のいずれか一項に記載のハンディタイプのプロジェクタ装置を備えたカメラ。The camera provided with the handy type projector apparatus as described in any one of Claims 1-4.
JP2004273429A 2004-09-21 2004-09-21 Projector device, mobile phone, camera Expired - Fee Related JP4631370B2 (en)

Priority Applications (8)

Application Number Priority Date Filing Date Title
JP2004273429A JP4631370B2 (en) 2004-09-21 2004-09-21 Projector device, mobile phone, camera
CN201010551743XA CN102006346A (en) 2004-09-21 2005-09-12 Projector device
US11/660,498 US20080259289A1 (en) 2004-09-21 2005-09-12 Projector Device, Portable Telephone and Camera
CN200580027868XA CN101006721B (en) 2004-09-21 2005-09-12 Projector device
PCT/JP2005/016742 WO2006033255A1 (en) 2004-09-21 2005-09-12 Projector device, mobile telephone, and camera
AT05782394T ATE532330T1 (en) 2004-09-21 2005-09-12 PROJECTOR SETUP, CELL PHONE AND CAMERA
EP05782394A EP1793600B1 (en) 2004-09-21 2005-09-12 Projector device, mobile telephone, and camera
US12/958,289 US8123363B2 (en) 2004-09-21 2010-12-01 Projector device, portable telephone and camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004273429A JP4631370B2 (en) 2004-09-21 2004-09-21 Projector device, mobile phone, camera

Publications (2)

Publication Number Publication Date
JP2006093822A JP2006093822A (en) 2006-04-06
JP4631370B2 true JP4631370B2 (en) 2011-02-16

Family

ID=36234414

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004273429A Expired - Fee Related JP4631370B2 (en) 2004-09-21 2004-09-21 Projector device, mobile phone, camera

Country Status (1)

Country Link
JP (1) JP4631370B2 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5298425B2 (en) * 2006-12-12 2013-09-25 株式会社ニコン Projector and camera
JP5023724B2 (en) * 2007-02-06 2012-09-12 株式会社ニコン Projector and camera
JP5082546B2 (en) * 2007-03-30 2012-11-28 株式会社ニコン Projector device
US7881605B2 (en) 2007-03-02 2011-02-01 Nikon Corporation Camera with built-in projector and projector device
JP2008271423A (en) * 2007-04-24 2008-11-06 Sharp Corp Electronic apparatus
JP5326352B2 (en) 2008-05-13 2013-10-30 船井電機株式会社 Image display device
KR101531506B1 (en) * 2008-10-21 2015-06-25 엘지전자 주식회사 Mobile terminal and method for controlling display thereof
JP2010191402A (en) 2009-01-26 2010-09-02 Toshiba Corp Projector, image display method, and mobile telephone
KR101185297B1 (en) 2010-02-01 2012-09-21 삼성전자주식회사 Projector
JP5845565B2 (en) * 2010-10-28 2016-01-20 セイコーエプソン株式会社 Projector and projector control method
JP5755531B2 (en) * 2011-08-24 2015-07-29 太平洋工業株式会社 Rotation detection device and fishing reel
JP6464834B2 (en) * 2015-03-05 2019-02-06 セイコーエプソン株式会社 Display device and display method
CN109798841B (en) * 2019-03-05 2023-09-22 盎锐(上海)信息科技有限公司 Calibration system and method for camera and projector

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000150157A (en) * 1998-09-02 2000-05-30 Seiko Epson Corp Light source and display device
JP2001024926A (en) * 1999-07-09 2001-01-26 C Media:Kk Portable camera and pictorial communication method
JP2002261889A (en) * 2001-02-27 2002-09-13 Denso Corp Portable terminal
JP2003015218A (en) * 2001-07-03 2003-01-15 Ricoh Co Ltd Projection display device
JP2003066369A (en) * 2001-08-28 2003-03-05 Canon Inc Image display device, controlling method for image display device and image processing system
JP2003323610A (en) * 2002-03-01 2003-11-14 Nec Corp Color correcting method and device, for projector
JP2004012876A (en) * 2002-06-07 2004-01-15 Toshiba Corp Projection display device
JP2004033334A (en) * 2002-07-01 2004-02-05 Pentax Corp Electronic endoscope

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0670328A (en) * 1991-09-04 1994-03-11 Y K Kikaku:Kk Automatic convergence correction system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000150157A (en) * 1998-09-02 2000-05-30 Seiko Epson Corp Light source and display device
JP2001024926A (en) * 1999-07-09 2001-01-26 C Media:Kk Portable camera and pictorial communication method
JP2002261889A (en) * 2001-02-27 2002-09-13 Denso Corp Portable terminal
JP2003015218A (en) * 2001-07-03 2003-01-15 Ricoh Co Ltd Projection display device
JP2003066369A (en) * 2001-08-28 2003-03-05 Canon Inc Image display device, controlling method for image display device and image processing system
JP2003323610A (en) * 2002-03-01 2003-11-14 Nec Corp Color correcting method and device, for projector
JP2004012876A (en) * 2002-06-07 2004-01-15 Toshiba Corp Projection display device
JP2004033334A (en) * 2002-07-01 2004-02-05 Pentax Corp Electronic endoscope

Also Published As

Publication number Publication date
JP2006093822A (en) 2006-04-06

Similar Documents

Publication Publication Date Title
US8123363B2 (en) Projector device, portable telephone and camera
US8159594B2 (en) Electronic device
JP4823970B2 (en) Image editing device
EP1813982B1 (en) Projector device and portable telephone
CN101006721B (en) Projector device
KR101209100B1 (en) projection device
JP4631370B2 (en) Projector device, mobile phone, camera
TW201515466A (en) Control device, control method, and electronic device
JP2013526099A (en) Imaging device for taking self-portrait images
JP2005269562A (en) Photographing apparatus
KR101252623B1 (en) Display device and portable terminal device
EP3068126B1 (en) Imaging apparatus, control method and program
JP2006217074A (en) Imaging device and its program
JP4834973B2 (en) Projector device, mobile phone, camera
JP4904678B2 (en) Projector system, mobile phone, camera
JP2007127768A (en) Imaging apparatus
JP4655563B2 (en) Projector device, mobile phone, camera
JP4655565B2 (en) Projector device, mobile phone, camera
JP4655564B2 (en) Projector device, mobile phone, camera
JP2005005791A (en) Electronic camera
JP2019009551A (en) Projection apparatus, control method of the same, and program
JP2004343169A (en) Imaging device
JP2006217466A (en) Photographing device and photographing system
JP2015126462A (en) Projection apparatus
JP2010118926A (en) Imaging device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070906

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100427

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100624

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20100624

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100727

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100922

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: 20101019

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101101

R150 Certificate of patent or registration of utility model

Ref document number: 4631370

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20131126

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20131126

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees