JP4487771B2 - Imaging apparatus, imaging method, and program - Google Patents
Imaging apparatus, imaging method, and program Download PDFInfo
- Publication number
- JP4487771B2 JP4487771B2 JP2004379663A JP2004379663A JP4487771B2 JP 4487771 B2 JP4487771 B2 JP 4487771B2 JP 2004379663 A JP2004379663 A JP 2004379663A JP 2004379663 A JP2004379663 A JP 2004379663A JP 4487771 B2 JP4487771 B2 JP 4487771B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- determination
- identification mark
- photographing
- captured image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Images
Landscapes
- Studio Devices (AREA)
Description
本発明は、撮影装置、撮影方法及びプログラムに関するものである。 The present invention relates to a photographing apparatus, a photographing method, and a program.
近年、撮影装置として、台座に載置された原稿をカメラで撮影し、撮影によって得られた撮影画像を、プロジェクタを用いてスクリーン上に投影するものがある(例えば、特許文献1参照)。 2. Description of the Related Art In recent years, there is a photographing apparatus that photographs a document placed on a pedestal with a camera and projects a photographed image obtained by photographing on a screen using a projector (see, for example, Patent Document 1).
このような撮影装置として、原稿を差し替えたときに原稿が動いたと判定し、このときにのみ、原稿の画像を取得するための本撮影を行うようにしたものがある。
しかし、このような撮影装置では、例えば、カメラが設置されている机が揺れたり、撮影範囲内に影が入ったりした場合に、原稿は動いていないにもかかわらず、原稿に動きがあると誤判定してしまう。このように誤判定すると、撮影装置は、不要な撮影を行うことになる。 However, in such a photographing apparatus, for example, when the desk on which the camera is installed shakes or a shadow enters the photographing range, the original is not moving but the original is moving. Misjudgment. If erroneous determination is made in this way, the photographing apparatus performs unnecessary photographing.
本発明は、このような従来の問題点に鑑みてなされたもので、不要な撮影を防止することが可能な撮影装置、撮影方法及びプログラムを提供することを目的とする。 SUMMARY An advantage of some aspects of the invention is that it provides a photographing apparatus, a photographing method, and a program capable of preventing unnecessary photographing.
この目的を達成するため、本発明の第1の観点に係る撮影装置は、
原稿が載置される台座上を撮影する撮影装置において、
前記台座は、前記原稿が載置される位置に予め識別印が印されたものであって、
前記台座の前記原稿が載置される位置に向けて撮影を行う撮影部と、
前記撮影部に仮撮影を行わせて得られた撮影画像に前記識別印が含まれているか否かを判定し、前記撮影画像に前記識別印画像が含まれていると判定した場合に、前記撮影部に繰り返し仮撮影を行わせて得られた撮影画像に基づいて撮影画像の変化を判別し、撮影画像に動きがあったか否かを判定する第1の判定部と、
前記撮影画像に動きありと前記第1の判定部が判定した場合、前記第1の判定部が前記撮影部に仮撮影を行わせたときの撮影画像に前記識別印の識別印画像が含まれているか否かを再判定する第2の判定部と、
前記撮影画像に前記識別印の識別印画像が含まれていると前記第2の判定部が判定した場合、前記第1の判定部の判定は誤判定として、前記原稿の画像を取得するための本撮影を行わないように前記撮影部を制御する撮影制御部と、を備えたことを特徴とする。
In order to achieve this object, an imaging device according to the first aspect of the present invention provides:
In a photographing device for photographing a pedestal on which a document is placed ,
The pedestal is one in which an identification mark is pre-marked at a position where the document is placed,
An imaging unit that performs imaging toward a position on the pedestal where the document is placed;
When it is determined whether or not the identification mark is included in the captured image obtained by causing the imaging unit to perform provisional imaging, and when it is determined that the identification mark image is included in the captured image, A first determination unit that determines a change in a captured image based on a captured image obtained by repeatedly performing provisional capturing on the capturing unit, and determines whether or not the captured image has moved;
When said first determination unit that there is a motion in the photographed image is determined, the include indicia image indicia in the captured image when said first determination unit has to perform the temporary photographing the photographing unit A second determination unit that re-determines whether or not
When the second determination unit determines that the identification mark image of the identification mark is included in the photographed image, the determination of the first determination unit is an erroneous determination to acquire the image of the document. A photographing control unit that controls the photographing unit so as not to perform the main photographing.
前記撮影制御部は、前記撮影画像に前記識別印の識別印画像が含まれていないと前記第2の判定部が判定した場合、前記第2の判定部の判定は正しいものとして、前記本撮影を行うように前記撮影部を制御するようにしてもよい。 When the second determination unit determines that the identification image of the identification mark is not included in the captured image, the imaging control unit assumes that the determination of the second determination unit is correct and the actual imaging You may make it control the said imaging | photography part so that it may perform.
前記第2の判定部は、前記撮影画像を走査して、走査方向に前記識別印の画像の画素値をカウントして投影ヒストグラムを生成し、生成した投影ヒストグラムから前記識別印の画像に対応するパターンを検出した場合に、前記撮影画像に前記識別印の画像が含まれていると判定するようにしてもよい。 The second determination unit scans the captured image, counts the pixel values of the image of the identification mark in the scanning direction, generates a projection histogram, and corresponds to the image of the identification mark from the generated projection histogram. When a pattern is detected, it may be determined that the image of the identification mark is included in the captured image.
前記第1の判定部は、前仮撮影時の撮影画像の各画素値と現仮撮影時の撮影画像の画素値との差分をすべての画素について取得し、取得したすべての差分の総和を両撮影画像の画像変化量として取得し、取得した画像変化量と予め設定された閾値とを比較することによって前記撮影画像の変化を判別するようにしてもよい。 The first determination unit obtains a difference between each pixel value of the photographed image at the time of previous provisional photographing and a pixel value of the photographed image at the time of current provisional photographing for all pixels, and sums all the obtained differences. It may be acquired as an image change amount of a captured image, and the change in the captured image may be determined by comparing the acquired image change amount with a preset threshold value.
本発明の第2の観点に係る撮影方法は、
原稿が載置され、予め識別印が記された台座上を撮影する撮影方法であって、
撮影された画像に前記識別印が含まれているか否かを判定する判定用の仮撮影として仮撮影を行い、得られた撮影画像に前記識別印の識別印画像が含まれているか否かを判定するステップと、
前記撮影画像に前記識別印画像が含まれていると判定した場合に、撮像画像の動き判定用の仮撮影として、前記台座上を繰り返し撮影するステップと、
動き判定用の仮撮影を繰り返し行って得られた撮影画像に基づいて前記撮影画像の変化を判別し、第1の判定として、撮影画像に動きがあったか否かを判定するステップと、
前記撮影画像に動きありと判定した場合、第2の判定として、第1の判定において動き判定用の仮撮影を行ったときの撮影画像に前記識別印の識別印画像が含まれているか否かを再判定するステップと、
前記第2の判定において前記撮影画像に前記識別印の識別印画像が含まれていると判定した場合、前記第1の判定は誤判定として、前記原稿の画像を取得するための本撮影を行わないようにするステップと、を備えたことを特徴とする。
The imaging method according to the second aspect of the present invention is:
A photographing method for photographing a pedestal on which a document is placed and on which an identification mark is previously written ,
Temporary photographing is performed as temporary photographing for determination for determining whether or not the identification mark is included in the photographed image, and whether or not the identification mark image of the identification mark is included in the obtained photographed image. A determining step;
When it is determined that the identification mark image is included in the captured image, a step of repeatedly capturing the pedestal as a temporary image for determining a motion of the captured image;
Determining a change in the photographed image based on a photographed image obtained by repeatedly performing provisional photographing for motion determination, and determining whether the photographed image has moved as a first determination;
If it is determined that there is motion in the captured image , as the second determination, whether or not the identification mark image of the identification mark is included in the captured image when the temporary determination for motion determination is performed in the first determination. Re-determining
If it is determined in the second determination that the photographed image includes an identification mark image of the identification mark, the first determination is an erroneous determination, and actual photographing for obtaining the image of the document is performed. And a step for preventing it.
本発明の第3の観点に係るプログラムは、
コンピュータに、
原稿が載置され、予め識別印が記された台座上を仮撮影して得られる撮影画像に前記識別印が含まれているか否かを判定する手順、
前記撮影画像に前記識別印が含まれていると判定した場合に、画像の動き判定用の仮撮影として、前記台座上を繰り返し撮影する手順、
動き判定用の仮撮影を繰り返し行って得られた撮影画像に基づいて前記撮影画像の変化を判別し、第1の判定として、撮影画像に動きがあったか否かを判定する手順、
前記撮影画像に動きありと判定した場合、第2の判定として、第1の判定において動き判定用の仮撮影を行ったときの撮影画像に前記識別印の識別印画像が含まれているか否かを再判定する手順、
前記第2の判定において前記撮影画像に前記識別印の識別印画像が含まれていると判定した場合、前記第1の判定は誤判定として、前記原稿の画像を取得するための本撮影を行わないようにする手順、
を実行させるためのものである。
The program according to the third aspect of the present invention is:
On the computer,
A procedure for determining whether or not the identification mark is included in a photographed image obtained by provisional photographing on a pedestal on which an original is placed and on which an identification mark is written in advance,
When it is determined that the identification mark is included in the photographed image, a procedure for repeatedly photographing the pedestal as provisional photographing for image movement determination;
A procedure for determining a change in the captured image based on a captured image obtained by repeatedly performing provisional capturing for motion determination, and determining, as a first determination, whether the captured image has moved;
If it is determined that there is motion in the captured image , as the second determination, whether or not the identification mark image of the identification mark is included in the captured image when the temporary determination for motion determination is performed in the first determination. The procedure to re-determine
If it is determined in the second determination that the photographed image includes an identification mark image of the identification mark, the first determination is an erroneous determination, and actual photographing for obtaining the image of the document is performed. Steps to avoid,
Is to execute.
本発明によれば、不要な本撮影を防止することができる。 According to the present invention, unnecessary actual photographing can be prevented.
以下、本発明の実施形態に係る撮影装置を図面を参照して説明する。
本実施形態に係る撮影装置の構成を図1に示す。
撮影装置は、書画カメラ1と、プロジェクタ2と、を備える。書画カメラ1とプロジェクタ2とは、ビデオ映像ケーブル31を介して接続される。
Hereinafter, an imaging device according to an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 shows the configuration of the photographing apparatus according to this embodiment.
The photographing apparatus includes a document camera 1 and a projector 2. The document camera 1 and the projector 2 are connected via a
書画カメラ1は、撮影対象を撮影するためのカメラシステムであり、カメラ部11と、支柱12と、台座13と、を備える。カメラ部11は、原稿4を撮影するためのものである。カメラ部11には、デジタルカメラが用いられる。支柱12は、カメラ部11を取り付けるためのものである。
The document camera 1 is a camera system for shooting a shooting target, and includes a
台座13は、支柱12を支えるためのものであり、図2に示すように、台座13のほぼ中央部には十字マーク14が刻印されている。この十字マーク14は、原稿4が載置されているか否かを識別するために刻印されたものであり、この台座13の中央部を含む領域が原稿4を載置する載置位置になる。
The
カメラ部11は、台座13に載置された原稿4を撮影するものであり、台座13の中央部に向けて撮影を行う。書画カメラ1は、カメラ部11が撮影して得られた撮影画像から原稿4部分(用紙)の原稿画像を切り出し、斜め撮影歪みの検出処理を行って、原稿画像を、あたかも原稿4を正面から撮影したような画像に変換し、スクリーン3に投影する。
The
このため、書画カメラ1は、図3に示すように、画像データ生成部21と、データ処理部22と、からなる。画像データ生成部21は、原稿4を撮影して原稿画像のデータを取り込むためのものである。
For this reason, the document camera 1 includes an image
データ処理部22は、画像データ生成部21から、撮影対象の画像データを取得して、プロジェクタ2に出力するための画像の処理を行うものである。
The
画像データ生成部21は、カメラ部11に備えられたものであり、光学レンズ装置101と、イメージセンサ102と、から構成される。
The image
光学レンズ装置101は、原稿4を撮影するために、光を集光するレンズなどで構成されたものであり、焦点、露出、ホワイトバランス等のカメラ設定パラメータを調整するための周辺回路を備える。 The optical lens device 101 is composed of a lens for condensing light for photographing the document 4, and includes a peripheral circuit for adjusting camera setting parameters such as focus, exposure, and white balance.
イメージセンサ102は、光学レンズ装置101が光を集光することによって結像した画像を、デジタル化した画像データとして取り込むためのものであり、CCD等によって構成される。
The
尚、画像データ生成部21は、高解像度画像撮影と低解像度画像撮影とが可能なものである。低解像度画像撮影は、例えば、画像解像度がXGA(1024×768ドット)程度で行われる撮影であり、解像度は低いものの、画像を30fps(フレーム/秒)の速さで動画撮影と画像読み出しとが可能になる。
The image
一方、高解像度画像撮影は、読み取り速度は遅くなるものの、カメラ部11の最大画素数で行われる画像撮影である。例えば、カメラ部11の撮影可能な最大の画素数が400万画素である場合、高解像度画像撮影では、400万画素で画像撮影が行われる。
On the other hand, high-resolution image capturing is image capturing performed with the maximum number of pixels of the
データ処理部22は、メモリ201と、ビデオ出力装置202と、画像処理装置203と、操作部204と、プログラムコード記憶装置205と、CPU206と、から構成される。
The
メモリ201は、画像データ、各種フラグの値、閾値等を記憶するものであり、CPU206の作業データを記憶するためにも用いられる。
The
ビデオ出力装置202は、投影処理として、メモリ201に記憶された画像データに基づいてRGB信号を生成するものである。ビデオ出力装置202は、生成したRGB信号をプロジェクタ2に出力する。
The
画像処理装置203は、CPU206に制御されて、メモリ201に一時記憶された画像データに対して画像処理を行うためのものである。画像処理装置203は画像処理として、原稿画像の切り抜き処理と、射影補正処理と、を行う。
The
原稿画像の切り抜き処理は、撮影画像から原稿画像を切り抜く処理である。射影補正処理は、切り取った原稿画像を射影変換することにより、原稿画像の歪み補正を行う処理である。画像処理装置203は、歪み補正を行った画像のデータをメモリ201に記憶する。
The document image cutting process is a process of cutting a document image from a photographed image. Projection correction processing is processing for correcting distortion of a document image by performing projective conversion on the cut document image. The
操作部204は、ユーザの操作情報を取得するためのものであり、撮影装置の機能を制御するためのスイッチ、キーとして、電源スイッチと、シャッターと、を備える(図示せず)。
The
電源スイッチは、書画カメラ1の電源をオン(ON)、オフ(OFF)するためのものである。シャッターは、撮影時に押下するスイッチである。 The power switch is for turning the power of the document camera 1 on (ON) and off (OFF). The shutter is a switch that is pressed during shooting.
操作部204は、ユーザがスイッチ、キーを操作したときの操作情報をCPU206に出力する。
The
プログラムコード記憶装置205は、CPU206が実行するプログラムを記憶するためのものであり、ROM等によって構成される。
The program
CPU206は、プログラムコード記憶装置205に格納されているプログラムに従って、各部を制御して撮影処理を実行する。
The
具体的には、CPU206は、まず、撮影処理において、各部の初期化を行う。即ち、CPU206は、光学レンズ装置101の周辺回路の初期化、光学レンズ装置101の焦点、ズームレンズ位置、絞りなどのカメラ設定と、ビデオ出力装置202等の初期化と、を行う。
Specifically, the
また、CPU206は、メモリ201の初期化、通信、画像処理等に用いるデータの初期化を行う。
The
また、CPU206は、カメラ撮影を行うための条件に関する各データの初期化として、カメラのフォーカス、シャッター速度(露光時間)、絞りなどの露出、ホワイトバランス、ISO感度等の初期化、オートフォーカス測定、測光などを行い、撮影が最適になる条件を探して初期化を行う。
Further, the
CPU206は、このような初期化を行うと、原稿4に動きがあった場合に、原稿4の画像の画像処理用としての本撮影を行うように各部を制御する。
When such initialization is performed, the
CPU206は、原稿4に動きがあった否かを判定する場合、例えば、書画カメラ1が設置されている机が揺れたり、撮影範囲内に影が入ったりして、原稿4に動きありと誤判定しないように、以下の判定を行う。
When the
即ち、CPU206は、画像データ生成部21を制御して、仮撮影を行わせ、仮撮影によって得られた撮影画像に十字マーク14の画像が含まれているか否かを判定する。仮撮影は、この判定を行うためのものであって、CPU206は、この判定を行える程度の低解像度で撮影するように画像データ生成部21を制御する。
That is, the
撮影画像に十字マーク14の画像が含まれていれば、CPU206は、台座13に原稿4は載置されていないと判定する。一方、撮影画像に十字マーク14の画像が含まれていなければ、CPU206は、台座13に原稿4が載置されていると判定する。
If the image of the
CPU206は、この判定を行うため、画像処理装置203に、2値エッジ画像を作成させ、図4(a)に示すようなエッジ画像qjを作成させる。そして、CPU206は、台座13に刻印された十字マーク14に対応する十字エッジ画像14jを検出する。
In order to make this determination, the
CPU206は、図4(a)に示す中央部分Area_1内を縦走査方向に走査して、十字エッジ画像14jの画素数をカウントし、図4(b)に示すようなヒストグラムHvを作成する。
The
撮影画像に十字エッジ画像14jが含まれている場合、十字エッジ画像14jの幅に対応する間隔で2つのピーク値が現れる。
When the crossed
CPU206は、作成したヒストグラムHvの画素数に対して、図4(b)の破線で示すような閾値Hv_thを設定する。この閾値Hv_thは、十字エッジ画像14jによる縦走査方向の画素数のピーク値を検出するために予め設定された閾値である。
The
CPU206は、横走査方向についても、同様に中央部分Area_1内を横走査方向に走査して、十字エッジ画像14jの画素数をカウントし、ヒストグラムHhを作成する。そして、CPU206は、作成したヒストグラムHhの画素数に対して、閾値Hh_thを設定する。
Similarly, in the horizontal scanning direction, the
尚、メモリ201は、この閾値Hv_thと、横走査方向のヒストグラムHvの画素数に対して予め設定された閾値Hh_thと、を記憶する。
Note that the
縦走査方向、横走査方向において、それぞれ、閾値Hv_th、Hh_thを越えるような2つのピーク値がなければ、CPU206は、原稿4が台座13に載置されているために、撮影画像に十字マーク14が含まれていなかったと判定する。一方、2つのピーク値がそれぞれ、閾値Hv_th、Hh_thを越えた場合、CPU206は、原稿4が台座13に載置されていないために、撮影画像に十字マーク14が含まれていると判定する。
If there are no two peak values that exceed the threshold values Hv_th and Hh_th in the vertical scanning direction and the horizontal scanning direction, respectively, the
CPU206は、撮影画像に十字マーク14の画像が含まれていると判定した場合、画像データ生成部21を制御して繰り返し仮撮影を行わせて得られた撮影画像の変化を判別する。そして、CPU206は、原稿4に動きがあったか否かを判定する。
When the
CPU206は、この判定を行うため、前仮撮影時の撮影画像の各画素値と現仮撮影時の撮影画像の画素値との差分をすべての画素について取得する。CPU206は、取得したすべての差分の総和を両撮影画像の画像変化量MDとして取得し、取得した画像変化量MDと予め設定された閾値MD_thとを比較することによって撮影画像の変化を判別する。閾値MD_thは、この判定を行うために予め設定されたものであり、メモリ201は、この閾値MD_thを予め記憶する。
In order to make this determination, the
CPU206は、画像変化量MDが閾値MD_thを越えていれば、原稿4に動きありと判定し、閾値MD_th以下であれば、原稿4に動きなしと判定する。
If the image change amount MD exceeds the threshold value MD_th, the
CPU206は、原稿4に動きありと判定した場合、仮撮影を行わせたときの撮影画像に十字マーク14の画像があるか否かを再判定する。CPU206は、前述の投影ヒストグラムを生成し、生成した投影ヒストグラムが十字エッジ画像14jのパターンの検出処理を行うことにより、この判定を行う。
If the
この判定は、例えば、書画カメラ1が設置されている机が揺れたり、撮影範囲内に影が入ったりした場合に、原稿4に動きありと誤判定しないようにするためのものである。 This determination is made so as not to erroneously determine that the document 4 is moving when, for example, the desk on which the document camera 1 is installed shakes or a shadow enters the shooting range.
即ち、原稿4が台座13に載置されていない状態で、撮影範囲内に影が入った場合、台座13の十字マーク14は現れたままになる。撮影画像に十字エッジ画像14jがあれば、投影ヒストグラムには、十字エッジ画像14jに対応するパターンとして、閾値Hv_th,Hh_thを越えるような2つのピーク値が含まれる。
That is, when a shadow appears in the shooting range in a state where the document 4 is not placed on the
CPU206は、この2つのピーク値の検出処理を行い、この2つのピーク値を検出すると、原稿4に動きありと判定したのは、生成した撮影範囲内に影が入ったり、机が揺れたりしたためだと判別し、原稿4に動きありとの判定は誤判定と判定する。CPU206は、このように誤判定と判定すると、原稿画像を取得するための本撮影を行わないように画像データ生成部21を制御する。
The
一方、CPU206は、この2つのピーク値を検出しなければ、台座13に載置された原稿4によって台座13に刻印された十字マーク14が隠されてしまったものであり、原稿4に動きありとの判定は正しいと判定する。CPU206は、このように正しいと判定すると、本撮影を行うように画像データ生成部21を制御する。
On the other hand, if the
即ち、CPU206は、画像データ生成部21を制御して撮影解像度を高解像度に切り替えることによって、撮影可能処理を実行し、鮮明な画像を取得するようにする。
That is, the
そして、CPU206は、画像データ生成部21に本撮影を行わせ、画像処理装置203、ビデオ出力装置202を制御して、画像処理、投影処理を実行させる。
Then, the
プロジェクタ2は、書画カメラ1から供給された画像データを投影光に変換し、スクリーン3にこの投影光を照射して原稿画像をスクリーン3上に結像させるものである。 The projector 2 converts the image data supplied from the document camera 1 into projection light, and irradiates the projection light on the screen 3 to form an original image on the screen 3.
次に本実施形態に係る撮影装置の動作を説明する。
ユーザが書画カメラ1の電源をONすると、書画カメラ1のCPU206は、プログラムコード記憶装置205からプログラムコードを読み出してカメラ基本処理を実行する。
Next, the operation of the photographing apparatus according to the present embodiment will be described.
When the user turns on the power of the document camera 1, the
このカメラ基本投影処理の内容を図5に示すフローチャートに従って説明する。
CPU206は、光学レンズ装置101の焦点、ズームレンズ位置、絞りなどのカメラ設定と、ビデオ出力装置202等の初期化と、データの初期化と、を行う(ステップS11)。
The contents of this camera basic projection process will be described with reference to the flowchart shown in FIG.
The
CPU206は、画像データ生成部21を制御して、判定用の仮撮影を行う(ステップS12)。
The
CPU206は、仮撮影によって得られた撮影画像に十字マーク14の画像が含まれているか否かを判定する(ステップS13)。
The
撮影画像に十字マーク14の画像が含まれていないと判定した場合(ステップS13においてNo)、CPU206は、台座13に原稿4は載置されていると判定し、再度、仮撮影を行う(ステップS12)。
If it is determined that no image is included in the
撮影画像に十字マーク14の画像が含まれていると判定した場合(ステップS13においてYes)、CPU206は、台座13に原稿4が載置されていないと判定して、仮撮影を行う(ステップS14)。
If it is determined that the image of the
CPU206は、既にメモリ201に記憶した前回撮影時の撮影画像のデータを読み出す(ステップS15)。
The
CPU206は、読み出した前回撮影時の画像データと、イメージセンサ102が新たに取り込んだ今回撮影時の画像データとの画像変化量MDを求める(ステップS16)。
The
CPU206は、次に撮影する画像と比較するため、今回撮影時の画像データをメモリ201に記憶する(ステップS17)。
The
CPU206は、メモリ201から閾値MD_thを読み出し、求めた画像変化量MDと読み出した閾値MD_thとを比較することにより、原稿4に動きがあったか否かを判定する(ステップS18)。
The
画像変化量MDが閾値MD_th以下の場合、CPU206は、原稿4に動きがないと判定する(ステップS18においてNo)。そして、CPU206は、再度、ステップS14〜S17の処理を実行する。
When the image change amount MD is equal to or smaller than the threshold value MD_th, the
画像変化量MDが閾値MD_thを越えている場合、CPU206は、原稿4に動きありと判定する(ステップS18においてYes)。この場合、CPU206は、ステップS14において取得した仮撮影によって得られた撮影画像に十字マーク14の画像が含まれているか否かを判定する(ステップS19)。
When the image change amount MD exceeds the threshold value MD_th, the
即ち、CPU206は、ステップS14において取得した仮撮影によって得られた撮影画像を走査して、投影ヒストグラムを生成し、十字エッジ画像14jに対応するパターンとして、閾値Hv_th,Hh_thを越えるような2つのピーク値の検出処理を行う
That is, the
2つのピーク値を検出することにより、撮影画像に十字マーク14の画像が含まれていると判定した場合(ステップS19においてYes)、CPU206は、原稿4に動きがあったとの判定は誤判定と判定する。CPU206は、このように判定すると、再度、ステップS14〜S18を実行する。
When it is determined that the image of the
2つのピーク値が検出されなかったことにより、撮影画像に十字マーク14の画像が含まれていないと判定した場合(ステップS19においてNo)、CPU206は、原稿4に動きがあったとする判定は正しいと判定する。この場合、CPU206は、撮影可能処理を実行する(ステップS20)。
If it is determined that the image of the
CPU206は、画像データ生成部21を制御して、原稿画像を取得するための本撮影を行わせる(ステップS21)。
The
画像処理装置203は、原稿画像の切り抜き処理を実行する(ステップS22)。
画像処理装置203は、切り抜いた原稿画像の射影補正処理を実行する(ステップS23)。
The
The
画像処理装置203は、補正した原稿画像のデータをメモリ201に記憶する(ステップS24)。ビデオ出力装置202は、メモリ201から、補正した画像のデータを読み出してプロジェクタ2に供給する。プロジェクタ2は、このデータに基づいて歪み補正が行われた原稿画像をスクリーン3に投影する。
The
以上説明したように、本実施形態によれば、台座13に予め十字マーク14が刻印され、CPU206は、仮撮影を行い、撮影画像に十字マーク14の画像が含まれているか否かを判定する。そして、十字マーク14の画像が含まれていると判定した場合、CPU206は、仮撮影を行い、原稿4に動きがあったか否かを判定する。
As described above, according to the present embodiment, the
原稿4に動きありと判定した場合、CPU206は、この仮撮影による撮影画像に十字マーク14の画像が含まれているか否かを再判定する。そして、十字マーク14の画像が含まれていないと判定した場合に、CPU206は、台座13に原稿4が載置されたと判定し、撮影処理を行うようにした。
When it is determined that the document 4 has motion, the
従って、例えば、原稿4に動きがなくても、カメラ部11が設置されている机が揺れたり、撮影範囲内に影が入ったりした場合でも、撮影装置は、原稿4が動いたとの誤判定を防止することができ、不要な本撮影を防止することができる。
Therefore, for example, even if the document 4 does not move, even if the desk on which the
尚、本発明を実施するにあたっては、種々の形態が考えられ、上記実施形態に限られるものではない。
例えば、撮影装置は、コンピュータを備えたものであってもよい。そして、コンピュータが、書画カメラ1の機能を備え、コンピュータが画像処理等を行うようにしてもよい。このようにすれば、カメラ部11には、汎用のデジタルカメラを用いることもできる。
In carrying out the present invention, various forms are conceivable and the present invention is not limited to the above embodiment.
For example, the photographing apparatus may include a computer. The computer may have the function of the document camera 1, and the computer may perform image processing or the like. In this way, a general-purpose digital camera can be used for the
上記実施形態では、プログラムが、それぞれメモリ等に予め記憶されているものとして説明した。しかし、撮影装置を、装置の全部又は一部として動作させ、あるいは、上述の処理を実行させるためのプログラムを、フレキシブルディスク、CD−ROM(Compact Disk Read-Only Memory)、DVD(Digital Versatile Disk)、MO(Magneto Optical disk)などのコンピュータ読み取り可能な記録媒体に格納して配布し、これを別のコンピュータにインストールし、上述の手段として動作させ、あるいは、上述の工程を実行させてもよい。 In the above embodiment, the programs are described as being stored in advance in a memory or the like. However, a program for operating the photographing apparatus as all or a part of the apparatus or executing the above-described processing is a flexible disk, a CD-ROM (Compact Disk Read-Only Memory), a DVD (Digital Versatile Disk). It may be stored in a computer-readable recording medium such as MO (Magneto Optical disk) and distributed, installed in another computer, operated as the above-mentioned means, or the above-mentioned steps may be executed.
さらに、インターネット上のサーバ装置が有するディスク装置等にプログラムを格納しておき、例えば、搬送波に重畳させて、コンピュータにダウンロード等するものとしてもよい。 Furthermore, the program may be stored in a disk device or the like included in a server device on the Internet, and may be downloaded onto a computer by being superimposed on a carrier wave, for example.
1・・・書画カメラ、2・・・プロジェクタ、3・・・スクリーン、4・・・原稿、11・・・カメラ部、13・・・台座、201・・・メモリ、202・・・ビデオ出力装置、203・・・画像処理装置、204・・・操作部、206・・・CPU
DESCRIPTION OF SYMBOLS 1 ... Document camera, 2 ... Projector, 3 ... Screen, 4 ... Document, 11 ... Camera part, 13 ... Base, 201 ... Memory, 202 ...
Claims (6)
前記台座は、前記原稿が載置される位置に予め識別印が印されたものであって、
前記台座の前記原稿が載置される位置に向けて撮影を行う撮影部と、
前記撮影部に仮撮影を行わせて得られた撮影画像に前記識別印が含まれているか否かを判定し、前記撮影画像に前記識別印画像が含まれていると判定した場合に、前記撮影部に繰り返し仮撮影を行わせて得られた撮影画像に基づいて撮影画像の変化を判別し、撮影画像に動きがあったか否かを判定する第1の判定部と、
前記撮影画像に動きありと前記第1の判定部が判定した場合、前記第1の判定部が前記撮影部に仮撮影を行わせたときの撮影画像に前記識別印の識別印画像が含まれているか否かを再判定する第2の判定部と、
前記撮影画像に前記識別印の識別印画像が含まれていると前記第2の判定部が判定した場合、前記第1の判定部の判定は誤判定として、前記原稿の画像を取得するための本撮影を行わないように前記撮影部を制御する撮影制御部と、を備えた、
ことを特徴とする撮影装置。 In a photographing device for photographing a pedestal on which a document is placed ,
The pedestal is one in which an identification mark is pre-marked at a position where the document is placed,
An imaging unit that performs imaging toward a position on the pedestal where the document is placed;
When it is determined whether or not the identification mark is included in the captured image obtained by causing the imaging unit to perform provisional imaging, and when it is determined that the identification mark image is included in the captured image, A first determination unit that determines a change in the captured image based on a captured image obtained by causing the capturing unit to repeatedly perform temporary capturing, and determines whether or not the captured image has moved;
When said first determination unit that there is a motion in the photographed image is determined, the include indicia image indicia in the captured image when said first determination unit has to perform the temporary photographing the photographing unit A second determination unit that re-determines whether or not
When the second determination unit determines that the identification mark image of the identification mark is included in the photographed image, the determination of the first determination unit is an erroneous determination to acquire the image of the document. An imaging control unit that controls the imaging unit so as not to perform main imaging,
An imaging apparatus characterized by that.
ことを特徴とする請求項1に記載の撮影装置。 When the second determination unit determines that the identification image of the identification mark is not included in the captured image, the imaging control unit assumes that the determination of the second determination unit is correct and the actual imaging Controlling the photographing unit to perform
The imaging apparatus according to claim 1, wherein:
ことを特徴とする請求項1又は2に記載の撮影装置。 The second determination unit scans the captured image, counts the pixel values of the image of the identification mark in the scanning direction, generates a projection histogram, and corresponds to the image of the identification mark from the generated projection histogram. When a pattern is detected, it is determined that the image of the identification mark is included in the captured image.
The photographing apparatus according to claim 1 or 2 , characterized in that
ことを特徴とする請求項1乃至3のいずれか1項に記載の撮影装置。 The first determination unit obtains a difference between each pixel value of the photographed image at the time of previous provisional photographing and a pixel value of the photographed image at the time of current provisional photographing for all pixels, and sums all the obtained differences. It is acquired as an image change amount of the captured image, and the change of the captured image is determined by comparing the acquired image change amount with a preset threshold value.
The photographing apparatus according to any one of claims 1 to 3 , wherein
撮影された画像に前記識別印が含まれているか否かを判定する判定用の仮撮影として仮撮影を行い、得られた撮影画像に前記識別印の識別印画像が含まれているか否かを判定するステップと、
前記撮影画像に前記識別印画像が含まれていると判定した場合に、撮像画像の動き判定用の仮撮影として、前記台座上を繰り返し撮影するステップと、
動き判定用の仮撮影を繰り返し行って得られた撮影画像に基づいて前記撮影画像の変化を判別し、第1の判定として、撮影画像に動きがあったか否かを判定するステップと、
前記撮影画像に動きありと判定した場合、第2の判定として、第1の判定において動き判定用の仮撮影を行ったときの撮影画像に前記識別印の識別印画像が含まれているか否かを再判定するステップと、
前記第2の判定において前記撮影画像に前記識別印の識別印画像が含まれていると判定した場合、前記第1の判定は誤判定として、前記原稿の画像を取得するための本撮影を行わないようにするステップと、を備えた、
ことを特徴とする撮影方法。 A photographing method for photographing a pedestal on which a document is placed and on which an identification mark is previously written ,
Temporary photographing is performed as temporary photographing for determination for determining whether or not the identification mark is included in the photographed image, and whether or not the identification mark image of the identification mark is included in the obtained photographed image. A determining step;
When it is determined that the identification mark image is included in the captured image, a step of repeatedly capturing the pedestal as a temporary image for determining a motion of the captured image;
Determining a change in the photographed image based on a photographed image obtained by repeatedly performing provisional photographing for motion determination, and determining whether the photographed image has moved as a first determination;
If it is determined that there is motion in the captured image , as the second determination, whether or not the identification mark image of the identification mark is included in the captured image when the temporary determination for motion determination is performed in the first determination. Re-determining
If it is determined in the second determination that the photographed image includes an identification mark image of the identification mark, the first determination is an erroneous determination, and actual photographing for acquiring the document image is performed. And a step to prevent,
An imaging method characterized by the above.
原稿が載置され、予め識別印が記された台座上を仮撮影して得られる撮影画像に前記識別印が含まれているか否かを判定する手順、
前記撮影画像に前記識別印が含まれていると判定した場合に、画像の動き判定用の仮撮影として、前記台座上を繰り返し撮影する手順、
動き判定用の仮撮影を繰り返し行って得られた撮影画像に基づいて前記撮影画像の変化を判別し、第1の判定として、撮影画像に動きがあったか否かを判定する手順、
前記撮影画像に動きありと判定した場合、第2の判定として、第1の判定において動き判定用の仮撮影を行ったときの撮影画像に前記識別印の識別印画像が含まれているか否かを再判定する手順、
前記第2の判定において前記撮影画像に前記識別印の識別印画像が含まれていると判定した場合、前記第1の判定は誤判定として、前記原稿の画像を取得するための本撮影を行わないようにする手順、
を実行させるためのプログラム。 On the computer,
A procedure for determining whether or not the identification mark is included in a photographed image obtained by provisional photographing on a pedestal on which an original is placed and on which an identification mark is written in advance,
When it is determined that the identification mark is included in the photographed image, a procedure for repeatedly photographing the pedestal as provisional photographing for image movement determination;
A procedure for determining a change in the captured image based on a captured image obtained by repeatedly performing provisional capturing for motion determination, and determining, as a first determination, whether the captured image has moved;
If it is determined that there is motion in the captured image , as the second determination, whether or not the identification mark image of the identification mark is included in the captured image when the temporary determination for motion determination is performed in the first determination. The procedure to re-determine
If it is determined in the second determination that the photographed image includes an identification mark image of the identification mark, the first determination is an erroneous determination, and actual photographing for obtaining the image of the document is performed. Steps to avoid,
A program for running
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004379663A JP4487771B2 (en) | 2004-12-28 | 2004-12-28 | Imaging apparatus, imaging method, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004379663A JP4487771B2 (en) | 2004-12-28 | 2004-12-28 | Imaging apparatus, imaging method, and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2006186803A JP2006186803A (en) | 2006-07-13 |
| JP4487771B2 true JP4487771B2 (en) | 2010-06-23 |
Family
ID=36739551
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2004379663A Expired - Lifetime JP4487771B2 (en) | 2004-12-28 | 2004-12-28 | Imaging apparatus, imaging method, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4487771B2 (en) |
-
2004
- 2004-12-28 JP JP2004379663A patent/JP4487771B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JP2006186803A (en) | 2006-07-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4715527B2 (en) | Imaging apparatus, image processing method and program for captured image | |
| JP5643563B2 (en) | Image processing apparatus and control method thereof | |
| US11184524B2 (en) | Focus control device, focus control method, program, and imaging device | |
| JP2014081420A (en) | Tracking device and method thereof | |
| JP5226903B1 (en) | TRACKING DEVICE AND TRACKING METHOD | |
| JP5851206B2 (en) | TRACKING DEVICE AND TRACKING METHOD | |
| JP4182937B2 (en) | Image capturing apparatus, image processing method for image capturing apparatus, and program | |
| JP2013012940A (en) | Tracking apparatus and tracking method | |
| JP4600019B2 (en) | Imaging apparatus, image processing method, and program | |
| JP4636786B2 (en) | Captured image projection device, image processing method and program for captured image projection device | |
| JP6172973B2 (en) | Image processing device | |
| JP4501701B2 (en) | Image capturing apparatus, image processing method for image capturing apparatus, and program | |
| JP4487771B2 (en) | Imaging apparatus, imaging method, and program | |
| JP2004310726A (en) | Image inspection method, image inspection apparatus, and program | |
| JP4524616B2 (en) | Imaging apparatus, image processing method and program for captured image | |
| JP2007316401A (en) | Imaging apparatus and imaging control method | |
| JP4225225B2 (en) | Image capturing apparatus, image processing method for image capturing apparatus, and program | |
| JP5965653B2 (en) | TRACKING DEVICE AND TRACKING METHOD | |
| JP4314959B2 (en) | Image capturing apparatus, method for determining object to be imaged in image capturing apparatus, and program | |
| JP4735649B2 (en) | Image projection device | |
| JP4225226B2 (en) | Imaging apparatus, imaging control method for imaging apparatus, and program | |
| EP2091233A2 (en) | Imaging apparatus | |
| JP4315025B2 (en) | Imaging apparatus, image acquisition method, and program | |
| JP4547953B2 (en) | Imaging apparatus, imaging processing method, and program | |
| JP5862732B2 (en) | Imaging control apparatus, imaging control method, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20071205 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091201 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100129 |
|
| 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: 20100309 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100322 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130409 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130409 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140409 Year of fee payment: 4 |