JP2018180125A - Image projection device, image projection method and image projection program - Google Patents
Image projection device, image projection method and image projection program Download PDFInfo
- Publication number
- JP2018180125A JP2018180125A JP2017076255A JP2017076255A JP2018180125A JP 2018180125 A JP2018180125 A JP 2018180125A JP 2017076255 A JP2017076255 A JP 2017076255A JP 2017076255 A JP2017076255 A JP 2017076255A JP 2018180125 A JP2018180125 A JP 2018180125A
- Authority
- JP
- Japan
- Prior art keywords
- projection
- actual size
- data
- size
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Projection Apparatus (AREA)
- Transforming Electric Information Into Light Information (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
本発明は、画像投影装置、画像投影方法および画像投影プログラムに関する。 The present invention relates to an image projection apparatus, an image projection method, and an image projection program.
従来から、企業などでプロジェクタを用いてデータや写真などの画像を投影して会議などが行われており、教育現場においてもプロジェクタを用いた授業などが行われている。例えば、写真で投影対象物の大きさを伝える手法として、一円玉やタバコの箱などを指標として、投影対象物と同時に撮影して、その大きさの対比で相対的に伝えることが一般的である。 2. Description of the Related Art Conventionally, meetings and the like have been conducted by projecting images such as data and photographs using a projector in a company or the like, and classes using the projector have also been performed at educational sites. For example, as a method of conveying the size of the projection object with a photograph, it is generally used to take a picture at the same time as the projection object using a one-yen coin or a cigarette box as an index, and to transmit the size contrast relatively. It is.
相対的な伝え方では、生徒個々で指標をイメージする大きさが異なることもあり、近年では、被写体である投影対象物を実寸大で投影することが行われている。例えば、投影面上のプロジェクタの画面サイズをピクセル数で求め、投影対象物の実寸サイズであれば何ピクセルになるかを求め、そのピクセル数の大きさで投影対象を投影することで、実寸大に表示する技術が知られている。 In the relative transmission method, the size in which the student images the index may be different for each student, and in recent years, it has been practiced to project the projection target object which is the object in full scale. For example, the screen size of the projector on the projection plane is determined by the number of pixels, the number of pixels of the actual size of the projection object is determined, and the projection target is projected with the size of the number of pixels. The technology to display on is known.
しかしながら、上記技術では、プロジェクタの画面のサイズによって投影対象物の実寸大を求めて投影するので、プロジェクタの画面のサイズが取得できない場合は、投影対象物を実寸大で投影することが難しい。 However, in the above technology, since the actual size of the projection object is determined and projected according to the size of the screen of the projector, it is difficult to project the projection object in the full size when the size of the screen of the projector can not be acquired.
例えば、投影するプロジェクタの画面の縦横比と、壁などの投影面の縦横比とが異なる場合、プロジェクタの画面の縦方向あるいは横方向のいずれか短い側を、投影面いっぱいに表示させると、他の側は投影面からはみ出る。このため、プロジェクタの画面のサイズを取得できず、投影対象物を実寸大に表示することができない。あるいは、プロジェクタの画面の両端が切れる場合などでも、プロジェクタの画面のサイズは取得できない。 For example, when the aspect ratio of the screen of the projector to be projected is different from the aspect ratio of the projection surface such as a wall, displaying the shorter side in the vertical or horizontal direction of the screen of the projector over the entire projection surface The side of the wall projects from the projection plane. For this reason, the size of the screen of the projector can not be acquired, and the projection target can not be displayed in full size. Alternatively, even if both ends of the screen of the projector are cut, the size of the screen of the projector can not be acquired.
一つの側面では、投影対象物を実寸大で投影することができる画像投影装置、画像投影方法および画像投影プログラムを提供することを目的とする。 In one aspect, it is an object of the present invention to provide an image projection apparatus, an image projection method, and an image projection program capable of projecting a projection target in full size.
第1の案では、画像投影装置は、投影対象物を含む投影対象データを投影面に投影して、投影面上に投影された投影データを取得する取得部を有する。画像投影装置は、前記投影対象物の実寸に関する情報に基づいて、前記投影対象物の実寸と、前記投影データに含まれる投影対象物の実寸との比率を算出する算出部を有する。画像投影装置は、前記比率にしたがって、投影面に実寸大に再投影する投影部を有する。 In the first scheme, the image projection apparatus has an acquisition unit that projects projection target data including a projection target object onto a projection plane to acquire projection data projected onto the projection plane. The image projection apparatus has a calculation unit that calculates a ratio between the actual size of the projection object and the actual size of the projection object included in the projection data, based on the information on the actual size of the projection object. The image projection apparatus has a projection unit which reprojects on the projection plane in full scale according to the ratio.
一つの側面では、投影対象物を実寸大で投影することができる。 In one aspect, the projection object can be projected at full scale.
以下に、本願の開示する画像投影装置、画像投影方法および画像投影プログラムの実施例を図面に基づいて詳細に説明する。なお、この実施例によりこの発明が限定されるものではない。 Hereinafter, embodiments of an image projection apparatus, an image projection method, and an image projection program disclosed in the present application will be described in detail based on the drawings. The present invention is not limited by this embodiment.
[全体構成]
図1は、実施例1にかかるシステムの全体構成例を示す図である。図1に示すように、このシステムは、プロジェクタ1、スクリーン2、情報処理装置10を有する。なお、本実施例では、プロジェクタ1と情報処理装置10とが有線や無線などで接続される例で説明するが、これに限定されるものではなく、プロジェクタ1が情報処理装置10に内蔵されていてもよい。同様に、本実施例では、情報処理装置10がカメラを内蔵する例で説明するが、これに限定されるものではなく、有線や無線で接続される外部のカメラを用いることができる。また、本実施例では、投影対象として画像データを例にして説明するが、これに限定されるものではなく、動画や映像などであってもよい。
[overall structure]
FIG. 1 is a diagram illustrating an example of an entire configuration of a system according to a first embodiment. As shown in FIG. 1, this system includes a projector 1, a screen 2, and an
情報処理装置10は、投影機であるプロジェクタ1を用いて、画像などをスクリーン2に投影する画像投影装置の一例である。例えば、情報処理装置10は、内部のハードディスクなどに保存する鶏の画像データAを読み込み、プロジェクタ1を介して、スクリーン2の投影面Pに投影する。
The
例えば、情報処理装置10は、画像データAを投影面Pに投影して、投影データQをカメラで撮像する。続いて、情報処理装置10は、画像データAに含まれる鶏の画像データJの大きさと、投影データQに含まれる鶏の画像データNの大きさとを算出する。一方で、情報処理装置10は、鶏の実寸と保存済みの画像データJの大きさとの割合から、画像データNに対応する鶏の実寸を算出する。そして、情報処理装置10は、実寸間の比率を算出し、比率を用いて、投影面に実寸大になるように画像データAを拡大または縮小した新たな画像データを、投影面Pに再投影する。
For example, the
すなわち、情報処理装置10は、投影された対象物を、対象物までの距離を取得できるデバイスがついているカメラで撮影することで投影された対象物のサイズを計算し、対象物の実寸と比較して、その比率で投影元のデータを拡縮したものを、再度投影する。したがって、情報処理装置10は、投影対象物を実寸大で投影することができる。
That is, the
[機能構成]
図2は、実施例1にかかる情報処理装置10の機能構成を示す機能ブロック図である。図2に示すように、情報処理装置10は、通信部11、撮像部12、記憶部20、制御部30を有する。
[Function configuration]
FIG. 2 is a functional block diagram of the functional configuration of the
通信部11は、他の装置の通信を制御する処理部であり、例えば通信インタフェースなどである。例えば、通信部11は、投影対象の画像データなどを管理端末などから受信して、記憶部20に格納する。
The communication unit 11 is a processing unit that controls communication of another device, and is, for example, a communication interface. For example, the communication unit 11 receives, for example, image data to be projected from a management terminal or the like, and stores the image data in the
撮像部12は、投影面に投影された対象物(投影データ)を撮像する処理部であり、例えばカメラなどである。例えば、撮像部12は、投影データを撮像するとともに、投影データまでの距離を測定することができる。 The imaging unit 12 is a processing unit that images an object (projection data) projected on a projection plane, and is, for example, a camera. For example, the imaging unit 12 can capture projection data and measure the distance to the projection data.
記憶部20は、プログラムやデータなどを記憶する記憶装置の一例であり、例えばメモリやハードディスクなどである。この記憶部20は、投影画像DB21と距離情報DB22を記憶する。
The
投影画像DB21は、投影対象の画像データに関する情報を記憶するデータベースである。図3は、投影画像DB21に記憶される情報の例を示す図である。図3に示すように、投影画像DB21は、「画像データ、対象物までの距離」を記憶する。「画像データ」は、投影対象の画像データを特定する情報であり、「対象物までの距離」は、画像データを生成するために、撮像対象を撮像したときの距離を示す。図3の例では、写真Aは、300cmの距離で撮像された画像であり、写真2は、100cmの距離で撮像された画像であることを示す。
The projection image DB 21 is a database storing information on image data to be projected. FIG. 3 is a diagram showing an example of information stored in the
距離情報DB22は、投影距離における1画素の比率を記憶するデータベースである。図4は、距離情報DB22に記憶される情報の例を示す図である。図4に示すように、距離情報DB22は、「距離、画素、係数」を対応付けて記憶する。「距離」は、投影面までの投影距離であり、「画素」は、基準となる画素数であり、「係数」は、距離に基づく補正係数である。図4の例では、投影面までの距離が100cmの場合、1画素あたり、投影データに0.363を乗算すると、実寸が算出されることを示す。
The
ここで、係数の算出の具体例を説明する。例えば、1ピクセル(画素)が相当する実寸のサイズを単位スケール(係数)は、被写体までの距離、撮像素子のサイズ、レンズの焦点距離から算出式「被写体までの距離[mm]×センササイズ[mm])/焦点距離[mm]」を演算することで、照合画像内の被写体のサイズを算出する。ここで、撮像素子のサイズは、縦または横のいずれかのサイズであり、焦点距離は、例えばスチルカメラにおける35ミリ判でのレンズ焦点距離に換算した値とする。この算出式により、代入した撮像素子サイズの方向(縦または横)における被写体の実際のサイズ[mm]が特定される。このように算出された被写体サイズを、演算に用いた撮像サイズの方向(縦または横)における画像サイズ(ピクセル数)で除することにより、1ピクセルが相当する実寸のサイズが算出される。 Here, a specific example of the calculation of the coefficient will be described. For example, the unit scale (coefficient) indicates the actual size equivalent to one pixel (pixel) from the distance to the subject, the size of the imaging device, and the focal length of the lens. Calculation formula “distance to subject [mm] × sensor size [ The size of the subject in the collation image is calculated by calculating mm]) / focal length [mm]. Here, the size of the imaging device is either vertical or horizontal, and the focal length is, for example, a value converted to a lens focal length in 35 mm format in a still camera. According to this calculation formula, the actual size [mm] of the subject in the direction (vertical or horizontal) of the substituted image sensor size is specified. The actual size corresponding to one pixel is calculated by dividing the subject size calculated in this way by the image size (number of pixels) in the direction (vertical or horizontal) of the imaging size used in the calculation.
また、焦点距離(Focal Length)と1画素のピクセルサイズ(Pixel size)が明記されている測距センサーなどを用いることもできる。具体的には、焦点距離:対象物距離=ピクセルサイズ:対象物距離のピクセルサイズを用いることで、対象物距離のピクセルサイズすなわち上記係数は、「(対象物距離/焦点距離)×ピクセルサイズ」によって算出することができる。 In addition, it is also possible to use a ranging sensor or the like in which a focal length (Focal Length) and a pixel size (Pixel size) of one pixel are specified. Specifically, by using the focal length: target object distance = pixel size: target object pixel size, the target object pixel size, that is, the above coefficient is “(target object distance / focal distance) × pixel size” It can be calculated by
制御部30は、情報処理装置10全体を司る処理部であり、例えばプロセッサなどである。この制御部30は、投影実行部31、取得部32、実寸算出部33、サイズ変更部34、再投影実行部35を有する。なお、投影実行部31、取得部32、実寸算出部33、サイズ変更部34、再投影実行部35は、プロセッサが有する電子回路の一例やプロセッサが実行するプロセスの一例である。
The control unit 30 is a processing unit that controls the entire
投影実行部31は、投影対象の画像データを投影する処理部である。具体的には、投影実行部31は、投影対象の画像データ一覧をディスプレイ等に表示し、選択された画像データAをプロジェクタ1に出力する。プロジェクタ1は、入力された画像データをスクリーン2に投影する。 The projection execution unit 31 is a processing unit that projects image data to be projected. Specifically, the projection execution unit 31 displays a list of image data to be projected on a display or the like, and outputs the selected image data A to the projector 1. The projector 1 projects the input image data on the screen 2.
取得部32は、投影面P上の投影データの画像を取得する処理部である。具体的には、取得部32は、投影実行部31によって画像データAが投影されると、投影面Pに投影される投影データQの撮像指示を撮像部12に送信する。そして、取得部32は、撮像部12が撮像した投影データQの画像データを取得して、実寸算出部33に出力する。 The acquisition unit 32 is a processing unit that acquires an image of projection data on the projection plane P. Specifically, when the projection execution unit 31 projects the image data A, the acquisition unit 32 transmits an imaging instruction of the projection data Q projected on the projection plane P to the imaging unit 12. Then, the acquisition unit 32 acquires the image data of the projection data Q captured by the imaging unit 12 and outputs the image data to the actual size calculation unit 33.
実寸算出部33は、投影対象である画像データAに含まれる鶏Jの実寸と、投影データQに含まれる鶏Nの実寸とを算出する処理部である。例えば、画像データAについて、実寸算出部33は、公知の画像解析により、画像データAに含まれる投影対象物である鶏Jの輪郭線を検出する。続いて、実寸算出部33は、輪郭線の一番上と一番下を検出し、投影対象物(鶏J)の投影対象の高さである画素数を求める。ここでは、実寸算出部33は、46画素と算出したとする。すると、実寸算出部33は、投影画像DB21を参照して画像データAを撮像したときの距離「300cm」を特定し、さらに、距離情報DB22を参照して「300cm」に対応する係数「1.090」を特定する。その後、実寸算出部33は、画像データAに含まれる投影対象物である鶏Jの実寸として、46画素×1.090=50cmを算出する。
The actual size calculation unit 33 is a processing unit that calculates the actual size of the chicken J included in the image data A to be projected and the actual size of the chicken N included in the projection data Q. For example, with regard to the image data A, the actual size calculation unit 33 detects the outline of the chicken J, which is a projection target object included in the image data A, by known image analysis. Subsequently, the actual size calculation unit 33 detects the top and bottom of the outline, and obtains the number of pixels which is the height of the projection target of the projection target (chicken J). Here, it is assumed that the actual size calculation unit 33 calculates 46 pixels. Then, the actual size calculation unit 33 specifies the distance “300 cm” when imaging the image data A with reference to the
投影データQについても同様に、実寸算出部33は、公知の画像解析により、投影データQに含まれる投影対象物である鶏Nの輪郭線を検出する。続いて、実寸算出部33は、輪郭線の一番上と一番下を検出し、投影対象物(鶏N)の投影対象の高さである画素数を求める。ここでは、実寸算出部33は、275画素と算出したとする。さらに、実寸算出部33は、投影面までの距離「100cm」を撮像部12から取得する。すると、実寸算出部33は、投影画像DB21を参照して投影データQを撮像したときの距離「100cm」を特定し、さらに、距離情報DB22を参照して「100cm」に対応する係数「0.363」を特定する。その後、実寸算出部33は、投影データQに含まれる投影対象物である鶏Nの実寸として、275画素×0.363=100cmを算出する。
Similarly for the projection data Q, the actual size calculation unit 33 detects the outline of the chicken N, which is a projection object, included in the projection data Q, by known image analysis. Subsequently, the actual size calculation unit 33 detects the top and bottom of the outline, and obtains the number of pixels which is the height of the projection target of the projection target (chicken N). Here, it is assumed that the actual size calculation unit 33 calculates as 275 pixels. Furthermore, the actual size calculation unit 33 acquires the distance “100 cm” to the projection plane from the imaging unit 12. Then, the actual size calculation unit 33 refers to the
そして、実寸算出部33は、投影対象の画像データAに基づく鶏Jの実寸値「50cm」と、投影データQに基づく鶏Nの実寸値「100cm」をサイズ変更部34に出力する。 Then, the actual size calculation unit 33 outputs the actual size value “50 cm” of the chicken J based on the image data A to be projected and the actual size value “100 cm” of the chicken N based on the projection data Q to the size changing unit 34.
サイズ変更部34は、実寸の比率に応じて、投影対象の画像データを拡大または縮小する処理部である。上記例で説明すると、サイズ変更部34は、50cmの鶏が100cmで投影されていると判定し、50/100=1/2を比率として算出する。この結果、サイズ変更部34は、投影対象の画像データAそのものの大きさを1/2倍にした画像データを生成して、再投影実行部35に出力する。すなわち、サイズ変更部34は、投影対象の画像データA内の鶏Jの大きさが半分になるような再投影用の画像データを生成する。 The size changing unit 34 is a processing unit that enlarges or reduces the image data to be projected according to the actual size ratio. In the above example, the size changing unit 34 determines that 50 cm of chicken is projected at 100 cm, and calculates 50/100 = 1/2 as a ratio. As a result, the size changing unit 34 generates image data in which the size of the image data A to be projected is halved and outputs the generated image data to the reprojection execution unit 35. That is, the size changing unit 34 generates image data for reprojection such that the size of the chicken J in the image data A to be projected is reduced to half.
再投影実行部35は、サイズ変更部34から出力された投影対象の画像データを投影する処理部である。具体的には、再投影実行部35は、投影対象の画像データAそのものの大きさを1/2倍にした再投影用の画像データをプロジェクタ1に出力する。プロジェクタ1は、入力された再投影用の画像データをスクリーン2に投影する。 The reprojection execution unit 35 is a processing unit that projects the projection target image data output from the size change unit 34. Specifically, the re-projection execution unit 35 outputs, to the projector 1, image data for re-projection in which the size of the image data A itself to be projected is halved. The projector 1 projects the input image data for reprojection on the screen 2.
図5は、投影画像の大きさの取得から再投影までを説明する図である。図5に示すように、情報処理装置10は、画像データAを投影すると、投影データQを撮像する。続いて、情報処理装置10は、画像データAに含まれる投影対象に鶏Jの大きさ(画素数=46)を算出するとともに、投影データQに含まれる鶏Nの大きさ(画素数=275)を算出する。
FIG. 5 is a diagram for explaining from acquisition of the size of the projection image to reprojection. As shown in FIG. 5, when projecting the image data A, the
そして、情報処理装置10は、投影対象の鶏Jの大きさ(画素数=46)と撮像時の距離に基づく係数(1.090)から、鶏Jを撮像したときの鶏Jの実寸(50cm)を算出する。同様に、情報処理装置10は、投影済みの鶏Nの大きさ(画素数=275)と撮像時の距離に基づく係数(0.363)から、鶏Nの実寸(100cm)を算出する。
The
その後、情報処理装置10は、実寸間の比率(1/2)を算出し、画像データAの鶏Jの画素数(46)が1/2倍になるように、再投影用の画像データA2(23画素)を生成して再投影する。
Thereafter, the
このようにして、情報処理装置10は、投影対象の画像データを一度投影してみて、実際の鶏がどのような大きさで投影されているかを推定する。そして、情報処理装置10は、プロジェクタ1の画面サイズを変更するのではなく、投影対象の画像データそのものの大きさを変更して再投影する。
In this manner, the
[処理の流れ]
図6は、処理の流れを示すフローチャートである。図6に示すように、投影処理の開始時が指示されると(S101:Yes)、投影実行部31は、投影対象画像の一覧を表示し(S102)、投影対象画像の選択を受け付ける(S103)。
[Flow of processing]
FIG. 6 is a flowchart showing the flow of processing. As shown in FIG. 6, when the start of the projection process is instructed (S101: Yes), the projection execution unit 31 displays a list of projection target images (S102) and accepts selection of the projection target images (S103). ).
続いて、投影実行部31は、選択された投影対象画像を投影する(S104)。その後、取得部32は、投影面を撮像し(S105)、撮像画像から投影画像を抽出する(S106)。 Subsequently, the projection execution unit 31 projects the selected projection target image (S104). Thereafter, the acquisition unit 32 captures an image of the projection plane (S105), and extracts a projection image from the captured image (S106).
そして、実寸算出部33は、投影対象の画像と投影画像のそれぞれから、投影対象物の輪郭を抽出する(S107)。続いて、実寸算出部33は、投影対象物それぞれの大きさ(画素数)を抽出する(S108)。 Then, the actual size calculation unit 33 extracts the outline of the projection object from each of the image to be projected and the projection image (S107). Subsequently, the actual size calculation unit 33 extracts the size (number of pixels) of each of the projection objects (S108).
その後、実寸算出部33は、画像数と距離に基づく係数とを用いて、投影対象物それぞれの実寸を推定し(S109)、実寸間の比率を算出する(S110)。そして、実寸算出部33は、比率によって、投影対象画像の大きさを変更した再投影用の画像を生成し(S111)、大きさ変更後の再投影用の画像を再投影する(S112)。 After that, the actual size calculation unit 33 estimates the actual size of each of the projection objects using the number of images and the coefficient based on the distance (S109), and calculates the ratio between the actual sizes (S110). Then, the actual size calculation unit 33 generates an image for reprojection in which the size of the projection target image is changed according to the ratio (S111), and reprojects the image for reprojection after the size change (S112).
[別の具体例]
図7は、実寸大の投影例を説明する図である。なお、ここでは、一例として数値の例を用いて説明するが、実施例を限定するものではない。
[Another example]
FIG. 7 is a view for explaining an example of a full size projection. In addition, although it demonstrates using the example of a numerical value as an example here, it does not limit an Example.
図7に示すように、情報処理装置10は、ユーザによって選択された象の画像を投影する。続いて、情報処理装置10は、投影された投影画像をカメラ等で撮像する。そして、情報処理装置10は、投影画像から投影対象物である象の輪郭線を特定した後、輪郭線の一番上と一番下を検出し、投影対象物の高さである画素数(138)を特定する。
As shown in FIG. 7, the
また、情報処理装置10は、投影対象の象の画像から、当該輪郭線に対応した部分を特定する。そして、情報処理装置10は、輪郭線の一番上と一番下を検出し、投影対象物の高さである画素数(55)を特定する。
Further, the
その後、情報処理装置10は、投影対象画像を撮像したときの距離(500cm)に対応する係数(1.817mm)を用いて、投影前の投影対象物(象)の実寸(55×1.817=100cm)を算出する。
Thereafter, the
同様に、情報処理装置10は、投影画像を撮像したときのスクリーン2までの距離(100cm)に対応する係数(0.363mm)を用いて、投影時の投影対象物(象)の実寸(138×0.363=50cm)を算出する。
Similarly, the
こうして、情報処理装置10は、実寸間の比率(100/50=2)を算出する。その後、情報処理装置10は、投影対象の投影対象物の大きさが2倍になるように、投影対象画像を拡大した再投影用の画像を生成して、再投影を実行する。
Thus, the
[効果]
上述したように、情報処理装置10は、投影したい投影対象物を投影面いっぱいに実物大で表示できる。また、象のように、投影対象物全体が表示しきれない場合であっても、その投影対象物の一部分を実物大に表示することができる。情報処理装置10は、実物大で表示されたものを見る側で大きさのイメージを共有し合うことができる。情報処理装置10は、外部表示装置の種類や性能に依存せずに、また、外部表示装置の設定や位置を変更することなく、実物大を投影することができる。情報処理装置10は、表示場所にも依存せずに、実物大を投影することができる。情報処理装置10は、表示したい大きさを数値で指定することができる。
[effect]
As described above, the
さて、これまで本発明の実施例について説明したが、本発明は上述した実施例以外にも、種々の異なる形態にて実施されてよいものである。そこで、以下に異なる実施例を説明する。 Although the embodiments of the present invention have been described above, the present invention may be implemented in various different modes other than the above-described embodiments. Therefore, different embodiments will be described below.
[実寸値の算出]
実施例1では、投影対象の画像データそれぞれに、撮像時に距離を対応付けて管理し、画素数と距離に対応する係数とを用いて、実寸を算出する例を説明したが、これに限定されるものではない。例えば、投影対象の画像データと実寸値とを対応付けて管理しておくこともできる。また、実施例1では、画像内の投影対象物の実寸の比率を算出する例を説明したが、画像データそのもの大きさを用いて実寸や比率を算出することもできる。
[Calculation of actual size value]
In the first embodiment, the image data to be projected is associated with a distance at the time of imaging and managed, and an example of calculating the actual size using the number of pixels and a coefficient corresponding to the distance has been described. It is not a thing. For example, it is possible to manage image data to be projected and actual size values in association with each other. In addition, although the example of calculating the ratio of the actual size of the projection object in the image has been described in the first embodiment, the actual size and the ratio can also be calculated using the size of the image data itself.
また、距離に対応する変数などをDBで管理するだけでなく、管理者等によって与えることもでき、撮像時に距離や投影時の距離を予め決めておくことで、決まった変数を用いることもできる。 In addition to managing variables and the like corresponding to distances with a DB, they can also be provided by a manager or the like, and fixed variables can be used by predetermining the distances at the time of imaging and the distances at the time of projection. .
[大きさの変更]
例えば、情報処理装置10は、投影対象データの画素数を変更することで、投影対象のデータの大きさを変更して、実寸大に再投影することができる。また、情報処理装置10は、プロジェクタ1の光学ズームを用いて、投影対象データを拡大または縮小することで、投影対象のデータの大きさを変更して、実寸大に再投影することができる。
[Size change]
For example, by changing the number of pixels of the projection target data, the
[システム]
上記文書中や図面中で示した処理手順、制御手順、具体的名称、各種のデータやパラメータを含む情報については、特記する場合を除いて任意に変更することができる。
[system]
The processing procedures, control procedures, specific names, and information including various data and parameters shown in the above documents and drawings can be arbitrarily changed unless otherwise specified.
また、図示した各装置の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、各装置の分散・統合の具体的形態は図示のものに限られない。つまり、その全部または一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。さらに、各装置にて行なわれる各処理機能は、その全部または任意の一部が、CPUおよび当該CPUにて解析実行されるプログラムにて実現され、あるいは、ワイヤードロジックによるハードウェアとして実現され得る。 Further, each component of each device illustrated is functionally conceptual, and does not necessarily have to be physically configured as illustrated. That is, the specific form of distribution and integration of each device is not limited to the illustrated one. That is, all or part of them can be configured to be functionally or physically dispersed and integrated in arbitrary units in accordance with various loads, usage conditions, and the like. Furthermore, all or any part of each processing function performed in each device may be realized by a CPU and a program analyzed and executed by the CPU, or may be realized as wired logic hardware.
[ハードウェア構成]
図8は、ハードウェア構成例を示す図である。図8に示すように、情報処理装置10は、通信インタフェース10a、カメラ10b、HDD(Hard Disk Drive)10c、メモリ10d、プロセッサ(Central Processing Unit)10eを有する。
[Hardware configuration]
FIG. 8 is a diagram showing an example of a hardware configuration. As shown in FIG. 8, the
通信インタフェース10aは、他の装置の通信を制御するネットワークインタフェースカードや近距離無線インタフェースなどである。カメラ10bは、投影面を撮像するカメラであり、投影面までの距離も算出できる。HDD10cは、各種情報を記憶する記憶装置である。
The communication interface 10 a is a network interface card that controls communication of another device, a short distance wireless interface, or the like. The
メモリ10dの一例としては、SDRAM(Synchronous Dynamic Random Access Memory)等のRAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリ等が挙げられる。プロセッサ10eの一例としては、CPU(Central Processing Unit)、DSP(Digital Signal Processor)、FPGA(Field Programmable Gate Array)、PLD(Programmable Logic Device)等が挙げられる。 Examples of the memory 10 d include a random access memory (RAM) such as a synchronous dynamic random access memory (SDRAM), a read only memory (ROM), and a flash memory. Examples of the processor 10 e include a central processing unit (CPU), a digital signal processor (DSP), a field programmable gate array (FPGA), and a programmable logic device (PLD).
また、情報処理装置10は、プログラムを読み出して実行することで画像投影方法を実行する情報処理装置として動作する。つまり、情報処理装置10は、投影実行部31、取得部32、実寸算出部33、サイズ変更部34、再投影実行部35と同様の機能を実行するプログラムを実行する。この結果、情報処理装置10は、投影実行部31、取得部32、実寸算出部33、サイズ変更部34、再投影実行部35と同様の機能を実行するプロセスを実行することができる。なお、この他の実施例でいうプログラムは、情報処理装置10によって実行されることに限定されるものではない。例えば、他のコンピュータまたはサーバがプログラムを実行する場合や、これらが協働してプログラムを実行するような場合にも、本発明を同様に適用することができる。
The
このプログラムは、インターネットなどのネットワークを介して配布することができる。また、このプログラムは、ハードディスク、フレキシブルディスク(FD)、CD−ROM、MO(Magneto−Optical disk)、DVD(Digital Versatile Disc)などのコンピュータで読み取り可能な記録媒体に記録され、コンピュータによって記録媒体から読み出されることによって実行することができる。 This program can be distributed via a network such as the Internet. The program is recorded on a computer-readable recording medium such as a hard disk, a flexible disk (FD), a CD-ROM, a MO (Magneto-Optical disk), a DVD (Digital Versatile Disc), etc. It can be executed by being read out.
以上の実施例1〜2を含む実施形態に関し、更に以下の付記を開示する。 The following appendices are further disclosed regarding the embodiment including the above-described Examples 1 and 2.
(付記1)投影対象物を含む投影対象データを投影面に投影して、投影面上に投影された投影データを取得する取得部と、
前記投影対象物の実寸に関する情報に基づいて、前記投影対象物の実寸と、前記投影データに含まれる投影対象物の実寸との比率を算出する算出部と、
前記比率にしたがって、投影面に実寸大に再投影する投影部と
を有することを特徴とする画像投影装置。
(Supplementary Note 1) An acquisition unit that projects projection target data including a projection target object onto a projection surface to acquire projection data projected onto the projection surface;
A calculator configured to calculate a ratio between the actual size of the projection object and the actual size of the projection object included in the projection data, based on the information on the actual size of the projection object;
An image projection apparatus comprising: a projection unit which reprojects on the projection plane in full scale according to the ratio.
(付記2)前記算出部は、前記投影対象物を撮像して前記投影対象データを生成した時の撮像距離に対応する変換係数と前記投影対象データ内の前記投影対象物の大きさとから、前記投影対象物の実寸を算出し、前記投影データを撮像した時の投影距離に対応する変換係数と前記投影データ内の前記投影対象部の大きさとから、前記投影対象物の実寸を算出することを特徴とする付記1に記載の画像投影装置。 (Supplementary Note 2) The calculation unit may use the conversion coefficient corresponding to the imaging distance when the projection object is imaged to generate the projection object data, and the size of the projection object in the projection object data. The actual size of the projection object is calculated, and the actual size of the projection object is calculated from the conversion coefficient corresponding to the projection distance when the projection data is imaged and the size of the projection target portion in the projection data. The image projector according to appendix 1, characterized in that
(付記3)前記投影対象データと前記撮像距離とを対応付けて記憶する投影画像記憶部と、
前記投影距離と1画素あたりの変換係数とを対応付けて記憶する距離情報記憶部とをさらに有し、
前記算出部は、前記投影画像記憶部と前記距離情報記憶部とを参照して、前記投影対象データに対応する前記撮像距離と前記変換係数とを取得して、前記投影対象物の実寸を算出するとともに、前記投影データに対応する前記投影距離と前記変換係数とを取得して、前記投影対象物の実寸を算出することを特徴とする付記2に記載の画像投影装置。
(Supplementary Note 3) A projection image storage unit that associates and stores the projection target data and the imaging distance,
And a distance information storage unit for storing the projection distance and a conversion coefficient per pixel in association with each other,
The calculation unit refers to the projection image storage unit and the distance information storage unit, acquires the imaging distance and the conversion coefficient corresponding to the projection target data, and calculates the actual size of the projection target The image projection apparatus according to claim 2, further comprising: calculating the actual size of the projection object by acquiring the projection distance corresponding to the projection data and the conversion coefficient.
(付記4)前記投影部は、前記比率にしたがって、前記投影対象データの画素数を拡大または縮小した再投影データを、前記投影面に再投影することを特徴とする付記1に記載の画像投影装置。 (Supplementary Note 4) The image projection according to Supplementary Note 1, wherein the projection unit reprojects reprojection data in which the number of pixels of the projection target data is enlarged or reduced according to the ratio on the projection plane. apparatus.
(付記5)前記投影部は、前記比率にしたがって、前記投影対象データを投影する投影装置の光学ズームを変更することで、前記投影対象データを前記投影面に実寸大で再投影することを特徴とする付記1に記載の画像投影装置。 (Supplementary Note 5) The projection unit is characterized in that the projection target data is reprojected on the projection plane in real size by changing an optical zoom of a projection device that projects the projection target data according to the ratio. The image projector according to appendix 1.
(付記6)コンピュータが、
投影対象物を含む投影対象データを投影面に投影して、投影面上に投影された投影データを取得し、
前記投影対象物の実寸に関する情報に基づいて、前記投影対象物の実寸と、前記投影データに含まれる投影対象物の実寸との比率を算出し、
前記比率にしたがって、投影面に実寸大に再投影する
処理を含んだことを特徴とする画像投影方法。
(Supplementary Note 6)
Projecting projection target data including a projection target object onto a projection plane to obtain projection data projected onto the projection plane;
The ratio of the actual size of the projection object to the actual size of the projection object included in the projection data is calculated based on the information on the actual size of the projection object,
An image projection method comprising the step of re-projecting on the projection surface according to the ratio.
(付記7)コンピュータに、
投影対象物を含む投影対象データを投影面に投影して、投影面上に投影された投影データを取得し、
前記投影対象物の実寸に関する情報に基づいて、前記投影対象物の実寸と、前記投影データに含まれる投影対象物の実寸との比率を算出し、
前記比率にしたがって、投影面に実寸大に再投影する
処理を実行させることを特徴とする画像投影プログラム。
(Supplementary Note 7)
Projecting projection target data including a projection target object onto a projection plane to obtain projection data projected onto the projection plane;
The ratio of the actual size of the projection object to the actual size of the projection object included in the projection data is calculated based on the information on the actual size of the projection object,
An image projection program characterized by executing a process of reprojecting on a projection surface in actual size according to the ratio.
1 プロジェクタ
2 スクリーン
10 情報処理装置
11 通信部
12 撮像部
20 記憶部
21 投影画像DB
22 距離情報DB
30 制御部
31 投影実行部
32 取得部
33 実寸算出部
34 サイズ変更部
35 再投影実行部
Reference Signs List 1 projector 2
22 Distance information DB
30 control unit 31 projection execution unit 32 acquisition unit 33 actual size calculation unit 34 size change unit 35 reprojection execution unit
Claims (5)
前記投影対象物の実寸に関する情報に基づいて、前記投影対象物の実寸と、前記投影データに含まれる投影対象物の実寸との比率を算出する算出部と、
前記比率にしたがって、投影面に実寸大に再投影する投影部と
を有することを特徴とする画像投影装置。 An acquisition unit that projects projection target data including a projection target object onto a projection plane to acquire projection data projected onto the projection plane;
A calculator configured to calculate a ratio between the actual size of the projection object and the actual size of the projection object included in the projection data, based on the information on the actual size of the projection object;
An image projection apparatus comprising: a projection unit which reprojects on the projection plane in full scale according to the ratio.
前記投影距離と1画素あたりの変換係数とを対応付けて記憶する距離情報記憶部とをさらに有し、
前記算出部は、前記投影画像記憶部と前記距離情報記憶部とを参照して、前記投影対象データに対応する前記撮像距離と前記変換係数とを取得して、前記投影対象物の実寸を算出するとともに、前記投影データに対応する前記投影距離と前記変換係数とを取得して、前記投影対象物の実寸を算出することを特徴とする請求項2に記載の画像投影装置。 A projection image storage unit that stores the projection target data and the imaging distance in association with each other;
And a distance information storage unit for storing the projection distance and a conversion coefficient per pixel in association with each other,
The calculation unit refers to the projection image storage unit and the distance information storage unit, acquires the imaging distance and the conversion coefficient corresponding to the projection target data, and calculates the actual size of the projection target The image projection apparatus according to claim 2, wherein the actual size of the projection target is calculated by acquiring the projection distance and the conversion coefficient corresponding to the projection data.
投影対象物を含む投影対象データを投影面に投影して、投影面上に投影された投影データを取得し、
前記投影対象物の実寸に関する情報に基づいて、前記投影対象物の実寸と、前記投影データに含まれる投影対象物の実寸との比率を算出し、
前記比率にしたがって、投影面に実寸大に再投影する
処理を含んだことを特徴とする画像投影方法。 The computer is
Projecting projection target data including a projection target object onto a projection plane to obtain projection data projected onto the projection plane;
The ratio of the actual size of the projection object to the actual size of the projection object included in the projection data is calculated based on the information on the actual size of the projection object,
An image projection method comprising the step of re-projecting on the projection surface according to the ratio.
投影対象物を含む投影対象データを投影面に投影して、投影面上に投影された投影データを取得し、
前記投影対象物の実寸に関する情報に基づいて、前記投影対象物の実寸と、前記投影データに含まれる投影対象物の実寸との比率を算出し、
前記比率にしたがって、投影面に実寸大に再投影する
処理を実行させることを特徴とする画像投影プログラム。 On the computer
Projecting projection target data including a projection target object onto a projection plane to obtain projection data projected onto the projection plane;
The ratio of the actual size of the projection object to the actual size of the projection object included in the projection data is calculated based on the information on the actual size of the projection object,
An image projection program characterized by executing a process of reprojecting on a projection surface in actual size according to the ratio.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017076255A JP6744550B2 (en) | 2017-04-06 | 2017-04-06 | Image projection device, image projection method, and image projection program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017076255A JP6744550B2 (en) | 2017-04-06 | 2017-04-06 | Image projection device, image projection method, and image projection program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018180125A true JP2018180125A (en) | 2018-11-15 |
JP6744550B2 JP6744550B2 (en) | 2020-08-19 |
Family
ID=64276454
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017076255A Active JP6744550B2 (en) | 2017-04-06 | 2017-04-06 | Image projection device, image projection method, and image projection program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6744550B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7004057B1 (en) | 2020-12-23 | 2022-01-21 | 日立金属株式会社 | Computer program, information display method, information display device and information display system |
WO2023119570A1 (en) * | 2021-12-23 | 2023-06-29 | 三菱電機ビルソリューションズ株式会社 | Projection device and projection system |
-
2017
- 2017-04-06 JP JP2017076255A patent/JP6744550B2/en active Active
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7004057B1 (en) | 2020-12-23 | 2022-01-21 | 日立金属株式会社 | Computer program, information display method, information display device and information display system |
JP2022099893A (en) * | 2020-12-23 | 2022-07-05 | 日立金属株式会社 | Computer program, information display method, information display device, and information display system |
WO2023119570A1 (en) * | 2021-12-23 | 2023-06-29 | 三菱電機ビルソリューションズ株式会社 | Projection device and projection system |
Also Published As
Publication number | Publication date |
---|---|
JP6744550B2 (en) | 2020-08-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7002056B2 (en) | 3D model generator and 3D model generation method | |
US8014985B2 (en) | Setting and visualizing a virtual camera and lens system in a computer graphic modeling environment | |
US10762653B2 (en) | Generation apparatus of virtual viewpoint image, generation method, and storage medium | |
CN101516001B (en) | Digital photographing apparatus, method of controlling the digital photographing apparatus, and recording medium | |
US10204398B2 (en) | Image distortion transformation method and apparatus | |
US20180359415A1 (en) | Panoramic video processing method and device and non-transitory computer-readable medium | |
JP7271099B2 (en) | File generator and file-based video generator | |
KR20180111970A (en) | Method and device for displaying target target | |
JP5886242B2 (en) | Image processing apparatus, image processing method, and image processing program | |
JP2009135921A (en) | Image projection apparatus, and image projection method | |
JP2014071850A (en) | Image processing apparatus, terminal device, image processing method, and program | |
US20160071294A1 (en) | Apparatus and method for constructing indoor map using cloud point | |
US7428482B2 (en) | Visualization and setting of a virtual camera and lens system in a computer graphic modeling environment | |
CN112272292A (en) | Projection correction method, apparatus and storage medium | |
WO2023207452A1 (en) | Virtual reality-based video generation method and apparatus, device, and medium | |
JP2016212784A (en) | Image processing apparatus and image processing method | |
JP6744550B2 (en) | Image projection device, image projection method, and image projection program | |
WO2020040061A1 (en) | Image processing device, image processing method, and image processing program | |
WO2022105277A1 (en) | Projection control method and apparatus, projection optical machine, and readable storage medium | |
JP2019149785A (en) | Video conversion device and program | |
JP5805013B2 (en) | Captured image display device, captured image display method, and program | |
Salamon et al. | Computational light painting using a virtual exposure | |
JP6625654B2 (en) | Projection device, projection method, and program | |
JP5926626B2 (en) | Image processing apparatus, control method therefor, and program | |
KR102076635B1 (en) | Apparatus and method for generating panorama image for scattered fixed cameras |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A711 Effective date: 20180912 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190327 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20200221 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200407 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200529 |
|
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: 20200630 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200713 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6744550 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |