JP2006295310A - Photography instrument, photography control method and program - Google Patents

Photography instrument, photography control method and program Download PDF

Info

Publication number
JP2006295310A
JP2006295310A JP2005110000A JP2005110000A JP2006295310A JP 2006295310 A JP2006295310 A JP 2006295310A JP 2005110000 A JP2005110000 A JP 2005110000A JP 2005110000 A JP2005110000 A JP 2005110000A JP 2006295310 A JP2006295310 A JP 2006295310A
Authority
JP
Japan
Prior art keywords
image
resolution
captured image
motion
cpu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005110000A
Other languages
Japanese (ja)
Inventor
Tetsuji Makino
哲司 牧野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2005110000A priority Critical patent/JP2006295310A/en
Publication of JP2006295310A publication Critical patent/JP2006295310A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To determine the existence of the movement of a picture correctly by comparing a variation in picture with a threshold. <P>SOLUTION: The photography instrument comprises a document camera 1, and a projector 2. The document camera 1 photographs a document 4 and determines the existence of the movement of a photographed picture by comparing a variation in picture with a threshold MT_TH. If a static time DT exceeds a mode switching time DTH when decision is made that there is no movement in the picture, the document camera 1 sets the photography mode at still image mode. If the variation in picture exceeds the threshold MT_TH when a static high sensitivity time AT is shorter than a resolution switching time ATH, the document camera 1 decides that there is a movement in the picture. If the variation in picture does not exceed the threshold MT_TH nor a threshold ST_TH(MT_TH<ST_TH) when the static high sensitivity time AT exceeds the resolution switching time ATH, the document camera 1 decides that there is no movement in the picture and performs high resolution photography. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、撮影装置、撮影制御方法及びプログラムに関するものである。   The present invention relates to a photographing apparatus, a photographing control method, and a program.

近年、撮影装置として、ユーザが原稿台に載置した原稿をカメラで撮影して、カメラで撮影した原稿の画像データを記憶して画像処理を行い、プロジェクタを用いてスクリーン上に原稿の画像を拡大して投影するものがある(例えば、特許文献1参照)。   In recent years, as a photographing device, a user photographs a document placed on a document table with a camera, stores image data of the document photographed with the camera, performs image processing, and uses a projector to capture an image of the document on a screen. There is what is projected in an enlarged manner (see, for example, Patent Document 1).

また、従来の撮影装置として、画像の動きを監視し、画像に動きがなければ、カメラの解像度を高解像度に設定して原稿を撮影するようにしたものもある。
特開2002−354331号公報(第2−3頁、図1)
Further, as a conventional photographing apparatus, there is an apparatus that monitors the movement of an image and, if there is no movement in the image, sets the resolution of the camera to a high resolution and photographs a document.
JP 2002-354331 A (page 2-3, FIG. 1)

しかし、原稿の撮影が終了してもカメラの解像度を高解像度に設定したままにしておくと、画像の動きを高解像度画像に基づいて判別することになる。従って、原稿を差し替える場合のように、この高解像度画像の取り込み中に変化があった場合、撮影装置は、すぐに撮影を行うことができない。   However, if the camera resolution is set to a high resolution even after the document has been shot, the movement of the image is determined based on the high resolution image. Therefore, if there is a change during the capture of the high-resolution image, such as when the document is replaced, the photographing apparatus cannot immediately take a picture.

例えば、高解像度撮影では、その撮影周期が1枚あたり、3〜5秒程度であるため、撮影装置は、高解像度画像を3回取得して比較した場合、画像の変化を判定するのに10秒程度要してしまう。   For example, in high resolution shooting, since the shooting cycle is about 3 to 5 seconds per frame, the shooting apparatus determines whether to change the image when acquiring and comparing high resolution images three times. It takes about a second.

このため、画像の解像度を高解像度に切り替えて撮影を行った後、自動的に画像の解像度を低解像度に切り替えることが考えられる。しかし、その後、再度、画像に動きがないと判定した場合、撮影装置は、画像の解像度を高解像度に切り替えて撮影するという動作を繰り返してしまい、解像度が頻繁に切り替わることになる。   For this reason, it is conceivable that the image resolution is automatically switched to a low resolution after shooting with the image resolution switched to a high resolution. However, after that, when it is determined again that there is no movement in the image, the photographing apparatus repeats the operation of switching the image resolution to the high resolution and photographing, and the resolution is frequently switched.

また、蛍光灯のフリッカなどの影響で明るさが変化すると、撮影装置は、動きがあると誤認識してしまい、静止しているにもかかわらず、誤って静止画像の検出待ち状態に戻してしまう。   In addition, if the brightness changes due to flickering of fluorescent lamps, the image capturing device mistakenly recognizes that there is movement, and erroneously returns to the still image detection waiting state even though it is stationary. End up.

本発明は、このような従来の問題点に鑑みてなされたもので、画像の動きの有無判定を正しく行うことが可能な撮影装置、撮影制御方法及びプログラムを提供することを目的とする。   The present invention has been made in view of such conventional problems, and an object of the present invention is to provide an imaging apparatus, an imaging control method, and a program capable of correctly determining the presence / absence of image movement.

この目的を達成するため、本発明の第1の観点に係る撮影装置は、
撮影対象を撮影する撮影装置であって、
前記撮影対象を撮影する撮影部と、
前記撮影部の撮影によって得られた撮影画像の動きの有無に基づいて、解像度を設定し、設定した解像度で前記撮影対象を撮影するように前記撮影部を制御する制御部と、を備え、
前記制御部は、
前記撮影部の撮影によって得られた撮影画像の画像変化量と予め設定された第1の閾値とを比較することにより、前記撮影画像に動きがあるか否かを判定する第1の判定手段と、
前記第1の判定手段が、前記撮影画像に動きがないと判定した場合、予め設定された期間経過後に、前記撮影画像の画像変化量と予め設定された第2の閾値とを比較することにより、前記撮影画像に動きがあるか否かを判定する第2の判定手段と、を備え、
前記第1の判定手段又は前記第2の判定手段が前記撮影画像に動きがあると判定した場合には、前記解像度を第1の解像度に設定して前記撮影対象を撮影し、前記第2の判定手段が、前記撮影画像に動きがないと判定した場合には、前記解像度を前記第1の解像度よりも高い第2の解像度に設定して前記撮影対象を撮影するように前記撮影部を制御することを特徴とする。
In order to achieve this object, an imaging device according to the first aspect of the present invention provides:
An imaging device for imaging an imaging target,
A photographing unit for photographing the photographing object;
A controller configured to set a resolution based on the presence or absence of movement of the captured image obtained by the imaging of the imaging unit, and to control the imaging unit so as to capture the imaging target at the set resolution;
The controller is
First determination means for determining whether or not there is a motion in the captured image by comparing an image change amount of the captured image obtained by the capturing of the capturing unit with a first threshold value set in advance; ,
When the first determination unit determines that there is no movement in the captured image, the image change amount of the captured image is compared with a preset second threshold after a preset period. And second determination means for determining whether or not there is a motion in the captured image,
When the first determination unit or the second determination unit determines that the captured image has a motion, the resolution is set to the first resolution and the imaging target is captured, and the second When the determination unit determines that there is no movement in the captured image, the image capturing unit is controlled to capture the image to be captured by setting the resolution to a second resolution higher than the first resolution. It is characterized by doing.

前記第2の判定手段が前記判定に用いる前記第2の閾値は、前記第1の判定手段が前記判定に用いる前記第1の閾値よりも高く設定されたものであってもよい。
ことを特徴とする請求項1に記載の撮影装置。
The second threshold used by the second determination unit for the determination may be set higher than the first threshold used by the first determination unit for the determination.
The imaging apparatus according to claim 1, wherein:

前記第1の判定手段は、前記撮影画像の動きがないと判定した後の前記設定期間においても前記撮影画像の画像変化量と前記第1の閾値とを比較することにより、前記撮影画像の動きの有無を監視するようにしてもよい。   The first determination unit compares the image change amount of the captured image with the first threshold during the set period after determining that there is no motion of the captured image, thereby moving the captured image. You may make it monitor the presence or absence of.

前記第2の判定手段は、前記撮影画像に動きがないと判定した後も、前記撮影画像の画像変化量と前記第2の閾値とを比較することにより、前記撮影画像の動きの有無を監視するようにしてもよい。   The second determination means monitors the presence or absence of motion of the captured image by comparing the image change amount of the captured image with the second threshold even after determining that the captured image has no motion. You may make it do.

本発明の第2の観点に係る撮影制御方法は、
撮影によって得られた撮影画像の画像変化量と予め設定された第1の閾値とを比較することにより、前記撮影画像に動きがあるか否かを判定するステップと、
前記撮影画像に動きがあると判定した場合、解像度を第1の解像度に設定して前記撮影対象を撮影するステップと、
前記撮影画像に動きがないと判定した場合、予め設定された期間経過後に、前記撮影画像の画像変化量と予め設定された第2の閾値とを比較することにより、前記撮影画像に動きがあるか否かを判定するステップと、
前記撮影画像に動きがあると判定した場合、前記第1の解像度で前記撮影対象を撮影するステップと、
前記撮影画像に動きがないと判定した場合、前記解像度を前記第1の解像度よりも高い第2の解像度に設定して前記撮影対象を撮影するステップと、を備えたことを特徴とする。
The shooting control method according to the second aspect of the present invention is:
Determining whether or not there is movement in the captured image by comparing an image change amount of the captured image obtained by capturing with a preset first threshold;
If it is determined that there is a motion in the captured image, the step of setting the resolution to the first resolution and shooting the shooting target;
When it is determined that there is no motion in the captured image, the captured image has motion by comparing the image change amount of the captured image with a preset second threshold after a preset period. Determining whether or not,
If it is determined that there is a motion in the captured image, the step of capturing the object to be captured at the first resolution;
And a step of photographing the photographing object by setting the resolution to a second resolution higher than the first resolution when it is determined that there is no motion in the photographed image.

本発明の第3の観点に係るプログラムは、
コンピュータに、
撮影によって得られた撮影画像の画像変化量と予め設定された第1の閾値とを比較することにより、前記撮影画像に動きがあるか否かを判定する手順、
前記撮影画像に動きがあると判定した場合、解像度を第1の解像度に設定して前記撮影対象を撮影する手順、
前記撮影画像に動きがないと判定した場合、予め設定された期間経過後に、前記撮影画像の画像変化量と予め設定された第2の閾値とを比較することにより、前記撮影画像に動きがあるか否かを判定する手順、
前記撮影画像に動きがあると判定した場合、前記第1の解像度で前記撮影対象を撮影する手順、
前記撮影画像に動きがないと判定した場合、前記解像度を前記第1の解像度よりも高い第2の解像度に設定して前記撮影対象を撮影する手順、
を実行させるためのものである。
The program according to the third aspect of the present invention is:
On the computer,
A procedure for determining whether or not there is a motion in the captured image by comparing an image change amount of the captured image obtained by capturing with a preset first threshold;
If it is determined that there is movement in the captured image, a procedure for setting the resolution to the first resolution and shooting the shooting target;
When it is determined that there is no motion in the captured image, the captured image has motion by comparing the image change amount of the captured image with a preset second threshold after a preset period. A procedure for determining whether or not
If it is determined that there is a motion in the captured image, a procedure for capturing the imaging object at the first resolution;
When it is determined that there is no motion in the captured image, a procedure for capturing the imaging object by setting the resolution to a second resolution higher than the first resolution;
Is to execute.

本発明によれば、画像の動きの有無判定を正しく行うことができる。   According to the present invention, it is possible to correctly determine the presence / absence of an image motion.

以下、本発明の実施形態に係る撮影装置を図面を参照して説明する。尚、以下の実施形態では、撮影装置を、撮影した画像を投影する撮影画像投影装置として説明する。
本発明の実施形態に係る撮影画像投影装置の構成を図1に示す。
撮影画像投影装置は、書画カメラ1と、プロジェクタ2と、から構成される。
Hereinafter, an imaging device according to an embodiment of the present invention will be described with reference to the drawings. In the following embodiments, the photographing apparatus will be described as a photographed image projecting apparatus that projects a photographed image.
FIG. 1 shows the configuration of a captured image projection apparatus according to an embodiment of the present invention.
The captured image projection apparatus includes a document camera 1 and a projector 2.

書画カメラ1は、投影対象の原稿4を撮影するためのカメラシステムであり、カメラ部11と、支柱12と、台座(書画台)13と、を備え、書画カメラ1とプロジェクタ2とは、ケーブル14を介して接続される。   The document camera 1 is a camera system for photographing a document 4 to be projected, and includes a camera unit 11, a support column 12, and a pedestal (document table) 13, and the document camera 1 and the projector 2 are connected with a cable. 14 for connection.

カメラ部11は、原稿4を撮影するためのものである。カメラ部11には、デジタルカメラが用いられる。支柱12は、カメラ部11を取り付けるためのものである。台座13は、支柱12を支えるためのものであり、原稿4を載置するためのものである。カメラ部11は、台座13も含めて原稿4を撮影する。   The camera unit 11 is for photographing the document 4. A digital camera is used for the camera unit 11. The column 12 is for attaching the camera unit 11. The pedestal 13 is for supporting the column 12 and for placing the document 4. The camera unit 11 captures the document 4 including the pedestal 13.

カメラ部11は、図2に示すように、画像データ生成部21と、データ処理部22と、を備える。画像データ生成部21は、撮影によって得られた画像データを取り込むためのものである。   As shown in FIG. 2, the camera unit 11 includes an image data generation unit 21 and a data processing unit 22. The image data generation unit 21 is for capturing image data obtained by photographing.

データ処理部22は、画像データ生成部21から、取り込んだ画像データを取得して画像処理を行い、画像処理を施した画像データをプロジェクタ2に出力するものである。   The data processing unit 22 acquires the captured image data from the image data generation unit 21, performs image processing, and outputs the image data subjected to the image processing to the projector 2.

尚、画像データ生成部21とデータ処理部22とは、図1に示すカメラ部11に備えられている。   The image data generation unit 21 and the data processing unit 22 are provided in the camera unit 11 shown in FIG.

画像データ生成部21は、光学レンズ装置101と、イメージセンサ102と、から構成される。   The image data generation unit 21 includes an optical lens device 101 and an image sensor 102.

光学レンズ装置101は、原稿4を撮影するために、光を集光するレンズなどで構成されたものである。   The optical lens device 101 is composed of a lens that collects light in order to photograph the document 4.

イメージセンサ102は、光学レンズ装置101が光を集光することによって結像した画像を、デジタル化した画像データとして取り込むためのものであり、CCD等によって構成される。尚、イメージセンサ102は、原稿4を低解像度又は高解像度で取り込む機能を有する。   The image sensor 102 is for capturing an image formed by the optical lens device 101 condensing light as digitized image data, and is configured by a CCD or the like. Note that the image sensor 102 has a function of capturing the document 4 at a low resolution or a high resolution.

データ処理部22は、メモリ201と、表示装置202と、画像処理装置203と、操作部204と、プログラムコード記憶装置205と、CPU206と、から構成される。   The data processing unit 22 includes a memory 201, a display device 202, an image processing device 203, an operation unit 204, a program code storage device 205, and a CPU 206.

メモリ201は、イメージセンサ102からの画像、表示装置202に送り出すための画像データ等を一時記憶するためのものである。メモリ201は、図3に示すように、現在画像記憶領域201aと、比較画像記憶領域201bと、投影画像記憶領域201cと、作業データ記憶領域201dと、閾値記憶領域201eと、を有する。   The memory 201 is for temporarily storing an image from the image sensor 102, image data to be sent to the display device 202, and the like. As shown in FIG. 3, the memory 201 includes a current image storage area 201a, a comparison image storage area 201b, a projection image storage area 201c, a work data storage area 201d, and a threshold storage area 201e.

現在画像記憶領域201aは、今回の撮影によって得られた低解像度の画像データを記憶するための記憶領域である。比較画像記憶領域201bは、前回の撮影によって得られた低解像度の画像データを記憶するための記憶領域である。投影画像記憶領域201cは、今回の撮影によって得られた低解像度の画像データ又はスクリーン3に投影する画像のデータを記憶するための記憶領域である。   The current image storage area 201a is a storage area for storing low-resolution image data obtained by the current shooting. The comparison image storage area 201b is a storage area for storing low-resolution image data obtained by the previous shooting. The projection image storage area 201c is a storage area for storing low-resolution image data obtained by the current shooting or image data to be projected on the screen 3.

作業データ記憶領域201dは、作業データを記憶するための記憶領域である。閾値記憶領域201eは、判定に必要な各閾値等を記憶するための記憶領域である。   The work data storage area 201d is a storage area for storing work data. The threshold storage area 201e is a storage area for storing each threshold required for determination.

表示装置202は、メモリ201の投影画像記憶領域201cから、プロジェクタ2に送り出す画像のデータを読み出して、この画像を表示するためのものである。   The display device 202 reads out image data to be sent to the projector 2 from the projection image storage area 201c of the memory 201, and displays this image.

画像処理装置203は、メモリ201の投影画像記憶領域201cに一時記憶された画像データを読み出して、この画像データに対して画像の歪み補正や画像効果などの画像補正処理を行うためのものである。   The image processing device 203 reads image data temporarily stored in the projection image storage area 201c of the memory 201, and performs image correction processing such as image distortion correction and image effect on the image data. .

画像処理装置203は、カメラ部11の撮影面に対して斜めの状態、あるいは回転した状態で撮影した原稿4の画像から、歪み補正(台形補正)を行うことによって、正面から撮影した原稿4の画像を生成する。   The image processing device 203 performs distortion correction (trapezoid correction) on the image of the document 4 captured obliquely or rotated with respect to the imaging surface of the camera unit 11, thereby correcting the document 4 captured from the front. Generate an image.

具体的には、画像処理装置203は、歪み補正を行うため、歪んだ原稿4の画像から四角形を切り取り、切り取った四角形に原稿4の画像を射影変換して逆変換する。画像処理装置203は、このような処理を施した画像データを、メモリ201の投影画像記憶201cに記憶する。   Specifically, in order to perform distortion correction, the image processing apparatus 203 cuts a rectangle from the image of the distorted document 4 and performs projective conversion on the image of the document 4 to the cut rectangle to perform inverse conversion. The image processing apparatus 203 stores the image data subjected to such processing in the projection image storage 201c of the memory 201.

操作部204は、書画投影の機能を制御するためのスイッチ、キー、撮影ボタン等を備えたものである。操作部204は、ユーザが、これらのキー、スイッチを操作したときの操作情報をCPU206に出力する。   The operation unit 204 includes switches, keys, shooting buttons, and the like for controlling the document projection function. The operation unit 204 outputs operation information to the CPU 206 when the user operates these keys and switches.

プログラムコード記憶装置205は、CPU206が実行するプログラムを記憶するためのものであり、ROM等によって構成される。   The program code storage device 205 is for storing a program executed by the CPU 206, and is configured by a ROM or the like.

CPU206は、プログラムコード記憶装置205に格納されているプログラムに従って、各部を制御する。   The CPU 206 controls each unit in accordance with a program stored in the program code storage device 205.

また、CPU206は、後述するフローチャートに従って、撮影対象である原稿4の画像に動きがあるか否かを判定し、判定結果に従って、撮影モードを切り替える。   Further, the CPU 206 determines whether or not there is a motion in the image of the document 4 to be imaged according to a flowchart to be described later, and switches the imaging mode according to the determination result.

撮影モードは、動画モードと静止画モードの2つとする。動画モードは、ユーザが台座13に投影したい原稿4等を載置しようとする場合に設定されるモードであって、カメラ部11が映し出している画像をそのままスクリーン3に投影するモードである。   There are two shooting modes, a moving image mode and a still image mode. The moving image mode is a mode that is set when the user intends to place the document 4 or the like that the user wants to project on the pedestal 13, and is a mode that projects the image projected by the camera unit 11 onto the screen 3 as it is.

動画モードでは、CPU206は、例えば、画像解像度がVGA(640×480ドット)程度の画像を30fps(フレーム/秒)の速さで動画投影を行なうように、各部を制御するものとする。   In the moving image mode, for example, the CPU 206 controls each unit so that an image with an image resolution of about VGA (640 × 480 dots) is projected at a speed of 30 fps (frames / second).

このように、動画モードは、解像度は低いものの、リアルタイム性を重視したモードである。CPU206は、動画モードで低解像度画像を読み込み、読み込んだ低解像度画像をメモリ201の現在画像記憶領域201aに記憶する。   As described above, the moving image mode is a mode in which real-time characteristics are emphasized although the resolution is low. The CPU 206 reads the low resolution image in the moving image mode, and stores the read low resolution image in the current image storage area 201 a of the memory 201.

静止画モードは、ユーザが原稿4を置いた後に設定されるモードであって、カメラ部11で高解像度の画像撮影を行い、高解像度の静止画像の投影を行うモードである。   The still image mode is a mode that is set after the user places the document 4, and is a mode in which the camera unit 11 captures a high resolution image and projects a high resolution still image.

カメラ部11が撮影解像度300万画素のカメラである場合、切り出した投影画像はXGA(1024×768)の静止画像になる。CPU206は、静止画モードで高解像度画像を読み込むと、読み込んだ高解像度画像をメモリ201の投影画像記憶領域201cに記憶する。   When the camera unit 11 is a camera with an imaging resolution of 3 million pixels, the cut-out projected image is an XGA (1024 × 768) still image. When the CPU 206 reads a high resolution image in the still image mode, the CPU 206 stores the read high resolution image in the projected image storage area 201 c of the memory 201.

また、CPU206は、この撮影モードの状態値をメモリ201の作業データ記憶領域201dに記憶する。   Further, the CPU 206 stores the state value of the shooting mode in the work data storage area 201 d of the memory 201.

CPU206は、撮影モードの切り替えを行うため、撮影によって得られた画像に動きがあるか否かを判定する。CPU206は、このような判定を行うため、前回の撮影画像と今回の撮影画像との画像変化量MDを求める。   The CPU 206 determines whether or not there is a motion in the image obtained by shooting in order to switch the shooting mode. In order to make such a determination, the CPU 206 obtains an image change amount MD between the previous captured image and the current captured image.

画像変化量MDは撮影している画像が前回の画像と比較してどれぐらい変化したかを表す量である。この量を計算する方法はいくつか考えられる。一例として、CPU206は、前回、今回の撮影画像のデータから、各画素の差分の絶対値の総和を画像変化量MDとして求める。   The image change amount MD is an amount representing how much the image being taken has changed compared to the previous image. There are several ways to calculate this quantity. As an example, the CPU 206 obtains the sum of the absolute values of the differences between the pixels as the image change amount MD from the data of the previously captured image this time.

即ち、前回の画素データをPn-1(x,y)、今回の画素データをPn(x,y),1≦x≦640 1≦y≦480とすると、画像変化量MDは、次の数1によって表される。

Figure 2006295310
但し、全画素の総和を求めるには、計算量が多いので、画像変化量MDを求める方法としては、いくつかの画素を抜き出して実現する方法もある。 That is, if the previous pixel data is Pn-1 (x, y), the current pixel data is Pn (x, y), and 1 ≦ x ≦ 640 1 ≦ y ≦ 480, the image change amount MD is the following number: Represented by 1.
Figure 2006295310
However, since the amount of calculation is large in order to obtain the total sum of all the pixels, as a method for obtaining the image change amount MD, there is a method in which several pixels are extracted and realized.

CPU206は、画像変化量MDを算出すると、現在画像記憶領域201aに記憶した低解像度画像のデータを、次に画像変化量MDを算出するときの比較画像のデータとして、比較画像記憶領域201bに記憶する。   When the CPU 206 calculates the image change amount MD, the CPU 206 stores the low-resolution image data stored in the current image storage area 201a in the comparison image storage area 201b as comparison image data for the next calculation of the image change amount MD. To do.

CPU206は、現在画像記憶領域201aに記憶した低解像度画像のデータを、新たに原稿4を低解像度で撮影するときに読み出して、読み出したデータの低解像度画像と撮影によって得られた新たな低解像度画像との差を画像変化量MDとして取得する。   The CPU 206 reads the data of the low resolution image stored in the current image storage area 201a when the document 4 is newly photographed at a low resolution, and the low resolution image of the read data and the new low resolution obtained by the photographing. The difference from the image is acquired as the image change amount MD.

また、この画像変化量MDと比較して動きの有無を判定するための閾値として、閾値MT_THと閾値ST_THとが予め設定される。閾値MT_THは、低解像度撮影時に画像の動きの判定を高感度に行うための閾値である。   Further, a threshold value MT_TH and a threshold value ST_TH are set in advance as threshold values for determining the presence or absence of motion in comparison with the image change amount MD. The threshold value MT_TH is a threshold value for performing high-sensitivity determination of image movement during low-resolution imaging.

CPU206は、撮影モードが動画モードの場合、閾値MT_THを用いて画像の動きの有無を判定する。CPU206は、動画モードにおいて、画像変化量MDが閾値MT_THを超えている場合、画像に動きがあると判定する。   When the shooting mode is the moving image mode, the CPU 206 determines the presence or absence of image movement using the threshold value MT_TH. In the moving image mode, the CPU 206 determines that there is a motion in the image when the image change amount MD exceeds the threshold value MT_TH.

閾値ST_THは、高解像度撮影時、例えば、書画カメラ1のテーブルにブレがあったり、影が動いたり、ペン等が置かれたりした場合のように、動きはあっても、その動きが動画モードに切り替える必要のない程度の僅かな動きであるか否かを判定するための閾値である。閾値ST_THは、閾値MT_THよりも高く設定される(MT_TH<ST_TH)。   The threshold value ST_TH is set in the moving image mode even when there is a movement, such as when the table of the document camera 1 is shaken, a shadow is moved, or a pen is placed at the time of high-resolution shooting. It is a threshold value for determining whether or not the movement is a slight movement that does not need to be switched to. The threshold ST_TH is set higher than the threshold MT_TH (MT_TH <ST_TH).

CPU206は、高解像度撮影時において、閾値ST_THを用いて画像の動きの有無を判定し、画像変化量MDが閾値ST_TH以下であれば、動画モードに切り替える必要のない程度の僅かな動きであると判定する。メモリ201は、閾値記憶領域201eに、この閾値MT_THと閾値ST_THとを予め記憶する。   The CPU 206 determines the presence / absence of image movement using the threshold value ST_TH during high-resolution shooting. If the image change amount MD is equal to or less than the threshold value ST_TH, the CPU 206 determines that the movement is slight enough not to switch to the moving image mode. judge. The memory 201 stores the threshold value MT_TH and the threshold value ST_TH in the threshold value storage area 201e in advance.

また、CPU206は、動画モード時、画像変化量MDと閾値MT_THを比較することにより、画像に動きがないと判定しても、画像が安定するまで、撮影モードを静止画モードに切り替えないようにする。メモリ201は、画像に動きがないと判定してから撮影モードを静止画モードに切り替えるときまでの時間をモード切り替え時間DTHとして、閾値記憶領域201eに記憶する。   Further, in the moving image mode, the CPU 206 compares the image change amount MD with the threshold value MT_TH so that even if it is determined that there is no movement in the image, the shooting mode is not switched to the still image mode until the image is stabilized. To do. The memory 201 stores the time from when it is determined that there is no motion in the image until when the shooting mode is switched to the still image mode as the mode switching time DTH in the threshold storage area 201e.

また、CPU206は、動画モードにおいて画像に動きがないと判定してから、静止時間を計測し、計測した静止時間DT(カウント値)をメモリ201の作業データ記憶領域201dに記憶する。   Further, the CPU 206 determines that there is no movement in the image in the moving image mode, measures the still time, and stores the measured still time DT (count value) in the work data storage area 201 d of the memory 201.

そして、CPU206は、静止時間DTとモード切り替え時間DTHとを比較することにより、モード切り替え時間DTHを経過したか否かを判定する。CPU206は、モード切り替え時間DTHが経過するまで、閾値MT_THを用いて画像の動きの有無を監視する。   Then, the CPU 206 determines whether or not the mode switching time DTH has elapsed by comparing the stationary time DT and the mode switching time DTH. The CPU 206 monitors the presence or absence of image movement using the threshold value MT_TH until the mode switching time DTH elapses.

CPU206は、このモード切り替え時間DTHにおいて、画像に動きがあると判定した場合には、静止時間DTを0クリアし、モード切り替え時間DTHを経過するまでに、画像に動きがないと判定した場合には、撮影モードを静止画モードに切り替える。   When the CPU 206 determines that there is a motion in the mode switching time DTH, the CPU 206 clears the still time DT to 0, and determines that there is no motion before the mode switching time DTH elapses. Switches the shooting mode to the still image mode.

CPU206は、撮影モードを静止画モードに切り替えた場合でも、所定時間経過するまでは、解像度を高解像度に切り替えないようにする。メモリ201は、CPU206が静止画モードに設定したときから、解像度を高解像度に切り替えるときまでの時間を解像度切り替え時間ATHとして、閾値記憶領域201eに記憶する。   Even when the shooting mode is switched to the still image mode, the CPU 206 does not switch the resolution to a high resolution until a predetermined time has elapsed. The memory 201 stores the time from when the CPU 206 sets the still image mode to when the resolution is switched to the high resolution as the resolution switching time ATH in the threshold storage area 201e.

CPU206は、静止画モードに設定したときからの時間を静止高感度時間AT(カウント値)として計測し、計測した静止高感度時間ATをメモリ201の作業データ記憶領域201dに記憶する。   The CPU 206 measures the time from when the still image mode is set as the still high sensitivity time AT (count value), and stores the measured still high sensitivity time AT in the work data storage area 201 d of the memory 201.

そして、CPU206は、静止高感度時間ATと解像度切り替え時間ATHとを比較することにより、解像度切り替え時間ATHが経過したか否かを判定し、解像度切り替え時間ATHが経過するまで、閾値MT_THを用いて画像の動きを監視する。   Then, the CPU 206 determines whether or not the resolution switching time ATH has elapsed by comparing the still high sensitivity time AT and the resolution switching time ATH, and uses the threshold value MT_TH until the resolution switching time ATH has elapsed. Monitor image movement.

これにより、画像の動きが停止したと判定した後、CPU206は、静止高感度時間ATが解像度切り替え時間ATHを超えるまでは、指や影が映り、その指や影が撮影範囲外になった場合には、速やかに、画像に動きありと判定する。CPU206は、この解像度切り替え時間ATH内において、画像に動きがあると判定した場合には、静止時間DTを0クリアする。   Thus, after determining that the movement of the image has stopped, the CPU 206 shows a finger or shadow until the still high sensitivity time AT exceeds the resolution switching time ATH, and the finger or shadow is out of the shooting range. Is immediately determined that there is motion in the image. If the CPU 206 determines that there is a motion within the resolution switching time ATH, the CPU 206 clears the still time DT to zero.

画像に動きなしのまま、解像度切り替え時間ATHが経過したと判定した場合、CPU206は、解像度を高解像度に切り替える。CPU206は、解像度を高解像度に切り替えた後、閾値ST_THを用いて画像の動きの有無を監視する。CPU206は、この閾値ST_THを用いることにより、画像の動きの有無判定の感度を低下させる。   If the CPU 206 determines that the resolution switching time ATH has elapsed without any movement of the image, the CPU 206 switches the resolution to a high resolution. After switching the resolution to a high resolution, the CPU 206 monitors the presence or absence of image movement using the threshold value ST_TH. The CPU 206 uses this threshold value ST_TH to lower the sensitivity for determining the presence / absence of image motion.

このため、例えば、書画カメラ1のテーブルのブレや影による影響によって、画像に多少の動きが生じても、CPU206は、画像に動きありとは判定せず、高解像度撮影、高解像度投影のやり直しを防止し、解像度の頻繁な切り替えを防止する。   For this reason, for example, even if some movement occurs in the image due to the blurring or shadow of the table of the document camera 1, the CPU 206 does not determine that the image has movement, and redoes high-resolution shooting and high-resolution projection. And prevent frequent switching of resolutions.

尚、CPU206は、解像度切り替え時間ATH経過後に高解像度撮影を何度もやり直さないようにするため、高解像度撮影フラグを用いて、高解像度撮影を制御する。   Note that the CPU 206 controls high-resolution imaging using a high-resolution imaging flag so as not to repeat high-resolution imaging after the resolution switching time ATH has elapsed.

即ち、CPU206は、撮影モードを静止画モードに設定すると、高解像度撮影フラグをオンして、高解像度撮影を行う。高解像度撮影を行うと、CPU206は、この高解像度撮影フラグをオフして、高解像度撮影を行わないようにする。   That is, when the shooting mode is set to the still image mode, the CPU 206 turns on the high resolution shooting flag and performs high resolution shooting. When high-resolution shooting is performed, the CPU 206 turns off the high-resolution shooting flag so that high-resolution shooting is not performed.

撮影は行わないものの、画像の動きの有無判定については、リアルタイムで行うため、CPU206は、書画カメラ1の解像度を低解像度に切り替えて、再度、低解像度画像のデータを用いて画像変化量MDを算出する。   Although the photographing is not performed, the presence / absence determination of the image motion is performed in real time. Therefore, the CPU 206 switches the resolution of the document camera 1 to a low resolution, and again uses the data of the low resolution image to calculate the image change amount MD. calculate.

プロジェクタ2は、スクリーン3に投影光を照射して原稿4の画像を結像させるものである。書画カメラ1とプロジェクタ2とは、RGB等のケーブル14を介して接続される。書画カメラ1は、カメラ部11が撮影した原稿4の画像データを、ケーブル14を介してプロジェクタ2に出力する。   The projector 2 irradiates the screen 3 with projection light and forms an image of the document 4. The document camera 1 and the projector 2 are connected via a cable 14 such as RGB. The document camera 1 outputs the image data of the document 4 photographed by the camera unit 11 to the projector 2 via the cable 14.

次に実施形態に係る撮影画像投影装置の動作を説明する。
ユーザが書画カメラ1の電源をONにすると、書画カメラ1のCPU206は、プログラムコード記憶装置205からプログラムコードを読み出す。
CPU206、画像処理装置203等は、図4と図5とに示すフローチャートに従って基本撮影処理を実行する。
Next, the operation of the captured image projection apparatus according to the embodiment will be described.
When the user turns on the power of the document camera 1, the CPU 206 of the document camera 1 reads the program code from the program code storage device 205.
The CPU 206, the image processing device 203, and the like execute basic photographing processing according to the flowcharts shown in FIGS.

CPU206は、書画カメラ1のカメラ部11の焦点、露出、ホワイトバランスなどのカメラ設定パラメータの初期化を行う(ステップS11)。   The CPU 206 initializes camera setting parameters such as the focus, exposure, and white balance of the camera unit 11 of the document camera 1 (step S11).

CPU206は、撮影モードを動画モードに初期化する(ステップS12)。CPU206は、撮影モードを動画モードをセットして、このモード状態値をメモリ201の作業データ記憶領域201dに記憶する。また、CPU206は、カメラ部11のイメージセンサ102からの画像データがVGAによる画像データになるように設定する。さらに、CPU206は、比較画像記憶領域201bを0クリアする。   The CPU 206 initializes the shooting mode to the moving image mode (step S12). The CPU 206 sets the shooting mode to the moving image mode, and stores this mode state value in the work data storage area 201 d of the memory 201. Further, the CPU 206 sets the image data from the image sensor 102 of the camera unit 11 to be image data by VGA. Further, the CPU 206 clears the comparison image storage area 201b to zero.

これにより、カメラ部11が捉えているシーンが、光学レンズ装置101を経由してイメージセンサ102に集光され、イメージセンサ102は集光された画像から動画撮影用の解像度の低いデジタル画像を作成する。   As a result, the scene captured by the camera unit 11 is condensed on the image sensor 102 via the optical lens device 101, and the image sensor 102 creates a low-resolution digital image for moving image shooting from the collected image. To do.

CPU206は、カメラ部11のカメラの撮影条件を初期化する(ステップS13)。
CPU206は、低解像度撮影を行うようにカメラ部11を制御し、カメラ部11は、低解像度の画像データを現在画像記憶領域201aに書き込む(ステップS14)。
The CPU 206 initializes the shooting conditions of the camera of the camera unit 11 (step S13).
The CPU 206 controls the camera unit 11 to perform low-resolution imaging, and the camera unit 11 writes low-resolution image data in the current image storage area 201a (step S14).

CPU206は、静止時間DTと静止高感度時間ATに経過時間のカウント値を加算する(ステップS15)。CPU206は、加算した新たな静止時間DTと静止高感度時間ATとを、メモリ201の作業データ記憶領域201dに記憶する。   The CPU 206 adds the elapsed time count value to the stationary time DT and the stationary high sensitivity time AT (step S15). The CPU 206 stores the added new stationary time DT and stationary high sensitivity time AT in the work data storage area 201d of the memory 201.

CPU206は、前回の撮影画像を比較画像記憶領域201bから読み出し、読み出した比較画像と新たに取得した画像との間の画像変化量MDを、数1に従って算出する(ステップS16)。   The CPU 206 reads the previous captured image from the comparison image storage area 201b, and calculates the image change amount MD between the read comparison image and the newly acquired image according to Equation 1 (step S16).

CPU206は、メモリ201の作業データ記憶領域201dに記憶されたモード状態値に基づいて撮影モードが動画モードか静止画モードかを判定する(ステップS17)。   The CPU 206 determines whether the shooting mode is the moving image mode or the still image mode based on the mode state value stored in the work data storage area 201d of the memory 201 (step S17).

初期状態では撮影モードに動画モードが設定されているため、CPU206は、動画モードと判定し(ステップS17においてYes)、予め設定された閾値MT_THとステップS16において求めた画像変化量MDとを比較する。そして、CPU206は、比較結果に基づいて画像に動きがあるか否かを判定する(ステップS18)。   Since the moving image mode is set as the shooting mode in the initial state, the CPU 206 determines that the moving image mode is selected (Yes in step S17), and compares the preset threshold value MT_TH with the image change amount MD obtained in step S16. . Then, the CPU 206 determines whether or not there is a motion in the image based on the comparison result (step S18).

画像変化量MDが閾値MT_THを超えている場合、CPU206は、画像に動きがあると判定し(ステップS18においてYes)、静止時間DTを0クリアする(ステップS19)。   When the image change amount MD exceeds the threshold value MT_TH, the CPU 206 determines that there is a motion in the image (Yes in step S18), and clears the still time DT to 0 (step S19).

CPU206は、現在の低解像度画像を比較画像記憶領域201bに保存する(ステップS20)。   The CPU 206 stores the current low resolution image in the comparison image storage area 201b (step S20).

ユーザが原稿4をセットしている間、画像変化量MDは閾値MT_THを超える。この場合、CPU206は、画像に動きがあると判定して、ステップS14〜S20を繰り返し、実行する。   While the user is setting the document 4, the image change amount MD exceeds the threshold value MT_TH. In this case, the CPU 206 determines that there is a motion in the image, and repeats and executes steps S14 to S20.

その後、ユーザが原稿4のセットを終えて、画像変化量MDが閾値MT_TH以下になった場合、CPU206は、画像に動きがないと判定する(ステップS18においてNo)。   Thereafter, when the user finishes setting the document 4 and the image change amount MD becomes equal to or less than the threshold value MT_TH, the CPU 206 determines that there is no movement in the image (No in step S18).

このように判定すると、CPU206は、静止時間DTがモード切り替え時間DTHを経過したか否かを判定する(ステップS21)。   If determined in this way, the CPU 206 determines whether or not the stationary time DT has passed the mode switching time DTH (step S21).

静止時間DTがモード切り替え時間DTH以下と判定した場合(DT≦DTH;ステップS21においてNo)、CPU206は、静止時間DTがモード切り替え時間DTHを超えるまで、ステップS14〜S21を繰り返し、実行する。   When it is determined that the stationary time DT is equal to or shorter than the mode switching time DTH (DT ≦ DTH; No in step S21), the CPU 206 repeats and executes steps S14 to S21 until the stationary time DT exceeds the mode switching time DTH.

静止時間DTがモード切り替え時間DTHを超える前に画像変化量MDが閾値MT_THを超えた場合、CPU206は、画像に動きがあると判定し(ステップS18においてYes)、再度、静止時間DTを0クリアする(ステップS19)。そして、CPU206は、画像に動きがないと判定するまでステップS14〜S20を繰り返し、実行する。   If the image change amount MD exceeds the threshold value MT_TH before the stationary time DT exceeds the mode switching time DTH, the CPU 206 determines that there is a motion in the image (Yes in step S18), and clears the stationary time DT to 0 again. (Step S19). And CPU206 repeats and performs step S14-S20 until it determines with there being no motion in an image.

静止時間DTがモード切り替え時間DTHを超えたと判定した場合(DT>DTH;ステップS21においてYes)、CPU206は、撮影モードを静止画モードにセットする(ステップS22)。   When it is determined that the still time DT has exceeded the mode switching time DTH (DT> DTH; Yes in step S21), the CPU 206 sets the shooting mode to the still image mode (step S22).

CPU206は、高解像度撮影フラグをオンにする(ステップS23)。
CPU206は、この時点からの静止高感度時間ATを計測するため、静止高感度時間ATを0クリアする(ステップS24)。
The CPU 206 turns on the high resolution shooting flag (step S23).
The CPU 206 clears the static high sensitivity time AT to zero in order to measure the static high sensitivity time AT from this point (step S24).

撮影モードを静止画モードにセットすると、CPU206は、撮影モードが動画モードではないと判定し(ステップS17においてNo)、静止高感度時間ATが解像度切り替え時間ATHを超えたか否かを判定する(図5のステップS25)。   When the shooting mode is set to the still image mode, the CPU 206 determines that the shooting mode is not the moving image mode (No in step S17), and determines whether or not the still high sensitivity time AT exceeds the resolution switching time ATH (FIG. 5 step S25).

静止高感度時間ATが解像度切り替え時間ATHを超えていないと判定した場合(AT≦ATH;ステップS25においてNo)、CPU206は、画像変化量MDと閾値MT_THとを比較する。そして、CPU206は、比較結果に基づいて画像に動きがあるか否かを判定する(ステップS26)。   When it is determined that the still high sensitivity time AT does not exceed the resolution switching time ATH (AT ≦ ATH; No in step S25), the CPU 206 compares the image change amount MD with the threshold value MT_TH. Then, the CPU 206 determines whether or not there is a motion in the image based on the comparison result (step S26).

画像変化量MDが閾値MT_THを超えた場合(MD>MT_TH)、CPU206は、画像に動きがあると判定する(ステップS26においてYes)。この場合、CPU206は、撮影モードを動画モードに設定する(ステップS27)。   When the image change amount MD exceeds the threshold value MT_TH (MD> MT_TH), the CPU 206 determines that there is a motion in the image (Yes in step S26). In this case, the CPU 206 sets the shooting mode to the moving image mode (step S27).

撮影モードを動画モードに設定した場合、CPU206は、再度、静止時間DTを0クリアし(ステップS19)、画像に動きがないと判定するまでステップS14〜S20を繰り返し、実行する。   When the shooting mode is set to the moving image mode, the CPU 206 again clears the still time DT to 0 (step S19), and repeats and executes steps S14 to S20 until it is determined that there is no motion in the image.

静止高感度時間ATが解像度切り替え時間ATHを超えていないと判定して(AT≦ATH;ステップS25においてNo)、さらに、画像変化量MDが閾値MT_TH以下の場合(MD≦MT_TH)、CPU206は、画像に動きがないと判定する(ステップS26においてNo)。この場合、CPU206は、ステップS14〜S17、ステップS25を再度、実行する。   When it is determined that the still high sensitivity time AT does not exceed the resolution switching time ATH (AT ≦ ATH; No in step S25), and when the image change amount MD is equal to or less than the threshold value MT_TH (MD ≦ MT_TH), the CPU 206 It is determined that there is no motion in the image (No in step S26). In this case, the CPU 206 executes steps S14 to S17 and step S25 again.

静止高感度時間ATが解像度切り替え時間ATHを超えたと判定した場合(AT>ATH;ステップS25においてYes)、CPU206は、画像変化量MDと閾値ST_THとを比較する。そして、CPU206は、比較結果に基づいて画像に動きがあるか否かを判定する(ステップS28)。   When it is determined that the still high sensitivity time AT has exceeded the resolution switching time ATH (AT> ATH; Yes in step S25), the CPU 206 compares the image change amount MD with the threshold value ST_TH. Then, the CPU 206 determines whether or not there is a motion in the image based on the comparison result (step S28).

画像変化量MDが閾値ST_THを超えた場合(MD>ST_TH)、CPU206は、画像に動きがあると判定する(ステップS28においてYes)。この場合、CPU206は、撮影モードを動画モードに設定する(ステップS27)。   When the image change amount MD exceeds the threshold value ST_TH (MD> ST_TH), the CPU 206 determines that there is a motion in the image (Yes in step S28). In this case, the CPU 206 sets the shooting mode to the moving image mode (step S27).

CPU206は、再度、静止時間DTを0クリアし(ステップS19)、画像に動きがないと判定するまでステップS14〜S17,S25〜S27を繰り返し、実行する。   The CPU 206 again clears the still time DT to 0 (step S19), and repeats and executes steps S14 to S17 and S25 to S27 until it is determined that there is no motion in the image.

静止高感度時間ATが解像度切り替え時間ATHを超えた場合(AT>ATH;ステップS25においてYes)に、画像変化量MDが閾値ST_TH以下の場合(MD≦ST_TH)、CPU206は、画像に動きがないと判定する(ステップS28においてNo)。   When the still high sensitivity time AT exceeds the resolution switching time ATH (AT> ATH; Yes in step S25), when the image change amount MD is equal to or less than the threshold value ST_TH (MD ≦ ST_TH), the CPU 206 has no motion in the image. (No in step S28).

CPU206は、画像に動きがないと判定すると、高解像度撮影フラグがオンになっているか否かを判定する(ステップS29)。   If the CPU 206 determines that there is no motion in the image, the CPU 206 determines whether or not the high-resolution shooting flag is on (step S29).

最初、CPU206は、高解像度撮影フラグがオンになっていると判定する(ステップS29においてYes)。この場合、CPU206は、高解像度カメラ撮影を行う(ステップS30)。   First, the CPU 206 determines that the high resolution shooting flag is on (Yes in step S29). In this case, the CPU 206 performs high-resolution camera shooting (step S30).

CPU206は、メモリ201の投影画像記憶領域201cに高解像度の画像データを記憶する。画像処理装置203は、メモリ201の投影画像記憶領域201cから高解像度の画像データを読み出して高解像度投影処理を実行する(ステップS31)。画像処理装置203は、メモリ201の投影画像記憶領域201cに、処理を施した画像データを記憶する。   The CPU 206 stores high-resolution image data in the projected image storage area 201 c of the memory 201. The image processing apparatus 203 reads high-resolution image data from the projection image storage area 201c of the memory 201 and executes high-resolution projection processing (step S31). The image processing apparatus 203 stores the processed image data in the projected image storage area 201 c of the memory 201.

CPU206は、画像処理装置203が高解像度投影処理を実行すると、高解像度撮影フラグをオフにする(ステップS32)。
高解像度撮影フラグがオフになっていると判定した場合(ステップS29においてNo)、CPU206は、再度、低解像度カメラ撮影を行う(ステップS14)。
When the image processing apparatus 203 executes the high resolution projection process, the CPU 206 turns off the high resolution shooting flag (step S32).
When it is determined that the high resolution shooting flag is off (No in step S29), the CPU 206 performs low resolution camera shooting again (step S14).

次に、撮影画像投影装置の動作を図6,7に基づいて具体的に説明する。
図6に示すように、時刻t0において、原稿4が差し替え中の場合、CPU206は、画像変化量MDと閾値MT_THとを比較して画像に動きがあると判定する(ステップS18においてYes)。このように判定すると、CPU206は、撮影モードを、初期の動画モードのままとする。
Next, the operation of the captured image projection apparatus will be specifically described with reference to FIGS.
As shown in FIG. 6, when the document 4 is being replaced at time t0, the CPU 206 compares the image change amount MD with the threshold value MT_TH and determines that there is a motion (Yes in step S18). If determined in this way, the CPU 206 keeps the shooting mode in the initial moving image mode.

時刻t1において、MD≦MT_THになると、CPU206は、画像に動きがないと判定する(ステップS18においてNo)。このように判定してから静止時間DTがモード切り替え時間DTH以下(DT≦DTH)の場合(ステップS21においてNo)、CPU206は、撮影モードを動画モードに設定したまま、静止時間DTがモード切り替え時間DTHを超えるまで、ステップS14〜S21を繰り返し、実行する。   When MD ≦ MT_TH at time t1, CPU 206 determines that there is no motion in the image (No in step S18). If the still time DT is equal to or shorter than the mode switching time DTH (DT ≦ DTH) after the determination in this way (No in step S21), the CPU 206 sets the shooting mode to the moving image mode and the still time DT is the mode switching time. Steps S14 to S21 are repeated until DTH is exceeded.

静止時間DTがモード切り替え時間DTHを超えるまでの間に、MD>MT_THとなった場合、CPU206は、画像に動きがあったと判定し(ステップS18においてYes)、静止時間DTを0クリアする(ステップS19の処理)。   If MD> MT_TH before the stationary time DT exceeds the mode switching time DTH, the CPU 206 determines that the image has moved (Yes in step S18), and clears the stationary time DT to 0 (step Process of S19).

時刻t1から時間が経過して、時刻t2を過ぎ、即ち、静止時間DTがモード切り替え時間DTHを超えた(DT>DTH)場合(ステップS21においてYes)、CPU206は、撮影モードを静止画モードに設定し、高解像度撮影フラグをオンして、静止高感度時間ATを0クリアする(ステップS22〜S24)。   When time elapses from time t1 and time t2 is exceeded, that is, when the still time DT exceeds the mode switching time DTH (DT> DTH) (Yes in step S21), the CPU 206 sets the shooting mode to the still image mode. It is set, the high resolution shooting flag is turned on, and the static high sensitivity time AT is cleared to 0 (steps S22 to S24).

静止高感度時間ATが解像度切り替え時間ATH以下(AT≦ATH)の場合(ステップS25においてNo)、CPU206は、画像変化量MDと閾値MT_THとを比較して画像の動きを監視する(ステップS26)。   When the still high sensitivity time AT is equal to or less than the resolution switching time ATH (AT ≦ ATH) (No in step S25), the CPU 206 compares the image change amount MD with the threshold value MT_TH and monitors the movement of the image (step S26). .

時刻t3経過前の時刻t11(AT≦ATH)において、例えば、影写りがあって、画像変化量MDが閾値MT_THを超えた場合(ステップS26においてYes)、CPU206は、画像に動きがあると判定し、撮影モードを動画モードに設定する(ステップS27の処理)。   At time t11 (AT ≦ ATH) before the elapse of time t3, for example, when there is a shadow and the image change amount MD exceeds the threshold value MT_TH (Yes in step S26), the CPU 206 determines that there is motion in the image. Then, the shooting mode is set to the moving image mode (step S27).

一方、図7に示すように、画像に動きがないまま、時刻t3を超えた場合(AT>ATH)、CPU206は、画像変化量MDと比較する閾値をST_THに代えて、画像の動きを監視する(ステップS28)。   On the other hand, as shown in FIG. 7, when the time t3 is exceeded with no image motion (AT> ATH), the CPU 206 monitors the motion of the image by changing the threshold value to be compared with the image change amount MD to ST_TH. (Step S28).

時刻t12において、書画カメラ1を載置したテーブルに多少の揺れがあったり、影写りがあったりして、画像変化量MDが閾値MT_THを超えても、閾値ST_TH以下であれば、CPU206は画像に動きがないと判定する(ステップS28においてNo)。   At time t12, even if the table on which the document camera 1 is placed has some shaking or shadows, and the image change amount MD exceeds the threshold value MT_TH, the CPU 206 determines that the image is less than the threshold value ST_TH. Is determined not to move (No in step S28).

そして、CPU206は、高解像度撮影フラグがオンになっているか否かを判定する(ステップS29)。最初は、高解像度撮影フラグがオンとなっているので(ステップS29においてYes)、CPU206は、高解像度撮影を行い(ステップS30の処理)、画像処理装置203は、高解像度投影処理を実行する(ステップS31の処理)。   Then, the CPU 206 determines whether or not the high resolution shooting flag is turned on (step S29). Initially, since the high-resolution shooting flag is on (Yes in step S29), the CPU 206 performs high-resolution shooting (step S30 processing), and the image processing device 203 executes high-resolution projection processing (step S30). Step S31).

CPU206は、画像処理装置203が高解像度投影処理を実行すると、高解像度撮影フラグをオフにして(ステップS32の処理)、再度、低解像度撮影を行う(ステップS14の処理)。   When the image processing apparatus 203 executes the high-resolution projection processing, the CPU 206 turns off the high-resolution shooting flag (step S32 processing) and performs low-resolution shooting again (step S14 processing).

高解像度撮影フラグをオフにすることにより、解像度切り替え時間ATH経過後は、画像に動きがなければ、書画カメラ1は、高解像度投影処理を実行しなくなる(ステップS29においてNo)。   By turning off the high resolution shooting flag, after the resolution switching time ATH elapses, the document camera 1 does not execute the high resolution projection process if there is no movement in the image (No in step S29).

このように、解像度切り替え時間内(AT≦ATH)であれば、撮影画像投影装置は、手や影の動きに敏感に反応する。一方、解像度切り替え時間を経過すれば(AT>ATH)、撮影画像投影装置は、多少のテーブルのブレや影の影響程度では、画像に動きがあるとは判定しなくなり、高解像度撮影、高解像度投影処理のやり直しが防止される。   Thus, if it is within the resolution switching time (AT ≦ ATH), the captured image projection apparatus reacts sensitively to the movement of the hand or shadow. On the other hand, when the resolution switching time has passed (AT> ATH), the captured image projection device does not determine that the image is moving with the degree of the influence of some table blurs or shadows. Redo of the projection process is prevented.

以上説明したように、本実施形態によれば、CPU206は、画像に動きがないと判定した場合でも、モード切り替え時間DTH、解像度切り替え時間ATHを超えなければ、画像の動きがないと判定しないようにした。従って、画像の動きの停止状態を確実に判定することができる。   As described above, according to the present embodiment, even when the CPU 206 determines that there is no motion, the CPU 206 does not determine that there is no motion unless the mode switching time DTH and the resolution switching time ATH are exceeded. I made it. Therefore, it is possible to reliably determine the stop state of the image motion.

また、モード切り替え時間内(DT≦DTH)、解像度切り替え時間内(AT≦ATH)の場合、CPU206は、画像変化量MDと閾値MT_THとを比較し、比較結果に基づいて、画像の動きの有無を判定する。   Further, in the mode switching time (DT ≦ DTH) and the resolution switching time (AT ≦ ATH), the CPU 206 compares the image change amount MD with the threshold value MT_TH, and based on the comparison result, the presence / absence of image motion is determined. Determine.

一方、解像度切り替え時間を経過した場合(AT>ATH)、CPU206は、画像変化量MDと閾値ST_TH(MT_TH<ST_TH)とを比較し、比較結果に基づいて、画像の動きの有無を判定するようにした。   On the other hand, when the resolution switching time has elapsed (AT> ATH), the CPU 206 compares the image change amount MD with the threshold value ST_TH (MT_TH <ST_TH), and determines the presence / absence of image movement based on the comparison result. I made it.

従って、モード切り替え時間内(DT≦DTH)、解像度切り替え時間内(AT≦ATH)では、撮影画像投影装置は、手や影の動きに敏感に反応する。一方、解像度切り替え時間ATHを経過すれば(AT>ATH)、撮影画像投影装置は、多少のテーブルのブレや影の影響程度では、画像に動きがあるとは判定しない。このため、高解像度撮影、高解像度投影処理のやり直しを防止することができ、解像度の頻繁な切り替えを防止できる。   Therefore, within the mode switching time (DT ≦ DTH) and the resolution switching time (AT ≦ ATH), the captured image projection apparatus reacts sensitively to the movement of the hand or shadow. On the other hand, if the resolution switching time ATH elapses (AT> ATH), the captured image projection apparatus does not determine that the image has a motion with the degree of the influence of some table blurring or shadow. For this reason, it is possible to prevent redoing of high-resolution imaging and high-resolution projection processing, and it is possible to prevent frequent switching of resolutions.

尚、本発明を実施するにあたっては、種々の形態が考えられ、上記実施の形態に限られるものではない。
例えば、上記実施形態では、撮影装置を撮影画像投影装置として説明した。しかし、プロジェクタ2を備える必要はなく、例えば、デジタルカメラで原稿4を撮影するような構成のものであっても、上記実施形態を適用することができる。
In carrying out the present invention, various forms are conceivable and the present invention is not limited to the above embodiment.
For example, in the above embodiment, the photographing apparatus has been described as a photographed image projecting apparatus. However, it is not necessary to include the projector 2, and for example, the above embodiment can be applied even to a configuration in which the document 4 is photographed with a digital camera.

また、上記実施形態では、プログラムが、それぞれメモリ等に予め記憶されているものとして説明した。しかし、コンピュータを、装置の全部又は一部として動作させ、あるいは、上述の処理を実行させるためのプログラムを、フレキシブルディスク、CD−ROM(Compact Disk Read-Only Memory)、DVD(Digital Versatile Disk)、MO(Magneto Optical disk)などのコンピュータ読み取り可能な記録媒体に格納して配布し、これを別のコンピュータにインストールし、上述の手段として動作させ、あるいは、上述の工程を実行させてもよい。
さらに、インターネット上のサーバ装置が有するディスク装置等にプログラムを格納しておき、例えば、搬送波に重畳させて、コンピュータにダウンロード等するものとしてもよい。
In the above-described embodiment, the program is described as being stored in advance in a memory or the like. However, a program for causing a computer to operate as the whole or a part of the apparatus or to execute the above-described processing is a flexible disk, a CD-ROM (Compact Disk Read-Only Memory), a DVD (Digital Versatile Disk), The information may be stored in a computer-readable recording medium such as an MO (Magneto Optical disk) and distributed, installed in another computer, operated as the above-described means, or the above-described 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に係る撮影画像投影装置の構成を示す図である。It is a figure which shows the structure of the picked-up image projection apparatus which concerns on Embodiment 1 of this invention. 図1に示す書画カメラの構成を示すブロック図である。It is a block diagram which shows the structure of the document camera shown in FIG. 図2に示すメモリの各記憶領域を示すブロック図である。FIG. 3 is a block diagram showing each storage area of the memory shown in FIG. 2. 図1に示す撮影画像投影装置が実行する基本撮影処理(その1)を示すフローチャートである。3 is a flowchart showing basic imaging processing (part 1) executed by the captured image projection apparatus shown in FIG. 図1に示す撮影画像投影装置が実行する基本撮影処理(その2)を示すフローチャートである。FIG. 3 is a flowchart showing basic imaging processing (part 2) executed by the captured image projection apparatus shown in FIG. 1. FIG. 図1に示す撮影画像投影装置の具体的な動作(1)を示す図である。It is a figure which shows the specific operation | movement (1) of the picked-up image projector shown in FIG. 図1に示す撮影画像投影装置の具体的な動作(2)を示す図である。It is a figure which shows the specific operation | movement (2) of the picked-up image projector shown in FIG.

符号の説明Explanation of symbols

1・・・書画カメラ、2・・・プロジェクタ、3・・・スクリーン、4・・・原稿、11・・・カメラ部、201・・・メモリ、202・・・表示装置、203・・・画像処理装置、204・・・操作部、206・・・CPU   DESCRIPTION OF SYMBOLS 1 ... Document camera, 2 ... Projector, 3 ... Screen, 4 ... Original, 11 ... Camera part, 201 ... Memory, 202 ... Display apparatus, 203 ... Image Processing device, 204... Operation unit, 206... CPU

Claims (6)

撮影対象を撮影する撮影装置であって、
前記撮影対象を撮影する撮影部と、
前記撮影部の撮影によって得られた撮影画像の動きの有無に基づいて、解像度を設定し、設定した解像度で前記撮影対象を撮影するように前記撮影部を制御する制御部と、を備え、
前記制御部は、
前記撮影部の撮影によって得られた撮影画像の画像変化量と予め設定された第1の閾値とを比較することにより、前記撮影画像に動きがあるか否かを判定する第1の判定手段と、
前記第1の判定手段が、前記撮影画像に動きがないと判定した場合、予め設定された期間経過後に、前記撮影画像の画像変化量と予め設定された第2の閾値とを比較することにより、前記撮影画像に動きがあるか否かを判定する第2の判定手段と、を備え、
前記第1の判定手段又は前記第2の判定手段が前記撮影画像に動きがあると判定した場合には、前記解像度を第1の解像度に設定して前記撮影対象を撮影し、前記第2の判定手段が、前記撮影画像に動きがないと判定した場合には、前記解像度を前記第1の解像度よりも高い第2の解像度に設定して前記撮影対象を撮影するように前記撮影部を制御する、
ことを特徴とする撮影装置。
An imaging device for imaging an imaging target,
A photographing unit for photographing the photographing object;
A controller configured to set a resolution based on the presence or absence of movement of the captured image obtained by the imaging of the imaging unit, and to control the imaging unit so as to capture the imaging target at the set resolution;
The controller is
First determination means for determining whether or not there is a motion in the captured image by comparing an image change amount of the captured image obtained by the capturing of the capturing unit with a first threshold value set in advance; ,
When the first determination unit determines that there is no movement in the captured image, the image change amount of the captured image is compared with a preset second threshold after a preset period. And second determination means for determining whether or not there is a motion in the captured image,
When the first determination unit or the second determination unit determines that the captured image has a motion, the resolution is set to the first resolution and the imaging target is captured, and the second When the determination unit determines that there is no movement in the captured image, the image capturing unit is controlled to capture the image to be captured by setting the resolution to a second resolution higher than the first resolution. To
An imaging apparatus characterized by that.
前記第2の判定手段が前記判定に用いる前記第2の閾値は、前記第1の判定手段が前記判定に用いる前記第1の閾値よりも高く設定された、
ことを特徴とする請求項1に記載の撮影装置。
The second threshold used by the second determination unit for the determination is set higher than the first threshold used by the first determination unit for the determination.
The imaging apparatus according to claim 1, wherein:
前記第1の判定手段は、前記撮影画像の動きがないと判定した後の前記設定期間においても前記撮影画像の画像変化量と前記第1の閾値とを比較することにより、前記撮影画像の動きの有無を監視する、
ことを特徴とする請求項1又は2に記載の撮影装置。
The first determination unit compares the image change amount of the captured image with the first threshold during the set period after determining that there is no motion of the captured image, thereby moving the captured image. Monitoring for the presence of
The photographing apparatus according to claim 1 or 2, characterized in that
前記第2の判定手段は、前記撮影画像に動きがないと判定した後も、前記撮影画像の画像変化量と前記第2の閾値とを比較することにより、前記撮影画像の動きの有無を監視する、
ことを特徴とする請求項1乃至3のいずれか1項に記載の撮影装置。
The second determination means monitors the presence or absence of motion of the captured image by comparing the image change amount of the captured image with the second threshold even after determining that the captured image has no motion. To
The photographing apparatus according to any one of claims 1 to 3, wherein
撮影によって得られた撮影画像の画像変化量と予め設定された第1の閾値とを比較することにより、前記撮影画像に動きがあるか否かを判定するステップと、
前記撮影画像に動きがあると判定した場合、解像度を第1の解像度に設定して前記撮影対象を撮影するステップと、
前記撮影画像に動きがないと判定した場合、予め設定された期間経過後に、前記撮影画像の画像変化量と予め設定された第2の閾値とを比較することにより、前記撮影画像に動きがあるか否かを判定するステップと、
前記撮影画像に動きがあると判定した場合、前記第1の解像度で前記撮影対象を撮影するステップと、
前記撮影画像に動きがないと判定した場合、前記解像度を前記第1の解像度よりも高い第2の解像度に設定して前記撮影対象を撮影するステップと、を備えた、
ことを特徴とする撮影制御方法。
Determining whether or not there is movement in the captured image by comparing an image change amount of the captured image obtained by capturing with a preset first threshold;
If it is determined that there is a motion in the captured image, the step of setting the resolution to the first resolution and shooting the shooting target;
When it is determined that there is no motion in the captured image, the captured image has motion by comparing the image change amount of the captured image with a preset second threshold after a preset period. Determining whether or not,
If it is determined that there is a motion in the captured image, the step of capturing the object to be captured at the first resolution;
When it is determined that there is no motion in the captured image, the resolution is set to a second resolution higher than the first resolution, and the imaging target is captured.
An imaging control method characterized by the above.
コンピュータに、
撮影によって得られた撮影画像の画像変化量と予め設定された第1の閾値とを比較することにより、前記撮影画像に動きがあるか否かを判定する手順、
前記撮影画像に動きがあると判定した場合、解像度を第1の解像度に設定して前記撮影対象を撮影する手順、
前記撮影画像に動きがないと判定した場合、予め設定された期間経過後に、前記撮影画像の画像変化量と予め設定された第2の閾値とを比較することにより、前記撮影画像に動きがあるか否かを判定する手順、
前記撮影画像に動きがあると判定した場合、前記第1の解像度で前記撮影対象を撮影する手順、
前記撮影画像に動きがないと判定した場合、前記解像度を前記第1の解像度よりも高い第2の解像度に設定して前記撮影対象を撮影する手順、
を実行させるためのプログラム。
On the computer,
A procedure for determining whether or not there is a motion in the captured image by comparing an image change amount of the captured image obtained by capturing with a preset first threshold;
If it is determined that there is movement in the captured image, a procedure for setting the resolution to the first resolution and shooting the shooting target;
When it is determined that there is no motion in the captured image, the captured image has motion by comparing the image change amount of the captured image with a preset second threshold after a preset period. A procedure for determining whether or not
If it is determined that there is a motion in the captured image, a procedure for capturing the imaging object at the first resolution;
When it is determined that there is no motion in the captured image, a procedure for capturing the imaging object by setting the resolution to a second resolution higher than the first resolution;
A program for running
JP2005110000A 2005-04-06 2005-04-06 Photography instrument, photography control method and program Pending JP2006295310A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005110000A JP2006295310A (en) 2005-04-06 2005-04-06 Photography instrument, photography control method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005110000A JP2006295310A (en) 2005-04-06 2005-04-06 Photography instrument, photography control method and program

Publications (1)

Publication Number Publication Date
JP2006295310A true JP2006295310A (en) 2006-10-26

Family

ID=37415431

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005110000A Pending JP2006295310A (en) 2005-04-06 2005-04-06 Photography instrument, photography control method and program

Country Status (1)

Country Link
JP (1) JP2006295310A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005079731A (en) * 2003-08-28 2005-03-24 Casio Comput Co Ltd Photographed picture projection device, picture processing method therefor and program

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005079731A (en) * 2003-08-28 2005-03-24 Casio Comput Co Ltd Photographed picture projection device, picture processing method therefor and program

Similar Documents

Publication Publication Date Title
JP5065060B2 (en) Imaging apparatus and control method thereof
US8237850B2 (en) Electronic camera that adjusts the distance from an optical lens to an imaging surface
JP2008288868A (en) Imaging device and program
JP5771461B2 (en) TRACKING DEVICE, TRACKING METHOD, AND TRACKING PROGRAM
JP2011155492A (en) Image processor
JP2008099159A (en) Imaging apparatus, framing control method and program
JP2007267184A (en) Imaging apparatus
JP2010183291A (en) Tracking apparatus and tracking method
JP2007316401A (en) Imaging apparatus and imaging control method
JP2013012940A (en) Tracking apparatus and tracking method
JP2006211046A (en) Photographing apparatus, image processing method for photographing apparatus, and program
JP2010154306A (en) Device, program and method for imaging control
JP2009157130A (en) Electronic camera
JP4636786B2 (en) Captured image projection device, image processing method and program for captured image projection device
JP6172973B2 (en) Image processing device
JP2010193324A (en) Camera apparatus, photographing method thereof and program
JP2010081244A (en) Imaging device, imaging method, and image processing program
JP5188293B2 (en) Imaging apparatus, control method thereof, and program
JP2006295310A (en) Photography instrument, photography control method and program
JP4547953B2 (en) Imaging apparatus, imaging processing method, and program
JP2005004287A (en) Face image detecting device and its control method
JP2008244670A (en) Imaging apparatus
JP4735649B2 (en) Image projection device
JP4225225B2 (en) Image capturing apparatus, image processing method for image capturing apparatus, and program
JP5839857B2 (en) Imaging apparatus, imaging method, and imaging program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080404

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100420

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100817