Method and system for reconstructing an image
The method and system for image reconstruction using multiple image capture units with defined transformations and three-dimensional models address the issue of artefacts in panoramic imaging, particularly for nearby objects, achieving high-quality results.
Patent Information
- Application Number
- US19/146161
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Priority Date
- 2023-01-06
- Filing Date
- 2023-11-09
- Publication Date
- 2026-11-26
AI Technical Summary
Existing image reconstruction methods using multiple images with conventional fields of view fail to produce satisfactory results for nearby objects due to artefacts, particularly in panoramic imaging systems with wide-angle digital cameras.
A method and system for reconstructing images using at least two image capture units with defined transformations, associating reference coordinates with corresponding coordinates on captured images, and filling the reconstructed image based on these transformations, utilizing a three-dimensional model to establish matches and avoid artefacts.
The method effectively reduces artefacts in reconstructed images, especially for nearby objects, by using mathematical matches and transformations, resulting in high-quality image reconstruction.
Smart Images

Figure US20260378005A1-D00000_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present invention relates to the technical field of image processing, and notably to the field of image reconstruction.
[0002] More specifically, the invention relates to a method for reconstructing an image.
[0003] It also relates to a system for reconstructing an image.
[0004] The invention is particularly advantageously applicable in the reconstruction of an image inside the passenger compartment of a motor vehicle.TECHNOLOGICAL BACKGROUND
[0005] With the growth in wide-angle digital imaging as found in multi-purpose mobile telephones or in drones, the performance requirements in terms of wide-angle imaging have increased.
[0006] In panoramic mode, the cameras and other imaging devices are quickly limited due to aberrations, notably spherical aberrations, that are created by the optical elements.
[0007] Within this context, it is known for a single panoramic shot to be replaced by image processing for reconstructing panoramas from multiple images with a conventional field of view.
[0008] The existing methods are based on recognising objects in the captured images and any fading of the images within their boundaries.
[0009] These methods yield good results with distant objects whose viewing angles barely change from one image to another. However, they provide highly unsatisfactory results on nearby objects. Indeed, the reconstructed images then contain many artefacts.SUMMARY OF THE INVENTION
[0010] Within this context, the present invention proposes a new image processing method.
[0011] In order to overcome the aforementioned disadvantages of the prior art, the present invention proposes a method for reconstructing an image visible from a reference position and with a reference field of view and using at least two image capture units, each image capture unit having a position and a field of view, and being associated with a transformation, each transformation being configured to associate reference coordinates, seen from the reference position and with the reference field of view, with corresponding associated coordinates on the captured image, said image reconstruction method comprising the following steps of:
[0012] capturing an image via each of the image capture units; and
[0013] filling the reconstructed image based on the captured images using, for each captured image, the corresponding associated coordinates.
[0014] Thus, by virtue of the invention, the reconstructed image is based on mathematical matches rather than on object recognition. The invention allows numerous artefacts to be avoided, notably with nearby objects.
[0015] For example, provision can be made for a value of a reference coordinate pixel of the reconstructed image to be computed based on at least one of the values of the corresponding associated coordinate pixel of the captured images.
[0016] Furthermore, the method for reconstructing an image can comprise, prior to the image capture step, a phase of defining transformations, during which phase the transformations are defined by virtue of at least one point of an environment in which the image capture units are positioned, with said point being modelled in a three-dimensional model of the environment.
[0017] In addition, the at least one point of the environment can be visible in one of the captured images on a pixel whose corresponding associated coordinates are determined, during the phase of defining transformations, by projecting said at least one point of the three-dimensional model onto the captured image.
[0018] The at least one point of the environment can be visible in the reconstructed image on a pixel whose corresponding associated coordinates are determined, during the phase of defining transformations, by projecting said at least one point of the three-dimensional model onto a reference plane representing the visible image from the reference position and with the reference field of view.
[0019] Thus, the position of the at least one point of the environment is known on the captured images and on the reconstructed image by virtue of the three-dimensional model. In this way, a match is established between the reference coordinates and the corresponding associated coordinates. This match allows the aforementioned transformations to be defined.
[0020] Furthermore, the phase of defining transformations can comprise a step in which each transformation is defined on pixels of the reconstructed image using a mesh-based transformation method based on the associated coordinates and references of the at least one point of the environment.
[0021] In one embodiment, an intermediate step is provided in which image processing using the transformations is applied to the corresponding captured images in order to obtain transformed images.
[0022] In this same embodiment, the coordinates of a visible object on the transformed images can be identical to the coordinates of this same object on the reconstructed image.
[0023] Finally, the environment in which the imaging device is positioned can be the passenger compartment of a motor vehicle.
[0024] The invention also relates to a system for reconstructing an image visible from a reference position and with a reference field of view comprising at least two image capture units and a control unit, each image capture unit having a position and a field of view, being associated with a transformation and being configured to capture an image, each transformation being configured to associate reference coordinates, seen from the reference position and with the reference field of view, with corresponding associated coordinates on the captured image, the control unit being configured to fill the reconstructed image based on the captured images and in accordance with the transformation of coordinates.
[0025] The various features, variants and embodiments of the invention can be associated with one another in various combinations, provided that they are not mutually incompatible or exclusive.BRIEF DESCRIPTION OF THE FIGURES
[0026] In addition, various other features of the invention will become apparent from the accompanying description that is provided with reference to the drawings, which illustrate non-limiting embodiments of the invention, and in which:
[0027] FIG. 1 is a flowchart of the image reconstruction method described herein;
[0028] FIG. 2 is a flowchart of the phase of defining transformations according to the image reconstruction method described herein;
[0029] FIG. 3 is a three-dimensional model of the passenger compartment of a vehicle as used in one embodiment of the image reconstruction method;
[0030] FIG. 4 is a schematic representation of a projection of the three-dimensional model shown in FIG. 1 onto images captured by image capture units of a reconstruction system;
[0031] FIG. 5 is a schematic representation of a second embodiment of the image reconstruction method; and
[0032] FIG. 6 is a schematic representation of the image reconstruction system described herein.
[0033] It should be noted that, in these figures, the structural and / or functional elements common to the various variants can have the same reference signs.DETAILED DESCRIPTION
[0034] A method for reconstructing an image according to the invention, as schematically shown in FIG. 1 and designated as a whole by reference sign P, is implemented by a system 100 for reconstructing an image. It allows an image, called reconstructed image IMG0, visible from a reference position and with a reference field of view to be reconstructed based on several initial images, called captured images, that are captured, i.e., taken, (by image capture units) at different positions and with different fields of view.
[0035] The system 100 for reconstructing an image, shown in FIG. 6, comprises a control unit 110 and K image capture units. The embodiment described herein comprises two image capture units 121, 122, thus, K=2. Each image capture unit 120j, with j ranging from 1 to K, has a position and a field of view and is associated with a transformation Tj, with j ranging from 1 to K.
[0036] In the example described herein, the reconstruction system 100 is placed in the passenger compartment of a motor vehicle. The first image capture unit 121 in this case is placed on the interior ceiling of the vehicle, above the first row of automobile seats. The second image capture unit 122 in this case is placed on the interior ceiling of the vehicle, above the second row of automobile seats. Depending on the size of the passenger compartment, the reconstruction system 100 could include other image capture units.
[0037] The image reconstruction method P in this case allows the two captured images IMGj to be combined into a single reconstructed image IMG0. The reconstructed image IMG0 is defined as an image captured by a virtual camera C0 with a reference field of view and located at the reference position, in this case on the ceiling of the passenger compartment and in the centre of the vehicle.
[0038] The virtual camera C0 can simulate, for example, an image capture unit comprising a fisheye objective lens. A fisheye objective lens is an objective lens with a very short focal length (from a few millimetres to a few tens of millimetres) and / or a very wide field angle (generally greater than 100°).
[0039] For example, in this case, the virtual camera C0 allows an equidistant fisheye objective lens to be simulated, i.e., an objective lens with a representation function r=fα, where r corresponds to a position of an image of an object (the distance to the centre of the image), a corresponds to an angular position of the object (the angle between the object and the optical axis of the objective lens) and f being the focal length of the lens.
[0040] To this end, each transformation Tj is configured to associate reference coordinates of the reconstructed image IMG0, seen from the reference position and with the reference field of view, with respectively corresponding associated coordinates on the captured image IMGj. These transformations allow a match to be established between the pixels of the captured images IMGj and the pixels of the reconstructed image IMG0.
[0041] The image capture units 120j in this case are cameras comprising fisheye objective lenses.
[0042] The image reconstruction method P starts in step E2, during which step each image capture unit 120j captures an image IMGj.
[0043] The image reconstruction method continues to step E4, during which step the reconstructed image IMG0 is initialised. The reconstructed image IMG0 is constructed as a pixel matrix. The pixels are set to an initial value that can correspond to black, for example. The pixels in this case are defined according to the (R, G, B) standard and can include three values corresponding to red R, green G and blue B.
[0044] Each R, G or B channel can act as an independent matrix. For example, during the method, the channels will be processed independently of one another.
[0045] Alternatively, the pixels can be defined according to another standard, such as the YUV standard, for example, where Y represents the luminance signal, and U and V represent the chrominance. In another embodiment, the pixels can be defined according to a standard taking into account light in the infra-red band.
[0046] The reconstructed image IMG0 can be initialised by the control unit 110.
[0047] The method for reconstructing an image then continues to step E6, during which step the reconstructed image IMG0 is constructed based on the captured images IMGj.
[0048] The reconstructed image IMG0 is filled based on the captured images IMG1, IMG2 using, for each captured image IMGj, the corresponding associated coordinates.
[0049] For example, for a pixel of the reconstructed image IMG0 with reference coordinates (u, v), its R, G and B values are computed based on the R, G and B values of the pixels of the captured images IMG1, IMG2 with corresponding associated coordinates computed by the transformations T1, T2.
[0050] Thus, R0(u,v)=f(R1(T1(u,v)),R2(T2(u,v))), where R0 corresponds to the channel R of the reference image IMG0, R1 corresponds to the channel R of the first captured image IMG1, R2 corresponds to the channel R of the second captured image IMG2 and f is a function that allows the value of the pixel to be computed.
[0051] For example, in this case f is an average andf(a,b)=a+b2.
[0052] The G and B values can be determined in the same way.
[0053] Alternatively, the R value of a reference coordinate pixel on the reconstructed image is a weighted average of the R values of the pixels of the captured images IMGj with corresponding associated coordinates. The weighting of the average can be determined according to the distance of the pixel to the edge of the corresponding captured image IMGj.
[0054] If the corresponding associated coordinates do not correspond to an integer, then they can be rounded to the nearest integer.
[0055] As a variant, if the corresponding associated coordinates are not an integer, then an average of the neighbouring coordinate pixels can be considered. For example, a bilateral filter algorithm can be used.
[0056] If the corresponding associated coordinates do not exist on one of the captured images IMGj, then the captured image IMGj is not taken into account. In this case, the average is taken on the other captured images. For example, in this case, if the coordinates T1(u,v) do not exist on the first captured image IMG1, then the value of the pixel of coordinates (u,v) on the reconstructed image IMG0 will correspond to the value of the pixel of coordinates T2(u,v) of the second captured image.
[0057] Finally, if the corresponding associated coordinates are not defined on any of the corresponding captured images IMGj, no value is copied into the pixel of the reference coordinates of the reconstructed image IMG0.
[0058] This step of filling the reconstructed image E6 is carried out by the control unit 110.
[0059] Preferably, the method P for reconstructing an image can comprise a phase D of defining transformations prior to the steps described above.
[0060] For example, the phase D of defining transformations advantageously can be carried out when the vehicle is designed. The phase D of defining transformations D is carried out once in this case.
[0061] Thus, when using the image reconstruction system 100, steps E2 to E6 are carried out in real time when capturing images using the transformations T1, T2 defined upstream during the phase D of defining transformations. This saves computing resources and therefore time.
[0062] An example of the phase D of defining transformations is schematically shown in FIG. 2.
[0063] The phase D of defining transformations can begin in step D2, during which step a set of N points Pi(x,y,z), with i ranging from 1 to N, of the environment in which the image capture units are positioned is selected on a three-dimensional model (hereafter called 3D model) 10 of said environment. N is at least greater than 1. Preferably, N can be greater than 2,000, or even greater than 10,000. In practice, between 20,000 and 50,000 points can be used, for example.
[0064] In this case, with the image capture units being positioned in a motor vehicle, the 3D model 10 represents at least part of the passenger compartment of the vehicle. This 3D model 10 is shown in FIG. 3.
[0065] Preferably, and in order to avoid the creation of artefacts when reconstructing the image IMG0, the moving objects of the vehicle, such as the steering wheel or the backs of the seats, are not shown on the 3D model 10.
[0066] For the same reason, small objects, such as buttons or door handles, are not shown in this case.
[0067] Each point Pi(x,y,z) of the set of points of the environment is preferably visible in at least one of the captured images IMGj.
[0068] The phase D of determining transformations continues to step D4, in which step the associated coordinates Cs,i(u,v) at which each point Pi(x,y,z) is visible on one of the captured images IMGj are determined. The associated coordinates Cs,i(u, v) are computed, for example, by projecting the 3D model onto each of the captured images IMGj.
[0069] The 3D model is digitally projected onto an image by virtue of position and field of view settings that can be digitally controlled. These settings are notably adjusted using known parameters of the corresponding image capture unit. These parameters in this case include the focal length, the geometric distortion, the position and the orientation of the image capture unit. The projection of the 3D model of the passenger compartment of the car onto the image IMG1 captured by the first capture unit 121 is schematically shown in FIG. 4.
[0070] The phase D of determining transformations continues to step D6, in which step the virtual camera C0 is defined. The virtual camera C0 is defined at the reference position and with the reference field of view. The virtual camera C0 also can be defined by virtue of parameters such as the focal length, the field of view, the geometric distortion, the position or even the orientation of the camera.
[0071] The definition of the virtual camera C0 also allows a reference virtual image IMG0ref to be defined. This reference virtual image IMG0ref is the image captured by the virtual camera C0. It can be identified as a reference plane representing the visible image from the reference position and with the reference field of view.
[0072] The phase D of determining transformations continues in step D8 where the reference coordinates C0,i(u,v) at which each point Pi(x,y,z) is visible on the reference virtual image IMG0ref are determined. The reference coordinates C0,i(u,v) are computed, for example, by projecting each point of the 3D model onto the reference virtual image IMG0ref.
[0073] The phase D of determining transformations continues to step D10, in which step each transformation Tj is defined on all the pixels of the reference virtual image IMG0ref. For example, each transformation Tj can be defined by interpolating from matches established in the previous steps between the reference coordinates C0,i(u,v) and the corresponding associated coordinates Cs,i(u,v) on the set of points Pi(x,y,z), with i ranging from 1 to N.
[0074] The transformation is preferably defined by mesh-based transformation. The set of points Pi(x,y,z) of the environment on the virtual image IMG0ref defines the peaks of the mesh. These peaks define meshes. The interpolation is linearly defined for each mesh.
[0075] Other data processing methods can be used in order to fully define the transformation based on the reference coordinates C0,i(u,v) and the corresponding associated coordinates Cs,i(u,v).
[0076] Using these defined coordinates using a 3D model allows a high quality reconstruction to be provided. Notably, the reconstruction of near objects (between 0 and 2 metres) of the image capture units 120j can be very complicated to carry out and can generate numerous artefacts. Indeed, the angle at which a near object is seen by an image capture unit 120j can be very different from one image capture unit 120j to another. However, this angle barely varies with distant objects.
[0077] A second embodiment of the method for reconstructing an image using an intermediate step is shown in FIG. 5. The intermediate step can proceed following the step E2 of capturing images IMG1 and IMG2 using each of the image capture units 121, 122. During this intermediate step, associated image processing operations T11, T12 on the image capture units 121, 122 and using the transformations T1, T2 are applied to the corresponding captured images IMG1, IMG2. These image processing operations use the inverse functions of the transformations T1, T2 defined above, in order to obtain the reference coordinates based on the corresponding associated coordinates.
[0078] Thus, for each pixel of coordinates (uj, vj) of a captured image IMGj, with j ranging from 1 to K, representing a point Pi(x,y,z) of the environment, new coordinates (u0,v0) are defined at which the point Pi(x,y,z) is visible by the virtual camera C0. This operation is carried out for all the pixels of the captured images IMG1 and IMG2 in order to obtain transformed images IMG′1, IMG′2.
[0079] The coordinates of a visible object on the transformed images IMG′1, IMG′2 therefore can be identical to the coordinates of the same object on the reconstructed image IMG0.
[0080] The reconstructed image IMG0 then can be filled directly by virtue of the transformed images, without a new change in coordinates.
[0081] Thus, for a pixel of coordinates (u,v) of the reconstructed image IMG0: R0(u,v)=f(R′1(u,v),R′2(u,v)), where R0 corresponds to the channel R of the reference image IMG0, R′1 corresponds to the channel R of the first transformed image IMG′1, R′2 corresponds to the channel R of the second transformed image IMG′2 and f is a function that allows the value of the pixel to be computed. For example, in this case f is an average.
[0082] If the coordinates (u,v) do not exist on one of the transformed images IMG′j, then it is not taken into account. For example, if the coordinates (u,v) do not exist on the first transformed image IMG′1, then the value of the pixel of coordinates (u,v) of the reconstructed image IMG0 is equal to the value of the pixel of coordinates (u,v) of the second transformed image IMG′2.
[0083] The values of the G and B channels can be determined in the same way.
[0084] Alternatively, other standards for defining the pixels can be used, such as the YUV standard, for example. The method described herein then applies in a similar manner.
Claims
1. A method for reconstructing an image visible from a reference position and with a reference field of view and using at least two image capture units, each image capture unit having a position and a field of view, and being associated with a transformation, each transformation being configured to associate reference coordinates, seen from the reference position and with the reference field of view, with corresponding associated coordinates on a captured image, the image reconstruction method comprising:capturing an image via each of the image capture units; andfilling the reconstructed image based on the captured images using, for each captured image, the corresponding associated coordinates.
2. The method for reconstructing an image according to claim 1, wherein a value of a reference coordinate pixel of the reconstructed image is computed from at least one of the values of the corresponding associated coordinate pixel of the captured images obtained by the corresponding transformation.
3. The method for reconstructing an image according to claim 2, wherein the value of a reference coordinate pixel of the reconstructed image is computed by virtue of a weighted average of the values of the corresponding associated coordinate pixel of the captured images, the weighting being determined as a function of a distance of the corresponding associated coordinate pixel to the edge of the corresponding captured image.
4. The method for reconstructing an image according to claim 1, comprising, prior to the image capture step, a phase of defining transformations, during which phase the transformations are defined by virtue of at least one point of an environment in which the image capture units are positioned, with the point being modelled by a three-dimensional model of the environment.
5. The method for reconstructing an image according to claim 4, wherein the at least one point of the environment is visible in one of the captured images on a pixel whose corresponding associated coordinates are determined, during the phase of defining transformations, by projecting the at least one point of the three-dimensional model onto the captured image.
6. The method for reconstructing an image according to claim 4, wherein the at least one point of the environment is visible in the reconstructed image on a pixel whose corresponding associated coordinates are determined, during the phase of defining transformations, by projecting the at least one point of the three-dimensional model onto a reference plane representing the visible image from the reference position and with the reference field of view.
7. The method for reconstructing an image according to claim 4, wherein the phase of defining transformations further comprises a step in which each transformation is defined on pixels of the reconstructed image using a mesh-based transformation method based on the reference coordinates and the corresponding associated coordinates of the at least one point of the environment.
8. The method for reconstructing an image according to claim 4, wherein the environment in which the image capture units are positioned is the passenger compartment of a motor vehicle.
9. The method for reconstructing an image according to claim 1, wherein the reference field of view corresponds to a field of view of a fisheye optical lens.
10. The method for reconstructing an image according to claim 1, comprising an intermediate step, in which image processing using the transformations is applied to the corresponding captured images in order to obtain transformed images.
11. The method for reconstructing an image according to claim 10, wherein the coordinates of a visible object on the transformed images are identical to the coordinates of this same object on the reconstructed image.
12. A system for reconstructing an image visible from a reference position and with a reference field of view comprising at least two image capture units and a control unit, each image capture unit having a position and a field of view, being associated with a transformation and being configured to capture an image, each transformation being configured to associate reference coordinates, seen from the reference position and with the reference field of view, with corresponding associated coordinates on the captured image, the control unit being configured to fill the reconstructed image based on the captured images using, for each captured image, the corresponding associated coordinates.
