The present invention relates in general to the field of image synthesis. The present invention applies more particularly to the synthesis of uncaptured intermediate viewpoints, on the basis of images of a plurality of 2D (two-dimensional) views, over 360°, 180°, etc., which are captured in order to generate an immersive video, such as in particular a 360°, 180°, etc., video.
The invention may in particular, but not exclusively, be applied to the video decoding implemented in current AVC (abbreviation for Advanced Video Coding) video decoders and their MVC (abbreviation for Multiview Video Coding) extensions, 3D-AVC, MV-HEVC, 3D-HEVC, etc.
In a context of immersive video, i.e. in which the viewer has the sensation of being immersed in a 3D (three-dimensional) scene, the scene is conventionally captured by a set of cameras. These cameras may be:
The images of such captured views are conventionally coded, and then decoded by the terminal of the viewer. However, in order to deliver an adequate quality of experience, and therefore visual quality and a good degree of immersion, displaying the captured views is not enough. The images of a multitude of views, referred to as intermediate views, have to be calculated, on the basis of the decoded images of the views.
The images of these intermediate views are calculated by means of a view “synthesis” algorithm. A synthesis algorithm is capable, on the basis of the images of N views, with N≥2, of synthesizing an image of an intermediate viewpoint located anywhere in space. The image of a given view from among the N comprises a texture component and a depth map that indicates the distance separating the various elements of the scene from the camera that has captured the image of this view. Thus, the image of an intermediate view obtained by means of synthesis likewise comprises a texture component synthesized on the basis of the N texture components of the images of the N views and a depth map synthesized on the basis of the N depth maps of the images of the N views.
For a given view from among the N, the depth map is either captured or calculated on the basis of the N texture components. However, in both cases, such a depth map may contain numerous errors which are related to the capture, related to the calculation, or related to the compression of the images of the N views.
Such errors therefore inevitably have an impact on the image of a view synthesized on the basis of the image of each of these N views, which notably decreases the performance of current synthesis algorithms.
One well-known synthesis algorithm of the type mentioned above is for example the VSRS (View Synthesis Reference Software) algorithm. This algorithm implements a projection of the N depth maps to a position corresponding to the image of the view to be synthesized in the video to be generated, in order to determine a single synthesized depth map. This depth map is then used to recover the texture information associated with each pixel of the N texture components.
One drawback of this projection lies in the fact that some pixels are missing in the N projected depth maps, since they do not correspond to any of the pixels of the N depth maps before projection. This lack of correspondence may result either from a lack of precision in the pixels contained in the N depth maps used for the projection or because the missing pixels correspond to regions that are not visible in the images of the N views (occlusion) containing the N depth maps.
Such projection errors therefore inevitably have an impact on the image of a view that is synthesized on the basis of the image of each of these N views.
The errors generated in the initial calculation of a depth map are also dependent on the quantization of this information, i.e. on the number of values that this depth map may take, as well as on the level of compression applied, manifesting in the depth map as two types of defects:
As the difference between what the camera that has captured the image of a view can see and what the virtual camera can see increases, synthesis defects become increasingly substantial, and transition from blurring to gross defects, the latter absolutely having to be avoided so as not to negatively affect the sensation of immersion of the viewer.
The techniques of the prior art do not take into account the fact that the available depth maps, intended to be projected in the synthesis of the image of an intermediate view, feature errors. As a result, the depth maps obtained on completion of the projection of the available depth maps also contain errors.
One of the aims of the invention is to rectify drawbacks of the aforementioned prior art.
To that end, one subject of the present invention relates to a method for synthesizing an image of a view on the basis of images of N (N≥2) views, implemented by an image synthesis device, characterized in that it comprises the following:
Taking into account the fact that a conditional modification is applied to one or more projected pixels of at least one of the projected depth maps, the invention advantageously makes it possible to correct errors in said at least one projected depth map. For a given pixel of such a projected depth map, these projection errors may result:
All of the pixels of a projected depth map are not mandatorily modified. They are modified if an item of reliability information, assigned to each of these pixels, is at a certain value.
Additionally, such a modification uses the depth value of a pixel whose position corresponds to that of a given pixel, in another projected depth map, such a depth value being considered relevant for correcting the erroneous depth value of the given pixel.
Thus, by virtue of the invention, a given projected depth map is marred by many fewer errors than a projected depth map of the prior art. This results in a very clear improvement in the quality of the image of a view synthesized on the basis of a plurality of images of views, when at least one of these images is associated with a depth map that contains errors before and/or after projection.
According to one embodiment of the invention, the modification uses a weighting of the depth value of the pixel whose position corresponds to said at least one given pixel, in said at least one other projected depth map.
Such an embodiment make it possible to assign a higher or lower importance to a pixel whose position corresponds to that of the given pixel, in another projected depth map, which will, as a result, have a larger or smaller effect on the modification of the depth value of the given pixel.
According to one embodiment of the invention, the confidence level of a pixel of a given depth map is calculated as a variation in the depth value of said pixel, said variation corresponding to a projection error in terms of allowed number of pixels.
Such a calculation of the confidence level advantageously makes it possible to take into account the real projection quality of said at least one other depth map, in addition to the positioning distance between the camera that has captured the image of the view, for which the projection of the depth map has generated the given projected depth map, and the camera that has captured the image of said at least one other view, for which the projection of the depth map has generated the other projected depth map.
According to one embodiment of the invention, the confidence level of a pixel is weighted by a coding parameter of the image of the view with which the depth map that contains the pixel is associated.
Such an embodiment makes it possible to refine the calculation of the confidence level of a given pixel by taking into account the compression quality level, such as, for example, the value of the quantization step that has been used during the coding of the image of the view with which the depth map that contain said pixel is associated, or else the position of this image in the coding hierarchy.
According to one embodiment of the invention, the modification of the depth value of the given pixel consists in replacing said depth value with a value that is calculated on the basis of said depth value and of the depth value of the pixel whose position corresponds to that of said at least one given pixel in said at least one other projected depth map, said depth values each being weighted by their respective confidence level.
According to one embodiment of the invention, the item of reliability information is generated as follows:
According to one embodiment of the invention, the item of reliability information is advantageously calculated in such a way that the modification that is applied to the value of the given pixel of the given depth map and that is conditional on this item of reliability information results only in blur-type artefacts in the image of the synthesized view.
According to one embodiment of the invention, the item of reliability information is generated as follows:
According to one embodiment, the item of reliability information for a given pixel of a given projected depth map is advantageously quantized over two levels:
In this way, for a given pixel of a projected depth map, according to the two items of reliability information associated with the given pixel, the respective depth values of the pixels whose position corresponds to that of the given pixel in the N projected depth maps may be selected in two different ways to modify the depth value of the given pixel. The modification of the depth value of the given pixel is thus made more precise.
According to one embodiment of the invention, the comparison threshold is equal to the mean of the N variations in the depth value of each pixel whose position corresponds to that of said given pixel in their respective depth map.
Such an embodiment for calculating the comparison threshold make it possible to optimize the decrease in blur-type artefacts in the image of the synthesized view.
According to one embodiment of the invention, the comparison threshold is equal to the mean of the N variances in the depth value of each pixel whose position corresponds to that of said given pixel in their respective depth map.
Such an embodiment for calculating the comparison threshold makes it possible to optimize the decrease in blur-type artefacts in the image of the synthesized view, while taking into account the intrinsic quality of the N projected depth maps.
The various abovementioned embodiments or implementation features may be added, independently or in combination with one another, to the synthesis method defined above.
The invention also relates to a device for synthesizing an image of a view on the basis of images of N (N≥2) views, such a synthesis device being characterized in that it comprises a processor that is configured to implement the following:
Such a synthesis device is notably capable of implementing the aforementioned synthesis method, according to any one of its aforementioned embodiments.
The invention also relates to a method for decoding a data signal representative of a set of images of N (N≥2) coded views, comprising the following:
The invention also relates to a device for decoding a data signal representative of a set of images of N (N≥2) coded views, such a decoding device comprising a processor that is configured to implement the following:
The invention also relates to a computer program comprising instructions for implementing the synthesis method or the decoding method integrating the synthesis method according to the invention, according to any one of the particular embodiments described above, when said program is executed by a processor.
This program can use any programming language, and be in the form of source code, object code, or of code intermediate between source code and object code, such as in a partially compiled form, or in any other desirable form.
The invention also targets a recording medium or information medium that is readable by a computer, and comprises instructions of a computer program, such as mentioned above.
The recording medium may be any entity or device capable of storing the program. For example, the medium may comprise a storage means, such as a ROM, for example a CD-ROM or a microelectronic circuit ROM, or else a magnetic recording means, for example a USB key or a hard disk.
Moreover, the recording medium may be a transmissible medium such as an electrical or optical signal, which may be conveyed via an electrical or optical cable, by radio or by other means. The program according to the invention may in particular be downloaded from an Internet-type network.
Alternatively, the recording medium may be an integrated circuit in which the program is incorporated, the circuit being adapted to execute or to be used in the execution of the aforementioned synthesis or decoding method.
Other features and advantages will become more clearly apparent from reading several preferred embodiments, given purely by way of illustrative and non-limiting examples, and described below with reference to the appended drawings, in which:
The invention primarily proposes a scheme for synthesizing an image of an intermediate view on the basis of a plurality of images of, respectively, a plurality of views, each view representing, at the current time, a 3D scene according to a given position or a given viewing angle.
For each image of a view in the plurality of images, the depth map of the image of the view is projected conventionally to a position corresponding to the image of a view to be synthesized.
The invention is characterized by the application of a conditional modification of the depth value of each given pixel in a given projected depth map. Such a modification makes it possible to compensate for the errors in the depth values which may be due to:
A method for synthesizing an image of a view on the basis of images of a plurality of views is described hereinafter, such a method being able to be used in or with any type of current video decoders AVC and HEVC and their extensions (MVC, 3D-AVC, MV-HEVC, 3D-HEVC, etc.), inter alia.
With reference to
For a given image Ij, as shown in
In S1 in
Such a projection is implemented by a projection algorithm, for example of DIBR (abbreviation for Depth Image Based Rendering) type.
On completion of such a projection, N projected depth maps D1v, D2b, . . . , Djv, . . . , DNv are obtained. A given depth map Dj from among the N comprises the Q points p1j, p2j, . . . , pQj each assigned a corresponding depth value d1vj, d2vj, . . . , dQvj.
Such depth values are not systematically correct given in particular:
In a manner known per se, the N projected depth maps D1v, D2v, . . . , Djv, . . . , DNv are associated, respectively, with N attribute maps A1, A2, . . . , Aj, . . . , AN.
For any given projected depth map Djv (1≤j≤N), an attribute map indicates for each point/pixel p1j to pQj of the depth map Dj, whether their projection is valid or not.
In the case for example of the point p1j of the depth map Dj:
The absence of a depth value attributed to a point/pixel of a projected depth map may occur during the projection S1 of this depth map, on completion of which no depth value could be assigned to the point resulting from the projection. This point without an associated depth value then constitutes a “hole” region.
In this example, each attribute value of an attribute map A1, A2, . . . , . . . , AN is binary. To that end, V1=0 and V2=1 or vice versa. According to another example, the values of an attribute map A1, A2, . . . , Aj, . . . , AN are integers within the range [0, +∞].
In S2, in
Such a conditional modification takes place as follows.
In S21, for a given pixel pij (1≤i≤Q) of the projected depth map Djv, it is determined whether the attribute Aij associated with the pixel pij is at a first value V1 or at a second value V2.
If the attribute Aij has a value of V1, the conditional modification method is not implemented and the following pixel of the projected depth map Djv is then considered.
If the attribute Aij has a value of V2, in S22, it is determined whether an item of reliability information Fij, associated with the pixel pij, is at a first value V3 or at a second value V4.
According to one non-exhaustive exemplary embodiment, V3=0 and V4=1 or vice versa.
If the item of reliability information Fij is at the first value V3, the depth value divj of the pixel pij of the projected depth map Djv is not modified.
If the item of reliability information Fij is at the second value V4, the depth value divj of the pixel pij of the projected depth map Djv is modified in S23. According to the invention, the depth value divj is modified according to a depth value of a pixel located in the same position as that of the pixel pij, in at least one other projected depth map D1v, D2v, . . . , DNv. Thus, the depth value is modified according to:
According to the invention, the modification S23 uses a weighting of the depth values d1vj, d2vj, . . . , dQvj. Thus:
As will be described further below in the description:
Of course, a confidence level is attributed only if the given pixel in a given projected depth map has a depth value that corresponds to that of the pixel whose position is the same in the corresponding depth map yet to be projected.
On completion of the modification S23, a modified depth value
The conditional modification S2 described above is applied to the depth value of each of the pixels p1j, p2j, . . . , pQj of the projected depth map Djv and is iterated for all of the projected depth maps D1v to DNv.
On completion of the conditional modification S2, the following are obtained:
In a manner known per se, in S3, the depth maps D1v or
The image synthesis method applies equally to uncoded, coded or decoded images I1 to IN. In the case where the images I1 to IN have been decoded, the synthesis method may form part of the decoding method and be implemented by the decoder, or else be implemented in a synthesis device placed at the output of the decoder.
One embodiment of the calculation of the confidence level mentioned above will now be described, with reference to
All of the depth maps D1 to DN are considered.
In S10, a depth map is selected, for example the depth map Dj.
In S11, a pixel pij of the depth map Dj is selected.
In S12, the pixel pij is projected on the projected depth map Djv, in a position identical to that of the pixel pij in the depth map Dj. During the projection S12, a variation of the depth value dij of the pixel pij is carried out until reaching a maximum depth value dijmax, such that:
Δdij=dijmax−dij<Eproj
where Eproj is an allowed projection error of the pixel pij on the projected depth map Djv.
According to one exemplary embodiment, Eproj is the projection deviation of the pixel pij in number of pixels, for example 3 pixels.
In S13, the confidence level Cij is calculated according to the relationship:
Ci
j
=g(Δdij)
where g represents a predefined mathematical function, such as for example a power function or an exponential function.
The application of a function to Δdij thus makes it possible to give greater importance to the depth map located closest to the view to be synthesized.
Operations S11 to S13 are applied to all of the pixels of the selected depth map Di so as to attribute a respective confidence level C1j, C2j, . . . , CQj to each of these pixels.
On completion of these operations, with reference to
All of operations S10 to S13 are then applied to each of the depth maps D1 to DN.
According to one embodiment, in the case where the images I1 to IN have been coded, the calculation of a confidence level Cij is also dependent on at least one coding parameter parcomp associated with the image Ij. Such a coding parameter is for example the value of the quantization step that was used during the coding of the image Ij, or the position of this image in the coding hierarchy.
More generally, the calculation of the confidence level Cij may take into account all of the parameters of the image Ij (intrinsic and extrinsic parameters), apart from the texture, namely:
One embodiment of a calculation of the item of reliability information mentioned above will now be described with reference to
All of the projected depth maps D1v à DNb are considered.
In S100, the pixels p11, p12, . . . , p1N that are located in the same position (the first pixel of the first row from the left), in each of the projected depth maps D1v, D2v, . . . , Djv, . . . , DNv are selected.
In S101, it is determined which pixel, from among the pixels p11, p12, . . . , p1N, has the maximum depth value d1vmax.
In S102, it is determined which pixel, from among the pixels p11, p12, . . . , p1N, has the minimum depth value d1vmin.
During operations S101 and S102, if no depth value has been found in relation to a given pixel in a projected depth map, this projected depth map is not considered. As already explained above, the absence of depth value may occur during the projection S1 (
In S103, the difference Δd1v=d1vmax-d1vmin is compared with a predefined threshold depthTH.
If Δd1v=d1vmax-d1vmin≥depthTH, in S104, an item of reliability information F1 is set to a first value V3, such that for example V3=0, to indicate that the depth value of the pixels p11, p12, . . . , p1N which have been projected to the same position, respectively in the projected depth maps D1v, D2v, . . . , Djv, . . . , DNb, is not reliable.
As a variant, the comparison S104 is Δd1v=d1vmax-d1vmin>depthTH.
If Δd1v=d1vmax-d1vmin<depthTH, in S105, an item of reliability information F1 is set to a second value V4, such that for example V4=1, to indicate that the depth value of the pixels p11, p12, . . . , p1N which have been projected to the same position, respectively in the projected depth maps D1v, D2v, . . . , Djv, . . . , DNv, is reliable.
As a variant, the comparison S105 is Δd1v=d1vmax-d1vmin≤depthTH.
The threshold depthTH is a threshold for differentiating between the foreground and the background of the 3D scene. The threshold depthm is dependent for example on the variations in depth value Δd11, Δd12, . . . , Δd1j, . . . , Δd1N that were calculated in S12 (
According to one particular example,
According to another particular example,
with
where (x, y) are the coordinates of the pixels/points of each depth map.
Operations S100 to S103 and S104 or S105 are iterated for the pixels p21, p22, . . . , p2N that are located in the same position (for example the second pixel of the first row from the left), in each of the projected depth maps D1v, D2v, . . . , Djv, . . . , DNv, and so on up to the pixels pQ1, pQ2, . . . , pQN that are located in the same position (for example the last pixel of the last row from the left), in each of the projected depth maps D1v, D2v, . . . , Djv, . . . , DNv.
7. Particular Embodiments of the Synthesis Method
Three embodiments of the synthesis method described above will now be described.
According to these three embodiments, an image 1st of a synthesized view is obtained on the basis of images I1, I2, I3, I4 of four views, respectively.
With reference to
The following are provided as input to the synthesis method:
7.1 First Embodiment
In order to implement the conditional modification operation S2 of
All of the depth maps D1 to D4 are considered.
In S10, a depth map is selected, for example the depth map D1.
In S11, a pixel pi, of the depth map D1 is selected.
In S12, the pixel pi1 is projected on the projected depth map D1v, in a position identical to that of the pixel pi1 of the depth map D1. During the projection S12, a variation of the depth value di1 of the pixel pi1 is carried out until reaching a maximum depth value di1max, such that:
Δdi1=di1max−di1≤Eproj
where Eproj is an allowed projection error of the pixel pi1 on the projected depth map D1v.
According to one preferred exemplary embodiment, Eproj is the projection deviation of the pixel pi1 in number of pixels, for example 3 pixels. It is considered that an error of 3 pixels at most primarily results in blur-type artefacts.
The calculation of Δdi1 is iterative. To that end, the depth value di1 is increased up to the depth value di1max, for which a projection deviation Eproj of 3 pixels is obtained.
In S13, the confidence level Ci1 is calculated according to the relationship Ci1=(Δdi1)2 to give greater importance to the image of the view closest to the image Isth of the view to be synthesized.
Operations S11 to S13 are applied to all of the pixels of the selected depth map D1 so as to attribute a respective confidence level C11, C21, . . . , CQ1 to each of these pixels.
All of operations S10 to S13 are then applied to each of the depth maps D2, D3, D4.
The calculation of such a confidence level takes into account all of the parameters of an image of a view (texture aside), i.e. the real quality of the projection of its depth map, the quantization level of this image, and not only the positioning distance between two cameras that have captured two images from among the images I1 to I4.
The calculation of such a confidence level may also take as input data from a video coder, like for example a quantization step.
In order to implement the conditional modification operation S2 of
All of the projected depth maps D1v to D4v are considered.
In S100, the pixels p11, p12, . . . , p1N that are located in the same position (the first pixel of the first row from the left), in each of the projected depth maps D1v, D2v, D3v, D4v are selected.
In S101, it is determined which pixel, from among the four pixels p11, p12, p13, p14, has the maximum depth value d1vmax.
According to the first embodiment:
In S102, it is determined which pixel, from among the four pixels p11, p12, p13, p14, has the minimum depth value d1vmin.
According to the first embodiment:
In operations S101 and S102, A11 is the attribute relating to the projection of the pixel p11 in the projected depth map D1v, A12 is the attribute relating to the projection of the pixel p12 in the projected depth map D2v, A13 is the attribute relating to the projection of the pixel p13 in the projected depth map D3v, A14 is the attribute relating to the projection of the pixel p14 in the projected depth map D4v, and by considering that:
In S103, the difference Δd1v=d1vmax-d1vmin is compared with a predefined threshold depthTH, according to the following relationship:
Δd1v=d1vmax−d1vmin<depthTH
with
If Δd1v=d1vmax-d1vmin≥depthTH, in S104, an item of reliability information F1 is set to a first value V3, such that for example V3=0, to indicate that the depth value of the pixels p11, p12, p13, p14 which have been projected to the same position, respectively in the 4 projected depth maps D1v, D2v, D3v, D4v, is not reliable.
If Δd1v=d1vmax-d1vmin<depthTH, in S105, an item of reliability information F1 is set to a second value V4, such that for example V4=1, to indicate that the depth value of the pixels p11, p12, p13, p14 which have been projected to the same position, respectively in the 4 projected depth maps D1v, D2v, D3v, D4v, is reliable.
Operations S100 to S103 and S104 or S105 are iterated for the pixels p21, p22, . . . , p2N that are located in the same position (for example the second pixel of the first row from the left), in each of the projected depth maps D1v, D2v, D3v, D4v, and so on up to the pixels pQ1, pQ2, . . . , pQN that are located in the same position (for example the last pixel of the last row from the left), in each of the projected depth maps D1v, D2v, D3v, D4v.
With reference to the
Such a conditional modification S2 takes place as follows.
In S21, for a given pixel pi1 (1≤i≤Q) of the projected depth map D1v, it is determined whether the attribute Ail associated with the pixel ph is at a first value V1 or at a second value V2.
If the attribute Ai1 has a value of V1, the conditional modification method is not implemented and the following pixel of the projected depth map D1v is then considered.
If the attribute Ai1 has a value of V2, in S22, it is determined whether an item of reliability information Fi1, associated with the pixel ph, is at a first value V3 or at a second value V4.
If Fi1=V3, the depth value div1 of the pixel pi1 of the projected depth map D1v is not modified.
If Fi1=V4, the depth value div1 of the pixel pi1 of the projected depth map D1v is modified in S23.
According to the first embodiment, on completion of the modification S23, a modified depth value
The conditional modification S2 described above is applied to the depth value of each of the pixels p1j, p2j, . . . , pQj of the projected depth map D1v and is iterated for each pixel of each of the other projected depth maps D2v, D3v, D4v.
7.2 Second Embodiment
According to this second embodiment, the calculation of the confidence level takes place in the same way as in the first embodiment.
The calculation of the reliability information takes place in the same way as in the first embodiment up to and including S102.
The following calculation is then performed:
The pixels p11, p12, . . . , p1N that are located in the same position (the first pixel of the first row from the left), in each of the projected depth maps D1v, D2v, D3v, D4v.
The calculation of the mean variance Varmoy of the corresponding projected depth values d1v1, d1v2, d1v3, d1v4 is performed.
If Varmoy>depthTH, in S103, the difference Δd1v=d1vmax-d1vmin is compared with a predefined threshold, according to the following relationship:
Δd1v=d1vmax−d1vmin<Varmoy
Operations S104 or S105 of
Operations S100 to S103 and S104 or S105 are iterated for the pixels p21, p22, . . . , p2N that are located in the same position (for example the second pixel of the first row from the left), in each of the projected depth maps D1v, D2v, D3v, D4v, and so on up to the pixels pQ1, pQ2, . . . , pQN that are located in the same position (for example the last pixel of the last row from the left), in each of the projected depth maps D1v, D2v, D3v, D4v.
The conditional modification S2 is implemented in the same way as in the first embodiment.
7.3 Third Embodiment
According to this third embodiment, the calculation of the confidence level takes place in the same way as in the first embodiment.
The calculation of the reliability information takes place in the same way as in the first embodiment up to and including S102. Operations S103 to S104 or S105 are replaced by the following:
In the case of the pixel p11 of the projected depth map D1v, the differences d1v1-d1vmin and d1vmax-d1v1 are each compared with a predefined threshold depthTH, such that
If d1v1-d1vmin≥depthTH, an item of reliability information F11 is set to a first value V3, such that for example V3=0, to indicate that the depth value of the pixel p11 in the projected depth map D1v is not reliable with respect to the minimum depth value d1vmin.
As a variant, the comparison is d1v1-d1vmin>depthTH.
If d1v1-d1vmin<depthTH, an item of reliability information F11 is set to a second value V4, such that for example V4=1, to indicate that the depth value of the pixel p11 in the projected depth map D1v is reliable with respect to the minimum depth value d1vmin.
As a variant, the comparison is d1v1-d1vmin≤depthTH.
If d1vmax-d1v1≥depthTH, an item of reliability information F11min is set to a first value V3, such that for example V3=0, to indicate that the depth value of the pixel p11 in the projected depth map Dv is not reliable with respect to the maximum depth value d1vmax.
As a variant, the comparison is d1vmax-d1v1>depthTH.
If d1vmax-d1v1<depthm, an item of reliability information F11max is set to a second value V4, such that for example V4=1, to indicate that the depth value of the pixel p11 in the projected depth map D1v is reliable with respect to the maximum depth value d1vmax.
As a variant, the comparison is d1vmax d1v1≤depthTH.
The calculation described above is iterated for the pixel p12 of the projected depth map D2v, and so on up to the pixel p14 of the projected depth map D4v.
The calculation is then iterated for each following pixel p21 to pQ1 of the projected depth map D1v, for each following pixel p22 to pQ2 of the projected depth map D2v, for each following pixel p23 to pQ3 of the projected depth map D3v, for each following pixel p24 to pQ4 of the projected depth map D4v.
The conditional modification S2 is then implemented in the following manner.
For a given pixel pi1 (1≤i≤Q) of the projected depth map D1v, it is determined whether:
If Fi1min=0 and Fi1max=0, the depth value div1 of the pixel pi1 of the projected depth map D1v is not modified.
If Fi1min=1 and Fi1max=0, the depth value div1min of the pixel pi1 of the projected depth map D1v is modified in S23 according to the following relationship:
According to one particular example, only the depth values div1 and div2 are taken into account in the modification of div1min. The depth value div1min of the pixel pi1 of the projected depth map D1v is then modified according to the following relationship:
If Fi1min=0 and Fi1max=1, the depth value div1max of the pixel pi1 of the projected depth map D1v is modified according to the following relationship:
According to one particular example, only the depth values div1, div3 and div4 are taken into account in the modification of div1max. The depth value div1max of the pixel pi1 of the projected depth map D1v is then modified according to the following relationship:
If Fi1min=1 and Fi1max=1:
The conditional modification S2 described above is applied to the maximum and/or minimum depth value of each of the pixels p1j, p2j, . . . , pQj of the projected depth map D1v and is iterated for each pixel of each of the other projected depth maps D2v, D3v, D4v.
On completion of the conditional modification S2, the following are obtained, according to the value of the items of reliability information Fijmin and Fijmax:
According to one particular embodiment of the invention, the actions performed by the synthesis method are implemented by computer program instructions. To that end, the synthesis device SYNT has the conventional architecture of a computer and comprises in particular a memory MEM, a processing unit UT, equipped for example with a processor PROC, and driven by the computer program PG stored in memory MEM. The computer program PG comprises instructions for implementing the actions of the synthesis method such as described above when the program is executed by the processor PROC.
On initialization, the code instructions of the computer program PG are for example loaded into a RAM memory (not shown), before being executed by the processor PROC. The processor PROC of the processing unit UT implements in particular the actions of the synthesis method described above, according to the instructions of the computer program PG.
In the case where the images I1 to IN have been decoded beforehand by a decoder DEC, according to a suitable decoding method:
It goes without saying that the embodiments which have been described hereinabove have been given purely by way of wholly non-limiting indication, and that numerous modifications can be easily made by the person skilled in the art without however departing from the scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
1860351 | Nov 2018 | FR | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/FR2019/052509 | 10/22/2019 | WO | 00 |