Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7599864B2 - Simulation device, computer program, and storage medium - Google Patents
[go: Go Back, main page]

JP7599864B2 - Simulation device, computer program, and storage medium - Google Patents

Simulation device, computer program, and storage medium Download PDF

Info

Publication number
JP7599864B2
JP7599864B2 JP2020130590A JP2020130590A JP7599864B2 JP 7599864 B2 JP7599864 B2 JP 7599864B2 JP 2020130590 A JP2020130590 A JP 2020130590A JP 2020130590 A JP2020130590 A JP 2020130590A JP 7599864 B2 JP7599864 B2 JP 7599864B2
Authority
JP
Japan
Prior art keywords
image
information
simulation
similarity
simulation device
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
Application number
JP2020130590A
Other languages
Japanese (ja)
Other versions
JP2022026907A5 (en
JP2022026907A (en
Inventor
勇司 大森
正人 内原
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 JP2020130590A priority Critical patent/JP7599864B2/en
Publication of JP2022026907A publication Critical patent/JP2022026907A/en
Publication of JP2022026907A5 publication Critical patent/JP2022026907A5/ja
Application granted granted Critical
Publication of JP7599864B2 publication Critical patent/JP7599864B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Exposure Control For Cameras (AREA)
  • Processing Or Creating Images (AREA)
  • Studio Devices (AREA)

Description

本発明は、仮想空間を用いたシミュレーション装置等に関する。 The present invention relates to a simulation device that uses a virtual space.

運動会や結婚式などのイベント撮影を効率的に行うには、事前に会場を訪れて所望の撮影画像を得るための撮影位置や画角などの撮影条件を検討するロケーション・ハンティング(以降ロケハンと表記)が効果的である。ロケハンは、事前に複数の撮影機材をイベント会場へ持ち込んで繰り返し試し撮りをすることにより、イベント当日の撮影を円滑に行えるようにするための作業である。 To efficiently photograph events such as athletic meets and weddings, it is effective to do location hunting (hereinafter referred to as location scouting), where you visit the venue in advance and consider shooting conditions such as shooting position and angle of view to obtain the desired images. Location scouting is the process of bringing multiple pieces of filming equipment to the event venue in advance and taking repeated test shots to ensure smooth filming on the day of the event.

一方で、3次元の計測データを用いてイベント会場などの空間を再現するシミュレーション技術が普及している。例えば特許文献1では、複数の視点で撮影されたイベント会場の画像を用いて、イベント会場内を任意の位置、任意の方向から見た画像データを生成するシミュレーション技術が公開されている。また、イベント会場を任意の位置、任意の方向から確認できるシミュレーションサービスも登場している。 On the other hand, simulation technology that uses three-dimensional measurement data to recreate spaces such as event venues is becoming more widespread. For example, Patent Document 1 discloses a simulation technology that uses images of an event venue taken from multiple viewpoints to generate image data of the event venue viewed from any position and any direction. Simulation services that allow you to view an event venue from any position and any direction have also appeared.

特開2012-113281号公報JP 2012-113281 A

しかしながら、上記のような任意視点の画像合成技術を用いたシミュレーションでは、会場の様子を確認することはできても、実際に被写体となる人物の位置や大きさを考慮した撮影イメージの検討は困難であった。また、所望の撮影画像が得られる撮影位置、向き、画角などの撮影条件を見つけるためには、マウスやキーボード等による入力操作を用いて、シミュレーション画面内を探し回る必要があり、多くの時間を要してしまうといった課題があった。 However, in simulations using the above-mentioned arbitrary viewpoint image synthesis technology, although it was possible to check the state of the venue, it was difficult to consider the position and size of the actual subjects in the shot image. In addition, in order to find the shooting conditions such as the shooting position, direction, and angle of view that would result in the desired shot image, it was necessary to search around the simulation screen using input operations such as the mouse and keyboard, which was time-consuming.

さらに所望の撮影画像に近い明るさや背景ぼけを得るために必要なISO感度、絞り値、シャッター速度などの詳細な撮影条件や撮影機材(カメラ、レンズ等)の組み合わせを確認することができなかった。
本発明は、仮想空間を用いて適切な撮影条件等を速やかに取得できるシミュレーション装置を提供することを目的とする。
Furthermore, it was not possible to confirm the detailed shooting conditions, such as ISO sensitivity, aperture value, shutter speed, and combinations of shooting equipment (camera, lens, etc.), required to obtain brightness and background blur close to the desired captured image.
An object of the present invention is to provide a simulation device that can quickly obtain appropriate shooting conditions, etc. by using a virtual space.

本発明にかかるシミュレーション装置は、
撮影対象となるイベントの情報と撮影情報と所望の撮影画像とを入力する情報入力手段と、
前記情報入力手段によって入力された情報に基づいて、被写体モデルを用いて前記イベントを想定した仮想空間を構築する仮想空間構築手段と、
前記イベントで撮影した場合に得られる画像を、前記仮想空間を用いてシミュレーション画像として生成するシミュレーション画像生成手段と、
前記シミュレーション画像と所望の撮影画像における、明るさとボケ量の少なくとも1つの類似度を評価する評価手段と、
前記評価手段によって評価された前記類似度が所定値以上の前記シミュレーション画像を撮影するために必要な撮影機材の組み合わせ及び前記組み合わせに応じた撮影条件をユーザーに通知する通知手段と、を有することを特徴とする。
The simulation device according to the present invention comprises:
an information input means for inputting information on the event to be photographed, photographing information, and a desired photographed image;
a virtual space constructing means for constructing a virtual space that imagines the event using a subject model based on the information input by the information inputting means;
a simulation image generating means for generating a simulation image using the virtual space from an image obtained by photographing the event;
an evaluation means for evaluating a similarity between the simulation image and a desired captured image in terms of at least one of brightness and blur amount;
and a notification means for notifying a user of a combination of photographing equipment required for taking the simulation image having the degree of similarity evaluated by the evaluation means that is equal to or greater than a predetermined value, and of the photographing conditions corresponding to the combination .

本発明によれば、仮想空間を用いて適切な撮影条件等を速やかに取得できるシミュレーション装置を提供することができる。 The present invention provides a simulation device that can quickly obtain appropriate shooting conditions, etc., using a virtual space.

実施例1のシミュレーション装置の構成例を示すブロック図である。1 is a block diagram showing a configuration example of a simulation device according to a first embodiment; 実施例1における運動会の場合の会場レイアウトの一例を示す図である。FIG. 13 is a diagram showing an example of a venue layout for an athletic meet in the first embodiment. 会場の背景情報の一例を示す図である。FIG. 11 is a diagram showing an example of background information of a venue. 光源情報の一例を示す図である。FIG. 4 is a diagram illustrating an example of light source information. 徒競走における被写体位置情報の例について説明するための図である。11 is a diagram for explaining an example of subject position information in a footrace; FIG. 被写体向きの指定方法の一例を示す図である。FIG. 11 is a diagram showing an example of a method for specifying the subject direction. 被写体位置情報のフォーマットの例を示す図である。FIG. 11 is a diagram illustrating an example of a format of subject position information. 撮影位置情報の一例を示す図である。FIG. 11 is a diagram illustrating an example of shooting position information. 撮影情報の例を示す図である。FIG. 4 is a diagram showing an example of shooting information. 所望の撮影画像の一例を示す図である。FIG. 2 is a diagram showing an example of a desired captured image. 仮想空間構築のフローチャートである。13 is a flowchart for constructing a virtual space. 会場レイアウトの座標変換の一例を示す図である。FIG. 13 is a diagram showing an example of coordinate transformation of a venue layout. 被写体モデルのイメージを示す図である。FIG. 1 is a diagram showing an image of a subject model. 仮想空間への被写体モデル配置の一例を示す図である。FIG. 2 is a diagram showing an example of subject model placement in a virtual space. シミュレーション画像生成のフローチャートである。13 is a flowchart of a simulation image generation process. 投影画像の一例を示す図である。FIG. 13 is a diagram illustrating an example of a projected image. 投影画像に対して背景が付加されたシミュレーション画像の一例を示す図である。FIG. 13 is a diagram showing an example of a simulation image in which a background is added to a projected image. 明るさ調整されたシミュレーション画像の一例を示す図である。FIG. 13 is a diagram showing an example of a simulation image whose brightness has been adjusted. 背景ボケが付加されたシミュレーション画像の一例を示す図である。FIG. 13 is a diagram showing an example of a simulation image to which background blur has been added. 類似度算出のフローチャートである。13 is a flowchart of a similarity calculation process. 類似度算出用グラフの一例を示す図である。FIG. 13 is a diagram showing an example of a similarity calculation graph. 顔の向きに関する類似度算出方法の例を説明する図である。11A and 11B are diagrams illustrating an example of a method for calculating a similarity regarding a face direction. ボケ量検出用2次元フィルター特性の一例を示す図である。FIG. 11 is a diagram illustrating an example of a two-dimensional filter characteristic for detecting the amount of blur. 類似度算出用重み係数の一例を示す図である。FIG. 13 is a diagram illustrating an example of a weighting coefficient for similarity calculation. シミュレーション装置の撮影条件評価処理のためのフローの一例を示すフローチャートである。10 is a flowchart showing an example of a flow for a shooting condition evaluation process of the simulation device. 撮影情報の一例(組み合わせ1)を示す図である。FIG. 13 is a diagram showing an example of shooting information (combination 1). 撮影情報の一例(組み合わせ2)を示す図である。FIG. 13 is a diagram showing an example of shooting information (combination 2). 撮影情報の一例(組み合わせ3)を示す図である。FIG. 13 is a diagram showing an example of shooting information (combination 3). 撮影情報の一例(組み合わせ4)を示す図である。FIG. 13 is a diagram showing an example of shooting information (combination 4). 背景が付加されたシミュレーション画像の一例(フルサイズ)を示す図である。FIG. 13 is a diagram showing an example (full size) of a simulation image to which a background has been added. 背景が付加されたシミュレーション画像の一例(APS-C)を示す図である。FIG. 13 is a diagram showing an example of a simulation image (APS-C) to which a background has been added. 最適な機材組み合わせを算出するためのフローの例を示すフローチャートである。13 is a flowchart showing an example of a flow for calculating an optimal equipment combination. 機材組み合わせ毎のスコア算出の例を示す図である。FIG. 13 is a diagram showing an example of score calculation for each equipment combination.

以下、添付図面を参照して、本発明の好適な実施の形態について実施例を用いて説明する。なお、各図において、同一の部材ないし要素については同一の参照番号を付し、重複する説明は省略ないし簡略化する。 Below, preferred embodiments of the present invention will be described using examples with reference to the attached drawings. Note that in each drawing, the same members or elements are given the same reference numbers, and duplicate descriptions will be omitted or simplified.

図1は実施例1のシミュレーション装置の構成例を示すブロック図である。本実施例では、イベントとして小学校等の運動会を想定して説明するが、その他のイベントであっても同様に適用可能である。
図1において、シミュレーション装置は、撮影対象となるイベントの情報、撮影情報、所望の撮影画像等を入力する情報入力手段100を有する。
また、情報入力手段100によって入力された情報に基づいて、被写体モデルを用いてイベント状況を再現(想定)した仮想空間を構築する仮想空間構築手段101を有する。また、イベント会場で撮影した場合に得られる画像を、前記仮想空間を用いてシミュレーション画像として生成するシミュレーション画像生成手段102を有する。
1 is a block diagram showing an example of the configuration of a simulation device according to embodiment 1. In this embodiment, an explanation will be given assuming an athletic meet at an elementary school or the like as an event, but the present invention can be similarly applied to other events.
In FIG. 1, the simulation device has an information input means 100 for inputting information on an event to be photographed, photographing information, a desired photographed image, and the like.
The system also includes a virtual space construction means 101 for constructing a virtual space that reproduces (assumes) an event situation using a subject model based on information inputted by the information input means 100. The system also includes a simulation image generation means 102 for generating a simulation image using the virtual space from an image obtained by photographing the event venue.

更に、前記シミュレーション画像と、所望の撮影画像との類似度を評価する評価手段103、評価手段103による評価結果が高くなるように、類似度に応じた撮影条件を収集し、類似度に応じた撮影条件をユーザーに通知する通知手段104を有する。
本実施例では、評価手段103は、シミュレーション画像と所望の撮影画像における、明るさと(背景の)ボケ量の少なくとも1つの類似度を評価するように構成されている。
Furthermore, the apparatus includes an evaluation means 103 for evaluating the similarity between the simulation image and a desired captured image, and a notification means 104 for collecting shooting conditions according to the similarity so that the evaluation result by the evaluation means 103 is high, and notifying the user of the shooting conditions according to the similarity.
In this embodiment, the evaluation means 103 is configured to evaluate the similarity of at least one of brightness and the amount of blur (of the background) between the simulation image and the desired captured image.

制御手段105は前記情報入力手段100によって入力された情報に基づいて、前記仮想空間構築手段101、シミュレーション画像生成手段102、評価手段103、通知手段104の制御を行う。制御手段105にはコンピュータとしてのCPUが内蔵されており、メモリに記憶されたコンピュータプログラムに基づき装置全体の、例えば図11、15、20、25、32のフローチャート等の動作を実行させる。 The control means 105 controls the virtual space construction means 101, the simulation image generation means 102, the evaluation means 103, and the notification means 104 based on the information input by the information input means 100. The control means 105 has a built-in CPU as a computer, and executes the operations of the entire device, such as the flowcharts in Figures 11, 15, 20, 25, and 32, based on a computer program stored in memory.

また、仮想空間構築手段101、シミュレーション画像生成手段102、評価手段103、通知手段104等は、制御手段105のコンピュータがコンピュータプログラムを実行することによってそれぞれの機能を実行する。なお、仮想空間構築手段101、シミュレーション画像生成手段102、評価手段103、通知手段104等は、制御手段105に一部または全部が含まれていてもよいし、それぞれの機能をディスクリートな回路によって構成してもよい。
以下に、図1の構成それぞれの詳細について説明する。
Moreover, the virtual space construction means 101, the simulation image generation means 102, the evaluation means 103, the notification means 104, etc. execute their respective functions by the computer of the control means 105 executing a computer program. Note that the virtual space construction means 101, the simulation image generation means 102, the evaluation means 103, the notification means 104, etc. may be partly or entirely included in the control means 105, or each function may be configured by a discrete circuit.
Each of the components in FIG. 1 will be described in detail below.

前記情報入力手段100は、イベントの情報や撮影情報、所望の撮影画像等を入力するための入力手段である。前記イベントの情報は、撮影対象となるイベントが催される会場のレイアウト、会場の背景情報、会場の光源情報、イベント内容やイベント順序等に関するイベントプログラム情報等の少なくとも1つを含む。 The information input means 100 is an input means for inputting event information, shooting information, desired shooting images, etc. The event information includes at least one of the layout of the venue where the event to be shot is held, background information of the venue, light source information of the venue, event program information related to the event content, event order, etc.

情報入力手段は、イベント会場の明るさに関する情報、イベント会場の背景画像の少なくとも1つを入力可能である。
イベントとは運動会、運動競技会、レース、お遊戯、学芸会、お祭り、ライブ音楽イベント、結婚式等の大勢の人を集めて催す催し事を指す。
The information input means is capable of inputting at least one of information relating to the brightness of the event venue and a background image of the event venue.
An event refers to an event that brings together a large number of people, such as athletic meets, races, plays, school performances, festivals, live music events, weddings, etc.

会場レイアウトは、イベントが行われる会場の俯瞰図を含む。
図2は実施例1における運動会の場合の会場レイアウトの一例を示す図である。図2の200はイベント会場となる運動場(校庭)であり、左上を原点(0,0)とする2次元(X、Y)の座標空間で表される。図2の201は運動会の各競技で走路や境界線として使用されるトラック、202は校舎、203~205は運動場に植えられた樹木などの撮影時の背景となる物体(以降、背景物体と表記)を表している。
The venue layout includes an overhead view of the venue where the event will take place.
Fig. 2 is a diagram showing an example of a venue layout for an athletic meet in Example 1. Reference numeral 200 in Fig. 2 denotes a playground (schoolyard) that serves as the event venue, and is represented in a two-dimensional (X, Y) coordinate space with the upper left corner as the origin (0, 0). Reference numeral 201 in Fig. 2 denotes a track that is used as a running course or boundary line for each event in the athletic meet, 202 denotes a school building, and 203 to 205 denote objects that serve as the background during photography, such as trees planted in the playground (hereinafter referred to as background objects).

図3は会場の背景情報の例を示す図である。会場の背景情報とは、イベントが行われる会場とその周辺に配置された背景物体を撮影した画像群である。図2に示した運動会の会場レイアウトの場合の背景情報は、例えば校庭に配置された校舎202を撮影した図3(A)、(B)に示す画像や、周辺に植えられた樹木203、204、205を撮影した図3(C)、(D)に示す画像等である。 Figure 3 is a diagram showing an example of background information for a venue. Background information for a venue is a group of images taken of the venue where the event is held and background objects located in the surrounding area. In the case of the venue layout for an athletic meet shown in Figure 2, background information would be, for example, the images shown in Figures 3(A) and (B) which show a school building 202 located in the schoolyard, or the images shown in Figures 3(C) and (D) which show trees 203, 204, and 205 planted in the surrounding area.

図3に示すように、背景情報(背景画像)は異なる複数の視点から撮影し、入力しておくことで、合成処理を用いて任意の視点からの背景画像を生成することができる。画像の取得方法については事前にイベント会場でスマートフォン等の携帯性の高いカメラを用いて撮影を行ってもよいし、既にクラウド上にイベント会場に関する画像がある場合はそれらをダウンロードにより取得してもよい。 As shown in Figure 3, by capturing background information (background images) from multiple different viewpoints and inputting them, a background image from any viewpoint can be generated using a synthesis process. Images can be captured in advance at the event venue using a highly portable camera such as a smartphone, or, if images related to the event venue are already available on the cloud, they can be downloaded to obtain the images.

なお、入力される画像は適正な明るさでかつピントが合っているものとする。複数の視点の画像を基に、任意の視点の画像を合成する技術や、合成に適した複数枚の画像を過不足なく撮影する技術については公知の技術が各種存在するためここでは詳細説明は省略する。
光源情報は、イベントが開催される会場の照明条件(例えば明るさや色温度)に関する情報である。
It is assumed that the input image has the appropriate brightness and is in focus. There are various known techniques for synthesizing an image from an arbitrary viewpoint based on images from multiple viewpoints, and for capturing multiple images suitable for synthesis without excess or deficiency, so detailed explanations will be omitted here.
The light source information is information about the lighting conditions (for example, brightness and color temperature) of the venue where the event is held.

図4は光源情報の一例を示す図であり、図4に示すようなイベント会場の照明条件に対応するEV(Exposure Value)値のリストを予め作成し、その中から選択される。屋外イベントなどで当日の照明条件が天候により左右される可能性がある場合は、複数の照明条件を選択してそれぞれの条件でシミュレーションを実行してもよい。
なお、光源情報としての明るさ情報は、イベント開催日時の天気予報等のデータをダウンロードして自動的に設定してもよい。その際に天気予報に応じて色温度情報も光源情報として入力するようにしてもよい。
Fig. 4 is a diagram showing an example of light source information, and a list of EV (Exposure Value) values corresponding to the lighting conditions of an event venue as shown in Fig. 4 is created in advance, and the light source information is selected from that list. In the case of an outdoor event, for example, where the lighting conditions on the day may be affected by the weather, multiple lighting conditions may be selected and a simulation may be performed under each of the conditions.
The brightness information as the light source information may be automatically set by downloading data such as a weather forecast for the date and time of the event. At that time, color temperature information may also be input as light source information according to the weather forecast.

イベントプログラム情報は、イベントの内容、イベントの順序、イベントに参加している被写体の動き情報を表す被写体位置情報等を含む。
被写体位置情報は、イベントが行われている各時刻における被写体の位置と被写体の向きの少なくとも1つに関する情報を含む。
図5は徒競走における被写体位置情報の例について説明するための図であり、運動会の徒競走を例に図5を用いて被写体位置情報の概要を説明する。
The event program information includes the contents of the event, the order of the event, subject position information indicating the movement information of subjects participating in the event, and the like.
The subject position information includes information regarding at least one of the position of the subject and the orientation of the subject at each time that the event is taking place.
FIG. 5 is a diagram for explaining an example of subject position information in a footrace. An overview of subject position information will be explained using FIG. 5 by taking a footrace at an athletic meet as an example.

図中の501、502、503、504は競技に参加している4人の生徒(被写体)を表している。また、時刻T0、T1、T2・・TNと進んでいくに従って、運動場500内に引かれたトラック505のスタートからゴールに向かって各生徒が移動していく様子を示している。
ここで、各生徒の位置については図2の会場レイアウトと同様にXY座標で表現される。
In the figure, 501, 502, 503, and 504 represent four students (subjects) participating in the race. Also, as the time progresses from T0, T1, T2, ... TN, the figure shows how each student moves from the start of a track 505 drawn in a playground 500 toward the goal.
Here, the position of each student is expressed by XY coordinates, similar to the layout of the venue in FIG.

また、図6は被写体向きの指定方法の一例を示す図であり、生徒の向きについては図6に示すように360度を均等分割した矢印の方向(D0~D15)で表現される。
図7は被写体位置情報のフォーマットの例を示す図であり、情報入力手段100に入力される被写体位置情報は図7に示すように、複数の被写体について各時刻における位置と向きの情報のセットで構成される。
FIG. 6 is a diagram showing an example of a method for specifying the orientation of a subject. As shown in FIG. 6, the orientation of a student is expressed by the directions of arrows (D0 to D15) that equally divide 360 degrees.
FIG. 7 is a diagram showing an example of the format of subject position information. As shown in FIG. 7, the subject position information input to the information input means 100 is composed of a set of information on the positions and orientations of a plurality of subjects at each time.

被写体位置情報はイベントのプログラム別に(運動会の場合は、徒競走や綱引きなどの競技別に)、情報入力手段100内に複数のプリセットデータ(登録データ)として保存しておくことが可能である。これにより、ユーザーは予め保存された被写体位置情報をイベントのプログラムに応じて複数のプリセットデータから選択可能となる。 The subject position information can be stored as multiple preset data (registered data) in the information input means 100 according to the event program (in the case of an athletic meet, according to the type of sport, such as a foot race or tug-of-war). This allows the user to select pre-stored subject position information from multiple preset data according to the event program.

イベントで催される内容や順序は、イベントプログラム情報として入力することになるが、そのためのUser Interface(以降、UIと略記)に関してはここでは言及しない。事前に数値化されているデータを流し込んでもいいし、Grahical User Interface(以降、GUIと略記)によってユーザーに入力するようにしてもよい。或いはネット等を介してダウンロードしてもよい。 The content and order of events will be entered as event program information, but the User Interface (hereafter abbreviated as UI) used for this will not be mentioned here. Pre-quantified data can be input, or the user can enter it via a Graphical User Interface (hereafter abbreviated as GUI). Or it can be downloaded via the internet, etc.

続いて撮影情報について説明する。撮影情報は、撮影位置、撮影方向、撮影画角を含むとともに、絞り値、シャッター速度、ISO感度、ホワイトバランスデータ(色温度データ)の少なくとも1つに関する情報を含む。
撮影位置は、イベント会場においてカメラマンあるいはドローン等の撮影機材(以降、カメラと表記)が侵入(立ち入り)可能な領域についての情報を含む。
Next, the shooting information will be described. The shooting information includes the shooting position, shooting direction, shooting angle of view, and at least one of the aperture value, shutter speed, ISO sensitivity, and white balance data (color temperature data).
The shooting positions include information about areas at the event venue where photographers or shooting equipment such as drones (hereinafter referred to as cameras) can enter (enter).

図8は撮影位置情報の一例を示す図であり、図8(A)は撮影位置の概要で運動場800の周辺の黒丸で示されるP0~P15が撮影可能な位置を示している。
それぞれの撮影位置は図8(B)のようにXY座標のリストを用いて表現される。撮影位置はイベント会場内の点情報としてではなく領域情報として扱われてもよい。
撮影方向は、カメラが撮影を行う方向であり、本実施例では図6と同様に360度を均等分割した矢印の方向(D0~D15)で表現される。
撮影画角は、カメラに装着されたレンズの撮影範囲を表す指標である。例えばセンサーサイズ35mmとして換算した場合の焦点距離(mm)で表わす。
FIG. 8 shows an example of the shooting position information. FIG. 8(A) shows an overview of the shooting positions, with P0 to P15 indicated by black circles around a playground 800 being positions where shooting is possible.
Each shooting position is expressed using a list of XY coordinates as shown in Fig. 8B. The shooting positions may be treated as area information rather than point information within the event venue.
The shooting direction is the direction in which the camera takes pictures, and in this embodiment, is expressed by the directions of arrows (D0 to D15) that equally divide 360 degrees, as in FIG.
The photographing angle of view is an index that indicates the photographing range of the lens attached to the camera. For example, it is expressed as the focal length (mm) when converted into a sensor size of 35 mm.

図9は撮影情報の例を示す図であり、本実施例では図9(A)に示すように広角(16mm)から超望遠(800mm)までの離散的な画角をF0からF12に対応づけて表現する。
絞り値は、カメラが撮影を行う際の露光量を調整するための指標であり、F値を用いて表される。F値が小さいほど、レンズは明るくなる(露光量が多くなる)一方、撮影被写体の前後でピントが合う領域(被写界深度)が狭くなるという特性がある。
9A to 9C are diagrams showing examples of shooting information. In this embodiment, as shown in FIG. 9A, discrete angles of view from wide angle (16 mm) to super telephoto (800 mm) are expressed in correspondence with F0 to F12.
Aperture value is an index for adjusting the amount of exposure when a camera takes a photograph, and is expressed using the F-number. The smaller the F-number, the brighter the lens (the more exposure), but the smaller the F-number, the narrower the area in front of and behind the subject that is in focus (depth of field).

F値の最小値、最大値はカメラ装着されたレンズによって取り得る範囲が異なる。本実施例ではF値Nを以下の式1によりAV(Aperture Value)値に対応づけて表現する。
AV=2logN ・・・(式1)
AV値を用いることで、図9(B)に示すようにF1.0からF32までの離散的な絞り値をAV0からAV10までの連続した値に対応づけて表現できる。
The range of the minimum and maximum F-numbers varies depending on the lens attached to the camera. In this embodiment, the F-number N is expressed in association with an AV (Aperture Value) value by the following formula 1.
AV=2log 2 N...(Formula 1)
By using the AV value, it is possible to express discrete aperture values from F1.0 to F32 in correspondence with continuous values from AV0 to AV10, as shown in FIG. 9B.

シャッター速度は、撮影を行うカメラの露光時間を表す指標である。一般的なカメラにおいては数秒から数千分の一秒という設定範囲となる。シャッター速度が遅くなるほど暗い場所でも明るい画像を撮影することができるが、撮影時の手ぶれあるいは被写体ぶれの影響が大きくなる為、撮影を失敗する可能性が高くなる。本実施例ではシャッター速度tを以下の式2によりTV(Time Value)値に対応づけて表現する。
TV=log(1/t)・・・(式2)
TV値を用いることで、図9(C)に示すように1秒から、1/8000秒までの離散的なシャッター速度をTv0からTv13までの連続した値に対応づけて表現できる。
Shutter speed is an index that indicates the exposure time of a camera that takes a picture. In a general camera, the setting range is from a few seconds to a few thousandths of a second. The slower the shutter speed, the brighter the image can be taken even in a dark place, but the effect of camera shake or subject blur during shooting becomes greater, so the possibility of failing to take a picture increases. In this embodiment, the shutter speed t is expressed in correspondence with a TV (Time Value) value by the following formula 2.
TV=log 2 (1/t)...(Formula 2)
By using the TV value, it is possible to express discrete shutter speeds from 1 second to 1/8000 seconds in correspondence with continuous values from Tv0 to Tv13, as shown in FIG. 9C.

ISO感度は、撮影を行うカメラに実装されたセンサーの感度設定である。数値の頭にISOをつけてISO100、ISO20と表される。
一般的なカメラではISO感度の設定範囲は数百から数万という値となる。数値が大きくなるほど暗い場所でも明るい画像を撮影することができるが、ノイズの影響が大きくなる為画質が劣化する。
ISO sensitivity is the sensitivity setting of the sensor mounted on the camera used to take the photo. It is expressed with ISO at the beginning of the number, such as ISO 100 or ISO 20.
In general cameras, the ISO sensitivity setting ranges from several hundred to several tens of thousands. The higher the value, the brighter the image you can take even in a dark place, but the image quality will deteriorate due to the increased effect of noise.

本実施例ではISO感度Sを以下の式3によりSV(Sensivity Value)値に対応づけて表現する。
SV=log(S/100)・・・(式3)
SV値を用いることで、図9(D)に示すようにISO100からISO51200までの離散的なISO感度をSV0からSV9の連続した値に対応づけて表現できる。
In this embodiment, the ISO sensitivity S is expressed in association with a SV (Sensitivity Value) value by the following formula 3.
SV=log 2 (S/100)...(Formula 3)
By using the SV value, it is possible to express discrete ISO sensitivities from ISO 100 to ISO 51200 in correspondence with continuous values from SV0 to SV9, as shown in FIG. 9D.

続いて所望の撮影画像について説明する。所望の撮影画像とは、ユーザーが撮影したい画像のサンプルイメージに関する情報であり、サンプルとしての画像情報を含むとともに、被写体の人数、顔の位置、顔のサイズ、顔の向きの少なくとも1つと紐付けて(関連付けて)保存されている。
図10は所望の撮影画像の一例を示す図である。
Next, the desired photographed image will be described. The desired photographed image is information on a sample image of an image that the user wants to photograph, and includes image information as a sample, and is stored in association with at least one of the number of subjects, face positions, face sizes, and face orientations.
FIG. 10 is a diagram showing an example of a desired photographed image.

本実施例では、図10(A)、(B)のようなサンプル画像をプリセットデータとして多数用意しておく。そして、それぞれのサンプル画像に対して被写体の人数、顔の位置、顔のサイズ、顔の向き、背景物体の位置とサイズ、向きを紐付けて(関連付けて)保存しておく。保存場所はネット上のクラウド等であってもよい。
所望の撮影画像の入力手段は様々な方法が考えられるが、過去に開催された同イベントの撮影画像あるいはイラストなどが入力として使用される。
ユーザーはプリセットデータとして保存された複数のサンプル画像を例えばネットを介してダウンロードし、その中から所望の撮影画像を選択可能である。
In this embodiment, a large number of sample images such as those shown in Fig. 10A and 10B are prepared as preset data. Then, the number of subjects, face positions, face sizes, face orientations, and background object positions, sizes, and orientations are linked (associated) with each sample image and saved. The saving location may be a cloud on the Internet, etc.
There are various methods for inputting the desired photographed image, but photographed images or illustrations of the same event held in the past are used as input.
The user can download a plurality of sample images saved as preset data, for example via the Internet, and select a desired photographed image from among them.

その選択されたサンプル画像に紐付けられた情報を入力情報として保持する。所望の撮影画像は複数選択できるようにしてもよい。
なお、それぞれのサンプル画像に対して顔の明るさ情報、顔のボケ情報も紐づけして保存しておく。更には被写体の色や色温度等も紐づけして保存してもよい。
続いて仮想空間構築手段101について説明する。仮想空間構築手段101は、情報入力手段100により入力されたイベント情報をもとに、イベント状況を被写体モデルによって再現した仮想空間を生成する。
Information associated with the selected sample image is stored as input information. A plurality of desired captured images may be selected.
It should be noted that the brightness information and the blur information of the face are also linked to each sample image and stored.Furthermore, the color and color temperature of the subject may also be linked to each sample image and stored.
Next, a description will be given of the virtual space construction means 101. The virtual space construction means 101 generates a virtual space in which an event situation is reproduced by a subject model, based on the event information inputted by the information input means 100.

図11は仮想空間構築のフローチャート、図12は会場レイアウトの座標変換の一例を示す図、図13は被写体モデルのイメージを示す図であり、仮想空間の生成の流れを図11~図13を用いて説明する。
まずステップS1101で、仮想空間構築手段101は情報入力手段100に入力された2次元の会場レイアウトを図12に示すように3次元の座標空間(xyz座標系)に変換する。
FIG. 11 is a flowchart for constructing a virtual space, FIG. 12 is a diagram showing an example of coordinate transformation of a venue layout, and FIG. 13 is a diagram showing an image of a subject model. The flow of generating a virtual space will be explained using FIGS.
First, in step S1101, the virtual space construction means 101 converts the two-dimensional venue layout input to the information input means 100 into a three-dimensional coordinate space (xyz coordinate system) as shown in FIG.

続いてステップS1102で、仮想空間構築手段101は情報入力手段100に入力されたイベントプログラム情報を基に3次元の座標空間に被写体モデルを配置する。配置する被写体モデルの一例を図13に示す。図13において、1301は運動会の被写体となる生徒の被写体モデルであり3次元の座標空間では多面体(ポリゴン)で表現される。図中の1302は生徒の顔の向きを示す正面マークである。図13の被写体モデルを被写体位置情報に従い3次元座標空間に複数配置する。 Next, in step S1102, the virtual space construction means 101 places a subject model in three-dimensional coordinate space based on the event program information input to the information input means 100. An example of a subject model to be placed is shown in FIG. 13. In FIG. 13, reference numeral 1301 denotes a subject model of a student who will be the subject of the sports day, and is represented in three-dimensional coordinate space as a polyhedron (polygon). Reference numeral 1302 in the figure is a front mark that indicates the direction of the student's face. Multiple subject models of FIG. 13 are placed in three-dimensional coordinate space according to the subject position information.

図14は仮想空間への被写体モデル配置の一例を示す図であり、時刻T0においてスタートライン付近の仮想空間を表示している。被写体モデル1401、1402、1403、1404の位置と向きは被写体位置情報に基づいて時刻によって変化する。
さらに、仮想空間構築手段101は、被写体モデルに対し、前記被写体位置情報の内容に基づいてポーズをとらせたり、競技に参加していない生徒や、父兄などの観覧者を仮想空間に配置したりすることも可能である。
14 is a diagram showing an example of subject model placement in a virtual space, displaying the virtual space near the start line at time T0. The positions and orientations of subject models 1401, 1402, 1403, and 1404 change with time based on subject position information.
Furthermore, the virtual space construction means 101 can make the subject model pose based on the contents of the subject position information, and can also place spectators such as students not participating in the competition and parents in the virtual space.

ポリゴンの被写体モデルに所望のポーズをとらせる方法に関しては、3Dゲーム等と同様であり、すでに広く公知であるためここでは詳細な説明を省略する。
続いてシミュレーション画像生成手段102について図15を用いて説明する。シミュレーション画像生成手段102は、前記仮想空間内で種々の撮影条件で撮影を行った場合に得られるシミュレーション画像を生成する。
The method of making a polygonal subject model assume a desired pose is similar to that used in 3D games and the like, and is already widely known, so a detailed explanation will be omitted here.
Next, the simulation image generating means 102 will be described with reference to Fig. 15. The simulation image generating means 102 generates simulation images obtained when photographing is performed under various photographing conditions in the virtual space.

図15はシミュレーション画像生成のフローチャートである。
まずステップS1501でシミュレーション画像生成手段102は、被写体モデルが配置された3次元座標空間内で撮影を行う際の撮影条件(撮影位置、撮影向き、画角、絞り値、シャッター速度、ISO感度、照明条件等)を決定する。撮影位置は情報入力手段100に入力された図8のP0~P15から選択される。
FIG. 15 is a flowchart of the generation of a simulation image.
First, in step S1501, the simulation image generating means 102 determines the shooting conditions (shooting position, shooting direction, angle of view, aperture value, shutter speed, ISO sensitivity, lighting conditions, etc.) when shooting within the three-dimensional coordinate space in which the subject model is placed. The shooting position is selected from P0 to P15 in FIG. 8 input to the information input means 100.

撮影向きは情報入力手段100に入力された図6のD0~D15から選択される。画角は情報入力手段100に入力された図9(A)のF0~F12から選択される。絞り値は情報入力手段100に入力された図9(B)のAV0~AV10から選択される。シャッター速度は情報入力手段100に入力された図9(B)のTV0~TV13から選択される。ISO感度は情報入力手段100に入力された図9(D)のSV5~AV14から選択される。 The shooting direction is selected from D0 to D15 in FIG. 6, which are input to the information input means 100. The angle of view is selected from F0 to F12 in FIG. 9(A), which are input to the information input means 100. The aperture value is selected from AV0 to AV10 in FIG. 9(B), which are input to the information input means 100. The shutter speed is selected from TV0 to TV13 in FIG. 9(B), which are input to the information input means 100. The ISO sensitivity is selected from SV5 to AV14 in FIG. 9(D), which are input to the information input means 100.

照明条件は情報入力手段100に入力された図4の光源情報EV1~EV14から選択される。
続いて、ステップS1502でシミュレーション画像生成手段102は、ステップS1501で選択された撮影位置、向き、画角で前記仮想空間内を撮影した場合に得られる2次元の画像(投影画像)を得るための投影処理を実施する。投影処理については透視投影など一般的に知られた技術で実施可能であるため詳細な説明は省略する。
The illumination conditions are selected from the light source information EV1 to EV14 of FIG.
Next, in step S1502, the simulation image generating means 102 performs a projection process to obtain a two-dimensional image (projected image) obtained when the virtual space is photographed at the photographing position, orientation, and angle of view selected in step S1501. The projection process can be performed by a generally known technique such as perspective projection, and therefore a detailed description thereof will be omitted.

図16は投影画像の一例を示す図であり、時刻T1において、撮影位置P14から撮影向きD4の方向にF6の画角で撮影を行った場合に得られる投影画像である。画面1600の中に競技者を表す被写体モデル1601、1602、1603が配置された画像が得られる。投影画像の被写体モデルおよび仮想空間の明るさについては適正な明るさで生成される。 Figure 16 shows an example of a projected image, which is obtained when shooting is performed at time T1 from shooting position P14 in shooting direction D4 with a field angle of F6. An image is obtained in which subject models 1601, 1602, and 1603 representing athletes are arranged on screen 1600. The brightness of the subject models and virtual space in the projected image is generated with appropriate brightness.

続いて、ステップS1503でシミュレーション画像生成手段102は、ステップS1502で生成された投影画像に対して背景画像を付加する。背景画像は情報入力手段100に入力された会場の背景情報を基にステップS1501で設定された撮影位置と向き、画角に応じて複数視点の画像データを合成することで生成される。
即ち、シミュレーション画像生成手段は、イベント会場の背景の画像データをもとにシミュレーション画像に背景画像を付加することができるように構成されている。
Next, in step S1503, the simulation image generating means 102 adds a background image to the projection image generated in step S1502. The background image is generated by synthesizing image data from multiple viewpoints according to the shooting position, direction, and angle of view set in step S1501 based on the background information of the venue input to the information input means 100.
That is, the simulation image generating means is configured to be able to add a background image to the simulation image based on image data of the background of the event venue.

複数の視点を用いた画像データ生成は、任意視点画像合成技術と呼ばれ公知であるため、ここでは詳細な説明は省略する。
図17は投影画像に対して背景が付加されたシミュレーション画像の一例を示す図である。
図2の校庭に植えられた樹木204、樹木205に対応する背景物体1701、1702が投影画像に追加されている。合成前の複数視点の画像の明るさについては予め適正な明るさに調整されている為、合成後の画像の明るさについても適正となる。
The generation of image data using a plurality of viewpoints is known as an arbitrary viewpoint image synthesis technique and is therefore not described in detail here.
FIG. 17 is a diagram showing an example of a simulation image in which a background is added to a projected image.
Background objects 1701 and 1702 corresponding to the trees 204 and 205 planted in the schoolyard in Fig. 2 are added to the projected image. Since the brightness of the images from multiple viewpoints before synthesis is adjusted to an appropriate brightness in advance, the brightness of the image after synthesis is also appropriate.

続いて、ステップS1504でシミュレーション画像生成手段102は、ステップS1503で背景が付加された投影画像に対して明るさの調整を行う。画像の明るさは画像全体が自然に見える明るさを適正と表現する。意図的に明るく撮影された画像の場合は、オーバー(N段)で表現する。Nの値は画像の明るさが適正の場合を基準に明るさ(輝度値)が2倍、4倍になるについてオーバー1段、オーバー2段と表現する。 Next, in step S1504, the simulation image generating means 102 adjusts the brightness of the projected image to which the background was added in step S1503. The brightness of the image is expressed as appropriate when the entire image looks natural. Images that have been intentionally photographed brightly are expressed as over (N steps). The value of N is expressed as over 1 step and over 2 steps when the brightness (luminance value) is doubled or quadrupled based on the image brightness when it is appropriate.

また意図的に暗く撮影された画像の場合は、アンダー(M段)で表現する。Mの値は画像の明るさが適正の場合を基準に明るさ(輝度値)が1/2、1/4になるについてアンダー1段、アンダー2段と表現する。
画像の明るさ(L)は照明条件(EV)、絞り値(AV)、シャッター速度(TV)、ISO感度(SV)が与えられた場合に以下の式4で算出される。
L=(EV+SV)-(AV+TV)・・・(式4)
In addition, images that are intentionally taken dark are expressed as underexposed (M steps). The M value is expressed as underexposed 1 step and underexposed 2 steps when the brightness (luminance value) is 1/2 and 1/4 of the standard brightness of the image.
The brightness (L) of an image is calculated by the following formula 4 when the illumination condition (EV), aperture value (AV), shutter speed (TV), and ISO sensitivity (SV) are given.
L=(EV+SV)-(AV+TV)...(Formula 4)

Lが0となる場合、撮影画像は適正な明るさになる。背景が付加された画像は被写体モデル、背景物体ともに明るさは適正で出力される為Lが0の場合は明るさの調整は行わない。
Lが0より大きな値となる場合は、撮影画像はオーバーL段の明るさになる。この場合は背景が付加された画像の各画素の輝度値Y(x、y)を以下の式5を用いて輝度値Y‘(x、y)に変換する。
Y‘(x,y)=2*Y(x,y) ・・・(式5)
When L is 0, the captured image has appropriate brightness. In an image with a background added, both the subject model and the background object are output with appropriate brightness, so when L is 0, no brightness adjustment is performed.
When L is a value greater than 0, the captured image will be over L levels brighter. In this case, the luminance value Y(x, y) of each pixel in the image to which the background has been added is converted to a luminance value Y'(x, y) using the following Equation 5.
Y'(x,y)=2 L *Y(x,y)...(Formula 5)

Lが負の値となる場合、撮影画像はアンダーL段の明るさになる。この場合は背景が付加された画像の各画素の輝度値Y(x,y)を以下の式6を用いて輝度値Y‘(x,y)に変換する。
Y‘(x,y)=(1/2|L|)*Y(x,y)・・・(式6)
上記のように、シミュレーション画像生成手段は、入力された撮影条件をもとに、前記シミュレーション画像の明るさを調整することができ、撮影条件に応じて画像の明るさを調整した画像をシミュレーション画像として出力する。
When L is a negative value, the captured image will be L steps below the brightness level. In this case, the luminance value Y(x, y) of each pixel in the image to which the background has been added is converted to a luminance value Y'(x, y) using the following Equation 6.
Y'(x,y)=(1/2 |L| )*Y(x,y)...(Formula 6)
As described above, the simulation image generating means can adjust the brightness of the simulation image based on the input shooting conditions, and outputs an image with the brightness adjusted in accordance with the shooting conditions as a simulation image.

図18は明るさ調整されたシミュレーション画像の一例を示す図である。
図18では、照明条件が屋外曇天(EV12)、絞り値F4.0(AV4)、シャッター速度1/500(TV9)、ISO感度100(SV0)の場合の画像の明るさを調整したシミュレーション画像の例を示す。
画像の明るさLはー1(アンダー1段)となるため、図17の画像に対して、画面全体の明るさ(輝度値)が半減した画像となる。
FIG. 18 is a diagram showing an example of a simulation image whose brightness has been adjusted.
FIG. 18 shows an example of a simulation image in which the brightness of the image is adjusted under the lighting conditions of outdoor cloudy weather (EV12), aperture value F4.0 (AV4), shutter speed 1/500 (TV9), and ISO sensitivity 100 (SV0).
Since the brightness L of the image is −1 (one step under), the brightness (luminance value) of the entire screen is reduced by half compared to the image in FIG.

尚、本実施例では全画像に対して一律の明るさ調整を実施したが、被写体毎の反射率を考慮して明るさを調整してもよい。その場合、被写体や背景物体の反射率については被写体モデルや情報入力手段100に入力された会場の背景情報に反射率を紐づけておけばよい。 In this embodiment, a uniform brightness adjustment was performed on all images, but the brightness may be adjusted taking into account the reflectance of each subject. In this case, the reflectance of the subject and background objects may be linked to the subject model and the background information of the venue input to the information input means 100.

また、屋外など太陽が光源となる場合は時刻によって照射角度が異なる場合がある。このような場合も光源情報として照明条件(EV値)だけでなく、時刻毎の照射角度を合わせて入力しておくことで被写体の影や、顔の明るさなどを精細に再現することができる。
被写体毎の反射率や光源の照射角度を考慮した明るさ調整の方法に関しては、光線追跡法やフォトンマッピング法などの公知の技術を用いれば良く、ここでは詳細は言及しない。
In addition, when the sun is the light source, such as outdoors, the irradiation angle may vary depending on the time of day. In such cases, by inputting not only the lighting conditions (EV value) but also the irradiation angle for each time of day as light source information, it is possible to precisely reproduce the shadows of the subject and the brightness of the face.
Regarding the method of adjusting brightness taking into account the reflectance of each subject and the illumination angle of the light source, known techniques such as ray tracing and photon mapping may be used, and details will not be mentioned here.

続いて、ステップS1505では、ステップS1504で明るさが調整された画像に対してボケの付加を行う。ボケを付加する前の画像のある一点P(X,Y)の画素値をP(X,Y)、ボケ付加後の値をP‘(X,Y)とすると、P’とPの関係は撮影を行うカメラに装着されたレンズの光学伝達特性を示す点像分布関数PSFを用いて以下の式7で表される。
P‘(X,Y)=P(X,Y)*PSF(F,d,D,AV)・・・(式7)
Next, in step S1505, blur is added to the image whose brightness has been adjusted in step S1504. If the pixel value of a point P(X,Y) on the image before blurring is P(X,Y) and the value after blurring is P'(X,Y), the relationship between P' and P is expressed by the following formula 7 using a point spread function PSF that indicates the optical transfer characteristic of the lens attached to the camera that takes the image.
P'(X,Y)=P(X,Y)*PSF(F,d,D,AV)...(Formula 7)

ここでFは焦点距離(撮影画角)、dは撮影位置から主被写体(ピントを合わせる被写体)までの距離、Dは撮影位置から背景物体までの距離、AVは絞り値である。
主被写体および背景物体までの距離については撮影時刻と撮影位置が決まれば、図2の会場レイアウトおよび図5のイベントプログラム情報等から一意に算出される。上記の式7の演算をシミュレーション画像の全ての画素について実施することで背景ボケが付加されたシミュレーション画像を得ることができる。
Here, F is the focal length (photographing angle of view), d is the distance from the photographing position to the main subject (the subject to be focused on), D is the distance from the photographing position to the background object, and AV is the aperture value.
Once the shooting time and shooting position are determined, the distances to the main subject and background objects can be uniquely calculated from the venue layout in Fig. 2 and the event program information in Fig. 5. By performing the calculation of Equation 7 above for all pixels in the simulation image, a simulation image with background blur added can be obtained.

このように、本実施例では、シミュレーション画像生成手段は、入力された撮影条件をもとに、シミュレーション画像の主被写体や背景画像等の少なくとも1つにボケを付加することができる。
一般的にカメラに装着されたレンズの焦点距離、絞り値が同じであれば、被写体までの距離と背景物体までの距離の差が大きくなるほどボケ量は大きくなる。また被写体までの距離と背景物体までの距離が同じであれば、カメラに装着されたレンズの焦点距離が長いほど、絞り値については値が小さいほどボケ量は大きくなる。
In this manner, in this embodiment, the simulation image generating means can add blur to at least one of the main subject and background image of the simulation image based on the input photographing conditions.
Generally, if the focal length and aperture value of the lens attached to the camera are the same, the greater the difference between the distance to the subject and the distance to the background object, the greater the amount of blur. Also, if the distance to the subject and the distance to the background object are the same, the longer the focal length of the lens attached to the camera and the smaller the aperture value, the greater the amount of blur.

図19は背景ボケが付加されたシミュレーション画像の一例を示す図である。
図19ではピント位置である主被写体1901に対して後ろを走る被写体1902、1903にボケが付加される。ボケの量に関して、主被写体1901との距離が大きい1903のほうが1902より大きなボケが付加されている。同様に背景物体1904、1905に対しても主被写体1901との距離に応じたボケが付加されている。
FIG. 19 is a diagram showing an example of a simulation image to which background blur has been added.
19, blur is added to objects 1902 and 1903 running behind a main object 1901, which is the focus position. In terms of the amount of blur, a larger amount of blur is added to object 1903, which is farther away from the main object 1901, than object 1902. Similarly, blur is added to background objects 1904 and 1905 according to their distance from the main object 1901.

続いて評価手段103について説明する。評価手段103は、シミュレーション画像生成手段102で生成されたシミュレーション画像と、情報入力手段100で入力、選択された所望の撮影画像との類似度を評価する。
図20は類似度算出のフローチャートであり、評価手段103による類似度の評価を図20のフローチャートを用いて説明する。
まずステップS2001で、評価手段103は、シミュレーション画像中の人物領域について人数の類似度(Mn)、顔の位置の類似度(Mp)を算出する。また、顔のサイズの類似度(Ms)、顔の向きの類似度(Md)、顔の明るさの類似度(Ml)、ボケ量の類似度(Mb)を算出する。
Next, a description will be given of the evaluation means 103. The evaluation means 103 evaluates the similarity between the simulation image generated by the simulation image generation means 102 and the desired photographed image input and selected by the information input means 100.
FIG. 20 is a flow chart showing the calculation of the similarity. The evaluation of the similarity by the evaluation means 103 will be described with reference to the flow chart of FIG.
First, in step S2001, the evaluation unit 103 calculates the number of people similarity (Mn) and face position similarity (Mp) for the person area in the simulation image, as well as the face size similarity (Ms), face direction similarity (Md), face brightness similarity (Ml), and blur amount similarity (Mb).

被写体人数の類似度(Mn)は、シミュレーション画像中の被写体人数をn、所望の撮影画像に紐付けられた被写体人数をmとした場合に、m-nの絶対値を人数差分と定義する。この人数差分から類似度を求める。
図21は類似度算出用グラフの一例を示す図であり、図21(A)に人数差分を横軸に、類似度を縦軸にしたグラフを示す。図21(A)は人数差分が大きい程類似度が直線的に小さくなるグラフになっているが、これは一例であり、曲線であってもかまわない。
The similarity (Mn) of the number of subjects is defined as the absolute value of m-n, where n is the number of subjects in the simulation image and m is the number of subjects linked to the desired captured image. The similarity is calculated from this difference in the number of subjects.
Fig. 21 shows an example of a graph for calculating similarity, and Fig. 21(A) shows a graph with the difference in the number of people on the horizontal axis and the similarity on the vertical axis. Fig. 21(A) shows a graph in which the larger the difference in the number of people is, the smaller the similarity becomes linearly, but this is just an example and a curve may also be used.

顔の位置の類似度(Mp)は、シミュレーション画像中の被写体の顔の中心の位置(Xc,Yc)と、所望の撮影画像に紐付けられた顔の中心の位置(Xs,Ys)とのユークリッド距離を求め、このユークリッド距離から類似度を求める。図21(B)にユークリッド距離を横軸に、類似度を縦軸にしたグラフに示す。 The similarity of face positions (Mp) is calculated by finding the Euclidean distance between the center position (Xc, Yc) of the subject's face in the simulation image and the center position (Xs, Ys) of the face linked to the desired captured image, and then calculating the similarity from this Euclidean distance. Figure 21 (B) shows a graph with the Euclidean distance on the horizontal axis and the similarity on the vertical axis.

図21(B)のグラフに示したカーブは一例であり、別の形状であってもかまわない。シミュレーション画像と所望の撮影画像に複数の顔が含まれる場合は、最もユークリッド距離が小さくなる組み合わせでペアリングを行い、それぞれの顔の位置の類似度を算出する。算出されたそれぞれの顔の位置の類似度の平均値を画像全体の顔の位置の類似度(Mp)とする。 The curve shown in the graph of FIG. 21(B) is an example, and other shapes may be used. If the simulation image and the desired captured image contain multiple faces, pairing is performed with a combination that provides the smallest Euclidean distance, and the similarity of each face position is calculated. The average value of the calculated similarities of each face position is set as the similarity of the face position for the entire image (Mp).

顔のサイズの類似度(Ms)は、顔の中心からの半径で示される顔のサイズを用いて計算する。シミュレーション画像中の被写体の顔のサイズをRc、所望の撮影画像に紐付けられた顔のサイズをRsとする場合に、Rs-Rcの絶対値を顔のサイズ差Rdと定義する。図21(C)に顔のサイズ差Rdを横軸に、類似度を縦軸にしたグラフを示す。 The similarity in face size (Ms) is calculated using the face size indicated by the radius from the center of the face. If the face size of the subject in the simulation image is Rc and the face size associated with the desired captured image is Rs, then the absolute value of Rs-Rc is defined as the face size difference Rd. Figure 21 (C) shows a graph with the face size difference Rd on the horizontal axis and the similarity on the vertical axis.

図21(C)のグラフに示したカーブは一例であり、別の形状であってもかまわない。シミュレーション画像と所望の撮影画像に複数の顔が含まれる場合は、前記顔の位置の類似度算出の際にペアリングした組み合わせで、それぞれの顔のサイズの類似度を算出する。算出されたそれぞれの顔のサイズの類似度の平均値を画像全体の顔のサイズの類似度(Ms)とする。 The curve shown in the graph of FIG. 21(C) is an example, and other shapes are acceptable. If the simulation image and the desired captured image contain multiple faces, the similarity in the size of each face is calculated for each paired combination when calculating the similarity in the face positions. The average value of the calculated similarity in the size of each face is set as the face size similarity (Ms) for the entire image.

顔の向きの類似度(Md)は、シミュレーション画像中の被写体の顔の向きと、所望の撮影画像に紐付けられた顔の向きとを、それぞれ三次元空間上の方向ベクトルとして、類似性を評価する。
図22は顔の向きに関する類似度算出方法の例を説明する図である。例えば、図22に示すように、着目している顔の中心座標を含むX-Y平面900を切り出し、顔の向きを示すベクトルをその平面上に投影し、投影したベクトルが向いている方向を求める。シミュレーション画像中の被写体の顔の向きと、所望の撮影画像に紐付けられた顔の向きとを重ね合わせ、それら2つのベクトルが成す角の小さい方の角を求める。
The similarity (Md) of the face direction is evaluated by considering the face direction of the subject in the simulation image and the face direction associated with the desired captured image as directional vectors in three-dimensional space.
Fig. 22 is a diagram for explaining an example of a method for calculating similarity regarding face orientation. For example, as shown in Fig. 22, an XY plane 900 including the center coordinates of a face of interest is extracted, a vector indicating the face orientation is projected onto the plane, and the direction in which the projected vector faces is determined. The face orientation of the subject in the simulation image is superimposed on the face orientation associated with the desired captured image, and the smaller angle between the two vectors is determined.

角度の差の絶対値は0°~360°となるが、180°を超えた場合は、360°から引いた角度にすることにより前記小さい方の角を求められる。前記小さい方の角の値0°~180°を100%~0%に対応させることでX-Y平面900における類似度となる。X-Z平面901についても同様に類似度を求め、X-Y平面900における類似度と、X-Z平面901における類似度を掛け合わせた値を当該2つの顔の向きの類似度とする。 The absolute value of the angle difference is between 0° and 360°, but if it exceeds 180°, the smaller angle is found by subtracting the angle from 360°. The smaller angle value of 0° to 180° corresponds to 100% to 0%, which becomes the similarity on the X-Y plane 900. The similarity is similarly found for the X-Z plane 901, and the similarity on the X-Y plane 900 and the similarity on the X-Z plane 901 are multiplied together to obtain the similarity between the orientations of the two faces.

シミュレーション画像と所望の撮影画像に複数の顔が含まれる場合は、前記顔の位置の類似度算出の際にペアリングした組み合わせで、それぞれの顔の向きの類似度を算出する。算出されたそれぞれの顔の向きの類似度の平均値を画像全体の顔の向きの類似度(Md)とする。
顔の向きのベクトルのなす角度を横軸に、類似度を縦軸にしたグラフを図21(D)に示す。図21(D)のグラフに示したカーブは一例であり、別の形状であってもかまわない。
When multiple faces are included in the simulation image and the desired captured image, the similarity of the orientation of each face is calculated for each pair of faces that were paired when the similarity of the face positions was calculated. The average value of the calculated similarities of the orientation of each face is set as the similarity (Md) of the orientation of the face for the entire image.
A graph in which the angle between the vectors of the face direction is plotted on the horizontal axis and the similarity is plotted on the vertical axis is shown in Fig. 21(D). The curve shown in the graph in Fig. 21(D) is just an example, and other shapes may be used.

顔の明るさの類似度(Ml)は、シミュレーション画像中の被写体の顔の明るさの平均値Lsと、所望の撮影画像に紐付けられた顔の明るさの平均値Lrとの差分から類似度を求める。Ls-Lrの絶対値を顔の明るさの差Ldと定義する。Ldの取り得る範囲は輝度値を8bitで表現する場合0から255までの値となる。顔の明るさの差Ldを横軸に、類似度を縦軸にしたグラフを図21(E)に示す。 The similarity in facial brightness (Ml) is calculated from the difference between the average facial brightness Ls of the subject in the simulation image and the average facial brightness Lr associated with the desired captured image. The absolute value of Ls-Lr is defined as the facial brightness difference Ld. When brightness values are expressed in 8 bits, the possible range of Ld is from 0 to 255. Figure 21 (E) shows a graph with the facial brightness difference Ld on the horizontal axis and the similarity on the vertical axis.

なお、図21(E)のグラフに示したカーブは一例であり、別の形状であってもかまわない。
シミュレーション画像と所望の撮影画像に複数の顔が含まれる場合は、前記顔の位置の類似度算出の際にペアリングした組み合わせで、それぞれの顔の明るさの類似度を算出する。算出されたそれぞれの顔の明るさの類似度の平均値を画像全体の顔の明るさの類似度(Ml)とする。
It should be noted that the curve shown in the graph of FIG. 21E is merely an example, and a different shape may also be used.
When multiple faces are included in the simulation image and the desired captured image, the brightness similarity of each face is calculated for each pair of faces that were paired when the face position similarity was calculated. The average value of the calculated brightness similarities of each face is set as the brightness similarity (Ml) of the face in the entire image.

ボケ量の類似度(Mb)は、シミュレーション画像中の被写体の顔のボケ量Bsと所望の撮影画像に紐付けられた顔のボケ量Brとの差分から類似度を求める。
図23はボケ量検出用2次元フィルター特性の一例を示す図である。
ボケ量は、顔の輪郭部の画素値P(i、j)に対して図23のような重み付け特性の2次元の高域抽出BPFフィルター処理を実施し、抽出した高域成分を参照した顔の輪郭部の画素数(N)で除算した値の逆数で定義する。
The degree of similarity (Mb) of the amount of blur is calculated from the difference between the amount of blur Bs of the subject's face in the simulation image and the amount of blur Br of the face associated with the desired photographed image.
FIG. 23 is a diagram showing an example of a two-dimensional filter characteristic for detecting the amount of blur.
The amount of blur is defined as the inverse of the value obtained by performing a two-dimensional high-frequency extraction BPF filter process with weighting characteristics as shown in Figure 23 on the pixel values P(i, j) of the facial contour, and dividing the extracted high-frequency components by the number of pixels (N) of the facial contour.

例えば以下の式7のように表される。
Br=N/ΣP(i、j)*BPF・・・(式7)
Bs-Brの絶対値を顔のボケ量の差Bdと定義する。顔のボケ量の差Bdを横軸に、類似度を縦軸にしたグラフを図21(F)に示す。
For example, it is expressed as in Equation 7 below.
Br=N/ΣP(i,j)*BPF...(Formula 7)
The absolute value of Bs-Br is defined as the difference Bd in the amount of blur between the faces. A graph in which the horizontal axis represents the difference Bd in the amount of blur between the faces and the vertical axis represents the degree of similarity is shown in FIG.

図21(F)のグラフに示したカーブは一例であり、別の形状であってもかまわない。シミュレーション画像と所望の撮影画像に複数の顔が含まれる場合は、前記顔の位置の類似度算出の際にペアリングした組み合わせで、それぞれの顔のボケ量の類似度を算出する。算出されたそれぞれの顔のボケ量の類似度の平均値を画像全体の顔のボケ量の類似度(Mb)とする。 The curve shown in the graph of FIG. 21(F) is an example, and may have a different shape. If the simulation image and the desired captured image contain multiple faces, the similarity of the amount of blur for each face is calculated for the combination paired when calculating the similarity of the face positions. The average value of the calculated similarity of the amount of blur for each face is set as the similarity (Mb) of the amount of blur for the faces in the entire image.

続いてステップS2002で評価手段103は、シミュレーション画像中の背景物体について数の類似度(M‘n)、位置の類似度(M’p)、サイズの類似度(M’s)、向きの類似度(M’d)、明るさの類似度(M’l)、ボケ量の類似度(M’b)を算出する。類似度の算出方法についてはステップS2001の人物領域の類似度算出と同様である。背景物体が複数ある場合もステップS2001と同様にそれぞれの背景物体の類似度を算出した後平均値を算出し、その値を背景物体の類似度とする。 Next, in step S2002, the evaluation means 103 calculates the number similarity (M'n), position similarity (M'p), size similarity (M's), orientation similarity (M'd), brightness similarity (M'l), and blur amount similarity (M'b) for the background objects in the simulation image. The method of calculating the similarity is the same as for calculating the similarity of the person area in step S2001. When there are multiple background objects, the similarity of each background object is calculated as in step S2001, and then the average value is calculated, and this value is used as the similarity of the background objects.

続いてステップS2003で評価手段103は、ステップS2001、ステップS2002で算出された人物領域、背景領域の各項目の類似度を用いて、画像全体の類似度Mtotalを以下の式8で算出する。
Mtotal=Kn*Mn+Kp*Mp+Ks*Ms
+Kd*Md+Kl*Ml+Kb*Mb
+K‘n*M’n+K‘p*M’p+K‘s*M’s
+K‘d*M’d+K‘l*M’l+K‘b*M’b・・(式8)
Next, in step S2003, the evaluation unit 103 calculates a similarity Mtotal of the entire image using the similarity of each item of the person area and background area calculated in steps S2001 and S2002 according to the following formula 8.
Mtotal=Kn*Mn+Kp*Mp+Ks*Ms
+Kd*Md+Kl*Ml+Kb*Mb
+K'n*M'n+K'p*M'p+K's*M's
+K'd*M'd+K'l*M'l+K'b*M'b... (Formula 8)

ここで、Kn、Kp、Ks、Kd、Kl、Kbはそれぞれ人物領域の各項目の類似度に対して重みを調整するための係数であり、K‘n、K’p、K‘s、K’d、K‘l、K’bはそれぞれ背景領域の各項目の類似度に対して重みを調整するための係数である。 Here, Kn, Kp, Ks, Kd, Kl, and Kb are coefficients for adjusting the weights for the similarity of each item in the person region, and K'n, K'p, K's, K'd, K'l, and K'b are coefficients for adjusting the weights for the similarity of each item in the background region.

図24は類似度算出用重み係数の一例を示す図であり、図24の例のように被写体の人数、位置、サイズ、向きの係数Kn、Kp、Ks、Kdを明るさKb、ボケ量Kbより大きくすることで、より構図に重点をおいた類似度評価を行うことができる。また人物領域の係数を背景物体の係数より大きくすることで、より人物に重点をおいた類似度評価を行うことができる。 Figure 24 shows an example of weighting coefficients for similarity calculation. As in the example of Figure 24, by making the coefficients Kn, Kp, Ks, and Kd for the number of subjects, position, size, and orientation larger than the brightness Kb and the amount of blur Kb, it is possible to perform a similarity evaluation that places more emphasis on the composition. Also, by making the coefficient for the person area larger than the coefficient for the background object, it is possible to perform a similarity evaluation that places more emphasis on people.

これらの係数は所望の撮影画像のそれぞれ特性に応じて紐づけし設定しておくことで、画像毎に適した類似度の評価が行えるようになる。なお、本実施例では被写体の顔領域に着目して類似度を算出したが、同様の方法で被写体全身のサイズ、位置、向き、ポーズについて類似度を算出してもよい。さらに、明るさの類似度算出と同様の方法を各画素の色成分毎に適用することで色味を含めた類似度の評価が可能である。 By linking and setting these coefficients according to the characteristics of each desired captured image, it becomes possible to perform an appropriate similarity evaluation for each image. Note that in this embodiment, the similarity is calculated focusing on the facial area of the subject, but similarity may also be calculated for the size, position, orientation, and pose of the subject's entire body using a similar method. Furthermore, it is possible to evaluate similarity including color by applying a method similar to that used to calculate brightness similarity to each color component of each pixel.

このように、所望の撮影画像に顔の色情報や色温度情報等も紐づけして保存しておくことによって顔の色の類似度や色温度情報も類似度の評価対象に加えるようにしてもよい。
即ち、評価手段は、シミュレーション画像と所望の撮影画像中における、被写体の数、被写体の位置、被写体のサイズ、被写体の向き、被写体の明るさ、背景画像、背景のボケ量、色等の少なくとも2つについてそれぞれ類似度を算出するようにしてもよい。
In this way, by linking face color information, color temperature information, and the like to a desired photographed image and storing it, the similarity of face color and color temperature information may also be included in the similarity evaluation.
That is, the evaluation means may calculate the similarity between the simulation image and the desired captured image for at least two of the following: the number of subjects, the position of the subjects, the size of the subjects, the orientation of the subjects, the brightness of the subjects, the background image, the amount of background blur, and color.

続いて通知手段104の処理の詳細について説明する。
通知手段104は評価手段103で算出された類似度(Mtotal)と予め設定された閾値(Th)の比較を行い、MtotalがThより大きい場合に、ユーザーにシミュレーション画像とその生成の際に使用された撮影条件をユーザーに通知する。また、MtotalがThより大きくない場合には、類似度が低いこと或いは類似度の高い画像がシミュレーション画像の中に存在しないことをユーザーに通知してもよい。通知の方法としてはユーザー端末の表示装置への出力、印刷による出力、外部メディアあるいはネットワークに接続される機器へのデータ出力等が挙げられる。
Next, the process of the notification means 104 will be described in detail.
The notification means 104 compares the similarity (Mtotal) calculated by the evaluation means 103 with a preset threshold value (Th), and if Mtotal is greater than Th, notifies the user of the simulation image and the shooting conditions used to generate it. If Mtotal is not greater than Th, the user may be notified that the similarity is low or that no image with a high similarity exists in the simulation image. Notification methods include output to a display device of the user terminal, output by printing, data output to an external medium or a device connected to a network, etc.

続いて制御手段105による撮影条件評価処理の詳細について説明する。制御手段105は前記情報入力手段100に入力された、イベントプログラム情報、撮影情報、所望の撮影画像、会場の背景情報、光源情報等の各情報に基づいて、種々の条件で仮想空間を撮影した際に得られるシミュレーション画像の評価を順次実施する。そして、評価結果を通知する。 Next, the details of the shooting condition evaluation process performed by the control means 105 will be described. The control means 105 sequentially evaluates the simulation images obtained when the virtual space is photographed under various conditions based on the various information input to the information input means 100, such as event program information, shooting information, desired photographed image, venue background information, light source information, etc. Then, it notifies the user of the evaluation results.

図25はシミュレーション装置の撮影条件評価処理のためのフローの一例を示すフローチャートであり、図25を用いて評価の順次実施の例について説明する。
ステップS2501~ステップS2502は、様々な撮影条件を所定ステップずつ振って変化させる(スキャンする)ためのループである。なお、図25では、時刻、位置、方向、焦点距離を振る撮影条件としていて、それぞれ時刻はT、位置はP、方向はD、焦点距離はFで示している。この例では順番に総当たりで振っているが、撮影条件の振り方の順に関しては限定されない。何らかのアルゴリズムで効率的に必要な条件だけ振ってもよい。
FIG. 25 is a flow chart showing an example of a flow for the imaging condition evaluation process of the simulation device, and an example of sequential execution of evaluation will be described with reference to FIG.
Steps S2501 to S2502 are a loop for varying (scanning) various shooting conditions by assigning them in predetermined steps. In Fig. 25, the shooting conditions are time, position, direction, and focal length, and are indicated by T for time, P for position, D for direction, and F for focal length, respectively. In this example, they are assigned in order in a brute force manner, but the order in which the shooting conditions are assigned is not limited. It is also possible to assign only the necessary conditions efficiently using some algorithm.

ステップS2501はT(時刻)をT0~TNの範囲で網羅的に評価するためのループ、ステップS2502はP(位置)をP0~PNの範囲で網羅的に評価するためのループである。また、ステップS2503はD(方向)をD0~DNの範囲で網羅的に評価するためのループ、ステップS2504はF(焦点距離)をF0~FNの範囲で網羅的に評価するためのループである。また、ステップS2505はAV(絞り値)をAV0~AVNの範囲で網羅的に評価するためのループである。 Step S2501 is a loop for comprehensively evaluating T (time) in the range of T0 to TN, and step S2502 is a loop for comprehensively evaluating P (position) in the range of P0 to PN. Step S2503 is a loop for comprehensively evaluating D (direction) in the range of D0 to DN, and step S2504 is a loop for comprehensively evaluating F (focal length) in the range of F0 to FN. Step S2505 is a loop for comprehensively evaluating AV (aperture value) in the range of AV0 to AVN.

ステップS2506はTV(シャッター速度)をTV0~TVNの範囲で網羅的に評価するためのループ、ステップS2507はSV(ISO感度)をSV0~SVNの範囲で網羅的に評価するためのループである。
また、ステップS2508はループ変数Tに基づいた条件で仮想空間構築手段101が仮想空間を構築する処理である。また、ステップS2509はループ変数P、D、F、AV、TV、SVに基づいた撮影条件で撮影した場合のシミュレーション画像を生成する処理である。
Step S2506 is a loop for comprehensively evaluating TV (shutter speed) in the range of TV0 to TVN, and step S2507 is a loop for comprehensively evaluating SV (ISO sensitivity) in the range of SV0 to SVN.
In step S2508, the virtual space construction means 101 constructs a virtual space under conditions based on the loop variable T. In step S2509, a simulation image is generated when shooting is performed under shooting conditions based on the loop variables P, D, F, AV, TV, and SV.

ステップS2510は評価手段103がステップS1709で生成されたシミュレーション画像と所望の撮影画像との評価値を算出する。
ステップS2511およびステップS2512はステップS2510で算出された評価結果を基に、通知手段104がシミュレーション画像と撮影条件をユーザーに通知する処理である。
即ち、類似度が所定値以上の場合に、前記シミュレーション画像とそれに対応する撮影条件をユーザーに通知する。
In step S2510, the evaluation unit 103 calculates an evaluation value between the simulation image generated in step S1709 and the desired captured image.
Steps S2511 and S2512 are processes in which the notification means 104 notifies the user of a simulation image and shooting conditions based on the evaluation result calculated in step S2510.
That is, if the similarity is equal to or greater than a predetermined value, the simulation image and the corresponding photographing conditions are notified to the user.

ステップS2513からステップS2519は時刻T、位置P、方向D、焦点距離F、絞り値AV、シャッター速度TV、ISO感度SVに関するループ処理の継続判定を表しており、全ての条件が網羅されるまでステップS2508からステップS2512までの処理が繰り返される。 Steps S2513 to S2519 represent a determination of whether to continue the loop processing for time T, position P, direction D, focal length F, aperture value AV, shutter speed TV, and ISO sensitivity SV, and the processing from steps S2508 to S2512 is repeated until all conditions are covered.

このように本実施例によれば、シミュレーションを用いて、所望の撮影画像を得るための撮影条件を自動で振って評価し抽出できる為、事前に現場に多数の撮影機材を持ち込まなくても、より正確に所望の撮影画像を得るための撮影条件を抽出できる。
このように、所望の撮影画像に応じて、被写体の数、被写体の位置、被写体のサイズ、被写体の向き、被写体の明るさ、背景画像、背景のボケ量、被写体の色等の少なくとも2つについてそれぞれ類似度を算出する。
As described above, according to this embodiment, the shooting conditions for obtaining a desired photographic image can be automatically assigned, evaluated, and extracted using simulation, so that the shooting conditions for obtaining a desired photographic image can be extracted more accurately without having to bring a large amount of photographic equipment to the site in advance.
In this way, depending on the desired captured image, the similarity is calculated for at least two of the number of subjects, the position of the subject, the size of the subject, the orientation of the subject, the brightness of the subject, the background image, the amount of background blur, and the color of the subject.

そして類似度を人物領域と背景領域で異なる重みを用いて評価する。即ち、評価手段は、算出された少なくとも2つの類似度に対して重みづけをして加算した評価値を算出することで、より効果的に所望の撮影画像に近い画像を得るための撮影条件を抽出することが可能となる。
従って、予めどの位置でどのような撮影条件で撮影すればよいかがわかるので撮影作業の効率化が実現できる。また、所望の画像を得るために必要な撮影機材もわかるので無駄な撮影機材を持ち込む必要もなくなる。
The similarity is evaluated using different weights for the person region and the background region. That is, the evaluation means calculates an evaluation value by weighting and adding at least two calculated similarities, thereby making it possible to extract shooting conditions for more effectively obtaining an image close to a desired shot image.
Therefore, since it is possible to know in advance what position and under what shooting conditions the image should be taken, the efficiency of the image taking work can be improved. Also, since the image taking equipment required to obtain the desired image is known, it is not necessary to bring in unnecessary image taking equipment.

続いて本発明の第2の実施例について説明する。
実施例2ではシミュレーション装置に撮影機材の情報を入力することで、所望の撮影画像を得るための撮影条件に加えて、最適な撮影機材の組み合わせを予め抽出できるようにする。
Next, a second embodiment of the present invention will be described.
In the second embodiment, by inputting information about the photographic equipment into the simulation device, it becomes possible to extract in advance the optimum combination of photographic equipment in addition to the photographic conditions for obtaining a desired photographic image.

基本的な構成は実施例1と同じであるが、情報入力手段100は撮影機材に関する情報を追加で入力可能としている。
撮影機材に関する情報は、カメラのセンサーサイズ(撮像素子の受光面のサイズ)、シャッター速度、ISO感度、レンズの焦点距離、絞り値等を含む。
The basic configuration is the same as in the first embodiment, but the information input means 100 allows additional input of information relating to photographic equipment.
The information about the photographing equipment includes the camera's sensor size (the size of the light receiving surface of the image sensor), shutter speed, ISO sensitivity, lens focal length, aperture value, and the like.

撮影機材に関する情報は、複数のカメラ、複数のレンズについての情報が入力される。また、撮影機材に関する情報は、ユーザーが所持しているカメラ、レンズの情報を入力してもよいし、レンタルサービス等で借りることのできるカメラ、レンズの情報を入力してもよい。また、購入を検討しているカメラ、レンズの情報を入力してもよい。撮影機材に関する情報は、予め情報入力手段に複数のカメラ、レンズの情報をプリセットとして用意しておいて、プリセットの中から選択してもよい。 As information on photographic equipment, information on multiple cameras and multiple lenses is input. As information on photographic equipment, the user may input information on cameras and lenses that he or she owns, or information on cameras and lenses that can be rented from a rental service, etc. Alternatively, information on cameras and lenses that the user is considering purchasing may be input. As information on photographic equipment, information on multiple cameras and lenses may be prepared as presets in the information input means in advance, and the information may be selected from the presets.

入力された撮影機材に関する情報のカメラ、レンズの組み合わせに応じて、実施例1の図9で説明した撮影条件(撮影画角、絞り値、シャッター速度、ISO感度)の取り得る範囲が決定される。例えば、
カメラ1:センサーサイズ:フルサイズ、シャッター速度:1秒~1/8000秒、ISO100~ISO51200、
カメラ2:センサーサイズ:APS-Cサイズ、シャッター速度:1秒~1/4000秒、ISO100~ISO12800、
Depending on the combination of the camera and lens in the input information on the photographing equipment, the possible ranges of the photographing conditions (photographing angle of view, aperture value, shutter speed, ISO sensitivity) described in FIG. 9 of the first embodiment are determined. For example,
Camera 1: Sensor size: Full size, Shutter speed: 1 second to 1/8000 second, ISO 100 to ISO 51200,
Camera 2: Sensor size: APS-C size, Shutter speed: 1 second to 1/4000 second, ISO 100 to ISO 12800,

レンズ1:焦点距離300mm、F値4.0、
レンズ2:焦点距離135mm、F値2.0、
という撮影機材に関する情報が与えられた場合に、例えば図26~図29のような組み合わせによる撮影条件が得られる。
Lens 1: focal length 300 mm, F value 4.0,
Lens 2: focal length 135 mm, F value 2.0,
When the above information on the photographing equipment is given, photographing conditions are obtained by combining the photographing conditions shown in, for example, FIGS.

図26は撮影情報の一例(組み合わせ1)を示す図、図27は撮影情報の一例(組み合わせ2)を示す図、図28は撮影情報の一例(組み合わせ3)を示す図、図29は撮影情報の一例(組み合わせ4)を示す図である。
ここで、組み合わせ1は、カメラ1とレンズ1の組み合わせ、組み合わせ2はカメラ1とレンズ2の組み合わせ、組み合わせ3はカメラ2とレンズ1の組み合わせ、組み合わせ4はカメラ2とレンズ2の組み合わせである。
Figure 26 is a diagram showing an example of shooting information (combination 1), Figure 27 is a diagram showing an example of shooting information (combination 2), Figure 28 is a diagram showing an example of shooting information (combination 3), and Figure 29 is a diagram showing an example of shooting information (combination 4).
Here, combination 1 is a combination of camera 1 and lens 1, combination 2 is a combination of camera 1 and lens 2, combination 3 is a combination of camera 2 and lens 1, and combination 4 is a combination of camera 2 and lens 2.

また、撮影画角はレンズの焦点距離とカメラのセンサーサイズの組み合わせに応じて決定する。センサーサイズがフルサイズの場合、センサーサイズ35mmとして換算した場合の焦点距離(mm)としてレンズの焦点距離をそのまま使用する。センサーサイズがAPS-Cの場合、センサーサイズ35mmの焦点距離に変換するために、レンズの焦点距離に1.6倍にした値を使用する。 The shooting angle of view is determined by the combination of the lens focal length and the camera's sensor size. If the sensor size is full size, the lens focal length is used as is as the focal length (mm) when converted to a 35mm sensor size. If the sensor size is APS-C, the lens focal length is multiplied by 1.6 to convert it to the focal length for a 35mm sensor size.

例えば図28に示すように、センサーサイズがAPS-Cの場合、レンズ1の焦点距離300mmを1.6倍した480mmを撮影画角の焦点距離として使用する。なお、1.6倍という数値は一例であり、センサーやレンズに応じた倍率を使用する。
図30は背景が付加されたシミュレーション画像の一例(フルサイズ)を示す図であり、図31は背景が付加されたシミュレーション画像の一例(APS-C)を示す図である。図30と図31の撮影条件はセンサーサイズを除いて、同じ条件とする。同じレンズ(焦点距離)を使用した場合、センサーサイズがAPS-Cの方がフルサイズに比べて被写体が大きく映る。
For example, as shown in Fig. 28, when the sensor size is APS-C, the focal length of the lens 1, 300 mm, is multiplied by 1.6 to obtain 480 mm, which is used as the focal length of the shooting angle of view. Note that the value of 1.6 is just an example, and a magnification appropriate to the sensor and lens is used.
Fig. 30 is a diagram showing an example of a simulation image (full size) to which a background has been added, and Fig. 31 is a diagram showing an example of a simulation image (APS-C) to which a background has been added. The shooting conditions for Fig. 30 and Fig. 31 are the same except for the sensor size. When the same lens (focal length) is used, the subject appears larger with a sensor size of APS-C than with a full size.

また、背景のボケ量もセンサーサイズにより違いが生じる。一般的にカメラのセンサーサイズが同じであれば、焦点距離が長いレンズほど背景は大きくボケる。またレンズの焦点距離が同じであればカメラのセンサーサイズが大きいほど背景は大きくボケる。このようなセンサーサイズと焦点距離の組み合わせによる背景ボケの違いは、実施例1で説明した背景ボケの付加の式7のPSFをカメラとレンズの組み合わせに応じて変更することで、シミュレーション画像上で表現することが可能となる。 The amount of background blur also differs depending on the sensor size. Generally, if the camera sensor size is the same, the longer the focal length of the lens, the more the background will be blurred. Also, if the focal length of the lens is the same, the larger the camera sensor size, the more the background will be blurred. Such differences in background blur due to combinations of sensor size and focal length can be expressed in a simulation image by changing the PSF in Equation 7 for adding background blur, explained in Example 1, according to the combination of camera and lens.

実施例1で説明した図25のシミュレーション画像生成と評価のフローを、前記組み合わせ1~4に対して実施し、それぞれの組み合わせで算出された評価結果を集計し、比較することで所望の撮影画像を得るための最適な機材の組み合わせを抽出できる。
図32は最適な機材組み合わせを算出するためのフローの例を示すフローチャートであり、入力された撮影機材に関する情報をもとに、最適な撮影機材の組み合わせを抽出するフローを、図32を用いて説明する。
The flow of simulation image generation and evaluation in FIG. 25 described in the first embodiment is performed for the combinations 1 to 4, and the evaluation results calculated for each combination are tallied and compared to extract the optimal combination of equipment for obtaining the desired captured image.
FIG. 32 is a flowchart showing an example of a flow for calculating an optimal equipment combination. A flow for extracting an optimal combination of photographing equipment based on input information on the photographing equipment will be described with reference to FIG.

まずステップS3201で、制御手段105は撮影機材に関する情報から図26~図29に示したように、カメラとレンズの組み合わせに対応する撮影条件を生成する。
続いてステップS3202で制御手段105は生成された組み合わせ毎に、実施例1の図25で説明したシミュレーション画像生成および評価の一連の処理を実施する。
例えば、組み合わせ1について図25のフローを実施した場合を説明する。
ステップS2501~ステップS2502は、様々な撮影条件を振るためのループである。
First, in step S3201, the control unit 105 generates shooting conditions corresponding to the combination of camera and lens from information related to the photographic equipment as shown in FIGS.
Next, in step S3202, the control unit 105 executes a series of processes for generating and evaluating a simulation image, which has been described with reference to FIG. 25 in the first embodiment, for each of the generated combinations.
For example, a case where the flow of FIG. 25 is performed for combination 1 will be described.
Steps S2501 and S2502 form a loop for setting various shooting conditions.

図25では、時刻、位置、方向、焦点距離を振る(スキャンする)撮影条件としており、それぞれ時刻はT、位置はP、方向はD、焦点距離はFで示している。この例では順番に総当たりで振っているが、撮影条件の振り方の順に関してはこれに限定されない。何らかのアルゴリズムで効率的に必要な条件だけ振ってもよい。
ステップS2501はT(時刻)をT0~TNの範囲で網羅的に評価するためのループ、ステップS2502はP(位置)をP0~PNの範囲で網羅的に評価するためのループである。また、ステップS2503はD(方向)をD0~DNの範囲で網羅的に評価するためのループである。
In Fig. 25, the time, position, direction, and focal length are assigned (scanned) as shooting conditions, where time is indicated by T, position by P, direction by D, and focal length by F. In this example, they are assigned in order in a brute force manner, but the order in which the shooting conditions are assigned is not limited to this. It is also possible to assign only the necessary conditions efficiently using some algorithm.
Step S2501 is a loop for comprehensively evaluating T (time) in the range of T0 to TN, step S2502 is a loop for comprehensively evaluating P (position) in the range of P0 to PN, and step S2503 is a loop for comprehensively evaluating D (direction) in the range of D0 to DN.

ステップS2504はF(焦点距離)をF0~FNの範囲で網羅的に評価するためのループであるが、組み合わせ1の場合のF値はF8(300mm)の1つであるため、このループは1回のみ実施される。
ステップS2505はAV(絞り値)をAV0~AVNの範囲で網羅的に評価するためのループであるが、組み合わせ1のF値はAV4(F4.0)の1つであるため、このループは1回のみ実施される。
Step S2504 is a loop for comprehensively evaluating F (focal length) in the range of F0 to FN, but since the F-value for combination 1 is only F8 (300 mm), this loop is executed only once.
Step S2505 is a loop for comprehensively evaluating AV (aperture value) in the range of AV0 to AVN, but since the F-value of combination 1 is only AV4 (F4.0), this loop is executed only once.

ステップS2506はTV(シャッター速度)をTV0~TVNの範囲で網羅的に評価するためのループ、ステップS2507はSV(ISO感度)をSV0~SVNの範囲で網羅的に評価するためのループである。またステップS2508はループ変数Tに基づいた条件で仮想空間構築手段101が仮想空間を構築する処理である。 Step S2506 is a loop for comprehensively evaluating TV (shutter speed) in the range TV0 to TVN, and step S2507 is a loop for comprehensively evaluating SV (ISO sensitivity) in the range SV0 to SVN. Step S2508 is a process in which the virtual space construction means 101 constructs a virtual space under conditions based on the loop variable T.

ステップS2509はループ変数P、D、F、AV、TV、SVに基づいた撮影条件で撮影した場合のシミュレーション画像を生成する処理である。
ステップS2510は評価手段103がステップS1709で生成されたシミュレーション画像と所望の撮影画像との評価値を算出する。
ステップS2511およびステップS2512はステップS2510で算出された評価結果を基に、通知手段104がシミュレーション画像と撮影条件をユーザーに通知する処理である。
Step S2509 is a process for generating a simulation image when shooting under shooting conditions based on the loop variables P, D, F, AV, TV, and SV.
In step S2510, the evaluation unit 103 calculates an evaluation value between the simulation image generated in step S1709 and the desired captured image.
Steps S2511 and S2512 are processes in which the notification means 104 notifies the user of a simulation image and shooting conditions based on the evaluation result calculated in step S2510.

ステップS2510からステップS2513は時刻T、位置P、方向D、焦点距離F、絞り値AV、シャッター速度TV、ISO感度SVに関するループ処理の継続判定を表しており、全ての条件が網羅されるまでステップS2508からステップS2512までの処理が繰り返される。
続いてステップS3203で制御手段105は、全ての組み合わせでシミュレーション画像生成および評価が実施されたか否かを判定する。全ての組み合わせでシミュレーション画像生成および評価が完了した場合はステップS3204に進む。
Steps S2510 to S2513 represent a determination of whether to continue loop processing regarding time T, position P, direction D, focal length F, aperture value AV, shutter speed TV, and ISO sensitivity SV, and steps S2508 to S2512 are repeated until all conditions are covered.
Next, in step S3203, the control unit 105 determines whether or not the generation and evaluation of simulation images have been performed for all combinations. If the generation and evaluation of simulation images have been completed for all combinations, the process proceeds to step S3204.

続いてステップS3204で制御手段105は、全ての組み合わせで実施されたシミュレーション画像の評価結果を集計する。
図33は機材組み合わせ毎のスコア算出の例を示す図であり、図33に示すようにカメラレンズの組み合わせ1~4に対して、所望の撮影画像毎のスコアとその合計である総スコアを算出する。
Next, in step S3204, the control unit 105 compiles the evaluation results of the simulation images performed for all combinations.
FIG. 33 is a diagram showing an example of score calculation for each equipment combination. As shown in FIG. 33, for camera-lens combinations 1 to 4, a score for each desired captured image and a total score, which is the sum of the scores, are calculated.

ここでスコアの算出方法は、それぞれの組み合わせにおいて、ある一枚の所望の撮影画像に対して、類似度(Mtotal)が閾値(Th)以上であった場合の評価値(類似度)を積分した値となる。また総スコアはそれぞれの所望の撮影画像に対してのスコアを全て積分した値となる。総スコアが最も高い機材組み合わせを、通知手段104を介してユーザーに通知する。 The score is calculated by integrating the evaluation values (similarity) for each combination when the similarity (Mtotal) is equal to or greater than a threshold value (Th) for a given desired captured image. The total score is calculated by integrating all the scores for each desired captured image. The equipment combination with the highest total score is notified to the user via notification means 104.

以上、説明したように本実施例を用いれば、所望の撮影画像を得るための最適な撮影機材の組み合わせをユーザーに通知できる為、事前に現場に多数の撮影機材を持ち込まなくても、より正確に所望の撮影画像を得るための撮影機材を選択することができる。
また、シミュレーションを用いて、所望の撮影画像を得るための撮影条件を自動で抽出できる為、事前に現場に多数の撮影機材を持ち込まなくても、より正確に所望の撮影画像を得るための撮影条件を抽出できる。
As described above, by using this embodiment, it is possible to notify the user of the optimum combination of photographic equipment for obtaining the desired photographic image, so that the user can more accurately select the photographic equipment for obtaining the desired photographic image without having to bring a large amount of photographic equipment to the site in advance.
In addition, since the simulation can be used to automatically extract the shooting conditions for obtaining the desired photographic image, it is possible to extract the shooting conditions for obtaining the desired photographic image more accurately without having to bring a large amount of photographic equipment to the site in advance.

さらに、所望の撮影画像に応じて、被写体の数、顔の位置とサイズ、向き、明るさ、ボケ等についての類似度を人物領域と背景領域で異なる重みを用いて評価する。それによって、より効果的に所望の撮影画像に近い画像を得るための撮影条件を抽出することが可能となる。 In addition, depending on the desired captured image, similarities in the number of subjects, face position and size, orientation, brightness, blur, etc. are evaluated using different weights for the person area and background area. This makes it possible to extract shooting conditions that will more effectively obtain an image close to the desired captured image.

続いて本発明の第3の実施例について説明する。
実施例3では、撮影機材の重量を考慮することで、ユーザーが所望する撮影機材の総重量内で最適な撮影結果が得られる撮影機材の組み合わせを抽出する方法について説明する。
基本的な構成は実施例1と同じであるが、情報入力手段100は撮影機材に関する情報として希望する重量情報も入力可能としている。
Next, a third embodiment of the present invention will be described.
In the third embodiment, a method of extracting a combination of photographic equipment that can obtain optimal photographic results within the total weight of the photographic equipment desired by the user by taking the weight of the photographic equipment into consideration will be described.
The basic configuration is the same as in the first embodiment, but the information input means 100 is capable of inputting weight information as desired information on the photographic equipment.

即ち、本実施例では、撮影機材に関する情報は、カメラのセンサーサイズ、シャッター速度、ISO感度、カメラの重量、レンズの焦点距離、絞り値、レンズの重量等を含む。希望する重量情報はユーザーが所望する撮影機材の総重量である。ここでは、例えば1,500gを入力する。 That is, in this embodiment, the information about the photographic equipment includes the camera sensor size, shutter speed, ISO sensitivity, camera weight, lens focal length, aperture value, lens weight, etc. The desired weight information is the total weight of the photographic equipment desired by the user. Here, for example, 1,500 g is input.

撮影機材に関する情報は、複数のカメラ、複数のレンズについての情報が入力される。撮影機材情報は、ユーザーが所持しているカメラ、レンズの情報を入力してもよいし、レンタルサービス等で借りることのできるカメラ、レンズの情報を入力してもよい。また、購入を検討しているカメラ、レンズの情報を入力してもよい。
撮影機材に関する情報は、予め情報入力手段に複数のカメラ、レンズの情報をプリセットとして用意しておいて、プリセットの中から選択してもよい。
The photographic equipment information is information about multiple cameras and multiple lenses. The photographic equipment information may be information about cameras and lenses that the user owns, or information about cameras and lenses that can be rented from a rental service, etc. Also, information about cameras and lenses that the user is considering purchasing may be input.
Information regarding the photographic equipment may be prepared in advance as presets for a plurality of cameras and lenses in the information input means, and the information may be selected from the presets.

入力された撮影機材に関する情報のカメラ、レンズの組み合わせに応じて、実施例1の図9で説明した撮影条件(撮影画角、絞り値、シャッター速度、ISO感度)の取り得る範囲が決定される。
例えば、
The possible ranges of the shooting conditions (shooting angle of view, aperture value, shutter speed, ISO sensitivity) described in FIG. 9 of the first embodiment are determined according to the combination of camera and lens in the input information about the shooting equipment.
for example,

カメラ1:センサーサイズ:フルサイズ、シャッター速度:1秒~1/8000秒、ISO100~ISO51200、重量:800g
カメラ2:センサーサイズ:APS-C、シャッター速度:1秒~1/4000秒、ISO100~ISO12800、400g
レンズ1:焦点距離300mm、F値4.0、重量:1100g
レンズ2:焦点距離135mm、F値2.0、重量:700g
という撮影機材に関する情報が与えられた場合、
Camera 1: Sensor size: Full size, Shutter speed: 1 second to 1/8000 second, ISO 100 to ISO 51200, Weight: 800g
Camera 2: Sensor size: APS-C, shutter speed: 1 second to 1/4000 second, ISO 100 to ISO 12800, 400g
Lens 1: focal length 300 mm, F value 4.0, weight: 1100 g
Lens 2: focal length 135 mm, F value 2.0, weight: 700 g
Given the following information about the equipment:

組み合わせ1(カメラ1+レンズ1)の撮影条件は図26示の条件となり、
組み合わせ2(カメラ1+レンズ2)の撮影条件は図27示の条件となり、
組み合わせ3(カメラ2+レンズ1)の撮影条件は図28示の条件となり、
組み合わせ4(カメラ2+レンズ2)の撮影条件は図29示の条件となる。
The shooting conditions for combination 1 (camera 1 + lens 1) are as shown in FIG.
The shooting conditions for combination 2 (camera 1 + lens 2) are as shown in FIG.
The shooting conditions for combination 3 (camera 2 + lens 1) are as shown in FIG.
The shooting conditions for combination 4 (camera 2 + lens 2) are as shown in FIG.

次に各組み合わせについての総重量を算出する。
組み合わせ1(カメラ1+レンズ1)の総重量は1,900g、
組み合わせ2(カメラ1とレンズ2)の総重量は1,500g、
組み合わせ3(カメラ2とレンズ1)の総重量は1,500g、
組み合わせ4(カメラ2とレンズ2)の総重量は1,100g、
となる。
The total weight for each combination is then calculated.
The total weight of combination 1 (1 camera + 1 lens) is 1,900g.
The total weight of combination 2 (camera 1 and lens 2) is 1,500g.
The total weight of combination 3 (camera 2 and lens 1) is 1,500g.
The total weight of combination 4 (2 cameras and 2 lenses) is 1,100 g.
It becomes.

次に各組み合わせの総重量と希望する重量情報(1,500g)を比較する。組み合わせ1の総重量は希望する重量情報より重いため、組み合わせ1についてシミュレーション画像生成から除外することを決定する。組み合わせ2~4の総重量は希望する重量情報以下のため、シミュレーション画像生成を行うことを決定する。 Next, the total weight of each combination is compared with the desired weight information (1,500 g). Because the total weight of combination 1 is heavier than the desired weight information, it is decided to exclude combination 1 from the generation of a simulation image. Because the total weights of combinations 2 to 4 are less than the desired weight information, it is decided to generate a simulation image.

実施例1で説明したシミュレーション画像生成と評価のフロー(図25)を、前記組み合わせ2~4に対して実施し、それぞれの組み合わせで算出された評価結果を集計し、比較することで所望の撮影画像を得るための最適な機材の組み合わせを抽出できる。以降、実施例2と同じため、説明を省略する。 The flow of generating and evaluating simulation images (Figure 25) explained in Example 1 is carried out for combinations 2 to 4, and the evaluation results calculated for each combination are compiled and compared to extract the optimal combination of equipment for obtaining the desired photographic image. The rest of the process is the same as in Example 2, so the explanation is omitted.

また、本実施例では各組み合わせの総重量と希望する重量情報を単純に比較したが、希望する重量情報Igと総重量Tgとの差分Mg(=Mg-Tg)に重み付け係数Kgを掛けたものを画像全体の類似度に加算して算出してもよい。この場合の類似度Mtotal2は式9で算出される。 In addition, in this embodiment, the total weight of each combination is simply compared with the desired weight information, but the difference Mg (=Mg-Tg) between the desired weight information Ig and the total weight Tg may be multiplied by a weighting coefficient Kg and added to the similarity of the entire image. In this case, the similarity Mtotal2 is calculated using Equation 9.

Mtotal2=Kn*Mn+Kp*Mp+Ks*Ms
+Kd*Md+Kl*Ml+Kb*Mb
+K‘n*M’n+K‘p*M’p+K‘s*M’s
+K‘d*M’d+K‘l*M’l+K‘b*M’b+Kg*Mg・・(式9)
Mtotal2=Kn*Mn+Kp*Mp+Ks*Ms
+Kd*Md+Kl*Ml+Kb*Mb
+K'n*M'n+K'p*M'p+K's*M's
+K'd*M'd+K'l*M'l+K'b*M'b+Kg*Mg... (Formula 9)

Kg、Mg以外は実施例1と同じため、説明を省略する。
希望する重量より総重量が重い場合、Mgは負の数値になるためMtotal2が低くなり、希望する重量より総重量が軽い場合、Mgは正の数値になるためMtotal2が高くなる。
Since the other elements than Kg and Mg are the same as those in the first embodiment, the explanation will be omitted.
If the total weight is heavier than the desired weight, Mg will be a negative value and Mtotal2 will be lower, and if the total weight is lighter than the desired weight, Mg will be a positive value and Mtotal2 will be higher.

Mtotal2と予め設定された閾値(Th)の比較を行い、Mtotal2がThより大きい場合のみ、ユーザーにシミュレーション画像とその生成の際に使用された、撮影機材に関する情報、撮影条件をユーザーに通知するようにしてもよい。即ち、通知手段は、類似度が所定値以上の場合に、カメラとレンズの組み合わせに関する情報をユーザーに通知することができる。
通知の方法としてはユーザー端末の表示装置への出力、印刷による出力、外部メディアあるいはネットワークに接続される機器へのデータ出力等が挙げられる。
Mtotal2 may be compared with a preset threshold value (Th), and only when Mtotal2 is greater than Th, the user may be notified of the simulation image and information about the photographing equipment and photographing conditions used when generating the simulation image. In other words, when the similarity is equal to or greater than a predetermined value, the notifying means may notify the user of information about the combination of camera and lens.
The notification method may be output to a display device of the user terminal, output by printing, or data output to an external medium or a device connected to a network.

以上、説明したように本実施例によれば、所望の撮影画像を得るための重量を考慮した最適な撮影機材の組み合わせをユーザーに通知できる為、事前に現場に多数の撮影機材を持ち込まなくても、より正確に所望の撮影画像を得るための撮影機材を選択できる。
また、シミュレーションを用いて、所望の撮影画像を得るための撮影条件を自動で抽出できる為、事前に現場に多数の撮影機材を持ち込まなくても、より正確に所望の撮影画像を得るための撮影条件を予め抽出できる。
As described above, according to this embodiment, the user can be notified of the optimum combination of photographic equipment taking into consideration the weight required to obtain the desired photographic image, so that the user can more accurately select the photographic equipment required to obtain the desired photographic image without having to bring a large amount of photographic equipment to the site in advance.
In addition, since the shooting conditions for obtaining the desired photographic image can be automatically extracted using simulation, the shooting conditions for obtaining the desired photographic image can be extracted in advance more accurately without having to bring a large amount of photographic equipment to the site in advance.

さらに、所望の撮影画像に応じて、被写体の数、顔の位置とサイズ、向き、明るさ、ボケについての類似度を人物領域と背景領域で異なる重みを用いて評価する。それによって、より効果的に所望の撮影画像に近い画像を得るための撮影条件を予め抽出することが可能となる。 In addition, depending on the desired captured image, the number of subjects, the position and size of the face, the direction, brightness, and the degree of similarity in the blur are evaluated using different weights for the person area and the background area. This makes it possible to extract in advance the shooting conditions that will more effectively obtain an image close to the desired captured image.

以上、本発明をその好適な実施例に基づいて詳述してきたが、本発明は上記実施例に限定されるものではなく、本発明の主旨に基づき種々の変形が可能であり、それらを本発明の範囲から除外するものではない。
なお、本実施例における制御の一部または全部を上述した実施例の機能を実現するコンピュータプログラムをネットワーク又は各種記憶媒体を介してシミュレーション装置に供給するようにしてもよい。そしてそのシミュレーション装置におけるコンピュータ(又はCPUやMPU等)がプログラムを読み出して実行するようにしてもよい。その場合、そのプログラム、及び該プログラムを記憶した記憶媒体は本発明を構成することとなる。
The present invention has been described in detail above based on its preferred embodiments, but the present invention is not limited to the above embodiments. Various modifications are possible based on the gist of the present invention, and these modifications are not excluded from the scope of the present invention.
A computer program for implementing all or part of the control in this embodiment may be supplied to the simulation device via a network or various storage media. Then, a computer (or a CPU, MPU, etc.) in the simulation device may read and execute the program. In this case, the program and the storage medium storing the program constitute the present invention.

100 情報入力手段
101 仮想空間構築手段
102 シミュレーション画像生成手段
103 評価手段
104 通知手段
105 制御手段

100 Information input means 101 Virtual space construction means 102 Simulation image generation means 103 Evaluation means 104 Notification means 105 Control means

Claims (20)

撮影対象となるイベントの情報と撮影情報と所望の撮影画像とを入力する情報入力手段と、
前記情報入力手段によって入力された情報に基づいて、被写体モデルを用いて前記イベントを想定した仮想空間を構築する仮想空間構築手段と、
前記イベントで撮影した場合に得られる画像を、前記仮想空間を用いてシミュレーション画像として生成するシミュレーション画像生成手段と、
前記シミュレーション画像と所望の撮影画像における、明るさとボケ量の少なくとも1つの類似度を評価する評価手段と、
前記評価手段によって評価された前記類似度が所定値以上の前記シミュレーション画像を撮影するために必要な撮影機材の組み合わせ及び前記組み合わせに応じた撮影条件をユーザーに通知する通知手段と、を有することを特徴とするシミュレーション装置。
an information input means for inputting information on the event to be photographed, photographing information, and a desired photographed image;
a virtual space constructing means for constructing a virtual space that imagines the event using a subject model based on the information input by the information inputting means;
a simulation image generating means for generating a simulation image using the virtual space from an image obtained by photographing the event;
an evaluation means for evaluating a similarity between the simulation image and a desired captured image in terms of at least one of brightness and blur amount;
a notification means for notifying a user of a combination of photographing equipment required for taking the simulation image having a similarity evaluated by the evaluation means that is equal to or greater than a predetermined value , and of photographing conditions corresponding to the combination.
前記イベントの情報は、前記イベントの内容、イベントの順序、イベントに参加している被写体の動き情報を表す被写体位置情報を含むことを特徴とする請求項1に記載のシミュレーション装置。 The simulation device according to claim 1, characterized in that the event information includes subject position information representing the content of the event, the order of the event, and movement information of subjects participating in the event. 前記被写体位置情報は、各時刻における被写体の位置、被写体の向きの少なくとも1つに関する情報を含むことを特徴とする請求項2に記載のシミュレーション装置。 The simulation device according to claim 2, characterized in that the subject position information includes information regarding at least one of the subject's position and subject's orientation at each time. 前記被写体位置情報は、複数のプリセットデータから選択可能であることを特徴とする請求項2または3に記載のシミュレーション装置。 The simulation device according to claim 2 or 3, characterized in that the subject position information can be selected from a plurality of preset data. 前記撮影情報は、撮影位置、撮影方向、撮影画角を含むとともに、絞り値、シャッター速度、ISO感度、ホワイトバランスデータの少なくとも1つに関する情報を含むことを特徴とする請求項1~4のいずれか1項に記載のシミュレーション装置。 The simulation device according to any one of claims 1 to 4, characterized in that the shooting information includes the shooting position, shooting direction, shooting angle of view, and information regarding at least one of aperture value, shutter speed, ISO sensitivity, and white balance data. 前記所望の撮影画像は、画像情報を含むとともに、被写体の人数、顔の位置、顔のサイズ、顔の向きの少なくとも1つと関連付けられていることを特徴とする請求項1~5のいずれか1項に記載のシミュレーション装置。 The simulation device according to any one of claims 1 to 5, characterized in that the desired captured image includes image information and is associated with at least one of the number of subjects, face position, face size, and face direction. 前記所望の撮影画像はプリセットデータとして保存された複数のサンプル画像から選択可能であることを特徴とする請求項1~6のいずれか1項に記載のシミュレーション装置。 The simulation device according to any one of claims 1 to 6, characterized in that the desired captured image can be selected from a plurality of sample images stored as preset data. 前記情報入力手段は、前記イベントが行われる会場の明るさに関する情報、前記イベント会場の背景画像の少なくとも1つを入力可能であることを特徴とする請求項1~7のいずれか1項に記載のシミュレーション装置。 The simulation device according to any one of claims 1 to 7, characterized in that the information input means is capable of inputting at least one of information regarding the brightness of the venue where the event is held and a background image of the event venue. 前記シミュレーション画像生成手段は、前記イベントが行われる会場の背景の画像データをもとにシミュレーション画像に背景画像を付加することを特徴とする請求項1~8のいずれか1項に記載のシミュレーション装置。 The simulation device according to any one of claims 1 to 8, characterized in that the simulation image generating means adds a background image to the simulation image based on image data of the background of the venue where the event is held. 前記シミュレーション画像生成手段は、入力された撮影条件をもとに、前記シミュレーション画像の明るさを調整することを特徴とする請求項1~9のいずれか1項に記載のシミュレーション装置。 The simulation device according to any one of claims 1 to 9, characterized in that the simulation image generating means adjusts the brightness of the simulation image based on the input shooting conditions. 前記シミュレーション画像生成手段は、入力された撮影条件をもとに、シミュレーション画像の少なくとも背景画像にボケを付加することを特徴とする請求項1~10のいずれか1項に記載のシミュレーション装置。 The simulation device according to any one of claims 1 to 10, characterized in that the simulation image generating means adds blur to at least the background image of the simulation image based on the input shooting conditions. 前記評価手段は、前記シミュレーション画像と所望の撮影画像中における、被写体の数、被写体の位置、被写体のサイズ、被写体の向き、被写体の明るさ、背景画像、背景のボケ量、被写体の色の少なくとも2つについてそれぞれ類似度を算出することを特徴とする請求項1~11のいずれか1項に記載のシミュレーション装置。 The simulation device according to any one of claims 1 to 11, characterized in that the evaluation means calculates the similarity between the simulation image and the desired captured image for at least two of the following: the number of subjects, the positions of the subjects, the sizes of the subjects, the orientations of the subjects, the brightness of the subjects, the background image, the amount of background blur, and the colors of the subjects. 前記評価手段は、前記算出された少なくとも2つの類似度に対して重みづけをして加算した評価値を算出することを特徴とする請求項12に記載のシミュレーション装置。 The simulation device according to claim 12, characterized in that the evaluation means calculates an evaluation value by weighting and adding the at least two calculated similarities. 前記通知手段は、前記類似度が所定値以上の場合に、前記シミュレーション画像とそれに対応する撮影条件をユーザーに通知することを特徴とする請求項1~13のいずれか1項に記載のシミュレーション装置。 The simulation device according to any one of claims 1 to 13, characterized in that the notification means notifies the user of the simulation image and the corresponding shooting conditions when the similarity is equal to or greater than a predetermined value. 前記情報入力手段は撮影機材に関する情報を入力可能であることを特徴とする請求項1~14のいずれか1項に記載のシミュレーション装置。 The simulation device according to any one of claims 1 to 14, characterized in that the information input means is capable of inputting information about the photographic equipment. 前記撮影機材に関する情報は、カメラのセンサーサイズ、シャッター速度、ISO感度、カメラの重量の少なくとも1つに関する情報を含むことを特徴とする請求項15に記載のシミュレーション装置。 The simulation device according to claim 15, characterized in that the information about the photographic equipment includes information about at least one of the camera's sensor size, shutter speed, ISO sensitivity, and camera weight. 前記撮影機材に関する情報は、レンズの焦点距離、絞り値、レンズの重量に関する情報を含むことを特徴とする請求項16に記載のシミュレーション装置。 The simulation device according to claim 16, characterized in that the information about the photographic equipment includes information about the focal length of the lens, the aperture value, and the weight of the lens. 前記通知手段は、前記類似度が所定値以上の場合に、前記カメラとレンズの組み合わせに関する情報をユーザーに通知することを特徴とする請求項17に記載のシミュレーション装置。 The simulation device according to claim 17, characterized in that the notification means notifies the user of information regarding the camera and lens combination when the similarity is equal to or greater than a predetermined value. 請求項1~18のいずれか1項に記載の前記シミュレーション装置の各手段をコンピュータにより制御するためのコンピュータプログラム。 A computer program for controlling each means of the simulation device according to any one of claims 1 to 18 by a computer. 請求項19に記載のコンピュータプログラムを記憶したコンピュータで読み取り可能な記憶媒体。
20. A computer readable storage medium storing the computer program according to claim 19.
JP2020130590A 2020-07-31 2020-07-31 Simulation device, computer program, and storage medium Active JP7599864B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020130590A JP7599864B2 (en) 2020-07-31 2020-07-31 Simulation device, computer program, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020130590A JP7599864B2 (en) 2020-07-31 2020-07-31 Simulation device, computer program, and storage medium

Publications (3)

Publication Number Publication Date
JP2022026907A JP2022026907A (en) 2022-02-10
JP2022026907A5 JP2022026907A5 (en) 2023-08-02
JP7599864B2 true JP7599864B2 (en) 2024-12-16

Family

ID=80263862

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020130590A Active JP7599864B2 (en) 2020-07-31 2020-07-31 Simulation device, computer program, and storage medium

Country Status (1)

Country Link
JP (1) JP7599864B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117291849A (en) * 2022-06-20 2023-12-26 北京小米移动软件有限公司 Image processing methods and devices, electronic equipment, storage media
CN117011963B (en) * 2023-10-07 2023-12-08 四川金投科技股份有限公司 Intelligent lock and intelligent door control system based on electronic key
CN118714443A (en) * 2024-07-09 2024-09-27 北京华视风行集团有限公司 Camera perspective selection system based on machine learning
JP7766760B1 (en) * 2024-09-27 2025-11-10 株式会社サイバーエージェント Moving image evaluation system, moving image evaluation method, and program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004297191A (en) 2003-03-25 2004-10-21 Fuji Photo Film Co Ltd Photographing system
JP2005275847A (en) 2004-03-25 2005-10-06 Fuji Photo Film Co Ltd Image storage method and image storage device
JP2009124658A (en) 2007-11-19 2009-06-04 Olympus Corp Shooting simulation system
JP2019191989A (en) 2018-04-26 2019-10-31 キヤノン株式会社 System for, method of, and program for generating virtual viewpoint image

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004297191A (en) 2003-03-25 2004-10-21 Fuji Photo Film Co Ltd Photographing system
JP2005275847A (en) 2004-03-25 2005-10-06 Fuji Photo Film Co Ltd Image storage method and image storage device
JP2009124658A (en) 2007-11-19 2009-06-04 Olympus Corp Shooting simulation system
JP2019191989A (en) 2018-04-26 2019-10-31 キヤノン株式会社 System for, method of, and program for generating virtual viewpoint image

Also Published As

Publication number Publication date
JP2022026907A (en) 2022-02-10

Similar Documents

Publication Publication Date Title
JP7599864B2 (en) Simulation device, computer program, and storage medium
US10425638B2 (en) Equipment and method for promptly performing calibration and verification of intrinsic and extrinsic parameters of a plurality of image capturing elements installed on electronic device
CN106462944B (en) High-resolution panoramic VR generator and method
US7961970B1 (en) Method and apparatus for using a virtual camera to dynamically refocus a digital image
KR101643607B1 (en) Method and apparatus for generating of image data
KR102686182B1 (en) Method and data processing system for image synthesis
JP6821028B2 (en) Image pickup device and image data readout method
JP2013065280A (en) Image processing method, image processing system and program
TWI543582B (en) Image editing method and related fuzzy parameter establishing method
US20160205380A1 (en) Image processing apparatus, image pickup apparatus, image processing method, and non-transitory computer-readable storage medium for synthesizing images
JP7378219B2 (en) Imaging device, image processing device, control method, and program
JP6095266B2 (en) Image processing apparatus and control method thereof
JP6674643B2 (en) Image processing apparatus and image processing method
CN107995421A (en) A panoramic camera and its image generation method, system, device, and storage medium
CN111108742A (en) Information processing device, information processing method, program, and interchangeable lens
WO2016175043A1 (en) Image processing device and image processing method
CN104902168B (en) A kind of image combining method, device and capture apparatus
JP6674644B2 (en) Image processing apparatus and image processing method
JP6965132B2 (en) Image processing equipment, imaging equipment, image processing methods and programs
JP6877936B2 (en) Processing equipment, processing systems, imaging equipment, processing methods, programs, and recording media
CN103426143B (en) Image editing method and relevant fuzzy parameter method for building up
JP6684454B2 (en) Image processing apparatus and image processing method
Chen et al. Variable aperture bokeh rendering via customized focal plane guidance
JP7191680B2 (en) Image processing device and imaging device
JP2015084517A (en) Image processing apparatus, image processing method, program and recording medium

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230725

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230725

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240614

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240709

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240828

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: 20241105

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20241204

R150 Certificate of patent or registration of utility model

Ref document number: 7599864

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150