JP6402797B1 - Imaging apparatus, image acquisition method, and program - Google Patents
Imaging apparatus, image acquisition method, and program Download PDFInfo
- Publication number
- JP6402797B1 JP6402797B1 JP2017072981A JP2017072981A JP6402797B1 JP 6402797 B1 JP6402797 B1 JP 6402797B1 JP 2017072981 A JP2017072981 A JP 2017072981A JP 2017072981 A JP2017072981 A JP 2017072981A JP 6402797 B1 JP6402797 B1 JP 6402797B1
- Authority
- JP
- Japan
- Prior art keywords
- image
- screen
- electronic device
- brightness
- unit
- 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.)
- Active
Links
Images
Landscapes
- Exposure Control For Cameras (AREA)
- Accessories Of Cameras (AREA)
- Studio Devices (AREA)
Abstract
【課題】撮影装置が、より複雑な条件での撮影に対応できるようにする。【解決手段】撮影装置が、画像を取得する画像取得部と、前記画像取得部が取得した第一画像のうち電子機器の画面の領域を検出する画面検出部と、前記第一画像における前記電子機器の画面の領域の明るさに基づいて、画像の明るさのパラメータを調整するパラメータ調整部と、前記パラメータ調整部が調整したパラメータに基づいて前記画像取得部が取得した画像のうち前記電子機器の画面の領域の画像である第二画像を取得する画面領域画像取得部と、を備える。【選択図】図1A photographing apparatus is provided that can cope with photographing under more complicated conditions. An image acquisition unit that acquires an image, a screen detection unit that detects an area of a screen of an electronic device in a first image acquired by the image acquisition unit, and the electronic in the first image A parameter adjustment unit that adjusts an image brightness parameter based on the brightness of a screen area of the device; and the electronic device among images acquired by the image acquisition unit based on a parameter adjusted by the parameter adjustment unit A screen region image acquisition unit that acquires a second image that is an image of the screen region. [Selection] Figure 1
Description
本発明は、撮影装置、画像取得方法及びプログラムに関する。 The present invention relates to a photographing apparatus, an image acquisition method, and a program.
スタンド型スキャナなど撮影対象物とカメラ(画像取得部)とが離れている撮影装置で、周囲からの影響による撮影画像の明るさの変化に対応するための技術が提案されている。
例えば、特許文献1には、撮影画像に対する補正用データの生成のために専用の白基準シートを必要としない補正用データ生成装置が開示されている。この補正用データ生成装置は、画像データが示す画像のうち白紙の像以外の部分である非白紙部分を検出し、検出結果に基づいて補正用データ生成の可否を判定する。補正用データ生成可能と判定した場合、補正用データ生成装置は、画像データに基づいて補正用データを生成する。
There has been proposed a technique for dealing with a change in brightness of a photographed image due to an influence from the surroundings in a photographing apparatus in which a photographing object such as a stand-type scanner is separated from a camera (image acquisition unit).
For example, Patent Document 1 discloses a correction data generation apparatus that does not require a dedicated white reference sheet for generating correction data for a captured image. The correction data generation apparatus detects a non-blank portion that is a portion other than a blank image in the image indicated by the image data, and determines whether correction data can be generated based on the detection result. When it is determined that the correction data can be generated, the correction data generation device generates correction data based on the image data.
撮影対象物とカメラとが離れている撮影装置が、より複雑な条件での撮影に対応できることが好ましい。例えば、1台の撮影装置が、スマートフォンなど電子機器の画面の撮影、及び、書類の撮影の両方に対応できることが好ましい。 It is preferable that a photographing apparatus in which the photographing object is separated from the camera can cope with photographing under more complicated conditions. For example, it is preferable that one photographing apparatus can cope with both photographing of a screen of an electronic device such as a smartphone and photographing of a document.
本発明は、上述の課題を解決することのできる撮影装置、画像取得方法及びプログラムを提供することを目的としている。 An object of the present invention is to provide a photographing apparatus, an image acquisition method, and a program that can solve the above-described problems.
本発明の第1の態様によれば、撮影装置は、画像を取得する画像取得部と、前記画像取得部が取得した画像であって電子機器と書類とを撮影した画像である第一画像のうち前記電子機器の画面の領域を検出する画面検出部と、前記第一画像における前記電子機器の画面の領域の明るさに基づいて、画像の明るさのパラメータを調整するパラメータ調整部と、前記パラメータ調整部が調整したパラメータに基づいて前記画像取得部が取得した画像のうち前記電子機器の画面の領域の画像である第二画像を取得する画面領域画像取得部と、を備える。 According to the first aspect of the present invention, an imaging device includes an image acquisition unit that acquires an image, and an image acquired by the image acquisition unit that is an image of an electronic device and a document . and among the image detecting unit that detects an area of the screen of the electronic device, and a parameter adjusting unit on the basis of the brightness of the area of the screen of the electronic device in the first image, to adjust the parameters of the brightness of the image, the A screen area image acquisition unit that acquires a second image that is an image of the area of the screen of the electronic device among the images acquired by the image acquisition unit based on the parameters adjusted by the parameter adjustment unit.
本発明の第2の態様によれば、画像取得方法は、取得した画像であって電子機器と書類とを撮影した画像である第一画像のうち前記電子機器の画面の領域を検出し、前記第一画像における前記電子機器の画面の領域の明るさに基づいて、画像の明るさのパラメータを調整し、調整したパラメータに基づいて得られた画像のうち前記電子機器の画面の領域の画像である第二画像を取得する、ことを含む。 According to a second aspect of the present invention, the image acquisition method detects the area of the screen of the electronic apparatus of the first image A obtained image is an image obtained by photographing the electronic device and documents, the Based on the brightness of the screen area of the electronic device in the first image, the brightness parameter of the image is adjusted, and among the images obtained based on the adjusted parameter, the image of the screen area of the electronic device Including obtaining a second image.
本発明の第3の態様によれば、プログラムは、コンピュータに、取得した画像であって電子機器と書類とを撮影した画像である第一画像のうち前記電子機器の画面の領域を検出させ、前記第一画像における前記電子機器の画面の領域の明るさに基づいて、画像の明るさのパラメータを調整させ、調整したパラメータに基づいて得られた画像のうち前記電子機器の画面の領域の画像である第二画像を取得させるためのプログラムである。 According to a third aspect of the present invention, the programs, the to detect the area of the screen of the electronic apparatus of the first image A obtained image is an image obtained by photographing the electronic device and documents, The image brightness parameter is adjusted based on the brightness of the screen area of the electronic device in the first image, and the image of the screen area of the electronic device among the images obtained based on the adjusted parameter This is a program for acquiring the second image.
この発明によれば、より複雑な条件での撮影に対応することができる。 According to the present invention, it is possible to cope with photographing under more complicated conditions.
以下、本発明の実施形態を説明するが、以下の実施形態は請求の範囲にかかる発明を限定するものではない。また、実施形態の中で説明されている特徴の組み合わせの全てが発明の解決手段に必須であるとは限らない。
図1は、本発明の実施形態に係る撮影装置の概略外形の例を示す斜視図である。図1に示すように、撮影装置100は、載置台110と、支柱120と、画像取得部130と、操作入力部160とを備える。載置台110は、ガイド111を備える。また、図1では、撮影対象物900の例としてスマートフォン(Smartphone)910と書類920とが載置台110に載置されている。スマートフォン910は電子機器の例に該当する。
Hereinafter, although embodiment of this invention is described, the following embodiment does not limit the invention concerning a claim. In addition, not all the combinations of features described in the embodiments are essential for the solving means of the invention.
FIG. 1 is a perspective view illustrating an example of a schematic external shape of a photographing apparatus according to an embodiment of the present invention. As shown in FIG. 1, the photographing
撮影装置100は、スタンド型スキャナであり、載置台110に載置された撮影対象物900を撮影して画像を生成する。撮影装置100は、例えば文字認識又はバーコードの読取など画像処理可能な明るさの画像を生成する。
特に、撮影装置100は、電子機器の画面の撮影及び書類の撮影の両方に対応可能である。撮影装置100は、電子機器と書類と同時に載置台110に載置されている状態で、電子機器の画面及び書類のそれぞれについて、画像処理可能な明るさの画像を生成する。
The
In particular, the photographing
撮影装置100が、電子機器の画面の撮影及び書類の撮影の両方に対応可能であることで、ユーザは、書類用、電子機器用それぞれに撮影装置を用意する必要がない。この点で、設備のコストを低減させることができ、また、撮影装置を設置するスペースが1台分で済む。
また、撮影装置100が、電子機器と書類とが同時に載置台110に載置されている状態で、電子機器の画面及び書類のそれぞれについて画像処理可能な明るさの画像を生成ことで、ユーザは、書類及び電子機器を載置場所に載置する作業が1度で済む。この点で、ユーザの負担を低減させることができる。
Since the photographing
Further, the
載置台110は、撮影対象物900の載置を受ける台である。撮影装置100は、載置台110の上面のうち端部を除く所定範囲を画角として撮影を行うことで、載置台110に載置されている撮影対象物900を撮影する。
ガイド111は、撮影装置100が撮影する画像の向きに合わせて書類を載置するためのガイドである。ユーザは、載置台110に書類を載置する場合、書類の辺をガイド111に当接させて載置することで、書類の縦横を撮影画像の縦横に合わせることができる。
The mounting table 110 is a table on which the object to be imaged 900 is mounted. The
The
但し、載置台110が撮影装置100の一部として構成されていなくてもよい。例えば、撮影装置100を机上に立てて使用する形態とし、ユーザが、机上の撮影装置100が撮影可能な領域に撮影対象物900を載置するようにしてもよい。
また、撮影装置100は、スタンド型スキャナに限らず、撮影対象物と撮影部とが離れている撮影装置であればよい。例えば、画像取得部130が載置台110の上方に天井から吊下げられて構成されていてもよい。
However, the mounting table 110 may not be configured as a part of the
The photographing
支柱120は、載置台110の上部に立てられて設けられ、画像取得部130を支持する。これにより、支柱120は、画像取得部130を載置台110の上面から所定の距離に固定する。
画像取得部130は、載置台110の方を向いて支柱120に支持され、載置台110に載置された撮影対象物900を撮影する。画像取得部130は、撮影対象物900を撮影することで撮影対象物900の画像を画像データにて取得する。
The
The
特に、画像取得部130は、電子機器と書類とが載置台110に載置された状態で、電子機器と書類とを撮影した第一画像を取得する。ここでいう第一画像は、後述する電子機器の画面の画像取得のための明るさ調整前の状態で画像取得部130が取得する画像である。画像取得部130は、明るさ調整後の状態でも撮影を行って、電子機器の画面を読み取り可能な画像を取得する。
In particular, the
図2は、画像取得部130の構成例を示す概略構成図である。図2の例で、画像取得部130は、ミラー131と、レンズ群132と、イメージセンサ133とを備える。
ミラー131は、載置台110に載置された撮影対象物900からの光をレンズ群132へ向けて反射させる。
レンズ群132は、ミラー131で反射してレンズ群132に入射する撮影対象物900からの光を屈折させ、イメージセンサ133の撮影面に撮影対象物900の像を結像させる。
FIG. 2 is a schematic configuration diagram illustrating a configuration example of the
The
The
イメージセンサ133は、撮影面に入射する光を電気信号に変換する。画像取得部130は、この電気信号をアンプで増幅してデジタル化することで、撮影画像を画像データにて生成する。
特に、イメージセンサ133は、撮影対象物900が載置台110に載置された状態で、撮影対象物900からの光を電気信号に変換する。画像取得部130は、この電気信号に基づいて撮影対象物900の画像を生成する。
The
In particular, the
図3は、撮影装置100の機能構成を示す概略ブロック図である。撮影装置100は、図1及び図2に示す各部に加えて、表示部170と、記憶部180と、制御部190とを備える。制御部190は、画面検出部191と、パラメータ調整部192と、画面領域画像取得部193と、明るさ不足時処理部194と、画像処理部195とを備える。
FIG. 3 is a schematic block diagram illustrating a functional configuration of the
操作入力部160は、例えば押ボタン等の入力デバイスを備え、ユーザ操作を受ける。例えば、操作入力部160は、画像取得部130に撮影を行わせるよう指示するシャッター操作を受ける。或いは、撮影装置100が撮影対象物の載置台110への載置を自動的に検出して自動的に撮影を行うようにしてもよい。
表示部170は、例えば液晶パネル等の表示画面を備え、各種画像を表示する。特に表示部170は、画像取得部130が撮影した画像のうち電子機器の画面の領域の明るさを所定の明るさ以上に出来ない場合に、警報メッセージを表示する。
但し、撮影装置100が警報を出力する方法は、表示部170がメッセージを表示する方法に限らない。例えば、撮影装置100がスピーカを備え、警報メッセージの表示に加え、或いは代えて、音声にて警報を出力するようにしてもよい。
The
The
However, the method by which the photographing
記憶部180は、各種データを記憶する。記憶部180は、撮影装置100が備える記憶デバイスを用いて構成される。
制御部190は、撮影装置100の各部を制御して各種処理を行う。制御部190は、撮影装置100が備えるCPU(Central Processing Unit、中央処理装置)が記憶部180からプログラムを読み出して実行することで構成される。
The
The
画面検出部191は、画像取得部130が取得した第一画像のうち電子機器の画面の領域を検出する。
図4は、画面検出部191が検出する電子機器の画面の領域の例を示す図である。図4では、第一画像のうち電子機器の画像を含む部分が示されている。画面検出部191は、電子機器の画像のうち、画面の領域を検出し、検出した画面を含む矩形の領域A11を電子機器の画面の領域として検出している。領域A11は、縦横が第一画像の縦横に一致し、かつ、電子機器の画面の領域を全て含む矩形領域のうち最小の領域である。
The
FIG. 4 is a diagram illustrating an example of the screen area of the electronic device detected by the
但し、画面検出部191が検出する領域はこれに限らない。例えば、画面検出部191が、電子機器の画面の領域そのものを検出するようにしてもよい。
また、画面検出部191が電子機器の画面の領域を検出する方法は、特定の方法に限定されない。例えば、記憶部180が、電子機器の画像のテンプレートまたは特徴量を予め記憶しておき、画面検出部191が、パターンマッチングにて電子機器の画像を検出し、さらに、検出した電子機器の画像のうち画面の領域を特定するようにしてもよい。或いは、画面検出部191が、例えば深層学習(Deep Learning)等の機械学習を行って電子機器の画面の領域を検出するようにしてもよい。
However, the area detected by the
Further, the method for detecting the screen area of the electronic device by the
パラメータ調整部192は、画面検出部191が、画像取得部130が取得した第一画像のうち電子機器の画面の領域を検出した場合に、その領域の明るさに基づいて、画像の明るさのパラメータを調整する。パラメータ調整部192が調整するパラメータの例として露光時間、及び、イメージセンサ133からの電気信号を増幅する際のゲインが挙げられるが、これらに限定されない。
When the
画面領域画像取得部193は、第二画像を取得する。ここでいう第二画像は、パラメータ調整部192が調整したパラメータに基づいて画像取得部130が取得した画像のうち電子機器の画面の領域の画像である。
図5は、画面領域画像取得部193が取得する第二画像の例を示す図である。
図5の例では、画面領域画像取得部193は、パラメータ調整部192によるパラメータ調整後に画像取得部130が撮影した画像のうち、図4の領域A11に相当する領域の画像を第二画像として取得ている。パラメータ調整部192がパラメータを調整したことで、第二画像は、第一画像のうち電子機器の画面の領域よりも明るい画像となっている。
図5の例の場合、電子機器は、バーコードを画面に表示している。第二画像は、第一画像のうち電子機器の画面の領域よりも明るい画像となっていることで、バーコードの読取に、より適した画像となっている。
The screen area
FIG. 5 is a diagram illustrating an example of the second image acquired by the screen area
In the example of FIG. 5, the screen area
In the example of FIG. 5, the electronic device displays a barcode on the screen. The second image is an image that is brighter than the area of the screen of the electronic device in the first image, so that the image is more suitable for barcode reading.
例えば、パラメータ調整部192がパラメータの調整を行った後に、画像取得部130が、第一画像の撮影時と同じ画角で撮影を行うなど、電子機器の画面の領域とそれ以外の領域とを含む画像を取得するようにしてもよい。この場合、画面領域画像取得部193は、画像取得部130が取得した画像のうち電子機器の画面の領域を第二画像として切り出す。
或いは、画像取得部130が、電子機器の画面にズームアップする、或いは、電子機器の画面の領域のみを画像データ化するなど、電子機器の画面の領域の画像データを生成するようにしてもよい。この場合、画面領域画像取得部193は、画像取得部130が生成した画像データを第二画像として取得する。
For example, after the
Alternatively, the
明るさ不足時処理部194は、第二画像の明るさが閾値よりも暗いと判定した場合、所定の処理を行う。例えば明るさ不足時処理部194は、第二画像の明るさが閾値よりも暗いと判定した場合、電子機器の画面が暗い旨の警報メッセージを表示部170に表示させる。
ここで、電子機器の画面が暗い原因の1つに、電子機器が節電モードに入って画面を暗くする或いは画面をオフにすることが考えられる。この場合、表示部170が表示する警報メッセージを参照したユーザが電子機器を操作して画面を明るい状態に戻し、画像取得部130が再び撮影を行うことで、電子機器の画面が明るく写っている画像を得られる。
但し、明るさ不足時処理部194が行う処理は、警報メッセージの出力に限定されない。例えば、明るさ不足時処理部194が電子機器を直接制御可能な場合、電子機器の画面を明るくするように、制御信号を電子機器に送信するようにしてもよい。
When the brightness
Here, it is conceivable that one of the causes of the dark screen of the electronic device is that the electronic device enters the power saving mode to darken the screen or turn off the screen. In this case, the user who refers to the warning message displayed on the
However, the processing performed by the insufficient
また、明るさ不足時処理部194が、第二画像の明るさが閾値(第一閾値)よりも暗いか否かの判定に加えて、或いは代えて、第二画像の明るさが閾値(第二閾値)よりも明るいか否かの判定を行うようにしてもよい。例えば、撮影装置が暗い環境下で高感度カメラを用いて撮影を行う場合、電子機器の画面が明るすぎる可能性がある。明るさ不足時処理部194が、このように電子機器の画面が明るすぎる場合を検出するようにしてもよい。
Further, in addition to or instead of determining whether the brightness of the second image is darker than the threshold (first threshold), the brightness
第二画像の明るさが第二閾値よりも明るいと判定した場合、明るさ不足時処理部194が、電子機器の画面が明るい場合の処理として予め定められている処理を行うようにしてもよい。例えば、明るさ不足時処理部194が、電子機器の画面が明るすぎる旨の警報メッセージを表示部170に表示させるようにしてもよい。あるいは、明るさ不足時処理部194が電子機器を直接制御可能な場合、電子機器の画面を暗くするように、制御信号を電子機器に送信するようにしてもよい。明るさ不足時処理部194が行う処理に応じて電子機器の画面が暗くなることで、画像取得部130は、画像処理部195が画像処理可能な明るさの電子機器の画面の画像を撮影し得る。
このように、明るさ不足時処理部194は、明るさ不適切時処理部の例に該当し、第二画像の明るさが所定範囲外であると判定した場合、所定の処理を行う。
When it is determined that the brightness of the second image is brighter than the second threshold, the insufficient-
As described above, the insufficient
画像処理部195は、例えば文字認識及びバーコードの読取などの画像処理を行う。
また、画像処理部195が、文字認識及びバーコードの読取などの画像処理に加えて、或いは代えて、第一画像に第二画像を貼り付ける画像処理を行うようにしてもよい。例えば、画像処理部195が、第一画像のうち、第二画像に相当する部分(電子機器の画面の領域)を第二画像で置き換えるようにしてもよい。
画像処理部195が、第一画像に第二画像を貼り付けることで、書類と電子機器の画面とのいずれも読取可能な1つの画像を得られ、いわば画像ファイルの一元化を行うことができる。これにより、ユーザは、1つに纏められた画像を管理すればよく、この点でユーザの負担が軽くて済む。
The
Further, the
The
さらに、画像処理部195が、第一画像に第二画像を貼り付けて得られた画像に対して、電子署名を付与するなど改ざん防止処理を行うようにしてもよい。
画像処理部195が、第一画像に第二画像を貼り付けて得られた画像に対して改ざん防止処理を行うことで、得られた画像が、書類と電子機器とが同時に載置台110に載置されて撮影された画像であることを示すことができる。この点で、画像処理部195は、書類の撮影と電子機器の画面の撮影との同時性を示すことができる。例えばユーザは、電子機器の画面と、新聞紙など日付が記載された物とを撮影装置100が撮影した画像を、電子機器の画面が表示されていた日付を示す証拠として用いることができる。
Furthermore, the
The
次に図6を参照して撮影装置100の動作について説明する。
図6は、撮影装置100が書類の画像及び電子機器の画面の画像を取得する処理手順の例を示すフローチャートである。図6では、電子機器がスマートフォンである場合を例に説明するが、撮影装置100が撮影する電子機器はスマートフォンに限定されない。例えば、撮影装置100が撮影する電子機器は、小型のタブレット端末装置であってもよい。
Next, the operation of the photographing
FIG. 6 is a flowchart illustrating an example of a processing procedure in which the photographing
図6の処理で、画像取得部130が撮影を行って載置台110の画像を取得する(ステップS111)。載置台110に書類及びスマートフォンが載置されている場合、画像取得部130が撮影する画像には、これら書類及びスマートフォンが写っている。但し、パラメータ調整部192がパラメータを調整する前の画像では、スマートフォンの画面の画像が暗く、画像処理部195がスマートフォンの画面の画像に対して画像処理を行うことはできない。
In the process of FIG. 6, the
次に、画像処理部195は、ステップS111で得られた画像に写っている書類の画像に対して、例えば文字認識等の画像処理を行う(ステップS112)。
また、画面検出部191は、ステップS111で得られた画像のうち、スマートフォンが写っている領域を検出する処理を行う(ステップS113)。そして、画面検出部191は、スマートフォンの検出に成功したか否かを判定する(ステップS114)。検出に失敗したと判定した場合(ステップS114:NO)。図6の処理を終了する。この場合、載置台110にスマートフォンが載置されていないことが考えられる。
Next, the
In addition, the
一方、スマートフォンの検出に成功したと判定した場合(ステップS114:YES)、画面検出部191は、スマートフォンが写っている領域からスマートフォンの画面の画像を切り出す(ステップS121)。
パラメータ調整部192は、画面検出部191が切り出したスマートフォンの画面の画像の明るさを検出する(ステップS122)。例えば、パラメータ調整部192は、スマートフォンの画面の画像の画素値に基づいて、スマートフォンの画面の画像全体の明るさを算出する。
On the other hand, when it determines with the detection of a smart phone having been successful (step S114: YES), the
The
次に、パラメータ調整部192は、ステップS122で検出した明るさが適切な明るさか否かを判定する(ステップS123)。例えば、パラメータ調整部192は、ステップS122で検出した明るさが所定の範囲内に含まれているか否かを判定する。
適切な明るさであると判定した場合(ステップS123:YES)、画像処理部195は、スマートフォンの画面の画像に対して、例えば画面に表示されているバーコードを読み取る等の処理を行う(ステップS131)。
Next, the
If it is determined that the brightness is appropriate (step S123: YES), the
一方、ステップS122で検出した明るさが適切な明るさでないと判定した場合(ステップS123:NO)、パラメータ調整部192は、ステップS122で検出した明るさが、エラー閾値以上か否かを判定する(ステップS141)。ここでいうエラー閾値は、パラメータの設定では対応が困難な明るさの閾値として予め定められている閾値である。
ステップS122で検出した明るさがエラー閾値以上であると判定した場合(ステップS141:YES)、パラメータ調整部192は、撮影パラメータを変更する(ステップS151)。例えば、スマートフォン画面の画像が暗い場合、パラメータ調整部192は、露光時間を長くし、イメージセンサ133からの電気信号を増幅する際のゲインの値を大きくする。
そして、画像取得部130は、ステップS151でパラメータ調整部192が変更した撮影パラメータの条件下で載置台110を撮影して画像を取得する(ステップS152)。
ステップS152の後、ステップS121へ戻る。
On the other hand, when it is determined that the brightness detected in step S122 is not appropriate (step S123: NO), the
If it is determined that the brightness detected in step S122 is greater than or equal to the error threshold (step S141: YES), the
Then, the
After step S152, the process returns to step S121.
一方、ステップS122で検出した明るさがエラー閾値よりも小さいと判定した場合(ステップS141:NO)、明るさ不足時処理部194が、スマートフォンの画面の明るさが不足している旨を示す警報メッセージを表示する(ステップS161)。そして、所定時間の経過を待った後(ステップS162)、ステップS121へ戻る。ステップS162での時間待ちの間に、ユーザがスマートフォンの画面を明るくする操作を行うことで、画像取得部130は、画像処理部195が画像処理可能な明るさのスマートフォンの画面の画像を撮影し得る。
On the other hand, if it is determined that the brightness detected in step S122 is smaller than the error threshold (step S141: NO), the low
以上のように、画面検出部191は、画像取得部130が撮影した第一画像のうち電子機器の画面の領域を検出する。パラメータ調整部192は、第一画像における電子機器の画面の領域の明るさに基づいて、画像の明るさのパラメータを調整する。画面領域画像取得部193は、パラメータ調整部192が調整したパラメータに基づいて画像取得部130が撮影した画像のうち電子機器の画面の領域の画像である第二画像を取得する。
これにより、撮影装置100は、スマートフォンなど電子機器の画面の撮影、及び、書類の撮影の両方に対応できる。この点で、撮影装置100によれば、より複雑な条件での撮影に対応できる。
As described above, the
Thereby, the
また、画像取得部130は、電子機器と書類とを撮影した第一画像を取得する。
これにより、撮影装置100は、電子機器と書類とが同時に載置台110に載置されている状態で、電子機器の画面の画像、書類の画像のいずれについても、適切な明るさの画像を得られる。ユーザが、載置台110へ電子機器を載置した後、書類に置き換える、或いは、載置台110へ書類を載置した後、電子機器に置き換えるといった置き換えを行う必要がない点で、ユーザの負担が小さくて済む。
The
As a result, the photographing
また、明るさ不足時処理部194は、第二画像の明るさが所定範囲外であると判定した場合、所定の処理を行う。
例えば、明るさ不足時処理部194は、第二画像の明るさが閾値よりも暗いと判定した場合、所定の処理を行う。明るさ不足時処理部194が行う処理に応じて電子機器の画面が明るくなることで、画像取得部130は、画像処理部195が画像処理可能な明るさの電子機器の画面の画像を撮影し得る。
上記のように、明るさ不足時処理部194が、第二画像の明るさが閾値よりも暗いと判定した場合に加えて、或いは代えて、第二画像の明るさが閾値よりも明るいと判定した場合に所定の処理を行うようにしてもよい。明るさ不足時処理部194が行う処理に応じて電子機器の画面が明るくなることで、画像取得部130は、画像処理部195が画像処理可能な明るさの電子機器の画面の画像を撮影し得る。
In addition, when the brightness
For example, when the brightness
As described above, in addition to or instead of the case where the brightness
また、画像処理部195は、第一画像に第二画像を貼り付ける。
画像処理部195が、第一画像に第二画像を貼り付けることで、書類と電子機器の画面とのいずれも読取可能な1つの画像を得られる。これにより、ユーザは、1つに纏められた画像を管理すればよく、この点でユーザの負担が軽くて済む。
Further, the
The
また、画像処理部195は、第一画像に第二画像を貼り付けた画像に改ざん防止処理を行う。
画像処理部195が、第一画像に第二画像を貼り付けて得られた画像に対して改ざん防止処理を行うことで、得られた画像が、書類と電子機器とが同時に載置台110に載置されて撮影された画像であることを示すことができる。例えばユーザは、電子機器の画面と、新聞紙など日付が記載された物とを撮影装置100が撮影した画像を、電子機器の画面が表示されていた日付を示す証拠として用いることができる。
Further, the
The
次に、図7を参照して本発明の最小構成について説明する。
図7は、本発明に係る撮影装置の最小構成の例を示す図である。図7に示す撮影装置10は、画像を取得する画像取得部11と、画面検出部12と、パラメータ調整部13と、画面領域画像取得部14とを備える。
かかる構成にて、画面検出部12は、画像取得部11が取得した第一画像のうち電子機器の画面の領域を検出する。パラメータ調整部13は、第一画像における電子機器の画面の領域の明るさに基づいて、画像の明るさのパラメータを調整する。画面領域画像取得部14は、パラメータ調整部13が調整したパラメータに基づいて画像取得部11が取得した画像のうち電子機器の画面の領域の画像である第二画像を取得する。
これにより、撮影装置10は、電子機器の画面の撮影、及び、書類の撮影の両方に対応できる。この点で、撮影装置10によれば、より複雑な条件での撮影に対応できる。
Next, the minimum configuration of the present invention will be described with reference to FIG.
FIG. 7 is a diagram showing an example of the minimum configuration of the photographing apparatus according to the present invention. The
With this configuration, the
Thereby, the
なお、制御部190の機能の全部または一部を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することで各部の処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。
また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであっても良い。
It should be noted that a program for realizing all or part of the functions of the
The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. The program may be a program for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in a computer system.
以上、この発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計等も含まれる。 The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes designs and the like that do not depart from the gist of the present invention.
100 撮影装置
110 載置台
111 ガイド
120 支柱
130 画像取得部
160 操作入力部
170 表示部
180 記憶部
190 制御部
191 画面検出部
192 パラメータ調整部
193 画面領域画像取得部
194 明るさ不足時処理部
195 画像処理部
DESCRIPTION OF
Claims (6)
前記画像取得部が取得した画像であって電子機器と書類とを撮影した画像である第一画像のうち前記電子機器の画面の領域を検出する画面検出部と、
前記第一画像における前記電子機器の画面の領域の明るさに基づいて、画像の明るさのパラメータを調整するパラメータ調整部と、
前記パラメータ調整部が調整したパラメータに基づいて前記画像取得部が取得した画像のうち前記電子機器の画面の領域の画像である第二画像を取得する画面領域画像取得部と、
を備える撮影装置。 An image acquisition unit for acquiring images;
A screen detector for detecting a region of a screen of the electronic apparatus of the first image is an image obtained by photographing the electronic device and the document to an image by the image acquisition unit has acquired,
A parameter adjustment unit that adjusts the brightness parameter of the image based on the brightness of the screen area of the electronic device in the first image;
A screen region image acquisition unit that acquires a second image that is an image of a region of the screen of the electronic device among the images acquired by the image acquisition unit based on the parameters adjusted by the parameter adjustment unit;
An imaging device comprising:
請求項1または請求項2に記載の撮影装置。 An image processing unit that pastes the second image on the first image;
The imaging device according to claim 1 or 2 .
請求項3に記載の撮影装置。 The image processing unit performs a falsification preventing process on an image obtained by pasting the second image on the first image.
The imaging device according to claim 3 .
前記第一画像における前記電子機器の画面の領域の明るさに基づいて、画像の明るさのパラメータを調整し、
調整したパラメータに基づいて得られた画像のうち前記電子機器の画面の領域の画像である第二画像を取得する、
ことを含む画像取得方法。 A acquired image to detect an area of the screen of the electronic apparatus of the first image is an image obtained by photographing the electronic device and documents,
Adjusting the brightness parameter of the image based on the brightness of the screen area of the electronic device in the first image;
Obtaining a second image that is an image of an area of the screen of the electronic device among images obtained based on the adjusted parameters;
An image acquisition method including the above.
取得した画像であって電子機器と書類とを撮影した画像である第一画像のうち前記電子機器の画面の領域を検出させ、
前記第一画像における前記電子機器の画面の領域の明るさに基づいて、画像の明るさのパラメータを調整させ、
調整したパラメータに基づいて得られた画像のうち前記電子機器の画面の領域の画像である第二画像を取得させる
ためのプログラム。 On the computer,
A captured image is detected the area of the screen of the electronic apparatus of the first image is an image obtained by photographing the electronic device and documents,
Based on the brightness of the screen area of the electronic device in the first image, adjust the brightness parameter of the image,
A program for acquiring a second image, which is an image of a screen area of the electronic device, among images obtained based on the adjusted parameters.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017072981A JP6402797B1 (en) | 2017-03-31 | 2017-03-31 | Imaging apparatus, image acquisition method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017072981A JP6402797B1 (en) | 2017-03-31 | 2017-03-31 | Imaging apparatus, image acquisition method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP6402797B1 true JP6402797B1 (en) | 2018-10-10 |
JP2018174505A JP2018174505A (en) | 2018-11-08 |
Family
ID=63788065
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017072981A Active JP6402797B1 (en) | 2017-03-31 | 2017-03-31 | Imaging apparatus, image acquisition method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6402797B1 (en) |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005031912A (en) * | 2003-07-10 | 2005-02-03 | Ricoh Co Ltd | Image input device and image processing program |
JP5934824B2 (en) * | 2015-04-17 | 2016-06-15 | 京セラドキュメントソリューションズ株式会社 | Scanner device and image forming apparatus |
-
2017
- 2017-03-31 JP JP2017072981A patent/JP6402797B1/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2018174505A (en) | 2018-11-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9609206B2 (en) | Image processing apparatus, method for controlling image processing apparatus and storage medium | |
US9413939B2 (en) | Apparatus and method for controlling a camera and infrared illuminator in an electronic device | |
JP6448674B2 (en) | A portable information processing apparatus having a camera function for performing guide display for capturing an image capable of character recognition, a display control method thereof, and a program | |
US20180139369A1 (en) | Backlit face detection | |
JP6412386B2 (en) | Image processing apparatus, control method therefor, program, and recording medium | |
TW201224628A (en) | Image obtaining device, projector, and method thereof | |
JP2013012940A (en) | Tracking apparatus and tracking method | |
US9160928B2 (en) | Image capture apparatus sensing image capturing condition, image processing method, and storage medium | |
JP6402797B1 (en) | Imaging apparatus, image acquisition method, and program | |
JP2006050255A (en) | Large screen display system and its luminance correction method | |
JP2011050048A (en) | Imaging apparatus | |
JP2011175583A (en) | Display device and program | |
JP2014056169A (en) | Focus adjustment device and focus adjustment method | |
JP2019016843A (en) | Document reading device, control method of document reading device, and program | |
CA2794067C (en) | Apparatus and method for controlling a camera and infrared illuminator in an electronic device | |
JPWO2011141972A1 (en) | Luminance correction apparatus, luminance correction system, and luminance correction method | |
JP6551451B2 (en) | Reading device, image display device, processing method and program | |
JP5156565B2 (en) | Information recording / reproducing device | |
JP2015126281A (en) | Projector, information processing method, and program | |
JP2018133686A (en) | Imaging apparatus, image processing device, control method therefor and program | |
JP5023724B2 (en) | Projector and camera | |
KR20100073766A (en) | Digital photographing apparatus and method for controlling the same | |
US20120127101A1 (en) | Display control apparatus | |
JP2006157155A (en) | Document camera | |
JP2006140797A (en) | Image processor and image processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20180814 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180827 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6402797 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |