JP2006270547A - Mobile terminal device, method of correcting photographed image in mobile terminal device - Google Patents
Mobile terminal device, method of correcting photographed image in mobile terminal device Download PDFInfo
- Publication number
- JP2006270547A JP2006270547A JP2005086135A JP2005086135A JP2006270547A JP 2006270547 A JP2006270547 A JP 2006270547A JP 2005086135 A JP2005086135 A JP 2005086135A JP 2005086135 A JP2005086135 A JP 2005086135A JP 2006270547 A JP2006270547 A JP 2006270547A
- Authority
- JP
- Japan
- Prior art keywords
- information
- correction
- illumination
- database
- terminal device
- 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
Links
Images
Landscapes
- Color Television Image Signal Generators (AREA)
- Studio Devices (AREA)
Abstract
Description
本発明は、携帯電話機、PHS(Personal Handyphone System)、PDA(Personal Data Assistance)等のカメラを搭載した携帯端末装置、携帯端末装置における撮影画像補正方法に関する。 The present invention relates to a mobile terminal device equipped with a camera such as a mobile phone, a PHS (Personal Handyphone System), a PDA (Personal Data Assistance), and a captured image correction method in the mobile terminal device.
携帯電話機、PHS、PDA等の携帯端末装置の多くは、TV電話などの用途向けにカメラを搭載している。この種の携帯端末装置において、室内でカメラによる撮影を行う場合、人工照明特有の色温度や間欠点灯などの影響を受ける。そのため、室内での撮影時には、使用する人工照明に応じて撮影画像を補正することが好ましい。 Many mobile terminal devices such as mobile phones, PHS, and PDAs are equipped with cameras for applications such as videophones. In this type of portable terminal device, when photographing with a camera indoors, it is affected by the color temperature peculiar to artificial lighting and intermittent lighting. For this reason, it is preferable to correct the captured image in accordance with the artificial illumination to be used when shooting indoors.
例えば、特許文献1には、室内でのカメラによる撮影時に、3波長蛍光体に特有の輝線(例えば、436nmまたは546nm)の有無を検出することにより、人工照明が3波長蛍光灯であるか否かを判定する技術が開示されている。
ところで、実際の3波長蛍光灯は、各メーカーごと、もしくは各メーカーの型番(モデル)ごとに、使用する蛍光体の種類や蛍光体のブレンドの割合が異なっているため、使用するR(Red)、G(Green)、B(Blue)の3つの波長も異なっている。 By the way, in the actual three-wavelength fluorescent lamp, the type of phosphor used and the proportion of the phosphor blend are different for each manufacturer or for each model number (model) of each manufacturer. , G (Green), and B (Blue) are also different in wavelength.
そのため、撮影画像を適切に補正するには、3波長蛍光灯に使用する3波長の情報を取得し、3波長の情報を補正情報として用いて撮影画像の補正を行う必要がある。しかしながら、特許文献1に開示された技術では、人工照明が3波長蛍光灯であるか否かが判定できるのみであり、3波長蛍光灯に使用する3波長の情報まで取得することはできない。 Therefore, in order to appropriately correct the captured image, it is necessary to acquire information on the three wavelengths used for the three-wavelength fluorescent lamp and correct the captured image using the information on the three wavelengths as correction information. However, with the technique disclosed in Patent Document 1, it is only possible to determine whether the artificial illumination is a three-wavelength fluorescent lamp, and it is not possible to acquire information on three wavelengths used for the three-wavelength fluorescent lamp.
そこで、本発明の目的は、人工照明に応じて撮影画像を補正するための補正情報として3波長蛍光灯に使用する3波長などの詳細な情報を取得することにより、撮影画像を適切に補正することができる携帯端末装置、携帯端末装置における撮影画像補正方法を提供することにある。 Therefore, an object of the present invention is to appropriately correct a captured image by acquiring detailed information such as three wavelengths used for a three-wavelength fluorescent lamp as correction information for correcting the captured image according to artificial lighting. An object of the present invention is to provide a portable terminal device and a captured image correction method in the portable terminal device.
本発明の携帯端末装置は、室内での撮影時に、使用する人工照明に応じて撮影画像を補正する携帯端末装置である。 The portable terminal device of the present invention is a portable terminal device that corrects a photographed image in accordance with artificial lighting to be used when photographing indoors.
本発明の第1の態様の携帯端末装置は、画像を撮影するカメラと、前記カメラにより人工照明に印字されている照明情報の撮影が行われた場合に、撮影された画像から前記照明情報を読み取る情報読み取り手段と、前記情報読み取り手段にて読み取られた前記照明情報に基づいて撮影画像の補正に用いる補正情報を取得し、取得した補正情報を用いて撮影画像を補正するカメラ制御手段とを有することを特徴としている。 The portable terminal device according to the first aspect of the present invention includes a camera that captures an image, and when the illumination information printed on artificial illumination is captured by the camera, the illumination information is obtained from the captured image. An information reading unit that reads, and a camera control unit that acquires correction information used for correcting the captured image based on the illumination information read by the information reading unit, and corrects the captured image using the acquired correction information. It is characterized by having.
この構成によれば、各メーカーにより人工照明に印字された正規の照明情報を読み取り、読み取った照明情報を基にして補正情報を取得するため、より詳細な補正情報、例えば、3波長蛍光体に使用する3波長の情報も容易に取得することができ、撮影画像をより適切に補正することができる。 According to this configuration, regular illumination information printed on the artificial illumination by each manufacturer is read, and correction information is acquired based on the read illumination information. Information on the three wavelengths to be used can be easily acquired, and the captured image can be corrected more appropriately.
なお、前記情報読み取り手段にて読み取られた前記照明情報に前記補正情報が含まれている場合は、前記照明情報から前記補正情報を取得し、前記照明情報に前記補正情報が含まれていない場合は、前記照明情報と前記補正情報とが対応付けられて登録されているデータベースを検索し、当該データベースから前記補正情報を取得しても良い。 When the correction information is included in the illumination information read by the information reading unit, the correction information is acquired from the illumination information, and the correction information is not included in the illumination information. May search a database in which the illumination information and the correction information are registered in association with each other, and acquire the correction information from the database.
この構成によれば、例えば、照明情報として3波長蛍光体に使用する3波長の情報が印字されていれば、3波長の情報を補正情報として取得することができる。また、照明情報として3波長蛍光体に使用する3波長の情報が印字されていなくても、照明情報を基にデータベースを検索することで3波長の情報を補正情報として取得することができる。 According to this configuration, for example, if information on three wavelengths used for the three-wavelength phosphor is printed as illumination information, information on three wavelengths can be acquired as correction information. Even if the information on the three wavelengths used for the three-wavelength phosphor is not printed as the illumination information, the information on the three wavelengths can be acquired as the correction information by searching the database based on the illumination information.
本発明の第2の態様の携帯端末装置は、画像を撮影するカメラと、前記カメラによる撮影が行われた場合に、撮影された画像を基にして人工照明から照射された光について所定項目の測定を行う測光手段と、前記測光手段にて測定された測定結果を示す測定情報に基づいて撮影画像の補正に用いる補正情報を取得し、取得した補正情報を用いて撮影画像を補正するカメラ制御手段とを有することを特徴としている。 The mobile terminal device according to the second aspect of the present invention includes a camera that captures an image and, when captured by the camera, a predetermined item for light emitted from artificial illumination based on the captured image. Photometry means for performing measurement, and camera control for obtaining correction information used for correcting the photographed image based on measurement information indicating the measurement result measured by the photometry means, and correcting the photographed image using the obtained correction information Means.
この構成によれば、人工照明から照射された光を直接測定し、測定した測定情報を基にして補正情報を取得するため、より詳細な補正情報、例えば、3波長蛍光体に使用する3波長の情報も容易に取得することができ、撮影画像をより適切に補正することができる。 According to this configuration, the light emitted from the artificial illumination is directly measured, and correction information is obtained based on the measured measurement information. Therefore, more detailed correction information, for example, three wavelengths used for a three-wavelength phosphor. This information can be easily acquired, and the captured image can be corrected more appropriately.
なお、前記カメラ制御手段は、前記測光手段にて測定された前記測定情報に前記補正情報が含まれている場合は、前記測定情報から前記補正情報を取得し、前記測定情報に前記補正情報が含まれていない場合は、前記照明情報と前記補正情報とが対応付けられて登録されているデータベースを検索し、当該データベースから前記補正情報を取得しても良い。 The camera control means acquires the correction information from the measurement information when the correction information is included in the measurement information measured by the photometry means, and the correction information is included in the measurement information. If not included, a database in which the illumination information and the correction information are associated and registered may be searched to acquire the correction information from the database.
この構成によれば、例えば、測定手段として、3波長蛍光体に使用する3波長の情報を測定するものを用いれば、3波長の情報を補正情報として取得することができる。また、測定手段として、光強度などを測定するものを用いれば、その測定結果を基にデータベースを検索することで3波長の情報を補正情報として取得することができる。 According to this configuration, for example, if a measuring unit that measures information on three wavelengths used for a three-wavelength phosphor is used, information on three wavelengths can be acquired as correction information. Further, if a measuring unit that measures light intensity or the like is used, information on three wavelengths can be acquired as correction information by searching a database based on the measurement result.
以上説明したように本発明によれば、人工照明に印字された正規の照明情報を読み取ることで補正情報を取得するため、撮影画像の補正に用いる詳細な補正情報を取得することができ、それにより撮影画像をより適切に補正することができるという効果が得られる。 As described above, according to the present invention, the correction information is acquired by reading the regular illumination information printed on the artificial illumination, so that detailed correction information used for correcting the captured image can be acquired. As a result, an effect that the captured image can be corrected more appropriately can be obtained.
以下に、本発明を実施するための最良の形態について図面を参照して説明する。ここでは、本発明の携帯端末装置を携帯電話機に適用した場合を例に挙げて説明する。
(第1の実施形態)
室内での光源には、人工照明、特に3波長蛍光灯(以下、単に「蛍光灯」と称する)を用いるのが一般的である。蛍光灯は、R(波長610nm程度)、G(波長540nm程度)、B(波長450nm程度)のそれぞれに発光する3色の希土類蛍光体を適切に配合することにより高い効率と高い演色性とを両立させている。また、これらの希土類蛍光体の配合比率を変えることで、幅広い光色や分光分布を実現することができる。この3色の希土類蛍光体を間欠点灯させて、光の3原色どおりに加法混色することにより、あたかも肉眼では白色の連続光を発しているかのように見える。
The best mode for carrying out the present invention will be described below with reference to the drawings. Here, a case where the mobile terminal device of the present invention is applied to a mobile phone will be described as an example.
(First embodiment)
As an indoor light source, artificial lighting, in particular, a three-wavelength fluorescent lamp (hereinafter simply referred to as “fluorescent lamp”) is generally used. A fluorescent lamp has high efficiency and high color rendering by appropriately blending three colors of rare earth phosphors that emit light in each of R (wavelength of about 610 nm), G (wavelength of about 540 nm), and B (wavelength of about 450 nm). Both are compatible. Further, by changing the blending ratio of these rare earth phosphors, a wide range of light colors and spectral distributions can be realized. By intermittently lighting these three-color rare earth phosphors and additively mixing them according to the three primary colors of light, it looks as if white light is emitted to the naked eye.
現行の蛍光灯には、レーザーマーキングなどにより、メーカー名、型番などの照明情報が文字として印字されている。蛍光灯に使用されている3波長は、メーカーごと、あるいは型番(モデル)ごとに異なる。そのため、各メーカーが、メーカー名や型番だけでなく、蛍光灯に使用されている3波長の情報を含む照明情報を文字として蛍光灯に印字することも可能である。また、これらの照明情報を、JAN(Japan Article Number)コードやQR(Quick Response)コードなどのバーコードとして蛍光灯に印字することも可能である。 On current fluorescent lamps, lighting information such as manufacturer name and model number is printed as characters by laser marking or the like. The three wavelengths used in fluorescent lamps differ from manufacturer to manufacturer or model number (model). Therefore, each maker can print not only the manufacturer name and model number but also illumination information including information on three wavelengths used in the fluorescent lamp as characters on the fluorescent lamp. It is also possible to print the illumination information on a fluorescent lamp as a barcode such as a JAN (Japan Article Number) code or a QR (Quick Response) code.
そこで、本実施形態においては、室内での撮影時に、人工照明に文字またはバーコードとして印字されている照明情報を撮影し、撮影された画像から照明情報を読み取ることにより、人工照明に使用される3波長の情報を補正情報として取得することとしている。 Therefore, in the present embodiment, when photographing indoors, the illumination information printed as characters or barcodes on the artificial illumination is photographed, and the illumination information is read from the photographed image to be used for artificial illumination. Information on three wavelengths is acquired as correction information.
図1を参照すると、本実施形態による携帯電話機は、CPU(Central Processing Unit)11と、ROM(Read Only Memory)12と、カメラ部13と、情報読み取り手段であるバーコード読み取り部14およびOCR(Optical Character Reader)読み取り部15と、フリッカ検出部16と、カメラ制御部17と、作業用メモリ18と、タイマ部19と、表示部20と、表示制御部21と、送受信部22と、入力部23とを有する。
Referring to FIG. 1, the mobile phone according to the present embodiment includes a CPU (Central Processing Unit) 11, a ROM (Read Only Memory) 12, a
CPU11は、バスを介して接続される各構成要素の制御を行う。
The
ROM12は、CPU11が実行する各種の制御用プログラムや、かな文字変換等に使用される辞書等の固定的なデータを格納したメモリである。
The
カメラ部13は、画像を撮影するカメラである。
The
バーコード読み取り部14は、人工照明にメーカー名、型番、3波長の情報などの照明情報がバーコードとして印字されている場合に、カメラ部13にて人工照明に印字されたバーコードが撮影されると、撮影されたバーコードからメーカー名、型番、3波長などの照明情報を読み取る。
The
OCR読み取り部15は、人工照明にメーカー名、型番、3波長の情報などの照明情報が文字として印字されている場合に、カメラ部13にて人工照明に印字された文字が撮影されると、撮影された文字からメーカー名、型番、3波長などの照明情報を読み取る。
The
フリッカ検出部16は、カメラ部13にて撮影された画像を基にして、人工照明にフリッカが発生した場合に、フリッカ周波数、点滅タイミングを検出する。フリッカは、蛍光灯特有の現象で、蛍光灯の点滅周期で生じる明暗差のことであり、太陽光やハロゲン光では発生しない。
The
カメラ制御部17は、カメラ部13の撮影を制御する。具体的には、カメラ制御部17は、バーコード読み取り部14またはOCR読み取り部15により読み取られた照明情報に基づいて撮影画像の補正に用いる補正情報を取得し、取得した補正情報に基づいて撮影画像を補正する。
The camera control unit 17 controls the shooting of the
例えば、カメラ制御部17は、バーコード読み取り部14またはOCR読み取り部15により3波長の情報が照明情報として読み取られた場合は、読み取られた3波長情報を補正情報として用いてカメラ部13のホワイトバランスを調整することで撮影画像を補正し、実際の室内環境下で見える通りの演色性を忠実に再現する。
For example, when the three-wavelength information is read as illumination information by the
また、カメラ制御部17は、バーコード読み取り部14またはOCR読み取り部15により3波長の情報は読み取られず、メーカー名や型番の情報のみが読み取られた場合は、読み取られたメーカー名や型番の情報と3波長の情報とが対応付けられて登録されている作業用メモリ18に備えられた照明データベース281にアクセスして、照明データベース281から3波長の情報を取得し、取得した3波長情報を補正情報として用いて画像補正を行う。照明データベース281に記録されている情報の一例を図2に示す。
Further, the camera control unit 17 does not read the information of the three wavelengths by the
あるいは、カメラ制御部17は、バーコード読み取り部14またはOCR読み取り部15によりメーカー名や型番の情報のみが読み取られた場合は、インターネット上の不図示の外部サーバに備えられた照明データベース281と同様のデータベースにアクセスして、そのデータベースから3波長情報を取得し、取得した3波長情報を補正情報として用いて画像補正を行う。なお、上記の外部サーバのインターネット上のアドレスは、人工照明にバーコードまたは文字でアドレス情報として印字されていても良い。この場合、カメラ制御部17は、バーコード読み取り部14またはOCR読み取り部15により読み取られたアドレス情報に基づいて、送受信部22を介して上記の外部サーバに備えられたデータベースにアクセスすることになる。あるいは、上記の外部サーバのインターネット上のアドレスは、予め決められたアドレスであっても良い。
Alternatively, when only the information of the manufacturer name or model number is read by the
また、カメラ制御部17は、複数の人工照明が併用される場合にも、各人工照明の寄与率(割合)を光量の測定結果等(カメラ部13等で測定)を基にして判定し、各人工照明の3波長情報を寄与率に応じて調整し、これを補正情報として用いて画像補正を行うことができる。また、カメラ制御部17は、人工照明と太陽照明とが併用される場合にも、人工照明と太陽照明の寄与率(割合)を光量の測定等を基にして判定し、人工照明の3波長情報を太陽照明との寄与率に応じて調整し、これを補正情報として用いて画像補正を行うことができる。
The camera control unit 17 also determines the contribution rate (ratio) of each artificial illumination based on the measurement result of the light amount (measured by the
なお、本発明においては、3波長の情報を用いて撮影画像を補正する技術は任意の公知技術を使用することができるため、3波長の情報を用いた撮影画像の補正に関する詳細な説明は省略する。 In the present invention, any known technique can be used for correcting the captured image using the information on the three wavelengths, and therefore a detailed description regarding correction of the captured image using the information on the three wavelengths is omitted. To do.
また、カメラ制御部17は、フリッカ検出部16にて検出されたフリッカ周波数、点滅タイミングなどのフリッカ検出情報も補正情報として用いて撮影画像を補正する。例えば、カメラ制御部17は、カメラ部13のシャッター速度を、フリッカ検出部16にて検出されたフリッカの点灯タイミングと同じにする。
The camera control unit 17 also corrects the captured image using the flicker detection information such as the flicker frequency and the blinking timing detected by the
作業用メモリ18は、CPU11がプログラムを実行する上で一時的に必要とされるデータなどが登録されるRAM(Random Access Memory)などである。具体的には、作業用メモリ18は、一般的に良く流通している各人工照明ごとに、図2に示すように、メーカー名、型番、3波長の情報などの照明情報が登録された照明データベース281を含んでいる。照明データベース281には、各人工照明ごとの照明情報が予め登録されている。ただし、バーコード読み取り部14またはOCR読み取り部15により照明データベース281に未登録の人工照明に関する照明情報が読み取られた場合には、その照明情報をカメラ制御部17により新規に照明データベース281に登録することも可能である。なお、照明データベース281には、蛍光体に限らず、タングステン光の照明の照明情報が登録されていても良い。また、作業用メモリ18は、カメラ制御部17により現時点の照明情報が記録される照明情報記録部282も含んでいる。その他、作業用メモリ18には、カメラ部13で撮影された画像データが記録される不図示の記録領域なども含んでいる。
The working
タイマ部19は、時間を計測する機能を備える。
The
表示部20は、本携帯電話機本体の前面に配置されており、白黒あるいはカラーの液晶パネルまたは有機EL(電子蛍光)等の表示装置である。
The
表示制御部21は、表示部20の表示を制御する。
The display control unit 21 controls display on the
送受信部22は、無線により不図示の基地局との間で各種情報を送受信する。例えば、送受信部22は、カメラ制御部17により不図示のインターネット上の外部サーバに備えられたデータベースから3波長情報を取得する動作が行われる場合、外部サーバから基地局を介して3波長情報を受信する。
The transmission /
入力部23は、ユーザにより各種の情報が入力される。例えば、室内での撮影において、人工照明と太陽照明とが併用されている場合は、その旨がユーザにより入力される。
Various information is input to the
以下、本実施形態による携帯電話機の動作について説明する。 Hereinafter, the operation of the mobile phone according to the present embodiment will be described.
まず、バーコード読み取り部14を用いて人工照明に印字されたバーコードを読み取ることで、3波長情報を補正情報として取得する場合の動作について、図3のフローチャートを参照して説明する。
First, an operation in the case of acquiring three-wavelength information as correction information by reading a barcode printed on artificial illumination using the
図3を参照すると、撮影場所が室内で(ステップ301)、人工照明にバーコードが印字されている場合(ステップ302)、そのバーコードがユーザによりカメラ部13を用いて撮影される(ステップ303)。このバーコードは、バーコード読み取り部14により読み取られるが(ステップ304)、バーコード認識ができない場合は(ステップ305)、ステップ303に戻り、再度バーコードの撮影が行われる。 Referring to FIG. 3, when the shooting location is indoors (step 301) and a bar code is printed on artificial lighting (step 302), the bar code is shot by the user using the camera unit 13 (step 303). ). The barcode is read by the barcode reading unit 14 (step 304). If the barcode cannot be recognized (step 305), the process returns to step 303 and the barcode is taken again.
ここで、カメラ制御部17は、バーコード読み取り部14によるバーコードの読み取りの結果、3波長の情報を取得した場合(ステップ306)、3波長の情報を、メーカー名、型番とともに、例えば、図4に示すように、照明情報記録部182に記録する(ステップ307)。そして、カメラ制御部17は、照明情報記録部182に記録された3波長の情報、フリッカの有無の情報、太陽照明の有無の情報などを補正情報として用いて画像補正を行う。なお、図4において、フリッカ有無に関する情報はフリッカ検出部16によるフリッカ検出結果に基づきカメラ制御部17により記録されたものであり、太陽照明有無に関する情報は、ユーザによる入力部23への入力に基づきカメラ制御部17により記録されたものである。
Here, when the camera control unit 17 acquires the information on the three wavelengths as a result of reading the barcode by the barcode reading unit 14 (step 306), the information on the three wavelengths together with the manufacturer name and the model number, for example, FIG. As shown in FIG. 4, it is recorded in the illumination information recording unit 182 (step 307). Then, the camera control unit 17 performs image correction using the three-wavelength information recorded in the illumination
一方、ステップ306でバーコード読み取り部14によるバーコードの読み取りの結果、3波長の情報は取得されていないが、キーワードとなり得るメーカー名、型番が取得された場合(ステップ308)、カメラ制御部17は、まず、メーカー名、型番の情報を、例えば、図5に示すように、照明情報記録部182に記録する。なお、図5において、フリッカ有無に関する情報はフリッカ検出部16によるフリッカ検出結果に基づきカメラ制御部17により記録されたものであり、太陽照明有無に関する情報は、ユーザによる入力部23への入力に基づきカメラ制御部17により記録されたものである。次に、カメラ制御部17は、メーカー名、型番の照明情報をキーワードとして、作業用メモリ18内の照明データベース281または不図示の外部サーバ内のデータベースから3波長情報を検索する(ステップ309)。その結果、3波長情報が取得されれば(ステップ310)、カメラ制御部17は、ステップ310において、3波長の情報を照明情報記録部182に記録する。それにより、照明情報記録部182には、図4のような照明情報が記録される。そして、カメラ制御部17は、照明情報記録部182に記録された3波長の情報、フリッカの有無の情報、太陽照明の有無の情報などを補正情報として用いて画像補正を行う。
On the other hand, as a result of reading the barcode by the
次に、OCR読み取り部15を用いて人工照明に印字された文字を読み取ることで、3波長情報を補正情報として取得する場合の動作について、図6のフローチャートを参照して説明する。
Next, an operation in the case of acquiring three-wavelength information as correction information by reading characters printed on artificial illumination using the
図6を参照すると、撮影場所が室内で(ステップ601)、人工照明に3波長の情報が文字として印字されている場合(ステップ602)、その文字がユーザによりカメラ部13を用いて撮影される(ステップ603)。この文字は、OCR読み取り部15により読み取られるが(ステップ604)、OCR認識ができない場合や(ステップ605)、OCR認識ができても波長情報が取得できない場合は(ステップ606)、ステップ603に戻り、再度、3波長の情報を示す文字の撮影が行われる。
Referring to FIG. 6, when the shooting location is indoors (step 601) and information on three wavelengths is printed as characters on the artificial illumination (step 602), the characters are photographed by the user using the
ここで、カメラ制御部17は、ステップ606でOCR読み取り部15によるOCRの読み取りの結果、3波長の情報を取得した場合、3波長の情報を、メーカー名、型番とともに、例えば、図4に示すように、照明情報記録部182に記録する(ステップ607)。そして、照明情報記録部182に記録された3波長の情報、フリッカの有無の情報、太陽照明の有無の情報などを補正情報として用いて画像補正を行う。
Here, when the camera control unit 17 acquires the information on the three wavelengths as a result of the OCR reading by the
一方、ステップ602で3波長の情報が印字されていないが、キーワードとなり得るメーカー名、型番の情報が文字として人工照明に印字されている場合(ステップ608)、その文字がユーザによりカメラ部13を用いて撮影される(ステップ609)。この文字は、OCR読み取り部15により読み取られるが(ステップ610)、OCR認識ができない場合や(ステップ611)、OCR認識ができてもメーカー名、型番の情報が取得できない場合は(ステップ612)、ステップ609に戻り、再度、メーカー名、型番の情報を示す文字の撮影が行われる。
On the other hand, if the information on the three wavelengths is not printed in
ここで、カメラ制御部17は、ステップ612でOCR読み取り部15によるOCRの読み取りの結果、メーカー名、型番の情報がキーワードとして取得された場合、まず、メーカー名、型番の情報を、例えば、図5に示すように、照明情報記録部182に記録する。次に、カメラ制御部17は、メーカー名、型番の照明情報をキーワードとして作業用メモリ18内の照明データベース281または不図示の外部サーバ内のデータベースから3波長情報を検索する(ステップ613)。その結果、3波長情報が取得されれば(ステップ614)、カメラ制御部17は、ステップ607において、3波長の情報を照明情報記録部182に記録する。それにより、照明情報記録部182には、図4のような情報が記録される。そして、カメラ制御部17は、照明情報記録部182に記録された3波長の情報、フリッカの有無の情報、太陽照明の有無の情報などを補正情報として用いて画像補正を行う。
Here, when the information of the manufacturer name and the model number is acquired as a keyword as a result of the OCR reading by the
上述したように本実施形態においては、バーコード読み取り部14またはOCR読み取り部15において、室内での撮影時に、人工照明に文字またはバーコードとして印字されている照明情報がカメラ部13にて撮影されると、撮影された画像から照明情報を読み取り、カメラ制御部17において、バーコード読み取り部14またはOCR読み取り部15にて読み取られた照明情報を基に人工照明に使用されている3波長の情報を補正情報として取得し、取得した補正情報を用いて画像を補正している。
As described above, in the present embodiment, in the
このように、カメラ制御部17においては、人工照明が蛍光灯である旨の情報だけでなく、蛍光灯に使用する3波長の情報までも補正情報として取得することができるため、3波長の情報に基づいて撮影画像をより適切に補正することができる。 As described above, the camera control unit 17 can acquire not only information indicating that the artificial illumination is a fluorescent lamp but also information on three wavelengths used for the fluorescent lamp as correction information. The captured image can be corrected more appropriately based on the above.
なお、本実施形態においては、バーコード読み取り部14およびOCR読み取り部15の双方を設けた構成としたが、本発明はこれに限定されない。例えば、人口照明にバーコードとしてのみ照明情報が印字されている場合は、バーコード読み取り部14のみを設けることができる。または、人口照明に文字としてのみ照明情報が印字されている場合は、OCR読み取り部15のみを設けることができる。
(第2の実施形態)
第1の実施形態では、人工照明に文字またはバーコードとして印字されている照明情報を読み取り、読み取った照明情報に基づいて人工照明に使用されている3波長の情報を補正情報として取得する構成であった。これに対し、本実施形態では、人工照明から照射される光を直接測定し、その測定結果を示す測定情報に基づいて人工照明に使用されている3波長の情報を補正情報として取得する構成としている。
In the present embodiment, both the
(Second Embodiment)
In the first embodiment, the illumination information printed as characters or barcodes on the artificial illumination is read, and the three-wavelength information used for the artificial illumination is acquired as correction information based on the read illumination information. there were. On the other hand, in this embodiment, the light emitted from the artificial illumination is directly measured, and the three-wavelength information used for the artificial illumination is acquired as correction information based on the measurement information indicating the measurement result. Yes.
図7を参照すると、本実施形態による携帯電話機は、測光手段である分光輝度計24を設けた点が、図1に示した第1の実施形態とは異なる。
Referring to FIG. 7, the cellular phone according to the present embodiment is different from the first embodiment shown in FIG. 1 in that a
分光輝度計24は、人工照明から照射されるR、G、Bの各色の光の波長を測定するものである。この光は、人工照明から直接受けた直接光に限らず、人工照明からの光が室内で反射された間接反射錯乱光でも良い。なお、分光輝度計24は、任意の公知の分光輝度計を使用することができ、一般的なものであれば特に限定されるものではないため、分光輝度計24についての詳細な説明は省略する。
The
本実施形態においては、分光輝度計24により人工照明に使用されている3つの波長を直接測定することができる。そのため、カメラ制御部17において、分光輝度計24により測定された3波長の情報を補正情報として用いて撮影画像をより適切に補正することができる。また、分光輝度計24では、蛍光灯に限らず、他の光源についても各種測定(コントラストや輝度の測定など)を行い、その測定結果のスペクトラム解析を行うことなども可能である。そのため、カメラ制御部17において、分光輝度計24によるスペクトラム解析結果を補正情報として用いて画像補正を行えば、色再現性に優れた画像を得ることができる。
In the present embodiment, the
なお、本実施形態においては、分光輝度計24の他に、バーコード読み取り部14およびOCR読み取り部15を設けているが、バーコード読み取り部14およびOCR読み取り部15を設けない構成にすることも当然に可能である。ただし、分光輝度計24の他に、バーコード読み取り部14およびOCR読み取り部15も設けた場合には、人工照明に使用される3波長の情報を誤って認識する可能性が高い環境において、分光輝度計24の測定結果を基に取得した3波長の情報が誤っていたとしても、その後に、人工照明に印字されている正規の照明情報を基に得られた3波長の情報を用いて画像を再補正することが可能になるという利点がある。
In this embodiment, the
また、本実施形態においては、測光手段として分光輝度計24を用いたが、本発明はこれに限定されない。例えば、カメラ部13の内部において、赤色、緑色、青色の各画素をそれぞれ通過させるカラーフィルタと、各画素のカラーフィルタを通過した光の光強度を測定する光強度測定部とを測光手段として設ける構成としても良い。この構成の場合、カメラ制御部17は、各画素のカラーフィルタを通過した光の光強度の比率(%)を算出し、算出した情報を基にして図2に示したような照明データベース281または不図示の外部サーバ内のデータベースから3波長情報を取得することができる。このとき、各画素のカラーフィルタを通過した光の光強度としては、全画素範囲内における赤色、緑色、青色の各画素の平均値を用いても良く、所定範囲の画素内における赤色、緑色、青色の各画素の平均値を用いても良い。また、カメラ部13の内部において、赤色、緑色、青色の波長をそれぞれ通過させるバンドパスフィルタと、各バンドパスフィルタを通過した光の光強度を測定する光強度測定部とを測光手段として設ける構成としても良い。この構成の場合、カメラ制御部17は、各バンドパスフィルタを通過した光の光強度の比率を算出し、算出した情報を基にして照明データベース281または不図示の外部サーバ内のデータベースから3波長情報を取得することができる。このとき、各波長のバンドパスフィルタを通過した光の光強度としては、全画素範囲内における赤色、緑色、青色の各波長の平均値を用いても良く、所定範囲の画素内における赤色、緑色、青色の各波長の平均値を用いても良い。また、各カラーフィルタを通過した光の光強度の比率と、各バンドパスフィルタを通過した光の光強度の比率とを組み合わせた情報を基にして、照明データベース281または不図示の外部サーバ内のデータベースから3波長情報を取得することもできる。
In the present embodiment, the
11 CPU
12 ROM
13 カメラ部
14 バーコード読み取り部
15 OCR読み取り部
16 フリッカ検出部
17 カメラ制御部
18 作業用メモリ
19 タイマ部
20 表示部
21 表示制御部
22 送受信部
23 入力部
24 分光輝度計
11 CPU
12 ROM
DESCRIPTION OF
Claims (22)
画像を撮影するカメラと、
前記カメラにより人工照明に印字されている照明情報の撮影が行われた場合に、撮影された画像から前記照明情報を読み取る情報読み取り手段と、
前記情報読み取り手段にて読み取られた前記照明情報に基づいて撮影画像の補正に用いる補正情報を取得し、取得した補正情報を用いて撮影画像を補正するカメラ制御手段とを有する携帯端末装置。 A portable terminal device that corrects a photographed image according to artificial lighting to be used when photographing indoors,
A camera for taking images,
Information reading means for reading the illumination information from the captured image when the illumination information printed on the artificial illumination is captured by the camera;
A mobile terminal device comprising: camera control means for acquiring correction information used for correcting a captured image based on the illumination information read by the information reading means, and correcting the captured image using the acquired correction information.
前記情報読み取り手段は、前記カメラにより人工照明に印字されている前記サーバの前記インターネット上のアドレスを示すアドレス情報の撮影が行われた場合に、撮影された画像から前記アドレス情報を読み取り、
前記カメラ制御手段は、前記情報読み取り手段にて読み取られた前記アドレス情報に基づいて前記インターネット上の前記サーバに備えられた前記データベースにアクセスし、当該データベースから前記補正情報を取得する、請求項2に記載の携帯端末装置。 The database is provided in a server on the Internet provided outside the mobile terminal device,
The information reading means reads the address information from the photographed image when photographing of address information indicating the address on the Internet of the server printed on the artificial illumination by the camera is performed,
The camera control means accesses the database provided in the server on the Internet based on the address information read by the information reading means, and acquires the correction information from the database. The mobile terminal device according to 1.
前記カメラ制御手段は、前記携帯端末装置の内部に備えられた前記データベースにアクセスし、当該データベースから前記補正情報を取得する、請求項2に記載の携帯端末装置。 The database is provided in the mobile terminal device,
The mobile terminal device according to claim 2, wherein the camera control unit accesses the database provided in the mobile terminal device and acquires the correction information from the database.
画像を撮影するカメラと、
前記カメラによる撮影が行われた場合に、撮影された画像を基にして人工照明から照射された光について所定項目の測定を行う測光手段と、
前記測光手段にて測定された測定結果を示す測定情報に基づいて撮影画像の補正に用いる補正情報を取得し、取得した補正情報を用いて撮影画像を補正するカメラ制御手段とを有する携帯端末装置。 A portable terminal device that corrects a photographed image according to artificial lighting to be used when photographing indoors,
A camera for taking images,
A photometric means for measuring a predetermined item for the light emitted from the artificial illumination based on the photographed image when photographing by the camera;
A mobile terminal device comprising: camera control means for acquiring correction information used for correcting a captured image based on measurement information indicating a measurement result measured by the photometric means, and correcting the captured image using the acquired correction information .
前記カメラ制御手段は、前記インターネット上の前記サーバに備えられた前記データベースにアクセスし、当該データベースから前記補正情報を取得する、請求項8に記載の携帯端末装置。 The database is provided in a server on the Internet provided outside the mobile terminal device,
The portable terminal device according to claim 8, wherein the camera control unit accesses the database provided in the server on the Internet and acquires the correction information from the database.
前記カメラ制御手段は、前記携帯端末装置の内部に備えられた前記データベースにアクセスし、当該データベースから前記補正情報を取得する、請求項8に記載の携帯端末装置。 The database is provided in the mobile terminal device,
The mobile terminal device according to claim 8, wherein the camera control unit accesses the database provided in the mobile terminal device and acquires the correction information from the database.
前記カメラ制御手段は、前記フリッカ検出手段にて検出されたフリッカ検出結果を示すフリッカ検出情報も前記補正情報として用いて画像補正を行う、請求項1から10のいずれか1項に記載の携帯端末装置。 Based on an image taken by the camera, further comprising flicker detection means for detecting the occurrence of flicker in artificial lighting,
11. The mobile terminal according to claim 1, wherein the camera control unit performs image correction using flicker detection information indicating a flicker detection result detected by the flicker detection unit as the correction information. apparatus.
カメラにより人工照明に印字されている照明情報の撮影が行われた場合に、撮影された画像から前記照明情報を読み取る第1のステップと、
前記第1のステップにて読み取られた前記照明情報に基づいて撮影画像の補正に用いる補正情報を取得し、取得した補正情報を用いて撮影画像を補正する第2のステップとを有する撮影画像補正方法。 A method of correcting a captured image in a mobile terminal device that corrects a captured image according to artificial lighting to be used when shooting indoors,
A first step of reading the illumination information from the photographed image when the illumination information printed on the artificial illumination is captured by the camera;
Captured image correction comprising: a second step of acquiring correction information used for correcting a captured image based on the illumination information read in the first step, and correcting the captured image using the acquired correction information. Method.
前記第2のステップでは、前記第1のステップにて読み取られた前記アドレス情報に基づいて、前記携帯端末装置の外部に設けられた前記インターネット上のサーバに備えられた前記データベースにアクセスし、当該データベースから前記補正情報を取得する、請求項13に記載の撮影画像補正方法。 In the first step, when the address information indicating the address on the Internet printed on the artificial illumination by the camera is also taken, the address information is also read from the taken image,
In the second step, based on the address information read in the first step, the database provided in the server on the Internet provided outside the portable terminal device is accessed, and The captured image correction method according to claim 13, wherein the correction information is acquired from a database.
カメラによる撮影が行われた場合に、撮影された画像を基にして人工照明から照射された光について所定項目の測定を行う第1のステップと、
前記第1のステップにて測定された測定結果を示す測定情報に基づいて撮影画像の補正に用いる補正情報を取得し、取得した補正情報を用いて撮影画像を補正する第2のステップとを有する撮影画像補正方法。 A method of correcting a captured image in a mobile terminal device that corrects a captured image according to artificial lighting to be used when shooting indoors,
A first step of measuring a predetermined item with respect to light emitted from artificial lighting based on a photographed image when photographing by a camera is performed;
A second step of acquiring correction information used for correcting the captured image based on the measurement information indicating the measurement result measured in the first step, and correcting the captured image using the acquired correction information. Shooting image correction method.
前記第2のステップでは、前記第3のステップにて検出されたフリッカ検出結果を示すフリッカ検出情報も前記補正情報として用いて画像補正を行う、請求項12から21のいずれか1項に記載の撮影画像補正方法。 A third step of detecting the occurrence of flicker in the artificial lighting based on the image taken by the camera;
The image correction is performed according to any one of claims 12 to 21, wherein in the second step, flicker detection information indicating a flicker detection result detected in the third step is also used as the correction information. Shooting image correction method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005086135A JP2006270547A (en) | 2005-03-24 | 2005-03-24 | Mobile terminal device, method of correcting photographed image in mobile terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005086135A JP2006270547A (en) | 2005-03-24 | 2005-03-24 | Mobile terminal device, method of correcting photographed image in mobile terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006270547A true JP2006270547A (en) | 2006-10-05 |
Family
ID=37206029
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005086135A Pending JP2006270547A (en) | 2005-03-24 | 2005-03-24 | Mobile terminal device, method of correcting photographed image in mobile terminal device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006270547A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05122708A (en) * | 1991-10-29 | 1993-05-18 | Sony Corp | Electronic camera |
JPH1155679A (en) * | 1997-08-01 | 1999-02-26 | Toshiba Corp | Color flicker correction circuit for ccd camera |
JP2003153288A (en) * | 2001-11-15 | 2003-05-23 | Fuji Photo Film Co Ltd | Imaging apparatus |
JP2004064386A (en) * | 2002-07-29 | 2004-02-26 | Seiko Epson Corp | Digital camera |
JP2004140437A (en) * | 2002-10-15 | 2004-05-13 | Fuji Photo Film Co Ltd | Photographing system, artificial light source, and camera |
JP2005072694A (en) * | 2003-08-28 | 2005-03-17 | Nikon Corp | Image pickup apparatus |
-
2005
- 2005-03-24 JP JP2005086135A patent/JP2006270547A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05122708A (en) * | 1991-10-29 | 1993-05-18 | Sony Corp | Electronic camera |
JPH1155679A (en) * | 1997-08-01 | 1999-02-26 | Toshiba Corp | Color flicker correction circuit for ccd camera |
JP2003153288A (en) * | 2001-11-15 | 2003-05-23 | Fuji Photo Film Co Ltd | Imaging apparatus |
JP2004064386A (en) * | 2002-07-29 | 2004-02-26 | Seiko Epson Corp | Digital camera |
JP2004140437A (en) * | 2002-10-15 | 2004-05-13 | Fuji Photo Film Co Ltd | Photographing system, artificial light source, and camera |
JP2005072694A (en) * | 2003-08-28 | 2005-03-17 | Nikon Corp | Image pickup apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017157034A1 (en) | Method, device, and storage medium for identifying two-dimensional code | |
JP6258555B2 (en) | Multi LED camera flash for color temperature adjustment | |
EP2092734B1 (en) | Camera and method in a camera | |
CN101390010B (en) | Color balanced camera with a flash light unit | |
CN101996305B (en) | There is indicia reading terminal and the method for multiple exposure cycle | |
US20130286236A1 (en) | System and method of adjusting camera image data | |
CN104751195A (en) | Image Processing Utilizing Reference Images | |
CN101877047A (en) | Comprise the indicia reading terminal that frame is handled | |
CN108846351A (en) | Image processing method, device, electronic equipment and computer readable storage medium | |
US20140314320A1 (en) | Apparatus and method for automatically recognizing a qr code | |
CN101911095A (en) | Barcode detection based on morphological operations | |
US7616314B2 (en) | Methods and apparatuses for determining a color calibration for different spectral light inputs in an imaging apparatus measurement | |
US20090002545A1 (en) | Method and system for color management in digital imaging | |
CN110516490B (en) | Handheld terminal and light supplementing lamp control method thereof | |
CN109360254A (en) | Image processing method and device, electronic equipment, computer readable storage medium | |
TW202001229A (en) | Method for evaluating a suitability of lighting conditions for detecting an analyte in a sample using a camera of a mobile device | |
CN109068060A (en) | Image processing method and device, terminal device, computer readable storage medium | |
US9264684B2 (en) | Colour balance processor | |
CN106713775A (en) | Method and apparatus for shooting based on mobile device | |
JP2006270547A (en) | Mobile terminal device, method of correcting photographed image in mobile terminal device | |
EP2658245A1 (en) | System and method of adjusting camera image data | |
CN107948619B (en) | Image processing method, device, computer readable storage medium and mobile terminal | |
JP2017203674A (en) | Change degree derivation device, change degree derivation method, and program | |
CN204313959U (en) | Based on the colourity illumination photometry device of intelligent mobile terminal | |
US8459811B2 (en) | Method and apparatus for illumination |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080213 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100302 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100310 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100414 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100616 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100721 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20100818 |