JP2000059671A - Device and method for controlling camera, computer readable storage medium and storage medium storing data - Google Patents

Device and method for controlling camera, computer readable storage medium and storage medium storing data

Info

Publication number
JP2000059671A
JP2000059671A JP10224764A JP22476498A JP2000059671A JP 2000059671 A JP2000059671 A JP 2000059671A JP 10224764 A JP10224764 A JP 10224764A JP 22476498 A JP22476498 A JP 22476498A JP 2000059671 A JP2000059671 A JP 2000059671A
Authority
JP
Japan
Prior art keywords
camera
target area
detection target
change
zoom magnification
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
JP10224764A
Other languages
Japanese (ja)
Inventor
Hiroto Oka
寛人 岡
常好 ▲高▼木
Tsuneyoshi Takagi
Yoshihiro Ishida
良弘 石田
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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP10224764A priority Critical patent/JP2000059671A/en
Publication of JP2000059671A publication Critical patent/JP2000059671A/en
Pending legal-status Critical Current

Links

Landscapes

  • Studio Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent an image pickup object from getting out of a detecting area because of a change in the attitude of a camera concerning a camera control unit for performing AF and AE and controlling the attitude of the camera corresponding to the detecting area in a picked-up image. SOLUTION: A camera 100 performs AF and AE based on an image signal in the detecting area. In such a state, a computer terminal 200 for controlling the camera detects whether the attitude of the camera is changed by the camera operation of a user or not and when there is any change, in order to move the detecting area in accordance with the image pickup object corresponding to that change, the position to move the detecting area is calculated. Then, the detecting area is moved to that position.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、焦点、露出等の光
学的パラメータやパン角度、チルト角度、、ロール角度
等のカメラ姿勢に関するパラメータを制御するカメラ制
御装置、方法、それらに用いられるコンピュータ読み取
り可能な記憶媒体及びデータを記憶した記憶媒体に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a camera control apparatus and method for controlling optical parameters such as focus and exposure, and parameters relating to a camera attitude such as a pan angle, a tilt angle, and a roll angle, and a computer-readable device used therein. The present invention relates to a possible storage medium and a storage medium storing data.

【0002】[0002]

【従来の技術】従来より、撮像画像中の任意の領域を検
出対象領域に指定し、その検出対象領域内の画像に基づ
いてカメラの光学的パラメータを自動調節するカメラ制
御装置が知られている。光学的パラメータの自動調節と
しては、自動焦点調節(AF)や自動露出調節(AE)
等がある。また、カメラのズーム倍率を制御できるカメ
ラ制御装置もある。このようなカメラ制御装置では、検
出対象領域の画像に合わせて焦点、露出、ズーム倍率等
が最適化される。
2. Description of the Related Art Conventionally, there has been known a camera control apparatus which designates an arbitrary area in a captured image as a detection target area and automatically adjusts optical parameters of a camera based on an image in the detection target area. . Automatic adjustment of optical parameters includes automatic focus adjustment (AF) and automatic exposure adjustment (AE)
Etc. There is also a camera control device that can control the zoom magnification of a camera. In such a camera control device, the focus, exposure, zoom magnification, and the like are optimized according to the image of the detection target area.

【0003】また、カメラに付随するパネル・リモコン
カメラに接続したコンピュータ等により、カメラ姿勢パ
ラメータを制御できるカメラ制御装置も知られている。
カメラ姿勢パラメータとしては、パン角度、チルト角
度、光軸中心にイメージセンサが回転するにロール角度
等が含まれる。
There is also known a camera control device capable of controlling a camera attitude parameter by a computer or the like connected to a panel / remote control camera attached to the camera.
The camera posture parameters include a pan angle, a tilt angle, a roll angle for rotating the image sensor around the optical axis, and the like.

【0004】[0004]

【発明が解決しようとする課題】上述した従来のカメラ
制御装置では、カメラ姿勢パラメータの変化によって撮
像対象物は撮像領域内で移動するが、検出対象領域の位
置は移動しない。このため、一旦検出対象領域を撮像対
象物に合わせても、その後カメラ姿勢パラメータが変化
すると撮像対象物が検出対象領域から外れてしまい、焦
点や露出等の光学的パラメータが最適化されなくなると
いう問題があった。
In the above-described conventional camera control device, the object to be imaged moves within the image-capturing area due to a change in the camera posture parameter, but the position of the detection object area does not move. For this reason, even if the detection target area is once matched with the imaging target, if the camera posture parameter subsequently changes, the imaging target deviates from the detection target area, and optical parameters such as focus and exposure are not optimized. was there.

【0005】この問題を図17を用いて説明する。図1
7(a)において、300は撮像画像、301は撮像対
象物(被写体)、302は検出対象領域である。検出対
象領域302は、撮像画像300の左上を(0,0)と
したとき、(x1,y1)を左上とし、(x2,y2)
を右下とする長方形に指定されている。このとき検出対
象領域302内に撮像対象物301があるため、光学的
パラメータは撮像対象物301について最適化される。
[0005] This problem will be described with reference to FIG. FIG.
7A, reference numeral 300 denotes a captured image, 301 denotes an imaging target (subject), and 302 denotes a detection target area. When the upper left of the captured image 300 is (0, 0), the detection target area 302 has (x1, y1) as the upper left, and (x2, y2)
Is specified as a rectangle with At this time, since the imaging target 301 is within the detection target region 302, the optical parameters are optimized for the imaging target 301.

【0006】次に上記の状態からカメラが右方向にパン
すると、(b)のようにパン角度の変化に応じて撮像対
象物301が左方向に移動するが、このとき検出対象領
域302は上記(x1,y1)を左上とし、(x2,y
2)を右下とする位置に固定されたままであるため、図
示のように撮像対象物301が検出対象領域302を外
れてしまう。
Next, when the camera pans rightward from the above state, the imaging object 301 moves leftward in accordance with the change of the pan angle as shown in FIG. (X1, y1) is defined as the upper left, and (x2, y
Since 2) remains fixed at the lower right position, the imaging target 301 comes off the detection target area 302 as shown in the figure.

【0007】また、ズーム倍率を制御する場合にも、図
18(a)に示すように、撮像画像500内に固定され
た検出対象領域502における撮像対象物501に光学
的パラメータが最適化されている状態から、(b)のよ
うにズームアウトすると、ズーム倍率の変化に応じて撮
像対象物501の位置及び大きさが変化するので、撮像
対象物501は検出対象領域502を外れてしまうこと
になる。
Also, when controlling the zoom magnification, as shown in FIG. 18A, the optical parameters are optimized for the imaging target 501 in the detection target area 502 fixed in the captured image 500. When the user zooms out from the state shown in FIG. 2B, the position and size of the imaging target 501 change according to the change in the zoom magnification. Become.

【0008】上記の問題を解決するために、従来より視
線検出装置を設け、ユーザが注目している部分に検出対
象領域を移動させるカメラ制御システムが提案されてい
る。しかしながらこの方法では、視線検出装置と言う特
殊な装置を必要とすると共に、カメラをコンピュータが
制御するシステムでは実現できない。
In order to solve the above problem, there has been proposed a camera control system in which a line-of-sight detection device is conventionally provided to move a detection target area to a part where a user is paying attention. However, this method requires a special device called a line-of-sight detection device, and cannot be realized by a system in which a camera is controlled by a computer.

【0009】本発明は、上記の問題を解決するために成
されたもので、カメラ姿勢パラメータやズーム倍率の変
化に応じて検出対象領域を撮像対象物に合わせながら移
動できるようにすることを目的としている。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and has as its object to enable a detection target area to be moved in accordance with a change in a camera posture parameter or a zoom magnification while being adjusted to an imaging target. And

【0010】[0010]

【課題を解決するための手段】上記の目的を達成するた
めに、本発明によるカメラ制御装置においては、カメラ
の撮像画像内に設定された検出対象領域内の画像信号に
基づいて上記カメラの光学的パラメータを調節する調節
手段と、上記カメラの姿勢を制御するためのカメラ姿勢
パラメータを変更する変更手段と、上記変更手段による
カメラ姿勢パラメータの変更に応じて上記検出対象領域
の位置を計算する計算手段とを設けている。
In order to achieve the above object, in a camera control device according to the present invention, an optical signal of the camera is set based on an image signal in a detection target area set in a captured image of the camera. Adjusting means for adjusting dynamic parameters, changing means for changing the camera attitude parameter for controlling the attitude of the camera, and calculation for calculating the position of the detection target area according to the change of the camera attitude parameter by the changing means Means are provided.

【0011】また、本発明による他のカメラ制御装置に
おいては、カメラの撮像画像内に設定された検出対象領
域内の画像信号に基づいて上記カメラの光学的パラメー
タを調節する調節手段と、上記カメラのズーム倍率を変
更する変更手段と、上記変更手段によるズーム倍率の変
更に応じて上記検出対象領域の位置を計算する計算手段
とを設けている。
Further, in another camera control device according to the present invention, an adjusting means for adjusting an optical parameter of the camera based on an image signal in a detection target area set in a captured image of the camera; And a calculating means for calculating the position of the detection target area in accordance with the change in the zoom magnification by the changing means.

【0012】また、本発明によるカメラ制御方法におい
ては、カメラの撮像画像内に設定された検出対象領域内
の画像信号に基づいて上記カメラの光学的パラメータを
調節する調節手順と、上記カメラの姿勢を制御するため
のカメラ姿勢パラメータを変更する変更手順と、上記変
更手順によるカメラ姿勢パラメータの変更に応じて上記
検出対象領域の位置を計算する計算手順とを設けてい
る。
Further, in the camera control method according to the present invention, an adjusting procedure for adjusting an optical parameter of the camera based on an image signal in a detection target area set in a captured image of the camera, and a posture of the camera And a calculation procedure for calculating the position of the detection target area in accordance with the change in the camera attitude parameter according to the change procedure.

【0013】また、本発明による他のカメラ制御方法に
おいては、カメラの撮像画像内に設定された検出対象領
域内の画像信号に基づいて上記カメラの光学的パラメー
タを調節する調節手順と、上記カメラのズーム倍率を変
更する変更手順と、上記変更手順によるズーム倍率の変
更に応じて上記検出対象領域の位置を計算する計算手順
とを設けている。
In another camera control method according to the present invention, an adjusting procedure for adjusting an optical parameter of the camera based on an image signal in a detection target area set in a captured image of the camera; And a calculation procedure for calculating the position of the detection target area in accordance with the change in the zoom magnification by the change procedure.

【0014】また、本発明によるコンピュータ読み取り
可能な記憶媒体においては、カメラの撮像画像内に設定
された検出対象領域内の画像信号に基づいて上記カメラ
の光学的パラメータを調節する調節処理と、上記カメラ
の姿勢を制御するためのカメラ姿勢パラメータを変更す
る変更処理と、上記変更手順によるカメラ姿勢パラメー
タの変更に応じて上記検出対象領域の位置を計算する計
算処理とを実行するためのプログラムを記憶している。
Further, in the computer-readable storage medium according to the present invention, an adjusting process for adjusting an optical parameter of the camera based on an image signal in a detection target area set in a captured image of the camera; A program for executing a change process of changing a camera posture parameter for controlling a posture of the camera and a calculation process of calculating a position of the detection target area according to the change of the camera posture parameter according to the change procedure are stored. are doing.

【0015】また、本発明による他のコンピュータ読み
取り可能な記憶媒体においては、カメラの撮像画像内に
設定された検出対象領域内の画像信号に基づいて上記カ
メラの光学的パラメータを調節する調節処理と、上記カ
メラのズーム倍率を変更する変更処理と、上記変更処理
によるズーム倍率の変更に応じて上記検出対象領域の位
置を計算する計算処理とを実行するためのプログラムを
記憶している。
In another computer-readable storage medium according to the present invention, an adjustment process for adjusting an optical parameter of the camera based on an image signal in a detection target area set in a captured image of the camera. A program for executing a changing process of changing the zoom magnification of the camera and a calculating process of calculating the position of the detection target area in accordance with the change of the zoom magnification by the changing process are stored.

【0016】さらに、本発明によるデータを記憶した記
憶媒体においては、カメラの撮像画像内における検出対
象領域の横軸方向の現在位置と上記検出対象領域の上記
横軸方向の移動量とを対応させたデータを記憶してい
る。
Further, in the storage medium storing data according to the present invention, the current position in the horizontal axis direction of the detection target area in the image picked up by the camera is made to correspond to the movement amount of the detection target area in the horizontal axis direction. Stored data.

【0017】また、本発明による他のデータを記憶した
記憶媒体においては、ズーム倍率が最小となるときを基
準とし、そこからズームレンズを駆動して現在のズーム
倍率にするために必要なズームレンズ駆動モータのパル
ス数を現在のズーム倍率を表すパラメータとするデータ
を記憶している。
Further, in the storage medium storing other data according to the present invention, a zoom lens necessary for driving the zoom lens and setting the current zoom magnification based on the time when the zoom magnification is minimum is used as a reference. Data that stores the number of pulses of the drive motor as a parameter representing the current zoom magnification is stored.

【0018】[0018]

【発明の実施の形態】以下、本発明の実施の形態を図面
と共に説明する。図1は本発明の第1の実施の形態によ
るカメラ制御システムの構成を示すブロック図である。
図1において、100はカメラで、101〜110の各
部で構成される。200はカメラを制御するコンピュー
タ端末(以下、クライアントと言う)で、201〜20
8の各部で構成される。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the camera control system according to the first embodiment of the present invention.
In FIG. 1, reference numeral 100 denotes a camera, which includes 101 to 110 units. Reference numeral 200 denotes a computer terminal (hereinafter, referred to as a client) for controlling the camera.
8 parts.

【0019】まず、カメラ100について説明する。画
像入力部101は、焦点調節を行うレンズ等を含むレン
ズユニット、光量調節を行う絞り、これらを介して入射
した光学像を電気信号に変換するCCD等からなる。A
E回路102は、CCDから得られる画像信号のうち、
検出対象領域に含まれる画像信号に基づいてシャッター
スピード、絞り、AGC等を制御して露出を調節する。
AF回路103は、CCDから得られる画像信号のうち
検出対象領域に含まれる信号を抽出し、その高周波成分
を取り出して、最も鮮鋭度の高い部分にレンズを移動さ
せることにより、焦点を調節する。本実施の形態では、
AF制御のためのパラメータとして、焦点レンズの移動
に要したステッピングモータのパルス数を用いている。
First, the camera 100 will be described. The image input unit 101 includes a lens unit including a lens for performing focus adjustment, a stop for performing light quantity adjustment, a CCD for converting an optical image incident through these components into an electric signal, and the like. A
The E circuit 102 outputs the image signal from the CCD.
The exposure is adjusted by controlling the shutter speed, aperture, AGC, etc., based on the image signal included in the detection target area.
The AF circuit 103 extracts a signal included in the detection target region from the image signal obtained from the CCD, extracts the high-frequency component thereof, and adjusts the focus by moving the lens to a portion having the highest sharpness. In the present embodiment,
The number of pulses of the stepping motor required for moving the focus lens is used as a parameter for AF control.

【0020】操作入力部104は、カメラの操作パネル
やリモコン等から構成され、ユーザによるカメラ姿勢パ
ラメータ変更コマンドを受け付ける。カメラ姿勢制御部
105は、操作入力部104から入力されたコマンドに
従って、カメラのパン角度やチルト角度を制御する各モ
ータを駆動し、実際のカメラ姿勢パラメータを変更す
る。本実施の形態では、各モータの変化に要したパルス
数を用いている。
The operation input unit 104 includes a camera operation panel, a remote controller, and the like, and receives a camera posture parameter change command from a user. The camera attitude control unit 105 drives each motor for controlling a pan angle and a tilt angle of the camera according to a command input from the operation input unit 104, and changes an actual camera attitude parameter. In the present embodiment, the number of pulses required to change each motor is used.

【0021】CPU106は、カメラ100全体を統括
制御するものであり、クライアント200からの制御指
令に応じて各部に適切を処理を実行させる。画像出力I
/F107は、クライアント200の画像入力I/F2
01と接続されており、画像の圧縮等の所定の処理を施
した画像データをクライアント200に出力する。
The CPU 106 controls the overall operation of the camera 100, and causes each unit to execute appropriate processing in response to a control command from the client 200. Image output I
/ F107 is an image input I / F2 of the client 200
01, and outputs to the client 200 image data on which predetermined processing such as image compression has been performed.

【0022】メッセージ出力I/F108は、クライア
ント200のメッセージ入力I/F202と接続され、
カメラ姿勢パラメータ変化時にクライアント200に対
してカメラ姿勢パラメータ変化メッセージを送信する。
本実施の形態におけるカメラ姿勢パラメータ変化メッセ
ージは、図6に示すように、パン角度やチルト角度のそ
れぞれの変化方向及び角度変化に要したモータのパルス
数を用いる。但し、変化メッセージはそれに捉われるも
のでなく、変化後のパン角度とチルト角度の組合わせで
あってもよい。
The message output I / F 108 is connected to the message input I / F 202 of the client 200,
When the camera posture parameter changes, a camera posture parameter change message is transmitted to the client 200.
As shown in FIG. 6, the camera posture parameter change message according to the present embodiment uses the respective change directions of the pan angle and the tilt angle and the number of motor pulses required for the angle change. However, the change message is not limited thereto, and may be a combination of the changed pan angle and tilt angle.

【0023】コマンド入力I/F109は、クライアン
ト200のコマンドI/F203と接続されており、ク
ライアント200から送信される検出対象領域移動コマ
ンドを受信する。本実施の形態におけるコマンドは、図
7に示すように、現在の検出対象領域の位置に対する変
化量Δx及びΔyからなる。ここで、Δxは現在の位置
から変化させる画像の横軸方向の移動画素数、Δyは現
在の位置から変化させる画像の縦軸方向の移動画素数で
ある。但し、移動コマンドはそれに捉われるものでな
く、画像の左上隅を原点(0,0)とし、その原点と相
対する座標情報を送受信してもよい。
The command input I / F 109 is connected to the command I / F 203 of the client 200, and receives a detection target area movement command transmitted from the client 200. The command according to the present embodiment includes, as shown in FIG. 7, the amounts of change Δx and Δy with respect to the current position of the detection target area. Here, Δx is the number of moving pixels in the horizontal direction of the image changed from the current position, and Δy is the number of moving pixels in the vertical direction of the image changed from the current position. However, the movement command is not limited thereto, and the origin (0, 0) may be set at the upper left corner of the image, and coordinate information relative to the origin may be transmitted and received.

【0024】検出対象領域管理部110は、検出対象領
域移動コマンドに従って検出対象領域を移動させる。
The detection target area management unit 110 moves the detection target area in accordance with the detection target area movement command.

【0025】次にクライアント200について説明す
る。画像入力I/F201は、カメラ100からの画像
データを受信し、メッセージ入力I/F202は、カメ
ラ100からのカメラ姿勢パラメータ変化メッセージを
受信する。コマンド出力I/F203は、検出対象領域
移動コマンドをカメラ100に送信する。画像表示部2
04は、受信した画像データに基づいて撮像画像を表示
する。
Next, the client 200 will be described. The image input I / F 201 receives image data from the camera 100, and the message input I / F 202 receives a camera posture parameter change message from the camera 100. The command output I / F 203 transmits a detection target area movement command to the camera 100. Image display unit 2
04 displays a captured image based on the received image data.

【0026】CPU205は、クライアント200全体
を総括制御するものであり、ROM206に格納された
プログラムをRAM207に読み出し、そのプログラム
に基づいて各種処理を実行する。上記ROM207は、
画像入力I/F201から入力されるデータの処理やC
PU205の処理を実行するための各種プログラムを格
納している。
The CPU 205 performs overall control of the entire client 200, reads a program stored in the ROM 206 into the RAM 207, and executes various processes based on the program. The ROM 207 is
Processing of data input from the image input I / F 201 and C
Various programs for executing the processing of the PU 205 are stored.

【0027】二次記憶部208は、フロッピィディス
ク、ハードディスク、CD−ROM等が用いられ、これ
らによってもクライアント200の実行するプログラム
を記憶することができる。尚、CPU205、ROM2
06、RAM207、二次記憶部208等は、メッセー
ジ入力I/F202から入力されたカメラカメラ姿勢パ
ラメータ変化メッセージより検出対象領域の位置を計算
する計算手段を構成する。
The secondary storage unit 208 uses a floppy disk, a hard disk, a CD-ROM, or the like, and can also store a program to be executed by the client 200. The CPU 205 and the ROM 2
06, the RAM 207, the secondary storage unit 208, and the like constitute calculation means for calculating the position of the detection target area from the camera / camera posture parameter change message input from the message input I / F 202.

【0028】次に動作について説明する。図2は、カメ
ラ100において、カメラ姿勢パラメータ変更コマンド
が入力された場合の動作処理フローチャートである。ス
テップs101(以下、ステップ略)で、検出対象領域
の初期位置を決定する。具体的には、操作入力部104
から入力されたコマンドによって検出対象領域管理部1
10が検出対象領域を撮像画像中で移動させる。s10
2で、操作入力部104からカメラ姿勢パラメータ変更
コマンドが入力されたと解析されると、s103に進
む。
Next, the operation will be described. FIG. 2 is an operation processing flowchart when the camera posture parameter change command is input to the camera 100. In step s101 (hereinafter, step is omitted), an initial position of the detection target area is determined. Specifically, the operation input unit 104
Detection target area management unit 1 according to a command input from
10 moves the detection target area in the captured image. s10
When it is analyzed in step 2 that a camera posture parameter change command is input from the operation input unit 104, the process proceeds to s103.

【0029】s103で、カメラ姿勢制御部105はカ
メラ姿勢を制御し、カメラ姿勢パラメータを変更する。
さらにs104で、CPU106はカメラ姿勢パラメー
タが変化したことをクライアント200に伝えるための
カメラ姿勢パラメータ変化メッセージを作成する。そし
て、s105で、作成したメッセージをコマンドI/F
109を用いてクライアント200に送信する。
In s103, the camera attitude control unit 105 controls the camera attitude and changes the camera attitude parameters.
Further, in s104, the CPU 106 creates a camera posture parameter change message for notifying the client 200 that the camera posture parameter has changed. Then, in s105, the created message is sent to the command I / F.
109 to the client 200.

【0030】図3は、クライアント200において、カ
メラ姿勢パラメータ変化メッセージを受信した場合の動
作処理フローチャートである。s201で、コマンド入
力I/F202でカメラ姿勢パラメータ変化メッセージ
を受信したと解析された場合はs202に進む。s20
2で、CPU205は受信したメッセージを解析するこ
とによって、パン角度、チルト角度それぞれの変化に要
したモータのパルス数が求められる。
FIG. 3 is a flowchart of an operation process when the client 200 receives a camera posture parameter change message. If it is determined in s201 that the command input I / F 202 has received the camera posture parameter change message, the process proceeds to s202. s20
In step 2, the CPU 205 analyzes the received message to determine the number of motor pulses required for each change in the pan angle and the tilt angle.

【0031】s203で、CPU205は、s202で
得られたカメラ姿勢パラメータ変化量に基づいて検出対
象領域の撮像画像中における移動量(検出対象領域移動
量)を計算する。本実施の形態の場合、まずパン角度の
変化量から検出対象領域の横軸方向の移動量を計算す
る。
In step s203, the CPU 205 calculates the amount of movement (the amount of movement of the detection target area) in the captured image of the detection target area based on the camera posture parameter change amount obtained in s202. In the case of the present embodiment, first, the amount of movement of the detection target area in the horizontal axis direction is calculated from the amount of change in the pan angle.

【0032】図4は上記パン角度の変化量から検出対象
領域の横軸方向の移動量を計算する手順を示す。まずs
301で、図8のようなテーブルをROM206又は二
次記憶部208からRAM207に読み出す。次にs3
02で、変数Nにs202で得たパン角度のパルス数を
代入する。s303で、パン角度の最初の1パルスに対
して検出対象領域を撮像画像中の横軸方向に何画素移動
させればよいかを、現在の検出対象領域の横軸上の位置
及びテーブルに記載されている値に従って計算する。
FIG. 4 shows a procedure for calculating the amount of movement of the detection target area in the horizontal axis direction from the amount of change in the pan angle. First s
At 301, a table as shown in FIG. 8 is read from the ROM 206 or the secondary storage unit 208 to the RAM 207. Then s3
In 02, the number of pulses of the pan angle obtained in s202 is substituted for a variable N. In s303, the current position on the horizontal axis of the detection target area and the table indicate how many pixels the detection target area should be moved in the horizontal axis direction in the captured image with respect to the first pulse of the pan angle. Calculate according to the value that has been set.

【0033】そしてs304で、s303で求めた値に
基づいて新たな検出対象領域位置を計算する。次にs3
05で、Nの値を1減らす。s306に進み、Nの値を
0か否かを求める。N>0ならばs303に戻って上記
の処理を繰り返す。またN=0ならばs306で、検出
対象領域の横軸方向の位置を整数値に変換して、この処
理を終了する。
Then, in s304, a new detection target area position is calculated based on the value obtained in s303. Then s3
At 05, the value of N is reduced by one. Proceeding to s306, it is determined whether the value of N is 0 or not. If N> 0, the process returns to s303 and the above processing is repeated. If N = 0, the position of the detection target area in the horizontal axis direction is converted into an integer value in s306, and this processing ends.

【0034】続いて、チルト角度の変化量から検出対象
領域の縦軸方向の移動量を同様にして計算する。その場
合、図8のテーブルを用いてもよいし,チルト角度用の
テーブルを別に用意してもよい。また、パン角度及びチ
ルト角度の両方について、テーブルではなく、関数を用
いて検出対象領域の移動量を求めてもよい。
Subsequently, the amount of movement of the detection target area in the vertical axis direction is similarly calculated from the amount of change in the tilt angle. In that case, the table of FIG. 8 may be used, or a table for the tilt angle may be separately prepared. Further, for both the pan angle and the tilt angle, the movement amount of the detection target area may be obtained using a function instead of a table.

【0035】次にs204で、CPU205はs203
で求めた検出対象領域移動量に基づいて検出対象領域移
動コマンドを作成する。そしてs205で、コマンド出
力I/F203は、上記作成した検出対象領域移動コマ
ンドをカメラ100に送信する。
Next, in s204, the CPU 205 determines in s203
A detection target area movement command is created based on the detection target area movement amount obtained in step (1). Then, in s205, the command output I / F 203 transmits the created detection target area movement command to the camera 100.

【0036】図4はカメラ100において、検出対象領
域移動コマンドが受信された場合の動作処理フローチャ
ートである。s401で、コマンド入力I/F109か
ら検出対象領域移動コマンドを受信したと解析される
と、s402に進む。s402で、CPU106は検出
対象領域移動コマンドを解析し、検出対象領域を撮像画
像中で何画素移動させればよいかを計算する。s403
で、検出対象領域管理部110は検出対象領域を移動さ
せる。s404で、AE回路102及びAF回路103
は新たな検出対象領域に基づいて焦点及び露出を計算す
る。
FIG. 4 is a flowchart of an operation process when the camera 100 receives a detection target area movement command. If it is analyzed in s401 that the detection target area movement command has been received from the command input I / F 109, the process proceeds to s402. In step S402, the CPU 106 analyzes the detection target area movement command and calculates how many pixels the detection target area should be moved in the captured image. s403
Then, the detection target area management unit 110 moves the detection target area. In s404, the AE circuit 102 and the AF circuit 103
Calculates focus and exposure based on the new detection area.

【0037】以上説明したように、カメラ100の姿勢
パラメータがユーザの操作等により変化しても、その変
化量に応じて検出対象領域を撮像画像内で移動させ、常
に被写体(撮像対象物)に合わせ続けることができ、こ
れによって光学的パラメータを常に最適化することがで
きる。
As described above, even if the posture parameter of the camera 100 changes due to a user operation or the like, the detection target area is moved in the captured image in accordance with the amount of the change, and is always positioned on the subject (imaging target). The matching can be continued, so that the optical parameters can always be optimized.

【0038】尚、本実施の形態では、カメラ100とク
ライアント200とは1対1で接続されているが、図9
に示すように、ネットワーク等を介して複数のカメラと
複数のクライアントとを接続するようにしてもよい。
In this embodiment, the camera 100 and the client 200 are connected one-to-one.
As shown in (1), a plurality of cameras and a plurality of clients may be connected via a network or the like.

【0039】図10は第2の実施の形態を示す。本実施
の形態は、クライアントをカメラに一体的に組み込んだ
ものである。図10において、画像入力部301は、焦
点調節を行うレンズ等を含むレンズユニット、光量調節
を行う絞り、これらを介して入射した光学像を電気信号
に変換するCCD等からなる。画像表示部302は、C
RT又はLCD等からなり、画像入力部301から入力
された画像を表示する。
FIG. 10 shows a second embodiment. In the present embodiment, the client is integrated into the camera. In FIG. 10, an image input unit 301 includes a lens unit including a lens for performing focus adjustment, a stop for performing light amount adjustment, and a CCD for converting an optical image incident through these components into an electric signal. The image display unit 302
It is composed of an RT or LCD, etc., and displays an image input from the image input unit 301.

【0040】AE回路303は、CCDから得られる画
像信号のうち、検出対象領域に含まれる信号に基づいて
シャッタースピード、絞り、AGC等を制御して露出を
調節する。AF回路304は、CCDから得られる画像
信号のうち検出対象領域に含まれる画像信号を抽出し、
その高周波成分を取り出して、最も鮮鋭度の高い部分に
レンズを移動させることにより、焦点を調節する。本実
施の形態では、AF制御のためのパラメータとして、焦
点レンズの移動に要したステッピングモータのパルス数
を用いている。
The AE circuit 303 controls the shutter speed, the aperture, the AGC, etc., based on the signal contained in the detection target area among the image signals obtained from the CCD to adjust the exposure. The AF circuit 304 extracts an image signal included in a detection target area from image signals obtained from the CCD,
The focus is adjusted by extracting the high-frequency component and moving the lens to the sharpest part. In the present embodiment, the number of pulses of the stepping motor required for moving the focus lens is used as a parameter for AF control.

【0041】操作入力部305は、カメラの操作パネル
やリモコン等から構成され、ユーザによるカメラ姿勢パ
ラメータ変更コマンドを受け付ける。カメラ姿勢制御部
306は、操作入力部305から入力されたコマンドに
従って、カメラのパン角度やチルト角度を制御する各モ
ータを駆動し、実際のカメラ姿勢パラメータを変更す
る。本実施の形態では、各モータの変化に要したパルス
数を用いている。
The operation input unit 305 includes a camera operation panel, a remote controller, and the like, and receives a camera posture parameter change command from a user. The camera attitude control unit 306 drives each motor that controls the pan angle and the tilt angle of the camera according to the command input from the operation input unit 305, and changes the actual camera attitude parameters. In the present embodiment, the number of pulses required to change each motor is used.

【0042】CPU307は、カメラ全体を総括制御す
るものであり、ROM308又は二次記憶装置に格納さ
れたプログラムをRAM309に読み出し、そのプログ
ラムに基づいて各種処理を実行する。尚、CPU30
7、ROM308、RAM309等はカメラ姿勢パラメ
ータが変化したとき検出対象領域の位置を計算する計算
手段を構成する。検出対象領域管理部310は、検出対
象領域移動コマンドに従って検出対象領域の撮像領域に
対する位置を移動させる。尚、この他にプログラムを格
納するための二次記憶装置を設けてもよい。
The CPU 307 controls the entire camera as a whole, reads a program stored in the ROM 308 or the secondary storage device into the RAM 309, and executes various processes based on the program. The CPU 30
7, the ROM 308, the RAM 309, and the like constitute calculation means for calculating the position of the detection target area when the camera posture parameter changes. The detection target area management unit 310 moves the position of the detection target area with respect to the imaging area according to the detection target area movement command. In addition, a secondary storage device for storing a program may be provided.

【0043】次に動作について図11のフローチャート
と共に説明する。ステップs501で、検出対象領域の
初期位置を決定する。具体的には、操作入力部305か
ら入力されたコマンドによって検出対象領域管理部31
0が検出対象領域を撮像画像中で移動させる。s502
で、操作入力部305からカメラ姿勢パラメータ変更コ
マンドが入力されたと解析されると、s503に進む。
Next, the operation will be described with reference to the flowchart of FIG. In step s501, the initial position of the detection target area is determined. Specifically, the detection target area management unit 31 is controlled by a command input from the operation input unit 305.
0 moves the detection target area in the captured image. s502
When it is analyzed that a camera posture parameter change command has been input from the operation input unit 305, the process proceeds to s503.

【0044】s503で、カメラ姿勢制御部306はカ
メラ姿勢を制御し、カメラ姿勢パラメータを変更する。
さらにs504で、CPU307はカメラ姿勢パラメー
タ変化量に基づいて検出対象領域の撮像画像中における
移動量(検出対象領域移動量)を計算する。その手順は
第1の実施の形態と同様にして行うことができる。次に
s505で、s504の結果に基づいて検出対象領域管
理部310が検出対象領域を移動させる。そしてAE回
路303及びAF回路304は、新たな検出対象領域に
基づいて焦点及び露出を計算する。
In step s503, the camera attitude control unit 306 controls the camera attitude and changes the camera attitude parameters.
Further, in s504, the CPU 307 calculates a moving amount of the detection target region in the captured image (detection target region movement amount) based on the camera posture parameter change amount. The procedure can be performed in the same manner as in the first embodiment. Next, in s505, the detection target area management unit 310 moves the detection target area based on the result of s504. Then, the AE circuit 303 and the AF circuit 304 calculate the focus and the exposure based on the new detection target area.

【0045】以上によれば、第1の実施の形態と同様
に、カメラの姿勢パラメータがユーザの操作等により変
化しても、その変化量に応じて検出対象領域を撮像画像
内で移動させ、常に被写体に合わせ続けることができ、
光学的パラメータを常に最適化できる。
According to the above, as in the first embodiment, even if the posture parameter of the camera changes due to a user operation or the like, the detection target area is moved in the captured image in accordance with the amount of the change. You can always keep on adjusting to the subject,
Optical parameters can always be optimized.

【0046】尚、各実施の形態においては、説明の簡単
のために、カメラ姿勢パラメータをパン角度及びチルト
角度のみにしたが、その外にロール角度等をカメラ姿勢
パラメータとしてもよい。また、検出対象領域の形状と
しては、長方形の他、任意の形状としてよい。
In each of the embodiments, for simplicity of description, the camera posture parameter is only the pan angle and the tilt angle, but a roll angle or the like may be used as the camera posture parameter. The shape of the detection target area may be an arbitrary shape other than a rectangle.

【0047】次に第3の実施の形態を説明する。本実施
の形態は、ズーム倍率の変化に応じて検出対象領域を図
12に示すように移動させるものである。図12におい
て、601は撮像画像、602は初期の検出対象領域、
603は検出対象領域602の中心、604は検出対象
領域602に対する撮像対象物である。また612はカ
メラがズームアウトしたときの検出対象領域、613は
検出対象領域612の中心、614はズームアウトした
とき撮像された撮像対象、615は撮像画像の中心であ
る。
Next, a third embodiment will be described. In the present embodiment, the detection target area is moved as shown in FIG. 12 according to a change in the zoom magnification. 12, 601 is a captured image, 602 is an initial detection target area,
Reference numeral 603 denotes a center of the detection target area 602, and reference numeral 604 denotes an imaging target object for the detection target area 602. Reference numeral 612 denotes a detection target area when the camera zooms out, 613 denotes a center of the detection target area 612, 614 denotes an imaging target captured when zoomed out, and 615 denotes a center of the captured image.

【0048】本実施の形態では、図12(a)の状態か
らカメラをズームアウトさせたとき、検出対象領域60
2を検出対象領域612の位置に移動させる。このとき
検出対象領域612の中心613が、元の検出対象領域
602の中心603と撮像画像の中心615とを結ぶ直
線616上に位置するように移動させる。この直線61
6上のどの位置に来るようにするかは、ズーム倍率から
後述するようにして計算する。
In this embodiment, when the camera is zoomed out from the state shown in FIG.
2 is moved to the position of the detection target area 612. At this time, the center 613 of the detection target area 612 is moved so as to be located on a straight line 616 connecting the center 603 of the original detection target area 602 and the center 615 of the captured image. This straight line 61
The position at which the position 6 is to be reached is calculated from the zoom magnification as described later.

【0049】本実施の形態では、撮像画像601は、横
640画素、縦480画素とする。また、カメラはズー
ム倍率を次のような形でROM等に記憶しているものと
する。即ち、ズーム倍率が最小となるときを基準とし、
そこからズームレンズを駆動して現在のズーム倍率にす
るために必要なズームレンズ駆動モータのパルス数を、
現在のズーム倍率を表すパラメータとして記憶する。こ
のときパルス数pとズーム倍率Pとの間には、P=f
(p)なる関係が成り立つ。また、ズーム倍率が2倍に
なると、撮像できる長さは1/2になる。即ち、撮像で
きる面積は1/4になる。
In the present embodiment, the captured image 601 has 640 pixels horizontally and 480 pixels vertically. Further, it is assumed that the camera stores the zoom magnification in a ROM or the like in the following manner. In other words, based on when the zoom magnification is minimum,
From there, the number of pulses of the zoom lens drive motor required to drive the zoom lens to the current zoom magnification is
It is stored as a parameter representing the current zoom magnification. At this time, P = f between the pulse number p and the zoom magnification P.
(P) holds. Further, when the zoom magnification is doubled, the length that can be imaged becomes 1 /. That is, the area that can be imaged is reduced to 1/4.

【0050】図13は本実施の形態を示すもので、図1
0と対応する部分には同一番号を付して重複する説明は
省略する。図13において、ズーム倍率制御部311
は、操作入力部から入力されたコマンドに従ってズーミ
ング用のモータを駆動してズーム倍率を変更する。検出
対象領域計算部312は、ズーム倍率変更に伴う検出対
象領域の新たな位置を後述する方法で計算する。尚、こ
の他にプログラムを格納するための二次記憶装置を設け
てもよい。
FIG. 13 shows this embodiment.
Portions corresponding to 0 are denoted by the same reference numerals, and redundant description is omitted. In FIG. 13, a zoom magnification control unit 311
Drives a zooming motor in accordance with a command input from the operation input unit to change the zoom magnification. The detection target area calculation unit 312 calculates a new position of the detection target area according to the change in the zoom magnification by a method described later. In addition, a secondary storage device for storing a program may be provided.

【0051】次に動作について説明する。図14はズー
ム倍率変更指示が入力された場合の動作処理フローチャ
ートである。s601で、操作入力部305からズーム
倍率変更指示が入力されたと解析されると、s602に
進む。s602で、CPU307はズーム倍率変更指示
を解析し、ズーム倍率を変更するためにはズームアウト
すべきかズームインすべきか、またズーミングモータに
対して何パルス送ればよいかを計算する。s603で、
ズーム倍率制御部311は上記計算結果に基づいてモー
タにパルスを送り、ズーミングレンズを駆動してズーム
倍率を変更し、s604で、そのときのズーム倍率をR
AM309に格納する。
Next, the operation will be described. FIG. 14 is an operation processing flowchart when a zoom magnification change instruction is input. If it is analyzed in s601 that a zoom magnification change instruction has been input from the operation input unit 305, the process proceeds to s602. In step s602, the CPU 307 analyzes the zoom magnification change instruction and calculates whether to zoom out or zoom in to change the zoom magnification, and how many pulses to send to the zooming motor. In s603,
The zoom magnification control unit 311 sends a pulse to the motor based on the above calculation result, drives the zoom lens to change the zoom magnification, and in s604, sets the zoom magnification at that time to R.
AM 309.

【0052】次にs605で、検出対象領域計算部31
2は、ズーム倍率変更に伴う検出対象領域の新たな位置
を計算する。この計算方法については後述する。s60
6で上記計算した検出対象領域の位置をRAM309に
格納する。
Next, in s605, the detection target area calculation unit 31
Step 2 calculates a new position of the detection target area according to the change in the zoom magnification. This calculation method will be described later. s60
In step 6, the position of the detection target area calculated above is stored in the RAM 309.

【0053】次に上記s605の検出対象領域位置の計
算処理について、図15、図16と共に説明する。図1
6はズーム倍率変更時における撮像画像と検出対象領域
との関係を示す図である。図16(a)において、40
1はズーム倍率1.0倍でカメラが撮像している画像
(640×480画素)であり、402はその中心であ
る。403は検出対象領域、403はその中心である。
また、(b)において、411はズーム倍率2.0倍で
の撮像画像、412はその中心、413ズーム倍率の変
更に合わせて位置を変更したときの検出対象領域で、4
14はその中心である。また、(a)の405は、撮像
画像401において撮像画像411が占める領域を示し
ている。
Next, the calculation processing of the position of the detection target area in s605 will be described with reference to FIGS. FIG.
FIG. 6 is a diagram showing the relationship between the captured image and the detection target area when changing the zoom magnification. In FIG. 16A, 40
Reference numeral 1 denotes an image (640 × 480 pixels) captured by the camera at a zoom magnification of 1.0, and reference numeral 402 denotes its center. 403 is a detection target area, and 403 is its center.
Also, in FIG. 4B, reference numeral 411 denotes a captured image at a zoom magnification of 2.0, 412 denotes a center thereof, and 413 denotes a detection target area when the position is changed in accordance with a change in the zoom magnification.
14 is the center. Reference numeral 405 in (a) denotes an area occupied by the captured image 411 in the captured image 401.

【0054】図15において、まずs701で、撮像画
像401の中心402と検出対象領域の中心404との
横軸方向の距離(画素数)を変数dに代入する。s70
2で、現在のズーム倍率(1倍)をP0に代入する。具
体的には、現在のズーム倍率を表すパルス数pをRAM
309から読み出し、P0=f(p)より計算する。
In FIG. 15, first, in s701, the distance (the number of pixels) in the horizontal axis direction between the center 402 of the captured image 401 and the center 404 of the detection target area is substituted for a variable d. s70
In step 2, the current zoom magnification (1x) is substituted for P0. Specifically, the number of pulses p representing the current zoom magnification is stored in the RAM.
309 and is calculated from P0 = f (p).

【0055】次にs703で、変更後のズーム倍率(2
倍)をP1に代入する。具体的には、ズーム倍率変更操
作がズームインであった場合は、前記s601で求めた
パルス数δを用いて、P1=f(p+δ)となる。また
ズームアウトであった場合は、P1=f(p−δ)とな
る。
Next, in s703, the changed zoom magnification (2
) Is substituted for P1. Specifically, when the zoom magnification change operation is zoom-in, P1 = f (p + δ) using the pulse number δ obtained in s601. In the case of zoom out, P1 = f (p−δ).

【0056】次にs704で、ズーム倍率変更後の撮像
画像411の中心412と検出対象領域413の中心4
14との横軸方向の距離をd′に代入する。具体的に
は、d/d′=P0/P1なる関係を利用して、d′=
(P1/P0)×dとして求めることができる。そして
s705で、ズーム倍率変更後の検出対象領域413の
中心414の横軸方向座標(撮像画像の左端を0、右端
を640としたときの座標)を求める。
Next, in step s704, the center 412 of the captured image 411 after the change in the zoom magnification and the center 4 of the detection target area 413 are set.
The distance in the horizontal axis direction with respect to 14 is substituted for d '. Specifically, using the relationship d / d '= P0 / P1, d' =
It can be obtained as (P1 / P0) × d. Then, in s705, the horizontal axis direction coordinates (coordinates when the left end of the captured image is 0 and the right end is 640) of the center 414 of the detection target area 413 after changing the zoom magnification are obtained.

【0057】次にs706で、ズーム倍率変更後の検出
対象領域の位置と大きさから、検出対象領域が撮像画像
からはみ出さないか否かを判定する。はみ出すようなら
s707で、検出対象領域が撮像画像の外辺ぎりぎりの
ところへ来るように位置を補正する。
Next, in s706, it is determined from the position and size of the detection target area after the change in the zoom magnification whether the detection target area does not protrude from the captured image. If it does, the position is corrected in s707 so that the detection target area comes to the very outer edge of the captured image.

【0058】以上は、ズーム倍率の変更に応じて検出対
象領域を横軸方向に移動させる場合の手順について説明
したが、ズーム倍率の変更に応じて検出対象領域を縦軸
方向に移動させる場合の手順についても、上述と同様の
手順で行うことができる。さらに、一般の検出対象領域
については、これらの手順を組み合わせて、まず横軸方
向に移動させ、次に縦軸方向に移動させるようにすれば
よい。
The procedure for moving the detection target area in the horizontal axis direction according to the change in the zoom magnification has been described above. However, the procedure for moving the detection target area in the vertical axis direction in accordance with the change in the zoom magnification has been described. The procedure can be performed in the same manner as described above. Further, for a general detection target area, these procedures may be combined so that the area is first moved in the horizontal axis direction and then moved in the vertical axis direction.

【0059】次に第4の実施の形態について説明する。
本実施の形態は、ズーム倍率の変更に応じて、検出対象
領域の位置及び大きさを変化させるものである。検出対
象領域の位置を求める動作処理は第3の実施の形態と同
様にして実現できるが、次の2点で第3の実施の形態と
異なる。
Next, a fourth embodiment will be described.
In the present embodiment, the position and size of the detection target area are changed according to the change in the zoom magnification. The operation processing for obtaining the position of the detection target area can be realized in the same manner as in the third embodiment, but differs from the third embodiment in the following two points.

【0060】第1の点は、前記s601の処理におい
て、検出対象領域の位置と同時に大きさを計算するよう
にする。このときズーム倍率変更前のズーム倍率をP
0、変更後のズーム倍率をP1とすると、変更後の検出
対象領域の大きさを変更前の大きさのP1/P0倍とな
るようにする。これによって、ズーム倍率の変化に伴う
撮像対象の大きさの変化の比と、検出対象領域の大きさ
の変化の比を一定にすることができる。第2の点は、前
記s606の処理において、検出対象領域の位置及び大
きさをRAM309に記憶させるようにする。
The first point is that the size is calculated simultaneously with the position of the detection target area in the processing of s601. At this time, the zoom magnification before changing the zoom magnification is P
0, assuming that the changed zoom magnification is P1, the size of the detection target area after the change is set to be P1 / P0 times the size before the change. Thus, the ratio of the change in the size of the imaging target due to the change in the zoom magnification and the ratio of the change in the size of the detection target region can be kept constant. The second point is that the position and size of the detection target area are stored in the RAM 309 in the processing of s606.

【0061】尚、上記第3、第4の実施の形態では、検
出対象領域を長方形としたが、例えばズーム倍率に応じ
て検出対象領域の形状を変えるようにしてもよい。ま
た、前記s707で、検出対象領域が撮像画像からはみ
出す場合には、検出対象領域を撮像画像の外辺ぎりぎり
のところへ来るようにしたが、検出対象領域が撮像画像
からはみ出す場合には、検出対象領域を撮像画像の中央
に戻すようにしてもよい。
In the third and fourth embodiments, the detection target area is rectangular, but the shape of the detection target area may be changed according to, for example, the zoom magnification. Further, in the above-mentioned s707, when the detection target area protrudes from the captured image, the detection target area is set to be almost at the outer periphery of the captured image. The target area may be returned to the center of the captured image.

【0062】次に本発明による記憶媒体について説明す
る。図1、図9、図10、図13等の各ブロックから成
るシステムは、CPUとROM等のメモリを含むコンピ
ュータシステムで構成されるが、その場合、上記メモリ
は本発明による記憶媒体を構成する。この記憶媒体に
は、図2〜図5、図11、図14、図15等のフローチ
ャートについて前述した動作を制御するための処理手順
を実行するためのプログラムが記憶される。
Next, the storage medium according to the present invention will be described. A system composed of the blocks shown in FIGS. 1, 9, 10, 13, and the like is constituted by a computer system including a CPU and a memory such as a ROM. In this case, the memory constitutes a storage medium according to the present invention. . The storage medium stores a program for executing the processing procedure for controlling the operations described above with reference to the flowcharts in FIGS. 2 to 5, 11, 11, 14, and the like.

【0063】また、この記憶媒体としては、ROM、R
AM等の半導体メモリ、光ディスク、光磁気ディスク、
磁気媒体等を用いてよく、これらをCD−ROM、フロ
ッピィディスク、磁気媒体、磁気カード、不揮発性メモ
リカード等に構成して用いてよい。
As the storage medium, ROM, R
Semiconductor memory such as AM, optical disk, magneto-optical disk,
A magnetic medium or the like may be used, and these may be configured and used in a CD-ROM, a floppy disk, a magnetic medium, a magnetic card, a nonvolatile memory card, or the like.

【0064】従って、この記憶媒体を上記各図に示した
システムや装置以外の他のシステムや装置で用い、その
システムあるいはコンピュータがこの記憶媒体に格納さ
れたプログラムコードを読み出し、実行することによっ
ても、前述した各実施の形態と同等の機能を実現できる
と共に、同等の効果を得ることができ、本発明の目的を
達成することができる。
Therefore, this storage medium can be used in a system or apparatus other than the system or apparatus shown in each of the above drawings, and the system or computer reads out and executes the program code stored in this storage medium. In addition, the same functions as those of the above-described embodiments can be realized, the same effects can be obtained, and the object of the present invention can be achieved.

【0065】また、コンピュータ上で稼働しているOS
等が処理の一部又は全部を行う場合、あるいは、記憶媒
体から読み出されたプログラムコードが、コンピュータ
に挿入された拡張機能ボードやコンピュータに接続され
た拡張機能ユニットに備わるメモリに書き込まれた後、
そのプログラムコードの指示に基づいて、上記拡張機能
ボードや拡張機能ユニットに備わるCPU等が処理の一
部又は全部を行う場合にも、各実施の形態と同等の機能
を実現できると共に、同等の効果を得ることができ、本
発明の目的を達成することができる。
An OS running on a computer
Perform part or all of the processing, or after the program code read from the storage medium is written into the memory provided in the extended function board inserted into the computer or the extended function unit connected to the computer. ,
Even when the CPU or the like provided in the above-mentioned extended function board or extended function unit performs a part or all of the processing based on the instruction of the program code, the same functions as those of the embodiments can be realized and the same effects can be obtained. Can be obtained, and the object of the present invention can be achieved.

【0066】さらに、第1の実施の形態で用いた図8の
テーブルを記憶したROMや、第3の実施の形態のよう
に、ズーム倍率が最小となるときを基準とし、そこから
ズームレンズを駆動して現在のズーム倍率にするために
必要なズームレンズ駆動モータのパルス数を、現在のズ
ーム倍率を表すパラメータとして記憶したROM等は、
本発明によるデータを記憶した記憶媒体を構成する。
Further, the ROM storing the table shown in FIG. 8 used in the first embodiment or the third embodiment, the zoom lens is used as a reference, and the zoom lens is used as a reference. A ROM or the like that stores the number of pulses of the zoom lens drive motor necessary for driving to the current zoom magnification as a parameter indicating the current zoom magnification includes:
A storage medium storing data according to the present invention is configured.

【0067】[0067]

【発明の効果】以上説明したように、本発明によるカメ
ラ制御装置、方法及びコンピュータ読み取り可能な記憶
媒体によれば、ユーザの操作等によってカメラの姿勢が
変化しても、それに応じて検出対象領域を移動させるこ
とができるので、検出対象領域を常に撮像装置対象物に
合わせることができ、これによって露出や焦点等の光学
的パラメータを常に最適化することができる。
As described above, according to the camera control apparatus, the method, and the computer-readable storage medium of the present invention, even if the posture of the camera changes due to the operation of the user or the like, the detection target area is correspondingly changed. Can be moved, so that the detection target region can always be adjusted to the imaging device target, and thus, optical parameters such as exposure and focus can always be optimized.

【0068】また、本発明による他のカメラ制御装置、
方法及びコンピュータ読み取り可能な記憶媒体によれ
ば、視線検出装置等の特殊な装置を用いることなく、カ
メラのズーム倍率の変化により生じる検出対象領域と撮
像対象物との位置や大きさのずれを自動的に補正し、こ
れによって露出や焦点等の光学的パラメータを撮像対象
物に対して効率よく最適化することができる。
Also, another camera control device according to the present invention,
According to the method and the computer-readable storage medium, the position or size deviation between the detection target area and the imaging target caused by a change in the zoom magnification of the camera can be automatically determined without using a special device such as a gaze detection device. Optical parameters such as exposure and focus can be efficiently optimized for the imaging target.

【0069】このため、視線検出装置を用いる場合にく
らべて構成が単純になり、コストを抑えることができ
る。また、視線検出装置を用いる場合は、ユーザが画像
を見ながらカメラを操作しなければならないが、コンピ
ュータがカメラを制御する場合でも、補正を自動的に行
うことができるので、作業効率を向上させることができ
る。
For this reason, the configuration is simpler than in the case where the visual line detection device is used, and the cost can be reduced. In addition, when the eye-gaze detecting device is used, the user must operate the camera while watching the image. However, even when the computer controls the camera, the correction can be automatically performed, thereby improving the working efficiency. be able to.

【0070】さらに、本発明によるデータを記憶した記
憶媒体によれば、本発明のようなカメラ制御装置等に用
いることにより、精度の高いカメラ制御を実現すること
ができる。
Further, according to the storage medium storing the data according to the present invention, high-precision camera control can be realized by using the same in a camera control device or the like as in the present invention.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施の形態によるカメラ制御シ
ステムを示すブロック図である。
FIG. 1 is a block diagram showing a camera control system according to a first embodiment of the present invention.

【図2】カメラの動作処理を示すフローチャートであ
る。
FIG. 2 is a flowchart showing an operation process of the camera.

【図3】クライアントの動作処理を示すフローチャート
である。
FIG. 3 is a flowchart showing an operation process of a client.

【図4】クライアント側のカメラ姿勢パラメータ変化メ
ッセージを受信した場合の動作処理を示すフローチャー
トである。
FIG. 4 is a flowchart showing an operation process when a client-side camera posture parameter change message is received.

【図5】カメラの動作処理を示すフローチャートであ
る。
FIG. 5 is a flowchart showing an operation process of the camera.

【図6】カメラ姿勢パラメータ変化メッセージの形式を
示す構成図である。
FIG. 6 is a configuration diagram showing a format of a camera posture parameter change message.

【図7】検出対象領域移動コマンドの形式を示す構成図
である。
FIG. 7 is a configuration diagram showing a format of a detection target area movement command.

【図8】検出対象領域の横軸方向現在位置とパン角度を
変化させるためのモータ1パルス当たりの対応テーブル
を示す構成図である。
FIG. 8 is a configuration diagram showing a correspondence table per one motor pulse for changing the current position in the horizontal axis of the detection target area and the pan angle.

【図9】ネットワークを介しての複数カメラと複数クラ
イアントが接続された場合を示すブロック図である。
FIG. 9 is a block diagram showing a case where a plurality of cameras and a plurality of clients are connected via a network.

【図10】本発明の第2の実施の形態によるカメラ制御
システムを示すブロック図である。
FIG. 10 is a block diagram showing a camera control system according to a second embodiment of the present invention.

【図11】動作処理を示すフローチャートである。FIG. 11 is a flowchart showing an operation process.

【図12】本発明の第3の実施の形態を説明する構成図
である。
FIG. 12 is a configuration diagram illustrating a third embodiment of the present invention.

【図13】本発明の第3の実施の形態によるカメラ制御
システムを示すブロック図である。
FIG. 13 is a block diagram showing a camera control system according to a third embodiment of the present invention.

【図14】ズーム倍率変更時におけるカメラの動作処理
を示すフローチャートである。
FIG. 14 is a flowchart showing an operation process of the camera when changing the zoom magnification.

【図15】検出対象領域計算時の動作処理を示すフロー
チャートである。
FIG. 15 is a flowchart illustrating an operation process when calculating a detection target area.

【図16】ズーム倍率変更時における撮像画像と検出対
象領域との関係を示す構成図である。
FIG. 16 is a configuration diagram illustrating a relationship between a captured image and a detection target area when a zoom magnification is changed.

【図17】カメラ姿勢パラメータの変化に伴う撮像画像
と検出対象領域との関係を示す構成図である。
FIG. 17 is a configuration diagram illustrating a relationship between a captured image and a detection target area according to a change in a camera posture parameter.

【図18】ズーム倍率の変化に伴う撮像画像と検出対象
領域との関係を示す構成図である。
FIG. 18 is a configuration diagram illustrating a relationship between a captured image and a detection target area according to a change in zoom magnification.

【符号の説明】[Explanation of symbols]

100 カメラ 104、305 操作入力部 110、310 検出対象領域管理部 200 コンピュータ端末(クライアント) 205、307 CPU 206、308 ROM 306 カメラ姿勢制御部 311 ズーム倍率制御部 312 検出対象領域計算部 403、413、602、612 検出対象領域 100 Camera 104, 305 Operation input unit 110, 310 Detection target area management unit 200 Computer terminal (client) 205, 307 CPU 206, 308 ROM 306 Camera attitude control unit 311 Zoom magnification control unit 312 Detection target area calculation units 403, 413, 602,612 Detection target area

───────────────────────────────────────────────────── フロントページの続き (72)発明者 石田 良弘 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 Fターム(参考) 5C022 AB62 AB63 AB65 AB66  ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Yoshihiro Ishida 3-30-2 Shimomaruko, Ota-ku, Tokyo F-term in Canon Inc. (reference) 5C022 AB62 AB63 AB65 AB66

Claims (18)

【特許請求の範囲】[Claims] 【請求項1】 カメラの撮像画像内に設定された検出対
象領域内の画像信号に基づいて上記カメラの光学的パラ
メータを調節する調節手段と、 上記カメラの姿勢を制御するためのカメラ姿勢パラメー
タを変更する変更手段と、 上記変更手段によるカメラ姿勢パラメータの変更に応じ
て上記検出対象領域の位置を計算する計算手段とを設け
たことを特徴とするカメラ制御装置。
An adjusting unit that adjusts an optical parameter of the camera based on an image signal in a detection target area set in a captured image of the camera; and a camera attitude parameter for controlling the attitude of the camera. A camera control device, comprising: changing means for changing; and calculating means for calculating a position of the detection target area in accordance with a change in a camera posture parameter by the changing means.
【請求項2】 上記計算手段は、上記検出対象領域を上
記カメラの撮像対象物に合わせるように上記位置を計算
することを特徴とする請求項1記載のカメラ制御装置。
2. The camera control device according to claim 1, wherein the calculation means calculates the position so that the detection target area is matched with an image pickup target of the camera.
【請求項3】 カメラの撮像画像内に設定された検出対
象領域内の画像信号に基づいて上記カメラの光学的パラ
メータを調節する調節手段と、 上記カメラのズーム倍率を変更する変更手段と、 上記変更手段によるズーム倍率の変更に応じて上記検出
対象領域の位置を計算する計算手段とを設けたことを特
徴とするカメラ制御装置。
3. An adjusting means for adjusting an optical parameter of the camera based on an image signal in a detection target area set in a captured image of the camera; a changing means for changing a zoom magnification of the camera; A camera control device, further comprising: calculation means for calculating the position of the detection target area in accordance with a change in zoom magnification by the change means.
【請求項4】 上記計算手段は、上記検出対象領域の位
置と大きさを計算することを特徴とする請求項3記載の
カメラ制御装置。
4. The camera control device according to claim 3, wherein said calculating means calculates a position and a size of said detection target area.
【請求項5】 上記計算された位置まで上記検出対象領
域を移動させる移動手段を設けたことを特徴とする請求
項1又は3記載のカメラ制御装置。
5. The camera control device according to claim 1, further comprising moving means for moving the detection target area to the calculated position.
【請求項6】 カメラの撮像画像内に設定された検出対
象領域内の画像信号に基づいて上記カメラの光学的パラ
メータを調節する調節手順と、 上記カメラの姿勢を制御するためのカメラ姿勢パラメー
タを変更する変更手順と、 上記変更手順によるカメラ姿勢パラメータの変更に応じ
て上記検出対象領域の位置を計算する計算手順とを設け
たことを特徴とするカメラ制御方法。
6. An adjustment procedure for adjusting optical parameters of the camera based on an image signal in a detection target area set in a captured image of the camera, and a camera attitude parameter for controlling the attitude of the camera. A camera control method, comprising: a changing procedure for changing; and a calculating procedure for calculating a position of the detection target area according to a change in a camera posture parameter according to the changing procedure.
【請求項7】 上記計算手順は、上記検出対象領域を上
記カメラの撮像対象物に合わせるように上記位置を計算
することを特徴とする請求項6記載のカメラ制御方法。
7. The camera control method according to claim 6, wherein said calculating step calculates said position such that said detection target area is matched with an image pickup target of said camera.
【請求項8】 カメラの撮像画像内に設定された検出対
象領域内の画像信号に基づいて上記カメラの光学的パラ
メータを調節する調節手順と、 上記カメラのズーム倍率を変更する変更手順と 上記変更手順によるズーム倍率の変更に応じて上記検出
対象領域の位置を計算する計算手順とを設けたことを特
徴とするカメラ制御方法。
8. An adjusting procedure for adjusting an optical parameter of the camera based on an image signal in a detection target area set in a captured image of the camera, a changing procedure for changing a zoom magnification of the camera, and the changing. A calculation procedure for calculating the position of the detection target area in accordance with a change in the zoom magnification according to the procedure.
【請求項9】 上記ズーム倍率の変更に応じて上記検出
対象領域の大きさを計算する手順を設けたことを特徴と
する請求項8記載のカメラ制御装置。
9. The camera control device according to claim 8, further comprising a step of calculating a size of the detection target area according to a change in the zoom magnification.
【請求項10】 上記計算された位置まで上記検出対象
領域を移動させる移動手順を設けたことを特徴とする請
求項6又は8記載のカメラ制御方法。
10. The camera control method according to claim 6, further comprising a moving procedure for moving the detection target area to the calculated position.
【請求項11】 カメラの撮像画像内に設定された検出
対象領域内の画像信号に基づいて上記カメラの光学的パ
ラメータを調節する調節処理と、 上記カメラの姿勢を制御するためのカメラ姿勢パラメー
タを変更する変更処理と、 上記変更処理によるカメラ姿勢パラメータの変更に応じ
て上記検出対象領域の位置を計算する計算処理とを実行
するためのプログラムを記憶したコンピュータ読み取り
可能な記憶媒体。
11. An adjustment process for adjusting an optical parameter of the camera based on an image signal in a detection target area set in a captured image of the camera, and a camera attitude parameter for controlling the attitude of the camera. A computer-readable storage medium storing a program for executing a change process of changing and a calculation process of calculating a position of the detection target area according to a change of a camera posture parameter by the change process.
【請求項12】 上記計算処理は、上記検出対象領域を
上記カメラの撮像対象物に合わせるように上記位置を計
算することを特徴とする請求項11記載のコンピュータ
読み取り可能な記憶媒体。
12. The computer-readable storage medium according to claim 11, wherein the calculation process calculates the position so that the detection target area matches an image pickup target of the camera.
【請求項13】 カメラの撮像画像内に設定された検出
対象領域内の画像信号に基づいて上記カメラの光学的パ
ラメータを調節する調節処理と、 上記カメラのズーム倍率を変更する変更処理と 上記変更手順によるズーム倍率の変更に応じて上記検出
対象領域の位置を計算する計算処理とを実行するための
プログラムを記憶したコンピュータ読み取り可能な記憶
媒体。
13. An adjusting process for adjusting an optical parameter of the camera based on an image signal in a detection target area set in a captured image of the camera, a changing process for changing a zoom magnification of the camera, and the changing. A computer-readable storage medium storing a program for executing a calculation process of calculating the position of the detection target area according to a change in zoom magnification according to a procedure.
【請求項14】 上記ズーム倍率変更命令に応じて上記
検出対象領域の大きさを計算する処理を上記プログラム
に設けた特徴とする請求項13記載のコンピュータ読み
取り可能な記憶媒体。
14. The computer-readable storage medium according to claim 13, wherein a process of calculating a size of the detection target area according to the zoom magnification change command is provided in the program.
【請求項15】 上記計算された位置まで上記検出対象
領域を移動させる移動処理を上記プログラムに設けたこ
とを特徴とする請求項11又は13記載のコンピュータ
読み取り可能な記憶媒体。
15. The computer-readable storage medium according to claim 11, wherein a movement process for moving the detection target area to the calculated position is provided in the program.
【請求項16】 カメラの撮像画像内における検出対象
領域の横軸方向の現在位置と上記検出対象領域の上記横
軸方向の移動量とを対応させたデータを記憶した記憶媒
体。
16. A storage medium storing data in which a current position of a detection target area in a horizontal direction in a captured image of a camera is associated with a movement amount of the detection target area in the horizontal axis direction.
【請求項17】 上記移動量は、上記カメラをパン及び
/又はチルト方向に移動させるモータを駆動する1パル
ス当たりの移動量であることを特徴とする請求項16記
載のデータを記憶媒体した記憶媒体。
17. The storage medium according to claim 16, wherein the movement amount is a movement amount per one pulse for driving a motor for moving the camera in a pan and / or a tilt direction. Medium.
【請求項18】 カメラのズーム倍率が最小となるとき
を基準とし、そこからズームレンズを駆動して現在のズ
ーム倍率にするために必要なズームレンズ駆動モータの
パルス数を現在のズーム倍率を表すパラメータとするデ
ータを記憶した記憶媒体。
18. The number of pulses of a zoom lens driving motor necessary for driving a zoom lens and setting the current zoom magnification based on the time when the zoom magnification of the camera becomes minimum represents the current zoom magnification. A storage medium that stores data to be used as parameters.
JP10224764A 1998-08-07 1998-08-07 Device and method for controlling camera, computer readable storage medium and storage medium storing data Pending JP2000059671A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10224764A JP2000059671A (en) 1998-08-07 1998-08-07 Device and method for controlling camera, computer readable storage medium and storage medium storing data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10224764A JP2000059671A (en) 1998-08-07 1998-08-07 Device and method for controlling camera, computer readable storage medium and storage medium storing data

Publications (1)

Publication Number Publication Date
JP2000059671A true JP2000059671A (en) 2000-02-25

Family

ID=16818871

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10224764A Pending JP2000059671A (en) 1998-08-07 1998-08-07 Device and method for controlling camera, computer readable storage medium and storage medium storing data

Country Status (1)

Country Link
JP (1) JP2000059671A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008067136A (en) * 2006-09-08 2008-03-21 Ricoh Co Ltd Imaging device and imaging method
JP2011160062A (en) * 2010-01-29 2011-08-18 Fujifilm Corp Tracking-frame initial position setting apparatus and method of controlling operation of the same
JP2013214882A (en) * 2012-04-02 2013-10-17 Nikon Corp Imaging apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008067136A (en) * 2006-09-08 2008-03-21 Ricoh Co Ltd Imaging device and imaging method
JP2011160062A (en) * 2010-01-29 2011-08-18 Fujifilm Corp Tracking-frame initial position setting apparatus and method of controlling operation of the same
JP2013214882A (en) * 2012-04-02 2013-10-17 Nikon Corp Imaging apparatus

Similar Documents

Publication Publication Date Title
WO2021208371A1 (en) Multi-camera zoom control method and apparatus, and electronic system and storage medium
US10021307B2 (en) Processing apparatus for camera shake correction
JP6821339B2 (en) Image shake correction device, tilt correction device, control method of image shake correction device, control method of tilt correction device
US10171739B2 (en) Image pickup device
US9451149B2 (en) Processing apparatus, processing method, and program
JP7297412B2 (en) Image processing device, image processing method, and lens device
JP4948294B2 (en) Imaging apparatus, imaging apparatus control method, and program
CN118075597A (en) Control apparatus, image capturing apparatus, and control method
JP5200800B2 (en) Imaging apparatus and imaging system
JP3431953B2 (en) Camera control device and method
JPH1123949A (en) Viewing angle correcting device for photographing lens
JP6231757B2 (en) Imaging apparatus, information processing apparatus, control method therefor, and program
JP2000059671A (en) Device and method for controlling camera, computer readable storage medium and storage medium storing data
US11425307B2 (en) Image capture device in which the focal length of the image capture device can be expanded without increasing the size of lenses
JP2021100238A (en) Image processing device, imaging apparatus, and image processing method
JP2000101901A (en) Image pickup device and method therefor, image pickup device control system and storage medium
US11115578B2 (en) Electronic apparatus, control device, and control method
EP3843378A1 (en) Image processing apparatus, image capturing apparatus and image processing method
JP6062483B2 (en) Digital camera
US11368622B2 (en) Photographing method, photographing device and mobile terminal for shifting a lens
JP2001016559A (en) Image pickup device, image pickup system, image pickup method and computer-readable recording medium
JP2008228039A (en) Network camera apparatus and control method thereof
WO2024145189A1 (en) System and method for multi-camera control and capture processing
CN116471467A (en) Information processing apparatus, information processing method, image capturing apparatus, and storage medium
JP2002077880A (en) Remote-monitoring system