JP2004253898A - Portable electronic apparatus - Google Patents

Portable electronic apparatus Download PDF

Info

Publication number
JP2004253898A
JP2004253898A JP2003039857A JP2003039857A JP2004253898A JP 2004253898 A JP2004253898 A JP 2004253898A JP 2003039857 A JP2003039857 A JP 2003039857A JP 2003039857 A JP2003039857 A JP 2003039857A JP 2004253898 A JP2004253898 A JP 2004253898A
Authority
JP
Japan
Prior art keywords
imaging
unit
hinge
housing
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003039857A
Other languages
Japanese (ja)
Inventor
Kiyoshi Yamashita
潔 山下
Hiroshi Takahashi
弘 高橋
Takeshi Kakita
剛 垣田
Yuichi Shin
勇一 新
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2003039857A priority Critical patent/JP2004253898A/en
Publication of JP2004253898A publication Critical patent/JP2004253898A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a portable electronic apparatus capable of surely obtaining a sharp image in the case of imaging characters and a graphic or the like described and drawn on a paper or the like. <P>SOLUTION: The mobile phone terminal 1 provided with a cover 2 and an operation unit 3 hinged freely turnably by a hinge 4 extended in a prescribed direction and freely foldable with each other, and an imaging apparatus 10 extended along one of outer edges 2b of the cover 2 nearly orthogonal to the hinge 4 and whose imaging axis 10a is directed toward the cover 2; and is provided with an imaging section 8 freely turnable around a rotary shaft nearly in parallel with the hinge 4, is constituted so that the distance Dr between a prescribed flat face F and the imaging section 8 is nearly equal to the focal distance Df of the imaging apparatus 10 when the mobile phone terminal 1 is placed on the flat face F in a way that the others of the outer edges 2b, 3b of the cover 2 and the operation unit 3 are directed downward. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、互いに折り畳み自在に構成された第1筐体及び第2筐体を備え、被写体を撮像する撮像部を有する携帯用電子機器に関するものである。
【0002】
【従来の技術】
現在、携帯電話端末等のような携帯用電子機器においては、ヒンジ部を介して互いに折り畳み自在の第1筐体及び第2筐体を備えたものが主流となりつつある(例えば、特許文献1参照。)。この種の携帯用電子機器として、所定方向に延びるヒンジ部の一端側に回動自在に連結され被写体を撮像する撮像部を備えたものが知られている。
【0003】
第1筐体と第2筐体とは、展開時に、筐体ロック機構により互いのなす角が設定展開角度となるようロックされる。撮像部は、第1筐体におけるヒンジ部と略直交する外側縁の一方に沿って延び、ヒンジ部と略平行な回動軸を中心として回動する。また、撮像部には、撮像軸が第1筐体側へと指向する撮像装置が内蔵されている。これにより、各筐体の展開時に、第1筐体に沿った状態から第1筐体から離隔する方向へと撮像部を回動させて、電子機器外部の被写体を撮像することができるようになっている。
【0004】
【特許文献1】
特開2002−171189号公報
【0005】
【発明が解決しようとする課題】
ところで、前記携帯用電子機器では、例えば紙面に記載された文字、図形等を撮像する際に、使用者等は、撮像軸の焦点距離と、撮像部及び紙面の距離とが一致するよう見当をつけて携帯用電子機器を移動させ、撮像することとなる。
しかしながら、使用者等の感覚に頼って携帯用電子機器の位置が決定されるので、撮像軸の焦点距離を、撮像部及び紙面の距離と一致させることが極めて困難であった。これにより、撮像装置の焦点が紙面とずれた位置で撮像してしまい、得られた画像の文字、図形等が不鮮明になるという問題点があった。また、携帯用電子機器を把持した状態であるので、手ブレ等によっても、文字、図形等が不鮮明となるおそれもある。
【0006】
本発明は、前記事情に鑑みてなされたものであり、その目的とするところは、紙面等に記載された文字、図形等を撮像する際に、確実に鮮明な画像を得ることができる携帯用電子機器を提供することにある。
【0007】
【課題を解決するための手段】
前記目的を達成するため、請求項1に記載の発明では、
所定方向へ延びるヒンジ部により回動自在に連結され、互いに折り畳み自在な第1筐体及び第2筐体と、
前記第1筐体におけるヒンジ部と略直交する外側縁の一方に沿って延び、撮像軸が第1筐体側へ指向する撮像装置が内蔵され、ヒンジ部と略平行な回動軸を中心として回動自在な撮像部と、を備えた携帯用電子機器において、
前記第1筐体及び第2筐体の外側縁の他方が下方となるように所定の平坦面に載置した際に、この平坦面と撮像部の距離と、撮像装置の焦点距離とが略一致するよう構成したことを特徴とする。
【0008】
また、請求項2に記載の発明では、請求項1に記載の携帯用電子機器において、
前記撮像部は、ヒンジ部の一端側に回動自在に連結されることを特徴とする。
【0009】
請求項1及び2に記載の発明によれば、第1筐体及び第2筐体の外側縁の他方が下方となるように所定の平坦面に載置した際に、この平坦面と撮像部の距離と、撮像装置の距離とが略一致するので、平坦面上の被写体を撮像装置の焦点距離で的確に撮像することができる。
すなわち、この平坦面が文字、図形等が記載された紙面であれば、紙面の文字、図形等の鮮明な画像を取得することができる。このとき、電子機器は、平坦面に載置されており、静止した状態であるので、撮像時にブレ等を生じることもない。
【0010】
【発明の実施の形態】
図1から図5は本発明の一実施形態を示すもので、図1(a)は蓋部及び操作部を展開した状態を示した正面図、図1(b)は蓋部及び操作部が折り畳まれた状態を示した背面図、図2はヒンジ部の正面断面図、図3は撮像装置の外観斜視図、図4は撮像装置の正面断面図、図5は蓋部及び操作部を展開して平坦面に載置した状態を示す携帯電話端末の外観図である。
【0011】
図1(a)に示すように、携帯用電子機器としての携帯電話端末1は、互いに折り畳み自在に構成された第1筐体としての蓋部2と、第2筐体としての操作部3とを有している。また、蓋部2と操作部3とはヒンジ部4を介して回動自在に接続されている。図1及び図2に示すように、ヒンジ部4は略円筒状に形成されており、ヒンジ部4内には、蓋部2及び操作部3を所定の設定展開角にてロックするヒンジロック機構5が配設されている。
【0012】
図1(b)に示すように、蓋部2と操作部3とは、互いに内面2a,3aを対向させた状態で折り畳まれる。蓋部2の内面2aには表示部6が配され、操作部3の内面3aには操作キー7が配される。これにより、蓋部2と操作部3とを展開した状態で、使用者等は、蓋部2の表示部6にて電子機器1の動作状態を認識するとともに、操作キー7による電子機器1の操作が可能となっている。
【0013】
ヒンジ部4は、略円筒状に形成され、内部に筐体ロック機構としてのヒンジロック機構5が配される。本実施形態においては、ヒンジ部4は、蓋部2と一体成形された第1円筒部4aと、操作部3と一体成形された第2円筒部4bとを有し、図1(a),(b)に示すように、各円筒部4a,4bが直列的に配されている。
【0014】
ヒンジロック機構5の一例を図2に示す。図2に示すように、ヒンジロック機構5は、第1円筒部4aと第2円筒部4bの一方側に設けらればね7aにより他方側へ付勢される第1円盤部材7bと、各円筒部4a,4bの他方側に設けられこの第1円盤部材7bと摺接する第2円盤部材7cとを有している。
【0015】
第1円盤部材7bの他方側の面には、径方向に所定の間隔をおいて突起7b1が形成され、第2円盤部材7cの一方の面には、径方向に所定の間隔をおいて凹部7c1が形成されている。そして、突起7b1が凹部7c1に嵌り込むことにより、各円筒部4a,4bがロックされ、蓋部2と操作部3とが所定の角度でロックされる。本実施形態においては、蓋部2と操作部3とが折り畳まれた展開角度が約0°の状態と、蓋部2と操作部3とがほぼ最大の展開角となる約160°の状態とで、蓋部2と操作部3とがロックされる。すなわち、本実施形態においては、設定展開角は約160°であり、ヒンジロック機構5により蓋部2と操作部3のなす角が約160°となるようにロックされる。
【0016】
また、この携帯電話端末1では、図1(a),(b)に示すように、ヒンジ部4の一端側に撮像部8が回動自在に接続される。この撮像部8は、蓋部2におけるヒンジ部4と略直交する外側縁2bの一方に沿って延びる。また、撮像部8は、略円筒形状を呈するケース体9と、このケース体9に内蔵される撮像装置10(図3参照)とを有している。撮像装置10の撮像軸10aは、図5に示すように、蓋部2側へ指向する。また、撮像装置10は、表示部6、操作キー7等とともに制御部(図示せず)に接続される。
【0017】
また、ヒンジ部4における第1円筒部4a及び第2円筒部4bと同様に、ヒンジ部4の第2円筒部4bとケース体9とを所定の角度で位置決めする撮像ロック機構(図示せず)が設けられている。この撮像ロック機構は、前述のヒンジロック機構5と同様の構成であるので、ここでは詳述しない。本実施形態においては、撮像部8が複数のロック角度にて位置決めされるようになっている。
【0018】
図3及び図4に示すように、撮像装置10は、一枚の基板PCの一方の面上に光を感じるセンサとなる撮像素子11と、この撮像素子11に集光させるための光学部材12と、この光学部材12に入射する光の量を調節する絞り板13と、撮像素子11を覆い隠す鏡枠14と、遮光性を有する遮光板15と、遮光板15に支持されるフィルタ16と、光学部材を押圧する押圧部材17と、光学部材12の位置決めを行うための位置決め電気部品18とを有している。以下、これらの撮像装置10の各構成要素について説明する。
【0019】
光学部材12は、透明なガラス又はプラスチック材料を素材とし、図4に示すように、管状の脚部12aと、この脚部12aに支持される凸レンズ形状のレンズ部12bとが一体的に形成されている。
また、光学部材12のレンズ部12aの上部には、遮光性のある素材からなり、凸レンズ部12aの絞り値(F値)を規定する第1の絞りとしての開口13aを有する絞り板13が接着剤Bにより固定されている。
【0020】
光学部材12の外側には、遮光性のある素材からなる外枠部材としての鏡枠14が配置されている。鏡枠14には、図3及び図4に示すように、角柱状の下部14aと、円筒状の上部14bとが設けられている。下部14aの下端部は、基板PC上に鏡枠14が取り付けられる際に、接着剤Bにより固着される。
【0021】
一方、鏡枠14の上部14bの上端には、遮光板15が接着剤Bにより取り付けられている。遮光板15は、その中央に第2の絞りとしての開口15aを有している。遮光板15の中央の開口15aの下方に、赤外線吸収特性を有する素材からなるフィルタ16が接着剤Bにより接合されている。
【0022】
そして、この遮光板15とフィルタ16とでカバー部材を構成する。このように、基板PCと鏡枠14とカバー部材とが密着し接合しているので、撮像装置10は、防塵、防湿の構造を有する。
【0023】
図4において、光学部材12と、遮光板15との間には、例えば、コイルばねなどの弾性部材により構成された押圧部材17が配置されている。遮光板15が鏡枠14に取り付けられることで、遮光板15が押圧部材17を押圧して、押圧部材17が弾性変形する。この押圧部材17は、光学部材12を図4中、下方に向かって所定の押圧力により押圧して、光学部材12を撮像素子11に付勢する。ここで、遮光板15から下方の撮像素子11に向かう力が加わった際、押圧部材17が弾性変形することにより、その力を吸収する緩衝作用が働くので、その力は直接撮像素子11には伝達されず、撮像素子11が破損することを防ぐ効果がある。
【0024】
撮像素子11は、CMOS型イメージセンサからなる。矩形薄板状の撮像素子11の下面は、基板PCの上面に取り付けられている。撮像素子11の上面中央には、画素が2次元的に配列された光電変換部12aが形成されている。その外側に処理部(図示しない)が形成されており、処理部の外縁近傍には、複数のパッド(図示しない)が配置されている。結線用端子であるパッドは、図3に示すように、ワイヤWを介して基板PCに接続されている。ワイヤWは、基板PC上の所定の回路に接続されている。
【0025】
本実施形態の携帯電話端末1は、以上のように構成された撮像装置10を備え、図5に示すように、ヒンジロック機構5により蓋部2と操作部3とをロックした状態で、蓋部2及び操作部3の外側縁2b,3bの他方が下方となるように、携帯電話端末1を所定の平坦面Fに載置した際に、この平坦面Fと撮像部8の距離Drと、撮像装置10の焦点距離Dfとが略一致するよう構成される。尚、本実施形態においては、焦点距離Dfは撮像装置10固有の値であり一定である。
【0026】
また、撮像ロック機構は、蓋部2及び操作部3の外側縁2b,3bの他方が下方となるように、携帯電話端末1を所定の平坦面Fに載置した際に、撮像軸10aが蓋部2及び操作部3の略中間を指向するよう撮像部8をロックする。本実施形態においては、蓋部2と操作部3はほぼ同じ大きさであるので、図5に示すように、設定展開角の略中央を指向する方向にロックするようになっている。
【0027】
以上のように構成された携帯電話端末1では、蓋部2及び操作部3の外側縁2b,3bの他方が下方となるように所定の平坦面Fに載置した際に、この平坦面Fと撮像部8の距離Drと、撮像装置10の焦点距離Dfとが略一致するので、平坦面F上の被写体を撮像装置10の焦点距離Dfで的確に撮像することができる。
【0028】
すなわち、この平坦面Fが文字、図形、二次元コード等が記載された紙面であれば、紙面の文字、図形、二次元コード等の鮮明な画像を取得することができる。このとき、携帯電話端末1は、平坦面Fに載置されており、静止した状態であるので、撮像時にブレ等を生じることもない。
【0029】
また、回動自在の撮像部8が、蓋部2及び操作部3の展開時に、蓋部2及び操作部3の略中央を指向するので、使用者等は紙面等の撮像部分の位置決めを容易に行うことができる。
【0030】
このように、本実施形態の携帯電話端末1によれば、紙面等に記載された文字、図形、二次元コード等を撮像する際に、撮像部8の焦点距離Dfと、撮像部8及び紙面等との距離Drを的確に略一致させることができる。これにより、撮像部8により紙面等に記載された文字、図形、二次元コード等の鮮明な画像を取得することができる。
【0031】
また、携帯電話端末1が平坦面F上にて静止した状態で撮像することとなるので、撮像時にブレ等を生ずることもなく、これによっても、鮮明な画像を取得することができる。
【0032】
尚、前記実施形態においては、携帯用電子機器として携帯電話端末1に本発明を適用したものを示したが、例えば、PDA、パーソナルコンピュータ等のような他の携帯用電子機器に本発明が適用可能なことは勿論である。
【0033】
また、前記実施形態においては、撮像部8の焦点距離Dfが一定のものを示したが、焦点距離Dfが多段階に変更可能なものであってもよい。この場合、例えば、マクロ撮影モード、通常撮影モード等に応じて焦点距離Dfが変化するのであれば、撮像部における最短の焦点距離と、平坦面Fと撮像部の距離とが略一致するようにするとよい。
【0034】
図6及び図7は本発明の変形例を示すもので、図6は携帯電話端末の概略ブロック図、図7は制御部の動作状態のフローチャートである。尚、この携帯電話端末は、前記実施形態のものと撮像装置及び制御部の構成を異にしており、他の構成は前記実施形態のものと同様である。以下、この携帯電話端末の撮像装置、制御部の構成及び動作について説明する。
【0035】
図6に示すように、携帯電話端末1は、制御部100、操作キー7、表示部6、アンテナを有する無線通信部101、記憶部102、撮像装置110、電源制御部103、送受話部104等を備えて構成され、各部はバス105により接続されている。
【0036】
尚、本実施形態における撮像装置110は、比較的焦点距離Dfが短く設定された近接撮影モードと、比較的焦点距離Dfが長く設定されたマクロ撮影モードと、の2つの撮影モードに変更可能に構成されている。撮像装置110は、通常は近接撮影モードとなっており、制御部100によって適宜にマクロ撮影モードへ移行するようになっている。本実施形態においては、近接撮影モードにおける焦点距離Dfと、蓋部2及び操作部3の外側縁2b,3bの他方が下方となるように携帯電話端末1を所定の平坦面Fに載置した際における平坦面Fと撮像部の距離Drと、が略一致するようになっている。
【0037】
制御部100は、CPU(Central Processing Unit)111a、揮発性の半導体メモリで構成されるRAM(Random Access Memory)111b、不揮発性の半導体メモリで構成されるROM(Read Only Memory)111c等から構成されている。
【0038】
ROM111cには、図示しない、携帯電話端末1の基本動作制御プログラム、通信処理プログラム、表示部6に表示するための表示用データ、撮像に関するパラメータデータ(自動撮像用のデフォルトの設定データ、プレビュー表示処理用のデフォルトの設定データ)等の他、撮像制御プログラムc1、コード認識プログラムc2、コード認識用データc3が記憶されている。ここで、コード認識用データc3は、画像データに情報コードとしての二次元コードが含まれているかを判断するためのコード類似性係数(Q)を設定する際の基準データである。
【0039】
CPU111aは、操作キー7から入力される各種指示又は無線通信部101から入力されるデータに従って、ROM111cに記憶されている各種プログラムの中から指定されたプログラムをRAM111bのワークエリアに展開し、この入力指示及び入力データにより上記プログラムに従って各種処理を実行する。そして、CPU111aは、その処理結果をRAM111bの所定の領域に格納するとともに、表示部6に表示させる。
【0040】
具体的に、CPU111aは、ROM111cに記憶される撮像制御プログラムc1を読み出して、後述する撮像制御処理を実行する。
撮像制御処理として、CPU111aは、操作キー7から入力される使用者の操作指示等に従って、撮像装置110を制御して、撮像させた撮像画像データをRAM111bに所定のメモリ等に格納した上で、フレームレート25fpsで、表示部6にプレビュー表示させる。
また、CPU111aは、コード認識手段として、コード認識プログラムc2に従って、撮像画像データに対して二次元コードである可能性のある二次元コード対象を認識するコード処理を実行する。具体的に、CPU111aは、5フレーム毎に、撮像画像データと、コード認識用データc3とを対照することにより、撮像画像データに二次元コードが含まれているか否かの判断を実行する。より具体的には、CPU111aは、類似性係数算出手段として、撮像画像データと、類似性係数算定用情報としてのコード認識用データc3とを対照することにより、二次元コード対象にコード類似性係数を算出し、このコード類似性係数の値に基づいて、二次元コードである可能性のある二次元コード対象(情報コード対象)や二次元コードを認識する。
【0041】
更に、CPU111aは、切換制御手段として、コード類似性係数が、コードを含んでいる可能性があるが、決定的でない数値であると判断した二次元コード対象がある場合、撮像装置110により近接撮影モードからマクロ撮影モードによる撮像処理を行うように切換制御処理する。
【0042】
また、CPU111aは、撮像画像データ中に二次元コードを認識した場合には、解読手段として、二次元コードのデコード処理するとともに、表示制御手段として、表示部6に表示させる。
また、CPU111aは、実行手段として、デコード処理を行った情報コードの情報に基づく動作を実行する。
【0043】
操作キー7は、テンキー、各種機能キー、通話モード及びカメラモードの切換えを行うモード切換キー等を備えており、撮像処理の実施指示の入力等に用いられる。
【0044】
表示部6は、LCD(Liquid Crystal Display)パネル等により構成され、制御部100から入力される表示データに基づいて画面表示を行う。また、表示部6は、撮像装置110によってプレビュー撮像された画像や、制御部100により復号(デコード)されたコード情報内容等を表示する。
【0045】
無線通信部101は、無線基地局(図示せず)との間で着信や発信等に係る無線信号の送受信を行うアンテナを備え、制御部100から入力される指示に従って、無線基地局との間で、例えば、IMT−2000準拠の通信方式(例えば、W−CDMAやcdma2000)に対応する携帯電話用の通信プロトコルを実行し、この通信方式で設定される通信チャネルにより、送受話音声の送受信やデータ通信を実行する。
【0046】
記憶部102は、制御部100により実行された処理結果のデータ等を記憶する。例えば、記憶部102は、撮像装置110により撮像された画像のデータ、無線通信部101を介して送受信したメールのデータ、通話履歴のデータ等を記憶する。
【0047】
撮像装置110は、制御部100の制御に基づいて、近接撮影モードと、マクロ撮影モードとによる撮像処理が実行可能に構成されている。本実施形態では、制御部100は、近接撮影モードにより取得された画像に二次元コード等が存在すると、二次元コードの認識に適したマクロ撮影モードへと移行するように制御する。
【0048】
電源制御部103は、例えば、リチウム電池、ニッケル電池、ニカド電池等の2次電池により構成され、電源が投入されると、制御部100の制御に応じて、プラス側の端子及びマイナス側の端子から、携帯電話端末1の各部を駆動する駆動回路に所定電圧の電源を供給する。
【0049】
送受話部104は、マイク、スピーカ、A/D変換部、及びD/A変換部(何れも図示せず)を有し、マイクから入力される使用者の送話音声をA/D変換処理して、その送話音声データをCPU111aに出力するとともに、CPU111aから入力される受話音声データや、着信音、操作確認音、シャッタ音等の音声データをD/A変換処理して、スピーカから出力する。
【0050】
以下、図7のフローチャートを参照して、携帯電話端末1における撮像制御処理について説明する。
【0051】
携帯電話端末1の使用者によって、操作キー7の所定のボタンが押圧されることにより、CPU111aは、撮像処理の指示の入力であると判断し、ROM111cに記憶されている撮像制御プログラムc1を読み出してRAM111bに展開し、該撮像制御プログラムc1に従って、撮像処理の制御を開始する。
このとき、使用者は、携帯電話端末1を平坦面Fに載置して、撮像装置110を平坦面F上の被写体に向けることにより、図5に示すような、被写体(二次元コードのようなもの)を撮像することとする。
【0052】
そして、CPU111aは、具体的には、RAM111bに格納されている画像データのフレームのカウント数を0(N=0)にリセットし(ステップS101)、近接撮影モードによる撮像処理の開始指示を撮像装置110に出力する。
【0053】
すると、撮像装置110は、近接撮影モードにおける撮像処理として、光学部材により集光され、撮像素子の光電変換部に結像された被写体の撮像画像データを順次、制御部100に出力する(ステップS102)。
【0054】
すると、制御部100のCPU111aは、撮像装置110より順次入力される撮像画像データを、RAM111bに格納するとともに、この撮像画像をフレームレート25fpsで表示部6に表示させるプレビュー表示処理を実行する(ステップS103)。また、CPU111aは、プレビュー表示処理の実行と平行して、撮像装置110から入力される画像のフレーム数をカウント(N=N+1)し(ステップS104)、フレーム数が「5」であるかを判断する(ステップS105)。
そして、CPU111aは、フレーム数が「5」であると判断した場合(ステップS105:Yes)には、ステップS106に移行し、フレーム数が5でないと判断した場合(ステップS105:No)には、ステップS102に移行し、以降の工程を繰り返す。
【0055】
次いで、ステップS106〜ステップS108において、CPU111aは、ROM111cに記憶されているコード認識プログラムc2を読み出してRAM111bに展開し、このコード認識プログラムc2に従って、コード認識処理の制御を開始する。具体的に、CPU111aは、フレーム数が「5」となったときの被写体の撮像画像データと、コード認識用データc3とを比較対照することにより、二次元コードの認識処理を実行する。
【0056】
ここで、認識処理の方法として、例えば、被写体の撮像画像データに二次元コードであることを示す所定の切り出しシンボルを検出することにより認識する方法、或いは、被写体の撮像画像データの濃度により認識する方法、二次元コードの所定のモザイク形状を認識する方法等があるが、これらに限定されるものではない。
【0057】
具体的に、CPU111aは、ステップS106において、撮像画像データと類似性係数算定情報としてのコード認識用データc3と比較することにより、該撮像画像データの二次元コードである可能性を判断するためのコード類似性係数(Q)を算出する。
【0058】
次いで、CPU111aは、算出されたコード類似性係数(Q)の値が、「0.5」以上であるか否かを判断し(ステップS107)、Qは「0.5」以上であると判断した場合(ステップS107:Yes)には、所定の二次元コードの可能性があると判断する。
一方、CPU111aは、算出されたコード類似性係数(Q)が0.5未満であると判断した場合(ステップS107:No)には、二次元コードである可能性が少ないと判断し、フレームのカウントを0にリセット設定した(ステップ109)上で、ステップS102に移行し、以降の工程であるプレビュー表示処理と5フレーム毎のコード認識処理を繰り返す。
このように、CPU111aは、5フレーム毎に、被写体の撮像画像データに対し、二次元コードの認識処理を実行する。従って、CPU111aの処理負荷が低減されることとなって、平行して実行する被写体の撮像画像データの取得処理及び該撮像画像データのプレビュー表示処理への影響を軽減することができる。
【0059】
ステップS108において、CPU111aは、コード類似性係数(Q)が、「1」であるか否かを判断し、「1」であると判断した場合(ステップS108:Yes)には、二次元コードであると判断してステップS110に移行する。
一方、CPU111aは、コード類似性係数(Q)が、「0.5」以上であるが「1」ではないと判断した場合(ステップS108:No)には、二次元コード対象(情報コード対象)であると認識する。そして、CPU111aは、撮像装置110にマクロ撮像を実行するようにマクロ撮影モード設定処理を実行し(ステップS111)、ステップS109に移行する。
そして以降の工程で、マクロ撮影モードにおける撮像処理として、CPU111aの制御により、撮像装置110の光学部材と撮像素子を用いて被写体の撮像画像データが取得され、表示部6にプレビュー表示される。また、CPU111aは、このマクロ撮影モードにおける撮像処理、プレビュー表示処理と平行して、マクロ撮影モードによる撮像画像データに対し、5フレーム毎のコード認識処理を実行する。このとき、マクロ撮影モードにおける撮像処理は、近接撮影モードにおける撮像処理に比べて、二次元コードの認識率が向上することとなり、近接撮影モードおいて二次元コードとしての可能性があるが確定ではないものとしての二次元コード対象が二次元コードとして認識される可能性が高くなる。これに伴って、被写体の撮像画像データにおける二次元コードの認識率が向上する。
【0060】
ステップS110において、CPU111aは、認識された二次元コードのデコード処理を実行し、その二次元コードのコード情報内容を表示部6に表示させる(ステップS112)。
ここで、表示部6に表示されるコード情報内容としては、例えば、URLアドレス、電子メールアドレス等の文字情報や、任意の画像情報等である。
尚、コード情報内容としての文字情報、画像情報等の表示部6に表示可能な内容の他、例えば、コード情報内容が音声情報である場合、送受話部104から放音処理を実行する構成であってもよい。
【0061】
次いで、CPU111aは、使用者による操作キー7の操作により、表示部6に表示されたコード情報内容に対する所定の処理の指示信号が入力されたか否かを判断し(ステップS113)、指示信号が入力されたと判断した場合(ステップS113:Yes)には、該指示に応じた処理を実行(ステップS114)してステップS115に移行する。
ここで、コード情報内容に対する所定の処理とは、例えば、コード情報内容がURLアドレスである場合には、該URLアドレスへの接続指示、コード情報内容が電子メールアドレスである場合には、該電子メールアドレス宛の電子メールの作成指示、コード情報内容が、電話番号、電子メールアドレス等である場合にはアドレス帳等への保存処理、その他、表示部6の表示画像の保存指示等であるが、これらに限定されるものではない。
【0062】
一方、CPU111aは、ステップS113において、使用者からの指示信号の入力がないと判断した場合(ステップS113:No)、ステップS115に移行する。
そして、ステップS115において、CPU111aは、使用者の操作キー7の操作により、撮像処理の終了指示が入力されたか否かを判断し、入力されたと判断した場合には、撮像装置110に撮像処理の終了指示を出力することにより、本撮像制御処理を終了する。
一方、CPU111aは、撮像処理の終了指示の入力がないと判断した場合(ステップS115:No)は、ステップS109に移行し、以降の工程を繰り返す。
【0063】
このように撮像制御処理を行うことにより、例えば、近接撮影モードによる撮像画像データのピントがぼけていたり、ノイズが多く含まれていることにより、二次元コードと明確に認識することができない場合であっても、その可能性がある場合には、二次元コードの認識に適したマクロ撮影モードによる撮像処理に自動的に切り換わるように撮像装置110が制御される。
【0064】
従って、使用者に、撮影モードの設定変更の手間を課すことなく、携帯電話端末1を平坦面Fに載置した際に、自動的に撮影モードをマクロ撮影モードに切り換えることができる。このとき、マクロ撮影モードの焦点距離Dfと、撮像部8と平坦面Fまでの距離とが略一致するので、鮮明な画像を取得することができ、二次元コードの認識精度を高めることができる。
【0065】
また、撮像装置110による被写体の撮像画像データの取得処理、及びその撮像画像データのプレビュー表示処理と平行して、該撮像画像データ中の所定の二次元コードデータの認識処理、及び二次元コードデータのデコード処理が自動的に実行される。従って、使用者は、例えば、名刺や雑誌等に付けられている二次元コードを認識、解読するために面倒な設定をしなくとも通常の撮像処理の場合と同操作をすることで、自動的に二次元コードの読取、解読を行えなえることとなるので、大変使い勝手が良い。
【0066】
また、近接撮影モードによる撮像画像データに二次元コードが含まれている可能性が少ない場合や、明確に二次元コードが認識できた場合には、撮影モードが切り換わらないので、効率的である。
【0067】
尚、この変形例の制御部100はあくまで一例であり、制御部の構成は本発明の目的を達成する範囲内で任意であるし、その他、具体的な細部構造等についても適宜に変更可能であることは勿論である。
【0068】
【発明の効果】
以上詳述したように本発明によれば、
紙面等に記載された文字、図形、二次元コード等を撮像する際に、撮像部の焦点距離と、撮像部及び紙面等との距離を的確に略一致させることができる。これにより、撮像部により紙面等に記載された文字、図形、二次元コードの鮮明な画像を取得することができる。
また、携帯用電子機器が平坦面上にて静止した状態で撮像することとなるので、撮像時にブレ等を生ずることもなく、これによっても、鮮明な画像を取得することができる。
【図面の簡単な説明】
【図1】本発明の一実施形態を示す携帯電話端末の外観図であり、(a)は蓋部及び操作部を展開した状態を示した正面図、(b)は蓋部及び操作部が折り畳まれた状態を示した背面図である。
【図2】ヒンジ部の正面断面図である。
【図3】撮像装置の外観斜視図である。
【図4】撮像装置の正面断面図である。
【図5】蓋部及び操作部を展開して平坦面に載置した状態を示す携帯電話端末の外観図である。
【図6】変形例を示す携帯電話端末の概略ブロック図である。
【図7】変形例を示す制御部の動作状態のフローチャートである。
【符号の説明】
1 携帯電話端末
2 蓋部
2a 内面
2b 外側縁
3 操作部
3a 内面
3b 外側縁
4 ヒンジ部
8 撮像部
10a 撮像軸
Df 焦点距離
Dr 撮像部と平坦面との距離
F 平坦面
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a portable electronic device that includes a first housing and a second housing that are configured to be foldable with respect to each other, and that includes an imaging unit that images a subject.
[0002]
[Prior art]
At present, portable electronic devices such as mobile telephone terminals and the like, which are provided with a first housing and a second housing which can be folded together via a hinge portion, are becoming mainstream (for example, see Patent Document 1). .). 2. Description of the Related Art As this kind of portable electronic device, there is known a portable electronic device provided with an imaging unit that is rotatably connected to one end of a hinge portion extending in a predetermined direction and that captures an image of a subject.
[0003]
The first housing and the second housing are locked by the housing locking mechanism at the time of deployment so that the angle between them becomes the set deployment angle. The imaging unit extends along one of the outer edges of the first housing that is substantially perpendicular to the hinge, and rotates about a rotation axis that is substantially parallel to the hinge. Further, the imaging unit has a built-in imaging device in which the imaging axis is directed to the first housing side. Thus, when each housing is expanded, the imaging unit can be rotated in a direction away from the first housing from a state along the first housing to capture an image of a subject outside the electronic device. Has become.
[0004]
[Patent Document 1]
JP-A-2002-171189
[0005]
[Problems to be solved by the invention]
By the way, in the portable electronic device, for example, when imaging a character, a figure, or the like written on a sheet of paper, a user or the like aims to match the focal length of the imaging axis with the distance between the imaging unit and the sheet of paper. Then, the portable electronic device is moved and an image is taken.
However, since the position of the portable electronic device is determined depending on the sense of the user or the like, it is extremely difficult to make the focal length of the imaging axis coincide with the distance between the imaging unit and the paper surface. As a result, there is a problem that an image is captured at a position where the focus of the image capturing apparatus is shifted from the paper surface, and characters, figures, and the like of the obtained image become unclear. In addition, since the portable electronic device is in a gripped state, characters, graphics, and the like may be unclear due to camera shake or the like.
[0006]
The present invention has been made in view of the above circumstances, and an object of the present invention is to make it possible to reliably obtain a clear image when capturing characters, figures, and the like described on paper or the like. It is to provide an electronic device.
[0007]
[Means for Solving the Problems]
In order to achieve the above object, in the invention according to claim 1,
A first housing and a second housing that are rotatably connected to each other by a hinge portion extending in a predetermined direction and are foldable with each other;
An imaging device that extends along one of the outer edges of the first housing substantially orthogonal to the hinge portion and has an imaging axis directed to the first housing side is built in, and rotates around a rotation axis substantially parallel to the hinge portion. In a portable electronic device having a movable imaging unit,
When mounted on a predetermined flat surface such that the other of the outer edges of the first housing and the second housing is downward, the distance between the flat surface and the imaging unit and the focal length of the imaging device are substantially equal. The configuration is such that they match.
[0008]
According to a second aspect of the present invention, in the portable electronic device according to the first aspect,
The imaging unit is rotatably connected to one end of the hinge unit.
[0009]
According to the first and second aspects of the present invention, when the camera is placed on a predetermined flat surface such that the other of the outer edges of the first housing and the second housing faces downward, the flat surface and the imaging unit Is substantially equal to the distance of the imaging device, so that a subject on a flat surface can be accurately imaged at the focal length of the imaging device.
That is, if the flat surface is a paper surface on which characters, graphics, and the like are described, a clear image of the characters, graphics, and the like on the paper surface can be obtained. At this time, since the electronic device is placed on a flat surface and is in a stationary state, no blurring or the like occurs during imaging.
[0010]
BEST MODE FOR CARRYING OUT THE INVENTION
1 to 5 show one embodiment of the present invention. FIG. 1A is a front view showing a state in which a lid and an operation unit are expanded, and FIG. FIG. 2 is a front cross-sectional view of the hinge unit, FIG. 3 is an external perspective view of the imaging device, FIG. 4 is a front cross-sectional view of the imaging device, and FIG. 1 is an external view of a mobile phone terminal showing a state where the mobile phone terminal is placed on a flat surface.
[0011]
As shown in FIG. 1A, a mobile phone 1 as a portable electronic device includes a lid 2 as a first housing and a control unit 3 as a second housing, which are configured to be foldable with each other. have. The lid 2 and the operation unit 3 are rotatably connected via a hinge 4. As shown in FIGS. 1 and 2, the hinge portion 4 is formed in a substantially cylindrical shape, and a hinge lock mechanism for locking the lid portion 2 and the operation portion 3 at a predetermined set deployment angle in the hinge portion 4. 5 are provided.
[0012]
As shown in FIG. 1B, the lid 2 and the operation unit 3 are folded with the inner surfaces 2a and 3a facing each other. A display unit 6 is arranged on the inner surface 2 a of the lid 2, and operation keys 7 are arranged on an inner surface 3 a of the operation unit 3. Thus, in a state where the cover 2 and the operation unit 3 are expanded, the user or the like recognizes the operation state of the electronic device 1 on the display unit 6 of the cover 2 and operates the electronic device 1 using the operation keys 7. Operation is possible.
[0013]
The hinge part 4 is formed in a substantially cylindrical shape, and a hinge lock mechanism 5 as a housing lock mechanism is disposed inside. In the present embodiment, the hinge part 4 has a first cylindrical part 4a integrally formed with the lid part 2 and a second cylindrical part 4b integrally formed with the operation part 3, and FIG. As shown in (b), the cylindrical portions 4a and 4b are arranged in series.
[0014]
FIG. 2 shows an example of the hinge lock mechanism 5. As shown in FIG. 2, the hinge lock mechanism 5 includes a first disk member 7b provided on one side of the first cylindrical portion 4a and the second cylindrical portion 4b and urged to the other side by a spring 7a; It has a second disk member 7c provided on the other side of 4a, 4b and in sliding contact with the first disk member 7b.
[0015]
Protrusions 7b1 are formed on the other surface of the first disk member 7b at predetermined intervals in the radial direction, and recesses are formed on one surface of the second disk member 7c at predetermined intervals in the radial direction. 7c1 is formed. When the projection 7b1 fits into the recess 7c1, the cylindrical portions 4a and 4b are locked, and the lid 2 and the operation unit 3 are locked at a predetermined angle. In the present embodiment, a state where the unfolded angle at which the lid 2 and the operation unit 3 are folded is about 0 °, and a state where the lid 2 and the operation unit 3 are approximately 160 ° at which the unfolded angle is almost the maximum. Thus, the lid 2 and the operation unit 3 are locked. That is, in the present embodiment, the set deployment angle is approximately 160 °, and the hinge lock mechanism 5 locks the lid 2 and the operation unit 3 so that the angle between them is approximately 160 °.
[0016]
In addition, in the mobile phone 1, as shown in FIGS. 1A and 1B, an imaging unit 8 is rotatably connected to one end of the hinge unit 4. The imaging unit 8 extends along one of the outer edges 2 b of the lid 2 that is substantially perpendicular to the hinge 4. The imaging unit 8 includes a case 9 having a substantially cylindrical shape, and an imaging device 10 (see FIG. 3) built in the case 9. The imaging axis 10a of the imaging device 10 is directed toward the lid 2, as shown in FIG. Further, the imaging device 10 is connected to a control unit (not shown) together with the display unit 6, the operation keys 7, and the like.
[0017]
Further, similarly to the first cylindrical portion 4a and the second cylindrical portion 4b of the hinge portion 4, an imaging lock mechanism (not shown) for positioning the second cylindrical portion 4b of the hinge portion 4 and the case body 9 at a predetermined angle. Is provided. This imaging lock mechanism has the same configuration as the hinge lock mechanism 5 described above, and will not be described in detail here. In the present embodiment, the imaging unit 8 is positioned at a plurality of lock angles.
[0018]
As shown in FIGS. 3 and 4, the imaging device 10 includes an imaging element 11 serving as a sensor for sensing light on one surface of a single substrate PC, and an optical member 12 for condensing the light on the imaging element 11. An aperture plate 13 for adjusting the amount of light incident on the optical member 12, a mirror frame 14 for covering and hiding the image pickup device 11, a light shielding plate 15 having a light shielding property, and a filter 16 supported by the light shielding plate 15. , A pressing member 17 for pressing the optical member, and a positioning electric component 18 for positioning the optical member 12. Hereinafter, each component of the imaging device 10 will be described.
[0019]
The optical member 12 is made of a transparent glass or plastic material. As shown in FIG. 4, a tubular leg portion 12a and a convex lens portion 12b supported by the leg portion 12a are integrally formed. ing.
An aperture plate 13 made of a material having a light-shielding property and having an opening 13a as a first aperture for defining an aperture value (F value) of the convex lens portion 12a is adhered to an upper portion of the lens portion 12a of the optical member 12. It is fixed by the agent B.
[0020]
Outside the optical member 12, a lens frame 14 as an outer frame member made of a light-shielding material is arranged. As shown in FIGS. 3 and 4, the lens frame 14 is provided with a prismatic lower part 14a and a cylindrical upper part 14b. The lower end of the lower portion 14a is fixed by the adhesive B when the lens frame 14 is mounted on the substrate PC.
[0021]
On the other hand, a light shielding plate 15 is attached to the upper end of the upper portion 14b of the lens frame 14 with an adhesive B. The light-shielding plate 15 has an opening 15a as a second stop at the center thereof. Below the central opening 15a of the light-shielding plate 15, a filter 16 made of a material having infrared absorption characteristics is joined by an adhesive B.
[0022]
The light shielding plate 15 and the filter 16 form a cover member. As described above, since the substrate PC, the lens frame 14 and the cover member are in close contact and joined, the imaging device 10 has a dustproof and moistureproof structure.
[0023]
In FIG. 4, between the optical member 12 and the light shielding plate 15, for example, a pressing member 17 formed of an elastic member such as a coil spring is disposed. When the light shielding plate 15 is attached to the lens frame 14, the light shielding plate 15 presses the pressing member 17, and the pressing member 17 is elastically deformed. The pressing member 17 presses the optical member 12 downward with a predetermined pressing force in FIG. 4 to urge the optical member 12 toward the image sensor 11. Here, when a force is applied from the light-shielding plate 15 to the lower image sensor 11, the pressing member 17 is elastically deformed, so that a buffering action to absorb the force acts, and the force is directly applied to the image sensor 11. There is an effect of preventing the image sensor 11 from being damaged without being transmitted.
[0024]
The image sensor 11 is formed of a CMOS image sensor. The lower surface of the rectangular thin plate imaging element 11 is attached to the upper surface of the substrate PC. At the center of the upper surface of the imaging element 11, a photoelectric conversion unit 12a in which pixels are two-dimensionally arranged is formed. A processing section (not shown) is formed outside the processing section, and a plurality of pads (not shown) are arranged near the outer edge of the processing section. The pads serving as connection terminals are connected to the substrate PC via wires W, as shown in FIG. The wire W is connected to a predetermined circuit on the board PC.
[0025]
The mobile phone terminal 1 according to the present embodiment includes the imaging device 10 configured as described above. As illustrated in FIG. 5, the lid 2 and the operation unit 3 are locked with the hinge lock mechanism 5 and the lid 2 is locked. When the mobile phone 1 is placed on a predetermined flat surface F such that the other of the outer edges 2b and 3b of the unit 2 and the operation unit 3 is located below, the distance Dr between the flat surface F and the imaging unit 8 is determined. , The focal length Df of the imaging device 10 is substantially the same. In the present embodiment, the focal length Df is a value unique to the imaging device 10 and is constant.
[0026]
Further, when the mobile phone terminal 1 is placed on a predetermined flat surface F such that the other of the outer edges 2b and 3b of the lid 2 and the operation unit 3 is at the lower side, the imaging lock mechanism causes the imaging shaft 10a to move. The imaging unit 8 is locked so as to point substantially in the middle between the lid unit 2 and the operation unit 3. In the present embodiment, since the lid 2 and the operation unit 3 are almost the same size, as shown in FIG. 5, the lid 2 and the operation unit 3 are locked in a direction pointing substantially at the center of the set deployment angle.
[0027]
In the mobile phone terminal 1 configured as described above, when the mobile phone terminal 1 is placed on a predetermined flat surface F such that the other one of the outer edges 2b and 3b of the lid portion 2 and the operation portion 3 faces downward, the flat surface F Since the distance Dr between the imaging device 8 and the focal length Df of the imaging device 10 substantially matches, the subject on the flat surface F can be accurately imaged with the focal length Df of the imaging device 10.
[0028]
That is, if the flat surface F is a paper surface on which characters, figures, two-dimensional codes, and the like are described, clear images of characters, figures, two-dimensional codes, and the like on the paper surface can be obtained. At this time, since the mobile phone terminal 1 is placed on the flat surface F and is in a stationary state, no blurring or the like occurs during imaging.
[0029]
Further, since the rotatable image pickup unit 8 is directed substantially at the center of the cover unit 2 and the operation unit 3 when the cover unit 2 and the operation unit 3 are deployed, the user and the like can easily position the image pickup unit such as a paper surface. Can be done.
[0030]
As described above, according to the mobile phone terminal 1 of the present embodiment, when capturing a character, a graphic, a two-dimensional code, or the like described on a paper surface or the like, the focal length Df of the imaging unit 8 and the imaging unit 8 and the paper surface And the distance Dr with the same can be accurately and substantially matched. As a result, a clear image such as a character, a figure, or a two-dimensional code written on a sheet of paper or the like can be obtained by the imaging unit 8.
[0031]
In addition, since the mobile phone terminal 1 captures an image while standing still on the flat surface F, no blurring or the like occurs at the time of capturing, and a clear image can be obtained.
[0032]
In the above embodiment, the present invention is applied to the mobile phone 1 as a portable electronic device. However, the present invention is applied to other portable electronic devices such as a PDA and a personal computer. Of course, it is possible.
[0033]
In the above embodiment, the imaging unit 8 has a constant focal length Df, but the focal length Df may be changeable in multiple steps. In this case, for example, if the focal length Df changes in accordance with the macro shooting mode, the normal shooting mode, or the like, the shortest focal length in the imaging unit is substantially equal to the distance between the flat surface F and the imaging unit. Good to do.
[0034]
6 and 7 show a modification of the present invention. FIG. 6 is a schematic block diagram of a mobile phone terminal, and FIG. 7 is a flowchart of an operation state of a control unit. Note that this mobile phone terminal is different from the above-described embodiment in the configuration of the imaging device and the control unit, and the other configuration is the same as that of the above-described embodiment. Hereinafter, the configuration and operation of the imaging device and the control unit of the mobile phone terminal will be described.
[0035]
As shown in FIG. 6, the mobile phone 1 includes a control unit 100, operation keys 7, a display unit 6, a wireless communication unit 101 having an antenna, a storage unit 102, an imaging device 110, a power supply control unit 103, and a transmission / reception unit 104. The components are connected by a bus 105.
[0036]
The imaging apparatus 110 according to the present embodiment can be changed to two shooting modes: a close-up shooting mode in which the focal length Df is set relatively short, and a macro shooting mode in which the focal length Df is set relatively long. It is configured. The imaging device 110 is normally in the close-up shooting mode, and the control unit 100 appropriately shifts to the macro shooting mode. In the present embodiment, the mobile phone terminal 1 is placed on a predetermined flat surface F such that the focal length Df in the close-up shooting mode and the other of the outer edges 2b and 3b of the lid 2 and the operation unit 3 are on the lower side. In this case, the flat surface F and the distance Dr of the imaging unit substantially match each other.
[0037]
The control unit 100 includes a CPU (Central Processing Unit) 111a, a RAM (Random Access Memory) 111b composed of a volatile semiconductor memory, a ROM (Read Only Memory) 111c composed of a nonvolatile semiconductor memory, and the like. ing.
[0038]
The ROM 111c stores, in the ROM 111c, a basic operation control program, a communication processing program, display data to be displayed on the display unit 6, and parameter data relating to imaging (default setting data for automatic imaging, preview display processing, etc.). In addition to the above, an imaging control program c1, a code recognition program c2, and code recognition data c3 are stored in addition to the default setting data. Here, the code recognition data c3 is reference data for setting a code similarity coefficient (Q) for determining whether the image data includes a two-dimensional code as an information code.
[0039]
The CPU 111a develops a program designated from among various programs stored in the ROM 111c into a work area of the RAM 111b in accordance with various instructions input from the operation keys 7 or data input from the wireless communication unit 101. Various processes are executed according to the above-mentioned program according to the instruction and the input data. Then, the CPU 111a stores the processing result in a predetermined area of the RAM 111b and causes the display unit 6 to display the result.
[0040]
Specifically, the CPU 111a reads the imaging control program c1 stored in the ROM 111c and executes an imaging control process described later.
As an imaging control process, the CPU 111a controls the imaging device 110 according to a user's operation instruction or the like input from the operation key 7, stores captured image data in the RAM 111b in a predetermined memory or the like, A preview is displayed on the display unit 6 at a frame rate of 25 fps.
Further, the CPU 111a executes a code process for recognizing a two-dimensional code object which may be a two-dimensional code on the captured image data according to a code recognition program c2 as a code recognition unit. Specifically, the CPU 111a compares the captured image data with the code recognition data c3 every five frames to determine whether the captured image data includes a two-dimensional code. More specifically, the CPU 111a, as a similarity coefficient calculating unit, compares the captured image data with the code recognition data c3 as the similarity coefficient calculation information, so that the code similarity coefficient is assigned to the two-dimensional code object. Is calculated, and a two-dimensional code object (information code object) or a two-dimensional code that may be a two-dimensional code is recognized based on the value of the code similarity coefficient.
[0041]
Further, the CPU 111a, as a switching control unit, uses the imaging device 110 to perform close-up imaging when there is a possibility that the code similarity coefficient contains a code, but there is a two-dimensional code The switching control process is performed so as to perform the imaging process in the macro shooting mode from the mode.
[0042]
When the two-dimensional code is recognized in the captured image data, the CPU 111a decodes the two-dimensional code as a decoding unit, and causes the display unit 6 to display the two-dimensional code as a display control unit.
In addition, the CPU 111a executes an operation based on the information of the decoded information code as an execution unit.
[0043]
The operation keys 7 include a numeric keypad, various function keys, a mode switching key for switching between a call mode and a camera mode, and the like, and are used for inputting an instruction to execute an imaging process.
[0044]
The display unit 6 is configured by an LCD (Liquid Crystal Display) panel or the like, and performs screen display based on display data input from the control unit 100. In addition, the display unit 6 displays an image captured by the imaging device 110 as a preview image, code information content decoded by the control unit 100, and the like.
[0045]
The wireless communication unit 101 includes an antenna for transmitting and receiving a wireless signal related to an incoming call and an outgoing call with a wireless base station (not shown). Then, for example, a communication protocol for a mobile phone corresponding to a communication method conforming to the IMT-2000 (for example, W-CDMA or cdma2000) is executed, and transmission / reception voice transmission / reception is performed by a communication channel set by the communication method. Execute data communication.
[0046]
The storage unit 102 stores data of a result of the processing executed by the control unit 100 and the like. For example, the storage unit 102 stores data of an image captured by the imaging device 110, data of mail transmitted and received via the wireless communication unit 101, data of a call history, and the like.
[0047]
The imaging device 110 is configured to be able to execute an imaging process in a close-up shooting mode and a macro shooting mode based on the control of the control unit 100. In the present embodiment, when a two-dimensional code or the like is present in an image acquired in the close-up shooting mode, the control unit 100 controls to shift to a macro shooting mode suitable for recognition of the two-dimensional code.
[0048]
The power control unit 103 includes, for example, a secondary battery such as a lithium battery, a nickel battery, and a nickel-cadmium battery. When the power is turned on, a positive terminal and a negative terminal are controlled according to the control of the control unit 100. Thus, power of a predetermined voltage is supplied to a drive circuit that drives each section of the mobile phone terminal 1.
[0049]
The transmission / reception unit 104 has a microphone, a speaker, an A / D conversion unit, and a D / A conversion unit (none of which are shown), and performs A / D conversion processing on a user's transmission voice input from the microphone. Then, the transmission voice data is output to the CPU 111a, and the reception voice data input from the CPU 111a and voice data such as a ring tone, an operation confirmation sound, and a shutter sound are subjected to D / A conversion processing and output from the speaker. I do.
[0050]
Hereinafter, the imaging control process in the mobile phone 1 will be described with reference to the flowchart in FIG.
[0051]
When a predetermined button of the operation key 7 is pressed by the user of the mobile phone terminal 1, the CPU 111a determines that the input is an instruction for an imaging process, and reads the imaging control program c1 stored in the ROM 111c. Then, the image processing is developed in the RAM 111b, and the control of the imaging process is started according to the imaging control program c1.
At this time, the user places the mobile phone terminal 1 on the flat surface F and turns the imaging device 110 toward the subject on the flat surface F, thereby obtaining a subject (such as a two-dimensional code) as shown in FIG. Image).
[0052]
Specifically, the CPU 111a resets the count number of the frame of the image data stored in the RAM 111b to 0 (N = 0) (step S101), and issues an instruction to start the imaging process in the close-up imaging mode to the imaging device. Output to 110.
[0053]
Then, as the imaging process in the close-up shooting mode, the imaging device 110 sequentially outputs captured image data of the subject collected by the optical member and formed on the photoelectric conversion unit of the imaging device to the control unit 100 (Step S102). ).
[0054]
Then, the CPU 111a of the control unit 100 executes a preview display process of storing the captured image data sequentially input from the imaging device 110 in the RAM 111b and displaying the captured image on the display unit 6 at a frame rate of 25 fps (step). S103). In parallel with the execution of the preview display process, the CPU 111a counts the number of frames of the image input from the imaging device 110 (N = N + 1) (step S104), and determines whether the number of frames is “5”. (Step S105).
Then, when determining that the number of frames is “5” (step S105: Yes), the CPU 111a proceeds to step S106, and when determining that the number of frames is not 5 (step S105: No), The process moves to step S102, and the subsequent steps are repeated.
[0055]
Next, in steps S106 to S108, the CPU 111a reads the code recognition program c2 stored in the ROM 111c and expands the code recognition program c2 in the RAM 111b, and starts controlling the code recognition process according to the code recognition program c2. Specifically, the CPU 111a performs a two-dimensional code recognition process by comparing and contrasting the captured image data of the subject when the number of frames is “5” with the code recognition data c3.
[0056]
Here, as a method of the recognition processing, for example, a method of performing recognition by detecting a predetermined cutout symbol indicating a two-dimensional code in the captured image data of the subject, or a method of performing recognition based on the density of the captured image data of the subject There is a method, a method of recognizing a predetermined mosaic shape of a two-dimensional code, and the like, but is not limited thereto.
[0057]
Specifically, in step S106, the CPU 111a compares the captured image data with the code recognition data c3 as similarity coefficient calculation information to determine the possibility that the captured image data is a two-dimensional code. A code similarity coefficient (Q) is calculated.
[0058]
Next, the CPU 111a determines whether or not the calculated value of the code similarity coefficient (Q) is “0.5” or more (step S107), and determines that the Q is “0.5” or more. If this has been done (step S107: Yes), it is determined that there is a possibility of a predetermined two-dimensional code.
On the other hand, when determining that the calculated code similarity coefficient (Q) is less than 0.5 (step S107: No), the CPU 111a determines that there is little possibility that the code is a two-dimensional code, and After resetting the count to 0 (step 109), the process proceeds to step S102, and the subsequent steps of the preview display processing and the code recognition processing for every five frames are repeated.
In this manner, the CPU 111a executes the two-dimensional code recognition process on the captured image data of the subject every five frames. Accordingly, the processing load on the CPU 111a is reduced, and the influence on the acquisition processing of the captured image data of the subject and the preview display processing of the captured image data, which are performed in parallel, can be reduced.
[0059]
In step S108, the CPU 111a determines whether or not the code similarity coefficient (Q) is “1”. If the code similarity coefficient (Q) is determined to be “1” (step S108: Yes), the CPU 111a uses a two-dimensional code. It is determined that there is, and the process proceeds to step S110.
On the other hand, if the CPU 111a determines that the code similarity coefficient (Q) is “0.5” or more but is not “1” (step S108: No), the two-dimensional code target (information code target) Is recognized. Then, the CPU 111a performs a macro shooting mode setting process so that the imaging device 110 performs macro shooting (step S111), and proceeds to step S109.
In the subsequent steps, as an imaging process in the macro shooting mode, captured image data of the subject is obtained using the optical member and the imaging element of the imaging device 110 under the control of the CPU 111a, and is preview-displayed on the display unit 6. In addition, the CPU 111a executes a code recognition process for every five frames on the captured image data in the macro shooting mode in parallel with the imaging process and the preview display process in the macro shooting mode. At this time, in the imaging process in the macro shooting mode, the recognition rate of the two-dimensional code is improved as compared with the imaging process in the close-up shooting mode. It is more likely that a missing two-dimensional code object will be recognized as a two-dimensional code. Accordingly, the recognition rate of the two-dimensional code in the captured image data of the subject is improved.
[0060]
In step S110, the CPU 111a executes a decoding process of the recognized two-dimensional code, and displays the code information content of the two-dimensional code on the display unit 6 (step S112).
Here, the code information content displayed on the display unit 6 is, for example, character information such as a URL address and an e-mail address, or arbitrary image information.
In addition to the contents that can be displayed on the display unit 6 such as character information and image information as code information contents, for example, when the code information contents are audio information, the sound transmission / reception unit 104 executes sound emission processing. There may be.
[0061]
Next, the CPU 111a determines whether or not an instruction signal of a predetermined process for the code information content displayed on the display unit 6 is input by the operation of the operation key 7 by the user (step S113), and the instruction signal is input. If it is determined that the instruction has been performed (step S113: Yes), the processing corresponding to the instruction is executed (step S114), and the process proceeds to step S115.
Here, the predetermined processing for the code information content is, for example, an instruction to connect to the URL address when the code information content is a URL address, and an electronic mail address when the code information content is an e-mail address. An instruction to create an e-mail to the e-mail address, a processing to save the information in the address book or the like when the code information content is a telephone number, an e-mail address, etc., and an instruction to save the display image on the display unit 6 etc. However, the present invention is not limited to these.
[0062]
On the other hand, if the CPU 111a determines in step S113 that there is no input of an instruction signal from the user (step S113: No), the process proceeds to step S115.
Then, in step S115, the CPU 111a determines whether or not an end instruction of the imaging process has been input by the operation of the operation key 7 by the user. By outputting a termination instruction, the imaging control process is terminated.
On the other hand, when the CPU 111a determines that the end instruction of the imaging process has not been input (step S115: No), the process proceeds to step S109, and the subsequent processes are repeated.
[0063]
By performing the imaging control process in this manner, for example, when the captured image data in the close-up shooting mode is out of focus or contains a lot of noise, it cannot be clearly recognized as a two-dimensional code. Even if there is a possibility, the imaging device 110 is controlled to automatically switch to imaging processing in a macro imaging mode suitable for two-dimensional code recognition.
[0064]
Therefore, the shooting mode can be automatically switched to the macro shooting mode when the mobile phone terminal 1 is placed on the flat surface F without imposing a burden on the user to change the setting of the shooting mode. At this time, since the focal length Df in the macro shooting mode substantially matches the distance between the imaging unit 8 and the flat surface F, a clear image can be obtained and the recognition accuracy of the two-dimensional code can be improved. .
[0065]
In parallel with the process of acquiring captured image data of the subject by the imaging device 110 and the process of displaying a preview of the captured image data, a process of recognizing predetermined two-dimensional code data in the captured image data, Is automatically executed. Therefore, for example, the user can automatically perform the same operation as in a normal imaging process without performing troublesome settings for recognizing and decoding a two-dimensional code attached to a business card, a magazine, or the like. Since it is impossible to read and decode the two-dimensional code, it is very convenient to use.
[0066]
In addition, when the possibility that the two-dimensional code is included in the captured image data in the close-up shooting mode is low, or when the two-dimensional code is clearly recognized, the shooting mode is not switched, which is efficient. .
[0067]
It should be noted that the control unit 100 of this modified example is merely an example, and the configuration of the control unit is arbitrary within a range that achieves the object of the present invention. In addition, the specific detailed structure and the like can be appropriately changed. Of course there is.
[0068]
【The invention's effect】
According to the present invention as described in detail above,
When capturing a character, a graphic, a two-dimensional code, or the like described on a paper surface or the like, the focal length of the imaging unit and the distance between the imaging unit and the paper surface can be accurately and substantially matched. As a result, clear images of characters, figures, and two-dimensional codes written on paper or the like can be obtained by the imaging unit.
In addition, since the portable electronic device captures an image while standing still on a flat surface, no blurring or the like occurs at the time of capturing, so that a clear image can be obtained.
[Brief description of the drawings]
1A and 1B are external views of a mobile phone terminal according to an embodiment of the present invention, in which FIG. 1A is a front view showing a state in which a lid and an operation unit are expanded, and FIG. It is a rear view showing the state where it was folded up.
FIG. 2 is a front sectional view of a hinge portion.
FIG. 3 is an external perspective view of the imaging apparatus.
FIG. 4 is a front sectional view of the imaging device.
FIG. 5 is an external view of the mobile phone terminal, showing a state in which the lid and the operation unit are unfolded and placed on a flat surface.
FIG. 6 is a schematic block diagram of a mobile phone terminal showing a modification.
FIG. 7 is a flowchart illustrating an operation state of a control unit according to a modification.
[Explanation of symbols]
1 mobile phone terminals
2 Lid
2a inside
2b Outer edge
3 Operation part
3a inside
3b Outer edge
4 hinge part
8 Imaging unit
10a Imaging axis
Df focal length
Dr Distance between imaging unit and flat surface
F Flat surface

Claims (2)

所定方向へ延びるヒンジ部により回動自在に連結され、互いに折り畳み自在な第1筐体及び第2筐体と、
前記第1筐体におけるヒンジ部と略直交する外側縁の一方に沿って延び、撮像軸が第1筐体側へ指向する撮像装置が内蔵され、ヒンジ部と略平行な回動軸を中心として回動自在な撮像部と、を備えた携帯用電子機器において、
前記第1筐体及び第2筐体の外側縁の他方が下方となるように所定の平坦面に載置した際に、この平坦面と撮像部の距離と、撮像装置の焦点距離とが略一致するよう構成したことを特徴とする携帯用電子機器。
A first housing and a second housing that are rotatably connected to each other by a hinge portion extending in a predetermined direction and are foldable with each other;
An imaging device that extends along one of the outer edges of the first housing substantially orthogonal to the hinge portion and has an imaging axis directed to the first housing side is built in, and rotates around a rotation axis substantially parallel to the hinge portion. In a portable electronic device having a movable imaging unit,
When mounted on a predetermined flat surface such that the other of the outer edges of the first housing and the second housing is downward, the distance between the flat surface and the imaging unit and the focal length of the imaging device are substantially equal. A portable electronic device configured to match.
前記撮像部は、ヒンジ部の一端側に回動自在に連結されることを特徴とする請求項1に記載の携帯用電子機器。The portable electronic device according to claim 1, wherein the imaging unit is rotatably connected to one end of the hinge unit.
JP2003039857A 2003-02-18 2003-02-18 Portable electronic apparatus Pending JP2004253898A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003039857A JP2004253898A (en) 2003-02-18 2003-02-18 Portable electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003039857A JP2004253898A (en) 2003-02-18 2003-02-18 Portable electronic apparatus

Publications (1)

Publication Number Publication Date
JP2004253898A true JP2004253898A (en) 2004-09-09

Family

ID=33023911

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003039857A Pending JP2004253898A (en) 2003-02-18 2003-02-18 Portable electronic apparatus

Country Status (1)

Country Link
JP (1) JP2004253898A (en)

Similar Documents

Publication Publication Date Title
JP4113387B2 (en) Portable terminal device, information reading program, and recording medium recording the program
US7948554B2 (en) Mobile phone equipped with a camera including a first rotation axis unit and a second rotation axis unit
WO2004066616A1 (en) Portable device with camera
JP4300811B2 (en) Imaging device and portable terminal
JP2002027047A (en) Portable information terminal equipment
JP2003309748A (en) Portable telephone set with image sensing unit and method of controlling the same
JP4110988B2 (en) Imaging device and portable terminal
JP4113565B2 (en) Mobile phone
JP2009164755A (en) Imaging apparatus
JP2003018261A (en) Portable terminal equipment
JP3847158B2 (en) Mobile phone equipment
JP2004253898A (en) Portable electronic apparatus
JP2004350232A (en) Portable electronic device
JP4382831B2 (en) Mobile phone
JP2003069868A (en) Personal digital assistant with camera function
JP2004274664A (en) Portable electronic device
JP4396813B2 (en) Imaging unit
JP2004274660A (en) Portable electronic device
JP2003249986A (en) Image pickup and communication device
JP2004241822A (en) Mobile terminal
JP4235811B2 (en) Portable imaging machine
WO2004082247A1 (en) Portable electronic device
JP2004246172A (en) Imaging device and mobile terminal
JP2004274548A (en) Mobile terminal
JP2004279505A (en) Image pickup device and mobile terminal