Method and system for constructing adaptive illumination map of indoor scenes and using it to estimate unknown light settings
By constructing a lighting adaptive map and estimating the light settings of indoor scenes, the problem of robustness of camera positioning under changing lighting conditions is solved, the effective utilization of lighting information is achieved, and the performance of camera tracking and visual positioning is improved.
Patent Information
- Application Number
- CN202110127954.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-01-30
- Filing Date
- 2021-01-29
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-01-29
AI Technical Summary
It is difficult to construct a lighting adaptive map of indoor scenes under changing lighting conditions with existing technology, and camera positioning is sensitive to lighting changes, making it difficult to effectively utilize lighting information.
By obtaining the image information of the scene, estimating the light reflection characteristics and radiance of the surface, detecting and segmenting light sources, constructing a lighting adaptive map, allowing the rendering of lighting settings for arbitrary light sources, and using the lighting adaptive map to estimate unknown light settings.
The construction of an illumination adaptive map is realized, which can improve camera tracking performance under changing illumination conditions, avoid the need for reflectivity estimation of input images, and use illumination as a beneficial feature to enhance the robustness of visual positioning and camera pose estimation.
Smart Images

Figure CN113269861B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of image processing, and more particularly to a method and system for estimating a light setting of an indoor scene comprising one or several switchable light sources. Thus, the light setting is defined by the state of each light source in the scene, for example, whether it is switched on or off. Background Art
[0002] Cameras are popular sensors for ego-motion estimation in a variety of applications, including autonomous driving, virtual reality, and service robotics. Similar to the latter two, many of these applications target indoor environments where lighting conditions can change rapidly, for example when lights are switched on or off. In contrast to methods that use other modalities or actively project light into the scene (usually operating in the infrared spectrum), ego-motion estimation using passive cameras is directly affected by illumination variations in the visible spectrum, as they can have a significant impact on the resulting observations. For camera tracking in a map, how critical this effect is depends on how image gradients introduced by illumination compare to those caused by changes in reflectivity.
[0003] In highly textured parts of the environment, i.e., areas with frequent changes in reflectivity, the large reflectivity gradients may dominate the gradients caused by the lighting. In contrast, shadows cast onto textureless areas like floors or walls may introduce unique and therefore extremely valuable gradients (features). This is true even for RGB-D cameras that can additionally rely on active depth measurements, since such areas are often not only texture-free, but also do not provide sufficient geometric features, e.g., uniform carpets or paintings on floors and walls. Especially in such environments, the lighting can provide valuable information that is desired to be used for visual localization.
[0004] Tracking the pose of a camera is at the heart of visual localization methods used in robotics and many other applications. Coping with changing lighting conditions has been challenging, as the camera's observations are inherently affected by illumination. So far, this problem has been addressed primarily by choosing a representation that is invariant to changing lighting conditions to increase robustness, see, for example:
[0005] M. Krawez, T. Caselitz, D. Büscher, M. Van Loock, and W. Burgard, “Building dense reflectance maps of indoor environments using an RGB-D camera,” in 2018 IEEE / RSJ International Conference on Intelligent Robots and Systems (IROS), IEEE, 2018, pp. 3210–3217.
[0006] Methods for visual localization usually aim to achieve robustness by relying on representations that aim to be invariant to lighting conditions. Examples are feature descriptors such as SIFT (see D. G. Lowe, "Distinctive image features from scale-invariant key-points", International Journal of Computer Vision, 2004, Vol. 60, No. 2, pp. 91-110) or ORB (see E. Rublee, V. Rabaud, K. Konolige and GR Bradski, "Orb: An efficient alternative to sift or surf." ICCV, Citeseer, 2011, Vol. 11, No. 1, p. 2). SIFT and ORB perform brightness normalization, which unfortunately only yields robustness to moderate lighting changes. In scenes with large temporal lighting variations, the matching quality of most standard descriptors degrades.
[0007] Instead of aiming for illumination invariance, another idea is to store multiple observed appearances. Churchill and Newman proposed a visual localization method that maintains multiple feature maps of the same location for different scene appearances, see:
[0008] W. Churchill and P. Newman, “Experience-based navigation for long-term localisation”, The International Journal of Robotics Research, Vol. 32, No. 14, 2013, pp. 1645-1661.
[0009] Deep learning based methods have been shown to be robust to illumination changes when there is enough variance in the training data, and have been used for relocalization purposes, see:
[0010] A. Kendall, M. Grimes, and R. Cipolla, “Posenet: A convolutional network for real-time 6-dof camera relocalization,” in Proceedings of the IEEE international conference on computer vision, 2015, pp. 2938–2946.
[0011] Mashita et al. associate keypoints in a scene with a distribution over a feature vector that represents the keypoint appearance under various lighting conditions, see:
[0012] T.Mashita, A.Plopski, A.Kudo, K. Kiyokawa and H. Takemura, “Camera localization under a variable lighting environment using parametric feature database based on lighting simulation,” Transactions of the Virtual Reality Society of Japan, Vol. 22, No. 2, 2017, pp. 177-187.
[0013] The distribution parameters are calculated by rendering a 3D model of the scene with different lighting settings.
[0014] For visual localization (or odometry) in low-texture regions, where direct methods work better, it is found that features that rely on strong gradients are also not suitable. At the same time, they are more sensitive to lighting changes because they act directly on image intensity. To address this problem, Clement and Kelly proposed to use an encoder-decoder network to convert the input image into a canonical representation before tracking it according to the keyframe map, see:
[0015] L. Clement and J. Kelly, “How to train a cat: learning canonical appearance transformations for direct visual localization under illumination change,” IEEE Robotics and Automation Letters, vol. 3, no. 3, 2018, pp. 2447–2454.
[0016] The network will relight the image to the lighting settings that occurred during map construction.
[0017] Zhang et al. recover the geometry and diffuse reflectance of indoor environments from RGB-D videos and further adapt the light source model to the scene, which is then used for relighting. See:
[0018] E. Zhang, M. F. Cohen, and B. Curless, “Emptying, refurnishing, and relighting indoor spaces,” ACM Transactions on Graphics (TOG), vol. 35, no. 6, 2016.
[0019] In a recent study, et al. used stochastic gradient descent optimization to recover the bidirectional reflectance distribution function (BRDF) and light source parameters of indoor 3D models. See:
[0020] D. Azinovic, T.-M. Li, A. Kaplanyan, M. Nieβner, “Inverse path tracing for joint material and lighting estimation,” arXiv preprint, 2019, arXiv:1903.07145. Summary of the invention
[0021] There is still a need to overcome the above problems, in particular to provide a corresponding method and system for building a light adaptive map (e.g., a virtual model) of an indoor scene, which map can adjust its (radiance) appearance based on any given light setting. In addition, there is still a need to estimate the light setting of an indoor scene, which setting is suitable for camera positioning under varying lighting conditions.
[0022] Therefore, according to an embodiment of the present disclosure, a computer-implemented method for constructing a light adaptive map of an indoor scene (e.g., a 3D map of an indoor scene, such as a mesh) is provided. The light adaptive map adapts its (radiance) appearance based on a given light setting (i.e., the light adaptive map can adapt its (radiance) appearance to any given light setting), wherein the light setting is defined by the state of each light source. The method comprises the following steps:
[0023] Obtaining first image information of a scene, in which all light sources are turned on,
[0024] estimating a map of the scene based on the first image information, the map comprising light reflectance properties and radiance information of surfaces in the scene,
[0025] Detect and segment individual light sources in the scene based on the estimated map,
[0026] Estimate the radiance contribution of each light source to the scene based on the estimated map, and
[0027] A lighting adaptation map is constructed by storing the estimated radiance contributions and combining the estimated radiance contributions for any given light setup.
[0028] By providing this method, lighting effects can be explicitly used for example for camera tracking.
[0029] Furthermore, by providing this method, the need for reflectance estimation of the input image can be avoided by applying lighting to the reflectance map. Furthermore, since the goal is to explicitly exploit the effect of lighting, it is not necessary to offset the lighting.
[0030] The map obtained from the first image information may also be referred to as a radiosity (ie radiance) and / or reflectance map. The estimation of the above-mentioned map may be done as described in M. Krawez et al. cited above.
[0031] Based on reflectance maps (as described in M. Krawez et al. cited above), an adaptive map representation of lighting for indoor environments is proposed, which allows rendering scenes illuminated by an arbitrary subset of light sources (e.g., lamps) contained in the model. Being able to automatically detect the light setting from the current observation enables matching it with a map adjusted accordingly. As a result, cast shadows no longer act as a nuisance, but as a beneficial feature that can be directly exploited by the method of the present disclosure. In particular, the capabilities of the method can be exploited in direct dense camera tracking methods.
[0032] In the present invention, the term visual localization is advantageously used to describe the task of estimating the camera pose using images against a previously constructed entire map. This is in contrast to visual odometry, which uses only the most recent frame as a reference. Visual localization contains the subtask of finding a rough global estimate, often called global localization or relocalization, and the tracking subtask, i.e., accurately estimating the camera's pose over time given an initial estimate. However, the map representation of the present disclosure can be used not only to improve camera tracking performance, but is also beneficial for purposes such as relocalization.
[0033] Advantageously, the map representation of the present disclosure can be built on the basis of the work described by M. Krawez et al. cited above, in which a method for constructing a reflectance map of an indoor environment is proposed. In the method of the present disclosure, the representation can be extended to a so-called illumination adaptive map, which, in addition to the surface reflectance model, also contains the global contribution of the light emitters (lamps) present in the scene. Model parameters allow the contribution of individual lights to be turned on and off. Although these parameters can be provided by an external system (e.g., home automation), in the method of the present disclosure, they can be estimated from a single camera image. The effect of representing the global illumination in the map can then be exploited when matching with real-world observations.
[0034] The estimated map obtained from the first image information may include a three-dimensional surface model representing the geometry of the scene.
[0035] The step of estimating the radiance contribution may comprise the step of ray tracing in the scene based on the estimated map obtained from the first image information.
[0036] The present disclosure also relates to a computer-implemented method for estimating an unknown light setting, wherein the state of at least one light source is unknown. The method may be, for example, another step of the above method. The method (or method steps) may include the following steps:
[0037] o obtaining second image information of a scene under an unknown light setting, and
[0038] o estimating an unknown light setting in the scene by comparing the second image information to at least one adapted appearance of the lighting adaptation map.
[0039] Thus, unknown light settings can be estimated, e.g., for simulations via illumination adaptation maps, which may be useful for further applications, as described below.
[0040] The state of a light source may be represented by a variable indicating the brightness and / or chromaticity and / or hue of the light source.
[0041] For example, the state of a light source may simply indicate whether the light source is on or off.
[0042] Estimating an unknown light setting may include the following steps:
[0043] i. Radiance image information based on adaptive illumination maps to simulate possible light settings,
[0044] ii. obtaining true radiance image information based on the second image information,
[0045] iii. determining a predefined metric by comparing real radiance image information and simulated radiance image information for possible light settings,
[0046] iv. Selecting the light setting that minimizes the predefined metric determined in step iii.
[0047] Estimating the unknown light setting may be based on receiving information about a status of the at least one light source via the communication interface transmitting said status information.
[0048] Unknown light settings and / or camera pose tracking may be estimated in real-time or near real-time.
[0049] Since the estimated radiance contributions are pre-computed and stored, the step of estimating the unknown light settings for building a lighting adaptation map (which is accordingly also pre-computed and stored) can be performed in real-time or quasi-real-time.
[0050] The present disclosure also relates to a computer-implemented method for camera pose tracking, comprising:
[0051] steps of any of the above methods, and
[0052] • A step of tracking the camera pose in the indoor scene according to the estimated light setup.
[0053] The steps for tracking the camera pose may include:
[0054] · simulate image information based on the estimated light settings,
[0055] Obtaining real image information based on the second image information,
[0056] Determine a predefined error between simulated image information and real image information,
[0057] Estimate the camera pose by minimizing the error.
[0058] The present invention also relates to a computer-implemented method for augmented reality, comprising:
[0059] steps of any of the above methods, and
[0060] • A step of enhancing the indoor scene using artificial entities according to a predefined method and according to the estimated light settings.
[0061] The present disclosure also relates to a computer-implemented object recognition method, comprising:
[0062] steps of any of the above methods, and
[0063] • A step of identifying objects in the indoor scene according to a predefined method and according to the estimated light setting.
[0064] The present disclosure also relates to a system (eg, for constructing an adaptive lighting map of an indoor scene), comprising a control unit configured to execute any one of the above methods.
[0065] The present disclosure also relates to a vehicle or a robotic system comprising the system.
[0066] The present disclosure also relates to a computer program comprising instructions for executing the steps of at least one of the above methods when the program is executed by a computer.
[0067] Finally, the present disclosure may also relate to a computer-readable recording medium, and a computer program is recorded on the computer-readable medium, the computer program including instructions for executing the steps of at least one of the above methods when the program is executed by a computer.
[0068] Unless otherwise contradicted, the elements described above are intended to be combined with elements in the specification.
[0069] It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure, as claimed.
[0070] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] Figure 1 A schematic block diagram of a system according to an embodiment of the present invention is shown;
[0072] Figure 2 An example of a method for constructing an adaptive lighting map for an indoor scene according to an embodiment of the present invention is shown; and
[0073] Figure 3 An example of a method of estimating unknown light settings according to an embodiment of the invention is shown. DETAILED DESCRIPTION
[0074] Reference will now be made in detail to exemplary embodiments of the present disclosure, examples of which are illustrated in the accompanying drawings. Throughout the drawings, the same reference numerals will be used wherever possible to refer to the same or like parts.
[0075] Figure 1 A block diagram of a system 10 according to an embodiment of the present invention is shown. The system is configured to perform a method according to the present disclosure. In particular, the system can be configured to execute computer instructions. For example, the system may include a processor 11 (e.g., at least one CPU and / or GPU) and a memory 13 for executing the instructions. The memory 13 may be a non-volatile memory and may include the instructions (or computer programs), such as instructions (or computer programs) according to the method of the present disclosure, which may be executed by the processor 11 to build a light adaptive map and / or estimate light settings for an indoor scene.
[0076] The system 10 may further include an acquisition module 12 (eg, one or more cameras, in particular, an RGB-D camera) configured to acquire images.
[0077] The system may be a robotic system or part of a vehicle 30. In other words, the system - in particular its acquisition module 12 - may be configured to move autonomously.
[0078] In general, the system is configured to build a lighting adaptive map and / or estimate the light setting of an indoor scene, the scene comprising one or more switchable light sources L1, L2, ..., LN and one or more surfaces. Thus, the lighting adaptive map adjusts its appearance based on a given light setting. The light setting is defined by the state of each light source in the scene, such as whether it is on or off, or any state in between (e.g., in the case of a continuous or discrete dimmable light source). In particular, the present disclosure proposes a method for exploiting lighting effects, such as for camera tracking in an indoor environment. In addition, at least one of the light sources may include a data interface (e.g., may be an IoT device), which the system may use to obtain the current light setting of the light source.
[0079] Figure 2 An example of a method for constructing a light adaptive map according to an embodiment of the present invention is shown. The method performed by the system can be summarized as follows:
[0080] In step S1 , the system obtains first image information of a scene through the camera 12 , wherein the actual status of all light sources is on.
[0081] Subsequently, in step S2, a (radiance and reflectance) map of the scene is estimated based on the first image information, the map comprising radiance information in the scene and light reflection properties of the surface, as described in M. Krawez et al. cited above.
[0082] Then, in step S3, the system detects and segments the individual light sources L1, L2, ..., LN in the scene based on the estimated radiance map.
[0083] Subsequently, in step S4, the system estimates the radiance contribution of each light source to the scene based on the estimated map.
[0084] Subsequently, in step S5, the system builds a lighting adaptation map by storing the estimated radiance contributions and combining the estimated radiance contributions for any given light setting.
[0085] Figure 3 An example of a method for estimating an unknown light setting in an indoor scene according to an embodiment of the present invention is shown. Figure 2 In the context of , the method desirably uses a lighting adaptive map constructed for the indoor scene. Since the state of at least one light source is unknown, the actual light setting currently given is known.
[0086] In step S6, the system obtains second image information of the scene by means of the camera 12 during an unknown light setting, i.e., when the state of at least one or all light sources is unknown. Such a state is unknown because the corresponding light settings of the light sources in the indoor scene are unknown and have to be estimated by the system.
[0087] Subsequently, in step S7, the system estimates the current light setting by comparing the second image information with at least one or all adapted appearances of the illumination adaptation map. The adapted appearances correspond to different light settings, which have been virtually modeled by the illumination adaptation map. Desirably, the (virtually modeled) appearance that is closest to the second image information is estimated to represent the real unknown light setting.
[0088] Note that “estimating” in the present context advantageously means that the system determines or calculates the corresponding parameters, however, the determined or calculated results may not always be correct, ie are only “estimations”.
[0089] Advantageous embodiments of the individual steps of the method are described in more detail below. The following subsections describe three main contributions. First, a lighting adaptive map representation is described (steps S2 to S5), based on the previous work of M. Krawez et al. on reflectance maps cited above. Second, a method for estimating the current light settings in the scene from the current camera observations is described (steps S6-S7). Third, it is described how to use these components to exploit lighting effects in, for example, a direct dense camera tracking method (an optional further step).
[0090] Lighting Adaptive Map (Steps S2 to S5)
[0091] Since the present method can be built on the previous work of M. Krawez et al. cited above, only the main ideas and notations are briefly reviewed here in order to give an example of a possible embodiment of step S2. The geometry is represented as a three-dimensional mesh consisting of a set of vertices v i and triangle primitives, where a triangle connects three vertices. Each vertex is associated with a radiosity B (v i ), radiant illumination H(v i ) and its diffuse reflectivity ρ(v i )=B(v i ) / H(v i ). These quantities are set by the radiosity equations:
[0092]
[0093] Among them, F(v i ,v j ) is the description of v i and v jThe geometric relationship between the shape factor, if v i and v j If the line of sight between them is not blocked, then G(v i ,v j )∈{0,1} is 1.
[0094] For light settings that were not directly observed during data acquisition, it is proposed to use reflectance maps to predict the scene appearance, i.e., radiance (see steps S3, S4). It is assumed that the scene contains L light sources, which can be switched on and off individually. Furthermore, it is expected that the static geometry, especially the positions of the light sources, do not change.
[0095] To detect light emitters, the same method as M. Krawez et al. (cited above) is used, which essentially performs clustering on vertices with high radiance values. Therefore, light emitters must be directly observed in the on state to be detected. Each detected light source is uniquely indexed, where the set of all indices is Light settings is the set of all light sources that are turned on at the same time. l is the set of all vertices belonging to light source l.
[0096] For any light setting The goal is to estimate the radiance Leverage the linearity of the radiosity equation to precompute the lighting contributions of individual light emitters and then composite them in real time:
[0097]
[0098] in, is the estimated radiance component of the light source l. In order to calculate The reflectivity value is plugged into Equation 1 and Equation 1 is solved for the radiance using the lamp radiance as the initial condition. While the resulting system of equations can be solved analytically in theory, this is not feasible in practice due to the typically large number of vertices. Instead, an approximate solution is obtained by iteratively evaluating Equation 1:
[0099]
[0100] in, is the radiance after k iterations.
[0101] For k = 0, the radiance of vertices on lamp l is initialized with the measured radiance, and for all other vertices it is set to 0:
[0102]
[0103] For example, the number of iterations can be K=10, and can be set to
[0104] To illustrate the advantages of a map representation, consider a naive approach to lighting tunable maps that simply creates a new radiance map for each newly encountered light setting. For L light sources, each vertex would need to store 2 L radiance values, and will require at least 2 L In contrast, each vertex only stores L radiance components, and in the best case only one mapping run is needed to discover all lights.
[0105] Light setting estimation (steps S6-S7)
[0106] As mentioned before, a light adaptation map is a parameterized model that represents the appearance of a scene illuminated by an arbitrary subset of lights contained in the environment. In order to compare real-world observations with the adaptive model, its parameters need to be set accordingly, i.e., the on or off state of lights in reality needs to be determined. In the following, a method is proposed to estimate these parameters, which are called light settings, using only, for example, a single camera image.
[0107] Since all parameters of the model are binary variables, the It can also be represented as a vector x∈{0,1} L ,in:
[0108]
[0109] In order to find the most suitable color image I C x, we need to use the superposition shown in Equation 2, thus using the inverse camera response function f -1 As well as the exposure time et and gain g used to capture the image, I C Converted to its corresponding radiance image I B =f -1 (I C ) / (et*g). Given the current camera pose estimate, we can obtain a map illuminated by an arbitrary light setting x Rendering and comparison with real image I B More specifically, we find the light setting x such that the measured radiance B and its predicted equivalent are obtained from the map normalized by the map reflectance ρ over all pixels u in the image domain Ω. Minimize the sum of squared errors between:
[0110]
[0111] The error for a particular x can be written as
[0112] e x=x T A T Ax-2x T A T b+b T b (5)
[0113]
[0114] b=stack(I B )*w (7)
[0115]
[0116] Here, the stack() operator stacks all image pixels—in this case, for each color channel—into a single vector. The weighted product of w is row-wise, component-wise division. For example, component A T A(L×L),A T b(L×1) and b T b(1×1) is efficiently constructed in parallel on the system’s GPU, and only e x The evaluation of is performed on the system's CPU. Since this evaluation is extremely fast (about 1 ns), it can be used to brute force solve Equation 4. For L = 20 lamps (2 L ≈10 6 ), the required computation time is less than 1ms, mainly due to the time required to construct the components.
[0117] Camera tracking (optional step)
[0118] The method of the present disclosure can be used for camera tracking. Other applications are also possible, such as re-positioning applications.
[0119] Camera tracking is the process of providing a frame I at each time t. t The problem of estimating the camera pose T∈SE(3) is to use the terminology of Newcombe et al., frame-to-frame tracking, which yields a global pose T t,0 =T t,t-1 …T 1,0 Odometry solutions are prone to drift, although frame-to-model tracking (at least in previously constructed models) does not suffer from these effects due to referencing a global map, see:
[0120] R. A. Newcombe, S. Izadi, O. Hilliges, D. Molyneaux, D. Kim, A. J. Davison, P. Kohi, J. Shotton, S. Hodges, and A. Fitzgibbon, “KinectFusion: Real-time dense surface mapping and tracking,” in IEEE International Symposium on Mixed and Augmented Reality (ISMAR), 2011.
[0121] As the name implies, the former compares I t and I t-1 Come find T t,t-1 , while the latter will I t With model Given two input frames, there is no difference between the two, so only the terminology for model tracking is described below, since the terminology for frame-to-frame tracking can be easily obtained by replacing the rendered volume with the rendered volume of the last frame.
[0122] Direct dense camera tracking methods work only on color (or grayscale) images by exploiting the depth of the model for projective data association.
[0123]
[0124] Among them, π is the perspective projection function, K is the camera matrix, is to use the depth image rendered from the model The vertex map created. As proposed by Newcombe et al. (cited above), the data association optimization loop uses three image pyramid levels to embed in a coarse-to-fine manner.
[0125] After providing the measured depth image I D In the case of color images I C In addition to the radiometric information contained in , its geometric information can also be used. As described by Whelan et al., a combination of them was implemented, which can also be used to efficiently solve the pose estimation problem on the GPU, see:
[0126] T. Whelan, R. F. Salas Moreno, B. Glocker, A. J. Davison, and S. Leutenegger, “Elasticfusion: Real-time dense slam and light source estimation,” The International Journal of Robotics Research, Vol. 35, No. 14, 2016, pp. 1697-1716.
[0127] Geometric error term
[0128]
[0129] The point-to-plane metric is used. For brevity, its Jacobian determinant is omitted here, as they can be found, for example, in Newcombe et al. (cited above). Color Error
[0130]
[0131] Use image warping, as described by, for example:
[0132] F. Steinbrücker, J. Sturm, and D. Cremers, "Real-time visual odometry from dense rgb-d images," in 2011 IEEE International Conference on Computer Vision Workshops (ICCV Workshops). IEEE, 2011, pp. 719-722, or
[0133] C. Audras, A. Comport, M. Meilland, and P. Rives, “Real-time dense appearance-based slam for rgb-d sensors,” in Australasian Conf. on Robotics and Automation, 2011, vol. 2, 2011, pp. 2–2.
[0134] The core idea of direct dense camera tracking with map representation and light setup estimation is to transform the rendered
[0135]
[0136] Adapting to lighting conditions in the scene. A single frame-to-frame tracking step can be used based on a previous global pose estimate to obtain an updated pose for light setup estimation and an improved initial estimate for frame-to-model tracking.
[0137] Throughout the specification (including claims), unless otherwise stated, the term "comprising a" should be understood as a synonym for "comprising at least one". In addition, unless otherwise stated, any range described in the specification (including claims) should be understood to include its endpoint values. The specific values of the elements should be understood to be within the acceptable manufacturing or industry tolerance range known to those skilled in the art, and any use of the terms "substantially" and / or "approximately" and / or "generally" should be understood to mean falling within such acceptable tolerance ranges.
[0138] Although the present disclosure has been described with reference to certain embodiments, it should be understood that these embodiments are merely illustrative of the principles and applications of the present disclosure.
[0139] It is intended that the specification and examples be considered exemplary only, with the true scope of the invention being indicated by the following claims.
Claims
1. A computer-implemented method for constructing a lighting adaptive map of an indoor scene, the scene comprising at least one light source and at least one surface, wherein the lighting adaptive map adjusts the appearance of the lighting adaptive map based on a given light setting, wherein the light setting is defined by the state of each light source, the method The following steps are involved: Obtaining first image information of the scene, wherein all light sources are turned on, estimating a map of the scene based on the first image information, the map comprising light reflection characteristics and radiance information of surfaces in the scene, detecting and segmenting individual light sources in the scene based on the estimated map, estimating a radiance contribution of each light source to the scene based on the estimated map, and constructing the illumination adaptive map by storing the estimated radiance contributions and combining the estimated radiance contributions for any given light setting; The method further comprises the step of estimating an unknown light setting in the scene by obtaining second image information of the scene under the unknown light setting, and estimating the unknown light setting by comparing the second image information with at least one adapted appearance of the lighting adaptive map.
2. The method according to claim 1, wherein The estimated map obtained from the first image information comprises a three-dimensional surface model representing the geometry of the scene.
3. The method according to claim 1 or 2, wherein The step of estimating said radiance contribution comprises the step of ray tracing in said scene based on an estimated map obtained from said first image information.
4. The method according to claim 1 or 2, wherein The state of a light source is represented by a variable indicating the brightness and / or chromaticity and / or hue of the light source.
5. The method according to claim 1 or 2, wherein Estimating the unknown light setting comprises the following steps: i. simulating radiance image information of possible light settings based on the illumination adaptation map, ii. obtaining true radiance image information based on the second image information, iii. determining a predefined metric by comparing real radiance image information and simulated radiance image information for said possible light settings, iv. Selecting the light setting that minimizes the predefined metric determined in step iii.
6. The method according to claim 1 or 2, wherein Estimating the unknown light setting is based on receiving information about a status of at least one light source via a communication interface that transmits status information.
7. The method according to claim 1 or 2, wherein The unknown light setting and / or camera pose tracking is estimated in real-time or quasi-real-time.
8. A computer-implemented method for camera pose tracking, include: Performing the steps of a method according to any one of claims 1 to 7, and the step of tracking a camera pose in an indoor scene based on the estimated light setting.
9. The method according to claim 8, wherein Steps to track the camera pose include: Simulating image information based on the estimated light setting, obtaining real image information based on the second image information, determining a predefined error between the simulated image information and the real image information, and estimating the camera pose by minimizing the error.
10. A computer-implemented method for augmented reality, include: Performing the steps of the method according to any one of claims 1 to 9 and the step of enhancing the indoor scene with artificial entities according to a predefined method and according to the estimated light settings.
11. A computer-implemented method for object recognition, include: The steps of the method according to any one of claims 1 to 10 are performed, and the step of identifying objects in the indoor scene according to a predefined method and according to the estimated light settings.
12. A system comprising a control unit configured to perform the method according to any one of claims 1 to 11.
13. A computer-readable recording medium having a computer program recorded thereon, the computer program comprising instructions for executing the steps of the method according to any one of claims 1 to 11.
