Location determination method, simulation method, location determination system, and simulation system
The method and system address the flexibility issue in projector-camera systems by determining and utilizing three-dimensional coordinates to align images accurately, allowing arbitrary placement and maintaining image integrity.
Patent Information
- Application Number
- JP2020216570
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-12-25
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2040-12-25
AI Technical Summary
Existing systems that project images using a projector and camera are limited by the fixed positional relationship between the two, restricting their placement flexibility.
A method and system that determine the three-dimensional coordinates of a target object and the projector's position using a measuring instrument, allowing arbitrary placement of the projector and camera, and generate corresponding relationship information to specify the projector's position in both a three-dimensional and virtual space coordinate system.
Enables the projection of images onto a target object regardless of the projector and camera's placement, ensuring accurate alignment and generation of images in their original form.
Smart Images

Figure 0007558799000005 
Figure 0007558799000006 
Figure 0007558799000007
Abstract
Description
[Technical field]
[0001] The present invention relates to a location identification method, a simulation method, a location identification system, and a simulation system. [Background technology]
[0002] Patent Document 1 discloses a system that uses a pair of a projector and a camera to project a predetermined image onto an object. In this system, the positional relationship between the projector and the camera is determined in advance. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] US Patent Application Publication No. 2016 / 0343125 Summary of the Invention [Problem to be solved by the invention]
[0004] In the system described in Patent Document 1, the positional relationship between the projector and the camera is predetermined, so there is a risk that the projector and a measuring instrument such as a camera cannot be placed in any position. For this reason, a technology is desired that can support the projection of a predetermined image onto an object even if the projector and a measuring instrument such as a camera are placed in any position. [Means for solving the problem]
[0005] One aspect of the position identification method of the present invention includes generating relationship information indicating a correspondence between a three-dimensional coordinate system used by a measuring instrument to identify the first coordinate and a projector coordinate system that defines the second coordinate and the coordinates of the projector, based on a first three-dimensional coordinate of a portion of the target where the specific point is located when a projector projects a projection image having a specific point onto the target object and a second two-dimensional coordinate of the specific point in the projection image, and using the relationship information to identify the position of the projector in the three-dimensional coordinate system based on the projector's coordinates.
[0006] One embodiment of a simulation method according to the present invention includes generating first relationship information indicating a correspondence between a three-dimensional coordinate system used by a measuring instrument to determine the first coordinate and a projector coordinate system that defines the second coordinate and the coordinates of the projector, based on a first three-dimensional coordinate of a portion of the object where the first specific point is located when a projector projects a projection image having a first specific point onto the object and a second two-dimensional coordinate of the first specific point in the projection image; generating second relationship information indicating a correspondence between the three-dimensional coordinate system and a virtual space coordinate system that defines coordinates in the virtual space, based on coordinates in the three-dimensional coordinate system of a second specific point on the object and coordinates in a three-dimensional virtual space of a third specific point corresponding to the second specific point; and identifying a position of the projector in the virtual space coordinate system based on the coordinates of the projector by using the first relationship information and the second relationship information.
[0007] One embodiment of a simulation method according to the present invention includes generating first information indicating a correspondence between a camera coordinate system that defines the imaging coordinates and a projector coordinate system that defines the projection coordinates and the coordinates of the projector based on imaging coordinates, which are two-dimensional coordinates of a portion where the first specific point is located in an captured image generated by a camera capturing an image of an object in a situation where a projector projects a projection image having a first specific point onto the object, and projection coordinates, which are two-dimensional coordinates of the first specific point in the projected image; generating second information indicating a correspondence between the camera coordinate system and a virtual space coordinate system that indicates coordinates in the virtual space based on coordinates in the camera coordinate system of a second specific point on the object and coordinates in a three-dimensional virtual space of a third specific point corresponding to the second specific point; and identifying a position of the projector in the virtual space coordinate system based on the coordinates of the projector by using the first information and the second information.
[0008] One aspect of the position identification system of the present invention includes a generation unit that generates relationship information indicating a correspondence between a three-dimensional coordinate system used by a measuring instrument to identify a specific point and a projector coordinate system that defines the second coordinate and the coordinates of the projector, based on a first three-dimensional coordinate of a portion of the target object where the specific point is located when a projector projects a projection image having the specific point onto the target object and a second two-dimensional coordinate of the specific point in the projection image, and a position identification unit that uses the relationship information to identify the position of the projector in the three-dimensional coordinate system based on the projector's coordinates.
[0009] One embodiment of the simulation system according to the present invention includes a first generation unit that generates first relationship information indicating a correspondence between a three-dimensional coordinate system used by a measuring instrument that determines the first coordinate and a projector coordinate system that defines the second coordinate and the coordinates of the projector, based on a first three-dimensional coordinate of a portion of the object where the first specific point is located when a projector projects a projection image having a first specific point onto the object, and a second two-dimensional coordinate of the first specific point in the projection image; a second generation unit that generates second relationship information indicating a correspondence between the three-dimensional coordinate system and a virtual space coordinate system that defines coordinates in the virtual space, based on coordinates in the three-dimensional coordinate system of a second specific point on the object and coordinates in a three-dimensional virtual space of a third specific point corresponding to the second specific point; and a position identification unit that identifies a position of the projector in the virtual space coordinate system based on the coordinates of the projector by using the first relationship information and the second relationship information.
[0010] One embodiment of the simulation system according to the present invention includes a first generation unit that generates first information indicating a correspondence between a camera coordinate system that defines the imaging coordinates and a projector coordinate system that defines the projection coordinates and the coordinates of the projector, based on imaging coordinates, which are two-dimensional coordinates of a portion where the first specific point is located in an captured image generated by a camera capturing an image of an object in a situation where a projector projects a projection image having a first specific point onto the object, and projection coordinates, which are two-dimensional coordinates of the first specific point in the projected image; a second generation unit that generates second information indicating a correspondence between the camera coordinate system and a virtual space coordinate system that indicates coordinates in the virtual space, based on coordinates in the camera coordinate system of a second specific point on the object and coordinates in a three-dimensional virtual space of a third specific point corresponding to the second specific point; and a position identification unit that identifies a position of the projector in the virtual space coordinate system based on the coordinates of the projector by using the first information and the second information. [Brief description of the drawings]
[0011] [Figure 1] 1 is a diagram showing a projection system 1 according to a first embodiment. [Diagram 2] FIG. 13 is a diagram showing an example of a deformed image G1. [Diagram 3] FIG. 2 is a diagram showing an original image G2 on which a deformed image G1 is based. [Figure 4] FIG. 13 is a diagram showing an example of deformation of an original image G2. [Diagram 5] 13 is a diagram showing an example of projection of a deformed image G1. FIG. [Figure 6] FIG. 2 is a diagram showing an example of a simulation of an image in a virtual space d1. [Figure 7] FIG. 1 is a diagram illustrating an example of a projector 100. [Figure 8] FIG. 2 is a diagram showing an example of a projector coordinate system CS1. [Figure 9] FIG. 13 is a diagram showing an example of a measurement image G3. [Figure 10] FIG. 2 illustrates an example of a measuring instrument 200. [Figure 11] FIG. 13 is a diagram showing an example of a measuring instrument coordinate system CS2. [Figure 12] FIG. 3 illustrates an example of an information processing device 300. [Figure 13] FIG. 2 is a diagram showing an example of a virtual space d1. [Figure 14] FIG. 13 is a diagram showing an example of a corresponding point f. [Figure 15] FIG. 13 is a diagram showing an example of a plurality of measurement images G3. [Figure 16] FIG. 13 is a diagram showing the relationship between the pixel 130p and the phase φ. [Figure 17] 2 is a diagram for explaining the operation of the projection system 1. FIG. [Figure 18] FIG. 2 is a diagram for explaining vectors v1 and v2. [Figure 19] FIG. 13 is a diagram showing another example of the measurement image G3. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] A: First embodiment A1: Overview of Projection System 1 1 is a diagram showing a projection system 1 according to a first embodiment. The projection system 1 is an example of each of a position identification system and a simulation system.
[0013] The projection system 1 projects an image onto the object 2. The object 2 is a wall of a room. The wall of the room is an example of an object to be staged. The object to be staged is not limited to the wall of a room, and may be, for example, the outer wall of a building or a product. The object 2 is not limited to the object to be staged, and may be, for example, an object under manufacture or an object under inspection. The object under manufacture is, for example, an automobile under manufacture, a train under manufacture, an aircraft under manufacture, an electrical appliance under manufacture, or a building under construction. The object under inspection is, for example, an automobile under inspection, a train under inspection, an aircraft under inspection, an electrical appliance under inspection, or a building under inspection. The form of the object 2 is not limited to the form shown in FIG. 1, and can be changed as appropriate.
[0014] The object 2 has three object points, specifically, a first object point k1, a second object point k2, and a third object point k3. When there is no need to distinguish the first object point k1 to the third object point k3 from one another, each of the first object point k1 to the third object point k3 is referred to as a "object point k." The object point k is an example of a second specific point. The object 2 may have four or more object points k.
[0015] The projection system 1 includes a projector 100, a measuring device 200, and an information processing device 300.
[0016] The projector 100 projects a deformed image G1 onto the object 2. FIG. 2 is a diagram showing an example of the deformed image G1. The deformed image G1 is an image that has been deformed according to the shape of the object 2. FIG. 3 is a diagram showing an original image G2 that is the basis of the deformed image G1. The original image G2 is an example of a first image. The deformed image G1 is an example of a second image.
[0017] In a situation where the original image G2 is projected from the projector 100 onto the object 2, the original image G2 displayed on the object 2 is deformed according to the shape of the object 2, as shown in Fig. 4. The deformation of the original image G2 according to the shape of the object 2 occurs because the image projected from the projector 100 becomes larger the longer the distance from the projector 100 to the projection destination of the image. Hereinafter, the deformation occurring in the original image G2 projected onto the object 2 is referred to as the "first deformation."
[0018] The deformed image G1 is obtained by causing a second deformation on the original image G2, which is offset by the first deformation.
[0019] In a situation where the deformed image G1 is projected from the projector 100 onto the object 2, a first deformation occurs in the deformed image G1 projected onto the object 2. This first deformation cancels out the second deformation in the deformed image G1. Therefore, as shown in Fig. 5, the deformed image G1 is displayed on the object 2 in the same form as the original image G2.
[0020] In the industrial field, when it is desired to visibly indicate on an object 2 a manufacturing method or an inspection method of the object 2 using text or the like, a deformed image G1 can be generated based on an original image G2 which visibly indicates, using text or the like, the manufacturing method of the object 2 or the inspection method of the object 2.
[0021] The measuring instrument 200 performs three-dimensional measurement of the object 2. The information processing device 300 uses the projector 100 and the measuring instrument 200 to generate a deformed image G1.
[0022] As shown in FIG. 6, the information processing device 300 generates a deformed image G1 by simulating an image in a virtual space d1.
[0023] The information processing device 300 first places a virtual object 2v having the same shape as the object 2 in the virtual space d1.
[0024] The information processing device 300 then displays the original image G2 on the virtual object 2v as if a virtual paper representing the original image G2 were attached to the virtual object 2v.
[0025] Information processing device 300 then places virtual camera 400v in virtual space d1. Specifically, the information processing device 300 places the virtual camera 400v such that the positional relationship between the virtual camera 400v and the virtual object 2v coincides with the positional relationship between the projector 100 and the object 2.
[0026] Virtual camera 400v has a virtual imaging lens 410v that has the same internal parameters as the internal parameters of projection lens 140 of projector 100.
[0027] The information processing device 300 then generates, as a deformed image G1, a virtual captured image obtained by capturing an original image G2 displayed on the virtual object 2v with a virtual camera 400v. An imaging area 420v of the virtual camera 400v is shown in FIG.
[0028] When the deformed image G1 is generated by such a method, it is necessary to specify the position of the virtual camera 400v in the virtual space d1. The information processing device 300 specifies the position of the virtual camera 400v in the virtual space d1 by using the projector 100 and the measuring instrument 200 even if the projector 100 and the measuring instrument 200 are placed in arbitrary positions.
[0029] The configuration of the projection system 1 will be described below, focusing mainly on a method for identifying the position of the virtual camera 400v in the virtual space d1 and a method for generating the deformed image G1.
[0030] A2: Projector 100 7 is a diagram showing an example of a projector 100. The projector 100 includes an image processing unit 110, a light source 120, a liquid crystal light valve 130, and a projection lens 140.
[0031] The image processing unit 110 is configured with, for example, a circuit such as an image processing circuit. The image processing unit 110 receives image data a from the information processing device 300. The image processing unit 110 performs image processing such as gamma correction on the image data a to generate a voltage b based on the image data a.
[0032] The light source 120 is a light emitting diode (LED). The light source 120 is not limited to an LED, and may be, for example, a xenon lamp or a laser light source.
[0033] The liquid crystal light valve 130 is composed of a liquid crystal panel in which liquid crystal exists between a pair of transparent substrates, etc. The liquid crystal light valve 130 has a rectangular pixel region 130a. The pixel region 130a includes a plurality of pixels 130p arranged in a matrix.
[0034] In the liquid crystal light valve 130, a voltage b based on image data a is applied to the liquid crystal for each pixel 130p. When the voltage b based on image data a is applied to the liquid crystal for each pixel 130p, the pixel 130p is set to a light transmittance based on the image data a.
[0035] The light emitted from the light source 120 is modulated by the pixel region 130a of the liquid crystal light valve 130. The liquid crystal light valve 130 is an example of a light modulation device. The light modulated by the liquid crystal light valve 130 travels toward the projection lens 140. The projection lens 140 projects the light modulated by the liquid crystal light valve 130, i.e., an image, onto the object 2.
[0036] A projector coordinate system CS1 is applied to the liquid crystal light valve 130. Fig. 8 is a diagram showing an example of the projector coordinate system CS1. The projector coordinate system CS1 is a two-dimensional coordinate system. The origin o1 of the projector coordinate system CS1 is set to the upper left corner 130c of the pixel region 130a shown in Fig. 8. For convenience, the origin o1 is shown in Fig. 8 at a position different from the upper left corner 130c.
[0037] The position of the principal point of the projection lens 140 is specified by the coordinates of the projector coordinate system CS1. The coordinates of the position of the principal point of the projection lens 140 are an example of the coordinates of the projector 100. The coordinates of the projector 100 are not limited to the coordinates of the position of the principal point of the projection lens 140, and may be any coordinates in the projector coordinate system CS1.
[0038] The projector coordinate system CS1 is defined by an x1 axis and a y1 axis. The x1 axis and the y1 axis are determined according to the orientation of the liquid crystal light valve 130. The x1 axis is parallel to the horizontal direction of the liquid crystal light valve 130, i.e., parallel to the lateral direction of the liquid crystal light valve 130. The y1 axis is perpendicular to the x1 axis. The y1 axis is parallel to the vertical direction of the liquid crystal light valve 130, i.e., parallel to the longitudinal direction of the liquid crystal light valve 130.
[0039] 8 shows a z1 axis in addition to the x1 and y1 axes. The z1 axis is orthogonal to each of the x1 and y1 axes. The z1 axis is along the optical axis of the projection lens 140.
[0040] The projector 100 projects a measurement image G3 onto the object 2 in addition to the deformed image G1.
[0041] 9 is a diagram showing an example of a measurement image G3. The measurement image G3 is used to identify the correspondence between the projector coordinate system CS1 and the measurement instrument coordinate system CS2 of the measuring instrument 200. More specifically, the measurement image G3 is used to identify a point in the measurement instrument coordinate system CS2 that corresponds to a point in the projector coordinate system CS1.
[0042] The measurement image G3 has a first measurement point e1, a second measurement point e2, and a third measurement point e3. When there is no need to distinguish the first measurement point e1 to the third measurement point e3 from one another, each of the first measurement point e1 to the third measurement point e3 is referred to as a "measurement point e." The measurement point e is a part of the measurement image G3. The measurement point e is an example of a specific point and an example of a first specific point. The measurement image G3 is an example of a projected image having a specific point and an example of a projected image having a first specific point. The measurement image G3 may have four or more measurement points e.
[0043] When multiple measurement images G3 are used, the measurement point e may be present in each of the multiple measurement images G3 in a manner that is not distinguishable from other parts of the measurement image G3. An example of multiple measurement images G3 is multiple phase shift images used in the phase shift method. The phase shift image will be described later.
[0044] A3: Measuring Instruments 200 10 is a diagram showing an example of a measuring instrument 200. The measuring instrument 200 is a stereo camera. The measuring instrument 200 is not limited to a stereo camera, and may be any device that performs three-dimensional measurement of the object 2. The measuring instrument 200 is configured separately from the projector 100. The measuring instrument 200 may not be configured separately from the projector 100, but may be incorporated into the projector 100.
[0045] Measuring instrument 200 includes a first camera 210, a second camera 220, a first storage unit 230, and a first processing unit 240. The positions of first camera 210 and second camera 220 are different from each other.
[0046] The first camera 210 includes a first imaging lens 211 and a first image sensor 212 .
[0047] The first imaging lens 211 forms an optical image of the object 2 on the first image sensor 212. For example, in a situation where the projector 100 projects the measurement image G3 onto the object 2, the first imaging lens 211 forms an optical image of the object 2 onto which the measurement image G3 is projected, on the first image sensor 212.
[0048] The first image sensor 212 is a CCD (Charge Coupled Device) image sensor. The first image sensor 212 is not limited to a CCD image sensor, and may be, for example, a CMOS (Complementary Metal Oxide Semiconductor) image sensor. The first image sensor 212 has a rectangular first imaging area 212a. The first imaging area 212a includes a plurality of cells 212p arranged in a matrix. The first image sensor 212 generates first imaging data c1 based on an optical image formed by the first imaging lens 211.
[0049] The second camera 220 includes a second imaging lens 221 and a second image sensor 222 .
[0050] The second imaging lens 221 forms an optical image of the object 2 on the second image sensor 222. For example, in a situation where the projector 100 projects the measurement image G3 onto the object 2, the second imaging lens 221 forms an optical image of the object 2 onto which the measurement image G3 is projected, on the second image sensor 222.
[0051] The second image sensor 222 is a CCD image sensor. The second image sensor 222 is not limited to a CCD image sensor, and may be, for example, a CMOS image sensor. The second image sensor 222 has a rectangular second imaging area 222a. The second imaging area 222a includes a plurality of cells 222p arranged in a matrix. The second image sensor 222 generates second imaging data c2 based on an optical image formed by the second imaging lens 221.
[0052] The first storage unit 230 is a recording medium readable by the first processing unit 240. The first storage unit 230 includes, for example, a nonvolatile memory and a volatile memory. The nonvolatile memory is, for example, a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), and an Electrically Erasable Programmable Read Only Memory (EEPROM). The volatile memory is, for example, a Random Access Memory (RAM). The first storage unit 230 stores a first program P1 executed by the first processing unit 240.
[0053] The first processing unit 240 is configured with one or more central processing units (CPUs). The one or more CPUs are an example of one or more processors. Each of the processor and the CPU is an example of a computer.
[0054] The first processing unit 240 reads the first program P1 from the first storage unit 230. The first processing unit 240 functions as an imaging control unit 241, a providing unit 242, and a calculating unit 243 by executing the first program P1.
[0055] Each of the imaging control unit 241, the providing unit 242, and the calculating unit 243 may be configured by a circuit such as a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), a PLD (Programmable Logic Device), or an FPGA (Field Programmable Gate Array).
[0056] The imaging control unit 241 controls the imaging performed by the first camera 210 and the imaging performed by the second camera 220.
[0057] The providing unit 242 outputs various information such as the first imaging data c1 and the second imaging data c2 to the information processing device 300.
[0058] The calculation unit 243 performs three-dimensional measurement of the object 2 based on the first imaging data c1 and the second imaging data c2. The calculation unit 243 represents the result of the three-dimensional measurement by using coordinates in the measuring instrument coordinate system CS2.
[0059] FIG. 11 is a diagram showing an example of the measurement instrument coordinate system CS2. The measurement instrument coordinate system CS2 is a three-dimensional coordinate system. The origin o2 of the measurement instrument coordinate system CS2 is set to the position of the principal point of the first imaging lens 211. The position of the principal point of the first imaging lens 211 is an example of the position of the measurement instrument 200. In FIG. 11, for convenience, the origin o2 is shown at a position different from the position of the principal point of the first imaging lens 211. The origin o2 of the measurement instrument coordinate system CS2 is not limited to the position of the principal point of the first imaging lens 211, and may be, for example, the position of the principal point of the second imaging lens 221. The position of the principal point of the second imaging lens 221 is another example of the position of the measurement instrument 200.
[0060] The measuring instrument coordinate system CS2 is an example of a three-dimensional coordinate system. The measuring instrument coordinate system CS2 is defined by an x2 axis, a y2 axis, and a z2 axis. The x2 axis, the y2 axis, and the z2 axis are determined according to the orientation of the measuring instrument 200. The x2 axis, the y2 axis, and the z2 axis are mutually orthogonal.
[0061] The x2 axis is parallel to the horizontal direction of the first image sensor 212, i.e., parallel to the lateral direction of the first image sensor 212. When the origin o2 of the measurement instrument coordinate system CS2 coincides with the position of the principal point of the second imaging lens 221, the x2 axis is parallel to the horizontal direction of the second image sensor 222, i.e., parallel to the lateral direction of the second image sensor 222.
[0062] The y2 axis is parallel to the vertical direction of the first image sensor 212, i.e., parallel to the longitudinal direction of the first image sensor 212. When the origin o2 of the measurement instrument coordinate system CS2 coincides with the position of the principal point of the second imaging lens 221, the y2 axis is parallel to the vertical direction of the second image sensor 222, i.e., parallel to the longitudinal direction of the second image sensor 222.
[0063] The z2 axis coincides with the optical axis of the first imaging lens 211. When the origin o2 of the measurement instrument coordinate system CS2 coincides with the position of the principal point of the second imaging lens 221, the z2 axis coincides with the optical axis of the second imaging lens 221.
[0064] A4: Information processing device 300 12 is a diagram showing an example of an information processing device 300. The information processing device 300 is a PC (Personal Computer). The information processing device 300 is not limited to a PC, and may be, for example, a tablet or a smartphone.
[0065] The information processing device 300 includes an operation unit 310, a display unit 320, a second storage unit 330, and a second processing unit 340.
[0066] The operation unit 310 is, for example, a keyboard, a mouse, an operation button, an operation key, or a touch panel, and receives input operations from the user.
[0067] The display unit 320 is a display, for example, a flat panel display (FPD) such as a liquid crystal display, a plasma display, an organic electroluminescence (EL) display, etc. The display unit 320 displays various information.
[0068] The second storage unit 330 is a recording medium readable by the second processing unit 340. The second storage unit 330 includes, for example, a non-volatile memory and a volatile memory. The second storage unit 330 stores a second program P2 executed by the second processing unit 340.
[0069] The second processing unit 340 is configured with, for example, one or more CPUs. The second processing unit 340 reads the second program P2 from the second storage unit 330. The second processing unit 340 executes the second program P2 to function as a virtual space generation unit 341, a projection control unit 342, a measurement control unit 343, an acquisition unit 344, a first generation unit 345, a second generation unit 346, a position identification unit 347, a virtual space control unit 348, and an image generation unit 349.
[0070] Each of the virtual space generation unit 341, the projection control unit 342, the measurement control unit 343, the acquisition unit 344, the first generation unit 345, the second generation unit 346, the position identification unit 347, the virtual space control unit 348 and the image generation unit 349 may be composed of a circuit such as a DSP, an ASIC, a PLD, an FPGA, etc.
[0071] The virtual space generation unit 341 generates a three-dimensional virtual space d1. Fig. 13 is a diagram showing an example of the virtual space d1. A virtual space coordinate system CS3 is applied to the virtual space d1. The virtual space coordinate system CS3 is a three-dimensional coordinate system. The virtual space coordinate system CS3 is defined by an x3 axis, a y3 axis, and a z3 axis. The x3 axis, the y3 axis, and the z3 axis are mutually orthogonal.
[0072] A virtual object 2v is located in the virtual space d1. The virtual object 2v corresponds to the object 2. The shape of the virtual object 2v is the same as the shape of the object 2.
[0073] The virtual object 2v has three virtual object points, specifically, a first virtual object point q1, a second virtual object point q2, and a third virtual object point q3.
[0074] When there is no need to distinguish the first to third imaginary object points q1 to q3 from one another, each of the first to third imaginary object points q1 to q3 will be referred to as a “virtual object point q.” The virtual object point q is an example of a third specific point corresponding to the second specific point.
[0075] The positional relationship between the virtual object 2v and the first virtual object point q1 is the same as the positional relationship between the object 2 and the first virtual object point k1. For example, when the position of the first virtual object point q1 in the virtual object 2v is determined in advance, the position of the first object point k1 in the object 2 is determined so that the positional relationship between the object 2 and the first virtual object point k1 is the same as the positional relationship between the virtual object 2v and the first virtual object point q1.
[0076] In this case, for example, a first physical marker is placed at the position of a first target point k1 on the object 2. The first physical marker has a reflectance different from the reflectance of the object 2. Therefore, the first physical marker can be identified in each of the first imaging data c1 generated by the first camera 210 and the second imaging data c2 generated by the second camera 220. Therefore, it is possible to identify the position of the first physical marker, i.e., the position of the first target point k1, based on the first imaging data c1 and the second imaging data c2. The first virtual target point q1 corresponds to the first target point k1.
[0077] The positional relationship between the virtual object 2v and the second virtual object point q2 is the same as the positional relationship between the object 2 and the second virtual object point k2. For example, when the position of the second virtual object point q2 in the virtual object 2v is determined in advance, the position of the second object point k2 in the object 2 is determined so that the positional relationship between the object 2 and the second virtual object point k2 is the same as the positional relationship between the virtual object 2v and the second virtual object point q2.
[0078] In this case, for example, a second physical marker is placed at the position of the second target point k2 on the target object 2. The second physical marker has a reflectance different from the reflectance of the target object 2 and the first physical marker. Therefore, the second physical marker can be identified in each of the first imaging data c1 generated by the first camera 210 and the second imaging data c2 generated by the second camera 220. Therefore, it is possible to identify the position of the second physical marker, i.e., the position of the second target point k2, based on the first imaging data c1 and the second imaging data c2. The second virtual target point q2 corresponds to the second target point k2.
[0079] The positional relationship between the virtual object 2v and the third virtual object point q3 is the same as the positional relationship between the object 2 and the third virtual object point k3. For example, when the position of the third virtual object point q3 in the virtual object 2v is determined in advance, the position of the third object point k3 in the object 2 is determined so that the positional relationship between the object 2 and the third virtual object point k3 is the same as the positional relationship between the virtual object 2v and the third virtual object point q3.
[0080] In this case, for example, a third physical marker is placed at the position of the third target point k3 on the object 2. The third physical marker has a reflectance different from the reflectance of each of the object 2, the first physical marker, and the second physical marker. Therefore, the third physical marker can be identified in each of the first imaging data c1 generated by the first camera 210 and the second imaging data c2 generated by the second camera 220. Therefore, it is possible to identify the position of the third physical marker, that is, the position of the third target point k3, based on the first imaging data c1 and the second imaging data c2. The third virtual target point q3 corresponds to the third target point k3.
[0081] Returning to FIG. 12 for explanation, the projection control unit 342 controls the projector 100. The projection control unit 342 causes the projector 100 to project each of the measurement image G3 and the deformed image G1. The projection control unit 342 causes the projector 100 to project the measurement image G3 by providing the projector 100 with measurement image data indicating the measurement image G3. The measurement image data is an example of image data a. The projection control unit 342 causes the projector 100 to project the deformed image G1 by providing the projector 100 with deformed image data indicating the deformed image G1. The deformed image data is another example of image data a.
[0082] The measurement control unit 343 controls the measuring instrument 200. The measurement control unit 343 causes the measuring instrument 200 to capture an image of the object 2. The measurement control unit 343 causes the measuring instrument 200 to perform three-dimensional measurement of the object 2.
[0083] The acquisition unit 344 acquires, from the measuring instrument 200, the three-dimensional coordinates of a portion of the object 2 where the measurement point e of the measurement image G3 is located in a situation where the projector 100 projects the measurement image G3 onto the object 2.
[0084] A portion of the object 2 where the measurement point e of the measurement image G3 is located is referred to as a "corresponding point f." FIG. 14 is a diagram showing an example of the corresponding point f. FIG. 14 shows three corresponding points f, specifically, a first corresponding point f1, a second corresponding point f2, and a third corresponding point f3. The corresponding points f are points that correspond to the measurement point e of the measurement image G3. The first corresponding point f1 corresponds to the first measurement point e1. The second corresponding point f2 corresponds to the second measurement point e2. The third corresponding point f3 corresponds to the third measurement point e3.
[0085] The three-dimensional coordinates of the corresponding point f are referred to as "coordinate h." The coordinate h is the coordinate of the corresponding point f in the measuring instrument coordinate system CS2. The coordinate h is measured by the measuring instrument 200. The coordinate h is an example of a first coordinate.
[0086] The two-dimensional coordinates of the measurement point e in the measurement image G3, that is, the coordinates of the measurement point e in the projector coordinate system CS1, are referred to as “coordinate i.” The coordinate i is stored in advance in the second storage unit 330. The coordinate i is an example of the second coordinate.
[0087] Returning to the explanation of Fig. 12, the first generation unit 345 generates first relationship information j1 indicating the correspondence between the measurement instrument coordinate system CS2 and the projector coordinate system CS1. The first generation unit 345 generates the first relationship information j1 based on coordinate h, which is the three-dimensional coordinate of the corresponding point f in the measurement instrument coordinate system CS2, and coordinate i, which is the two-dimensional coordinate of the measurement point e in the projector coordinate system CS1.
[0088] The second generator 346 generates second relationship information j2 indicating the correspondence between the measuring instrument coordinate system CS2 and the virtual space coordinate system CS3.
[0089] The coordinate of the target point k of the target 2 in the measuring instrument coordinate system CS2 is referred to as "coordinate m." The coordinate of the virtual object point q of the virtual object 2v in the virtual space coordinate system CS3 is referred to as “coordinate n.” The second generation unit 346 generates second relationship information j2 indicating the correspondence relationship between the measuring instrument coordinate system CS2 and the virtual space coordinate system CS3 based on the coordinate m and the coordinate n.
[0090] The position identification unit 347 uses the first relationship information j1 and the second relationship information j2 to identify the position in the virtual space coordinate system CS3 of the projector 100 based on the coordinates in the projector coordinate system CS1 of the projector 100. The position in the virtual space coordinate system CS3 of the projector 100 is referred to as a "first virtual position r1."
[0091] The virtual space control unit 348 controls the virtual space d1. The virtual space control unit 348 sets a second virtual position r2 in the virtual space d1. For example, the virtual space control unit 348 sets the second virtual position r2 in the virtual space d1 in response to a placement instruction received from the user by the operation unit 310. The second virtual position r2 in the virtual space d1 corresponds to the position of the object 2 in the measurement instrument coordinate system CS2. The virtual space control unit 348 places the virtual object 2v at the second virtual position r2. The virtual space control unit 348 displays the original image G2 on the virtual object 2v. Specifically, the virtual space control unit 348 displays the original image G2 on the virtual object 2v as if a virtual paper representing the original image G2 was pasted on the virtual object 2v.
[0092] The virtual space control unit 348 places the virtual camera 400v at a first virtual position r1 in the virtual space d1, that is, at a position in the virtual space coordinate system CS3 of the projector 100. The virtual space control unit 348 positions the principal point of the virtual imaging lens 410v included in the virtual camera 400v at the first virtual position r1.
[0093] The internal parameters of the virtual imaging lens 410v are equal to the internal parameters of the projection lens 140 of the projector 100. The internal parameters of the virtual imaging lens 410v represent the characteristics of the virtual imaging lens 410v, such as the focal length of the virtual imaging lens 410v. The internal parameters of the projection lens 140 represent the characteristics of the projection lens 140, such as the focal length of the projection lens 140. In this embodiment, the internal parameters of the projection lens 140 are known. The internal parameters of the projection lens 140 are stored in, for example, the second storage unit 330.
[0094] The image generation unit 349 generates a virtual captured image obtained by capturing an original image G2 displayed on a virtual object 2v with a virtual camera 400v as a deformed image G1. For example, the image generation unit 349 generates image data representing the virtual captured image as deformed image data representing the deformed image G1.
[0095] A5: Measurement image G3 15 is a diagram showing an example of a plurality of measurement images G3. The plurality of measurement images G3 include a first phase shift image G31 to a fourth phase shift image G34.
[0096] When there is no need to distinguish the first to fourth phase shifted images G31 to G34 from one another, each of the first to fourth phase shifted images G31 to G34 is referred to as a "phase shifted image G30."
[0097] The phase-shifted image G30 is a pattern image that shows a change in luminance according to a sine wave in the direction along the x1 axis of the projector coordinate system CS1. The sine wave is a concept that includes a cosine wave. The phase-shifted image G30 is used in the phase-shifting method.
[0098] The phase of the sine wave in the second phase shifted image G32 leads by π / 2 from the phase of the sine wave in the first phase shifted image G31. The phase of the sine wave in the third phase shifted image G33 leads by π from the phase of the sine wave in the first phase shifted image G31. The phase of the sine wave in the fourth phase shifted image G34 leads by 3π / 2 from the phase of the sine wave in the first phase shifted image G31.
[0099] The phase shift image G30 is used to identify the corresponding point f. The corresponding point f is a portion of the object 2 where the measurement point e of the phase shift image G30 is located when the projector 100 projects the phase shift image G30 onto the object 2.
[0100] The phase shift method is used to identify a cell 212pt observing the corresponding point f among the multiple cells 212p of the first image sensor 212. Also, the phase shift method is used to identify a cell 222pt observing the corresponding point f among the multiple cells 222p of the second image sensor 222. The cells 212pt and 222pt are identified by using the phase of the sine wave of the phase shift image G30.
[0101] FIG. 16 is a diagram showing the relationship between pixels 130p arranged in the direction along the x1 axis in the liquid crystal light valve 130 and the phase φ1 of the sine wave corresponding to the luminance of the pixel 130p when the projector 100 projects the first phase shift image G31.
[0102] As shown in Fig. 16, in the direction along the x1 axis, there is a one-to-one correspondence between pixel 130p of the liquid crystal light valve 130 and phase φ1. Therefore, among the multiple pixels 130p that the liquid crystal light valve 130 has, phase φ1e that corresponds to pixel 130pe located at measurement point e is uniquely identified. For the sake of simplicity of explanation, in Fig. 16, only pixel 130p located at the first measurement point e1 is shown as pixel 130pe.
[0103] It is known that the phase φ2 of the sine wave corresponding to the luminance observed by an arbitrary cell 212pi of the first image sensor 212 in a situation where the first phase-shifted image G31 is projected is determined by Equation 1. φ2=tan -1 {(I2-I4) / (I1-I3)} Equation 1 I1 is the luminance observed by the cell 212pi when the first phase shifted image G31 is projected. I2 is the luminance observed by the cell 212pi when the second phase-shifted image G32 is projected. I3 is the luminance observed by the cell 212pi when the third phase-shifted image G33 is projected. I4 is the luminance observed by the cell 212pi when the fourth phase-shifted image G34 is projected.
[0104] The cell 212pt identified by the phase shift method is a cell that observes the corresponding point f among the multiple cells 212p included in the first image sensor 212. Therefore, the phase φ2 corresponding to the luminance observed by the cell 212pt indicates the same value as the phase φ1e corresponding to the luminance of the pixel 130pe. Therefore, the search for the cell 212pt means searching for a cell that observes a luminance corresponding to the phase φ2 indicating the same value as the phase φ1e corresponding to the pixel 130pe among the multiple cells 212p. Therefore, from among the multiple cells 212p, the coordinate x1 of the projector coordinate system CS1 where the corresponding point f is located is selected. 1f and the corresponding coordinate x 2f It is possible to identify a set of coordinate cells 212px having the following coordinate system:
[0105] Although not shown, the measurement images G3 further include a fifth phase shift image G35 to an eighth phase shift image G38. The fifth phase shift image G35 to the eighth phase shift image G38 are pattern images showing a change in luminance according to a sine wave in a direction along the y1 axis of the projector coordinate system CS1. The phase of the sine wave in the sixth phase shift image G36 is ahead of the phase of the sine wave in the fifth phase shift image G35 by π / 2. The phase of the sine wave in the seventh phase shift image G37 is ahead of the phase of the sine wave in the fifth phase shift image G35 by π. The phase of the sine wave in the eighth phase shift image G38 is ahead of the phase of the sine wave in the fifth phase shift image G35 by 3π / 2. By capturing the fifth phase shift image G35 to the eighth phase shift image G38 by the first camera 210, the coordinate y1 axis coordinate of the projector coordinate system CS1 where the corresponding point f is located can be selected from among the multiple cells 212p in the same manner as in the case where the first phase shift image G31 to the fourth phase shift image G34 are used. 1f and the corresponding coordinate y 2f It is possible to identify a set of coordinate cells 212py having the following structure: Therefore, from among the multiple cells 212p, the coordinate x 2f and the y coordinate 2f The cell 212p having the above may be identified as the cell 212pt. The cell 222pt can be specified in the same manner as the cell 222pt.
[0106] A6: Description of operation 17 is a diagram for explaining the operation of the projection system 1. The virtual space generation unit 341 generates the virtual space d1 in advance. The virtual space control unit 348 sets a second virtual position r2 in the virtual space d1 in advance. The virtual space control unit 348 places a virtual object 2v at the second virtual position r2 in advance.
[0107] The user inputs a start instruction to operation unit 310 by operating operation unit 310. Upon receiving the start instruction, operation unit 310 provides the start instruction to second processing unit 340.
[0108] When the second processing unit 340 receives the start instruction, in step S101, the projection control unit 342 sets the first phase shifted image G31 to the eighth phase shifted image G38 as images not to be projected.
[0109] Next, in step S102, the projection control unit 342 selects one unprojected image from among the first phase shift image G31 to the eighth phase shift image G38. The projection control unit 342 selects the unprojected images in the order of the first phase shift image G31, the second phase shift image G32, the third phase shift image G33, the fourth phase shift image G34, the fifth phase shift image G35, the sixth phase shift image G36, the seventh phase shift image G37, and the eighth phase shift image G38. The order of selecting the unprojected images is not limited to the order of the first phase shift image G31, the second phase shift image G32, the third phase shift image G33, the fourth phase shift image G34, the fifth phase shift image G35, the sixth phase shift image G36, the seventh phase shift image G37, and the eighth phase shift image G38, and can be changed as appropriate.
[0110] Next, the projection control unit 342 provides the projector 100 with image data a indicating the image selected in step S102. If the image data a is stored in the second storage unit 330, the projection control unit 342 reads the image data a from the second storage unit 330. The projection control unit 342 provides the projector 100 with the image data a read from the second storage unit 330. The projection control unit 342 may generate the image data a based on the second program P2. In this case, the projection control unit 342 provides the projector 100 with the generated image data a.
[0111] Next, the projection control section 342 changes the setting for the image selected in step S102 from an unprojected image to an already projected image.
[0112] Subsequently, in step S103, the projector 100 projects an image indicated by the image data a provided from the projection control unit 342 onto the target object 2.
[0113] Next, in step S104, the measurement control unit 343 causes the first camera 210 and the second camera 220 to capture images of the object 2 on which the image is projected.
[0114] For example, the measurement control unit 343 provides an imaging instruction to the imaging control unit 241 of the measuring instrument 200 to instruct imaging using the first camera 210 and the second camera 220. The imaging control unit 241 causes the first camera 210 and the second camera 220 to capture the object 2 on which the image is projected in response to the imaging instruction. The first camera 210 captures the object 2 on which the image is projected, thereby generating first captured image data indicating the object 2 on which the image is projected. The first captured image data is an example of first captured image data c1. The second camera 220 captures the object 2 on which the image is projected, thereby generating second captured image data indicating the object 2 on which the image is projected. The second captured image data is an example of second captured image data c2. The providing unit 242 provides the first captured image data and the second captured image data to the information processing device 300.
[0115] Next, in step S105, if there is an image set as an unprojected image among the first phase shift image G31 to the eighth phase shift image G38, the projection control unit 342 returns the process to step S102. Therefore, the first phase shift image G31 to the eighth phase shift image G38 are individually projected onto the target 2 by the projector 100. In addition, the first captured image data of each of the first phase shift image G31 to the eighth phase shift image G38 and the second captured image data of each of the first phase shift image G31 to the eighth phase shift image G38 are provided to the information processing device 300.
[0116] If there is no image set as an unprojected image among the first phase shift image G31 to the eighth phase shift image G38 in step S105, the acquisition unit 344 acquires coordinates h, which are three-dimensional coordinates of the corresponding point f in the measurement instrument coordinate system CS2, for each measurement point e in step S106. The corresponding point f is a portion where the measurement point e of the phase shift image G30 is located on the object 2 in a situation where the projector 100 projects the phase shift image G30 onto the object 2.
[0117] In step S106, the acquisition unit 344 first identifies a cell 212pt and a cell 222pt for each measurement point e. The cell 212pt is a cell that observes the corresponding point f among the multiple cells 212p included in the first image sensor 212. The cell 222pt is a cell that observes the corresponding point f among the multiple cells 222p in the second image sensor 222.
[0118] The acquiring unit 344 identifies a cell 212pt for each measurement point e based on the coordinate i, which is the coordinate of the measurement point e in the projector coordinate system CS1, and the first captured image data of each of the first phase shifted image G31 to the eighth phase shifted image G38. Since the second storage unit 330 stores the coordinate i, the acquiring unit 344 acquires the coordinate i from the second storage unit 330. The acquiring unit 344 identifies a cell 212pt for each measurement point e by using the phase shift method.
[0119] The acquiring unit 344 identifies a cell 222pt for each measurement point e based on the coordinate i, which is the coordinate of the measurement point e in the projector coordinate system CS1, and the second captured image data of each of the first phase shifted image G31 to the eighth phase shifted image G38. The acquiring unit 344 identifies a cell 222pt for each measurement point e by using a phase shift method.
[0120] When the acquisition unit 344 specifies the cell 212pt and the cell 222pt for each measurement point e, it uses the measurement control unit 343 to cause the measuring instrument 200 to perform three-dimensional measurement for each corresponding point f.
[0121] For example, the acquisition unit 344 provides a measurement instruction indicating the cell 212pt and the cell 222pt for each measurement point e from the measurement control unit 343 to the calculation unit 243 of the measuring device 200.
[0122] The calculation unit 243 calculates the three-dimensional coordinates of the corresponding point f in the measurement instrument coordinate system CS2 based on the position of the cell 212pt in the first image sensor 212 and the position of the cell 222pt in the second image sensor 222 for each measurement point e.
[0123] For example, the calculation unit 243 calculates, for each measurement point e, the distance from the corresponding point f to the measuring instrument 200 based on the position of the cell 212pt and the position of the cell 222pt, in accordance with the principle of triangulation.
[0124] The calculation unit 243 uses the coordinate based on the x2 axis of the cell 212pt as the coordinate based on the x2 axis of the three-dimensional coordinates of the corresponding point f in the measurement instrument coordinate system CS2. The calculation unit 243 uses the coordinate based on the y2 axis of the cell 212pt as the coordinate based on the y2 axis of the three-dimensional coordinates of the corresponding point f in the measurement instrument coordinate system CS2. The calculation unit 243 uses a value based on the distance from the corresponding point f to the measurement instrument 200 as the coordinate based on the z2 axis of the three-dimensional coordinates of the corresponding point f in the measurement instrument coordinate system CS2.
[0125] Next, the providing unit 242 provides the information processing device 300 with the three-dimensional coordinates of the corresponding point f in the measuring device coordinate system CS2 for each measurement point e.
[0126] The acquiring unit 344 acquires, from the providing unit 242, the three-dimensional coordinates of the corresponding point f in the measuring instrument coordinate system CS2 as coordinates h for each measurement point e.
[0127] Next, in step S107, the first generation unit 345 generates the first relationship information j1 indicating the correspondence between the measurement device coordinate system CS2 and the projector coordinate system CS1.
[0128] For example, the first generation unit 345 generates the first relationship information j1 based on coordinate h, which is the three-dimensional coordinate of the corresponding point f in the measurement instrument coordinate system CS2, and coordinate i, which is the two-dimensional coordinate of the measurement point e in the projector coordinate system CS1.
[0129] The first generating unit 345 acquires the coordinate h, which is a three-dimensional coordinate, from the acquiring unit 344. Since the coordinate i, which is a two-dimensional coordinate, is stored in the second storage unit 330, the first generating unit 345 acquires the coordinate i, which is a two-dimensional coordinate, from the second storage unit 330.
[0130] The first generator 345 generates the first relationship information j1 by solving a PnP (Perspective n Points) problem using a pair of coordinates h, which are three-dimensional coordinates, and coordinates i, which are two-dimensional coordinates, for each measurement point e. Hereinafter, the pair of coordinates h and coordinates i will be referred to as a "first coordinate pair."
[0131] For example, the first generating unit 345 solves the PnP problem by substituting the first coordinate pair for each measurement point e into Equation 2. Equation 2 is also referred to as an equation of perspective projection transformation.
number
[0132] Equation 2 is equivalent to Equation 3.
number
[0133] The first generation unit 345 generates a plurality of equations by substituting the first coordinate pair for each measurement point e into Equation 2. The first generation unit 345 identifies a rotation matrix R, a translation matrix T, and an internal parameter matrix A by solving the plurality of equations.
[0134] In this embodiment, the internal parameters of the projection lens 140 are known. That is, the internal parameter matrix A is known. Therefore, the first generation unit 345 only needs to identify the rotation matrix R and the translation matrix T by solving a plurality of equations. In this case, the first generation unit 345 can identify the rotation matrix R and the translation matrix T by using at least three first coordinate pairs.
[0135] If the first generating unit 345 uses six or more first coordinate pairs, it can identify the rotation matrix R and the translation matrix T as one solution.
[0136] The coordinates indicated by the first coordinate pairs may contain errors. Therefore, the greater the number of first coordinate pairs substituted into Equation 2, the more accurate the rotation matrix R and the translation matrix T. Therefore, it is preferable that the first generation unit 345 specifies the rotation matrix R and the translation matrix T by using a greater number of first coordinate pairs. The first generation unit 345 generates a group of the rotation matrix R, the translation matrix T, the internal parameter matrix A, and the scale factor s as the first relationship information j1.
[0137] Subsequently, in step S108, the second generating unit 346 generates second relationship information j2 indicating the correspondence between the measuring device coordinate system CS2 and the virtual space coordinate system CS3.
[0138] The second generation unit 346 generates second relationship information j2 based on coordinate m, which is the coordinate of target point k of the target object 2 in the measuring instrument coordinate system CS2, and coordinate n, which is the coordinate of virtual target point q of the virtual object 2v in the virtual space coordinate system CS3.
[0139] The second generating unit 346 acquires, from the measuring instrument 200, coordinates m which are coordinates of a target point k of the target 2 in the measuring instrument coordinate system CS2.
[0140] For example, the second generation unit 346 uses the measurement control unit 343 to cause the measuring instrument 200 to perform three-dimensional measurement for each target point k on the target object 2.
[0141] As one example, the second generation unit 346 provides an instruction for three-dimensional measurement for each target point k from the measurement control unit 343 to the calculation unit 243 of the measuring instrument 200.
[0142] The calculation unit 243 calculates the three-dimensional coordinates of each target point k in the measurement device coordinate system CS2 in response to an instruction for three-dimensional measurement of each target point k.
[0143] The calculation unit 243 uses the coordinate based on the x2 axis of a cell observing the target point k among the cells 212p in the first image sensor 212 as the coordinate based on the x2 axis of the three-dimensional coordinates of the target point k in the measurement instrument coordinate system CS2. The calculation unit 243 uses the coordinate based on the y2 axis of a cell observing the target point k among the cells 212p in the first image sensor 212 as the coordinate based on the y2 axis of the three-dimensional coordinates of the target point k in the measurement instrument coordinate system CS2. The calculation unit 243 calculates the distance from the target point k to the measurement instrument 200 using the principle of triangulation. The calculation unit 243 uses a value based on the distance from the target point k to the measurement instrument 200 as the coordinate based on the z2 axis of the three-dimensional coordinates of the target point k in the measurement instrument coordinate system CS2.
[0144] Next, the providing unit 242 provides the information processing device 300 with the three-dimensional coordinates of the target point k in the measuring device coordinate system CS2 for each target point k.
[0145] The second generating unit 346 acquires, from the providing unit 242, the three-dimensional coordinates of the target point k in the measuring instrument coordinate system CS2 as coordinate m, for each target point k.
[0146] The coordinate n, which is the coordinate of the virtual object point q of the virtual object 2v in the virtual space coordinate system CS3, is managed by the virtual space control unit 348. For this reason, the second generation unit 346 obtains, from the virtual space control unit 348, the coordinate n, which is the coordinate of the virtual object point q in the virtual space coordinate system CS3, for each virtual object point q of the virtual object 2v.
[0147] The second generating unit 346 generates second relationship information j2 using a pair for each object point k, which is the coordinate m of the object point k and the coordinate n of the virtual object point q corresponding to the object point k. Hereinafter, the pair of coordinate m and coordinate n is referred to as a "second coordinate pair."
[0148] The second generation unit 346 specifies a rotation matrix R1 that aligns the orientation of the measurement instrument coordinate system CS2 with the orientation of the virtual space coordinate system CS3, and a translation matrix T1 that aligns the origin o2 of the measurement instrument coordinate system CS2 with the origin o3 of the virtual space coordinate system CS3. The rotation matrix R1 is a matrix with 3 rows and 3 columns. The translation matrix T1 is a matrix with 1 row and 3 columns.
[0149] Equation 4 shows the relationship between the measuring instrument coordinate system CS2, the virtual space coordinate system CS3, the rotation matrix R1, and the translation matrix T1.
number
[0150] The second generating unit 346 generates a plurality of equations by substituting the second coordinate pair for each target point k into Equation 4. The second generating unit 346 identifies a rotation matrix R1 and a translation matrix T1 by solving the plurality of equations. The second generating unit 346 generates a group of the rotation matrix R1 and the translation matrix T1 as second relationship information j2.
[0151] Next, in step S109, the position identification unit 347 uses the first relationship information j1 and the second relationship information j2 to identify a first virtual position r1, which is a position in the virtual space coordinate system CS3 of the projector 100, based on the coordinates in the projector coordinate system CS1 of the projector 100.
[0152] First, the position specifying unit 347 specifies the position of the projector 100 in the measurement device coordinate system CS2 based on the coordinates of the projector 100 in the projector coordinate system CS1 by using the first relationship information j1.
[0153] For example, by using Equation 2 to which the first relationship information j1 is applied, the position identification unit 347 converts two-dimensional coordinates in the projector coordinate system CS1 of the projector 100 into three-dimensional coordinates in the measurement instrument coordinate system CS2 of the projector 100. The position identification unit 347 identifies the position indicated by the three-dimensional coordinates in the measurement instrument coordinate system CS2 of the projector 100 as a position in the measurement instrument coordinate system CS2 of the projector 100.
[0154] Next, the position specifying unit 347 uses the second relationship information j2 to specify the position of the projector 100 in the virtual space coordinate system CS3 based on the three-dimensional coordinates indicating the position of the projector 100 in the measurement instrument coordinate system CS2.
[0155] For example, by using Equation 4 to which the second relationship information j2 is applied, the position identification unit 347 converts the three-dimensional coordinates in the measurement instrument coordinate system CS2 of the projector 100 into three-dimensional coordinates in the virtual space coordinate system CS3 of the projector 100. The position identification unit 347 identifies the position indicated by the three-dimensional coordinates in the virtual space coordinate system CS3 of the projector 100 as a position in the virtual space coordinate system CS3 of the projector 100, i.e., the first virtual position r1.
[0156] Next, in step S110, virtual space control unit 348 places virtual camera 400v at first virtual position r1.
[0157] In step S110, the virtual space control unit 348 positions the principal point of the virtual imaging lens 410v included in the virtual camera 400v at a first virtual position r1.
[0158] Next, in step S111, the virtual space control unit 348 displays the undeformed original image G2 on the virtual object 2v. The virtual space control unit 348 displays the original image G2 on the virtual object 2v as if a virtual paper representing the original image G2 were attached to the virtual object 2v.
[0159] Next, in step S112, the image generation unit 349 generates, as a deformed image G1, a virtual captured image obtained by the virtual camera 400v capturing an original image G2 displayed on the virtual object 2v. The virtual captured image is an image in which a second deformation that cancels out a first deformation occurring in the original image G2 projected onto the object 2 is performed on the original image G2. The image generation unit 349 generates image data representing the virtual captured image as deformed image data representing the deformed image G1.
[0160] Next, in step S113, the projection control unit 342 provides the deformed image data indicating the deformed image G1 to the projector 100, thereby causing the projector 100 to project the deformed image G1 onto the target object 2.
[0161] When the deformed image G1 is projected onto the object 2, a first deformation occurs in the deformed image G1 displayed on the object 2. The first deformation cancels out the second deformation in the deformed image G1. Therefore, as shown in Fig. 5, the deformed image G1 is displayed on the object 2 in the same form as the original image G2.
[0162] A7: Summary of the first embodiment The first generation unit 345 generates first relationship information j1 based on three-dimensional coordinates h of a corresponding point f, which is a portion where the measurement point e is located on the object 2 in a situation where the projector 100 projects the measurement image G3 onto the object 2, and two-dimensional coordinates i of the measurement point e in the measurement image G3. The first relationship information j1 indicates the correspondence between a measurement instrument coordinate system CS2 used by the measurement instrument 200 that specifies the coordinate h, and a projector coordinate system CS1 that determines the coordinate i and the coordinates of the projector 100. The position identification unit 347 uses the first relationship information j1 to identify the position of the projector 100 in the measurement instrument coordinate system CS2 based on the coordinates of the projector 100. According to this embodiment, even if the projector 100 and the measuring instrument 200 are placed in arbitrary positions, the position of the projector 100 can be specified in the measuring instrument coordinate system CS2 used by the measuring instrument 200. The position of the projector 100 in the measuring instrument coordinate system CS2 is information required for generating the deformed image G1. Therefore, even if the projector 100 and the measuring instrument 200 are placed in arbitrary positions, it is possible to assist in projecting a predetermined image such as the deformed image G1 onto the target 2.
[0163] The first generation unit 345 generates first relationship information j1 based on three-dimensional coordinates h of a corresponding point f, which is a portion where the measurement point e is located on the object 2 in a situation where the projector 100 projects the measurement image G3 onto the object 2, and two-dimensional coordinates i of the measurement point e in the measurement image G3. The first relationship information j1 indicates the correspondence between the measurement instrument coordinate system CS2 used by the measurement instrument 200 to identify the coordinate h, and the projector coordinate system CS1 that determines the coordinate i and the coordinate of the projector 100. The second generation unit 346 generates second relationship information j2 based on the coordinate m in the measurement instrument coordinate system CS2 of the object point k on the object 2, and the coordinate n in the three-dimensional virtual space d1 of the virtual object point q corresponding to the object point k. The second relationship information j2 indicates the correspondence between the measurement instrument coordinate system CS2 and the virtual space coordinate system CS3 that determines the coordinate in the virtual space d1. The position specifying unit 347 specifies the position of the projector 100 in the virtual space coordinate system CS3 based on the coordinates of the projector 100 by using the first relationship information j1 and the second relationship information j2. According to this embodiment, even if the projector 100 and the measuring instrument 200 are placed in any positions, the position of the projector 100 can be specified in the virtual space coordinate system CS3. Therefore, a predetermined image such as the deformed image G1 can be generated based on the position of the projector 100 in the virtual space coordinate system CS3. Therefore, even if the projector 100 and the measuring instrument 200 are placed in any positions, it is possible to assist in projecting a predetermined image such as the deformed image G1 onto the target 2.
[0164] The acquisition unit 344 acquires the coordinate h from the measuring instrument 200 having the first camera 210 and the second camera 220. The measuring instrument 200 identifies the coordinate h based on a first captured image generated by the first camera 210 capturing an image of the corresponding point f at which the measurement point e is located in the object 2, and a second captured image generated by the second camera 220 capturing an image of the corresponding point f at which the measurement point e is located in the object 2. According to this embodiment, a stereo camera can be used as the measuring instrument 200. This makes it easy to acquire the coordinate h.
[0165] The virtual space control unit 348 sets a second virtual position r2 corresponding to the position of the object 2 in the virtual space d1. The virtual space control unit 348 places a virtual object 2v corresponding to the object 2 at the second virtual position r2 in the virtual space d1. The virtual space control unit 348 displays an original image G2 on the virtual object 2v. The virtual space control unit 348 places a virtual camera 400v at a position in the virtual space coordinate system CS3 of the projector 100 in the virtual space d1. The image generation unit 349 generates a deformed image G1 obtained by capturing the original image G2 displayed on the virtual object 2v with the virtual camera 400v. According to this embodiment, when the projector 100 projects the deformed image G1 on the object 2, the deformed image G1 displayed in the same form as the original image G2 can be generated.
[0166] The projection control section 342 causes the projector 100 to project the deformed image G1 onto the object 2. According to this embodiment, it is possible to project an image onto the object 2 in the same form as the original image G2.
[0167] The measurement image G3 is a pattern image showing a change in luminance according to a sine wave. According to this embodiment, a phase shift image used in a so-called phase shift method can be used as the measurement image G3.
[0168] B: Variation The following are examples of modified aspects of the above-described embodiment. Two or more aspects selected from the following examples may be combined as appropriate to the extent that they are not mutually inconsistent.
[0169] B1: First modified example In the first embodiment, the first generation unit 345 may specify the rotation matrix R and the translation matrix T by using Equation 5 instead of Equation 2. v2·(T×Rv1)=0···Formula 5 Equation 5 is called the epipolar equation.
[0170] Fig. 18 is a diagram for explaining vectors v1 and v2 shown in Equation 5. In the first modified example, the principal point of the projection lens 140 is set not on the two-dimensional plane 130s defined by the projector coordinate system CS1, but on a position C that is a focal length of the projection lens 140 away from the two-dimensional plane 130s in the direction along the z1 axis. In Fig. 18, for the sake of simplicity, the position of the two-dimensional plane 130s and the position of the first image sensor 212 are adjusted. In reality, the two-dimensional plane 130s is located at a position C away from the position C. Point symmetry The first image sensor 212 is located at a position where Point symmetry It exists at a position where
[0171] The cross product of two vectors included in the epipolar plane K indicates a vector perpendicular to the epipolar plane K. Therefore, the inner product of the cross product of two vectors included in the epipolar plane K and another vector included in the epipolar plane K is "0". Equation 5 is determined based on this relationship.
[0172] The first generating unit 345 identifies a plurality of pairs of vectors v1 and v2 based on a plurality of first coordinate pairs. A pair of vectors v1 and v2 is referred to as a "vector pair." The first generating unit 345 identifies a rotation matrix R and a translation matrix T by solving the epipolar equation of Equation 5 by a nonlinear least squares method or the like using the plurality of vector pairs.
[0173] Equation 5 can constrain the direction of the vector defined by the translation matrix T. However, Equation 5 cannot constrain the magnitude of the vector defined by the translation matrix T. Therefore, the first generation unit 345 uses Equation 6 to define the magnitude of the vector defined by the translation matrix T.
number
[0174] According to the first modified example, the rotation matrix R and the translation matrix T that represent the relationship between the projector coordinate system CS1 and the measurement device coordinate system CS2 can be specified by using an epipolar equation.
[0175] B2: Second variant In the first embodiment and the first modified example, the projection lens 140 of the projector 100 may be a zoom lens.
[0176] In this case, the internal parameters of the projection lens 140 change depending on the zoom state of the zoom lens. Therefore, when the first generation unit 345 uses Equation 2, it is necessary to specify the internal parameter matrix A in addition to the rotation matrix R and the translation matrix T. To calculate the rotation matrix R, the translation matrix T, and the internal parameter matrix A using Equation 2, at least 10 first coordinate pairs are required. Therefore, the first generation unit 345 specifies the rotation matrix R, the translation matrix T, and the internal parameter matrix A by using 10 or more first coordinate pairs.
[0177] The coordinates indicated by the first coordinate pairs may contain errors. Therefore, the greater the number of first coordinate pairs substituted into Equation 2, the more accurate the rotation matrix R, the translation matrix T, and the internal parameter matrix A become. Therefore, it is preferable that the first generation unit 345 specifies the rotation matrix R, the translation matrix T, and the internal parameter matrix A by using a larger number of first coordinate pairs. The first generation unit 345 generates a group of the rotation matrix R, the translation matrix T, the internal parameter matrix A, and the scale factor s as the first relationship information j1.
[0178] According to the second modification, it becomes possible to use a zoom lens as the projection lens 140.
[0179] B3: Third variant In the first embodiment and the first modified example, an imaging coordinate system, which is a two-dimensional coordinate system, may be applied to the first image sensor 212 of the first camera 210.
[0180] In this case, the first generating unit 345 may generate first information indicating the correspondence between the projector coordinate system CS1 and the image capture coordinate system. The second generating unit 346 may generate second information indicating the correspondence between the image capture coordinate system and the virtual space coordinate system CS3. The position identifying unit 347 may identify a first virtual position r1, which is a position in the virtual space coordinate system CS3 of the projector 100, based on the coordinates in the projector coordinate system CS1 of the projector 100 by using the first information and the second information.
[0181] For example, the first generating unit 345 generates first information indicating the correspondence between the projector coordinate system CS1 and the image capture coordinate system by using a plurality of pairs of the two-dimensional coordinate of the measurement point e in the projector coordinate system CS1 and the two-dimensional coordinate of the corresponding point f in the image capture coordinate system. The first information is, for example, a projective transformation matrix based on the projector coordinate system CS1 and the image capture coordinate system.
[0182] The second generation unit 346 generates second information indicating the correspondence between the imaging coordinate system and the virtual space coordinate system CS3 by using a plurality of pairs of the two-dimensional coordinates of the target point k in the imaging coordinate system and the three-dimensional coordinates of the virtual target point q in the virtual space coordinate system CS3. The second generation unit 346 specifies unknowns in the above-mentioned Equation 2 of the perspective projection transformation, specifically, the rotation matrix R and the translation matrix T, by using a plurality of pairs of the two-dimensional coordinates of the target point k in the imaging coordinate system and the three-dimensional coordinates of the virtual target point q in the virtual space coordinate system CS3. In this case, the second generation unit 346 applies the internal parameters of the first imaging lens 211 to the internal parameter matrix A.
[0183] First, the position specifying unit 347 specifies the position of the projector 100 in the imaging coordinate system based on the coordinates of the projector 100 in the projector coordinate system CS1 by using the first information.
[0184] Next, the position specifying section 347 uses the second information to specify the position of the projector 100 in the virtual space coordinate system CS3 based on the two-dimensional coordinates indicating the position of the projector 100 in the imaging coordinate system.
[0185] The third modified example has the following features. The first generation unit 345 generates first information based on the imaging coordinates, which are the two-dimensional coordinates of the corresponding point f, which is the portion where the measurement point e is located in the captured image generated by the first camera 210 capturing the object 2 in a situation where the projector 100 projects the measurement image G3 onto the object 2, and the projection coordinates, which are the two-dimensional coordinates of the measurement point e in the measurement image G3. The first information indicates the correspondence relationship between the camera coordinate system that determines the imaging coordinates and the projector coordinate system CS1 that determines the projection coordinates and the coordinates of the projector 100. The second generation unit 346 generates second information based on the coordinates in the camera coordinate system of the object point k on the object 2 and the coordinates in the three-dimensional virtual space d1 of the virtual object point q corresponding to the object point k. The second information indicates the correspondence relationship between the camera coordinate system and the virtual space coordinate system CS3 that indicates the coordinates in the virtual space d1. The position specifying unit 347 specifies the position of the projector 100 in the virtual space coordinate system CS3 based on the coordinates of the projector 100 by using the first information and the second information.
[0186] According to the third modification, even if the projector 100 and the first camera 210 are placed at arbitrary positions, the position of the projector 100 can be specified in the virtual space coordinate system CS3. Therefore, a predetermined image such as the deformed image G1 can be generated based on the position of the projector 100 in the virtual space coordinate system CS3. Therefore, even if the projector 100 and the first camera 210 are placed at arbitrary positions, it is possible to assist in projecting a predetermined image such as the deformed image G1 onto the target object 2. In addition, the second camera 220 can be omitted. In addition, the generation of the first relationship information j1 and the second relationship information j2 can be omitted.
[0187] B4: Fourth variant In the first embodiment and the first to second modified examples, the origin o2 of the measurement instrument coordinate system CS2 is set to the position of the principal point of the first imaging lens 211. Therefore, the coordinates of the first camera 210 in the measurement instrument coordinate system CS2 are known. Therefore, the position identifying unit 347 can identify the coordinates of the first camera 210 in the virtual space coordinate system CS3 by using the second relationship information j2.
[0188] The second generation unit 346 may update the second relationship information j2 using a virtual captured image obtained when viewing the virtual object 2v through a viewing frustum having the internal parameters of the first camera 210 from a coordinate position in the virtual space coordinate system CS3 of the first camera 210.
[0189] For example, the second generation unit 346 updates the second relationship information j2 based on a target captured image obtained by the first camera 210 capturing an image of the target 2 and a virtual captured image obtained when viewing the virtual target 2v with a viewing frustum having the internal parameters of the first camera 210 from a coordinate position in the virtual space coordinate system CS3 of the first camera 210.
[0190] As an example, the second generation unit 346 optimizes the second relationship information j2 so as to minimize the sum of squares of the error between the position of the first target point k1 shown in the target captured image and the position of the first virtual target point q1 shown in the virtual captured image. The point used to identify the error is not limited to the first target point k1, but may be, for example, the second target point k2, or may be a point located in an area of the target 2 where the image is not projected from the projector 100. Note that the fourth modification is based on the premise that the internal parameters of the first camera 210 are known. When applying the method of the fourth modification to the third modification, the second generation unit 346 optimizes the second information as described above instead of the second relationship information j2.
[0191] According to the fourth modified example, it is possible to improve the accuracy of the second relationship information j2 and the accuracy of the second information.
[0192] B5: Fifth variant In the fourth modified example, the virtual captured image shows an image of an area including the imaging range of the virtual camera 400v in the virtual object 2v. Here, the internal parameters of the virtual imaging lens 410v of the virtual camera 400v are equal to the internal parameters of the projection lens 140 of the projector 100. Therefore, the imaging range of the virtual camera 400v is equal to the projection range in which an image is projected when a virtual projector having the same internal parameters as the projector 100 is placed at the first virtual position r1. The three-dimensional coordinates in the virtual space coordinate system CS of a plurality of points included in the area that is the imaging range of the virtual camera 400v in the virtual object 2v are known. The second generation unit 346 may update the second relationship information j2 using the known three-dimensional coordinates.
[0193] Assume that the object 2 has a plurality of sample points that correspond one-to-one to a plurality of points included in the imaging range of the virtual camera 400v in the virtual object 2v. In this case, the second generation unit 346 causes the measuring device 200 to measure the three-dimensional coordinates of the plurality of sample points in the measuring device coordinate system CS2. Next, the second generation unit 346 acquires the three-dimensional coordinates of the plurality of sample points in the measuring device coordinate system CS2 from the measuring device 200. Next, the second generation unit 346 optimizes the second relationship information j2 for each sample point so that the sum of squares of the difference between the three-dimensional coordinates of the sample point in the measuring device coordinate system CS2 and the three-dimensional coordinates of the point corresponding to the sample point in the virtual space coordinate system CS3 is minimized. Note that this method is used when the area that is the imaging range of the virtual camera 400v in the virtual object 2v is not a perfect plane because it is a matching of the outer shape using a point group of three-dimensional coordinates.
[0194] According to the fifth modified example, the accuracy of the second relationship information j2 can be improved.
[0195] B6: 6th variant In the first embodiment and the first to fifth modified examples, the position of the target point k may not be the position of a physical marker, but may be the position of a feature point of the target object 2. The feature point is, for example, a bolt hole or a protrusion. In this case, the virtual target point q is set according to the position of the feature point of the target object 2.
[0196] According to the sixth modified example, a feature point of the object 2 can be used as the object point k.
[0197] B7: 7th variant In the first embodiment and the first to sixth modified examples, the measurement image G3 is not limited to a phase shift image and can be modified as appropriate. For example, the measurement image G3 may be an image showing a mark at the position of the measurement point e.
[0198] Fig. 19 is a diagram showing another example of the measurement image G3. Fig. 19 shows an image G35 showing a dot G35a at the position of the measurement point e. The center position of the dot G35a can be easily calculated by a method such as center of gravity detection. For this reason, it is preferable that the center of the dot G35a is located at the position of each measurement point e. Note that the mark is not limited to the dot G35a, and may be, for example, a polygonal mark or a mark having a shape where two lines intersect.
[0199] According to the seventh modification, the number of measurement images G3 can be reduced compared to a configuration using phase shift images.
[0200] B8: 8th variant In the first embodiment and the first to seventh modifications, the information processing device 300 may be incorporated into the projector 100 or the measuring device 200.
[0201] B9: 9th variant In the first embodiment and the first to eighth modified examples, the liquid crystal light valve 130 is used as an example of the light modulation device, but the light modulation device is not limited to the liquid crystal light valve and can be appropriately changed. For example, the light modulation device may be configured in a manner using one digital mirror device. Also, other than the liquid crystal panel and the DMD, any configuration capable of modulating the light emitted by the light source 120 can be adopted as the light modulation device. [Explanation of symbols]
[0202] 1...projection system, 2...object, 100...projector, 110...image processing unit, 120...light source, 130...liquid crystal light valve, 140...projection lens, 200...measuring instrument, 210...first camera, 211...first imaging lens, 212...first image sensor, 220...second camera, 221...second imaging lens, 222...second image sensor, 230...first memory unit, 240...first processing unit, 241...imaging control unit, 242...providing unit, 243...calculation unit, 300...information processing device, 310...operation unit, 320...display unit, 330...second memory unit, 340...second processing unit, 341...virtual space generation unit, 342...projection control unit, 343...measurement control unit, 344...acquisition unit, 345...first generation unit, 346...second generation unit, 347...position identification unit, 348...virtual space control unit, 349...image generation unit.
Claims
1. generating relationship information indicating a correspondence relationship between a three-dimensional coordinate system used by a measuring instrument that specifies the first coordinate and a projector coordinate system that defines the second coordinate and the coordinates of the projector, based on a three-dimensional first coordinate of a portion of the target where the specific point is located in the projected image in a situation where a projector projects a projection image having a specific point onto the target; By using the relationship information, a position of the projector in the three-dimensional coordinate system is identified. A location determination method comprising:
2. generating first relationship information indicating a correspondence relationship between a three-dimensional coordinate system used by a measuring instrument that specifies the first coordinates and a projector coordinate system that defines the second coordinates and coordinates of the projector, based on a first three-dimensional coordinate of a portion of the target where the first specific point is located in the projected image in a situation where a projector projects a projection image having a first specific point onto the target; and a second two-dimensional coordinate of the first specific point in the projected image; generating second relationship information indicating a correspondence relationship between the three-dimensional coordinate system and a virtual space coordinate system that defines coordinates in the virtual space, based on coordinates in the three-dimensional coordinate system of a second specific point of the object and coordinates in a three-dimensional virtual space of a third specific point corresponding to the second specific point; specifying a position of the projector in the virtual space coordinate system by using the first relationship information and the second relationship information; The simulation method includes:
3. based on imaging coordinates, which are two-dimensional coordinates of a portion where the first specific point is located in an imaged image generated by a camera capturing an image of an object in a situation where a projector projects a projection image having a first specific point onto the object, and projection coordinates, which are two-dimensional coordinates of the first specific point in the projected image, generating first information indicating a correspondence between a camera coordinate system that defines the imaging coordinates and a projector coordinate system that defines the projection coordinates and the coordinates of the projector; generating second information indicating a correspondence relationship between the camera coordinate system and a virtual space coordinate system indicating coordinates in the virtual space, based on coordinates in the camera coordinate system of a second specific point of the object and coordinates in a three-dimensional virtual space of a third specific point corresponding to the second specific point; specifying a position of the projector in the virtual space coordinate system by using the first information and the second information; The simulation method includes:
4. obtaining the first coordinates from a measuring instrument having a first camera and a second camera; The measuring instrument is a first captured image generated by capturing an image of the portion of the object where the first specific point is located with the first camera; a second captured image generated by capturing an image of the portion of the object where the first specific point is located by the second camera; and Identifying the first coordinate based on The simulation method according to claim 2 .
5. setting a virtual position corresponding to the position of the object in the virtual space; placing a virtual object corresponding to the target object at the virtual position in the virtual space; Displaying a first image on the virtual object; A virtual camera is disposed in the virtual space at a position in the virtual space coordinate system of the projector; generating a second image obtained by capturing the first image displayed on the virtual object with a virtual camera; The simulation method according to claim 2 , further comprising:
6. causing the projector to project the second image onto the object; The simulation method of claim 5 , further comprising:
7. The projected image is a pattern image showing a change in luminance according to a sine wave. The simulation method according to any one of claims 2 to 6.
8. the projected image is an image showing a mark at the position of the first specific point; The simulation method according to any one of claims 2 to 6.
9. a generation unit that generates relationship information indicating a correspondence relationship between a three-dimensional coordinate system used by a measuring instrument that determines a first coordinate and a projector coordinate system that determines the second coordinate and the coordinates of the projector, based on a three-dimensional first coordinate of a portion of an object where a specific point is located and a two-dimensional second coordinate of the specific point in the projection image when a projector projects a projection image having the specific point onto the object; a position identification unit that identifies a position of the projector in the three-dimensional coordinate system by using the relationship information; A location system including:
10. a first generation unit that generates first relationship information indicating a correspondence relationship between a three-dimensional coordinate system used by a measuring instrument that specifies a first coordinate and a projector coordinate system that defines the second coordinate and the coordinates of the projector, based on a first three-dimensional coordinate of a portion of an object where the first specific point is located in the projected image when a projector projects a projection image having a first specific point onto the object and a second two-dimensional coordinate of the first specific point in the projected image; a second generation unit that generates second relationship information indicating a correspondence relationship between the three-dimensional coordinate system and a virtual space coordinate system that defines coordinates in the virtual space, based on coordinates in the three-dimensional coordinate system of a second specific point of the object and coordinates in the three-dimensional virtual space of a third specific point corresponding to the second specific point; a position identification unit that identifies a position of the projector in the virtual space coordinate system by using the first relationship information and the second relationship information; A simulation system comprising:
11. a first generating unit that generates first information indicating a correspondence between a camera coordinate system that defines the imaging coordinates and a projector coordinate system that defines the projection coordinates and the coordinates of the projector, based on imaging coordinates that are two-dimensional coordinates of a portion where the first specific point is located in an imaging image generated by a camera capturing an image of an object in a situation where a projector projects a projection image having a first specific point onto the object, and projection coordinates that are two-dimensional coordinates of the first specific point in the projection image; a second generation unit that generates second information indicating a correspondence relationship between the camera coordinate system and a virtual space coordinate system that indicates coordinates in the virtual space, based on coordinates in the camera coordinate system of a second specific point of the object and coordinates in a three-dimensional virtual space of a third specific point corresponding to the second specific point; a position identification unit that identifies a position of the projector in the virtual space coordinate system by using the first information and the second information; A simulation system comprising:
Citation Information
Patent Citations
Method of Performing and Monitoring a Processing Step on a Workpiece
US20160343125A1
System and method for automatic alignment and projection mapping
US20170039756A1
