JP6700845B2 - Information processing apparatus, information processing method, and program - Google Patents
Information processing apparatus, information processing method, and program Download PDFInfo
- Publication number
- JP6700845B2 JP6700845B2 JP2016031459A JP2016031459A JP6700845B2 JP 6700845 B2 JP6700845 B2 JP 6700845B2 JP 2016031459 A JP2016031459 A JP 2016031459A JP 2016031459 A JP2016031459 A JP 2016031459A JP 6700845 B2 JP6700845 B2 JP 6700845B2
- Authority
- JP
- Japan
- Prior art keywords
- virtual
- virtual object
- subject
- information processing
- mask
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Processing Or Creating Images (AREA)
- Closed-Circuit Television Systems (AREA)
Description
本発明は、情報処理装置、情報処理方法、およびプログラムに関する。 The present invention relates to an information processing device, an information processing method, and a program.
近年、セキュリティーの向上を目的として、建物内に監視カメラを設置するケースが増えている。建物内に監視カメラを設置する際、どのようにカメラを配置するかは重要な課題である。特許文献1には、設計図面上に監視カメラと被写体となるオブジェクトを仮想的に配置し、該配置された監視カメラによる撮影映像を表示画面上に表示する方法が記載されている。 In recent years, surveillance cameras are increasingly installed in buildings for the purpose of improving security. When installing surveillance cameras in a building, how to arrange the cameras is an important issue. Patent Document 1 describes a method in which a surveillance camera and an object to be photographed are virtually arranged on a design drawing, and a video image captured by the arranged surveillance camera is displayed on a display screen.
また、公共エリアにおける監視カメラの設置が増えるにつれ、プライバシーの問題も大きな課題である。カメラ本体または監視カメラシステムの中には、撮影してはいけない領域をマスクして表示しないようにする機能が備えつけられているものもある。この撮影してはいけない領域をマスクする方法としては、ユーザが各カメラの撮影映像に対して指定した矩形や円の閲覧制限領域(閲覧を制限するための領域)を、塗りつぶしたりモザイクをかけたりする方法が従来知られている。 Moreover, as the number of surveillance cameras installed in public areas increases, the issue of privacy becomes a major issue. Some camera bodies or surveillance camera systems are equipped with a function of masking areas that should not be photographed so that they are not displayed. As a method of masking the area that should not be photographed, a rectangular or circular browsing restriction area (area for restricting browsing) designated by the user with respect to the captured image of each camera is filled or mosaiced. The method of doing so is conventionally known.
従来の技術では、監視カメラにおいて設定された閲覧制限領域は、監視カメラの定まった位置における定まった方向の撮影映像内で有効となる。そのため、同じ場所を二つ以上の監視カメラが別の角度から撮影する場合に、一つの監視カメラに設定された閲覧制限領域は他の監視カメラと共有できず、それぞれの監視カメラに閲覧制限領域を設定しなければならなかった。 In the conventional technology, the viewing restriction area set in the surveillance camera is effective in the captured image in the fixed direction at the fixed position of the surveillance camera. Therefore, when two or more surveillance cameras shoot the same place from different angles, the restricted viewing area set for one surveillance camera cannot be shared with other monitoring cameras, and the restricted viewing area for each surveillance camera Had to set.
本発明は上記課題に鑑みてなされたものであり、複数のカメラで共有可能な撮影不可の範囲を設定することを目的とする。 The present invention has been made in view of the above problems, and an object of the present invention is to set an unphotographable range that can be shared by a plurality of cameras.
上記の目的を達成するための一手段として、本発明の情報処理装置は以下の構成を有する。すなわち、第1撮影装置により撮影された映像においてマスクされる対象として設定された被写体が、当該第1撮影装置と位置が異なる第2撮影装置により撮影された映像においてもマスクされるようマスクの設定を行う情報処理装置であって、前記第1撮影装置、前記第2撮影装置、及び前記被写体が存在する実空間に対応する仮想空間に、当該被写体に対応する第1仮想オブジェクトを生成する第1生成手段と、前記第1撮影装置により撮影される映像に含まれる前記被写体がマスクされるよう、ユーザ操作に従い、マスク領域を設定する第1設定手段と、設定された前記マスク領域に対応して前記仮想空間に設けられた仮想マスクと、前記第1仮想オブジェクトの一部と、を含む第2仮想オブジェクトを前記仮想空間に生成する第2生成手段と、前記第2仮想オブジェクトの空間に含まれる前記第1仮想オブジェクトの前記一部の表面の前記仮想空間中での位置に関する情報と、前記第2撮影装置に対応して前記仮想空間に設けられた仮想撮影装置と当該第1仮想オブジェクトとの位置関係とに基づき、当該第2撮影装置により撮影された映像において前記被写体がマスクされるよう、マスク領域を設定する第2設定手段とを有する。
As one means for achieving the above object, the information processing apparatus of the present invention has the following configuration. That is, the mask is set so that the subject set as a masked target in the image captured by the first image capturing device is also masked in the image captured by the second image capturing device whose position is different from that of the first image capturing device. A first information processing device that performs a first virtual object corresponding to a subject in a virtual space corresponding to a real space in which the first photographing device, the second photographing device, and the subject exist. A generation unit, a first setting unit that sets a mask area according to a user operation so that the subject included in an image captured by the first image capturing apparatus is masked, and a first setting unit that corresponds to the set mask area. Second generation means for generating a second virtual object in the virtual space, the virtual mask being provided in the virtual space, and a part of the first virtual object, and included in the space of the second virtual object. Information about the position in the virtual space of the surface of the part of the first virtual object, a virtual imaging device provided in the virtual space corresponding to the second imaging device, and the first virtual object. And a second setting unit that sets a mask area based on the positional relationship so that the subject is masked in the image captured by the second image capturing apparatus .
本発明によれば、複数のカメラで共有可能な撮影不可の範囲を設定することが可能となる。 According to the present invention, it is possible to set a non-shootable range that can be shared by a plurality of cameras.
以下、添付の図面を参照して、本発明をその実施形態に基づいて詳細に説明する。なお、以下の実施形態において示す構成は一例に過ぎず、本発明は図示された構成に限定されるものではない。 Hereinafter, the present invention will be described in detail based on its embodiments with reference to the accompanying drawings. Note that the configurations shown in the following embodiments are merely examples, and the present invention is not limited to the illustrated configurations.
[第一の実施形態]
第一実施形態における情報処理装置100の構成および動作について説明する。まず、情報処理装置100のハードウェア構成について説明し、次にモジュール構成について説明する。
[First embodiment]
The configuration and operation of the information processing device 100 according to the first embodiment will be described. First, the hardware configuration of the information processing apparatus 100 will be described, and then the module configuration will be described.
<ハードウェア構成>
図2は、本実施形態おける情報処理装置100のハードウェア構成例を示すブロック図である。ハードウェア構成として、情報処理装置100は、CPU(Central Processing Unit)201、ROM(Read Only Memory)202、RAM(Randam Access Memory)203、2次記憶装置204、入力装置205と表示装置206、ネットワークI/F(インタフェース)207、バス208とを有する。
<Hardware configuration>
FIG. 2 is a block diagram showing a hardware configuration example of the information processing apparatus 100 according to this embodiment. As a hardware configuration, the information processing apparatus 100 includes a CPU (Central Processing Unit) 201, a ROM (Read Only Memory) 202, a RAM (Randam Access Memory) 203, a secondary storage device 204, an input device 205 and a display device 206, a network. It has an I/F (interface) 207 and a bus 208.
CPU201は、ROM202やRAM203に格納されたプログラムに従って命令を実行し、カメラ配置シミュレーション装置各部の処理や制御を行なう。ROM202は、不揮発性メモリであり、プログラムやデータを格納する。RAM203は、揮発性メモリであり、画像などのデータを一時的に記憶する。2次記憶装置204は、フラッシュメモリーなどの不揮発性の書き換え可能な記憶装置であり、後述するカメラリスト、オブジェクトリスト、レイアウト情報や、各種設定内容などを記憶する。これらの情報はRAM203に転送され、CPU201がプログラムの実行およびデータの利用を行う。ネットワークI/F207は、デジタルデータを送受信するためのインターフェースであり、インターネットやイントラネットなどのネットワークと接続する。バス208は、上述の構成要素同士を接続して相互のデータ入出力を行う。 The CPU 201 executes an instruction according to a program stored in the ROM 202 or the RAM 203 to perform processing and control of each unit of the camera layout simulation device. The ROM 202 is a non-volatile memory and stores programs and data. The RAM 203 is a volatile memory and temporarily stores data such as images. The secondary storage device 204 is a non-volatile rewritable storage device such as a flash memory, and stores a camera list, an object list, layout information, which will be described later, and various setting contents. These pieces of information are transferred to the RAM 203, and the CPU 201 executes the program and uses the data. The network I/F 207 is an interface for transmitting/receiving digital data, and is connected to a network such as the Internet or an intranet. The bus 208 connects the above-mentioned components to each other to input/output data.
入力装置205は、ユーザが操作命令を入力するためのキーボードやマウス、タッチパネル等である。表示装置206は、表示画面を有する1つ以上の液晶ディスプレイやプロジェクタ等であり、各種表示を行う。なお、本実施形態では、表示装置206が情報処理装置100に含まれているが、表示装置206は情報処理装置100とは別の装置として構成されても良い。また、情報処理装置100は、印刷装置を備え、画像やシミュレーション結果を紙などの媒体に印刷を行うことが可能な装置であってもよい。 The input device 205 is a keyboard, a mouse, a touch panel, or the like for a user to input an operation command. The display device 206 is one or more liquid crystal displays or projectors having a display screen, and performs various displays. Although the display device 206 is included in the information processing device 100 in the present embodiment, the display device 206 may be configured as a device different from the information processing device 100. Further, the information processing device 100 may be a device that includes a printing device and is capable of printing an image or a simulation result on a medium such as paper.
<モジュール構成>
図1は、本実施形態における情報処理装置100のモジュール構成を示すブロック図である。モジュール構成として、情報処理装置100は、図面データ取得部101、カメラ配置部102、オブジェクト配置部103、閲覧制限領域設定部104、マスクオブジェクト作成部105、レイアウト情報管理部106、衝突面取得部107、表示制御部108、マスキング領域決定部109、カメラリスト記憶部111、オブジェクトリスト記憶部112、レイアウト情報記憶部113を有する。
<Module configuration>
FIG. 1 is a block diagram showing the module configuration of the information processing apparatus 100 according to this embodiment. As a module configuration, the information processing apparatus 100 includes a drawing data acquisition unit 101, a camera placement unit 102, an object placement unit 103, a restricted viewing area setting unit 104, a mask object creation unit 105, a layout information management unit 106, and a collision surface acquisition unit 107. A display control unit 108, a masking area determination unit 109, a camera list storage unit 111, an object list storage unit 112, and a layout information storage unit 113.
図面データ取得部101は、カメラを配置するベースとなる設計図面の画像データ(図面データ)を取得する。図面データは、後述する表示制御部108により、表示装置206の表示画面におけるレイアウトウィンドウ(図3を参照)に表示される。レイアウトウィンドウは、図面データ、配置したカメラおよびカメラの視野領域、および、配置したカメラ以外のオブジェクトの表示を行うウィンドウである。また、図面データ取得部101は、ユーザによる入力装置205への操作に基づいて、図面データの縮尺の変更、配置したカメラの位置/向き、カメラの視野領域の角度/向き/大きさ、カメラ以外のオブジェクトの位置/角度/大きさの変更を受け付けることができる。図面データ取得部101は、表示制御部108を介して、レイアウトウィンドウにおいて、受け付けた変更を反映させる。なお、カメラ以外のオブジェクトとは、人、車、壁、柱など、カメラからの見え方を確認するためにカメラと同じ図面上に配置され得るものである。また、以下において、カメラの被写体となるオブジェクトを被写体オブジェクトと呼ぶ。 The drawing data acquisition unit 101 acquires image data (drawing data) of a design drawing that is a base on which a camera is arranged. The drawing data is displayed in the layout window (see FIG. 3) on the display screen of the display device 206 by the display control unit 108 described later. The layout window is a window for displaying the drawing data, the arranged cameras and the field of view of the cameras, and objects other than the arranged cameras. Further, the drawing data acquisition unit 101 changes the scale of the drawing data, the position/orientation of the arranged camera, the angle/orientation/size of the view field of the camera, other than the camera, based on the operation of the input device 205 by the user. It is possible to accept changes in the position/angle/size of the object. The drawing data acquisition unit 101 reflects the received change in the layout window via the display control unit 108. The object other than the camera is a person, a car, a wall, a pillar, or the like that can be arranged on the same drawing as the camera in order to confirm how the camera looks. Further, in the following, an object that is a subject of the camera is called a subject object.
カメラリスト記憶部111には、1つ以上のカメラの機種、カメラの形状、カメラの画角、カメラの駆動可能範囲(PTZ)などの詳細仕様を持つリストが記憶されている。カメラ配置部102は、カメラリスト記憶部111から、カメラのリストを取得する。また、カメラ配置部102は、ユーザによる入力装置205への操作に基づいて、ユーザ所望のカメラの機種の選択を受け、表示制御部108を介して、選択されたカメラの機種に対応するカメラのシンボルをレイアウトウィンドウ上に表示する。なお、カメラのシンボルは、カメラ本体の形状(ドーム型、ボックス型など)を有し、当該カメラの視野領域を表すシンボルと共に表示される。 The camera list storage unit 111 stores a list having detailed specifications such as one or more camera models, camera shapes, camera angles of view, and camera drivable ranges (PTZ). The camera placement unit 102 acquires a camera list from the camera list storage unit 111. In addition, the camera placement unit 102 receives the selection of the camera model desired by the user based on the operation of the input device 205 by the user, and, via the display control unit 108, selects the camera model corresponding to the selected camera model. Display the symbol in the layout window. The camera symbol has the shape of the camera body (dome shape, box shape, etc.) and is displayed together with the symbol indicating the field of view of the camera.
図6は、カメラの視野範囲を説明するための図である。図6(A)には、カメラ本体がボックス型の形状の場合を示し、図6(B)には、カメラ本体がドーム型の形状の場合を示す。図6(A)において、カメラ61の視野領域は、視野領域62で表される。また、図6(B)において、カメラ63の視野領域は、視野領域64で表される。なお、カメラの形状は、カメラの機種により決定され、図6に示した形状以外にも旋回型などもある。 FIG. 6 is a diagram for explaining the visual field range of the camera. FIG. 6A shows a case where the camera body has a box shape, and FIG. 6B shows a case where the camera body has a dome shape. In FIG. 6A, the visual field area of the camera 61 is represented by a visual field area 62. Further, in FIG. 6B, the visual field area of the camera 63 is represented by a visual field area 64. The shape of the camera is determined by the model of the camera, and other than the shape shown in FIG.
カメラ61、63および視野領域62、64は、それぞれ三次元形状を有するシンボルとして、ウィンドウに表示される。なお、本実施形態において、レイアウトウィンドウに表示される図面データにおいて床をZ=0とする。図6のように、三次元空間におけるカメラの視野領域は、カメラがXY平面を向いている場合、四角錐の視野領域F−ABCDで表記される。カメラがXY平面を向いている場合、中心点は、ボックス型ではカメラの向き、ドーム型ではカメラのレンズの向きの方向に存在する。また、視野領域F−ABCDは視野角θを持つ。図6(A)では、カメラの視点をFとし、視野領域の中心を通る点をOとすると、ベクトルFOがカメラの向きを表す。図6(A)の例では、視野領域F−ABCDは被写体オブジェクトと到達することなく床にぶつかっているので、底面ABCDは視野領域F−ABCDと床との衝突面である。衝突面は三次元モデルから算出され、目視や数値で確認できる。 The cameras 61 and 63 and the visual field regions 62 and 64 are displayed in the window as symbols each having a three-dimensional shape. In the present embodiment, the floor is set to Z=0 in the drawing data displayed in the layout window. As shown in FIG. 6, the visual field area of the camera in the three-dimensional space is represented by a quadrangular pyramid visual field area F-ABCD when the camera faces the XY plane. When the camera faces the XY plane, the center point exists in the direction of the camera in the box type and in the direction of the lens of the camera in the dome type. The viewing area F-ABCD has a viewing angle θ. In FIG. 6A, when the viewpoint of the camera is F and the point passing through the center of the visual field is O, the vector FO represents the direction of the camera. In the example of FIG. 6A, since the visual field area F-ABCD hits the floor without reaching the object, the bottom surface ABCD is a collision surface between the visual field area F-ABCD and the floor. The collision surface is calculated from the three-dimensional model and can be confirmed visually and numerically.
オブジェクトリスト記憶部112には、1つ以上の被写体オブジェクトの種別、オブジェクトの形状、オブジェクトの大きさ、などを含むリストが記憶されている。被写体オブジェクトのシンボルは、カメラのシンボルと同様に、三次元形状を持つ。オブジェクト配置部103は、オブジェクトリスト記憶部112から被写体オブジェクトのリストを取得する。また、オブジェクト配置部103は、ユーザによる入力装置205への操作に基づいて、被写体オブジェクトの種別を選択し、表示制御部108を介して、選択された被写体オブジェクトのシンボルをレイアウトウィンドウ上に表示する。 The object list storage unit 112 stores a list including one or more subject object types, object shapes, object sizes, and the like. The symbol of the subject object has a three-dimensional shape like the symbol of the camera. The object placement unit 103 acquires a list of subject objects from the object list storage unit 112. Further, the object placement unit 103 selects the type of the subject object based on the user's operation on the input device 205, and displays the symbol of the selected subject object on the layout window via the display control unit 108. ..
閲覧制限領域設定部104は、表示制御部108により表示されるカメラの映像表示ウィンドウ(図3を参照)で、入力装置205を介したユーザによる指定(操作入力)を受付け、その指定に基づいて、閲覧制限領域を設定する。例えば、ユーザは、マウスやタッチパネル、キーボードを通じた操作入力によって、映像の一部の領域を指定する。本実施形態において、閲覧制限領域とは、閲覧を制限するための領域である。なお、閲覧制限領域は、特定の属性のユーザに対して閲覧を制限するための領域であってもよく、また、管理ユーザには閲覧可能な領域であってもよい。マスクオブジェクト作成部105は、閲覧制限領域設定部104による閲覧制限領域の設定を受けて、仮想のオブジェクト(マスクオブジェクト)を作成し、表示制御部108を介してマスクオブジェクトをレイアウトウィンドウ上に表示する。マスクオブジェクトは三次元形状を持つシンボルであり、レイアウトウィンドウ上に表示された後、ユーザの操作に基づいて、位置等は変更可能である。 The viewing restriction area setting unit 104 accepts a user's designation (operation input) via the input device 205 in the video display window (see FIG. 3) of the camera displayed by the display control unit 108, and based on the designation. , Set viewing restriction area. For example, the user designates a partial area of the image by operating input through a mouse, a touch panel, or a keyboard. In the present embodiment, the browsing restriction area is an area for restricting browsing. Note that the browsing restriction area may be an area for restricting browsing to a user having a specific attribute, or may be an area that can be browsed by a management user. The mask object creation unit 105 receives the setting of the viewing restricted area by the viewing restricted area setting unit 104, creates a virtual object (mask object), and displays the mask object on the layout window via the display control unit 108. .. The mask object is a symbol having a three-dimensional shape, and after being displayed on the layout window, the position and the like can be changed based on the user's operation.
レイアウト情報記憶部113には、図面データの情報、カメラの位置、向き、カメラの視野領域の大きさ、および被写体オブジェクトの位置、向き、大きさ、マスクオブジェクトの位置、向き、大きさなどレイアウトに関する情報が格納される。レイアウト情報管理部106は、ユーザによる入力装置205への操作に基づいて、レイアウトの変更を受け付け、レイアウト情報記憶部113に当該変更を格納する。レイアウトの変更とは、カメラの位置・向きの変更、視野領域の画角の変更、被写体オブジェクトの位置・向き、シンボルの大きさの変更、マスクオブジェクトの位置、向き、大きさの変更などを指す。レイアウト情報記憶部113には、レイアウトウィンドウにカメラの配置、被写体の配置、レイアウトの変更が発生するたびに、更新される情報が記憶される。 The layout information storage unit 113 relates to layouts such as drawing data information, camera position and orientation, camera field of view size, subject object position, orientation, and size, mask object position, orientation, and size. Information is stored. The layout information management unit 106 receives a layout change based on the user's operation on the input device 205, and stores the change in the layout information storage unit 113. Changing the layout means changing the camera position/orientation, changing the angle of view of the field of view, changing the position/orientation of the subject object, changing the symbol size, changing the position, orientation, or size of the mask object. .. The layout information storage unit 113 stores information that is updated each time a layout of cameras, a layout of subjects, and a layout change occur in the layout window.
衝突面取得部107は、マスクオブジェクト作成部105で作成されたマスクオブジェクトが、レイアウトウィンドウに配置された被写体オブジェクトとぶつかる面を取得する。表示制御部108は、表示装置206の表示画面への表示の制御を行う。マスキング領域決定部109は、衝突面取得部107で取得された衝突面に基づいて、閲覧制限領域の一例であるマスキング領域を決定する。衝突面取得部107とマスキング領域決定部109の動作の詳細は後述する。 The collision surface acquisition unit 107 acquires a surface on which the mask object created by the mask object creation unit 105 collides with a subject object arranged in the layout window. The display control unit 108 controls display on the display screen of the display device 206. The masking area determination unit 109 determines a masking area, which is an example of the viewing restriction area, based on the collision surface acquired by the collision surface acquisition unit 107. Details of the operations of the collision surface acquisition unit 107 and the masking area determination unit 109 will be described later.
ここで、本実施形態における閲覧制限領域とマスキング領域について説明する。表示装置206には、ユーザにより選択されたカメラの撮影映像が表示される。ここで、閲覧制限領域設定部104により設定される閲覧制限領域におけるカメラの撮影映像は表示されない(マスクされる)。なお、閲覧制限領域は、カメラがその領域を向いている際に有効な領域であり、カメラが別の角度となった場合には、マスクされる領域は解除される。一方、マスキング領域は、カメラがどの角度から撮影した場合であっても、撮影映像には表示されない。マスキング領域は、閲覧制限領域に基づいて生成されるマスクオブジェクトの、不必要な部分を取り除いた後の領域を指す。 Here, the viewing restriction area and the masking area in the present embodiment will be described. The display device 206 displays an image captured by the camera selected by the user. Here, the image captured by the camera in the browse-restricted area set by the browse-restricted area setting unit 104 is not displayed (masked). The restricted viewing area is an effective area when the camera faces the area, and the masked area is released when the camera has a different angle. On the other hand, the masking area is not displayed in the captured image regardless of the angle at which the camera captures the image. The masking area refers to an area of a mask object generated based on the restricted viewing area after removing unnecessary portions.
図3は、第一の実施形態における表示装置206の表示画面の例である。図3(A)と図3(B)にはそれぞれ、表示装置206の表示画面上のウィンドウ300が示されている。ウィンドウ300は、レイアウトウィンドウ301、映像表示ウィンドウ302、カメラ配置ボタン303、オブジェクト配置ボタン304、閲覧制限領域設定ボタン305、マスク決定ボタン306を有する。レイアウトウィンドウ301は、カメラを配置する予定の、たとえば公共施設やビルの設計図面の画像データ(図面データ)を表示するウィンドウである。また、映像表示ウィンドウ302は、レイアウトウィンドウ301に表示されたカメラのうち、選択中の一台のカメラの撮影映像を表示するウィンドウである。図3(A)は、カメラと被写体オブジェクトが配置されたレイアウトウィンドウ301を上面からみた図であり、図3(B)は、同レイアウトウィンドウを斜め上方から見た図である。 FIG. 3 is an example of a display screen of the display device 206 according to the first embodiment. A window 300 on the display screen of the display device 206 is shown in each of FIGS. 3A and 3B. The window 300 has a layout window 301, a video display window 302, a camera placement button 303, an object placement button 304, a viewing restriction area setting button 305, and a mask determination button 306. The layout window 301 is a window for displaying image data (drawing data) of a design drawing of a public facility or a building where a camera is to be arranged, for example. Further, the video display window 302 is a window for displaying a video captured by one of the cameras selected in the layout window 301. FIG. 3A is a view of the layout window 301 in which a camera and a subject object are arranged, as viewed from above, and FIG. 3B is a view of the layout window as viewed obliquely from above.
図3に示されるウィンドウ300の表示を行うための情報処理装置100の動作について説明する。図面データ取得部101は、2次元の設計図面をビットマップやJPEGなどの画像形式で保存した画像データ(図面データ)を読み込み、表示制御部108を介してレイアウトウィンドウ301に表示する。例えば、図面データ取得部101は、不図示のファイルメニューからユーザの操作に基づいて選択された画像データを取得する。そして、表示制御部108は、当該取得された画像データをレイアウトウィンドウ上に表示する。 The operation of the information processing device 100 for displaying the window 300 shown in FIG. 3 will be described. The drawing data acquisition unit 101 reads image data (drawing data) in which a two-dimensional design drawing is saved in an image format such as a bitmap or JPEG, and displays it on the layout window 301 via the display control unit 108. For example, the drawing data acquisition unit 101 acquires image data selected based on a user operation from a file menu (not shown). Then, the display control unit 108 displays the acquired image data on the layout window.
ユーザによりカメラ配置ボタン303が操作されると、カメラ配置部102は、カメラリスト記憶部111から、選択可能なカメラのリストを取得し、表示制御部108を介して、カメラのリストをウィンドウ300に表示する(不図示)。カメラ配置部102は、ユーザによる操作に基づいて、当該カメラリストから1つの機種のカメラを選択し、表示制御部108を介して、選択されたカメラのシンボルをレイアウトウィンドウ301の所望の位置に表示する。例えば、ユーザがカメラリストから1つの機種のカメラを選び、選んだカメラを入力装置205としてのマウスなどで選択し、続いて、レイアウトウィンドウ301の所望の位置にドラッグアンドドロップするか、選択した状態でレイアウトウィンドウ301の所定の位置への押下を行う。これにより、レイアウトウィンドウ301の所望の位置に、に所望の機種のカメラとカメラの視野領域のシンボルが表示される。カメラとカメラの視野領域は、カメラの機種により異なる。カメラとカメラの視野領域のシンボルをレイアウトウィンドウに表示の図面の所定の位置に表示することをカメラの配置と呼ぶ。 When the user operates the camera placement button 303, the camera placement unit 102 acquires a list of selectable cameras from the camera list storage unit 111, and displays the list of cameras in the window 300 via the display control unit 108. Display (not shown). The camera placement unit 102 selects one model of camera from the camera list based on the operation by the user, and displays the symbol of the selected camera at a desired position on the layout window 301 via the display control unit 108. To do. For example, the user selects one model of camera from the camera list, selects the selected camera with a mouse as the input device 205, and then drags and drops it to a desired position in the layout window 301 or selects it. Then, the layout window 301 is pressed to a predetermined position. Thereby, the symbol of the camera of the desired model and the field of view of the camera is displayed at the desired position of the layout window 301. The camera and the field of view of the camera differ depending on the camera model. Displaying the symbol of the camera and the field of view of the camera at a predetermined position in the drawing displayed in the layout window is called camera arrangement.
また、ユーザによりオブジェクト配置ボタン304が操作されると、オブジェクト配置部103は、オブジェクトリスト記憶部112から、選択可能なオブジェクトのリストを取得し、表示制御部108を介して、オブジェクトのリストをウィンドウ300に表示する(不図示)。オブジェクト配置部103は、ユーザによる操作に基づいて、当該オブジェクトのリストから1つの1つのオブジェクトの属性(たとえば人、車、壁、柱など)を選択し、表示制御部108を介して、選択された属性のシンボルをレイアウトウィンドウ301の所望の位置に表示する。例えば、ユーザがオブジェクトのリストから1つの属性を選び、選んだ属性を入力装置205としてのマウスなどで選択し、続いて、レイアウトウィンドウ301の所望の位置にドラッグアンドドロップするか、選択した状態でレイアウトウィンドウ301の所定の位置への押下を行う。これにより、レイアウトウィンドウ301の所望の位置に、所望のオブジェクトのシンボルが表示される。 When the user operates the object placement button 304, the object placement unit 103 acquires a list of selectable objects from the object list storage unit 112, and displays the list of objects via the display control unit 108. It is displayed on 300 (not shown). The object placement unit 103 selects an attribute (for example, a person, a car, a wall, a pillar, etc.) of one object from the list of the objects based on the operation by the user, and selects the attribute via the display control unit 108. The symbols having the different attributes are displayed at desired positions in the layout window 301. For example, the user selects one attribute from the list of objects, selects the selected attribute with the mouse or the like as the input device 205, and then drags and drops it to a desired position in the layout window 301, or in the selected state. The layout window 301 is pressed to a predetermined position. As a result, the symbol of the desired object is displayed at the desired position in the layout window 301.
なお、図面データは二次元であるが、カメラとカメラの視野領域および被写体オブジェクトは三次元情報を持っており、三次元の形状を持ってレイアウトウィンドウに配置される。また、後述するマスクオブジェクトも三次元形状を持っている。 Although the drawing data is two-dimensional, the camera, the field of view of the camera, and the object object have three-dimensional information, and are arranged in the layout window with a three-dimensional shape. The mask object described later also has a three-dimensional shape.
このような選択および表示処理により、図3(A)に示すように、レイアウトウィンドウ301において、カメラ3001、カメラ3001の視野範囲(撮影範囲)3002および被写体オブジェクトである柱3003が表示されている。図3で、被写体オブジェクトである柱3003のオブジェクト属性は柱である。映像表示ウィンドウ302には、カメラ3001から撮影される映像が表示され、柱3003と、柱3003に張り付けられたポスター3004が表示されている。 By such selection and display processing, as shown in FIG. 3A, in the layout window 301, the camera 3001, the visual field range (shooting range) 3002 of the camera 3001, and the pillar 3003 which is the subject object are displayed. In FIG. 3, the object attribute of the pillar 3003 that is the subject object is a pillar. In the image display window 302, an image captured by the camera 3001 is displayed, and a pillar 3003 and a poster 3004 attached to the pillar 3003 are displayed.
レイアウトウィンドウに配置されたカメラ、カメラの視野領域、被写体オブジェクト、マスクオブジェクトは、配置後に入力装置205としてのマウスなどによる操作に基づいて、位置、向き、大きさを変更することが可能である。レイアウトウィンドウに配置されたカメラやオブジェクトの変更で、レイアウト情報が更新される。レイアウト情報はXMLなどのフォーマットのファイルで、レイアウトウィンドウの図面データ、カメラの配置情報、オブジェクトの配置情報が格納されている。レイアウト情報の更新は、レイアウトの変更があったタイミングで行われる。レイアウト情報記憶部113は、レイアウト情報の格納を、レイアウトの変更が行われたタイミングで行うことができる、レイアウト情報記憶部113は、ユーザの所定の操作に基づいて、レイアウト情報の更新および格納を行ってもよい。閲覧制限領域設定ボタン305およびマスク決定ボタン306については後述する。 The position, orientation, and size of the camera, the field of view of the camera, the subject object, and the mask object arranged in the layout window can be changed after the arrangement based on an operation using the mouse or the like as the input device 205. The layout information is updated by changing the cameras and objects placed in the layout window. The layout information is a file in a format such as XML and stores drawing data of a layout window, camera layout information, and object layout information. The layout information is updated at the timing when the layout is changed. The layout information storage unit 113 can store the layout information at the timing when the layout is changed. The layout information storage unit 113 updates and stores the layout information based on a predetermined operation by the user. You can go. The browsing restricted area setting button 305 and the mask determination button 306 will be described later.
<マスキング領域の設定処理>
次に、図5を参照して、本実施形態におけるマスキング領域の設定処理について説明する。図5は、本実施形態におけるマスキング領域の設定処理のフローチャートである。図5の処理は、情報処理装置100のCPU201が所定のプログラムを読みだして実行することにより実現される。ただし、図5の処理の一部又は全部が専用のハードウェア等によって実現されるようにしてもよい。
<Masking area setting processing>
Next, with reference to FIG. 5, a masking area setting process in the present embodiment will be described. FIG. 5 is a flowchart of the masking area setting processing in this embodiment. The process of FIG. 5 is realized by the CPU 201 of the information processing device 100 reading and executing a predetermined program. However, part or all of the processing in FIG. 5 may be realized by dedicated hardware or the like.
まず、ステップS501において、図面データ取得部101は、設計図面の画像データ(図面データ)を取得し、表示制御部108を介してレイアウトウィンドウ401に表示する。 次に、ステップS502で、情報処理装置100は、レイアウトウィンドウに1つ以上のカメラの配置を行う。具体的には、上述したように、ユーザの操作に基づいて選択されたカメラと当該カメラのシンボルがレイアウトウィンドウに重ねて表示される。表示後、ユーザの操作に基づいて、カメラの位置、向きの変更、カメラの視野領域の向き、画角の変更などが行われてもよい。 First, in step S501, the drawing data acquisition unit 101 acquires image data (drawing data) of a design drawing and displays it on the layout window 401 via the display control unit 108. Next, in step S502, the information processing apparatus 100 arranges one or more cameras in the layout window. Specifically, as described above, the camera selected based on the user's operation and the symbol of the camera are displayed in an overlapping manner on the layout window. After the display, the position and orientation of the camera may be changed, the orientation of the field of view of the camera, and the angle of view may be changed based on a user operation.
次に、ステップS503で、情報処理装置100は、レイアウトウィンドウに1つ以上の被写体オブジェクトの配置を行う。具体的には、上述したように、ユーザの操作に基づいて選択されたオブジェクトのンボルがレイアウトウィンドウに重ねて表示される。表示後、ユーザの操作に基づいて、被写体オブジェクトの位置、向き、大きさの変更などが変更されてもよい。 Next, in step S503, the information processing apparatus 100 arranges one or more subject objects in the layout window. Specifically, as described above, the symbols of the objects selected based on the user's operation are displayed in an overlapping manner on the layout window. After the display, the position, orientation, and size of the subject object may be changed based on the user's operation.
次に、ステップS504で、図面データ取得部101は、ユーザによる操作に基づいて、ステップS502でレイアウトウィンドウに配置されたカメラのうち、任意の1つのカメラのシンボルを選択する。次に、ステップS505で、表示制御部108は、ステップS504で選択されたカメラの撮影映像(撮影ビュー)を映像表示ウィンドウ402に表示する。次に、ステップS506で、閲覧制限領域設定部104は、映像表示ウィンドウ402に表示された撮影映像上で、ユーザの操作により閲覧制限領域の指定を受け付ける。例えば、ユーザが、入力装置205としてのマウスを用いて、映像表示ウィンドウ402で一部隠したい領域を矩形や楕円などで囲んだ後、閲覧制限領域設定ボタン305の指定を受け付けることにより指定可能となる。 Next, in step S504, the drawing data acquisition unit 101 selects a symbol of any one of the cameras arranged in the layout window in step S502 based on the operation by the user. Next, in step S505, the display control unit 108 displays the captured image (capturing view) of the camera selected in step S504 in the image display window 402. Next, in step S506, the browsing-restricted area setting unit 104 receives designation of the browsing-restricted area by a user operation on the captured video displayed in the video display window 402. For example, the user can use the mouse as the input device 205 to enclose a region to be partially hidden in the video display window 402 with a rectangle or an ellipse, and then accept the designation of the browse-restricted region setting button 305. Become.
次に、ステップS507で、マスクオブジェクト作成部105は、ユーザによる閲覧制限領域設定ボタン305の選択に応じて、設定された閲覧制限領域からマスクオブジェクトを作成する。作成されたマスクオブジェクトは、表示制御部108によりレイアウトウィンドウに表示される。マスクオブジェクト作成部105は、ユーザによる操作に基づいて、マスクオブジェクトの変更を行うことも可能である。 Next, in step S<b>507, the mask object creation unit 105 creates a mask object from the set browsing restricted area according to the selection of the browsing restricted area setting button 305 by the user. The created mask object is displayed in the layout window by the display control unit 108. The mask object creation unit 105 can also change the mask object based on a user operation.
次に、ステップS508で、衝突面取得部107は、ステップS507で作成されたマスクオブジェクトと衝突する被写体オブジェクト(衝突オブジェクト)が存在するか否かを判定する。衝突オブジェクトが存在しない場合は(ステップS508でNO)、処理はステップS509へ進む。ステップS509で、マスキング領域決定部109は、ステップS507で作成されたマスクオブジェクトをマスキング領域として決定する。 Next, in step S508, the collision surface acquisition unit 107 determines whether or not there is a subject object (collision object) that collides with the mask object created in step S507. If no collision object exists (NO in step S508), the process proceeds to step S509. In step S509, the masking area determination unit 109 determines the mask object created in step S507 as a masking area.
一方、衝突オブジェクトが存在する場合は(ステップS508のYES)、処理はステップS510へ進む。ステップS510で、衝突面取得部107は、ステップS507で作成されたマスクオブジェクトとステップS503で配置済みの被写体オブジェクトとの衝突面を取得する。続いて、ステップS511で、マスキング領域決定部109は、マスク決定ボタン306の選択を受け付けると、ステップS510で取得された衝突面に基づいて、マスキング領域を決定する。具体的には、マスキング領域決定部109は、ステップS510で取得された衝突面を用いて、ステップS507で作成されたマスクオブジェクトを被写体オブジェクトにフィッティングさせて、マスキング領域を決定する。なお、ステップS511の処理は、マスク決定ボタン306の選択の有無に関わらずに行われてもよい。 On the other hand, if a collision object exists (YES in step S508), the process proceeds to step S510. In step S510, the collision surface acquisition unit 107 acquires the collision surface between the mask object created in step S507 and the subject object placed in step S503. Subsequently, in step S511, when the masking area determination unit 109 receives the selection of the mask determination button 306, the masking area determination unit 109 determines the masking area based on the collision surface acquired in step S510. Specifically, the masking area determination unit 109 uses the collision surface acquired in step S510 to fit the mask object created in step S507 to the subject object to determine the masking area. The process of step S511 may be performed regardless of whether or not the mask determination button 306 is selected.
情報処理装置100は、衝突オブジェクトが存在する間、ステップS510〜S511の処理を繰り返す(ステップS512でYes→ステップS510)。衝突オブジェクトが存在しない場合に処理はステップS513へ進む。ステップS511で、情報処理装置100は、レイアウトウィンドウに配置済みのカメラに対してステップS509またはステップS511で決定されたマスキング領域を設定(適用)する。 The information processing apparatus 100 repeats the processes of steps S510 to S511 while the collision object exists (Yes in step S512→step S510). If there is no collision object, the process proceeds to step S513. In step S511, the information processing apparatus 100 sets (applies) the masking area determined in step S509 or step S511 to the cameras arranged in the layout window.
次に、閲覧制限領域の指定、マスクオブジェクトの生成、衝突面の取得、マスキング領域の決定の処理について、順に詳細に説明する。 Next, the process of designating the viewing restriction area, generating the mask object, acquiring the collision surface, and determining the masking area will be described in detail in order.
<閲覧制限領域の指定>
図5のステップS506の閲覧制限領域の指定について説明する。図4Aと図4Bは、映像表示ウィンドウ402を用いて閲覧制限領域を指定する方法を説明するための図である。ここでは、カメラ4001の視野領域4002にある柱4003に張り付けられたポスターを撮影不可範囲として設定する方法について説明する。
<Specify browsing restricted area>
The designation of the viewing restriction area in step S506 of FIG. 5 will be described. FIG. 4A and FIG. 4B are diagrams for explaining a method of designating a restricted viewing area using the video display window 402. Here, a method of setting a poster attached to a pillar 4003 in the field of view 4002 of the camera 4001 as a non-photographable range will be described.
図4Aでは、レイアウトウィンドウ401に配置されたカメラ4001の撮影映像が、映像表示ウィンドウ402に表示されている。映像表示ウィンドウ402には、ユーザの操作に基づいて設定された撮影不可範囲として、柱4003に貼り付けられたポスターの映像4004が示されている。カメラ4001の撮影映像が表示された状態で、閲覧制限領域設定部104は、ユーザからマウスなどの入力装置205により映像表示ウィンドウ402への入力を受け付ける。例えば、ユーザは、ポスターの映像4004が隠れるように矩形4005でエリアを囲む。入力はここでは入力装置205としてのマウスのドラッグで行われるものとする。なお、矩形4005は、マウスにより2点指定されたことにより生成された矩形であってもよく、またマウスクリックの点描で指定された矩形であってもよい。また、ユーザは矩形以外の形状のエリアを指定してもよい。 In FIG. 4A, the captured image of the camera 4001 arranged in the layout window 401 is displayed in the image display window 402. In the image display window 402, an image 4004 of the poster attached to the pillar 4003 is shown as an unphotographable range set based on the user's operation. In the state where the video image captured by the camera 4001 is displayed, the viewing restriction area setting unit 104 receives an input from the user to the video display window 402 by using the input device 205 such as a mouse. For example, the user surrounds the area with a rectangle 4005 so that the poster image 4004 is hidden. Here, it is assumed that the input is performed by dragging the mouse as the input device 205. The rectangle 4005 may be a rectangle generated by designating two points with the mouse, or may be a rectangle designated by the pointillism of mouse click. The user may also specify an area having a shape other than a rectangle.
表示制御部108は、映像表示ウィンドウ402上で、ユーザにより指定された矩形4005を点線などで仮表示する。この状態で、閲覧制限領域設定ボタン305の選択に応じて、閲覧制限領域設定部104は、当該仮領域(矩形4005)を閲覧制限領域として確定する。なお、閲覧制限領域設定ボタン305の選択が行われない間は、閲覧制限領域設定部104は、仮領域のエリアを受け付けることが可能である。また、閲覧制限領域は複数確定されてもよい。 The display control unit 108 temporarily displays the rectangle 4005 designated by the user on the video display window 402 by a dotted line or the like. In this state, in response to the selection of the viewing restriction area setting button 305, the viewing restriction area setting unit 104 determines the temporary area (rectangle 4005) as the viewing restriction area. Note that the browse-restricted area setting unit 104 can accept the temporary area while the browse-restricted area setting button 305 is not selected. Also, a plurality of viewing restriction areas may be determined.
閲覧制限領域が確定されると、仮表示だった矩形4005が塗りつぶされて表示されない領域であるということを視覚的に示すようになる。図4Bは、図4Aで映像表示ウィンドウに指定された矩形4005が、閲覧制限領域設定ボタン305により閲覧制限領域4006として確定した状態を表す図である。 When the browse-restricted area is confirmed, the provisional display of the rectangle 4005 is visually indicated to be a non-displayed area. FIG. 4B is a diagram showing a state in which the rectangle 4005 designated in the video display window in FIG. 4A is confirmed as the browsing restricted area 4006 by the browsing restricted area setting button 305.
<マスクオブジェクトの生成>
ステップS507のマスクオブジェクトの作成について説明する。図4Aと図4Cは、映像表示ウィンドウ402を用いてマスクオブジェクトを作成する方法を説明するための図である。閲覧制限領域設定ボタン305の選択されたことに応じて、マスクオブジェクト作成部105は、閲覧制限領域を覆うようにマスクオブジェクトを作成し、表示制御部108を介して、レイアウトウィンドウに表示する。図4Cに、図4Bで確定された閲覧制限領域に基づき、マスクオブジェクトをレイアウトウィンドウ401に表示した例を示す。マスクオブジェクト作成部105は、カメラの視野領域4002内に、図4Bで確定された閲覧制限領域4006が隠れるようなオブジェクト4007を生成し、表示制御部108を介して、レイアウトウィンドウ401に重ねて表示する。このような、閲覧制限領域が隠れるようなオブジェクトを、マスクオブジェクトとよぶ。
<Generation of mask object>
The creation of the mask object in step S507 will be described. 4A and 4C are views for explaining a method of creating a mask object using the video display window 402. In response to the selection of the viewing restriction area setting button 305, the mask object creation unit 105 creates a mask object so as to cover the viewing restriction area, and displays the mask object in the layout window via the display control unit 108. FIG. 4C shows an example in which the mask object is displayed in the layout window 401 based on the restricted viewing area determined in FIG. 4B. The mask object creation unit 105 creates an object 4007 in the field of view area 4002 of the camera so that the viewing restriction area 4006 determined in FIG. 4B is hidden, and displays it over the layout window 401 via the display control unit 108. To do. Such an object in which the restricted viewing area is hidden is called a mask object.
ここで、マスクオブジェクトについて説明する。本実施形態において、マスクオブジェクトは、本来図面上では目に見えない閲覧制限領域を仮想的にレイアウトウィンドウで操作可能なオブジェクトとして表現している。図8は、マスクオブジェクトおよび衝突面を説明するための図である。図8には、レイアウトウィンドウで俯瞰的にカメラ81と視野領域82とマスクオブジェクト83を見た様子が示されている。 Here, the mask object will be described. In the present embodiment, the mask object represents a view-restricted area that is originally invisible in the drawing as an object that can be virtually operated in the layout window. FIG. 8 is a diagram for explaining the mask object and the collision surface. FIG. 8 shows a bird's eye view of the camera 81, the visual field area 82, and the mask object 83 in the layout window.
マスクオブジェクト83は、映像表示ウィンドウで設定された閲覧制限領域が隠れるようにレイアウトウィンドウに表示される三次元オブジェクトである。ここでは四角錐で説明するが、映像表示ウィンドウで設定した閲覧制限領域が隠れればよいので、四角錐でも立方体でも何でもよい。また、映像表示ウィンドウで閲覧制限領域を円で囲んで設定した場合は、円錐や球でもよい。 The mask object 83 is a three-dimensional object displayed in the layout window so that the viewing restriction area set in the video display window is hidden. Although a quadrangular pyramid will be described here, any quadrangular pyramid or a cube may be used as long as the viewing restriction area set in the video display window is hidden. If the viewing restriction area is set in a circle in the video display window, it may be a cone or a sphere.
図8(A)において、マスクオブジェクトはMf−MaMbMcMdで表される領域である。マスクオブジェクトは、映像表示ウィンドウで指定された閲覧制限領域を含む形で作成される。マスクオブジェクトを形成する線分MfMa、MfMb、MfMc、MfMdの間か延長上に閲覧制限領域を通過する点があればよく、マスクオブジェクトの底面MaMbMcMdは、床や被写体オブジェクトの手前にあっても先にあってもよい。 In FIG. 8A, the mask object is an area represented by Mf-MaMbMcMd. The mask object is created so as to include the restricted viewing area specified in the video display window. It suffices that there is a point that passes through the view-restricted area between the line segments MfMa, MfMb, MfMc, and MfMd forming the mask object or as an extension. It may be.
図8(A)の例では、マスクオブジェクトの底面の中心点をMeとしたときに、MfMeの方向がカメラ81のレンズの向きと同じ方向を持ち、点Mfが視野領域82内に含まれるように設定される。すると、点Mfと底面MaMbMcMdとで、マスクオブジェクト83が形成される。マスクオブジェクトと床がぶつかった面がSaSbScSdである。マスクオブジェクトは仮想オブジェクトであるが、被写体オブジェクトと変わらない三次元オブジェクトの情報を持っている。従って、レイアウトウィンドウに表示した場合は、点Mfとマスクオブジェクトの底面はマスクオブジェクト作成後に、レイアウトウィンドウ上で変更することが可能である。マスクオブジェクトの底面(底面MaMbMcMd)はユーザの選択により任意の場所に移動可能であるので、床や被写体オブジェクトにぶつからずに宙に浮いた状態になる場合もあるし、マスクオブジェクトの底面が床や被写体を突き抜ける場合もある。また、マスクオブジェクトは、レイアウトウィンドウに表示されなくともよく、各カメラの映像表示ウィンドウに表示されるのみでもよい。また、マスクオブジェクトは仮想オブジェクトであるため、レイアウトウィンドウの印刷時には印刷対象から外して印刷されてもよい。 In the example of FIG. 8A, when the center point of the bottom surface of the mask object is Me, the direction of MfMe has the same direction as the lens direction of the camera 81, and the point Mf is included in the visual field region 82. Is set to. Then, the mask object 83 is formed by the point Mf and the bottom surface MaMbMcMd. The surface where the mask object and the floor collide is SaSbScSd. Although the mask object is a virtual object, it has information about a three-dimensional object that is the same as the subject object. Therefore, when displayed in the layout window, the point Mf and the bottom surface of the mask object can be changed in the layout window after the mask object is created. Since the bottom surface of the mask object (bottom surface MaMbMcMd) can be moved to an arbitrary place by the user's selection, it may be in a state of floating in the air without hitting the floor or the object object, or the bottom surface of the mask object may cover the floor or the object. In some cases, it will penetrate. The mask object does not have to be displayed in the layout window, and may be only displayed in the video display window of each camera. Further, since the mask object is a virtual object, it may be printed out of the print target when printing the layout window.
作成されたマスクオブジェクトは、閲覧制限領域が含まれるという条件を満たすだけの領域を持つオブジェクトである。周辺に被写体オブジェクトがない場合は(図5のステップS508でNOの場合)、作成されたマスクオブジェクトを生成時のままマスキング領域に決定される。あるいは、ユーザからの点Mfと底面の変更を受け付けて、不必要な部分を除いた領域をマスキング領域と決定されてもよい。 The created mask object is an object having an area that only satisfies the condition that the restricted viewing area is included. When there is no subject object in the periphery (NO in step S508 of FIG. 5), the created mask object is determined as the masking area as it was when it was created. Alternatively, an area excluding unnecessary portions may be determined as a masking area by accepting a change in the point Mf and the bottom surface from the user.
<衝突面の取得>
マスクオブジェクトと被写体オブジェクトが衝突した場合には(図5のステップS508でYESの場合)、衝突により取得された衝突面に基づいて、マスキング領域が決定される。ここで、衝突面とは、マスクオブジェクトと被写体オブジェクトがぶつかる面を指す。仮想オブジェクトであるマスクオブジェクトが被写体オブジェクトを突き抜けて存在する場合には、衝突面とは、マスクオブジェクトと接する被写体オブジェクトの面を指す。
<Collision surface acquisition>
When the mask object collides with the subject object (YES in step S508 of FIG. 5 ), the masking area is determined based on the collision surface acquired by the collision. Here, the collision surface refers to a surface where the mask object and the subject object collide. When the mask object, which is a virtual object, exists through the subject object, the collision surface refers to the surface of the subject object in contact with the mask object.
図8(B)に、マスクオブジェクト84と被写体オブジェクトとの衝突面を説明する一例を示す。ここで、被写体オブジェクトは柱であるとし、マスクオブジェクトは柱に垂直に衝突しているとする。マスクオブジェクト84はMf−MaMbMcMdの形状を持ち、マスクオブジェクトと柱との衝突面をSaSbScSdとする。衝突面の検出についてはCADなどの三次元オブジェクト同士の衝突面の算出を行う既知の方法を用いる。 FIG. 8B shows an example for explaining the collision surface between the mask object 84 and the subject object. Here, it is assumed that the subject object is a pillar and the mask object is vertically colliding with the pillar. The mask object 84 has a shape of Mf-MaMbMcMd, and the collision surface between the mask object and the pillar is SaSbScSd. For detecting the collision surface, a known method such as CAD for calculating the collision surface between the three-dimensional objects is used.
図8(B)のように、マスクオブジェクトは、被写体オブジェクトに衝突した後も突き抜けて、マスクオブジェクトの底面を被写体オブジェクトの先に伸ばすことができる。これにより、最初に衝突した面だけでなく、マスクオブジェクトが衝突した被写体オブジェクトに接するすべての面、または、被写体オブジェクト全体、さらに複数の被写体オブジェクトに対しても、マスキング領域を設定することが可能となる。 As shown in FIG. 8B, the mask object can penetrate through even after colliding with the subject object, and the bottom surface of the mask object can be extended to the tip of the subject object. This makes it possible to set the masking area not only for the first collision surface, but for all surfaces that are in contact with the collision object that the mask object collides with, or for the entire collision object, or even for multiple collision objects. Become.
図7は、マスクオブジェクトと被写体オブジェクトとの衝突面を説明するための図である。図7では、マスクオブジェクトが柱に衝突したときの、衝突面とマスクキング領域との関係が示されている。左側の図は、マスクオブジェクトを横から見た図であり、右側の図は、カメラのレンズ側から見た図である。マスクオブジェクト72、73、74はMf−MaMbMcMdである。また、マスクオブジェクト72、73、74と、柱属性を持つ被写体オブジェクト71との最初の衝突面をSaSbScSdとする。図7の例では、マスクオブジェクトが柱に対して垂直に衝突しているため、最初に衝突する面はSaSbScSdである(すなわち、1面)。一方、マスクオブジェクトが柱に対して斜めに衝突した場合は、最初に衝突する面は2面となる。この場合、衝突面取得部107は、衝突した2面それぞれを衝突面として取得する。 FIG. 7 is a diagram for explaining a collision surface between the mask object and the subject object. FIG. 7 shows the relationship between the collision surface and the masking area when the mask object collides with the pillar. The diagram on the left is a side view of the mask object, and the diagram on the right is a view from the lens side of the camera. The mask objects 72, 73, 74 are Mf-MaMbMcMd. The first collision surface between the mask objects 72, 73, and 74 and the subject object 71 having the pillar attribute is SaSbScSd. In the example of FIG. 7, since the mask object collides perpendicularly with the pillar, the first colliding surface is SaSbScSd (that is, one surface). On the other hand, when the mask object collides obliquely with the pillar, the first collision surfaces are two surfaces. In this case, the collision surface acquisition unit 107 acquires each of the two collision surfaces as a collision surface.
図7においてマスキング領域75、76、77は斜線で示されている。図7(A)は、マスクオブジェクトが被写体オブジェクトに最初の衝突した面(閲覧制限領域を設定したカメラの視点からの視野範囲に存在する衝突面)をマスキング領域とする場合を示し、衝突面SaSbScSdのみがマスキング領域となる。図7(B)は、マスクオブジェクトが被写体オブジェクトに衝突している面全て(すなわち、側面全体)がマスキング領域となる場合を示している。マスクオブジェクト72と被写体オブジェクト71との最初の衝突面をSaSbScSd、最後の衝突面をNaNbNcNdとすると、図7(B)の衝突面はSaSbScSdとSaSbNaNbとScSdNcNdとNaNbNcNdの4面となる。この4面が図7(B)の場合のマスキング領域となる。図7(C)は、マスクオブジェクトが衝突した被写体オブジェクト全体をマスキング領域とする場合である。 In FIG. 7, the masking areas 75, 76 and 77 are shown by hatching. FIG. 7(A) shows a case where the surface where the mask object first collides with the subject object (collision surface existing in the visual field range from the viewpoint of the camera in which the viewing restriction area is set) is used as the masking area SaSbScSd. Only the masking area becomes. FIG. 7B shows a case where the entire surface where the mask object collides with the subject object (that is, the entire side surface) is the masking area. When the first collision surface between the mask object 72 and the subject object 71 is SaSbScSd and the last collision surface is NaNbNcNd, the collision surfaces in FIG. 7B are four surfaces of SaSbScSd, SaSbNaNb, ScSdNcNd, and NaNbNcNd. These four surfaces serve as masking areas in the case of FIG. 7(B). FIG. 7C shows a case where the entire subject object with which the mask object collides is used as the masking area.
ここでは、衝突面が平らである場合について述べたが、衝突面に凹凸がある場合や曲面がある場合においても、衝突面を取得することにより、被写体オブジェクトの衝突した表面を覆うマスキング領域を設定することが可能である。また、上述の説明では、衝突面取得部107は、マスクオブジェクトが一つの被写体オブジェクトに対してのみ衝突を検知する例を示したが、複数の被写体オブジェクトに衝突した場合においても同様に衝突を検知することが可能である Although the case where the collision surface is flat has been described here, even when the collision surface has unevenness or a curved surface, the collision surface is acquired to set a masking area that covers the surface of the subject object that collides. It is possible to Further, in the above description, the collision surface acquisition unit 107 shows an example in which the mask object detects a collision with respect to only one subject object. However, when the collision object collides with a plurality of subject objects, the collision is similarly detected. It is possible to
<マスクキング領域決定>
図5のステップS511のマスクキング領域の決定について説明する。マスキング領域決定部109は、ステップS510で取得された衝突面を用いて、マスクオブジェクトの被写体オブジェクトへのフィッティングを行い、最終的なマスキング領域を決定する。ユーザによりマスク決定ボタン306が選択されると、表示制御部108は、衝突した被写体オブジェクトのどの部分をマスキング領域とするかの選択が可能な画面を表示装置206に表示画面表示する。
<Maskking area determination>
The determination of the masking area in step S511 of FIG. 5 will be described. The masking area determination unit 109 uses the collision surface acquired in step S510 to perform the fitting of the mask object to the subject object, and determines the final masking area. When the user selects the mask determination button 306, the display control unit 108 displays a screen on the display device 206 that allows selection of which part of the colliding subject object is to be used as the masking region.
図9は、マスキング領域決定時の条件選択画面の一例を示す図である。例えば、マスキング条件選択画面900は、マスキング領域決定の条件を3種類指定可能とする。ユーザは、ラジオボタン901、902、903の何れかを選択することが可能であり、当該選択に応じて、マスクオブジェクトのマスキング領域の設定が切り替わる。ユーザがラジオボタン901を選択すると、マスキング領域決定部109は、最初に衝突した面のみをマスキング領域として設定する。ユーザがラジオボタン902を選択すると、マスキング領域決定部109は、マスクオブジェクトが被写体オブジェクトを通過する場合に衝突する面全てをマスキング領域として設定する。ユーザがラジオボタン903を選択すると、マスキング領域決定部109は、マスクオブジェクトが衝突した被写体オブジェクト全体をマスキング領域とする。 FIG. 9 is a diagram showing an example of a condition selection screen when determining the masking area. For example, the masking condition selection screen 900 allows three types of masking region determination conditions to be specified. The user can select any one of the radio buttons 901, 902, and 903, and the setting of the masking area of the mask object is switched according to the selection. When the user selects the radio button 901, the masking area determination unit 109 sets only the first colliding surface as the masking area. When the user selects the radio button 902, the masking area determination unit 109 sets all the surfaces that collide when the mask object passes the subject object as the masking area. When the user selects the radio button 903, the masking area determination unit 109 sets the entire subject object with which the mask object has collided as the masking area.
図9(A)、(B)、(C)はそれぞれ、ラジオボタン901、902、903が選択された場合にマスキング領域決定部109により設定されるマスキング領域を映像表示ウィンドウに表示した図である。このようなマスキング条件選択により、不必要な領域にマスクをかけることなくユーザが所望するマスキングを行うことが可能となる。なお、マスク決定ボタン306による決定を必要とせず、あらかじめマスキング領域の決定の条件が設定されていてもよい。 FIGS. 9A, 9B, and 9C are diagrams showing the masking areas set by the masking area determination unit 109 in the video display window when the radio buttons 901, 902, and 903 are selected, respectively. .. By selecting such a masking condition, the masking desired by the user can be performed without masking unnecessary areas. Note that the condition for determining the masking area may be set in advance without requiring the determination by the mask determination button 306.
続いて、図5のステップS513のカメラへのマスキング領域適用について説明する。上述の方法により決定されたマスキング領域は、レイアウトウィンドウに配置されたカメラ全てから視認できるように設定(適用)される。ここで、情報処理装置100は、配置した複数のカメラが設置される位置を示す情報と、ユーザによる操作入力とに基づいて、該複数のカメラで撮影される映像における閲覧制限領域設定する。 Subsequently, application of the masking area to the camera in step S513 of FIG. 5 will be described. The masking area determined by the above method is set (applied) so that it can be viewed by all the cameras arranged in the layout window. Here, the information processing apparatus 100 sets the viewing restriction area in the video imaged by the plurality of cameras based on the information indicating the positions where the plurality of arranged cameras are installed and the operation input by the user.
図10は、マスキング領域適用後の各カメラの映像表示ウィンドウを説明するための図である。図10では、マスキング領域1006は斜線で示され、また、マスキング領域1007は黒く塗られている。このような表示によれば、カメラは、レイアウトウィンドウのどの位置にあっても、また、レンズの方向を変えても、マスキング領域を視認することができる。また、マスキング領域を設定・決定したカメラ以外のカメラにおいてもマスキング領域を視認することができる。また、図10では、レイアウトウィンドウにマスキング領域をオブジェクトと同じように表示しているが、レイアウトウィンドウにはマスキング領域は表示せず、カメラ選択時の撮影映像の表示領域にのみマスキング領域が表示されるようにしてもよい。 FIG. 10 is a diagram for explaining the video display window of each camera after applying the masking area. In FIG. 10, the masking area 1006 is shown by hatching, and the masking area 1007 is painted black. According to such a display, the camera can visually recognize the masking area regardless of the position of the layout window or the direction of the lens. Further, the masking area can be visually recognized even by a camera other than the camera in which the masking area is set/determined. Further, in FIG. 10, the masking area is displayed in the layout window in the same manner as the object, but the masking area is not displayed in the layout window, and the masking area is displayed only in the display area of the captured image when the camera is selected. You may do it.
図10では、レイアウトウィンドウにカメラ1001、1002と、柱属性を持つ被写体オブジェクトが表示されている。映像表示ウィンドウ1004は、カメラ1001の撮影映像であり、閲覧制限領域1005が設定されている。図10の(A)、(B)、(C)はそれぞれ、図9の方法によりマスクオブジェクトを被写体オブジェクトにフィッティングする時の条件を設定したときのカメラ1002の撮影映像である。図10(A)は、ラジオボタン901を選択した場合のカメラ1002の撮影映像である。図10(B)は、ラジオボタン902を選択した場合のカメラ1002の撮影映像である。図10(C)は、ラジオボタン903を選択した場合のカメラ1002の撮影映像である。以上により、マスクオブジェクトはマスキング領域適用を行ったカメラ1001以外のカメラ1002においても視認することができる。 In FIG. 10, cameras 1001 and 1002 and a subject object having a pillar attribute are displayed in the layout window. The video display window 1004 is a video image captured by the camera 1001, and a viewing restriction area 1005 is set. 10A, 10B, and 10C are images captured by the camera 1002 when the condition for fitting the mask object to the subject object is set by the method of FIG. FIG. 10A shows an image captured by the camera 1002 when the radio button 901 is selected. FIG. 10B shows a video image captured by the camera 1002 when the radio button 902 is selected. FIG. 10C is an image captured by the camera 1002 when the radio button 903 is selected. As described above, the mask object can be visually recognized by the camera 1002 other than the camera 1001 that applied the masking area.
このように、本実施形態によれば、特定のカメラにおいて設定したマスキング領域は、当該カメラの撮影方向が変わっても有効となる。また、当該マスキング領域は、他のカメラも共有することが可能となる。したがって、ユーザが設定した、撮影すべきでない領域を、複数のカメラが配置された環境であっても安全に守ることが可能となる。なお、本実施形態において示した画面表示形態は一例であり、図5に示す処理を実現可能であれば、他の画面表示形態が適用されてもよい。また、マスキング領域は、数や形が可変に設定されてもよい。また、S504で複数のカメラを選択し、同時並行的にマスキング領域が設定されてもよい。 As described above, according to this embodiment, the masking area set in a specific camera is effective even when the shooting direction of the camera changes. Further, the masking area can be shared by other cameras. Therefore, it is possible to safely protect the area set by the user that should not be photographed, even in an environment in which a plurality of cameras are arranged. The screen display form shown in the present embodiment is an example, and other screen display forms may be applied as long as the process shown in FIG. 5 can be realized. The number and shape of the masking area may be set variably. In addition, a plurality of cameras may be selected in S504 and masking areas may be set in parallel at the same time.
(第二の実施形態)
第二の実施形態として、衝突した被写体オブジェクトの属性によって、マスキングして隠したくない被写体オブジェクトを無視してマスキング領域を適用する方法について説明する。なお、第一の実施形態と異なる点について説明する。
(Second embodiment)
As a second embodiment, a method of applying a masking region by ignoring a subject object that is not masked and hidden by the attribute of the colliding subject object will be described. The points different from the first embodiment will be described.
以降、マスクオブジェクトが被写体オブジェクトにぶつかっても衝突面を取得せず、当該被写体オブジェクトを無視することを、マスクオブジェクトが被写体オブジェクトを透過すると表現する。たとえば、マスクオブジェクトが衝突した被写体オブジェクトの属性が人または車などであった場合、ある時点における撮影映像には映っていたとしても、次の時点での撮影映像には映っていない可能性がある。このような場合、可動の被写体オブジェクトに対しては、衝突してもマスキング領域決定処理を行わず、透過して不可動の被写体オブジェクトに衝突したときのみ、マスキング領域決定処理行うといった設定が有効である。 Hereinafter, even if the mask object collides with the subject object, the collision surface is not acquired and the subject object is ignored. This means that the mask object is transparent to the subject object. For example, if the attribute of the subject object with which the mask object collides is a person or a car, it may not appear in the captured image at the next time even if it appears in the captured image at a certain time. .. In such a case, it is effective to set the masking area determination process not to be performed on the movable object object even if the object collides, and to be performed only when the object object is transparent and collides with the immovable object object. is there.
ユーザの操作により被写体オブジェクトがレイアウトウィンドウに配置されると、レイアウト情報に位置情報が関連付けられ、レイアウト情報記憶部113に格納される。したがって、衝突面取得部107は、衝突面取得時に、マスクオブジェクトが衝突した被写体オブジェクトの位置情報からレイアウト情報を参照して被写体のオブジェクトの属性を取得することが可能である。 When the subject object is placed in the layout window by the user's operation, the layout information is associated with the position information and stored in the layout information storage unit 113. Therefore, the collision surface acquisition unit 107 can acquire the attribute of the object of the subject by referring to the layout information from the position information of the subject object with which the mask object has collided when acquiring the collision surface.
図11は、本実施形態におけるマスキング領域の設定処理のフローチャートである。図11の処理は、情報処理装置100のCPU201が所定のプログラムを読みだして実行することにより実現される。ただし、図11の処理の一部又は全部が専用のハードウェア等によって実現されるようにしてもよい。ステップS1101〜S1109の処理は、図5のステップS501〜S509の処理と同じであるため、説明を省略する。 FIG. 11 is a flowchart of the masking area setting process in this embodiment. The process of FIG. 11 is realized by the CPU 201 of the information processing device 100 reading and executing a predetermined program. However, part or all of the processing in FIG. 11 may be realized by dedicated hardware or the like. The processing of steps S1101 to S1109 is the same as the processing of steps S501 to S509 in FIG.
ステップS1110で、衝突面取得部107は、衝突した被写体オブジェクトの属性を取得する。次に、ステップS1111で、マスキング領域決定部109は、被写体オブジェクトのオブジェクト属性より、衝突した被写体オブジェクトを透過するか否かを判定する。ステップS1111で、被写体オブジェクトを透過しないと判定された場合は(ステップS1111でNO)、処理はS1112へ進む。ステップS1112で、マスキング領域決定部109は、ステップS1110で取得した衝突面を用いて、マスクオブジェクトを被写体オブジェクトにフィッティングさせて、マスキング領域を決定する。この処理は、第一の実施形態で述べた処理と同様である。 In step S1110, the collision surface acquisition unit 107 acquires the attribute of the collision subject object. Next, in step S1111, the masking area determination unit 109 determines whether or not the colliding subject object is transparent based on the object attribute of the subject object. If it is determined in step S1111 that the subject object is not transparent (NO in step S1111), the process proceeds to step S1112. In step S1112, the masking area determination unit 109 fits the mask object to the subject object using the collision surface acquired in step S1110 to determine the masking area. This process is similar to the process described in the first embodiment.
一方、ステップS1111で、被写体オブジェクトを透過すると判定された場合は(ステップS1110でYES)、処理はステップ1113へ進む。ステップ1113で、マスキング領域決定部109は、透過状態において、マスキング領域を決定する。すなわち、衝突オブジェクトが一つであり、当該衝突オブジェクトは透過されるものと判定された場合は、マスキング領域決定部109は、ステップS1107で作成されたマスクオブジェクトをマスキング領域として決定する。それ以外の場合は、マスキング領域決定部109は、すでに決定されたマスキング領域をS1113におけるマスキング領域として決定する。ステップS1114〜S1115の処理は、図5のステップS512〜S513の処理と同じであるため、説明を省略する。 On the other hand, if it is determined in step S1111 that the subject object is transparent (YES in step S1110), the process proceeds to step 1113. In step 1113, the masking area determination unit 109 determines the masking area in the transparent state. That is, when there is one collision object and it is determined that the collision object is transparent, the masking area determination unit 109 determines the mask object created in step S1107 as the masking area. In other cases, the masking area determination unit 109 determines the already determined masking area as the masking area in S1113. The processing of steps S1114 to S1115 is the same as the processing of steps S512 to S513 in FIG.
図12は、透過すべき被写体オブジェクトが存在する場合の映像表示ウィンドウを説明するための図である。人と車の属性を持つ被写体オブジェクトは可動であり、それ以外の属性を持つ被写体オブジェクトは不可動であるとし、可動である被写体オブジェクトは透過すべきものとして扱う。つまり、人と車の属性を持つ被写体オブジェクトはマスクオブジェクトが透過し、それ以外の属性を持つ被写体オブジェクトはマスクオブジェクトが衝突する。 FIG. 12 is a diagram for explaining a video display window when there is a subject object to be transparent. A subject object having the attributes of a person and a car is movable, a subject object having other attributes is immovable, and a movable subject object is treated as something that should be transparent. That is, a mask object is transparent to a subject object having attributes of a person and a car, and a mask object collides with subject objects having other attributes.
図12では、レイアウトウィンドウに配置したカメラ1201の視野領域に柱が存在し、その手前に人が立っているとする。映像表示ウィンドウ1207にはカメラ1201の撮影映像が映っている。柱1206は、レイアウトウィンドウに配置された、柱の属性を持つ被写体オブジェクトをカメラ1201が映した柱の映像を示す領域である。閲覧制限領域設定部104は、映像表示ウィンドウ1207で、柱1206の一部を隠すように閲覧制限領域1204を設定している。ここで、ユーザによるマスク決定ボタン306の操作により、図9のマスキング条件選択画面で903の衝突オブジェクト全体をマスクする設定が選択されたとする。このとき、図12(A)のように人1202が柱1203の前に立っている場合、第一の実施形態では図12(B)のように人属性を持つ被写体オブジェクトの衝突面を取得し、マスキング領域として人オブジェクトを隠してしまう。一方、第二の実施形態を用いると、マスクオブジェクトが最初に衝突した人の属性を持つ被写体オブジェクトは透過されるため、マスクオブジェクトは人1202を透過し、次に衝突する被写体オブジェクトの柱1203に衝突する。柱の属性を持つ被写体オブジェクトは衝突するため、図12(C)のように柱1203全体をマスキング領域として設定される。 In FIG. 12, it is assumed that a pillar exists in the field of view of the camera 1201 arranged in the layout window and a person stands in front of it. A video image captured by the camera 1201 is displayed in the video display window 1207. A pillar 1206 is an area that is arranged in the layout window and shows an image of a pillar in which the camera 1201 projects a subject object having a pillar attribute. The viewing restriction area setting unit 104 sets the viewing restriction area 1204 in the video display window 1207 so as to hide a part of the pillar 1206. Here, it is assumed that the user operates the mask determination button 306 to select the setting for masking the entire collision object 903 on the masking condition selection screen of FIG. 9. At this time, when the person 1202 stands in front of the pillar 1203 as shown in FIG. 12A, in the first embodiment, the collision surface of the subject object having the human attribute is acquired as shown in FIG. 12B. , Hides the human object as a masking area. On the other hand, when the second embodiment is used, since the subject object having the attribute of the person with whom the mask object first collides is transparent, the mask object is transparent to the person 1202 and then to the pillar 1203 of the subject object that collides next. collide. Since the subject objects having the pillar attribute collide with each other, the entire pillar 1203 is set as a masking area as shown in FIG.
このように、本実施形態によれば、被写体オブジェクトの属性に応じて、マスキング領域を設定することが可能になる。したがって、第一の実施形態において述べた効果に加えて、よりユーザの意図に応じたマスキング領域設定が可能となる。 As described above, according to the present embodiment, the masking area can be set according to the attribute of the subject object. Therefore, in addition to the effect described in the first embodiment, it is possible to set the masking area more in accordance with the user's intention.
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。 The present invention supplies a program that implements one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program. It can also be realized by the processing. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.
100 情報処理装置、101 図面データ取得部、102 カメラ配置部、103 オブジェクト配置部、104 閲覧制限領域設定部、105 マスクオブジェクト作成部、106 レイアウト情報管理部、107 衝突面取得部、108 表示制御部、109 マスキング領域決定部、111 カメラリスト記憶部、112 オブジェクトリスト記憶部、113 レイアウト情報記憶部 100 information processing device, 101 drawing data acquisition unit, 102 camera arrangement unit, 103 object arrangement unit, 104 view restriction area setting unit, 105 mask object creation unit, 106 layout information management unit, 107 collision surface acquisition unit, 108 display control unit , 109 masking area determination unit, 111 camera list storage unit, 112 object list storage unit, 113 layout information storage unit
Claims (13)
前記第1撮影装置、前記第2撮影装置、及び前記被写体が存在する実空間に対応する仮想空間に、当該被写体に対応する第1仮想オブジェクトを生成する第1生成手段と、
前記第1撮影装置により撮影される映像に含まれる前記被写体がマスクされるよう、ユーザ操作に従い、マスク領域を設定する第1設定手段と、
設定された前記マスク領域に対応して前記仮想空間に設けられた仮想マスクと、前記第1仮想オブジェクトの一部と、を含む第2仮想オブジェクトを前記仮想空間に生成する第2生成手段と、
前記第2仮想オブジェクトの空間に含まれる前記第1仮想オブジェクトの前記一部の表面の前記仮想空間中での位置に関する情報と、前記第2撮影装置に対応して前記仮想空間に設けられた仮想撮影装置と当該第1仮想オブジェクトとの位置関係とに基づき、当該第2撮影装置により撮影された映像において前記被写体がマスクされるよう、マスク領域を設定する第2設定手段と、
を有することを特徴とする情報処理装置。 The mask is set so that the subject set as a masked target in the image captured by the first image capturing apparatus is also masked in the image captured by the second image capturing apparatus whose position is different from that of the first image capturing apparatus. An information processing device,
A first generation unit that generates a first virtual object corresponding to the subject in the virtual space corresponding to the real space in which the first photography device, the second photography device, and the subject exist;
To the subject included in the image captured by the first imaging device is masked in accordance with a user operation, a first setting means for setting a mask region,
Second generation means for generating a second virtual object in the virtual space, the virtual object being provided in the virtual space corresponding to the set mask area, and a part of the first virtual object;
Information on the position in the virtual space of the surface of the part of the first virtual object included in the space of the second virtual object, and a virtual image provided in the virtual space corresponding to the second imaging device. Second setting means for setting a mask area so that the subject is masked in the image captured by the second image capturing device based on the positional relationship between the image capturing device and the first virtual object ;
An information processing device comprising:
前記第1撮影装置、前記第2撮影装置、及び前記被写体が存在する実空間に対応する仮想空間に、当該被写体に対応する第1仮想オブジェクトを生成する第1生成工程と、
前記第1撮影装置により撮影される映像に含まれる前記被写体がマスクされるよう、ユーザ操作に従い、マスク領域を設定する第1設定工程と、
設定された前記マスク領域に対応して前記仮想空間に設けられた仮想マスクと、前記第1仮想オブジェクトの一部と、を含む第2仮想オブジェクトを前記仮想空間に生成する第2生成工程と、
前記第2仮想オブジェクトの空間に含まれる前記第1仮想オブジェクトの前記一部の表面の前記仮想空間中での位置に関する情報と、前記第2撮影装置に対応して前記仮想空間に設けられた仮想撮影装置と当該第1仮想オブジェクトとの位置関係とに基づき、当該第2撮影装置により撮影された映像において前記被写体がマスクされるよう、マスク領域を設定する第2設定工程と、
を有することを特徴とする情報処理方法。 The mask is set so that the subject set as a masked target in the image captured by the first image capturing apparatus is also masked in the image captured by the second image capturing apparatus whose position is different from that of the first image capturing apparatus. An information processing method,
A first generation step of generating a first virtual object corresponding to the subject in a virtual space corresponding to a real space in which the first photographing device, the second photographing device, and the subject exist,
A first setting step of setting a mask area according to a user operation so that the subject included in an image captured by the first imaging device is masked ;
A second generation step of generating in the virtual space a second virtual object including a virtual mask provided in the virtual space corresponding to the set mask area and a part of the first virtual object;
Information on the position in the virtual space of the surface of the part of the first virtual object included in the space of the second virtual object, and a virtual image provided in the virtual space corresponding to the second imaging device. A second setting step of setting a mask area so that the subject is masked in the image captured by the second image capturing device based on the positional relationship between the image capturing device and the first virtual object ;
An information processing method comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016031459A JP6700845B2 (en) | 2016-02-22 | 2016-02-22 | Information processing apparatus, information processing method, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016031459A JP6700845B2 (en) | 2016-02-22 | 2016-02-22 | Information processing apparatus, information processing method, and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2017152800A JP2017152800A (en) | 2017-08-31 |
| JP6700845B2 true JP6700845B2 (en) | 2020-05-27 |
Family
ID=59742042
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2016031459A Active JP6700845B2 (en) | 2016-02-22 | 2016-02-22 | Information processing apparatus, information processing method, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6700845B2 (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6774390B2 (en) * | 2017-08-07 | 2020-10-21 | 株式会社ニューギン | Game machine |
| JP7033339B2 (en) * | 2020-07-06 | 2022-03-10 | 株式会社ニューギン | Pachinko machine |
| JP7033338B2 (en) * | 2020-07-06 | 2022-03-10 | 株式会社ニューギン | Pachinko machine |
| JP7612353B2 (en) * | 2020-08-05 | 2025-01-14 | キヤノン株式会社 | Image capture device, image capture system, and method for controlling image capture device |
| WO2023120754A1 (en) * | 2021-12-21 | 2023-06-29 | 엘지전자 주식회사 | Metaverse-based virtualization image providing system and method thereof |
| EP4270940B1 (en) * | 2022-04-26 | 2024-10-30 | Axis AB | Ptz masking control |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006118914A (en) * | 2004-10-20 | 2006-05-11 | West Japan Railway Co | Object detection device |
| JP2008217593A (en) * | 2007-03-06 | 2008-09-18 | Nippon Hoso Kyokai <Nhk> | Subject area extraction device and subject area extraction program |
| JP4976939B2 (en) * | 2007-07-04 | 2012-07-18 | 株式会社日立国際電気 | Image processing device |
| JP2011138409A (en) * | 2009-12-28 | 2011-07-14 | Sogo Keibi Hosho Co Ltd | Image sensor, monitoring system, and image processing method of the image sensor |
| JP5594672B2 (en) * | 2011-04-14 | 2014-09-24 | 株式会社 日立産業制御ソリューションズ | Object recognition apparatus and object recognition method |
| JP6226539B2 (en) * | 2013-03-15 | 2017-11-08 | キヤノン株式会社 | Information processing apparatus, information processing apparatus control method, and program |
-
2016
- 2016-02-22 JP JP2016031459A patent/JP6700845B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2017152800A (en) | 2017-08-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6700845B2 (en) | Information processing apparatus, information processing method, and program | |
| EP3256938B1 (en) | Image display system, information processing apparatus, image display method, image display program, image processing apparatus, image processing method, and image processing program | |
| JP4508049B2 (en) | 360 ° image capturing device | |
| CN104272726B (en) | Display image forming apparatus and display image forming method | |
| CN108876934B (en) | Key point marking method, device and system and storage medium | |
| JP2018180655A5 (en) | ||
| KR101871764B1 (en) | Industrial infrastructure management platform building system based on virtual reality | |
| US12223607B2 (en) | Mixed reality system, program, mobile terminal device, and method | |
| CN105391938A (en) | Image processing apparatus, image processing method, and computer program product | |
| WO2016103769A1 (en) | Manipulation input device, manipulation input method, and program | |
| WO2021168804A1 (en) | Image processing method, image processing apparatus and image processing system | |
| CN108353151A (en) | The control method and device of target device | |
| US20150332110A1 (en) | Methods and Apparatus for Three-Dimensional Image Reconstruction | |
| CN105912101A (en) | Projection control method and electronic equipment | |
| JP6685742B2 (en) | Operating device, moving device, and control system thereof | |
| JP2016081428A (en) | Information terminal, information processing device, and program | |
| WO2015141214A1 (en) | Processing device for label information for multi-viewpoint images and processing method for label information | |
| JP2018092507A (en) | Image processing apparatus, image processing method, and program | |
| JP6885179B2 (en) | Shooting device, shooting control program, and shooting management system | |
| JP6371547B2 (en) | Image processing apparatus, method, and program | |
| JP2025147705A (en) | Image generation device, image generation method, and program | |
| WO2025203922A1 (en) | Image generation device, image generation system, image generation method, and program | |
| US20250069285A1 (en) | Information processing method, information processing device, and non-transitory computer readable recording medium | |
| JP2025147704A (en) | Image generation device, image generation system, image generation method, and program | |
| JP6670918B2 (en) | Generation device, generation method, and generation program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190201 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20191028 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20191108 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20191227 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200115 |
|
| 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: 20200319 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200501 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 6700845 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |