Imaging apparatus, imaging method, and program
The imaging device and method generate virtual images from desired positions using distance and model information, addressing the challenges of multiple device installations and collisions, enabling cost-effective and accessible image capture.
Patent Information
- Application Number
- JP2024092068
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2020-01-23
- Filing Date
- 2024-06-06
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-01-08
AI Technical Summary
Existing techniques for obtaining images from multiple virtual imaging positions require numerous imaging devices, which are costly and difficult to install, and pose challenges in avoiding device reflection and subject collision, especially for moving objects.
An imaging device and method that uses distance information and model information to calculate and generate virtual images from desired positions, utilizing a UI to specify virtual imaging positions and perform operations in a spherical coordinate system, allowing generation of virtual images without the need for multiple physical devices.
Enables easy and cost-effective generation of images from desired positions, overcoming installation challenges and device reflection issues, and facilitating imaging from positions that would otherwise be inaccessible.
Smart Images

Figure 2024114712000001_ABST
Abstract
Description
[Technical field]
[0001] The present technology relates to an imaging device, an imaging method, and a program, and in particular to an imaging device, an imaging method, and a program that enable, for example, an image captured from a desired position to be easily obtained. [Background technology]
[0002] For example, Patent Document 1 describes a technology for obtaining virtual images captured from virtual imaging positions different from actual imaging positions, in which a subject is captured from various imaging positions using multiple imaging devices, and high-precision three-dimensional data is generated from the captured images. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2019-103126 A Summary of the Invention [Problem to be solved by the invention]
[0004] The technology described in Patent Document 1 requires disposing a large number of imaging devices at various positions, and therefore is often not easily realized due to the cost of the imaging devices and the effort required for installation.
[0005] Furthermore, when arranging multiple imaging devices, care must be taken to ensure that one imaging device is not captured in another imaging device, and that, if the subject is a moving object, the subject does not collide with an imaging device, and therefore it is not always possible to install the imaging devices in any desired position.
[0006] The present technology has been made in consideration of such circumstances, and makes it possible to easily obtain an image captured from a desired position. [Means for solving the problem]
[0007] The imaging device or program of the present technology is an imaging device having a generation unit that generates a virtual image of the subject from a virtual imaging position different from the imaging position, from an imaging image of the subject captured from the imaging position, using model information and distance information from an imaging position to the subject, and a UI (User Interface) that specifies the virtual imaging position, the UI having a first operation unit that is operated when determining the center of a spherical coordinate system that represents the virtual imaging position, a second operation unit that is operated when changing the azimuth angle of the virtual imaging position in the spherical coordinate system, a third operation unit that is operated when changing the elevation angle of the virtual imaging position in the spherical coordinate system, and a fourth operation unit that is operated when changing the distance between the center of the spherical coordinate system and the virtual imaging position. Alternatively, the imaging device or program of the present technology is a program for causing a computer to function as such an imaging device.
[0008] The imaging method of the present technology includes generating a virtual image of the subject from an imaging position, which is captured from an imaging position, using model information and distance information from an imaging position to the subject, from an imaging image of the subject captured from the imaging position, and controlling the display of a UI (User Interface) that specifies the virtual imaging position, and controlling the display so that the UI has a first operation unit that is operated when determining the center of a spherical coordinate system that represents the virtual imaging position, a second operation unit that is operated when changing the azimuth angle of the virtual imaging position in the spherical coordinate system, a third operation unit that is operated when changing the elevation angle of the virtual imaging position in the spherical coordinate system, and a fourth operation unit that is operated when changing the distance between the center of the spherical coordinate system and the virtual imaging position.
[0009] In the imaging device, imaging method, and program of the present technology, distance information from an imaging position to a subject and model information are used to generate a virtual image of the subject from an imaging image captured from the imaging position, the virtual image being captured of the subject from a virtual imaging position different from the imaging position, and display of a UI (User Interface) for specifying the virtual imaging position is controlled, and the UI has a first operation unit operated when determining the center of a spherical coordinate system representing the virtual imaging position, a second operation unit operated when changing the azimuth angle of the virtual imaging position in the spherical coordinate system, a third operation unit operated when changing the elevation angle of the virtual imaging position in the spherical coordinate system, and a fourth operation unit operated when changing the distance between the center of the spherical coordinate system and the virtual imaging position.
[0010] The imaging device may be an independent device or an internal block constituting a single device.
[0011] The program can also be provided by transmitting it via a transmission medium or by recording it on a recording medium. [Brief description of the drawings]
[0012] [Figure 1] FIG. 1 is a diagram showing an example of an imaging situation. [Diagram 2] 1A and 1B are diagrams illustrating examples of imaging situations and captured images captured in the imaging situations. [Diagram 3] 11A and 11B are diagrams illustrating other examples of imaging situations and captured images captured in the imaging situations. [Figure 4] FIG. 11 is a diagram showing another example of an imaging situation. [Diagram 5] FIG. 13 is a diagram showing a captured image obtained by capturing an image of a person and a building from above in front of the person. [Figure 6] 1A and 1B are top views showing examples of imaging situations in which it is not possible to capture an image of a person from a position far away. [Figure 7] 1A and 1B are diagrams illustrating perspective projection transformation when an image is captured by an image capture device. [Figure 8] 1A and 1B are diagrams illustrating an example of an imaging situation in which an image of a subject existing on a single object plane is captured. [Figure 9] 1 is a top view showing wide-angle imaging in which a subject is imaged from an imaging position close to the subject using a wide-angle lens; [Figure 10] 1 is a top view showing telephoto imaging in which a subject is imaged from an imaging position far from the subject using a telephoto lens; [Figure 11] 1A to 1C are diagrams illustrating an example of a process for obtaining a virtual image. [Figure 12] 1A and 1B are diagrams illustrating an example of an imaging situation when a subject exists on a plurality of object planes. [Figure 13] 1 is a top view showing wide-angle imaging in which a subject is imaged from an imaging position close to the subject using a wide-angle lens; [Figure 14] 1 is a top view showing telephoto imaging in which a subject is imaged from an imaging position far from the subject using a telephoto lens; [Figure 15] 1A and 1B are diagrams showing close-range imaging and an image obtained by the close-range imaging; [Figure 16] 1A and 1B are diagrams showing a state of long-distance imaging and an image obtained by the long-distance imaging; [Figure 17] FIG. [Figure 18] 11 is a diagram illustrating mapping of pixel values when a virtual image obtained by long-distance imaging as virtual imaging is generated based on a captured image obtained by close-distance imaging as actual imaging. FIG. [Figure 19] 13 is another diagram for explaining mapping of pixel values when generating a virtual image obtained by long-distance imaging as virtual imaging based on a captured image obtained by close-distance imaging as actual imaging. FIG. [Figure 20] 11A and 11B are diagrams illustrating an example of a method for complementing an occlusion portion by complementing pixels in the occlusion portion. [Figure 21] 11A to 11C are diagrams illustrating another example of a process for obtaining a virtual image by virtually capturing images based on information obtained by actual capturing of images. [Figure 22]1A and 1B are plan views showing examples of a captured image and a virtual image. [Figure 23] 11A and 11B are diagrams for explaining a method of expressing a virtual imaging position when performing virtual imaging. [Figure 24] 11 is a plan view showing an example of a UI operated when a user specifies a virtual imaging position. FIG. [Diagram 25] 1 is a block diagram showing an example of the configuration of an embodiment of an imaging device to which the present technology is applied. [Figure 26] 13 is a flowchart illustrating an example of a process of a generation unit. [Figure 27] 1 is a block diagram showing an example of the configuration of an embodiment of a computer to which the present technology is applied. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] <Relationship between imaging distance and captured image>
[0014] FIG. 1 is a diagram showing an example of an image capturing situation using an image capturing device.
[0015] In FIG. 1 the imaging situation is shown in third angle projection.
[0016] In FIG. 1, a person is standing in front of a building when viewed from the imaging device, and the imaging device captures an image of the person and the building from in front of the person.
[0017] Hereinafter, an image (captured image) that is actually captured by the imaging device in the imaging situation of FIG. 1 will be described.
[0018] FIG. 2 is a diagram showing an example of an imaging situation by the imaging device and a captured image captured under the imaging situation.
[0019] FIG. 2A is a top view showing an imaging situation, and FIG. 2B shows a captured image captured in the imaging situation of FIG. 2A.
[0020] In A of Fig. 2, the two-dot chain line represents the angle of view of the imaging device, and the space within the angle of view is captured by the imaging device. In A of Fig. 2, the dashed line represents the angle of view occupied by a person who is the main subject (principal subject).
[0021] In the imaging situation of A in Fig. 2, the distance between the person and the building is relatively long compared to the distance between the imaging device and the person when the imaging device captures the image (imaging distance). Therefore, although the width of the building behind the person is actually wider than the person, in the captured image the width of the building appears narrower than the person. This is because distant objects appear smaller due to the law of perspective.
[0022] FIG. 3 is a diagram showing another example of an imaging situation by the imaging device and a captured image captured under the imaging situation.
[0023] FIG. 3A is a top view showing an imaging situation, and FIG. 3B shows a captured image captured in the imaging situation of FIG.
[0024] In A of FIG. 3, similarly to A of FIG. 2, the two-dot chain line represents the angle of view of the imaging device, and the dashed line represents the angle of view occupied by a person.
[0025] In A of FIG. 3, an image of a person and a building, which are the same subjects as in A of FIG. 2, is captured from an imaging position farther from the subject than in A of FIG. 2, using a telephoto lens with a narrow angle of view (or a zoom lens with a long focal length).
[0026] In the imaging situation of A in Fig. 3, an image is captured in which the width of the building is wider than the width of the person, as in reality, as shown in B in Fig. 3. This is because in the imaging situation of A in Fig. 3, the imaging distance between the imaging device and the person is greater than in the case of A in Fig. 2, and the distance between the person and the building is relatively small, reducing the sense of perspective.
[0027] As described above, even when the same subject (a person or a building) is imaged, the content (composition) of the captured image obtained differs depending on the imaging distance between the subject and the imaging device.
[0028] The fact that the captured image (content) differs depending on the imaging distance is important in video expression. To give a simple example, if you want to capture an image with a vast mountainous landscape in the background, you need to use a wider-angle lens and get closer to the subject. Conversely, if you want to capture an image with as little of the cluttered background as possible, you need to use a telephoto lens and get farther away from the subject.
[0029] In principle, if an image is captured from an infinite distance, the ratio of the sizes of the people and the building in the captured image will be equal to the actual ratio. Therefore, in architectural or academic applications, it is necessary to capture the image from a greater distance in order to obtain an image that correctly reflects the actual size ratio.
[0030] FIG. 4 is a diagram showing another example of an image capturing situation by the image capturing device.
[0031] In FIG. 4, like FIG. 1, the imaging situation is shown in third angle projection.
[0032] In the imaging situation of Fig. 1, the optical axis direction of the imaging device is approximately the same as the direction from the person to the building. In this case, the image captured by the imaging device is an image in which it is difficult to express the sense of distance between the person and the building, as shown in Fig. 2B and Fig. 3B.
[0033] In Fig. 4, the person and the building are imaged from above in front of the person, with the optical axis of the imaging device directed toward the person. In this case, the optical axis direction of the imaging device is different from the direction from the person to the building, and a captured image that expresses the sense of distance between the person and the building can be obtained.
[0034] FIG. 5 is a diagram showing a captured image obtained by capturing an image of a person and a building from above in front of the person.
[0035] By imaging the person and the building from above in front of the person, with the optical axis of the imaging device directed toward the person, it is possible to obtain an overhead image as a captured image that expresses the sense of distance between the person and the building, as if the person and the building were being viewed from above.
[0036] In order to achieve a desired image expression, it is necessary to capture images of a subject from various positions.
[0037] However, in reality, it is not always possible to capture an image from any position. For example, even if it is desired to capture an image from a position far away from a person, as in A of FIG. 3, in reality, it may not be possible to capture an image from a position far away from the person.
[0038] FIG. 6 is a top view showing an example of an imaging situation in which it is not possible to image a person from a position far away.
[0039] In Fig. 6, there is a wall in front of the person. Therefore, when capturing an image of a person from the front, it is physically impossible to move the imaging device behind the wall in front of the person, and therefore it is impossible to capture an image of the person from a long distance.
[0040] Also, as shown in Fig. 4, when capturing images of people and buildings from above in front of the people, using a tripod or stepladder allows capturing images from a certain distance above. However, when using a tripod or stepladder, capturing images from a distance above is limited to a few meters at most. Furthermore, using a tripod or stepladder reduces mobility at the imaging site.
[0041] In recent years, drones have been used to capture images of a subject from almost directly above it. However, the flight time of the drone, and therefore the image capture time, is limited by the capacity of the battery installed in the drone.
[0042] In addition, drones are not necessarily easy to operate, and when used outdoors, they are subject to weather conditions such as rain, wind, etc. Furthermore, drones cannot be used in areas where flight is restricted or prohibited due to crowds of people.
[0043] In this technology, even when a free imaging position cannot be taken, an image of a subject captured from a desired position can be easily obtained. In this technology, for example, from the image of B in Fig. 2 captured in the imaging situation of A in Fig. 2, an image of a subject captured from an imaging position in an imaging situation such as A in Fig. 3 or Fig. 5 can be generated.
[0044] Patent document 1 describes a technology in which a subject is imaged from various imaging positions using multiple imaging devices, and a virtual image is generated from three-dimensional data generated using the captured images, which shows that the subject has been imaged from an arbitrary virtual imaging position.
[0045] However, the technology described in Patent Document 1 requires placing a large number of imaging devices in various positions, and due to the cost of the imaging devices and the effort required for installation, it is often difficult to achieve the imaging situation described in Patent Document 1.
[0046] Furthermore, when multiple imaging devices are arranged, it is necessary to prevent one imaging device from being captured in another imaging device, and when the subject is a moving object, it is necessary to take care not to bump into the imaging device. Therefore, it is not always possible to install the imaging devices in any position.
[0047] In this technology, a virtual image of a subject captured from a virtual imaging position different from the imaging position is generated from an image captured from the imaging position using distance information from the imaging position to the subject and response model information. This makes it possible to easily obtain a virtual image of a subject captured from a desired virtual imaging position without installing a large number of imaging devices.
[0048] Hereinafter, a method for generating a virtual image in which a subject is imaged from a desired virtual imaging position from an image captured from a certain imaging position will be described. The method for generating a virtual image in which a subject is imaged from a desired virtual imaging position from an image captured from a certain imaging position is, for example, a method for generating, as a virtual image, an image captured from an imaging position far from the subject using a telephoto lens as in the imaging situation of A in Fig. 3 from an image captured from an imaging position close to the subject using a wide-angle lens (or a zoom lens with a shortened focal length) as in the imaging situation of A in Fig. 2.
[0049] <Perspective projection transformation>
[0050] FIG. 7 is a diagram for explaining perspective projection transformation when an image is captured by an image capturing device.
[0051] FIG. 7 shows the relationship between an actual subject on an object plane where the subject exists and an image on an imaging plane of an imaging element that performs photoelectric conversion in an imaging device.
[0052] 7 is a top view of a subject standing vertically on the ground, and the horizontal direction represents the horizontal (horizontal) position parallel to the ground. The following explanation also applies to the vertical (vertical) direction perpendicular to the ground, which is represented by a side view of a subject standing vertically on the ground.
[0053] The distance from the object plane to the lens of the imaging device (the imaging distance between the subject on the object plane and the imaging device) is called the object distance, and L obj The distance from the lens to the image plane is called the image distance, and L img The position on the object plane, i.e., the distance from the optical axis of the imaging device on the object plane, is expressed as X obj The position on the imaging surface, i.e., the distance from the optical axis of the imaging device on the imaging surface, is expressed as X img It is expressed as:
[0054] Object distance L obj , image distance L img , distance (position) obj, and distance (position) X img For , equation (1) holds.
[0055] X img / X obj =L img / L obj (1)
[0056] From equation (1), the position of the subject on the object plane, X obj The position X on the imaging plane corresponding to img can be expressed by equation (2).
[0057] X img =L img / L obj X obj (2)
[0058] Equation (2) represents a transformation called a perspective projection transformation.
[0059] The perspective projection transformation of equation (2) is, so to speak, performed physically (optically) when an image of a subject is actually captured by an image capture device.
[0060] Also, from equation (1), the position X on the imaging surface img The position X of the object on the object plane corresponding to obj can be expressed by equation (3).
[0061] X obj =L obj / L img X img (3)
[0062] Equation (3) represents the inverse transformation of the perspective projection transformation (inverse perspective projection transformation).
[0063] To perform the perspective projection inverse transformation of equation (3), the object distance L obj , image distance L img , and the position X of the object on the imaging surface img is required.
[0064] In an imaging device that captures an object, the image distance L img and the position X of the object on the imaging surface img can be recognized (acquired).
[0065] Therefore, to perform the perspective projection inverse transformation of equation (3), the object distance L obj (Distance information) needs to be recognized somehow.
[0066] Position X of the object on the object plane for each pixel on the imaging plane obj To obtain the object distance L, we need to measure the object distance L in units of pixels or a resolution close to that. obj will be necessary.
[0067] Object distance L obj Any method can be adopted as a method for obtaining the above. For example, a so-called stereo method can be adopted, which calculates the distance to the subject from the parallax obtained using a plurality of image pickup elements that perform photoelectric conversion. Also, for example, a method can be adopted in which a determined optical pattern is irradiated onto the subject, and the distance to the subject is calculated from the shape of the optical pattern projected onto the subject. Also, a method called ToF (Time of Flight) can be adopted, which calculates the distance to the subject from the time it takes for reflected light from the subject to return after irradiation with laser light. Furthermore, a method can be adopted in which the distance to the subject is calculated by using an image plane phase difference method, which is one of the so-called autofocus methods. In addition, the distance to the subject can be calculated by combining a plurality of the above methods.
[0068] Below, object distance L obj Assuming that the object can be recognized in some way, the actual object distance L from the subject can be calculated by perspective projection transformation and inverse perspective projection transformation. obj A method for generating a virtual image in which the subject is imaged (or would be imaged if it were imaged) from a virtual imaging position that is a distance different from the subject will be described.
[0069] <How to generate virtual images>
[0070] FIG. 8 is a diagram showing an example of an imaging situation in which an image of a subject existing on a single object plane is captured.
[0071] In FIG. 8, like FIG. 1, the imaging situation is shown in third angle projection.
[0072] In the imaging situation of Figure 8, the subject is present on a single object plane, which is parallel to the imaging plane of the imaging device and is therefore perpendicular to the optical axis of the imaging device.
[0073] FIG. 9 is a top view showing a state of wide-angle imaging in which a subject is imaged from an imaging position close to the subject using a wide-angle lens in the imaging situation of FIG.
[0074] In the wide-angle imaging of Fig. 9, the position on the object plane is X obj The subject is at object distance L obj_W The image distance during wide-angle photography is L img_W The position of the object on the imaging plane is X img_W It has become.
[0075] FIG. 10 is a top view showing telephoto imaging in which a subject is imaged from an imaging position far from the subject using a telephoto lens in the imaging situation of FIG.
[0076] In the telephoto image shown in Fig. 10, the position on the object plane is X obj The same subject as in the wide-angle image in Fig. 9 is captured at an object distance of L obj_T The image is taken from a distance of L img_T The position of the object on the imaging plane is X img_T It has become.
[0077] By applying the inverse perspective projection transformation equation (3) to the wide-angle image of FIG. 9, the inverse perspective projection transformation equation (4) can be obtained.
[0078] X obj =L obj_W / Limg_W X img_W (4)
[0079] By applying the perspective projection transformation equation (2) to the telephoto image of FIG. 10, the perspective projection transformation equation (5) can be obtained.
[0080] X img_T =L img_T / L obj_T X obj (5)
[0081] X on the left side of equation (4) obj On the right side of equation (5), obj By substituting into, we obtain equation (6).
[0082] X img_T =(L img_T / L obj_T )×(L obj_W / L img_W )×X img_W (6)
[0083] Here, the coefficient k is defined by equation (7).
[0084] k=(L img_T / L obj_T )×(L obj_W / L img_W ) (7)
[0085] Using equation (7), equation (6) can be reduced to a simple proportional equation, equation (8).
[0086] X img_T =k×X img_W (8)
[0087] By using the formula (8) (formula (6)), the position X on the imaging plane in wide-angle imaging using a wide-angle lens, that is, in close-range imaging from a close distance, is calculated. img_WFrom the above, the position X on the imaging plane in telephoto imaging using a telephoto lens, here, in long-distance imaging from a long distance img_T In other words, when imaging is performed using long-distance imaging, it is possible to obtain information on a virtual image that would be obtained by imaging using long-distance imaging, based on information on an image or the like obtained by actual imaging using short-distance imaging.
[0088] Above, we have explained imaging from imaging positions at different distances from the subject, using close-up imaging using a wide-angle lens and long-distance imaging using a telephoto lens as examples. However, the above explanation can be applied to imaging at any distance from the subject using a lens of any focal length.
[0089] That is, according to equation (8) (equation (6)), based on information such as an image obtained by capturing an image from a certain imaging position using a lens of a certain focal length, it is possible to obtain information on an image (virtual image) obtained when capturing an image from another imaging position (virtual imaging position) using a lens of another focal length.
[0090] Here, imaging from a certain imaging position using a lens with a certain focal length is imaging that is actually performed, and is therefore also called actual imaging, whereas imaging from another imaging position (virtual imaging position) using a lens with another focal length is not imaging that is actually performed, and is therefore also called virtual imaging.
[0091] FIG. 11 is a diagram for explaining an example of a process for obtaining a virtual image obtained by virtually capturing images based on information obtained by actual capturing, using equation (8).
[0092] Here, the conceptual meaning of obtaining the formula (6) from the formulas (4) and (5) is as follows.
[0093] Position X of the object on the imaging plane img_W is the position of a point on the object in three-dimensional space that is perspectively projected onto the imaging surface of the image sensor, which is a two-dimensional plane. img_WBy performing the inverse perspective projection transformation of equation (4), the position X obj can be obtained.
[0094] The position X on the subject in the three-dimensional space obtained in this way obj By performing the perspective projection transformation of equation (5), the object distance from the subject L obj_W The virtual imaging position is different from the imaging position that is distant by an object distance L obj_T It is possible to obtain information about a virtual image that would be obtained if imaging were performed from a virtual imaging position that is a distance away from the target object.
[0095] Equation (6) is a variable that represents the position of a point on a subject in three-dimensional space, X obj is erased, and the position X of the object on the imaging plane during wide-angle imaging as a two-dimensional plane is img_W From the position X of the object on the imaging plane during telephoto shooting as another 2D plane, img_T However, in the process of deriving equation (6) from equations (4) and (5), the position X obj has been decided once.
[0096] The process of obtaining a virtual image by virtually capturing images based on information obtained by actual capturing of images includes the steps of actually capturing images, generating a virtual subject (model), and capturing images virtually, as shown in FIG.
[0097] In actual imaging, an object in a physical space (three-dimensional space) is perspectively projected onto an imaging element by an optical system (physical lens optical system) such as a physical lens in an imaging device, and a captured image (actually captured image) that is a two-dimensional image is generated. The perspective projection transformation in actual imaging is performed optically using the physical imaging position (physical imaging position) of the imaging device as a parameter.
[0098] In generating a virtual subject, the perspective projection inverse transformation of the formula (4) is performed by calculation on an image obtained by actual imaging using distance information from the imaging position to the subject obtained by measurement or the like, and a subject (subject model) in a three-dimensional space is virtually reproduced (generated). This virtually reproduced subject is also called a virtual subject (model).
[0099] In virtual imaging, the virtual subject is (virtually) imaged by performing the perspective projection transformation of equation (5) by calculation, and a virtual image (virtual captured image) is generated. In virtual imaging, a virtual imaging position when imaging the virtual subject is specified as a parameter, and the virtual subject is imaged from the virtual imaging position.
[0100] <Position of subject on imaging plane when subject exists on multiple object planes>
[0101] FIG. 12 is a diagram showing an example of an imaging situation in which a subject exists on a plurality of object planes.
[0102] In FIG. 12, like FIG. 1, the imaging situation is shown in third angle projection.
[0103] In the imaging situation in Fig. 8, it is assumed that the object plane of the subject is single, but in actual imaging, the subject often exists on multiple object planes. Fig. 12 shows an imaging situation in which the subject exists on multiple object planes.
[0104] In the imaging situation in FIG. 12, when viewed from the imaging device side, a second subject exists as another subject behind a first subject corresponding to the subject in FIG.
[0105] For the first object, the position X of the object on the imaging plane in actual imaging, for example, in close-range imaging, is calculated using equation (6) (equation (8)). img_W Let us assume that the position of the object on the imaging plane in a virtual imaging, for example, a long-distance imaging, is X img_T can be converted to
[0106] A similar conversion can be performed for the second object.
[0107] FIG. 13 is a top view showing a state of wide-angle imaging in which a subject is imaged from an imaging position close to the subject using a wide-angle lens in the imaging situation of FIG.
[0108] FIG. 14 is a top view showing telephoto imaging in which a subject is imaged from an imaging position far from the subject using a telephoto lens in the imaging situation of FIG.
[0109] 13 and 14 are diagrams in which an object plane and an imaging plane for a second subject are added to FIGS. 9 and 10.
[0110] 13 and 14, the first object plane is the object plane of the first subject, and the second object plane is the object plane of the second subject. Since the second subject is imaged simultaneously with the first subject as the background of the first subject, the imaging plane is the same for the first subject and the second subject in each of FIGS.
[0111] In the wide-angle imaging of Fig. 13, the position on the second object plane is X obj2 The second subject is at object distance L obj_W2 The image distance during wide-angle photography is L img_W The position of the second object on the imaging plane is X img_W2 Since the first and second objects are captured simultaneously, the image distance during wide-angle imaging is the same as that in the case of FIG. img_W If the distance between the first object surface and the second object surface is d, then d can be calculated by the formula d=L obj_W2 -L obj_W It is expressed as:
[0112] In the telephoto image of Fig. 14, the position on the second object plane is X obj2 The second subject is at object distance L obj_T2 The image is taken from a distance of L img_T The position of the second object on the imaging plane is Ximg_T2 Since the first and second objects are imaged simultaneously, the image distance during telephoto shooting is the same as that in the case of FIG. img_T If the distance between the first object surface and the second object surface is d, then d can be calculated by the formula d=L obj_T2 -L obj_T It is expressed as:
[0113] By applying the inverse perspective projection transformation equation (3) to the wide-angle imaging in FIG. 13, the inverse perspective projection transformation equation (9) can be obtained.
[0114] X obj2 =L obj_W2 / L img_W X img_W2 (9)
[0115] By applying the perspective projection transformation equation (2) to the telephoto image of FIG. 14, the perspective projection transformation equation (10) can be obtained.
[0116] X img_T2 =L img_T / L obj_T2 X obj2 (10)
[0117] X on the left side of equation (9) obj2 On the right side of equation (10), obj2 By substituting into, we obtain equation (11).
[0118] X img_T2 =(L img_T / L obj_T2 )×(L obj_W2 / L img_W )×X img_W2 (11)
[0119] Here, the coefficient k2 is defined by equation (12).
[0120] k2=(L img_T / L obj_T2 )×(L obj_W2 / L img_W ) (12)
[0121] Using equation (12), equation (11) can be reduced to a simple proportional equation, equation (13).
[0122] X img_T2 =k2×X img_W2 (13)
[0123] By using the formula (13) (formula (11)), the position X on the imaging plane in wide-angle imaging using a wide-angle lens, that is, in close-range imaging from a close distance, is calculated. img_W2 From the above, the position X on the imaging plane in telephoto imaging using a telephoto lens, here, in long-distance imaging from a long distance img_T2 can be obtained.
[0124] Therefore, by applying equation (8) to pixels of an image obtained by close-range imaging as actual imaging, for example, that shows a first subject on a first object plane, and applying equation (13) to pixels of an image obtained by close-range imaging that shows a second subject on a second object plane, the pixels of the image obtained by close-range imaging can be mapped to pixels of a virtual image obtained by virtual imaging, for example, that shows a long-range imaging.
[0125] <Occlusion>
[0126] FIG. 15 is a diagram showing close-up imaging in the imaging situation of FIG. 12 and a captured image obtained by the close-up imaging.
[0127] That is, A of Fig. 15 is a top view showing close-range imaging in which a subject is imaged from an imaging position close to the subject using a wide-angle lens in the imaging situation of Fig. 12. B of Fig. 15 is a plan view showing an image obtained by close-range imaging of A of Fig. 15, and is equivalent to a front view of the imaging surface seen from the front.
[0128] FIG. 15A is a diagram in which dotted lines are added as auxiliary lines passing from the end points of the first and second objects and passing through the center of the lens to FIG.
[0129] FIG. 16 is a diagram showing the state of long-distance imaging in the imaging situation of FIG. 12 and a captured image obtained by the long-distance imaging.
[0130] That is, A of Fig. 16 is a top view showing a state of long-distance imaging in which a telephoto lens is used to image a subject from an imaging position far from the subject in the imaging situation of Fig. 12. B of Fig. 16 is a plan view showing an image obtained by long-distance imaging of A of Fig. 16, and is equivalent to a front view of the imaging surface as seen from the front, as in the case of Fig. 15.
[0131] FIG. 16A is a diagram in which dotted lines are added as auxiliary lines passing from the end points of the first and second objects and through the center of the lens to FIG.
[0132] For ease of explanation, it is assumed that imaging is performed so that the size of the first subject on the imaging surface (captured image) is the same in close-range imaging and long-range imaging.
[0133] The size of the second subject on the imaging plane (captured image) is larger in the long-distance imaging of Fig. 16 than in the close-distance imaging of Fig. 15. This phenomenon in which the size of the second subject on the imaging plane is larger in the long-distance imaging than in the close-distance imaging is caused by the law of perspective, as in the cases described with reference to Figs. 2 and 3.
[0134] FIG. 17 is a top view showing an imaging state, in which the top view of A in FIG. 15 and the top view of A in FIG. 16 are overlapped with some parts omitted.
[0135] In FIG. 17, a portion M of the second subject is imaged in long-distance imaging, but is not imaged in close-distance imaging because it is in the shadow of the first subject.
[0136] When a subject exists on multiple object planes, occlusion may occur, that is, a state in which a first subject located in the foreground hides a second subject located in the background, making it impossible to see.
[0137] Portion M of the second subject is visible in long-distance imaging, but is occluded by the first subject in close-up imaging. Portion M of the second subject that is occluded in this way is also called an occluded portion (missing part).
[0138] In close-range imaging as actual imaging, the portion M of the second subject as an occlusion portion is not captured. Therefore, when a virtual image obtained by long-range imaging as virtual imaging is generated based on an image captured by close-range imaging using equations (8) and (13), the portion M of the second subject as an occlusion portion in the virtual image is missing because no pixel value can be obtained.
[0139] FIG. 18 is a diagram for explaining mapping of pixel values when a virtual image obtained by long-distance imaging as virtual imaging is generated based on a captured image obtained by close-distance imaging as actual imaging.
[0140] In the captured image (close-distance captured image) obtained by close-distance imaging as actual imaging shown in the upper part of FIG. 18, a portion M of the second subject is in the shadow of the first subject, and is an occlusion portion.
[0141] When generating a virtual image obtained by long-distance imaging as virtual imaging shown in the lower part of FIG. 18 based on the captured image shown in the upper part of FIG. 18, the position X img_W and the position X of the second subject img_W2 The pixel value of the pixel of the position X of the first object in the virtual image (long-distance captured image) is calculated using equations (8) and (13). img_T and the position X of the second subject img_T2 are mapped as pixel values of the pixels in the pixel region.
[0142] In the virtual image in the lower part of Fig. 18, the pixel values of the pixels in which portion M of the second subject appears should be mapped to the shaded portion. However, in the captured image in the upper part of Fig. 18, portion M of the second subject is not captured, and the pixel values of portion M of the second subject cannot be obtained. Therefore, in the virtual image in the lower part of Fig. 18, the pixel values of portion M of the second subject cannot be mapped to the shaded portion, and pixel values are missing.
[0143] As described above, when a subject exists on a plurality of object planes, a loss of pixel values occurs in an occlusion portion such as portion M of the second subject.
[0144] FIG. 19 is another diagram for explaining mapping of pixel values when a virtual image obtained by long-distance imaging as virtual imaging is generated based on a captured image obtained by close-distance imaging as actual imaging.
[0145] In FIG. 19, an image picW is a captured image obtained by close-distance imaging as actual imaging, and an image picT is a virtual image obtained by long-distance imaging as virtual imaging.
[0146] In FIG. 19, the horizontal axis of the two-dimensional coordinate system represents the horizontal position X img_W and X img_W2 The vertical axis represents the horizontal position X of the virtual image picT. img_T and X img_T2 Represents.
[0147] Furthermore, in FIG. 19, a straight line L1 represents the formula (8), and a straight line L2 represents the formula (13).
[0148] Position X of the first subject in the captured image picW img_W The pixel value of is at its position X img_W The position X of the first subject in the virtual image picT is calculated by using the input img_T is mapped to the pixel (pixel value) of
[0149] Position X of the second subject in the captured image picW img_W2 The pixel at position X img_W2 The position X of the second subject in the virtual image picT is calculated by using the input img_T2 are mapped to the pixels.
[0150] In the virtual image picT, the shaded portions are occlusion portions where the corresponding portions are not captured in the captured image picW, and pixels (pixel values) are missing.
[0151] <Occlusion Compensation>
[0152] FIG. 20 is a diagram for explaining an example of a method for complementing an occlusion portion by complementing pixels in the occlusion portion.
[0153] Various methods can be used to complement the occlusion portion.
[0154] As a method for complementing an occlusion part, for example, there is a method of interpolating (the pixel value of) a pixel in the occlusion part using pixels in the vicinity of the occlusion part. As a method for interpolating pixels, any method such as a nearest neighbor method, a bilinear method, a bicubic method, etc. can be adopted.
[0155] In the nearest neighbor method, the pixel values of nearby pixels are used as they are for the occluded pixels. In the bilinear method, the average pixel value of the surrounding pixels around the occluded pixels is used as the pixel value of the occluded pixels. In the bicubic method, the pixel value of the occluded pixels is obtained by performing 3D interpolation using the pixel values of the surrounding pixels around the occluded pixels.
[0156] For example, if the occlusion part is an image of a monotonous wall surface, the occlusion part can be complemented by interpolation using pixels in the vicinity of the occlusion part, thereby generating a virtual image (almost) similar to an image obtained when an image is captured from a virtual imaging position where the virtual image is captured. When a virtual image similar to an image obtained when an image is captured from a virtual imaging position is generated, the virtual image is also called a highly reproducible virtual image.
[0157] As a method for interpolating pixels in an occlusion part using pixels in the vicinity of the occlusion part, for example, when the occlusion part is an image having a texture such as a rough wall surface, a method can be used in which the occlusion part is interpolated by duplicating an area of a certain area surrounding the occlusion part.
[0158] The method of interpolating pixels in an occluded portion using pixels in the vicinity of the occluded portion is premised on the assumption that the occluded portion will have an image similar to that of the vicinity of the occluded portion.
[0159] Therefore, if the occlusion part does not have an image similar to that of the vicinity of the occlusion part (if the occlusion part is unique compared to the vicinity of the occlusion part), a method of interpolating the pixels of the occlusion part using the pixels near the occlusion part may not be able to obtain a highly reproducible virtual image.
[0160] For example, if a wall has graffiti in part and the graffiti is an occluded part, a method of interpolating the pixels of the occluded part using pixels near the occluded part will not be able to reproduce the graffiti, and a highly reproducible virtual image will not be obtained.
[0161] When the occlusion part does not have the same image as the vicinity of the occlusion part, in order to obtain a highly reproducible virtual image, in addition to the main imaging (original imaging), auxiliary imaging can be performed from an imaging position different from the imaging position of the main imaging so that the occlusion part occurring in the main imaging is captured. Then, the captured image obtained by the auxiliary imaging can be used to complement the occlusion part occurring in the main imaging.
[0162] FIG. 20 is a top view illustrating main imaging and auxiliary imaging performed as actual imaging of a first subject and a second subject.
[0163] In FIG. 20, actual imaging at position p201 is performed as the main imaging, and actual imaging at positions p202 and p203 shifted to the left and right from position p201 is performed as auxiliary imaging.
[0164] In this case, the main imaging from imaging position p201 cannot image the portion M of the second subject that is an occlusion part. However, the auxiliary imaging from imaging positions p202 and p203 can image the portion M of the second subject that is an occlusion part in the main imaging.
[0165] Therefore, a virtual image obtained by virtual imaging is generated based on an image obtained by primary imaging from imaging position p201, and in that virtual image, the portion M (pixel value) of the second subject, which is the occlusion portion, is complemented using image images obtained by auxiliary imaging from imaging positions p202 and p203, thereby obtaining a virtual image with high reproducibility.
[0166] The primary and secondary imaging may be performed simultaneously or at different times using multiple imaging devices.
[0167] Furthermore, the main imaging and the auxiliary imaging can be performed using one imaging device such as a multi-camera having multiple imaging systems.
[0168] Furthermore, the main image capture and the auxiliary image capture can be performed at different times using one imaging device having one imaging system. For example, for a stationary subject, the auxiliary image capture can be performed before or after the main image capture.
[0169] The occlusion portion can be complemented using only a part of the information of the captured image obtained by the auxiliary imaging, such as the color and texture, etc. Furthermore, the occlusion portion can be complemented by using other methods in combination.
[0170] As described above, the occlusion portion can be complemented not only by using an image obtained by auxiliary imaging, but also by using an image obtained by another main imaging, for example, an image obtained by a main imaging performed in the past.
[0171] For example, if the second subject that is the background of the first subject is a famous building (structure) such as Tokyo Tower, images of such a famous building that have been captured in the past from various imaging positions may have been stored in an image library of a stock photo service or the like.
[0172] When a famous (or well-known) building is captured in an image captured by actual photography (a captured image obtained by actual photography), and the part where the famous building is captured is an occluded part, the occluded part can be complemented by using a captured image of the same famous building captured in the past and stored in an image library. In addition, the occluded part can be complemented by using an image published on a network such as the Internet, for example, a photo published on a website that provides a map search service.
[0173] The occlusion portion can be complemented not only by using an image but also by using data (information) other than an image.
[0174] For example, if the second subject that forms the background of the first subject is a building, and architectural data relating to the construction of the building, such as information on the building's shape, surface finishing method, paint color, etc., is published and available on a web server or the like, the occlusion part can be complemented by estimating the pixel values of the occlusion part using such architectural data.
[0175] When a part in which a building is photographed is an occluded part, when the occluded part is complemented using a captured image that was photographed in the past and stored in an image library, or when the occlusion part is complemented using building data, it is necessary to identify the building, that is, the second subject in this case. The second subject can be identified by image recognition of a captured image in which the second subject is photographed, or by identifying the position where the actual image was captured. The position where the actual image was captured can be identified by referring to metadata of the captured image, such as EXIF (Exchangeable image file format) information.
[0176] Note that actual imaging is performed in a situation where the subject is illuminated by a light source such as sunlight.
[0177] On the other hand, when the occlusion portion is complemented using a previous captured image (an image captured in the past) or architectural data, the light source (illumination by the light source) at the time of actual capture is not reflected in the occlusion portion.
[0178] Therefore, for example, when complementing occluded parts of an image captured under sunlight using previously captured images or architectural data, the color of the occluded part (or what was occluded) may appear unnatural compared to the colors of other parts.
[0179] Therefore, when complementing the occlusion parts of an image captured using actual photography under sunlight using previous captured images and building data, if meteorological data related to the weather is available, the occlusion parts can be complemented using the previous captured images and building data, and the color tone of the occlusion parts can then be corrected using the meteorological data.
[0180] In actual imaging under sunlight, the intensity and color temperature of the light illuminating the subject are affected by the weather. If weather data is available, the weather at the time of actual imaging can be identified from the weather data, and illumination light information such as the intensity and color temperature of the light illuminating the subject at the time of actual imaging under sunlight can be estimated from the weather.
[0181] Then, the occlusion part is complemented using past captured images and architectural data, and the color tone of the occlusion part is corrected so that the color of the occlusion part becomes the color when the subject is illuminated with the light represented by the illumination light information.
[0182] By performing the above-described color tone correction, the color of the occlusion portion can be made more natural compared to the colors of the other portions, thereby making it possible to obtain a virtual image with high reproducibility.
[0183] Alternatively, the occlusion portion can be complemented by using a learning model that has undergone machine learning, for example.
[0184] For example, when it is possible to actually perform both close-range imaging and long-range imaging, images obtained by actually performing close-range imaging and long-range imaging, respectively, can be used as learning data to train a learning model such that, for example, an image obtained by close-range imaging performed as actual imaging is used as input, and an image of the occlusion portion of a virtual image obtained by long-range imaging performed as virtual imaging is output.
[0185] In this case, by inputting an image obtained by close-range imaging as actual imaging into the learning model after learning, an image of the occlusion part of a virtual image obtained by long-range imaging as virtual imaging is obtained, and the occlusion part can be complemented using this image.
[0186] The method of complementing the occlusion part is not particularly limited. However, by adopting a complementing method that can be performed with one imaging device or a small number of imaging devices, it is possible to easily obtain an image (virtual image) captured from a desired position (virtual imaging position) while suppressing a decrease in mobility at the imaging site. In particular, by adopting a complementing method that can be performed with one imaging device, it is possible to maximize mobility at the imaging site.
[0187] FIG. 21 is a diagram for explaining another example of a process for obtaining a virtual image by virtually capturing an image based on information obtained by actual capturing.
[0188] In Fig. 21, the process of obtaining a virtual image by virtually capturing images based on information obtained by actual capturing consists of actual capturing, generating a virtual subject (model), and capturing the virtual image, similar to the case of Fig. 11. However, in Fig. 21, complementation of the occlusion part is added to the case of Fig. 11.
[0189] In actual imaging, a captured image (actually captured image) that is a two-dimensional image is generated (captured) in the same manner as in the case of FIG.
[0190] In generating a virtual subject, a virtual subject is reproduced (generated) as a corrected model from an image obtained by actual imaging using distance information from an imaging position of actual imaging to the subject and correspondence model information.
[0191] The coping model information is knowledge information for dealing with occlusion, and includes, for example, one or more of images captured in the past (past captured images), images obtained by auxiliary capture (auxiliary captured images), building data, and meteorological data.
[0192] In generating a virtual subject, first, in the same manner as in the case of FIG. 11, a virtual subject is generated by performing inverse perspective projection transformation of an image actually captured using distance information.
[0193] Furthermore, in generating the virtual subject, the virtual imaging position is given as a parameter, and in virtual imaging performed later, an imaging portion of the virtual subject that is imaged from the virtual imaging position is specified.
[0194] Then, missing parts in the captured image of the virtual subject where pixels (pixel values) are missing from the captured image, i.e., occlusion parts that are occluded when the virtual subject is viewed from the virtual capturing position, are complemented using the corresponding model information, and the complemented virtual subject is generated as a corrected model in which the virtual subject has been corrected.
[0195] In virtual imaging, a virtual image is generated by perspective projection transformation, as in the case of FIG.
[0196] However, in the virtual imaging in FIG. 21 , the target of the perspective projection transformation is not the virtual subject itself generated by performing inverse perspective projection transformation of the captured image obtained by actual imaging, but a virtual subject as a corrected model in which the occlusion portion of the virtual subject is complemented, which is different from the case in FIG. 11 .
[0197] In the virtual imaging of FIG. 21, perspective projection transformation is performed on the corrected model, so that the corrected model is (virtually) imaged from a virtual imaging position, and a virtual image (virtual captured image) is generated.
[0198] Regarding the complement of the occlusion part, the complement is performed only on the occlusion part that is occluded when the virtual subject is viewed from the virtual imaging position, so that the range of complement can be kept to a minimum. As a result, when performing auxiliary imaging in addition to the main imaging, the auxiliary imaging can be limited to the minimum range, and a decrease in mobility during imaging can be suppressed.
[0199] In addition, in the auxiliary imaging, by imaging an area slightly wider than the minimum necessary, it becomes possible to finely adjust the virtual imaging position after imaging.
[0200] <Other methods for generating virtual images>
[0201] FIG. 22 is a plan view showing an example of a captured image and a virtual image.
[0202] In the above case, the method for generating a virtual image captured when imaging is performed in one of the close-distance imaging and the long-distance imaging is taken as an example, and a method for generating a virtual image captured in the other of the close-distance imaging and the long-distance imaging is taken as an example. That is, the method for generating a virtual image captured from the virtual imaging position based on the captured image is described, and a position moved from the imaging position where the captured image was actually captured along the optical axis of the imaging device at the time of the capture, where only the imaging distance is different, is set as a virtual imaging position.
[0203] The above-mentioned method for generating a virtual image can also be applied to a case where a position moved from the imaging position of the captured image in a direction not along the optical axis of the imaging device is set as a virtual imaging position. That is, the above-mentioned method for generating a virtual image can be applied to a case where a virtual image (another virtual image) is generated by imaging a subject from a position moved from the imaging position of the captured image along the optical axis of the imaging device, as well as a case where a virtual image (another virtual image) is generated by imaging a subject from a position moved in a direction not along the optical axis of the imaging device.
[0204] When an image of a subject is captured by pointing the optical axis of an imaging device at the subject, if a position moved from the imaging position of the captured image along the optical axis of the imaging device during actual imaging is defined as a virtual imaging position, the optical axis of the imaging device coincides in the actual imaging and the virtual imaging.
[0205] On the other hand, when a position moved from the imaging position of the captured image in a direction not aligned with the optical axis of the imaging device during actual imaging is defined as a virtual imaging position, the optical axis of the imaging device differs between actual imaging and virtual imaging.
[0206] A case where a position moved in a direction not along the optical axis of the imaging device from the imaging position of the captured image is set as a virtual imaging position corresponds to a case where, for example, actual imaging is performed in the imaging situation of Figure 1 and virtual imaging is performed in the imaging situation of Figure 4.
[0207] FIG. 22A shows a captured image obtained by actual imaging under the imaging conditions of FIG.
[0208] FIG. 22B shows an overhead image as a captured image obtained by actual imaging under the imaging conditions of FIG.
[0209] FIG. 22C shows a virtual image obtained (generated) by performing virtual imaging on a virtual subject generated using distance information based on the captured image of FIG. 22A, with the imaging position of the imaging situation in FIG. 4 being set as the virtual imaging position.
[0210] In a virtual image obtained by virtually capturing an image of the virtual subject itself, which is generated using distance information based on the captured image of A in Figure 22, the people and the upper parts of the buildings that do not appear in the captured image in the capturing situation of Figure 1 become occluded parts, as shown by the diagonal lines in C in Figure 22.
[0211] For the occlusion part, by performing interpolation, it is possible to obtain a virtual image close to the captured image of FIG. 22B.
[0212] That is, within the captured image portion of the virtual subject, the occlusion portion that is occluded when the virtual subject is viewed from the virtual imaging position is complemented using the corresponding model information, and a perspective projection transformation of the corrected model, which is the virtual subject after the complementation, is performed, thereby obtaining a virtual image that is close to the captured image B in Figure 22.
[0213] Methods for complementing the occlusion part include a method of interpolating the occlusion part using pixels near the occlusion part as described above, a method of using captured images obtained by auxiliary imaging, a method of using captured images captured in the past, a method of using a learning model learned by machine learning, a method of using architectural data, and the like.
[0214] <Virtual imaging UI>
[0215] FIG. 23 is a diagram for explaining a method of expressing a virtual imaging position when performing virtual imaging.
[0216] In FIG. 23 the imaging situation is shown in third angle projection.
[0217] For the imaging device, the imaging position for actual imaging is determined by physically (actually) installing the imaging device. In this technology, in addition to the imaging position for actual imaging, a virtual imaging position is necessary, and the virtual imaging position must be specified.
[0218] The method of specifying the virtual image capture position may be, for example, a method of automatically specifying a position moved a predetermined distance in a predetermined direction from the image capture position as the virtual image capture position. Alternatively, the method of specifying the virtual image capture position may be, for example, a method in which the user specifies the position.
[0219] Below, a UI when the user specifies a virtual image capture position will be described, but before that, a method of expressing the virtual image capture position will be described.
[0220] In this embodiment, the virtual imaging position is expressed in (the coordinates of) a spherical coordinate system having the position of the subject (that intersects with the optical axis of the imaging device) as the center (origin) as shown in FIG.
[0221] Here, the intersection of the optical axis of the imaging device (a physically existing physical imaging device), i.e., the optical axis of the imaging device (its optical system), and the subject is defined as the center of the subject. The optical axis of the imaging device passes through the center of the imaging element of the imaging device and coincides with a straight line perpendicular to the imaging element.
[0222] The optical axis connecting the center of the imaging element of the imaging device and the center of the subject (the optical axis of the imaging device) is called the physical optical axis, and the optical axis connecting the virtual imaging position and the center of the subject is called the virtual optical axis.
[0223] If the center of the subject is the center of the spherical coordinate system, the virtual imaging position in the spherical coordinate system is the amount of rotation (azimuth angle) φ of the virtual optical axis in the azimuth direction with respect to the physical optical axis. v , the amount of rotation in the elevation direction (elevation angle) θ v , and the distance r between the subject on the virtual optical axis and the virtual imaging position v It can be expressed as:
[0224] In FIG. 23, the distance r r represents the distance between the object and the imaging position on the physical optical axis.
[0225] In addition, in FIG. 23, the distance r v represents the distance along the virtual optical axis, not the distance component on the plane.
[0226] FIG. 24 is a plan view showing an example of a UI that is operated when the user designates the virtual imaging position.
[0227] In FIG. 24, the UI has operation buttons such as a C button, a TOP button, a BTM button, a LEFT button, a RIGHT button, a SHORT button, a LONG button, a TELE button, and a WIDE button.
[0228] In addition to the operation buttons, the UI can be configured using an operation unit such as a rotary dial, a joystick, a touch panel, etc. In addition, when the UI is configured using operation buttons, the arrangement of the operation buttons is not limited to the arrangement in FIG.
[0229] An imaging device to which the present technology is applied can generate a virtual image in real time that is similar to an image obtained by imaging a subject from a virtual imaging position, and output the virtual image to a display unit such as a viewfinder in real time. In this case, the display unit can display the virtual image in real time as a so-called through image. By viewing the virtual image displayed as a through image on the display unit, a user of the imaging device can enjoy the sensation of imaging a subject from a virtual imaging position.
[0230] In order to express the virtual imaging position in the spherical coordinate system, it is necessary to determine the center of the spherical coordinate system.
[0231] In the imaging device, for example, when the C button of the UI is operated, the position of the point where the optical axis of the imaging device intersects with the subject is determined as the center of the spherical coordinate system. The virtual imaging position is the imaging position of the actual image, that is, the azimuth angle φ v =0, elevation angle θ v = 0, distance r v =r r is set to.
[0232] Azimuth angle φ v can be specified by operating the LEFT button or the RIGHT button. In the imaging device, when the LEFT button is pressed, the azimuth angle φ is changed by a predetermined amount. v changes in the negative direction. Also, when the RIGHT button is pressed, the azimuth angle φ v changes in the positive direction.
[0233] Elevation angle θ vcan be specified by operating the TOP button or the BTM button. When the TOP button is pressed, the elevation angle θ v When the BTM button is pressed, the elevation angle θ v changes in the negative direction.
[0234] Distance r v can be specified by operating the SHORT button or LONG button. When the SHORT button is pressed, the distance r v When the LONG button is pressed, the distance r v changes in the positive direction.
[0235] In FIG. 24, the UI is provided with the C button, TOP button, BTM button, LEFT button, RIGHT button, SHORT button, and LONG button, which are related to specifying the virtual imaging position, as described above, as well as a TELE button and a WIDE button for specifying the focal length of a virtual imaging device (hereinafter also referred to as the virtual focal length) when performing virtual imaging from the virtual imaging position.
[0236] When the TELE button is pressed, the virtual focal length increases by a predetermined amount or by a fixed magnification, and when the WIDE button is pressed, the virtual focal length decreases by a predetermined amount or by a fixed magnification.
[0237] Depending on the virtual focal length, for example, the image distance L in Equation (4) and Equation (5) img_W and L img_T is determined.
[0238] The azimuth angle φ for the operation of the UI operation buttons v The method of changing the azimuth angle φ is not limited to the above. For example, when the operation button is pressed for a long time, the azimuth angle φv The virtual imaging position and virtual focal length can be continuously changed, and the azimuth angle φ v By making such changes as increasing the amount of change in the virtual imaging position and the virtual focal length, it is possible to improve convenience.
[0239] Also, the method of specifying the virtual imaging position is not limited to the method of operating the UI. For example, a method of detecting the user's line of sight, detecting the gaze point at which the user is gazing from the gaze detection result, and specifying the virtual imaging position can be adopted. In this case, the position of the gaze point is specified (set) as the virtual imaging position.
[0240] Furthermore, in the imaging device, when a virtual image obtained by virtual imaging from a virtual imaging position specified by operating the UI, etc. is displayed in real time, the occlusion part can be displayed so that the user can recognize it.
[0241] Here, in a virtual image generated by complementing the occlusion portion, the accuracy of the information in the complemented portion where the occlusion portion is complemented may be inferior to that of an image obtained by actually capturing an image from a virtual capturing position.
[0242] Therefore, in the imaging device, after a virtual imaging position is specified, the virtual image can be displayed on a display unit so that the user can recognize the occlusion portion that becomes an occlusion in the virtual image obtained by virtual imaging from the virtual imaging position.
[0243] In this case, the user of the imaging device can recognize which part of the subject will be the occlusion part by looking at the virtual image displayed on the display unit. Then, by recognizing which part of the subject will be the occlusion part, the user of the imaging device can take into consideration the imaging position of the actual imaging so that the part of the subject that is important to the user does not become the occlusion part. In other words, the imaging position can be considered so that the part of the subject that is important to the user is captured in the captured image obtained by actual imaging.
[0244] Furthermore, by allowing a user of the imaging device to recognize which part of the subject will be the occlusion part, when performing the main imaging and auxiliary imaging described in FIG. 20, the auxiliary imaging can be performed so that the part of the subject that will be the occlusion part is captured.
[0245] As a display method for displaying the virtual image on the display unit so that the user can recognize the occlusion parts in the virtual image, for example, a method of displaying the occlusion parts in the virtual image in a specific color, or a method of inverting the gradation of the occlusion parts at a predetermined cycle, such as one second, can be adopted.
[0246] <One embodiment of an imaging device to which the present technology is applied>
[0247] FIG. 25 is a block diagram showing an example of the configuration of an embodiment of an imaging device such as a digital camera to which the present technology is applied.
[0248] 25, the imaging device 100 includes an imaging optical system 2, an imaging element 3, a distance sensor 5, an inverse conversion unit 7, a correction unit 9, a conversion unit 11, a display unit 13, a UI 15, a storage unit 17, recording units 21 to 23, and an output unit 24. The imaging device 100 can be used to capture both moving images and still images.
[0249] The imaging optical system 2 collects light from a subject and forms an image on the imaging element 3. As a result, the subject in three-dimensional space is perspectively projected onto the imaging element 3.
[0250] The image sensor 3 receives light from the imaging optical system 2 and performs photoelectric conversion to generate a captured image 4, which is a two-dimensional image having pixel values corresponding to the amount of received light, and supplies the captured image 4 to an inverse conversion unit .
[0251] The distance sensor 5 measures and outputs distance information 6 to each point on the subject. The distance information 6 output by the distance sensor 5 is supplied to an inverse conversion unit 7.
[0252] It should be noted that the distance information 6 of the subject can be measured by an external device and supplied to the inverse conversion unit 7. In this case, the imaging device 100 can be configured without providing the distance sensor 5.
[0253] The inverse transformation unit 7 performs inverse perspective projection transformation of the captured image 4 from the image sensor 3 using the distance information 6 from the distance sensor 5, and generates and outputs a virtual subject as three-dimensional data 8.
[0254] The correction unit 9 complements the occlusion portion of the virtual subject as the three-dimensional data 8 output by the inverse conversion unit 7, and outputs the virtual subject after the complementation as a corrected model .
[0255] The conversion unit 11 performs perspective projection conversion of the corrected model 10 output by the correction unit 9, and outputs a virtual image 12 which is a two-dimensional image obtained as a result.
[0256] The display unit 13 displays the virtual image 12 output by the conversion unit 11. When the conversion unit 11 outputs the virtual image 12 in real time, the display unit 13 can display the virtual image 12 in real time.
[0257] 24 and is operated by an image capturer, for example, a user of the imaging device 100. The user can perform an operation on the UI 15 to specify a virtual imaging position 16 while viewing the virtual image displayed on the display unit 13.
[0258] The UI 15 sets and outputs a virtual imaging position 16 in response to a user operation.
[0259] The correction unit 9 complements the occlusion portion that becomes an occlusion when the virtual subject is viewed from the virtual imaging position 16 output by the UI 15.
[0260] That is, the correction unit 9 specifies an occlusion portion that becomes an occlusion when the virtual subject is viewed from the virtual imaging position 16. Thereafter, the correction unit 9 complements the occlusion portion, and the complemented virtual subject is output as a corrected model 10.
[0261] In the conversion unit 11, a virtual image 12, which is a two-dimensional image obtained by capturing an image of the corrected model 10 output by the correction unit 9 from a virtual imaging position 16 output by the UI 15, is generated by performing perspective projection conversion of the corrected model 10.
[0262] Therefore, the display unit 13 displays in real time the virtual image 12 obtained by capturing an image of the corrected model 10 from the virtual imaging position 16 set in response to the user's operation of the UI 15. This allows the user to specify the virtual imaging position 16 at which the desired virtual image 12 is obtained by operating the UI 15 while viewing the virtual image 12 displayed on the display unit 13.
[0263] In addition, in the correction unit 9, the occlusion part can be complemented by interpolating the occlusion part using pixels in the vicinity of the occlusion part. Also, the occlusion part can be complemented by using the coping model information obtained from the outside, for example, a past captured image 18, building data 19, weather data 20, etc.
[0264] Furthermore, the occlusion portion can be complemented by using other coping model information, such as captured images obtained by auxiliary imaging or a machine-learned learning model.
[0265] When auxiliary imaging is performed prior to main imaging, the virtual subject as three-dimensional data 8 generated from the captured image 4 obtained by the auxiliary imaging in the inverse conversion unit 7 is stored in the memory unit 17.
[0266] That is, the storage unit 17 stores a virtual subject as three-dimensional data 8 generated in the inverse conversion unit 7 from the captured image 4 obtained by auxiliary imaging.
[0267] The virtual subject as three-dimensional data 8 generated from the captured image 4 obtained by auxiliary imaging and stored in the memory unit 17 can be used in the correction unit 9 to complement the occlusion portion that is occluded when the virtual subject as three-dimensional data 8 generated from the captured image 4 obtained by main imaging performed after the auxiliary imaging is viewed from the virtual imaging position 16.
[0268] When auxiliary imaging is performed after main imaging, the virtual subject as three-dimensional data 8 generated in the inverse conversion unit 7 from the captured image 4 obtained by the main imaging is recorded in the recording unit 23.
[0269] That is, the recording unit 23 stores the virtual subject as three-dimensional data 8 generated in the inverse conversion unit 7 from the captured image 4 obtained by the main imaging.
[0270] The correction unit 9 can perform the complementation of the occlusion portion of the virtual subject as three-dimensional data 8 generated from the captured image 4 obtained by the main imaging and recorded in the recording unit 23, using the virtual subject as three-dimensional data 8 generated from the captured image 4 obtained by the auxiliary imaging performed after the main imaging.
[0271] Therefore, when auxiliary imaging is performed after main imaging, the occlusion portion of the virtual subject as three-dimensional data 8 generated from the captured image obtained by the main imaging is complemented after the auxiliary imaging is performed after the main imaging.
[0272] When such an occlusion portion is complemented, it is difficult to generate a virtual image 12 in real time from the captured image 4 obtained by the main capture. Therefore, when real-time generation of a virtual image is required, the auxiliary capture needs to be performed prior to the main capture, not after the main capture.
[0273] 25, the recording unit 21 records the virtual image 12 output by the conversion unit 11. The virtual image 12 recorded in the recording unit 21 can be output to the display unit 13 and the output unit 24.
[0274] The recording unit 22 records the corrected model 10 output by the correction unit 9 .
[0275] For example, the correction unit 9 can complement a wide range portion (a portion including a part of the virtual subject that becomes a new occlusion portion when the virtual subject is viewed from the virtual imaging position 16 after a slight change in virtual imaging position 16) that is somewhat wider than the occlusion portion and that includes the occlusion portion when the virtual subject is viewed from the virtual imaging position 16 after the change from the virtual imaging position 16 that has changed) in the corrected model 10. The recording unit 22 can record the corrected model 10 in which such a wide range portion has been complemented.
[0276] In this case, the corrected model 10, whose wide range portion has been complemented and recorded in the recording unit 22, can be used as a target for perspective projection conversion by the conversion unit 11 to generate a virtual image 12 in which the virtual imaging position 16 has been finely corrected (fine-tuned). Therefore, after capturing the captured image 4 that is the basis of the corrected model 10, whose wide range portion has been complemented and recorded in the recording unit 22, a virtual image 12 in which the virtual imaging position 16 has been finely corrected can be generated.
[0277] The recording unit 23 records the virtual subject as three-dimensional data 8 output by the inverse conversion unit 7, that is, the virtual subject before the occlusion portion is complemented by the correction unit 9. For example, when the virtual image 12 is used in the news or the like and the authenticity of a part of the virtual image 12 is questioned, the virtual subject recorded in the recording unit 23 can be referred to as unprocessed, so-called true data for confirming the authenticity.
[0278] In addition, the recording unit 23 can record the captured image 4 that was the source of generation of the virtual subject as the three-dimensional data 8, together with the virtual subject as the three-dimensional data 8, or in place of the virtual subject as the three-dimensional data 8.
[0279] The output unit 24 is an I / F (interface) that outputs data to the outside of the imaging device 100, and outputs the virtual image 12 output by the conversion unit 11 to the outside in real time.
[0280] When an external device not shown is connected to the output unit 24, when the conversion unit 11 outputs the virtual image 12 in real time, the virtual image 12 can be distributed in real time from the output unit 24 to the external device.
[0281] For example, when an external display unit (not shown) is connected to the output unit 24, when the conversion unit 11 outputs the virtual image 12 in real time, the virtual image 12 is output from the output unit 24 to the external display unit in real time, and the virtual image 12 is displayed in real time on the external display unit.
[0282] In the imaging device 100 configured as described above, the inverse transformation unit 7 uses the distance information 6 from the distance sensor 5 to perform inverse perspective projection transformation of the captured image 4 from the imaging element 3, thereby generating a virtual subject as three-dimensional data 8.
[0283] The correction unit 9 uses corresponding model information such as a past captured image 18 to complement the occlusion portion that is occluded when the virtual subject as the three-dimensional data 8 generated by the inverse conversion unit 7 is viewed from the virtual imaging position 16 from the UI 15, thereby obtaining a complemented virtual subject as a corrected model 10 in which the virtual subject has been corrected.
[0284] The conversion unit 11 uses the corrected model 10 obtained by the correction unit 9 to generate a virtual image 12 by capturing an image of the corrected model 10 from a virtual imaging position 16 through perspective projection conversion.
[0285] Therefore, the inverse conversion unit 7, the correction unit 9, and the conversion unit 11 can be said to constitute a generation unit that uses distance information 6 from the imaging position to the subject and response model information to generate a virtual image 12 in which the subject is imaged from a virtual imaging position 16 different from the imaging position, from an imaging image 4 in which the subject is imaged from the imaging position.
[0286] FIG. 26 is a flowchart illustrating an example of the process of the generation unit.
[0287] In step S1, the generation unit uses distance information 6 and coping model information (knowledge information) for dealing with occlusion in past captured images 18, etc., to generate a virtual image 12 captured from a virtual imaging position 16 different from that of the captured image 4, from the captured image 4.
[0288] Specifically, in step S11, the inverse transformation unit 7 of the generation unit performs inverse perspective projection transformation of the captured image 4 using the distance information 6 to generate a virtual subject as three-dimensional data 8, and the process proceeds to step S12.
[0289] In step S12, the correction unit 9 uses corresponding model information such as past captured images 18 to complement the occlusion parts that are occluded when the virtual subject as the 3D data 8 generated by the inverse conversion unit 7 is viewed from the virtual imaging position 16, thereby generating a corrected model 10 (3D data 8 in which the occlusion parts have been complemented) in which the virtual subject as the 3D data 8 has been corrected, and the process proceeds to step S13.
[0290] In step S13, the conversion unit 11 uses the corrected model 10 generated by the correction unit 9 to generate a virtual image by capturing the corrected model 10 from the virtual imaging position 16 through perspective projection transformation.
[0291] According to the imaging device 100, even in a situation where it is difficult to capture an image of a subject from a desired imaging position (viewpoint), it is possible to generate a virtual image captured in a pseudo manner from a virtual imaging position as a desired imaging position different from the actual imaging position by using an image captured from a certain imaging position (viewpoint) where imaging is possible, distance information from that imaging position to the subject, and separately obtained response model information as auxiliary information other than the distance information. Therefore, an image captured from a desired position (virtual image) can be easily obtained.
[0292] According to the imaging device 100, for example, in an imaging situation in which a wall is in front of a person as shown in FIG. 6, a virtual image can be generated as if it were captured from a position behind the wall in front of the person.
[0293] In addition, according to the imaging device 100, in an imaging situation in which the user of the imaging device 100 cannot get close to the subject, such as an imaging situation in which the user is capturing an image of the outside through a window indoors or in a vehicle, a virtual image can be generated that looks as if the user had gotten close to the subject and captured the image.
[0294] Furthermore, according to the imaging device 100, it is possible to generate a virtual image such as the overhead image shown in FIG. 5 without using, for example, a ladder or a drone.
[0295] In addition, according to the imaging device 100, for example, when the subject is a person whose line of sight is not directed toward the imaging device, the position of the person's line of sight can be set as a virtual imaging position, thereby generating a so-called virtual image from the camera's line of sight.
[0296] Furthermore, the imaging device 100 can generate a virtual image that shows the state seen from the viewpoint of the user by setting the virtual imaging position at the position of the eyeballs on the head of the user who is the imager. By displaying such a virtual image on a glasses-type display, electronic glasses with no parallax can be constructed.
[0297] <Description of the computer to which this technology is applied>
[0298] Next, the series of processes of the inverse conversion unit 7, the correction unit 9, and the conversion unit 11 constituting the above-mentioned generating unit can be performed by hardware or software. When the series of processes are performed by software, a program constituting the software is installed in a general-purpose computer or the like.
[0299] FIG. 27 is a block diagram showing an example of the configuration of an embodiment of a computer in which a program for executing the series of processes described above is installed.
[0300] The program can be recorded in advance on the hard disk 905 or ROM 903 as a recording medium built into the computer.
[0301] Alternatively, the program can be stored (recorded) in a removable recording medium 911 driven by the drive 909. Such a removable recording medium 911 can be provided as a so-called package software. Here, examples of the removable recording medium 911 include a flexible disk, a CD-ROM (Compact Disc Read Only Memory), an MO (Magneto Optical) disk, a DVD (Digital Versatile Disc), a magnetic disk, and a semiconductor memory.
[0302] The program can be installed in the computer from the removable recording medium 911 as described above, or can be downloaded to the computer via a communication network or a broadcasting network and installed in the built-in hard disk 905. That is, the program can be transferred to the computer wirelessly from a download site via an artificial satellite for digital satellite broadcasting, or transferred to the computer by wire via a network such as a LAN (Local Area Network) or the Internet.
[0303] The computer includes a CPU (Central Processing Unit) 902 , to which an input / output interface 910 is connected via a bus 901 .
[0304] When a user inputs a command by operating an input unit 907 via an input / output interface 910, the CPU 902 executes a program stored in a read only memory (ROM) 903 in accordance with the command. Alternatively, the CPU 902 loads a program stored in a hard disk 905 into a random access memory (RAM) 904 and executes the program.
[0305] As a result, the CPU 902 performs processing according to the above-mentioned flowchart or processing performed by the configuration of the above-mentioned block diagram. Then, the CPU 902 outputs the processing result from the output unit 906 via the input / output interface 910, or transmits it from the communication unit 908, or further records it on the hard disk 905, as necessary.
[0306] The input unit 907 is composed of a keyboard, a mouse, a microphone, etc. The output unit 906 is composed of an LCD (Liquid Crystal Display), a speaker, etc.
[0307] Here, in this specification, the processing performed by a computer according to a program does not necessarily have to be performed in chronological order according to the order described in the flowchart. In other words, the processing performed by a computer according to a program also includes processing executed in parallel or individually (for example, parallel processing or processing by objects).
[0308] The program may be processed by one computer (processor), or may be distributed among multiple computers. Furthermore, the program may be transferred to a remote computer for execution.
[0309] Furthermore, in this specification, a system refers to a collection of multiple components (devices, modules (parts), etc.), regardless of whether all the components are in the same housing. Therefore, multiple devices housed in separate housings and connected via a network, and a single device in which multiple modules are housed in a single housing, are both systems.
[0310] The embodiments of the present technology are not limited to the above-described embodiments, and various modifications are possible without departing from the gist of the present technology.
[0311] For example, the present technology can be configured as cloud computing, in which a single function is shared and processed collaboratively by multiple devices via a network.
[0312] Furthermore, each step described in the above flow chart can be executed by one device, or can be shared and executed by a plurality of devices.
[0313] Furthermore, when a single step includes multiple processes, the multiple processes included in the single step can be executed by a single device, or can be shared and executed by multiple devices.
[0314] Furthermore, the effects described in this specification are merely examples and are not limiting, and other effects may also be obtained.
[0315] The present technology can have the following configurations.
[0316] <1> A generating unit is provided for generating a virtual image of the subject captured from a virtual imaging position different from the imaging position, from a captured image of the subject captured from the imaging position, using distance information from the imaging position to the subject and model information. Imaging device. <2> The generation unit generates a corrected model from the captured image using the distance information and the model information, and generates the virtual image using the corrected model. <1> The imaging device described in <3> The model information is knowledge information for dealing with occlusion. <1> or <2> The imaging device described in <4> The generation unit is generating a virtual object by performing a perspective projection inverse transformation of the captured image using the distance information; using the model information to complement an occlusion portion that is occluded when the virtual object is viewed from the virtual imaging position, thereby generating a corrected model in which the virtual object is corrected; Using the corrected model, a perspective projection transformation is performed to generate the virtual image obtained by capturing the corrected model from the virtual capturing position. <3> The imaging device described in <5> The virtual object or the corrected model may further include a recording unit. <4> The imaging device described in <6> The model information includes at least one of the captured images captured in the past, architectural data related to the architecture, and meteorological data related to the weather. <3> Or <5> 13. The imaging device according to claim 12, <7> The virtual imaging position is further specified by a UI (User Interface). <1> The imaging device described in <8> The virtual image is output to a display unit in real time. <1> Or <7> 13. The imaging device according to claim 12, <9> The UI includes: a first operation unit that is operated when determining a center of a spherical coordinate system that represents the virtual imaging position; a second operation unit that is operated when changing an azimuth angle of the virtual imaging position in the spherical coordinate system; a third operation unit that is operated when changing an elevation angle of the virtual imaging position in the spherical coordinate system; a fourth operation unit that is operated when changing the distance between the center of the spherical coordinate system and the virtual imaging position; have <7> The imaging device described in <10> The UI further includes a fifth operation unit that is operated when changing a focal length of a virtual imaging device when performing virtual imaging from the virtual imaging position. <9> The imaging device described in <11> The UI continuously changes the virtual imaging position or the focal length while any one of the first to fifth operation units is being operated. <10> The imaging device described in <12> The UI changes the amount of change in the virtual imaging position or the focal length depending on the duration of operation of any one of the first to fifth operation units. <10> The imaging device described in <13> The UI specifies the gaze point at which the user is gazing as the virtual imaging position. <1> Or <12> 13. The imaging device according to claim 12, <14> Using information on the distance from the imaging position to the subject and model information, a virtual image is generated from an image of the subject captured from the imaging position, the virtual image being captured from a virtual imaging position different from the imaging position. An imaging method comprising: <15> a generating unit that generates a virtual image obtained by capturing an image of the subject from a virtual imaging position different from the imaging position, from an image captured of the subject from the imaging position, using distance information from the imaging position to the subject and model information; A program that makes a computer function as a [Explanation of symbols]
[0317] 2 imaging optical system, 3 imaging element, 5 distance sensor, 7 inverse conversion unit, 9 correction unit, 11 conversion unit, 13 display unit, 15 UI, 17 memory unit, 21 to 23 recording unit, 24 output unit, 901 bus, 902 CPU, 903 ROM, 904 RAM, 905 hard disk, 906 output unit, 907 input unit, 908 communication unit, 909 drive, 910 input / output interface, 911 removable recording medium
Claims
1. a generating unit that generates a virtual image obtained by capturing an image of the subject from a virtual imaging position different from the imaging position, from an image captured by capturing an image of the subject from the imaging position, using distance information from the imaging position to the subject and model information; A UI (User Interface) for designating the virtual imaging position; Equipped with The UI includes: a first operation unit that is operated when determining a center of a spherical coordinate system that represents the virtual imaging position; a second operation unit that is operated when changing an azimuth angle of the virtual imaging position in the spherical coordinate system; a third operation unit that is operated when changing an elevation angle of the virtual imaging position in the spherical coordinate system; a fourth operation unit that is operated when changing the distance between the center of the spherical coordinate system and the virtual imaging position; have Imaging device.
2. The UI further includes a fifth operation unit that is operated when changing a focal length of a virtual imaging device when performing virtual imaging from the virtual imaging position. The imaging device according to claim 1 .
3. The UI continuously changes the virtual imaging position or the focal length while any one of the first to fifth operation units is being operated. The imaging device according to claim 2 .
4. The UI changes the amount of change in the virtual imaging position or the focal length depending on the duration of operation of any one of the first to fifth operation units. The imaging device according to claim 2 .
5. generating a virtual image of the subject captured from a virtual imaging position different from the imaging position from an image captured from the imaging position using distance information from the imaging position to the subject and model information; Controlling display of a UI (User Interface) for designating the virtual imaging position; The UI includes: a first operation unit that is operated when determining a center of a spherical coordinate system that represents the virtual imaging position; a second operation unit that is operated when changing an azimuth angle of the virtual imaging position in the spherical coordinate system; a third operation unit that is operated when changing an elevation angle of the virtual imaging position in the spherical coordinate system; a fourth operation unit that is operated when changing the distance between the center of the spherical coordinate system and the virtual imaging position; Control the display to have An imaging method comprising:
6. a generating unit that generates a virtual image obtained by capturing an image of the subject from a virtual imaging position different from the imaging position, from an image captured by capturing an image of the subject from the imaging position, using distance information from the imaging position to the subject and model information; causing a computer to function as a control unit that controls display of a UI (User Interface) for designating the virtual imaging position; The control unit: The UI is: a first operation unit that is operated when determining a center of a spherical coordinate system that represents the virtual imaging position; a second operation unit that is operated when changing an azimuth angle of the virtual imaging position in the spherical coordinate system; a third operation unit that is operated when changing an elevation angle of the virtual imaging position in the spherical coordinate system; a fourth operation unit that is operated when changing the distance between the center of the spherical coordinate system and the virtual imaging position; A program for controlling the display so as to have the above.
Citation Information
Patent Citations
Information processing apparatus, information processing method, and program
JP2013029958A
Display control device and display control method
JP2019028652A
Information processing program, information processing system, information processing device, and information processing method
JP2019212104A
Simulated image generating device and simulated image generating method
WO2011096136A1
Camera system, camera control device, camera control method, and program
JP2019103126A
