JP2014027588A - Imaging device, method for displaying mask area, and method for controlling imaging device - Google Patents

Imaging device, method for displaying mask area, and method for controlling imaging device Download PDF

Info

Publication number
JP2014027588A
JP2014027588A JP2012168137A JP2012168137A JP2014027588A JP 2014027588 A JP2014027588 A JP 2014027588A JP 2012168137 A JP2012168137 A JP 2012168137A JP 2012168137 A JP2012168137 A JP 2012168137A JP 2014027588 A JP2014027588 A JP 2014027588A
Authority
JP
Japan
Prior art keywords
mask
mask area
area
correction
stop position
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.)
Granted
Application number
JP2012168137A
Other languages
Japanese (ja)
Other versions
JP6234015B2 (en
Inventor
Naoki Maruyama
直樹 丸山
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 JP2012168137A priority Critical patent/JP6234015B2/en
Publication of JP2014027588A publication Critical patent/JP2014027588A/en
Application granted granted Critical
Publication of JP6234015B2 publication Critical patent/JP6234015B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To prevent a mask target from being seen due to an unstable stop position factor such as a stop position error or a backlash.SOLUTION: An imaging device comprises: imaging means moved by a movement mechanism; control means for controlling movement mechanism for moving the imaging means to a determined stop position; mask area setting means 202 for setting a mask area specified for a mask target on an imaging screen; calculation means 204 for calculating a mask correction amount equivalent to an amount of misregistration at a stop position caused by an unstable stop position factor; and mask correction means 205 for correcting the set mask area according to the mask correction amount.

Description

本発明は、マスク対象に対して指定されたマスクエリアを撮像画面上に設定する撮像装置、マスクエリア表示方法および撮像装置の制御方法に関するものである。   The present invention relates to an imaging apparatus, a mask area display method, and an imaging apparatus control method for setting a mask area designated for a mask target on an imaging screen.

近年セキュリティ意識の高まりにより、監視カメラが広く普及している。   In recent years, surveillance cameras have become widespread due to increasing security awareness.

監視カメラの種類としては、撮影対象として限られた範囲だけを撮影するものや、カメラのパンニング、チルティング(以下パン・チルト、PT)機能等により広範囲を撮影対象とするものまで様々な種類のカメラが出回っている。   There are various types of surveillance cameras, such as those that shoot only a limited range as subjects to be photographed, and subjects that photograph a wide range by panning and tilting (hereinafter referred to as pan / tilt, PT) functions of the camera. The camera is on the market.

これらカメラの設置により防犯効果をあげるとともに、犯罪が起きた場合の重要な証拠となるシーンを捕らえることができ、セキュリティ上今日では必要不可欠なものとなっている。   The installation of these cameras increases the crime prevention effect and captures scenes that are important evidence in the event of a crime, which is indispensable for security today.

主なカメラの設置場所としては、公共機関や金融機関、コンビニエンスストア等がある。   Major camera installation locations include public institutions, financial institutions, and convenience stores.

また、セキュリティ以外の別の用途としては、商品管理やストアマネジメント等にも活用されており、防犯だけではなくマネジメントの分野まで幅広い分野で活用されている。   In addition to security, it is also used for product management and store management, and is used in a wide range of fields, not only for crime prevention but also for management.

以上のように今日では様々な用途、場所に取り付けられている監視カメラであるがゆえに、プライバシー、秘密の保護といった観点が重要視されている。   As described above, since the surveillance camera is installed in various applications and places, viewpoints such as privacy and protection of secrets are regarded as important today.

例えば、近隣の民家などを撮影対象の場所と同時に撮影してしまい、プライバシーを侵害してしまったり、銀行のATM等では暗証番号を打ち込む操作位置を映す事で暗証番号が映ってしまい、プライバシー、セキュリティを犯してしまう状態となってしまう。   For example, if you shoot a nearby private house at the same time as the shooting location and infringe on the privacy, or the bank ATM, etc., the password will be reflected by showing the operation position where the password is entered, privacy, It becomes a state that violates security.

さらにマネジメントで使用される場合でいえば、店舗内のある場所だけは映したくないといった情報管理を考慮した使用状況が考えられる。   Furthermore, in the case of use in management, a use situation that considers information management such as not wanting to show only a certain place in the store can be considered.

このようにセキュリティ、プライバシーを保護する観点から現在では、撮影画像に見せたくない部分が映りこんでしまうのを防ぐ為に、映したくない領域を隠す技術、プライベートマスキング(以下マスク、マスキング)が考案されている(特許文献1)。)
以上のようなマスキング処理において重要なことは、隠したいものをしっかりと隠すことであり、従来から以下のようなことが考えられている。
In this way, from the viewpoint of protecting security and privacy, in order to prevent the portion that you do not want to show in the captured image, the technology that hides the area that you do not want to see, private masking (hereinafter masking, masking) is devised. (Patent Document 1). )
What is important in the masking process as described above is to firmly hide what is desired to be hidden. Conventionally, the following has been considered.

例えば特許文献2は、パン・チルト駆動におけるマスクの補間をするために、以前と現在のマスク位置の表示位置の違いから時間的な変化を考慮して現在のマスク位置に補正マスクを付け加えるといったものである。   For example, in Patent Document 2, in order to interpolate a mask in pan / tilt driving, a correction mask is added to the current mask position in consideration of temporal changes from the difference in display position between the previous and current mask positions. It is.

これは、パン・チルト動作中に被写体の対象位置とてマスク表示がずれて隠したい被写体が映ってしまう事を防ぐ技術である。   This is a technique for preventing the mask display from being shifted from the target position of the subject during the pan / tilt operation and the subject to be hidden being reflected.

さらに特許文献3は、雲台の回転中心と撮像素子の取り付け位置に起因する誤差を考慮してマスキングをするといったものであり、意図せずマスクがずれて被写体が見えてしまう事を防ぐ方法がさまざま考えられている。   Further, Patent Document 3 performs masking in consideration of an error caused by the rotation center of the pan head and the mounting position of the image sensor, and there is a method of preventing the subject from being unintentionally shifted and the subject being seen. Various things are considered.

特開2001−69494号公報JP 2001-69494 A 特開2004−146890号公報JP 2004-146890 A 特開2004−15362号公報JP 2004-15362 A

しかしながら、上述した従来例では実際にカメラをパン・チルト駆動させるモータの停止精度誤差が考慮されていない。   However, in the above-described conventional example, the stop accuracy error of the motor that actually drives the camera to pan / tilt is not taken into consideration.

このモータの持つ停止精度誤差のため、あるパン・チルト位置で所望のマスキングエリアを設定したとしても、次回同パン・チルト位置にカメラを駆動制御したとしても必ずしも同じパン・チルト位置にカメラが設定されるわけではない。   Due to the stop accuracy error of this motor, even if the desired masking area is set at a certain pan / tilt position, the camera is not necessarily set to the same pan / tilt position even if the camera is driven to the same pan / tilt position next time. It is not done.

また、モータのバックラッシュについても同様のことがある。   The same is true for motor backlash.

そのため、設定した時には見えていなかったマスク対象物も設定後にはマスク対象が見えてしまう場合がある。   For this reason, there is a case in which a mask object that cannot be seen at the time of setting may be visible after the setting.

この現象は特に高倍率で撮影している時に顕著に現れマスキング機能としては重大な問題となっていた。   This phenomenon is particularly noticeable when photographing at a high magnification, and has become a serious problem as a masking function.

例えば図19に示すような撮影シーンであったとする。   For example, assume that the shooting scene is as shown in FIG.

このシーンにおいて画面中央にある人型の像をマスクして隠そうとした場合、通常ユーザが画面上でのマスクエリア2001を指定して、マスクエリア設定を行う(図20)。   In this scene, when an attempt is made to mask and hide a human-type image at the center of the screen, the normal user designates the mask area 2001 on the screen and sets the mask area (FIG. 20).

その後マスクエリア2001はPT位置に対応して記憶されているため、図20の設定位置からPT駆動してカメラが動いたとしても、再度マスクエリア設定を行ったPT位置に戻ると、設定したマスクによって隠した前記人型像が隠される。   After that, since the mask area 2001 is stored corresponding to the PT position, even if the camera is moved by performing PT driving from the set position in FIG. 20, when the mask area is set again, the set mask is set. The human figure hidden by is hidden.

しかし、現実にはモータの停止精度のため図20の駆動後に再度同じ位置に戻ろうとPT駆動させると、制御上では同じ位置でも、必ずしも同じ位置を映しているわけではない。   However, in reality, if the PT driving is performed to return to the same position again after the driving shown in FIG. 20 due to the stopping accuracy of the motor, the same position is not always reflected even at the same position in terms of control.

具体的には図21のように、図20の撮影位置からカメラを右方向にパンニングさせ、再度マスクエリア設定したPT位置にカメラを戻すと、同じ制御上のPT位置でも映しだしている場所がモータの停止精度の影響で実際には違っており、マスクエリア2001がずれてしまい、本来隠したかった人型像が映し出されてしまう。   Specifically, as shown in FIG. 21, when the camera is panned rightward from the shooting position of FIG. 20 and the camera is returned to the PT position where the mask area is set again, the location where the PT position on the same control is projected is also shown. This is actually different due to the influence of the motor stop accuracy, and the mask area 2001 is shifted, and a humanoid image originally intended to be hidden is displayed.

(発明の目的)
本発明の目的は、停止精度誤差やバックラッシュなどの停止位置不安定要因によりマスク対象が見えてしまう事を防ぐことができる撮像装置およびその制御方法を提供することである。
(Object of invention)
An object of the present invention is to provide an imaging apparatus and a control method thereof that can prevent a mask target from being seen due to a stop position instability factor such as a stop accuracy error or backlash.

また、本発明の目的は、マスク対象を意図した通り隠すことが出来ているかを確認することができるマスクエリア表示方法を提供することである。   Another object of the present invention is to provide a mask area display method capable of confirming whether a mask target can be hidden as intended.

上記目的を達成するために、本発明の撮像装置は、移動機構により移動される撮像手段と、前記撮像手段を定められた停止位置へ移動させるために前記移動機構を制御する制御手段と、マスク対象に対して指定されたマスクエリアを撮像画面上に設定するマスクエリア設定手段とを備えた撮像装置において、停止位置不安定要因による停止位置ずれ量に相当するマスク補正量を算出する算出手段と、前記マスクエリア設定手段により設定された前記マスクエリアに、前記マスク補正量に応じた補正を行うマスク補正手段とを有することを特徴とするものである。   In order to achieve the above object, an imaging apparatus according to the present invention includes an imaging unit that is moved by a moving mechanism, a control unit that controls the moving mechanism to move the imaging unit to a predetermined stop position, and a mask. A calculation unit that calculates a mask correction amount corresponding to a stop position deviation amount due to a stop position instability factor in an imaging apparatus including a mask area setting unit that sets a mask area designated for an object on an imaging screen; The mask area set by the mask area setting means has mask correction means for performing correction according to the mask correction amount.

また、本発明のマスクエリア表示方法は、撮像画面上のマスク対象に対して設定されたマスクエリアを表示するマスクエリア表示方法において、移動機構により撮像手段を定められた停止位置へ移動させるときの、停止位置不安定要因による停止位置ずれ量に相当するマスク補正量を算出して、前記設定されたマスクエリアに前記マスク補正量に応じた補正を行う場合に、前記マスク補正量を前記設定されたマスクエリアとは違う色、パターン、もしくは透過率で表示することを特徴とするものである。   Further, the mask area display method of the present invention is a mask area display method for displaying a mask area set for a mask target on an imaging screen when moving the imaging means to a predetermined stop position by a moving mechanism. When the mask correction amount corresponding to the stop position deviation amount due to the stop position instability factor is calculated, and the correction according to the mask correction amount is performed on the set mask area, the mask correction amount is set. It is characterized by displaying in a color, pattern, or transmittance different from the mask area.

本発明によれば、停止精度誤差やバックラッシュなどの停止位置不安定要因によりマスク対象が見えてしまう事を防ぐことができる。   According to the present invention, it is possible to prevent the mask object from being seen due to stop position instability factors such as stop accuracy error and backlash.

また、マスク対象を意図した通り隠すことが出来ているかを確認することができる。   It is also possible to confirm whether the mask target can be hidden as intended.

本発明の実施例1である撮像装置としての監視カメラの機能ブロック構成図である。It is a functional block block diagram of the surveillance camera as an imaging device which is Example 1 of the present invention. 実施例1の動作を示すフローチャートである。3 is a flowchart showing the operation of the first embodiment. ユーザにより指定されたマスクエリアを示す図である。It is a figure which shows the mask area designated by the user. モータの停止精度誤差に対するマスク補正幅の算出方法を説明する図である。It is a figure explaining the calculation method of the mask correction width | variety with respect to the motor stop precision error. 設定マスクエリアに対する補正マスクエリアを示す図である。It is a figure which shows the correction mask area with respect to a setting mask area. マスクエリアの設定シーンの一例を示す図である。It is a figure which shows an example of the setting scene of a mask area. 本発明の実施例2によるパン・チルト両方向のマスク補正を説明する図である。It is a figure explaining the mask correction | amendment of the pan / tilt direction by Example 2 of this invention. 本発明の実施例3の動作を示すフローチャートである。It is a flowchart which shows operation | movement of Example 3 of this invention. 実施例3によるマスク補正前後のマスクエリアを示す図である。It is a figure which shows the mask area before and behind the mask correction by Example 3. FIG. 実施例3によるマスク補正の効果を示す図である。It is a figure which shows the effect of the mask correction by Example 3. 本発明の実施例4によるパン・チルト両方向のマスク補正を説明する図である。It is a figure explaining the mask correction | amendment of the pan / tilt direction by Example 4 of this invention. 実施例4によるマスク補正前後のマスクエリアを示す図である。It is a figure which shows the mask area before and behind mask correction by Example 4. FIG. 本発明の実施例5である表示方法の処理を示すフローチャートである。It is a flowchart which shows the process of the display method which is Example 5 of this invention. 実施例5によるマスクエリアを示す図である。It is a figure which shows the mask area by Example 5. FIG. 実施例5による表示例を示す図である。FIG. 10 is a diagram illustrating a display example according to the fifth embodiment. 本発明の実施例6である表示方法の処理を示すフローチャートである。It is a flowchart which shows the process of the display method which is Example 6 of this invention. 実施例6によるマスクエリアを示す図である。It is a figure which shows the mask area by Example 6. FIG. 実施例6による表示例を示す図である。FIG. 20 is a diagram illustrating a display example according to the sixth embodiment. 従来の撮像画像の一例を示す図である。It is a figure which shows an example of the conventional captured image. 従来のマスクエリア設定時の画像を示す図である。It is a figure which shows the image at the time of the conventional mask area setting. 従来のマスクずれの例を示す図である。It is a figure which shows the example of the conventional mask shift.

本発明を実施するための形態は、以下の実施例1ないし6に記載される通りである。   The mode for carrying out the present invention is as described in Examples 1 to 6 below.

図1は、本発明の実施例1である撮像装置としての監視カメラの機能ブロック構成図である。図1において、101は監視カメラ、102は撮像部、103は画像処理部、104はシステム制御部である。105は撮像部102を左右に動かすパン機構、106はパン制御部である。107は撮像部102を上下に動かすチルト機構、108はチルト制御部である。パン機構105、チルト機構107のうちの少なくとも一つが移動機構を構成する。   FIG. 1 is a functional block configuration diagram of a surveillance camera as an image pickup apparatus that is Embodiment 1 of the present invention. In FIG. 1, 101 is a surveillance camera, 102 is an imaging unit, 103 is an image processing unit, and 104 is a system control unit. Reference numeral 105 denotes a pan mechanism for moving the imaging unit 102 left and right, and 106 denotes a pan control unit. Reference numeral 107 denotes a tilt mechanism that moves the imaging unit 102 up and down, and reference numeral 108 denotes a tilt control unit. At least one of the pan mechanism 105 and the tilt mechanism 107 constitutes a moving mechanism.

監視カメラ101はLAN等のネットワークに接続され、ネットワークを介して複数あるいは単数の監視装置(不図示)と通信可能に構成されている。監視装置はネットワークを介して、監視カメラ101の撮影映像の表示、録画を行うことができる。また、監視装置はカメラ制御指令を監視カメラ101に送信することにより、カメラの撮影条件の設定、パン動作、チルト動作等を行うことができる。   The monitoring camera 101 is connected to a network such as a LAN, and is configured to be able to communicate with a plurality or a single monitoring device (not shown) via the network. The monitoring device can display and record the video captured by the monitoring camera 101 via the network. In addition, the monitoring apparatus can perform camera setting, pan operation, tilt operation, and the like by transmitting a camera control command to the monitoring camera 101.

撮像部102は、撮像レンズ及び撮像素子などから構成され、被写体の撮像、電気信号への変換を行う。撮像部102において撮像・光電変換された信号は画像処理部103において所定の画像処理が行われ、撮影画像が生成される。また、設定されたマスクアリアの画像を生成する。撮像画像はシステム制御部104に伝達される。システム制御部104は画像処理部103から伝達された画像信号をネットワークを介して監視装置へ配信する。   The imaging unit 102 includes an imaging lens and an imaging element, and performs imaging of a subject and conversion into an electrical signal. The signal imaged and photoelectrically converted by the imaging unit 102 is subjected to predetermined image processing by the image processing unit 103 to generate a captured image. In addition, an image of the set mask area is generated. The captured image is transmitted to the system control unit 104. The system control unit 104 distributes the image signal transmitted from the image processing unit 103 to the monitoring apparatus via the network.

また、システム制御部104は、ネットワークを介して監視装置より送信されたカメラ制御指令を受信する。そして受信したカメラ制御指令に応じて撮影条件の設定や、PT動作などの動作指令、マスクエリアの設定をPTの各制御部106、108や画像処理部103に伝達する。各制御部は伝達された動作指令に基づいてそれぞれの機構の制御を行う。   In addition, the system control unit 104 receives a camera control command transmitted from the monitoring device via the network. Then, in accordance with the received camera control command, the imaging condition setting, the operation command such as PT operation, and the mask area setting are transmitted to the PT control units 106 and 108 and the image processing unit 103. Each control unit controls each mechanism based on the transmitted operation command.

パン機構105は、パン動作を行うメカ駆動系及び駆動源のステッピングモータにより構成され、その動作はパン制御部106により制御される。   The pan mechanism 105 includes a mechanical drive system that performs a pan operation and a stepping motor as a drive source, and the operation is controlled by the pan control unit 106.

チルト機構107は、チルト動作を行うメカ駆動系及び駆動源のステッピングモータにより構成され、その動作はチルト制御部108により制御される。   The tilt mechanism 107 includes a mechanical drive system that performs a tilt operation and a stepping motor as a drive source, and the operation is controlled by a tilt control unit 108.

パン機構105、チルト機構107の少なくとも一つからなる移動機構は、撮像部102をパン動作、チルト動作させるものである。撮像部102だけでなく、監視カメラ101の全体をパン動作、チルト動作させるものであってもよい。   A moving mechanism including at least one of the pan mechanism 105 and the tilt mechanism 107 is for causing the imaging unit 102 to perform a pan operation and a tilt operation. The whole surveillance camera 101 as well as the imaging unit 102 may be panned and tilted.

パン機構105、チルト機構107は、図1においては監視カメラ101に内蔵されているが、監視カメラ101に外付けされるものであってもよい。   The pan mechanism 105 and the tilt mechanism 107 are built in the monitoring camera 101 in FIG. 1, but may be externally attached to the monitoring camera 101.

図19〜21を用いて行った説明のように、停止位置不安定要因の一つであるモータの停止精度誤差により制御上同じ位置にカメラを駆動させたとしても、実際の停止位置がずれ、マスクが正しく適用されない現象が生じる。   As described with reference to FIGS. 19 to 21, even if the camera is driven to the same position in terms of control due to the stop accuracy error of the motor, which is one of the stop position instability factors, the actual stop position is shifted, A phenomenon occurs in which the mask is not applied correctly.

そこで、本実施例1は前記モータの停止精度を考慮したマスクエリア設定を行うものである。   Therefore, the first embodiment performs mask area setting in consideration of the stopping accuracy of the motor.

本実施例1のシステム制御部104による処理について図2に従い説明をする。   Processing performed by the system control unit 104 according to the first embodiment will be described with reference to FIG.

まず、マスクエリアの指定位置にカメラを駆動させ(201)、マスクをかけたい対象に対して撮像画面上でマスクエリア設定を行う(202)。   First, the camera is driven to the designated position of the mask area (201), and the mask area is set on the imaging screen for the target to be masked (202).

一般的にマスクエリアの設定方法としては、マスクエリアを撮像画面上でマウス等の指示ツールを使用し、マスクエリアを指定する。   In general, as a mask area setting method, a mask area is designated on the imaging screen using an instruction tool such as a mouse.

この指定された前記マスクエリアの位置と、カメラのPT位置、そして被写体距離情報として例えばズーム位置、フォーカス位置等のマスク設定条件を記憶する(203)。   The specified mask area position, camera PT position, and mask setting conditions such as the zoom position and focus position are stored as subject distance information (203).

本実施例1ではさらにあらかじめ記憶しているカメラのPT停止精度から、前記記憶するPT位置と前記被写体距離情報から前記PT停止精度でずれる量であるマスク補正量を算出し(204)、前記設定したマスクエリアに加算する(205)。   In the first embodiment, a mask correction amount which is an amount deviated by the PT stop accuracy is calculated from the stored PT position and the subject distance information from the PT stop accuracy of the camera stored in advance (204). It adds to the masked area (205).

具体的に説明すると、図3に示すように画像平面(X、Y座標)上にユーザによりマスクエリア301が設定される。   More specifically, as shown in FIG. 3, a mask area 301 is set by the user on the image plane (X, Y coordinates).

例えば、マスクエリア301は矩形で設定されるものであるとすると、そのマスクエリア301の4点のうち2点の対象点(X1,Y1)、(X2,Y2)を記憶する事でマスクエリア301を設定する事が出来る。   For example, if the mask area 301 is set to be rectangular, the mask area 301 is stored by storing two target points (X1, Y1) and (X2, Y2) out of four points in the mask area 301. Can be set.

そして、設定したマスクエリア301は被写体距離に応じてマスクエリア301の拡大縮小を行い、マスク対象の大きさに合わせたマスキングを行うとしても良い。   Then, the set mask area 301 may be enlarged or reduced according to the subject distance, and masking according to the size of the mask target may be performed.

一方マスク補正量について、モータの停止位置精度はあらかじめ記憶されており、停止精度が±a°となっていた場合、停止精度±a°に相当するエリアをXY座標で示し、前記設定したマスクエリア301に加味する。   On the other hand, the stop position accuracy of the motor is stored in advance for the mask correction amount, and when the stop accuracy is ± a °, the area corresponding to the stop accuracy ± a ° is indicated by XY coordinates, and the set mask area Add to 301.

このときのマスク補正量は、前記被写体距離情報から算出して求める。   The mask correction amount at this time is calculated from the subject distance information.

具体的には図4に示すように、モータ停止精度±a°と被写体距離Dから、停止精度誤差により生じる画像位置ずれ量W(=マスク補正量)を次の式により求める事が出来る。
W=2×Dtan(a)
そして、図5に示すようにユーザが設定し、記憶されたたマスクエリア301(X1,Y1)、(X2,Y2)にマスク補正量Wからなる補正マスクエリア302(X1−W,Y1)、303(X2+W,Y2)を加算する。この加算したエリア(301+302+303)を新たなマスクエリア304(図6)として設定し、記憶する。
Specifically, as shown in FIG. 4, the image position deviation amount W (= mask correction amount) caused by the stop accuracy error can be obtained from the motor stop accuracy ± a ° and the subject distance D by the following equation.
W = 2 × Dtan (a)
Then, as shown in FIG. 5, the mask area 301 (X1, Y1), (X2, Y2) set and stored by the user is stored in the correction mask area 302 (X1-W, Y1) including the mask correction amount W. Add 303 (X2 + W, Y2). This added area (301 + 302 + 303) is set and stored as a new mask area 304 (FIG. 6).

さらに、被写体距離の変化に合わせ、前記マスク補正量Wを加味したマスクエリア304に対して、従来より行われているマスクエリア304の拡大縮小処理を行うとしても良い。   Further, a conventional mask area 304 enlargement / reduction process may be performed on the mask area 304 in consideration of the mask correction amount W in accordance with the change in the subject distance.

このように停止精度誤差により生じる画像位置ずれ量Wを加味することにより(図5)、従来モータ停止精度により図21のように撮影エリアがずれてしまい、マスク対象が映ってしまっていた現象を図6のような形でマスク対象の映り込みを防ぐ事が出来る。   In this way, by taking into account the image position deviation amount W caused by the stop accuracy error (FIG. 5), the imaging area is shifted as shown in FIG. 21 due to the conventional motor stop accuracy and the mask object is reflected. The reflection of the mask object can be prevented in the form as shown in FIG.

図6ではマスクエリア301と補正マスクエリア302、303を区別しやすくする為に分割して図示しているが、実際の運用ではマスクエリア301と補正マスクエリア302、303とを区別することなく一つのマスクエリア304として扱うことも考えられる。   In FIG. 6, the mask area 301 and the correction mask areas 302 and 303 are divided for easy identification, but in actual operation, the mask area 301 and the correction mask areas 302 and 303 are not distinguished from each other. It is also possible to handle it as one mask area 304.

なお、本実施例1では説明のためにパン方向の動作に対してのみ詳しく説明を行ったがパン方向以外のカメラ駆動に関しても同様の考えで行えば、同様の効果が得られる。   In the first embodiment, only the operation in the pan direction has been described in detail for the sake of explanation. However, the same effect can be obtained if the same idea is applied to camera driving other than the pan direction.

さらに、本実施例1を利用する事により、例えばカメラがパン方向に駆動していた場合に、カメラが目標位置に止まるまでの駆動中に経由する各パンニング位置に対しても、各パンニング位置に対するカメラの停止精度によるズレが生じるため、このズレを同様に考慮してマスクエリアを補正することでカメラ駆動中、この例ではパンニング中に生ずるマスクエリアの位置ずれによりマスク対象が見えてしまうといった現象を防ぐことも、もちろんできる。   Further, by using the first embodiment, for example, when the camera is driven in the pan direction, each panning position that passes during the driving until the camera stops at the target position is also related to each panning position. Since the deviation due to the stop accuracy of the camera occurs, the mask object is corrected by taking this deviation into account in the same way, and the mask object is visible due to the positional deviation of the mask area that occurs during panning in this example while driving the camera. Of course you can also prevent.

以上の処理によりPT位置精度によりマスク対象が映ってしまう問題を解決する事が出来る。   With the above processing, it is possible to solve the problem that the mask object is reflected due to the PT position accuracy.

次に本実施例2では、実施例1で簡単の為説明を省略した複数方向(パン方向とチルト方向)のマスク補正について説明する。   Next, in the second embodiment, mask correction in a plurality of directions (pan direction and tilt direction), which are omitted for the sake of simplicity in the first embodiment, will be described.

前述した実施例1に示した処理でパン方向、チルト方向それぞれ別個にマスクエリアを算出し、2つのマスクエリアを合わせて表示する事で複数方向の補正を行う事ができる。   The mask area is calculated separately for each of the pan direction and the tilt direction by the processing described in the first embodiment, and correction in a plurality of directions can be performed by displaying the two mask areas together.

しかし、この処理では管理するマスクエリアの個数が複数になったり、マスク描画の為に処理が長くなったり、また、マスク用の表示エリア分のメモリ容量を多く使ってしまうといった問題がある。   However, this process has a problem that the number of mask areas to be managed becomes plural, the process becomes longer for mask drawing, and the memory capacity corresponding to the mask display area is used up.

そこで本実施例2では複数方向のマスク補正を行う際にも、一つのマスクエリアとして扱う為の処理を示す。   Therefore, the second embodiment shows a process for handling a single mask area when performing mask correction in a plurality of directions.

パン方向、チルト方向各方向の基本的なマスクエリアの設定の処理は実施例1で記載した通りなので説明を省略し、ここではパン方向、チルト方向のマスク補正量の合成処理について述べる。   The basic mask area setting process in each of the pan direction and the tilt direction is the same as described in the first embodiment, and thus the description thereof will be omitted. Here, a process of combining mask correction amounts in the pan direction and the tilt direction will be described.

前述の通り、パン、チルト各方向の停止位置精度を加味したマスクエリアの位置に対し、各マスク補正量の記憶対象点の位置を比較し、両マスクエリアを満足するようにマスクエリアを再設定して記憶する。   As described above, compare the position of the memory target point of each mask correction amount against the position of the mask area taking into account the stop position accuracy in each direction of pan and tilt, and reset the mask area to satisfy both mask areas And remember.

こうすることで、パン方向、チルト方向両方向を考慮したマスクエリア設定を1つのマスクエリア設定で表現することができる。   By doing so, the mask area setting considering both the pan direction and the tilt direction can be expressed by one mask area setting.

マスクエリアの合成処理について具体例を図7を用いて示す。   A specific example of the mask area composition processing will be described with reference to FIG.

まず、ユーザがマスクエリアを設定し、その設定されたマスクエリア301として(X1,Y1)、(X2,Y2)を記憶する。   First, the user sets a mask area, and (X1, Y1) and (X2, Y2) are stored as the set mask area 301.

そして、設定されたマスクエリア301に対してパン方向のマスク補正量(W)込みの補正マスクエリア302(X1−W,Y1)、303(X2+W,Y2)を算出する。また、チルト方向のマスク補正量(H)込みの補正マスクエリア305(X1,Y1−H)、306(X2,Y2+H)を算出する。   Then, correction mask areas 302 (X1-W, Y1) and 303 (X2 + W, Y2) including a mask correction amount (W) in the pan direction are calculated with respect to the set mask area 301. Also, correction mask areas 305 (X1, Y1-H) and 306 (X2, Y2 + H) including the mask correction amount (H) in the tilt direction are calculated.

前記パン方向とチルト方向のマスク補正量込みの4つの補正マスクエリア302、303、305、3061のそれぞれの位置から、パン方向とチルト方向の両マスクエリアを包含するマスクエリアの307の位置(X1−W,Y1−H)、(X2+W,Y2+H)を記憶する。   From the position of each of the four correction mask areas 302, 303, 305, and 3061 including the mask correction amount in the pan direction and the tilt direction, the position of the mask area 307 including both mask areas in the pan direction and the tilt direction (X1 -W, Y1-H), (X2 + W, Y2 + H) are stored.

以上の処理によりモータ停止精度による複数方向のマスク補正を行う事が出来、効率良くマスクエリアの設定を行う事が出来る。   With the above processing, mask correction in a plurality of directions with motor stop accuracy can be performed, and the mask area can be set efficiently.

本実施例3ではこれまで説明したマスク補正について、さらに停止位置不安定要因の他の一つであるモータのバックラッシュを考慮したマスク補正の処理を述べる。   In the third embodiment, mask correction processing that considers the backlash of the motor, which is another factor of stop position instability, will be described in addition to the mask correction described so far.

マスクがずれる要因としては、モータが持つ停止精度誤差の他に、モータの回転方向に依存するバックラッシュも考えられる。   Possible causes of mask displacement include backlash that depends on the rotational direction of the motor, in addition to the stop accuracy error of the motor.

バックラッシュにより起こるマスクのずれは図19ないし21で説明したモータの停止精度誤差によるものと同じである。   Mask displacement caused by backlash is the same as that caused by the motor stop accuracy error described with reference to FIGS.

仮にカメラを左から右方向にパンニングさせて図20のようにマスクエリア設定を行った場合、さらに右方向にカメラを駆動させ、その後左方向にカメラを駆動させ再度元のパンニング位置に戻す。   If the camera is panned from the left to the right and the mask area is set as shown in FIG. 20, the camera is further driven in the right direction, and then the camera is driven in the left direction to return to the original panning position.

すると、モータの停止精度が良好であったとしても、カメラ駆動方向がマスクエリア設定時の方向と逆方向であるためバックラッシュが発生し、図21のようにマスクエリアの位置がずれてしまう現象が考えられる。   Then, even if the motor stop accuracy is good, a backlash occurs because the camera drive direction is opposite to the direction when the mask area is set, and the mask area is displaced as shown in FIG. Can be considered.

そこで、本実施例3ではバックラッシュによるマスクエリアのずれを防ぐための処理を説明する。   In the third embodiment, a process for preventing the mask area from being shifted due to backlash will be described.

具体的には図8に示すフローに従い説明をする。   Specifically, description will be made according to the flow shown in FIG.

まず、マスクエリアの指定位置にカメラを駆動させ(801)、マスクをかけたい対象に対してマスクエリア設定を行う(802)。   First, the camera is driven to the designated position of the mask area (801), and the mask area is set for the target to be masked (802).

マスクエリアの設定方法は実施例1に記載の従来の方法でも、実施例1、2に記載の方法でもどちらでも良く、マスク設定の方法を特に問うものではない。   The mask area setting method may be either the conventional method described in the first embodiment or the method described in the first and second embodiments, and does not specifically ask the mask setting method.

そして、マスクエリア設定の直前のカメラのPT駆動方向を記憶しておく(803)。このステップを実行するシステム制御部104内のRAMなどが駆動方向記憶手段を構成する。   Then, the PT drive direction of the camera immediately before the mask area setting is stored (803). The RAM or the like in the system control unit 104 that executes this step constitutes a drive direction storage unit.

以上で、カメラのマスクエリア設定動作は終了である。   This is the end of the camera mask area setting operation.

前記マスクエリアの設定動作が終了した後は、カメラがPT動作したかどうかを判断し(804)、PT動作が無かった場合(804のYES)には、現状のマスクエリア設定を維持する。   After the mask area setting operation is completed, it is determined whether the camera has performed a PT operation (804). If there is no PT operation (YES in 804), the current mask area setting is maintained.

逆にPT動作が行われた場合(804のNO)には、カメラのPT駆動方向を検出し(805)、前記記憶したマスクエリア設定直前のカメラのPT駆動方向と比較する(806)。ステップ803で記憶したマスク設定直前のカメラのPT駆動方向と同一方向に動かされた場合には、マスクエリア設定時のマスクエリアを維持する。   Conversely, if a PT operation is performed (NO in 804), the PT driving direction of the camera is detected (805) and compared with the stored PT driving direction of the camera immediately before the mask area setting (806). When the camera is moved in the same direction as the PT driving direction of the camera immediately before the mask setting stored in step 803, the mask area at the time of setting the mask area is maintained.

一方、両駆動方向が同一方向で無かった(逆方向であった)場合には、すでに設定されているマスクエリアに対して、あらかじめわかっているモータのバックラッシュ分のマスク補正量Wb(図9)を算出する(807)。   On the other hand, if the two drive directions are not the same direction (reverse directions), the mask correction amount Wb corresponding to the backlash of the motor known in advance with respect to the already set mask area (FIG. 9). ) Is calculated (807).

マスク補正量Wbの求め方は、あらかじめバックラッシュがどの程度の角度であるのかを記憶しておき、その値からマスク補正量Wbを算出する。   As a method for obtaining the mask correction amount Wb, the angle of backlash is stored in advance, and the mask correction amount Wb is calculated from the value.

マスク補正量Wbの算出方法は、実施例1で求めたモータの停止精度におけるマスク補正量Wの算出方法(図4参照)と同様に求められるため、説明は省略する。   Since the calculation method of the mask correction amount Wb is obtained in the same manner as the calculation method of the mask correction amount W in the motor stop accuracy obtained in the first embodiment (see FIG. 4), description thereof is omitted.

このようにして求められたマスク補正量Wb分を、図9に示すように前記記憶したマスクエリア設定時のPT方向と逆駆動した方向のマスクエリア301に対して、駆動方向側にずらす。   The mask correction amount Wb thus obtained is shifted to the driving direction side with respect to the mask area 301 in the direction reversely driven in the PT direction at the time of setting the stored mask area as shown in FIG.

この処理により、図10に示すように、不必要にマスクエリア301を大きくするだけではなく、マスクエリア301の位置を調整する事でマスク対象が映ってしまう事を防げる。   With this process, as shown in FIG. 10, not only the mask area 301 is unnecessarily enlarged, but also the mask object can be prevented from being reflected by adjusting the position of the mask area 301.

ここでは、バックラッシュに合わせてマスクエリアの表示位置をずらす例を示したが、実施例1と同様の考え方で、バックラッシュによるずれを補正マスクエリアとして、ユーザ設定マスクエリアに加味するとしても良い。   Here, an example in which the display position of the mask area is shifted in accordance with backlash has been shown. However, a shift due to backlash may be added to the user-set mask area as a correction mask area based on the same idea as in the first embodiment. .

この処理は実施例1と同じであるため説明を省く。   Since this process is the same as that of the first embodiment, a description thereof will be omitted.

本実施例4では、実施例3をさらに応用したもので、実施例3に示したようにマスクエリア設定時のカメラPT駆動方向と、マスクエリア設定後のカメラPT操作時のカメラPT駆動方向が両方向とも違っていた場合のバックラッシュを考慮したマスクエリアの補間処理について述べる。   In the fourth embodiment, the third embodiment is further applied. As shown in the third embodiment, the camera PT driving direction when the mask area is set and the camera PT driving direction when the camera PT is operated after the mask area is set are as follows. A mask area interpolation process considering backlash when both directions are different will be described.

各方向、例えばPT両方向の基本的なマスクエリアの設定およびバックラッシュを考慮した補正処理は実施例3と同じである。   The basic mask area setting in each direction, for example, both directions of PT, and the correction processing considering backlash are the same as those in the third embodiment.

ここでは、仮にマスクエリア設定時にはパン方向は右方向、チルト方向は下方向に動かした後に設定し、その後カメラのPT駆動でパン方向は左向き、チルト方向は上向きに動かした場合を例として図11を用いて本実施例4のマスクの補正処理について述べる。   Here, when setting the mask area, the pan direction is set after moving the right direction and the tilt direction after moving downward, and then the camera is driven by PT to move the pan direction to the left and the tilt direction to move upward as an example in FIG. The mask correction processing according to the fourth embodiment will be described with reference to FIG.

まず、ユーザがマスクエリアを設定し、その設定マスクエリアとして(X1,Y1)、(X2,Y2)を設定する。   First, the user sets a mask area, and sets (X1, Y1) and (X2, Y2) as the setting mask area.

そして、設定マスクエリアに対してパン方向のマスク補正量Wb込みのマスクエリアの位置(X1−Wb,Y1)、(X2−Wb,Y2)と、チルト方向のマスク補正量Hb込みのマスクエリアの位置(X1,Y1−Hb)、(X2,Y2−Hb)を算出する。   Then, the position (X1-Wb, Y1) and (X2-Wb, Y2) of the mask area including the mask correction amount Wb in the pan direction with respect to the set mask area and the mask area including the mask correction amount Hb in the tilt direction The positions (X1, Y1-Hb) and (X2, Y2-Hb) are calculated.

前記パン方向とチルト方向のマスク補正量込みの2つのマスクエリアのそれぞれの位置から、両マスクエリアを包含する位置(X1−Wb,Y1−Hb)、(X2−Wb,Y2−Hb)を記憶する。   The positions (X1-Wb, Y1-Hb) and (X2-Wb, Y2-Hb) including both mask areas are stored from the respective positions of the two mask areas including the mask correction amount in the pan direction and the tilt direction. To do.

この結果、図12に示すようにもともと(X1,Y1)、(X2,Y2)で設定されていた点線で示されているマスクエリア301が、パン・チルト方向がともにマスクエリア設定時のパン・チルト方向と反対であった場合には、斜線で示されるマスクエリア301a(X1−Wb,Y1−Hb)、(X2−Wb,Y2−Hb)に変更される。   As a result, as shown in FIG. 12, the mask area 301 indicated by the dotted lines originally set at (X1, Y1), (X2, Y2) If the direction is opposite to the tilt direction, the mask areas 301a (X1-Wb, Y1-Hb) and (X2-Wb, Y2-Hb) indicated by diagonal lines are changed.

このようにすることによりモータのバックラッシュにより、意図した被写体がマスクずれで見える事を防ぎ、かつ不必要にマスクエリア301を大きく設定する必要が無くなるのでより良好な撮影を行うことが出来る。   By doing so, it is possible to prevent the intended subject from being viewed due to mask displacement due to the backlash of the motor, and it is not necessary to set the mask area 301 unnecessarily large, so that better imaging can be performed.

ここではマスクエリア設定時のカメラ駆動方向が、PT両方向とも違っていた場合を示したが、マスクエリアの設定方向とカメラのPT駆動方向との一方だけが違っていた場合には、違っていた方向だけマスクエリアの補正を行えば良い事は実施例3、4から推測されるとおりである。   Here, the camera drive direction at the time of mask area setting is different in both PT directions, but it was different when only one of the mask area setting direction and the camera PT drive direction was different. As is estimated from the third and fourth embodiments, the mask area only needs to be corrected in the direction.

本実施例5は、マスクエリア設定を行う際にユーザが意図しないマスクずれにより被写体が見えてしまうといった問題を、あらかじめユーザに分からせることにより、意図せずマスク対象の被写体が見えてしまうといった問題を防ぐマスクエリア表示方法を示す。   The fifth embodiment has a problem that a subject to be masked can be seen unintentionally by making the user know in advance the problem that the subject will be visible due to mask misalignment that is not intended by the user when setting the mask area. A mask area display method for preventing the above will be described.

マスクエリアの設定処理は従来から行われているマスクエリアの設定処理、ならびにこれまで述べてきた実施例1〜4までの処理等特に問うものではない為、ここでは説明を省略する。   Since the mask area setting process does not particularly ask a conventional mask area setting process or the processes of the first to fourth embodiments described above, the description thereof is omitted here.

本実施例の中でモータに起因する撮影範囲の変化によるマスクずれにより被写体が見えてしまう現象に対し、マスクエリアを補正する事で対応する処理を述べてきた。   In the present embodiment, the processing corresponding to the phenomenon that the subject can be seen due to the mask displacement due to the change of the photographing range caused by the motor has been described by correcting the mask area.

補正されたマスクエリアは、ユーザが意図した設定マスクエリアに対してマスクエリアの補正を行うため、設定時にはユーザが意図したマスクエリア通りにマスクエリア設定が出来ないといった誤解を招いてしまう恐れがある。   Since the corrected mask area corrects the mask area with respect to the setting mask area intended by the user, there is a risk of misunderstanding that the mask area cannot be set according to the mask area intended by the user at the time of setting. .

そこで本実施例5では、補正されるマスクエリアに対して、ユーザが設定したマスクエリアとは違う色、パターン、もしくは透過率を変えて半透明にする等の処理を施すことで、ユーザに明示的に補正後のマスクエリアがどのようになるのかを表示するものである。   Therefore, in the fifth embodiment, the mask area to be corrected is clearly shown to the user by performing a process such as changing the color, pattern, or transmittance different from the mask area set by the user to make it translucent. In other words, the mask area after correction is displayed.

具体的例として図13のフローチャートを示す。   The flowchart of FIG. 13 is shown as a specific example.

まず、マスクをかけたいマスクエリアの指示位置にカメラを駆動させ(1301)、マスクをかけたい対象に対してマスクエリアの設定を行う(1302)。   First, the camera is driven to the designated position of the mask area to be masked (1301), and the mask area is set for the target to be masked (1302).

一般的にマスクエリアの設定方法としては、マスクエリアを画面上でマウス等の指示ツールを使用し、マスクエリアを指定する。   In general, as a mask area setting method, a mask area is designated on the screen by using an instruction tool such as a mouse.

この指定された前記マスクエリアの位置と、カメラのPT位置、そして被写体距離情報として例えばズーム位置、フォーカス位置等のマスク設定条件を記憶する(1303)。   The specified mask area position, camera PT position, and mask setting conditions such as a zoom position and a focus position are stored as subject distance information (1303).

本実施例5ではさらにあらかじめ記憶しているカメラのPT停止精度から、前記記憶するPT位置と前記被写体距離情報から前記PT停止精度でずれる量(マスク補正量)を算出する(1304)。算出したマスク補正量を前記設定したマスクエリアに加算し、加算されるエリアを補正マスクエリアとして表示する(1305)。   In the fifth embodiment, an amount (mask correction amount) deviated by the PT stop accuracy is calculated from the stored PT position and the subject distance information from the PT stop accuracy stored in advance (1304). The calculated mask correction amount is added to the set mask area, and the added area is displayed as a correction mask area (1305).

このとき表示される前記補正マスクエリアは前記ユーザが設定したマスクエリアとは違う色、パターン、もしくは透過率を変えて半透明にする等の処理を施すことができるものである。   The correction mask area displayed at this time can be subjected to processing such as making it translucent by changing the color, pattern, or transmittance different from the mask area set by the user.

そして、マスクエリアの設定が補正マスクエリア込みでユーザが了承した場合には(1306)、前記補正マスクエリアを加味したマスクエリアの大きさで設定マスクエリアとして記憶する。そして、補正マスクエリアに施していた、ユーザが設定したマスクエリアとは違う色、パターン、もしくは透過率を変えて半透明にする等の処理をやめて、ユーザによる設定エリアマスクと同じ色、パターン等に戻す(1307)。   If the user accepts the mask area setting including the correction mask area (1306), the mask area is stored as the set mask area with the mask area size including the correction mask area. Then, the color, pattern, etc. that are different from the mask area set by the user and changed to translucent by changing the transmittance, etc. applied to the correction mask area are stopped, and the same color, pattern, etc. as the user set area mask (1307).

図14は補正マスクエリアを加味した、マスクエリア設定の表示を示したものである。   FIG. 14 shows a mask area setting display in consideration of the correction mask area.

図14において(X1,Y1)、(X2、Y2)で囲まれるマスクエリア1401が、ユーザが設定したマスクエリアである。   In FIG. 14, a mask area 1401 surrounded by (X1, Y1) and (X2, Y2) is a mask area set by the user.

そして、マスク補正量Wを示す補正マスクエリアが1402(X1−W,Y1)、(X1,Y2)と1403(X2,Y1)、(X2+W,Y2)の斜線で示される部分である。   A correction mask area indicating the mask correction amount W is indicated by hatched lines 1402 (X1-W, Y1), (X1, Y2) and 1403 (X2, Y1), (X2 + W, Y2).

補正マスクエリアの算出方法はこれまで述べてきたのでここでは省略する。   Since the calculation method of the correction mask area has been described so far, it is omitted here.

このように求められたマスクエリア3つに対して、マスクエリアの設定時には補正マスクエリア1402、1403を設定マスクエリア1401とは違う色、パターン、もしくは透過率を変えて半透明にする等の処理を施すことでユーザに明示的に補正後のマスクエリアがどのようになるのかを表示する(図15)。   For the three mask areas thus determined, when setting the mask area, the correction mask areas 1402 and 1403 are made translucent by changing the color, pattern, or transmittance different from those of the set mask area 1401. To explicitly display the mask area after correction (FIG. 15).

そして、マスクエリアの設定が完了した場合には補正マスクエリア1402、1403の表示を、ユーザが設定したマスクエリア1401の色、パターンに合わせる。   When the mask area setting is completed, the display of the correction mask areas 1402 and 1403 is matched with the color and pattern of the mask area 1401 set by the user.

さらに、望ましくは補正マスクエリアも含めたマスクエリアを1つのマスクエリアとして扱う事でマスクエリア表示の処理を軽減する事が出来る。   Furthermore, the mask area display process can be reduced by treating the mask area including the correction mask area as one mask area.

ここでは、一例としてユーザ設定のマスク色、パターンに合わせるとしたが、必ずしもこの限りではない。   Here, the mask color and pattern set by the user are set as an example, but this is not necessarily the case.

しかし、透過率が変わっていて撮影画像が見えてしまっている場合には透過しないように補正マスクエリアの処理を行う事が望ましい。   However, when the transmittance has changed and the photographed image is visible, it is desirable to process the correction mask area so as not to transmit.

また、ここでは補正マスクエリアの表示方法の基本的な仕組みを簡単に説明するために、パン方向のみの補正を例に説明したが、本実施例はこれに限定されるものではなく、チルト方向、ならびにパン・チルト両方向の補正に対しても適用されるものであり、補正されるマスクエリアをユーザが設定したマスクエリアとは違う色、パターン、もしくは透過率を変えて半透明にする等の処理を施すことで実現できる。   Further, here, in order to simply explain the basic mechanism of the display method of the correction mask area, correction in only the pan direction has been described as an example. However, the present embodiment is not limited to this, and the tilt direction is not limited thereto. This also applies to correction in both pan and tilt directions, and the mask area to be corrected is different from the mask area set by the user, changing the color, pattern, or transmittance to make it translucent. This can be realized by processing.

以上の方法により、モータに起因する撮影範囲の変化によるマスクずれにより被写体が見えてしまう現象を防ぎ、マスク補正後のマスクエリアがユーザ設定と異なる為に設定を間違えてしまったと誤解することを防ぐとともに、どの程度のマスクエリアになるかを設定前に確認する事が出来、ユーザにとって利便性の良いものとなる。   By the above method, the phenomenon that the subject can be seen due to the mask shift due to the change of the shooting range caused by the motor is prevented, and the misunderstanding that the setting is wrong because the mask area after mask correction is different from the user setting is prevented. At the same time, it is possible to confirm how much the mask area will be before setting, which is convenient for the user.

本実施例6ではマスクエリア設定を行う際にユーザが意図しないマスクずれにより被写体が見えてしまうといった問題を、あらかじめユーザに分からせることにより、被写体が見えてしまう事の防止を目的とした実施例5とは違った別のマスクずれエリア表示方法を示す。   In the sixth embodiment, when the mask area is set, the subject that the subject can be seen due to the mask deviation that is not intended by the user can be known in advance so that the subject can be prevented from being seen. 5 shows another mask displacement area display method different from 5.

マスクエリア設定の処理は従来から行われているマスクエリア設定の処理、ならびにこれまで述べてきた実施例1〜4までの処理等特に問うものではない為、ここでは説明を省略する。   The mask area setting process is not particularly limited to the conventional mask area setting process and the processes of the first to fourth embodiments described so far, and thus the description thereof is omitted here.

そして、本実施例6ではこれまで示してきたモータの停止精度を考慮して補正マスクエリアを、ユーザが設定したマスクエリアに付け足すのではなく、モータの停止精度によりずれる可能性があるマスクエリアを、ユーザが設定したマスクエリアとは違った色・パターン・透過率で表現する。   In the sixth embodiment, the correction mask area is not added to the mask area set by the user in consideration of the stopping accuracy of the motor that has been shown so far, but the mask area that may be shifted depending on the stopping accuracy of the motor. The color, pattern, and transmittance are different from the mask area set by the user.

このようにすることで、マスクエリア設定をユーザの意図するマスクエリアとすることが出来る。それとともに、従来のようにマスクずれでマスクする被写体が映ってしまうといった現象を、あらかじめ映ってしまう可能性のある領域を設定時のマスクエリアとは違った色・パターン・透過率で表現する。このことで、マスクずれによる、意図せずマスク対象を晒してしまう事を防ぐ事が出来る。   In this way, the mask area setting can be set to the mask area intended by the user. At the same time, the phenomenon that the subject to be masked is reflected due to mask displacement as in the conventional case is expressed by a color, pattern, and transmittance different from the mask area at the time of setting the area that may be reflected in advance. This can prevent unintentional exposure of the mask target due to mask displacement.

具体的例として図16のフローチャートを示す。   The flowchart of FIG. 16 is shown as a specific example.

まず、マスクをかけたいマスクエリアの指定位置にカメラを駆動させ(1601)、マスクをかけたい対象に対してマスクエリア設定を行う(1602)。   First, the camera is driven to the designated position of the mask area to be masked (1601), and the mask area is set for the target to be masked (1602).

一般的にマスクエリアの設定処理としては、マスクエリアを画面上でマウス等の指示ツールを使用し、エリアを指定する。   In general, as a mask area setting process, the mask area is designated on the screen by using an instruction tool such as a mouse.

この指定された前記マスクエリアの位置と、カメラのPT位置、そして被写体距離情報として例えばズーム位置、フォーカス位置等のマスク設定条件を記憶する(1603)。   Mask setting conditions such as a zoom position and a focus position are stored as the position of the designated mask area, the PT position of the camera, and subject distance information (1603).

本実施例6ではさらにあらかじめ記憶しているカメラのPT停止精度から、前記記憶するPT位置と前記被写体距離情報から前記PT停止精度でマスクがずれる可能性のある量(マスクずれ量)を算出し(1604)、前記設定したマスクエリアにマスクずれエリアとして表示する(1605)。   In the sixth embodiment, an amount (mask shift amount) that may cause a mask shift with the PT stop accuracy is calculated from the stored PT position accuracy and the subject distance information from the PT stop accuracy stored in advance. (1604), a mask displacement area is displayed in the set mask area (1605).

このとき表示される前記マスクずれエリアは前記ユーザが設定したマスクエリアとは違う色、パターン、もしくは透過率を変えて半透明にする等の処理を施すことができるものである。   The mask displacement area displayed at this time can be subjected to processing such as making it translucent by changing the color, pattern, or transmittance different from the mask area set by the user.

そして、マスクエリアの設定がマスクずれエリア込みでユーザが了承した場合には(1606)、前記ずれたマスクエリアを記憶する。そして、マスクずれエリアに施していた、ユーザが設定したマスクエリア内のずれの起きないマスクエリアとは違う色、パターン、もしくは透過率を変えて半透明にする等の処理をやめて、ユーザ設定のマスクエリアと同じ色、パターン等に戻す(1607)。   If the user approves the mask area setting including the mask displacement area (1606), the displaced mask area is stored. Then, the processing that was applied to the mask displacement area, such as changing the color, pattern, or transmissivity of the mask area that does not cause the displacement within the mask area set by the user to be translucent, is stopped. Return to the same color and pattern as the mask area (1607).

図17はマスクずれによりマスク対象が見えてしまう可能性のあるマスクエリアを表示した、マスク設定表示を示したものである。   FIG. 17 shows a mask setting display in which a mask area in which a mask target may be visible due to mask displacement is displayed.

図17において(X1,Y1)、(X2、Y2)で囲まれるマスクエリア1701が、ユーザが設定したマスクエリアである。   In FIG. 17, a mask area 1701 surrounded by (X1, Y1) and (X2, Y2) is a mask area set by the user.

そして、マスクがずれる可能性のあるマスクずれエリアが1702(X1,Y1)、(X1+W,Y2)と1703(X2−W,Y1)、(X2,Y2)の斜線で示される部分であり、モータ停止精度によりずれる事のないマスクエリアは1704(X1+W,Y1)、(X2−W,Y2)で表示されるエリアである。   The mask misalignment area where the mask may be shifted is the portion indicated by the diagonal lines 1702 (X1, Y1), (X1 + W, Y2) and 1703 (X2-W, Y1), (X2, Y2), and the motor The mask area that does not deviate due to the stop accuracy is an area displayed by 1704 (X1 + W, Y1), (X2-W, Y2).

マスクずれエリアの算出方法は、これまで述べてきた補正マスクエリアの算出方法と同じなのでここでは省略する。   The method for calculating the mask displacement area is the same as the method for calculating the correction mask area described so far, and is omitted here.

このようにして求められたマスクエリア1702〜1704の3つに対して、マスクエリア設定時にはマスクずれエリア1702、1703をマスクエリア1704内のモータ停止精度によりずれる事のない領域1704とは違う色、パターン、もしくは透過率を変えて半透明にする等の処理を施すことでユーザに明示的に設定されたマスクエリアがどのようになるのかを示す(図18)。   With respect to the three mask areas 1702 to 1704 thus obtained, when the mask area is set, the mask displacement areas 1702 and 1703 have colors different from those of the area 1704 in the mask area 1704 where the motor stop accuracy does not shift. FIG. 18 shows how the mask area explicitly set by the user is changed by performing processing such as changing the pattern or translucency to make it translucent (FIG. 18).

そして、マスクエリアの設定が完了した場合にはマスクずれエリアの表示を、ユーザが設定したマスクの色、パターンに合わせる。   When the mask area setting is completed, the display of the mask displacement area is matched with the mask color and pattern set by the user.

さらに、望ましくはマスクずれエリアも含めたマスクエリアを1つのマスクエリアとして扱う事でマスクエリア表示の処理を軽減する事が出来る。   Furthermore, it is possible to reduce mask area display processing by treating a mask area including a mask displacement area as one mask area.

ここでは、一例としてユーザ設定のマスクエリアの色、パターンに合わせるとしたが、必ずしもこの限りではない。   Here, the color and pattern of the mask area set by the user are set as an example, but this is not necessarily the case.

しかし、透過率が変わっていて撮影画像が見えてしまっている場合には透過しないようにマスクずれエリアの処理を行う事が望ましい。   However, when the transmittance has changed and the photographed image is visible, it is desirable to process the mask displacement area so as not to transmit.

また、ここではマスクずれエリアの表示方法の基本的な仕組みを簡単に説明するために、パン方向のみの表示方法を例に説明したが、本実施例6はこれに限定されるものではなく、チルト方向、ならびにパン・チルト両方向のずれに対しても適用されるものであり、マスクずれエリアをユーザが設定したマスクエリアとは違う色、パターン、もしくは透過率を変えて半透明にする等の処理を施すことで実現できる。   Further, here, in order to briefly explain the basic mechanism of the display method of the mask displacement area, the display method only in the pan direction has been described as an example. However, the sixth embodiment is not limited to this, This also applies to tilt direction and pan / tilt misalignment, and the mask misalignment area is different from the mask area set by the user by changing color, pattern, or translucency, etc. This can be realized by processing.

以上のようにすることで、マスクエリア設定をユーザの意図するエリアとすることが出来る。それとともに、従来のようにマスクずれでマスクする被写体が映ってしまうといった現象を、あらかじめ映ってしまう可能性のあるエリアを設定時のマスクエリアとは違った色・パターン・透過率で表現することで、マスクずれによる、意図せずマスク対象を晒してしまう事を防ぐ事が出来、ユーザにとって利便性の良いものとなる。   As described above, the mask area setting can be set to the area intended by the user. At the same time, to express the phenomenon that the subject to be masked due to mask displacement as in the past, to express the area that may appear in advance with a color, pattern, and transmittance different from the mask area at the time of setting Thus, it is possible to prevent unintentional exposure of the mask target due to mask displacement, which is convenient for the user.

以上、本発明の実施例について説明したが、本発明はこれらの実施例に限定されず、その要旨の範囲内で種々の変形及び変更が可能である。   As mentioned above, although the Example of this invention was described, this invention is not limited to these Examples, A various deformation | transformation and change are possible within the range of the summary.

301 マスクエリア(補正前)
302,303 補正マスクエリア
304 補正後のマスクエリア
W マスク補正量(停止精度誤差分)
Wb マスク補正量(バックラッシュ分)
301 Mask area (before correction)
302, 303 Correction mask area 304 Mask area after correction W Mask correction amount (for stop accuracy error)
Wb Mask correction amount (backlash)

Claims (9)

移動機構により移動される撮像手段と、
前記撮像手段を定められた停止位置へ移動させるために前記移動機構を制御する制御手段と、
マスク対象に対して指定されたマスクエリアを撮像画面上に設定するマスクエリア設定手段とを備えた撮像装置において、
停止位置不安定要因による停止位置ずれ量に相当するマスク補正量を算出する算出手段と、
前記マスクエリア設定手段により設定された前記マスクエリアに、前記マスク補正量に応じた補正を行うマスク補正手段とを有することを特徴とする撮像装置。
Imaging means moved by a moving mechanism;
Control means for controlling the moving mechanism to move the imaging means to a predetermined stop position;
In an imaging apparatus comprising mask area setting means for setting a mask area designated for a mask target on an imaging screen,
A calculating means for calculating a mask correction amount corresponding to a stop position deviation amount due to a stop position instability factor;
An image pickup apparatus comprising: a mask correction unit that performs correction according to the mask correction amount in the mask area set by the mask area setting unit.
前記算出手段は、前記移動機構の停止精度誤差による前記マスク補正量を算出することを特徴とする請求項1に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the calculation unit calculates the mask correction amount based on a stop accuracy error of the moving mechanism. 前記マスク補正手段は、前記移動機構の停止精度誤差によるマスク補正量に相当する補正マスクエリアを、前記設定されたマスクエリアに加算することを特徴とする請求項2に記載の撮像装置。   The imaging apparatus according to claim 2, wherein the mask correction unit adds a correction mask area corresponding to a mask correction amount due to a stop accuracy error of the moving mechanism to the set mask area. 前記算出手段は、前記移動機構のバックラッシュによるマスク補正量を算出することを特徴とする請求項1に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the calculation unit calculates a mask correction amount due to backlash of the moving mechanism. さらに、マスクエリア設定時の前記移動機構による前記撮像手段の駆動方向を記憶する駆動方向記憶手段を有し、
前記マスク補正手段は、前記駆動方向記憶手段に記憶されている駆動方向と、その後の前記移動機構による前記撮像手段の駆動方向を比較し、比較した前記両駆動方向が同じであった場合には前記バックラッシュによる前記マスク補正量に応じた補正を行わず、比較した前記両駆動方向が逆方向であった場合には、前記バックラッシュによるマスク補正量に応じた補正を行うことを特徴とする請求項4に記載の撮像装置。
Furthermore, it has a drive direction storage means for storing the drive direction of the imaging means by the moving mechanism when setting a mask area,
The mask correction means compares the drive direction stored in the drive direction storage means with the drive direction of the imaging means by the moving mechanism thereafter, and if the compared both drive directions are the same The correction according to the mask correction amount due to the backlash is not performed, and the correction according to the mask correction amount due to the backlash is performed when the compared both driving directions are opposite directions. The imaging device according to claim 4.
前記マスク補正手段は、前記移動機構のバックラッシュによるマスク補正量に応じて前記設定されたマスクエリアをずらすことを特徴とする請求項5に記載の撮像装置。   The imaging apparatus according to claim 5, wherein the mask correction unit shifts the set mask area according to a mask correction amount due to backlash of the moving mechanism. 撮像画面上のマスク対象に対して設定されたマスクエリアを表示するマスクエリア表示方法において、
移動機構により撮像手段を定められた停止位置へ移動させるときの、停止位置不安定要因による停止位置ずれ量に相当するマスク補正量を算出して、前記設定されたマスクエリアに前記マスク補正量に応じた補正を行う場合に、前記マスク補正量を前記設定されたマスクエリアとは違う色、パターン、もしくは透過率で表示することを特徴とするマスクエリア表示方法。
In the mask area display method for displaying the mask area set for the mask target on the imaging screen,
A mask correction amount corresponding to a stop position shift amount due to a stop position instability factor when the image pickup means is moved to a predetermined stop position by the moving mechanism is calculated, and the mask correction amount is set in the set mask area. A mask area display method characterized by displaying the mask correction amount in a color, pattern, or transmissivity different from that of the set mask area when performing a corresponding correction.
撮像画面上のマスク対象に対して設定されたマスクエリアを表示するマスクエリア表示方法において、
移動機構により撮像手段を定められた停止位置へ移動させるときの、停止位置不安定要因による停止位置ずれ量に相当するマスクずれ量を算出して、前記マスクずれ量に相当するマスクずれエリアを表示するとともに、前記マスクずれエリアを前記設定されたマスクエリアとは違う色、パターン、もしくは透過率で表示することを特徴とするマスクエリア表示方法。
In the mask area display method for displaying the mask area set for the mask target on the imaging screen,
When the moving mechanism moves the image pickup means to a predetermined stop position, a mask shift amount corresponding to the stop position shift amount due to the stop position instability factor is calculated, and a mask shift area corresponding to the mask shift amount is displayed. And displaying the mask displacement area in a color, pattern, or transmittance different from that of the set mask area.
移動機構により移動される撮像手段と、
前記撮像手段を定められた停止位置へ移動させるために前記移動機構を制御する制御手段と、
マスク対象に対して指定されたマスクエリアを撮像画面上に設定するマスクエリア設定手段とを備えた撮像装置の制御方法であって、
停止位置不安定要因による停止位置ずれ量に相当するマスク補正量を算出する算出ステップと、
前記マスクエリア設定手段により設定された前記マスクエリアに、前記マスク補正量に応じた補正を行うマスク補正ステップとを有することを特徴とする撮像装置の制御方法。
Imaging means moved by a moving mechanism;
Control means for controlling the moving mechanism to move the imaging means to a predetermined stop position;
An imaging apparatus control method comprising: a mask area setting unit that sets a mask area designated for a mask target on an imaging screen;
A calculation step for calculating a mask correction amount corresponding to a stop position deviation amount due to a stop position instability factor;
A control method for an imaging apparatus, comprising: a mask correction step for performing correction according to the mask correction amount on the mask area set by the mask area setting means.
JP2012168137A 2012-07-30 2012-07-30 IMAGING DEVICE, MASK AREA DISPLAY METHOD, AND IMAGING DEVICE CONTROL METHOD Active JP6234015B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012168137A JP6234015B2 (en) 2012-07-30 2012-07-30 IMAGING DEVICE, MASK AREA DISPLAY METHOD, AND IMAGING DEVICE CONTROL METHOD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012168137A JP6234015B2 (en) 2012-07-30 2012-07-30 IMAGING DEVICE, MASK AREA DISPLAY METHOD, AND IMAGING DEVICE CONTROL METHOD

Publications (2)

Publication Number Publication Date
JP2014027588A true JP2014027588A (en) 2014-02-06
JP6234015B2 JP6234015B2 (en) 2017-11-22

Family

ID=50200821

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012168137A Active JP6234015B2 (en) 2012-07-30 2012-07-30 IMAGING DEVICE, MASK AREA DISPLAY METHOD, AND IMAGING DEVICE CONTROL METHOD

Country Status (1)

Country Link
JP (1) JP6234015B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016208147A (en) * 2015-04-17 2016-12-08 三菱電機株式会社 Mask processing device and method, imaging apparatus and method, program and record medium
WO2022244311A1 (en) * 2021-05-20 2022-11-24 ソニーグループ株式会社 Imaging device, image processing method, and program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000321628A (en) * 1999-05-12 2000-11-24 Yokogawa Electric Corp Pan tilt camera device
JP2003219414A (en) * 2002-01-22 2003-07-31 Sanyo Electric Co Ltd Video camera system
JP2004146890A (en) * 2002-10-22 2004-05-20 Hitachi Ltd Monitor camera apparatus and monitor camera system apparatus
JP2007060448A (en) * 2005-08-26 2007-03-08 Sony Corp Imaging apparatus and image processing method
JP2008186283A (en) * 2007-01-30 2008-08-14 Matsushita Electric Works Ltd Human body detector

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000321628A (en) * 1999-05-12 2000-11-24 Yokogawa Electric Corp Pan tilt camera device
JP2003219414A (en) * 2002-01-22 2003-07-31 Sanyo Electric Co Ltd Video camera system
JP2004146890A (en) * 2002-10-22 2004-05-20 Hitachi Ltd Monitor camera apparatus and monitor camera system apparatus
JP2007060448A (en) * 2005-08-26 2007-03-08 Sony Corp Imaging apparatus and image processing method
JP2008186283A (en) * 2007-01-30 2008-08-14 Matsushita Electric Works Ltd Human body detector

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016208147A (en) * 2015-04-17 2016-12-08 三菱電機株式会社 Mask processing device and method, imaging apparatus and method, program and record medium
WO2022244311A1 (en) * 2021-05-20 2022-11-24 ソニーグループ株式会社 Imaging device, image processing method, and program

Also Published As

Publication number Publication date
JP6234015B2 (en) 2017-11-22

Similar Documents

Publication Publication Date Title
US9313400B2 (en) Linking-up photographing system and control method for linked-up cameras thereof
JP3792901B2 (en) Camera control system and control method thereof
JP4940820B2 (en) Network camera
TWI530180B (en) Linking-up photographing system and control method for cameras thereof
US20100119177A1 (en) Editing apparatus and method
CN111787232B (en) Image processing method, device and storage medium based on pan-tilt-zoom camera
JP2008311804A (en) Imaging apparatus and method
JP2006245793A (en) Imaging system
KR101452342B1 (en) Surveillance Camera Unit And Method of Operating The Same
JP6234015B2 (en) IMAGING DEVICE, MASK AREA DISPLAY METHOD, AND IMAGING DEVICE CONTROL METHOD
US11184549B2 (en) Image-capturing system, information processing apparatus, control method of information processing apparatus, and storage medium
JP2017118318A (en) Imaging apparatus and imaging method
JP6700935B2 (en) Imaging device, control method thereof, and control program
JP2000341574A (en) Camera device and camera control system
CN112601028A (en) Image pickup control method and device, computer equipment and storage medium
KR102009988B1 (en) Method for compensating image camera system for compensating distortion of lens using super wide angle camera and Transport Video Interface Apparatus used in it
JP2006080580A (en) Wide-angle of view video photographing apparatus
KR100664811B1 (en) Method and apparatus for controlling privacy mask display
JP4321225B2 (en) Imaging system and imaging method
JP2011188258A (en) Camera system
KR20130102743A (en) Monitoring system for controlling the privacy mask display and method for using the same
JP2013085041A (en) Information processing apparatus, processing method thereof, and program
JP2005333628A (en) Camera control apparatus, and monitoring camera system using same
US11516390B2 (en) Imaging apparatus and non-transitory storage medium
US20150365595A1 (en) Imaging control apparatus and method for generating a display image, and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150707

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160411

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160531

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160728

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170131

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170331

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20170926

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171024

R151 Written notification of patent or utility model registration

Ref document number: 6234015

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151