Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
AN APPARATUS, A METHOD AND A COMPUTER PROGRAM FOR VOLUMETRIC VIDEO
Document Type and Number:
WIPO Patent Application WO/2019/162564
Kind Code:
A1
Abstract:
There are disclosed various methods, apparatuses and computer program products for video encoding. The method comprises inputting a point cloud frame in an encoder (1000), and projecting a 3D scene to a projection plane, where at least two patches from at least one object in the scene are created (1002). The at least two patches are allocated to a 2D grid (1004). The 2D grid is partitioned into blocks of a predetermined size along a predetermined block grid (1006). For each block of the predetermined size, determining: (1008) a first list of unoccupied pixels having all neighboring pixels as occupied; (1010) values of the unoccupied pixels in the first list according to a first predetermined function; (1012) a second and any subsequent list of unoccupied pixels having one and, subsequently, a number added by one of the neighboring pixels as unoccupied; (1014) values of the unoccupied pixels in the second list according to a second predetermined function and values of the unoccupied pixels in any subsequent list according to a subsequent predetermined function.

Inventors:
AFLAKI BENI PAYMAN (FI)
SCHWARZ SEBASTIAN (FI)
Application Number:
PCT/FI2019/050111
Publication Date:
August 29, 2019
Filing Date:
February 12, 2019
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
NOKIA TECHNOLOGIES OY (FI)
International Classes:
H04N19/597; G06T3/40; G06T5/00; H04N13/268
Foreign References:
US5717782A1998-02-10
EP2538242A12012-12-26
US20160035081A12016-02-04
US20140023289A12014-01-23
Other References:
KHALED, M.: "MPEG Document Management System", PCC TEST MODEL CATEGORY 2, 14 December 2017 (2017-12-14), Retrieved from the Internet [retrieved on 20180726]
NGUYEN, Q. H. ET AL.: "Depth image-based rendering from multiple cameras with 3D propagation algorithm", IMMERSCOM 2009, 2009, XP055037643, Retrieved from the Internet [retrieved on 20181109]
JANTET, VINCENT: "Layered Depth Images for Multi-View Coding", PHD THESIS, 2012, XP055501178, Retrieved from the Internet [retrieved on 20180924]
Attorney, Agent or Firm:
NOKIA TECHNOLOGIES OY et al. (FI)
Download PDF:
Claims:
CLAIMS

1. A method comprising:

inputting a point cloud frame in an encoder;

projecting a 3D scene to at least one projection plane, where at least two patches from at least one object in the scene is created;

allocating the at least two patches to a 2D grid;

partitioning the 2D grid into blocks of a predetermined size along a

predetermined block grid;

for any block of the predetermined size:

a) determine a first list of unoccupied pixels having all neighboring pixels as occupied;

b) determine values of the unoccupied pixels in the first list according to a first predetermined function;

c) determine a second and any subsequent list of unoccupied pixels having one and subsequently a number added by one neighboring pixels as unoccupied; d) determine values of the unoccupied pixels in the second list according to a second predetermined function and values of the unoccupied pixels in any subsequent list according to a subsequent predetermined function.

2. The method according to claim 1, wherein said predetermined functions are based on values of neighboring pixels.

3. The method according to claim 2, wherein the neighboring pixels of the current pixel comprise at most the four pixels which share a boundary with the current pixel.

4. The method according to claim 2, wherein the neighboring pixels of the current pixel comprise at most the eight pixels which share a boundary or a comer point with the current pixel.

5. The method according to claim 2, wherein the neighboring pixels of the current pixel comprise pixels locating within a minimum distance from the current pixel.

6. The method according to any preceding claim, wherein any of said

predetermined functions, defined as Fx{ ... } , X e {1,2,..., maximum number of lists of un occupied pixels} is one of the following:

Mean}...)

Median}...)

- Max}...)

- Min}...)

Weighted mean (...)

Bilateral mean (...)

7. An apparatus comprising:

means for inputting a point cloud frame in an encoder;

means for projecting a 3D scene to at least one projection plane, where at least two patches from at least one object in the scene is created;

means for allocating the at least two patches to a 2D grid;

means for partitioning the 2D patch into blocks of a predetermined size along a predetermined block grid;

for processing any block of the predetermined size, the apparatus comprises: means for determining a first list of unoccupied pixels having all neighboring pixels as occupied;

means for determining values of the unoccupied pixels in the first list according to a first predetermined function;

means for determining a second and any subsequent list of unoccupied pixels having one and subsequently a number added by one neighboring pixels as unoccupied;

means for determining values of the unoccupied pixels in the second list according to a second predetermined function and values of the unoccupied pixels in any subsequent list according to a subsequent predetermined function.

8. The apparatus according to claim 7, wherein said predetermined functions are based on values of neighboring pixels.

9. The apparatus according to claim 8, wherein the neighboring pixels of the current pixel comprise at most the four pixels which share a boundary with the current pixel.

10. The apparatus according to claim 8, wherein the neighboring pixels of the current pixel comprise at most the eight pixels which share a boundary or a comer point with the current pixel.

11. The apparatus according to claim 8, wherein the neighboring pixels of the current pixel comprise pixels locating within a minimum distance from the current pixel.

12. The apparatus according to any of claims 7 - 11, wherein any of said

predetermined functions, defined as Fx { ... } , X e {1,2,..., maximum number of lists of un occupied pixels} is one of the following:

Mean}...)

Median}...)

- Max}...)

- Min}...)

Weighted mean (...)

Bilateral mean (...)

13. An apparatus comprising:

an input unit configured to input a point cloud frame in an encoder; a projecting unit configured to project a 3D scene to at least one projection plane, where at least two patches from at least one object in the scene is created;

an allocation unit configured to allocate the at least two patches to a 2D grid; a partitioning unit configured to partition the 2D patch into blocks of a predetermined size along a predetermined block grid; for processing any block of the predetermined size, the apparatus comprises at least one determination unit configured to:

determine a first list of unoccupied pixels having all neighboring pixels as occupied;

determine values of the unoccupied pixels in the first list according to a first predetermined function;

determine a second and any subsequent list of unoccupied pixels having one and subsequently a number added by one neighboring pixels as unoccupied;

determine values of the unoccupied pixels in the second list according to a second predetermined function and values of the unoccupied pixels in any subsequent list according to a subsequent predetermined function.

14. A computer program comprising instructions for causing an apparatus to perform the method of any of claims 1 - 6.

15. A non-transitory computer readable medium comprising program instructions for causing an apparatus to perform

inputting a point cloud frame in an encoder;

projecting a 3D scene to at least one projection plane, where at least two patches from at least one object in the scene is created;

allocating the at least two patches to a 2D grid;

partitioning the 2D grid into blocks of a predetermined size along a predetermined block grid;

for any block of the predetermined size:

determining a first list of unoccupied pixels having all neighboring pixels as occupied;

determining values of the unoccupied pixels in the first list according to a first predetermined function;

determining a second and any subsequent list of unoccupied pixels having one and subsequently a number added by one neighboring pixels as unoccupied; determining values of the unoccupied pixels in the second list

according to a second predetermined function and values of the unoccupied pixels in any subsequent list according to a subsequent predetermined function.

16. The non-transitory computer readable medium according to claim 15, wherein said predetermined functions are based on values of neighboring pixels.

17. The non-transitory computer readable medium according to claim 16, wherein the neighboring pixels of the current pixel comprise at most the four pixels which share a boundary with the current pixel.

18. The non-transitory computer readable medium according to claim 16, wherein the neighboring pixels of the current pixel comprise at most the eight pixels which share a boundary or a comer point with the current pixel.

19. The non-transitory computer readable medium according to claim 16, wherein the neighboring pixels of the current pixel comprise pixels locating within a minimum distance from the current pixel.

20. The non-transitory computer readable medium according to claim 16, wherein any of said predetermined functions, defined as Fx{ ... } , X e {1,2,..., maximum number of lists of un-occupied pixels} is one of the following:

- Mean}...)

- Median}...)

- Max}...)

- Min}...)

- Weighted mean (...)

- Bilateral mean (...)

Description:
AN APPARATUS, A METHOD AND A COMPUTER PROGRAM FOR

VOLUMETRIC VIDEO

TECHNICAL FIELD

[0001 ] The present invention relates to an apparatus, a method and a computer program for content dependent projection for volumetric video coding and decoding.

BACKGROUND

[0002] Volumetric video data represents a three-dimensional scene or object and can be used as input for virtual reality (VR), augmented reality (AR) and mixed reality (MR) applications. Such data describes the geometry, e.g. shape, size, position in three- dimensional (3D) space, and respective attributes, e.g. colour, opacity, reflectance and any possible temporal changes of the geometry and attributes at given time instances.

Volumetric video is either generated from 3D models through computer-generated imagery (CGI), or captured from real-world scenes using a variety of capture solutions, e.g. multi camera, laser scan, combination of video and dedicated depth sensors, and more. Also, a combination of CGI and real-world data is possible.

[0003] Typical representation formats for such volumetric data are triangle meshes, point clouds (PCs), or voxel arrays. Representation of the 3D data depends on how the 3D data is used. Dense Voxel arrays have been used to represent volumetric medical data. In 3D graphics, polygonal meshes are extensively used. Point clouds on the other hand are well suited for applications such as capturing real world 3D scenes where the topology is not necessarily a 2D manifold.

[0004] In dense point clouds or voxel arrays, the reconstructed 3D scene may contain tens or even hundreds of millions of points. One way to compress a time- varying volumetric scene/object is to project 3D surfaces on to some number of pre-defined 2D planes. Regular 2D video compression algorithms can then be used to compress various aspects of the projected surfaces. For e.g. a time-varying 3D point cloud, with spatial and texture coordinates, can be mapped into a sequence of at least three sets of planes, where a first set carries the temporal motion image data, a second set carries the texture data and a third set carries the depth data, i.e. the distance of the mapped 3D surface points from the projection surfaces.

[0005] For the MPEG standardization, there has been developed a test model for point cloud compression. MPEG W17248 discloses a projection-based approach for a test model for standardisation of dynamic point cloud compression. In MPEG W17248, the patch generation process aims at decomposing the point cloud into a minimum number of patches with smooth boundaries, while also minimizing the reconstruction error.

[0006] However, when several patches are projected from 3D content and all presented on a 2D grid, the edges created by such patches are very inefficient from video

compression point of view. Therefore, it is required to somehow smoothen the edges in the 2D grid created by copying the patches onto it. In other words, a 2D grid is created with occupied pixels from patches, and un-occupied pixels between the patches.

[0007] Compression of the 2D grid including both the occupied and un-occupied pixels is very costly from bitrate point of view.

SUMMARY

[0008] Now, an improved method and technical equipment implementing the method has been invented, by which the above problems are alleviated. Various aspects include a method, an apparatus and a computer readable medium comprising a computer program or a signal stored therein, which are characterized by what is stated in the independent claims. Various details of the embodiments are disclosed in the dependent claims and in the corresponding images and description.

[0009] According to a first aspect, there is provided a method comprising: inputting a point cloud frame in an encoder; projecting a 3D scene to at least one projection plane, where at least two patches from at least one object in the scene is created; allocating the at least two patches to a 2D grid; partitioning the 2D grid into blocks of a predetermined size along a predetermined block grid; for any block of the predetermined size: determine a first list of unoccupied pixels having all neighboring pixels as occupied; determine values of the unoccupied pixels in the first list according to a first predetermined function; determine a second and any subsequent list of unoccupied pixels having one and subsequently a number added by one neighboring pixels as unoccupied; and determine values of the unoccupied pixels in the second list according to a second predetermined function and values of the unoccupied pixels in any subsequent list according to a subsequent predetermined function.

[0010] According to an embodiment, said predetermined functions are based on values of neighboring pixels.

[0011] According to an embodiment, the neighboring pixels of the current pixel comprise at most the four pixels which share a boundary with the current pixel.

[0012] According to an embodiment, the neighboring pixels of the current pixel comprise at most the eight pixels which share a boundary or a comer point with the current pixel.

[0013] According to an embodiment, the neighboring pixels of the current pixel comprise pixels locating within a minimum distance from the current pixel.

According to an embodiment, any of said predetermined functions, defined as Fx{ ... } , X e (1,2,..., maximum number of lists of un-occupied pixels} is one of the following:

Mean(...); Median}...); Max(...); Min(...); Weighted mean (...) ; Bilateral mean (...) [0014] An apparatus according to a second aspect comprises: means for inputting a point cloud frame in an encoder; means for projecting a 3D scene to at least one projection plane, where at least two patches from at least one object in the scene is created; means for allocating the at least two patches to a 2D grid; means for partitioning the 2D patch into blocks of a predetermined size along a predetermined block grid; for processing any block of the predetermined size, the apparatus comprises: means for determining a first list of unoccupied pixels having all neighboring pixels as occupied; means for determining values of the unoccupied pixels in the first list according to a first predetermined function; means for determining a second and any subsequent list of unoccupied pixels having one and subsequently a number added by one neighboring pixels as unoccupied; and means for determining values of the unoccupied pixels in the second list according to a second predetermined function and values of the unoccupied pixels in any subsequent list according to a subsequent predetermined function. [0015] Apparatuses according to further aspects comprise at least one processor and at least one memory, said at least one memory stored with code thereon, when executed by said at least one processor, causes the apparatus to perform the above methods.

[0016] Computer readable storage media according to further aspects comprise code for use by an apparatus, which when executed by a processor, causes the apparatus to perform the above methods.

[0017] Further aspects relate at least to an apparatus and computer readable storage medium with computer program code comprising means for performing the above methods and embodiments related thereto.

BRIEF DESCRIPTION OF THE DRAWINGS

[0018] For a more complete understanding of the example embodiments, reference is now made to the following descriptions taken in connection with the accompanying drawings in which:

[0019] Fig. 1 shows a system for capturing, encoding, decoding, reconstructing and viewing a three-dimensional scheme;

[0020] Figs. 2a and 2b show a capture device and a viewing device;

[0021 ] Figs. 3a and 3b show an encoder and decoder for encoding and decoding texture pictures, geometry pictures and/or auxiliary pictures;

[0022] Figs. 4a, 4b, 4c and 4d show a setup for forming a stereo image of a scene to a user;

[0023] Figs. 5a illustrates projection of source volumes in a scene and parts of an object to projection surfaces, as well as determining depth information;

[0024] Fig. 5b shows an example of projecting an object using a cube map projection format;

[0025] Fig. 6 shows a projection of a source volume to a cylindrical projection surface;

[0026] Fig. 7 shows an example of occlusion of surfaces;

[0027] Figs. 8a and 8b show a compression and a decompression process for a known test model for standardized validating of a point cloud frame encoding;

[0028] Fig. 9 shows an example of visible block boundaries caused by a known padding process; [0029] Fig. 10 shows a flow chart for the point cloud frame coding according to an embodiment;

[0030] Figures 1 la and 1 lb show examples for defining an adjacent/neighbouring pixel for the current pixel according to an embodiment;

[0031 ] Figure 12 shows an example of zigzag scanning method,

[0032] Figure 13 shows an example of finding a second occupied pixel according to an embodiment; and

[0033] Figures l4a - l4d show examples for defining a second layer

adjacent/neighbouring pixel for the current pixel according to an embodiment.

DETAILED DESCRIPTON OF SOME EXAMPLE EMBODIMENTS

[0034] In the following, several embodiments of the invention will be described in the context of point cloud, voxel or mesh scene models for three-dimensional volumetric video and pixel and picture based two-dimensional video coding. It is to be noted, however, that the invention is not limited to specific scene models or specific coding technologies. In fact, the different embodiments have applications in any environment where coding of volumetric scene data is required.

[0035] It has been noticed here that identifying correspondences for motion- compensation in three-dimensional space is an ill-defined problem, as both the geometry and the respective attributes of the objects to be coded may change. For example, temporal successive“frames” do not necessarily have the same number of meshes, points or voxel. Therefore, compression of dynamic 3D scenes is inefficient.

[0036] “Voxel” of a three-dimensional world corresponds to a pixel of a two- dimensional world. Voxels exist in a three-dimensional grid layout. An octree is a tree data structure used to partition a three-dimensional space. Octrees are the three-dimensional analog of quadtrees. A sparse voxel octree (SVO) describes a volume of a space containing a set of solid voxels of varying sizes. Empty areas within the volume are absent from the tree, which is why it is called“sparse”.

[0037] A three-dimensional volumetric representation of a scene is determined as a plurality of voxels on the basis of input streams of at least one multicamera device. Thus, at least one but preferably a plurality (i.e. 2, 3, 4, 5 or more) of multicamera devices are used to capture 3D video representation of a scene. The multicamera devices are distributed in different locations in respect to the scene, and therefore each multicamera device captures a different 3D video representation of the scene. The 3D video

representations captured by each multicamera device may be used as input streams for creating a 3D volumetric representation of the scene, said 3D volumetric representation comprising a plurality of voxels. Voxels may be formed from the captured 3D points e.g. by merging the 3D points into voxels comprising a plurality of 3D points such that for a selected 3D point, all neighbouring 3D points within a predefined threshold from the selected 3D point are merged into a voxel without exceeding a maximum number of 3D points in a voxel.

[0038] Voxels may also be formed through the construction of the sparse voxel octree. Each leaf of such a tree represents a solid voxel in world space; the root node of the tree represents the bounds of the world. The sparse voxel octree construction may have the following steps: 1) map each input depth map to a world space point cloud, where each pixel of the depth map is mapped to one or more 3D points; 2) determine voxel attributes such as colour and surface normal vector by examining the neighbourhood of the source pixel(s) in the camera images and the depth map; 3) determine the size of the voxel based on the depth value from the depth map and the resolution of the depth map; 4) determine the SVO level for the solid voxel as a function of its size relative to the world bounds; 5) determine the voxel coordinates on that level relative to the world bounds; 6) create new and/or traversing existing SVO nodes until arriving at the determined voxel coordinates; 7) insert the solid voxel as a leaf of the tree, possibly replacing or merging attributes from a previously existing voxel at those coordinates. Nevertheless, the size of voxel within the 3D volumetric representation of the scene may differ from each other. The voxels of the 3D volumetric representation thus represent the spatial locations within the scene.

[0039] A volumetric video frame is a complete sparse voxel octree that models the world at a specific point in time in a video sequence. Voxel attributes contain information like colour, opacity, surface normal vectors, and surface material properties. These are referenced in the sparse voxel octrees (e.g. colour of a solid voxel), but can also be stored separately. [0040] Point clouds are commonly used data structures for storing volumetric content. Compared to point clouds, sparse voxel octrees describe a recursive subdivision of a finite volume with solid voxels of varying sizes, while point clouds describe an unorganized set of separate points limited only by the precision of the used coordinate values.

[0041 ] When encoding a volumetric video, each frame may produce several hundred megabytes or several gigabytes of voxel data which needs to be converted to a format that can be streamed to the viewer, and rendered in real-time. The amount of data depends on the world complexity and volume. The larger impact comes in a multi-device recording setup with a number of separate locations where the cameras are recording. Such a setup produces more information than a camera at a single location.

[0042] Fig. 1 shows a system for capturing, encoding, decoding, reconstructing and viewing a three-dimensional scheme, that is, for 3D video and 3D audio digital creation and playback. The task of the system is that of capturing sufficient visual and auditory information from a specific scene to be able to create a scene model such that a convincing reproduction of the experience, or presence, of being in that location can be achieved by one or more viewers physically located in different locations and optionally at a time later in the future. Such reproduction requires more information that can be captured by a single camera or microphone, in order that a viewer can determine the distance and location of objects within the scene using their eyes and their ears. To create a pair of images with disparity, two camera sources are used. In a similar manner, for the human auditory system to be able to sense the direction of sound, at least two microphones are used (the commonly known stereo sound is created by recording two audio channels). The human auditory system can detect the cues, e.g. in timing difference of the audio signals to detect the direction of sound.

[0043] The system of Fig. 1 may consist of three main parts: image sources, a server and a rendering device. A video source SRC1 may comprise multiple cameras CAM1, CAM2, ..., CAMN with overlapping field of view so that regions of the view around the video capture device is captured from at least two cameras. The video source SRC1 may comprise multiple microphones to capture the timing and phase differences of audio originating from different directions. The video source SRC1 may comprise a high- resolution orientation sensor so that the orientation (direction of view) of the plurality of cameras CAM1, CAM2, .. CAMN can be detected and recorded. The cameras or the computers may also comprise or be functionally connected to means for forming distance information corresponding to the captured images, for example so that the pixels have corresponding depth data. Such depth data may be formed by scanning the depth or it may be computed from the different images captured by the cameras. The video source SRC1 comprises or is functionally connected to, or each of the plurality of cameras CAM1, CAM2, ..., CAMN comprises or is functionally connected to a computer processor and memory, the memory comprising computer program code for controlling the source and/or the plurality of cameras. The image stream captured by the video source, i.e. the plurality of the cameras, may be stored on a memory device for use in another device, e.g. a viewer, and/or transmitted to a server using a communication interface. It needs to be understood that although a video source comprising three cameras is described here as part of the system, another amount of camera devices may be used instead as part of the system.

[0044] Alternatively or in addition to the source device SRC1 creating information for forming a scene model, one or more sources SRC2 of synthetic imagery may be present in the system, comprising a scene model. Such sources may be used to create and transmit the scene model and its development over time, e.g. instantaneous states of the model. The model can be created or provided by the source SRC1 and/or SRC2, or by the server SERVER. Such sources may also use the model of the scene to compute various video bitstreams for transmission.

[0045] One or more two-dimensional video bitstreams may be computed at the server SERVER or a device RENDERER used for rendering, or another device at the receiving end. When such computed video streams are used for viewing, the viewer may see a three- dimensional virtual world as described in the context of Figs 4a— 4d. The devices SRC1 and SRC2 may comprise or be functionally connected to one or more computer processors (PROC2 shown) and memory (MEM2 shown), the memory comprising computer program (PROGR2 shown) code for controlling the source device SRC1/SRC2. The image stream captured by the device and the scene model may be stored on a memory device for use in another device, e.g. a viewer, or transmitted to a server or the viewer using a

communication interface COMM2. There may be a storage, processing and data stream serving network in addition to the capture device SRC1. For example, there may be a server SERVER or a plurality of servers storing the output from the capture device SRC1 or device SRC2 and/or to form a scene model from the data from devices SRC1, SRC2. The device SERVER comprises or is functionally connected to a computer processor PROC3 and memory MEM3, the memory comprising computer program PROGR3 code for controlling the server. The device SERVER may be connected by a wired or wireless network connection, or both, to sources SRC1 and/or SRC2, as well as the viewer devices VIEWER1 and VIEWER2 over the communication interface COMM3.

[0046] The creation of a three-dimensional scene model may take place at the server SERVER or another device by using the images captured by the devices SRC1. The scene model may be a model created from captured image data (a real-world model), or a synthetic model such as on device SRC2, or a combination of such. As described later, the scene model may be encoded to reduce its size and transmitted to a decoder, for example viewer devices.

[0047] For viewing the captured or created video content, there may be one or more viewer devices VIEWER 1 and VIEWER2. These devices may have a rendering module and a display module, or these functionalities may be combined in a single device. The devices may comprise or be functionally connected to a computer processor PROC4 and memory MEM4, the memory comprising computer program PROG4 code for controlling the viewing devices. The viewer (playback) devices may consist of a data stream receiver for receiving a video data stream and for decoding the video data stream. The video data stream may be received from the server SERVER or from some other entity, such as a proxy server, an edge server of a content delivery network, or a file available locally in the viewer device. The data stream may be received over a network connection through communications interface COMM4, or from a memory device MEM6 like a memory card CARD2. The viewer devices may have a graphics processing unit for processing of the data to a suitable format for viewing. The viewer VIEWER1 may comprise a high- resolution stereo-image head-mounted display for viewing the rendered stereo video sequence. The head-mounted display may have an orientation sensor DET1 and stereo audio headphones. The viewer VIEWER2 may comprise a display (either two-dimensional or a display enabled with 3D technology for displaying stereo video), and the rendering device may have an orientation detector DET2 connected to it. Alternatively, the viewer VIEWER2 may comprise a 2D display, since the volumetric video rendering can be done in 2D by rendering the viewpoint from a single eye instead of a stereo eye pair.

[0048] It needs to be understood that Fig. 1 depicts one SRC1 device and one SRC2 device, but generally the system may comprise more than one SRC1 device and/or SRC2 device.

[0049] Any of the devices (SRC1, SRC2, SERVER, RENDERER, VIEWER1,

VIEWER2) may be a computer or a portable computing device, or be connected to such or configured to be connected to such. Moreover, even if the devices (SRC1, SRC2,

SERVER, RENDERER, VIEWER1, VIEWER2) are depicted as a single device in Fig. 1, they may comprise multiple parts or may be comprised of multiple connected devices. For example, it needs to be understood that SERVER may comprise several devices, some of which may be used for editing the content produced by SRC1 and/or SRC2 devices, some others for compressing the edited content, and a third set of devices may be used for transmitting the compressed content. Such devices may have computer program code for carrying out methods according to various examples described in this text.

[0050] Figs. 2a and 2b show a capture device and a viewing device, respectively. Fig.

2a illustrates a camera CAMl. The camera has a camera detector CAMDET1, comprising a plurality of sensor elements for sensing intensity of the light hitting the sensor element. The camera has a lens OBJ1 (or a lens arrangement of a plurality of lenses), the lens being positioned so that the light hitting the sensor elements travels through the lens to the sensor elements. The camera detector CAMDET1 has a nominal centre point CP1 that is a middle point of the plurality of sensor elements, for example for a rectangular sensor the crossing point of diagonals of the rectangular sensor. The lens has a nominal centre point PP1, as well, lying for example on the axis of symmetry of the lens. The direction of orientation of the camera is defined by the line passing through the centre point CP1 of the camera sensor and the centre point PP1 of the lens. The direction of the camera is a vector along this line pointing in the direction from the camera sensor to the lens. The optical axis of the camera is understood to be this line CP1-PP1. However, the optical path from the lens to the camera detector need not always be a straight line but there may be mirrors and/or some other elements which may affect the optical path between the lens and the camera detector. [0051] Fig. 2b shows a head-mounted display (HMD) for stereo viewing. The head- mounted display comprises two screen sections or two screens DISP1 and DISP2 for displaying the left and right eye images. The displays are close to the eyes, and therefore lenses are used to make the images easily viewable and for spreading the images to cover as much as possible of the eyes' field of view. When the device will be used by a user, the user may put the device on her/his head so that it will be attached to the head of the user so that it stays in place even when the user turns his head. The device may have an orientation detecting module ORDET1 for determining the head movements and direction of the head. The head-mounted display gives a three-dimensional (3D) perception of the

recorded/streamed content to a user.

[0052] The system described above may function as follows. Time-synchronized video and orientation data is first recorded with the capture devices. This can consist of multiple concurrent video streams as described above. One or more time-synchronized audio streams may also be recorded with the capture devices. The different capture devices may form image and geometry information of the scene from different directions. For example, there may be three, four, five, six or more cameras capturing the scene from different sides, like front, back, left and right, and/or at directions between these, as well as from the top or bottom, or any combination of these. The cameras may be at different distances, for example some of the cameras may capture the whole scene and some of the cameras may be capturing one or more objects in the scene. In an arrangement used for capturing volumetric video data, several cameras may be directed towards an object, looking onto the object from different directions, where the object is e.g. in the middle of the cameras. In this manner, the texture and geometry of the scene and the objects within the scene may be captured adequately. As mentioned earlier, the cameras or the system may comprise means for determining geometry information, e.g. depth data, related to the captured video streams. From these concurrent video and audio streams, a computer model of a scene may be created. Alternatively or additionally, a synthetic computer model of a virtual scene may be used. The models (at successive time instances) are then transmitted immediately or later to the storage and processing network for processing and conversion into a format suitable for subsequent delivery to playback devices. The conversion may involve processing and coding to improve the quality and/or reduce the quantity of the scene model data while preserving the quality at a desired level. Each playback device receives a stream of the data (either computed video data or scene model data) from the network, and renders it into a viewing reproduction of the original location which can be experienced by a user. The reproduction may be two-dimensional or three-dimensional (stereo image pairs).

[0053] Figs. 3a and 3b show an encoder and decoder for encoding and decoding texture pictures, geometry pictures and/or auxiliary pictures. A video codec consists of an encoder that transforms an input video into a compressed representation suited for

storage/transmission and a decoder that can uncompress the compressed video

representation back into a viewable form. Typically, the encoder discards and/or loses some information in the original video sequence in order to represent the video in a more compact form (that is, at lower bitrate). An example of an encoding process is illustrated in Figure 3a. Figure 3a illustrates an image to be encoded (F); a predicted representation of an image block (P' n ); a prediction error signal (D n ); a reconstructed prediction error signal (D' n ); a preliminary reconstructed image (I' n ); a final reconstructed image (R' n ); a transform (T) and inverse transform (T -1 ); a quantization (Q) and inverse quantization (Q 1 ); entropy encoding (E); a reference frame memory (RFM); inter prediction (Pi nter ); intra prediction (Pi ntra ); mode selection (MS) and filtering (F).

[0054] An example of a decoding process is illustrated in Figure 3b. Figure 3b illustrates a predicted representation of an image block (P' n ); a reconstructed prediction error signal (D' n ); a preliminary reconstructed image (I' n ); a final reconstructed image (R' n ); an inverse transform (T 1 ); an inverse quantization (Q 1 ); an entropy decoding (E 1 ); a reference frame memory (RFM); a prediction (either inter or intra) (P); and filtering (F).

[0055] Many hybrid video encoders encode the video information in two phases. Firstly pixel values in a certain picture area (or“block”) are predicted for example by motion compensation means (finding and indicating an area in one of the previously coded video frames that corresponds closely to the block being coded) or by spatial means (using the pixel values around the block to be coded in a specified manner). Secondly the prediction error, i.e. the difference between the predicted block of pixels and the original block of pixels, is coded. This is typically done by transforming the difference in pixel values using a specified transform (e.g. Discrete Cosine Transform (DCT) or a variant of it), quantizing the coefficients and entropy coding the quantized coefficients. By varying the fidelity of the quantization process, encoder can control the balance between the accuracy of the pixel representation (picture quality) and size of the resulting coded video representation (file size or transmission bitrate). Video codecs may also provide a transform skip mode, which the encoders may choose to use. In the transform skip mode, the prediction error is coded in a sample domain, for example by deriving a sample-wise difference value relative to certain adjacent samples and coding the sample-wise difference value with an entropy coder.

[0056] Many video encoders partition a picture into blocks along a block grid. For example, in the High Efficiency Video Coding (HEVC) standard, the following

partitioning and definitions are used. A coding block may be defined as an NxN block of samples for some value of N such that the division of a coding tree block into coding blocks is a partitioning. A coding tree block (CTB) may be defined as an NxN block of samples for some value of N such that the division of a component into coding tree blocks is a partitioning. A coding tree unit (CTU) may be defined as a coding tree block of luma samples, two corresponding coding tree blocks of chroma samples of a picture that has three sample arrays, or a coding tree block of samples of a monochrome picture or a picture that is coded using three separate color planes and syntax structures used to code the samples. A coding unit (CU) may be defined as a coding block of luma samples, two corresponding coding blocks of chroma samples of a picture that has three sample arrays, or a coding block of samples of a monochrome picture or a picture that is coded using three separate color planes and syntax structures used to code the samples. A CU with the maximum allowed size may be named as LCU (largest coding unit) or coding tree unit (CTU) and the video picture is divided into non-overlapping LCUs.

[0057] Entropy coding/decoding may be performed in many ways. For example, context-based coding/decoding may be applied, where in both the encoder and the decoder modify the context state of a coding parameter based on previously coded/decoded coding parameters. Context-based coding may for example be context adaptive binary arithmetic coding (CABAC) or context-based variable length coding (CAVLC) or any similar entropy coding. Entropy coding/decoding may alternatively or additionally be performed using a variable length coding scheme, such as Huffman coding/decoding or Exp-Golomb coding/decoding. Decoding of coding parameters from an entropy-coded bitstream or codewords may be referred to as parsing.

[0058] Figs. 4a, 4b, 4c and 4d show a setup for forming a stereo image of a scene to a user, for example a video frame of a 3D video. In Fig. 4a, a situation is shown where a human being is viewing two spheres Al and A2 using both eyes El and E2. The sphere Al is closer to the viewer than the sphere A2, the respective distances to the first eye El being LEI,AI and LEI,A2. The different objects reside in space at their respective (x,y,z) coordinates, defined by the coordinate system SZ, SY and SZ. The distance di 2 between the eyes of a human being may be approximately 62-64 mm on average, and varying from person to person between 55 and 74 mm. This distance is referred to as the parallax, on which stereoscopic view of the human vision is based on. The viewing directions (optical axes) DIR1 and DIR2 are typically essentially parallel, possibly having a small deviation from being parallel, and define the field of view for the eyes. The head of the user has an orientation (head orientation) in relation to the surroundings, most easily defined by the common direction of the eyes when the eyes are looking straight ahead. That is, the head orientation tells the yaw, pitch and roll of the head in respect of a coordinate system of the scene where the user is.

[0059] When the viewer's body (thorax) is not moving, the viewer's head orientation is restricted by the normal anatomical ranges of movement of the cervical spine.

[0060] In the setup of Fig. 4a, the spheres Al and A2 are in the field of view of both eyes. The centre-point O12 between the eyes and the spheres are on the same line. That is, from the centre-point, the sphere A2 is behind the sphere Al . However, each eye sees part of sphere A2 from behind Al, because the spheres are not on the same line of view from either of the eyes.

[0061] In Fig. 4b, there is a setup shown, where the eyes have been replaced by cameras Cl and C2, positioned at the location where the eyes were in Fig. 4a. The distances and directions of the setup are otherwise the same. Naturally, the purpose of the setup of Fig.

4b is to be able to take a stereo image of the spheres Al and A2. The two images resulting from image capture are Fci and Fc 2 . The "left eye” image Fci shows the image S A 2 of the sphere A2 partly visible on the left side of the image SAI of the sphere Al . The "right eye" image Fc2 shows the image S A 2 of the sphere A2 partly visible on the right side of the image SAI of the sphere Al . This difference between the right and left images is called disparity, and this disparity, being the basic mechanism with which the HVS determines depth information and creates a 3D view of the scene, can be used to create an illusion of a 3D image.

[0062] In this setup of Fig. 4b, where the inter-eye distances correspond to those of the eyes in Fig. 4a, the camera pair Cl and C2 has a natural parallax, that is, it has the property of creating natural disparity in the two images of the cameras. Natural disparity may be understood to be created even though the distance between the two cameras forming the stereo camera pair is somewhat smaller or larger than the normal distance (parallax) between the human eyes, e.g. essentially between 40 mm and 100 mm or even 30 mm and 120 mm.

[0063] It needs to be understood here that the images Fci and Fc 2 may be captured by cameras Cl and C2, where the cameras Cl and C2 may be real-world cameras or they may be virtual cameras. In the case of virtual cameras, the images Fci and Fc 2 may be computed from a computer model of a scene by setting the direction, orientation and viewport of the cameras Cl and C2 appropriately such that a stereo image pair suitable for viewing by the human visual system (HVS) is created.

[0064] In Fig. 4c, the creating of this 3D illusion is shown. The images Fci and Fc 2 captured or computed by the cameras Cl and C2 are displayed to the eyes El and E2, using displays Dl and D2, respectively. The disparity between the images is processed by the human visual system so that an understanding of depth is created. That is, when the left eye sees the image SA2 of the sphere A2 on the left side of the image SAI of sphere Al, and respectively the right eye sees the image S A 2 of the sphere A2 on the right side, the human visual system creates an understanding that there is a sphere V2 behind the sphere VI in a three-dimensional world. Here, it needs to be understood that the images Fci and Fc 2 can also be synthetic, that is, created by a computer. If they carry the disparity information, synthetic images will also be seen as three-dimensional by the human visual system. That is, a pair of computer-generated images can be formed so that they can be used as a stereo image.

[0065] Fig. 4d illustrates how the principle of displaying stereo images to the eyes can be used to create 3D movies or virtual reality scenes having an illusion of being three- dimensional. The images Fxi and Fx 2 are either captured with a stereo camera or computed from a model so that the images have the appropriate disparity. By displaying a large number (e.g. 30) frames per second to both eyes using display Dl and D2 so that the images between the left and the right eye have disparity, the human visual system will create a cognition of a moving, three-dimensional image.

[0066] The field of view represented by the content may be greater than the displayed field of view e.g. in an arrangement depicted in Fig. 4d. Consequently, only a part of the content along the direction of view (a.k.a. viewing orientation) is displayed at a single time. This direction of view, that is, the head orientation, may be determined as a real orientation of the head e.g. by an orientation detector mounted on the head, or as a virtual orientation determined by a control device such as a joystick or mouse that can be used to manipulate the direction of view without the user actually moving his head. That is, the term "head orientation" may be used to refer to the actual, physical orientation of the user's head and changes in the same, or it may be used to refer to the virtual direction of the user's view that is determined by a computer program or a computer input device.

[0067] The content may enable viewing from several viewing positions within the 3D space. The texture picture(s), the geometry picture(s) and the geometry information may be used to synthesize the images Fxi and/or Fx 2 as if the displayed content was captured by camera(s) located at the viewing position.

[0068] The principle illustrated in Figs. 4a-4d may be used to create three-dimensional images to a viewer from a three-dimensional scene model (volumetric video) after the scene model has been encoded at the sender and decoded and reconstructed at the receiver. Because volumetric video describes a 3D scene or object at different (successive) time instances, such data can be viewed from any viewpoint. Therefore, volumetric video is an important format for any augmented reality, virtual reality and mixed reality applications, especially for providing viewing capabilities having six degrees of freedom (so-called 6DOF viewing).

[0069] Fig. 5a illustrates projection of source volumes in a digital scene model SCE and parts of an object model OBJ1, OBJ2, OBJ3, BG4 to projection surfaces Sl, S2, S3, S4, as well as determining depth information for the purpose of encoding volumetric video. [0070] The projection of source volumes SV1, SV2, SV3, SV4 may result in texture pictures and geometry pictures, and there may be geometry information related to the projection source volumes and/or projection surfaces. Texture pictures, geometry pictures and projection geometry information may be encoded into a bitstream. A texture picture may comprise information on the colour data of the source of the projection. Through the projection, such colour data may result in pixel colour information in the texture picture. Pixels may be coded in groups, e.g. coding units of rectangular shape. The projection geometry information may comprise but is not limited to one or more of the following:

- projection type, such as planar projection or equirectangular projection

- projection surface type, such as a cube, sphere, cylinder, polyhedron

- location of the projection surface in 3D space

- orientation of the projection surface in 3D space

- size of the projection surface in 3D space

- type of a projection centre, such as a projection centre point, axis, or plane, from which a geometry primitive is projected onto the projection surface

- location and/or orientation of a projection centre.

[0071] The projection may take place by projecting the geometry primitives (points of a point could, triangles of a triangle mesh or voxels of a voxel array) of a source volume SV1, SV2, SV3, SV4 (or an object OBJ1, OBJ2, OBJ3, BG4) onto a projection surface Sl, S2, S3, S4. The geometry primitives may comprise information on the texture, for example a colour value or values of a point, a triangle or a voxel. The projection surface may surround the source volume at least partially such that projection of the geometry primitives happens from the centre of the projection surface outwards to the surface. For example, a cylindrical surface has a projection centre axis and a spherical surface has a projection centre point. A cubical or rectangular surface may have projection centre planes or a projection centre axis or point and the projection of the geometry primitives may take place either orthogonally to the sides of the surface or from the projection centre axis or point outwards to the surface. The projection surfaces, e.g. cylindrical and rectangular, may be open from the top and the bottom such that when the surface is cut and rolled out on a two-dimensional plane, it forms a rectangular shape. Such rectangular shape with pixel data can be encoded and decoded with a video codec. [0072] Alternatively or in addition, the projection surface such as a planar surface or a sphere may be inside group of geometry primitives, e.g. inside a point cloud that defines a surface. In the case of an inside projection surface, the projection may take place from outside in towards the centre and may result in sub-sampling of the texture data of the source.

[0073] In a point cloud based scene model or object model, points may be represented with any floating point coordinates. A quantized point cloud may be used to reduce the amount of data, whereby the coordinate values of the point cloud are represented e.g. with lO-bit, 12-bit or 16-bit integers. Integers may be used because hardware accelerators may be able to operate on integers more efficiently. The points in the point cloud may have associated colour, reflectance, opacity etc. texture values. The points in the point cloud may also have a size, or a size may be the same for all points. The size of the points may be understood as indicating how large an object the point appears to be in the model in the projection. The point cloud is projected by ray casting from the projection surface to find out the pixel values of the projection surface. In such a manner, the topmost point remains visible in the projection, while points closer to the centre of the projection surface may be occluded. In other words, in general, the original point cloud, meshes, voxels, or any other model is projected outwards to a simple geometrical shape, this simple geometrical shape being the projection surface.

[0074] Different projection surfaces may have different characteristics in terms of projection and reconstruction. In the sense of computational complexity, a projection to a cubical surface may be the most efficient, and a cylindrical projection surface may provide accurate results efficiently. Also cones, polyhedron-based parallelepipeds (hexagonal or octagonal, for example) and spheres or a simple plane may be used as projection surfaces.

[0075] The phrase along the bitstream (e.g. indicating along the bitstream) may be defined to refer to out-of-band transmission, signalling, or storage in a manner that the out- of-band data is associated with the bitstream. The phrase decoding along the bitstream or alike may refer to decoding the referred out-of-band data (which may be obtained from out-of-band transmission, signalling, or storage) that is associated with the bitstream. For example, an indication along the bitstream may refer to metadata in a container file that encapsulates the bitstream. [0076] As illustrated in Fig. 5a, a first texture picture may be encoded into a bitstream, and the first texture picture may comprise a first projection of texture data of a first source volume SV1 of a scene model SCE onto a first projection surface Sl. The scene model SCE may comprise a number of further source volumes SV2, SV3, SV4.

[0077] In the projection, data on the position of the originating geometry primitive may also be determined, and based on this determination, a geometry picture may be formed. This may happen for example so that depth data is determined for each or some of the texture pixels of the texture picture. Depth data is formed such that the distance from the originating geometry primitive such as a point to the projection surface is determined for the pixels. Such depth data may be represented as a depth picture, and similarly to the texture picture, such geometry picture (in this example, depth picture) may be encoded and decoded with a video codec. This first geometry picture may be seen to represent a mapping of the first projection surface to the first source volume, and the decoder may use this information to determine the location of geometry primitives in the model to be reconstructed. In order to determine the position of the first source volume and/or the first projection surface and/or the first projection in the scene model, there may be first geometry information encoded into or along the bitstream.

[0078] A picture may be defined to be either a frame or a field. A frame may be defined to comprise a matrix of luma samples and possibly the corresponding chroma samples. A field may be defined to be a set of alternate sample rows of a frame. Fields may be used as encoder input for example when the source signal is interlaced. Chroma sample arrays may be absent (and hence monochrome sampling may be in use) or may be subsampled when compared to luma sample arrays. Some chroma formats may be summarized as follows:

- In monochrome sampling there is only one sample array, which may be nominally considered the luma array.

- In 4:2:0 sampling, each of the two chroma arrays has half the height and half the width of the luma array.

- In 4:2:2 sampling, each of the two chroma arrays has the same height and half the width of the luma array.

- In 4:4:4 sampling when no separate colour planes are in use, each of the two chroma arrays has the same height and width as the luma array. [0079] It is possible to code sample arrays as separate colour planes into the bitstream and respectively decode separately coded colour planes from the bitstream. When separate colour planes are in use, each one of them is separately processed (by the encoder and/or the decoder) as a picture with monochrome sampling.

[0080] An attribute picture may be defined as a picture that comprises additional information related to an associated texture picture. An attribute picture may for example comprise surface normal, opacity, or reflectance information for a texture picture. A geometry picture may be regarded as one type of an attribute picture, although a geometry picture may be treated as its own picture type, separate from an attribute picture.

[0081 ] Texture picture(s) and the respective geometry picture(s), if any, and the respective attribute picture(s) may have the same or different chroma format.

[0082] Terms texture image and texture picture may be used interchangeably. Terms geometry image and geometry picture may be used interchangeably. A specific type of a geometry image is a depth image. Embodiments described in relation to a geometry image equally apply to a depth image, and embodiments described in relation to a depth image equally apply to a geometry image. Terms attribute image and attribute picture may be used interchangeably. A geometry picture and/or an attribute picture may be treated as an auxiliary picture in video/image encoding and/or decoding.

[0083] Depending on the context, a pixel may be defined to a be a sample of one of the sample arrays of the picture or may be defined to comprise the collocated samples of all the sample arrays of the picture.

[0084] Multiple source volumes (objects) may be encoded as texture pictures, geometry pictures and projection geometry information into the bitstream in a similar manner. That is, as in Fig. 5a, the scene model SCE may comprise multiple objects OBJ1, OBJ2, OBJ3, OBJ4, and these may be treated as source volumes SV1, SV2, SV3, SV4 and each object may be coded as a texture picture, geometry picture and projection geometry information.

[0085] In the above, the first texture picture of the first source volume SV1 and further texture pictures of the other source volumes SV2, SV3, SV4 may represent the same time instance. That is, there may be a plurality of texture and geometry pictures and projection geometry information for one time instance, and the other time instances may be coded in a similar manner. Since the various source volumes are in this way producing sequences of texture pictures and sequences of geometry pictures, as well as sequences of projection geometry information, the inter-picture redundancy in the picture sequences can be used to encode the texture and geometry data for the source volumes efficiently, compared to the presently known ways of encoding volume data.

[0086] An object OBJ3 (source volume SV3) may be projected onto a projection surface S3 and encoded into the bitstream as a texture picture, geometry picture and projection geometry information as described above. Furthermore, such source volume may be indicated to be static by encoding information into said bitstream on said fourth projection geometry being static. A static source volume or object may be understood to be an object whose position with respect to the scene model remains the same over two or more or all time instances of the video sequence. For such static source volume, the geometry data (geometry pictures) may also stay the same, that is, the object's shape remains the same over two or more time instances. For such static source volume, some or all of the texture data (texture pictures) may stay the same over two or more time instances. By encoding information into the bitstream of the static nature of the source volume the encoding efficiency may further be improved, as the same information may not need to be coded multiple times. In this manner, the decoder will also be able to use the same reconstruction or partially same reconstruction of the source volume (object) over multiple time instances.

[0087] In an analogous manner, the different source volumes may be coded into the bitstream with different frame rates. For example, a slow-moving or relatively unchanging object (source volume) may be encoded with a first frame rate, and a fast-moving and/or changing object (source volume) may be coded with a second frame rate. The first frame rate may be slower than the second frame rate, for example one half or one quarter of the second frame rate, or even slower. For example, if the second frame rate is 30 frames per second, the second frame rate may be 15 frames per second, or 1 frame per second. The first and second object (source volumes) may be "sampled" in synchrony such that some frames of the faster frame rate coincide with frames of the slower frame rate.

[0088] There may be one or more coordinate systems in the scene model. The scene model may have a coordinate system and one or more of the objects (source volumes) in the scene model may have their local coordinate systems. The shape, size, location and orientation of one or more projection surfaces may be encoded into or along the bitstream with respect to the scene model coordinates. Alternatively or in addition, the encoding may be done with respect to coordinates of the scene model or said first source volume. The choice of coordinate systems may improve the coding efficiency.

[0089] Information on temporal changes in location, orientation and size of one or more said projection surfaces may be encoded into or along the bitstream. For example, if one or more of the objects (source volumes) being encoded is moving or rotating with respect to the scene model, the projection surface moves or rotates with the object to preserve the projection as similar as possible.

[0090] If the projection volumes are changing, for example splitting or bending into two parts, the projection surfaces may be sub-divided respectively. Therefore, information on sub-division of one or more of the source volumes and respective changes in one or more of the projection surfaces may be encoded into or along the bitstream.

[0091] The resulting bitstream may then be output to be stored or transmitted for later decoding and reconstruction of the scene model.

[0092] Decoding of the information from the bitstream may happen in analogous manner. A first texture picture may be decoded from a bitstream to obtain first decoded texture data, where the first texture picture comprises a first projection of texture data of a first source volume of the scene model to be reconstructed onto a first projection surface. The scene model may comprise a number of further source volumes. Then, a first geometry picture may be decoded from the bitstream to obtain first decoded scene model geometry data. The first geometry picture may represent a mapping of the first projection surface to the first source volume. First projection geometry information of the first projection may be decoded from the bitstream, the first projection geometry information comprising information of position of the first projection surface in the scene model. Using this information, a reconstructed scene model may be formed by projecting the first decoded texture data to a first destination volume using the first decoded scene model geometry data and said first projection geometry information to determine where the decoded texture information is to be placed in the scene model.

[0093] A 3D scene model may be classified into two parts: first all dynamic parts, and second all static parts. The dynamic part of the 3D scene model may further be sub-divided into separate parts, each representing objects (or parts of) an object in the scene model, that is, source volumes. The static parts of the scene model may include e.g. static room geometry (walls, ceiling, fixed furniture) and may be compressed either by known volumetric data compression solutions, or, similar to the dynamic part, sub-divided into individual objects for projection-based compression as described earlier, to be encoded into the bitstream.

[0094] In an example, some objects may be a chair (static), a television screen (static geometry, dynamic texture), a moving person (dynamic). For each object, a suitable projection geometry (surface) may be found, e.g. cube projection to represent the chair, another cube for the screen, a cylinder for the person's torso, a sphere for a detailed representation of the person's head, and so on. The 3D data of each object may then be projected onto the respective projection surface and 2D planes are derived by "unfolding" the projections from three dimensions to two dimensions (plane). The unfolded planes will have several channels, typically three for the colour representation of the texture, e.g.

RGB, YUV, and one additional plane for the geometry (depth) of each projected point for later reconstruction.

[0095] Frame packing may be defined to comprise arranging more than one input picture, which may be referred to as (input) constituent frames, into an output picture. In general, frame packing is not limited to any particular type of constituent frames or the constituent frames need not have a particular relation with each other. In many cases, frame packing is used for arranging constituent frames of a stereoscopic video clip into a single picture sequence. The arranging may include placing the input pictures in spatially non-overlapping areas within the output picture. For example, in a side-by-side

arrangement, two input pictures are placed within an output picture horizontally adjacently to each other. The arranging may also include partitioning of one or more input pictures into two or more constituent frame partitions and placing the constituent frame partitions in spatially non-overlapping areas within the output picture. The output picture or a sequence of frame-packed output pictures may be encoded into a bitstream e.g. by a video encoder. The bitstream may be decoded e.g. by a video decoder. The decoder or a post-processing operation after decoding may extract the decoded constituent frames from the decoded picture(s) e.g. for displaying. [0096] A standard 2D video encoder may then receive the planes as inputs, either as individual layers per object, or as a frame-packed representation of all objects. The texture picture may thus comprise a plurality of projections of texture data from further source volumes and the geometry picture may represent a plurality of mappings of projection surfaces to the source volume.

[0097] For each object, additional information may be signalled to allow for

reconstruction at the decoder side:

- in the case of a frame-packed representation: separation boundaries may be signalled to recreate the individual planes for each object,

- in the case of projection-based compression of static content: classification of each object as static/dynamic may be signalled,

- relevant data to create real-world geometry data from the decoded (quantised)

geometry channel(s), e.g. quantisation method, depth ranges, bit depth, etc. may be signalled,

- initial state of each object: geometry shape, location, orientation, size may be signalled,

- temporal changes for each object, either as changes to the initial state on a per-picture level, or as a function of time may be signalled, and

- nature of any additional auxiliary data may be signalled.

[0098] The decoder may receive the static 3D scene model data together with the video bitstreams representing the dynamic parts of the scene model. Based on the signalled information on the projection geometries, each object may be reconstructed in 3D space and the decoded scene model is created by fusing all reconstructed parts (objects or source volumes) together.

[0099] Standard video encoding hardware may be utilized for real-time

compression/decompression of the projection surfaces that have been unfolded onto planes.

[0100] Single projection surfaces might suffice for the projection of very simple objects. Complex objects or larger scenes may require several (different) projections. The relative geometry of the object/scene may remain constant over a volumetric video sequence, but the location and orientation of the projection surfaces in space can change (and can be possibly predicted in the encoding, wherein the difference from the prediction is encoded).

[0101] Depth may be coded "outside-in" (indicating the distance from the projection surface to the 3D point), or "inside-out” (indicating the distance from the 3D point to the projection surface). In inside-out coding, depth of each projected point may be positive (with positive distance PD1) or negative (with negative distance). Fig. 5b shows an example of projecting an object OBJ1 using a cube map projection format, wherein there are six projection surfaces PSl,...,PS6 of the projection cube PC1. In this example, the projection surfaces are one on the left side PS1, one in front PS2, one on the right side PS3, one in the back PS4, one in the bottom PS5, and one in the top PS6 of the cube PC1 in the setup of Figure 5b. For clarity, only four of the projection surfaces will be shown and used in the rest of the specification. For example, in Figure 8a the projection surfaces on the left PS1, on the right PS3, in the front PS2 and at in the back PS4 are shown. It is, however, clear to a skilled person to utilize similar principles on all six projection surfaces when the cube map projection format is used.

[0102] Fig. 6 shows a projection of a source volume to a cylindrical projection surface. A three-dimensional (3D) scene model, represented as objects OBJ1 comprising geometry primitives such as mesh elements, points, and/or voxel, may be projected onto one, or more, projection surfaces, as described earlier. As shown in Fig 6, these projection surface geometries maybe "unfolded" onto 2D planes (two planes per projected source volume: one for texture TP1, one for depth GP1), which may then be encoded using standard 2D video compression technologies. Relevant projection geometry information may be transmitted alongside the encoded video files to the decoder. The decoder may then decode the video and performs the inverse projection to regenerate the 3D scene model object ROBJ1 in any desired representation format, which may be different from the starting format e.g. reconstructing a point cloud from original mesh model data.

[0103] In addition to the texture picture and geometry picture shown in Fig. 6, one or more auxiliary pictures related to one or more said texture pictures and the pixels thereof may be encoded into or along with the bitstream. The auxiliary pictures may e.g. represent texture surface properties related to one or more of the source volumes. Such texture surface properties may be e.g. surface normal information (e.g. with respect to the projection direction), reflectance and opacity (e.g. an alpha channel value). An encoder may encode, in or along with the bitstream, indication(s) of the type(s) of texture surface properties represented by the auxiliary pictures, and a decoder may decode, from or along the bitstream, indication(s) of the type(s) of texture surface properties represented by the auxiliary pictures.

[0104] Mechanisms to represent an auxiliary picture may include but are not limited to the following:

A colour component sample array, such as a chroma sample array, of the geometry picture.

An additional sample array in addition to the conventional three colour component sample arrays of the texture picture or the geometry picture.

A constituent frame of a frame-packed picture that may also comprise texture picture(s) and/or geometry picture(s).

An auxiliary picture included in specific data units in the bitstream. For example, the Advanced Video Coding (H.264/AVC) standard specifies a network abstraction layer (NAL) unit for a coded slice of an auxiliary coded picture without partitioning.

An auxiliary picture layer within a layered bitstream. For example, the High Efficiency Video Coding (HE VC) standard comprises the feature of including auxiliary picture layers in the bitstream. An auxiliary picture layer comprises auxiliary pictures.

An auxiliary picture bitstream separate from the bitstream(s) for the texture picture(s) and geometry picture(s). The auxiliary picture bitstream may be indicated, for example in a container file, to be associated with the bitstream(s) for the texture pictures(s) and geometry picture(s).

[0105] The mechanism(s) to be used for auxiliary pictures may be pre-defined e.g. in a coding standard, or the mechanism(s) may be selected e.g. by an encoder and indicated in or along the bitstream. The decoder may decode the mechanism(s) used for auxiliary pictures from or along the bitstream.

[0106] The projection surface of a source volume may encompass the source volume, and there may be a model of an object in that source volume. Encompassing may be understood so that the object (model) is inside the surface such that when looking from the centre axis or centre point of the surface, the object's points are closer to the centre than the points of the projection surface are. The model may be made of geometry primitives, as described. The geometry primitives of the model may be projected onto the projection surface to obtain projected pixels of the texture picture. This projection may happen from inside-out. Alternatively, or in addition, the projection may happen from outside-in.

Projecting 3D data onto 2D planes is independent from the 3D scene model representation format. There exist several approaches for projecting 3D data onto 2D planes, with the respective signalling. For example, there exist several mappings from spherical coordinates to planar coordinates, known from map projections of the globe, and the type and parameters of such projection may be signalled. For cylindrical projections, the aspect ratio of height and width may be signalled.

[0107] It may happen that when the projection of the object is performed on the projection surfaces PS1— PS6, some parts of the object OBJ1 or another object may occlude some other parts of the object OBJ1 which otherwise were visible from the projection surface in question. Hence, some parts of the object OBJ1 would not be projected to any of the surfaces of the projection format.

[0108] Figure 7 illustrates an example of this kind of situation. In this example the person’s left hand occludes a part of the body of the person so that when viewed

(projected) from the left hand’s side the occluded part of the body would not be projected. In the same way, the planar object on the person’s right hand occludes some parts of the person’s stomach when viewed from the front of the person.

[0109] According to an approach, which has been proposed for occlusion handling for projection-based volumetric video coding, the 3D volume surface is analysed with respect to the target projection surface before performing the 3D-to-2D projection. Therein, an entity that maps 3D texture data on to projection planes can choose the six sides of an oriented or an axis aligned bounding box of a 3D point cloud as the initial set of projection planes. The mapping of 3D surface parts on to the projection planes only maps the closest coherent surface onto the projections planes. For example, if there are two surfaces of the 3D object where one surface occludes the other surface in the direction of the 2D planes normal, then only the occluding surface is mapped on to the projection plane. The occluded surface requires the generation of another projection plane for mapping. The pose of the projections planes for the occluded points in the point cloud can be chosen such that it maximizes the rate-distortion performance for encoding the texture, depth and other auxiliary planes.

[0110] For the upcoming MPEG point cloud compression standard, there has been developed a test model for point cloud compression. MPEG W17248 discloses another projection-based approach for dynamic point cloud compression. Figures 8a and 8b illustrate an overview of the compression/decompression processes implemented in MPEG Point Cloud Coding, Test Model a.k.a. TMC2vO (MPEG W17248) for dynamic point clouds (category 2). For the sake of illustration, some of the processes related to TMC2vO compression/decompression are described briefly herein. For a comprehensive description of the test model, a reference is made to MPEG W17248.

[0111] The patch generation process aims at decomposing the point cloud into a minimum number of patches with smooth boundaries, while also minimizing the reconstruction error. In TMC2vO, the following approach is implemented.

[01 12] First, the normal at every point is estimated and an initial clustering of the point cloud is then obtained by associating each point with one of the following six oriented planes, defined by their normal. More precisely, each point is associated with the plane that has the closest normal (i.e., maximizes the dot product of the point normal and the plane normal).

[01 13] The initial clustering is then refined by iteratively updating the cluster index associated with each point based on its normal and the cluster indices of its nearest neighbors. The final step consists of extracting patches by applying a connected

component extraction procedure.

[01 14] The packing process aims at mapping the extracted patches onto a 2D grid while trying to minimize the unused space, and guaranteeing that every TxT (e.g., 16x16) block of the grid is associated with a unique patch. Herein, T is a user-defined parameter that is encoded in the bitstream and sent to the decoder.

[01 15] TMC2vO uses a simple packing strategy that iteratively tries to insert patches into a WxH grid. W and H are user defined parameters, which correspond to the resolution of the geometry/texture images that will be encoded. The patch location is determined through an exhaustive search that is performed in raster scan order. The first location that can guarantee an overlapping- free insertion of the patch is selected and the grid cells covered by the patch are marked as used. If no empty space in the current resolution image can fit a patch then the height H of the grid is temporarily doubled and search is applied again. At the end of the process, H is clipped so as to fit the used grid cells.

[01 16] The image generation process exploits the 3D to 2D mapping computed during the packing process to store the geometry and texture of the point cloud as images. In order to better handle the case of multiple points being projected to the same pixel, each patch is projected onto two images, referred to as layers. More precisely, let H(u,v) be the set of points of the current patch that get projected to the same pixel (u, v). The first layer, also called the near layer, stores the point of H(u,v) with the lowest depth DO. The second layer, referred to as the far layer, captures the point of H(u,v) with the highest depth within the interval [DO, DO+D], where D is a user-defined parameter that describes the surface thickness.

[01 17] The generated videos have the following characteristics: geometry: WxH

YUV420-8bit, where the geometry video is monochromatic, and texture: WxH YUV420- 8bit, where the texture generation procedure exploits the reconstructed/smoothed geometry in order to compute the colors to be associated with the re-sampled points.

[01 18] The padding process aims at filling the empty space between patches in order to generate a smooth image suited for video compression. TMC2vO uses a simple padding strategy, which proceeds as follows:

Each block of TxT (e.g., 16x16) pixels is processed independently.

If the block is empty (i.e., all its pixels belong to empty space), then the pixels of the block are filled by copying either the last row or column of the previous TxT block in raster order.

If the block is full (i.e., no empty pixels), nothing is done.

If the block has both empty and filled pixels, then the empty pixels are iteratively filled with the average value of their non-empty neighbors.

[0119] The generated images/layers are stored as video frames and compressed using a video codec.

[0120] However, when several patches are projected from 3D content and all presented on a 2D grid, the edges created by such patches are very inefficient from video

compression point of view. Therefore, it is required to somehow smoothen the edges in the 2D grid created by copying the patches onto it. In other words, a 2D grid is created with occupied pixels from patches, and un-occupied pixels between the patches.

[0121] Compression of the 2D grid including both the occupied and un-occupied pixels is very costly from bitrate point of view. Moreover, the above described padding process used in TMC2vO may easily introduce clearly visible block boundaries upon coding the 2D grid, as shown in an example of Figure 9.

[0122] In the following, an enhanced method for decreasing the sharp edges in the 2D grid will be described in more detail, in accordance with an embodiment. The method can be applied to either or both of intra coding and inter coding of point cloud frames, i.e. intra (I) pictures or slices and inter (P or B) pictures or slices.

[0123] The method, which is disclosed in Figure 10, comprises inputting (1000) a point cloud frame in an encoder; projecting (1002) a 3D scene to at least one projection plane, where at least two patches from at least one object in the scene is created; allocating (1004) the at least two patches to a 2D grid; partitioning (1006) the 2D grid into blocks of a predetermined size along a predetermined block grid; and for any block of the

predetermined size: determining (1008) a first list of unoccupied pixels having all neighboring pixels as occupied; determining (1010) values of the unoccupied pixels in the first list according to a first predetermined function; determining (1012) a second and any subsequent list of unoccupied pixels having one and subsequently a number added by one neighboring pixels as unoccupied; and determining (1014) values of the unoccupied pixels in the second list according to a second predetermined function and values of the unoccupied pixels in any subsequent list according to a subsequent predetermined function.

[0124] Thus, the method and the embodiments related thereto introduce a novel procedure to fill the un-occupied pixels so that the sharp edges in the 2D grid will be decreased and an improved compression result is achieved. The location of un-occupied pixels is determined, and the rest of the block is gradually and iteratively filled in according to the method and the embodiments related thereto.

[0125] According to an embodiment, said predetermined functions are based on values of neighboring pixels. Accordingly, the un-occupied pixels of any block of image may be padded based on the occupied pixels of that block of image and/or surrounding blocks of image. [0126] Herein, the image may be referred to as a 2D grid and the images located on the 2D grid and defining the occupied pixels may be referred to as patches.

[0127] The term“neighboring pixel” or’’adjacent pixel”, which may be used interchangeably herein, may have different meanings, depending on in which kind of system the method is applied.

[0128] According to an embodiment, neighboring pixels of the current pixel comprise at most the four pixels which share a boundary with the current pixel. An example of this definition is shown in Figure 1 la.

[0129] According to an embodiment, neighboring pixels of the current pixel comprise at most the eight pixels which share a boundary or a comer point with the current pixel.

According to this definition, all surrounding 8 pixels around a current pixel may be considered the adjacent/neighbour pixels. An example is depicted in Figure 1 lb.

[0130] According to an embodiment, neighboring pixels of the current pixel comprise pixels locating within a minimum distance from the current pixel. Thus, no absolute adjacency is required.

[0131] According to an embodiment, neighbouring pixels of the current pixel comprise a sub-set of pixels locating within a minimum distance from the current pixel.

[0132] It is noted that the definition of the adjacent/neighbouring pixels is not limited to the above, but the method as disclosed herein may be applied to using any other definition of the adjacent/neighbour pixels, if needed for any specific application.

[0133] The method and the embodiments related thereto are now described more in detail by an example of a high-level algorithm to be explained below. For the sake of illustration and simplification, in this example, the adjacent/neighbouring pixels refer to the four pixels which share a boundary with the current pixel, as shown in Figure 11a. It is noted that the steps of the algorithm are similarly applicable to any of the above definitions of the adjacent/neighbour pixels.

[0134] According to an embodiment, the method further comprises determining, at most, a number of lists of unoccupied pixels corresponding to the maximum of the number of neighbouring pixels. Thus, if neighboring pixels of the current pixel comprise at most the four pixels which share a boundary with the current pixel, then at most four lists of unoccupied pixels are determined. It is noted that for example in the comers of the 2D grid, the current pixel may have only two or three adjacent/neighbouring pixels.

[0135] In the following, processing steps A - D are described as examples for each of the four lists. For any block of size TxT pixels the following steps are taken in order from A to D:

[0136] Step A

[0137] In step A, a first list is determined, comprising all the un-occupied pixels which are fully surrounded, according to any definition of the adjacent/neighbour pixels given above, by occupied pixels. In this particular example, the first list comprises all the un occupied pixels which are surrounded from all 4 sides (left, right, top, bottom) by an occupied pixel. The scanning method for finding such pixels is not relevant for the implementation and any type of scanning may be used.

[0138] For each un-occupied pixel in the first list, the value of the (current) pixel is defined according to a first predetermined function as FA (values of all surrounding pixels}. After the pixel has been given the value, it will be considered as an occupied pixel for the rest of the process.

[0139] Consequently, step A resembles a single pixel hole filling performed to remove any pixel size holes in the image.

[0140] Step B

[0141] In step B, a second list is determined, comprising all un-occupied pixels surrounded, according to any definition of the adjacent/neighbour pixels given above, by all minus one possible occupied pixels. In this particular example, the second list comprises all un-occupied pixels which are surrounded from three sides by an occupied pixel by an arbitrary scanning direction e.g. top left to bottom right.

[0142] The scanning method for finding such pixels may be any scanning method, such as one of the following:

From top-left pixel, going to right to the top-right pixel, and then coming to the next row and scanning from left to right (left to right, top to bottom) etc.

From top-left pixel, going down to the bottom-left pixel, and then coming to the next column and scanning from top to bottom (Top to bottom, left to right) etc. From top-left pixel, going to right to the top-right pixel, and then coming to the next row and scanning from right to left. Following this, going to the next row and scanning from left to right etc.

From top-right pixel, going to left to the top-left pixel, and then coming to the next row and scanning from left to right. Following this, going to the next row and scanning from right to left etc.

Similar to above scannings, but starting from bottom left and bottom right.

Zig-Zag scan starting from top left as shown in Figure 12.

[0143] Step Bl : A first pixel from the second list is selected (as the current pixel) and the value of said current pixel is in the second list is defined according to a second predetermined function as FB (values of surrounding pixels}. Following this, the current pixel is considered occupied.

[0144] As a result of defining a value for the first (or any other current pixel), a new pixel matching the criteria of the first list may be created when current pixel’s status is changed to occupied. Therefore, any such new pixel, which in this example is surrounded by four occupied pixels, is dealt with similarly, using step A.

[0145] As a result of defining a value for the first (or any other current pixel), a new pixel matching the criteria of the second list may be created when current pixel’s status is changed to occupied. Therefore, any such new pixel, which in this example is surrounded by three occupied pixels, is dealt with similarly, using step Bl . When no new pixels matching the criteria of the second list are created, next pixel in the second list is considered as the current pixel. The current pixel may be occupied due to the previous steps performed after step Bl . In such case, the next pixel in the second list is considered as the current pixel. Similar process is performed until the current pixel is un-occupied. Following this, the current pixel is processed according to step Bl.

[0146] Step C

[0147] In step C, a third list is determined, comprising all un-occupied pixels surrounded, according to any definition of the adjacent/neighbour pixels given above, by all minus two possible occupied pixels. In this particular example, the third list comprises all un-occupied pixels which are surrounded from two sides by an occupied pixel by an arbitrary scanning direction e.g. top left to bottom right. [0148] Similarly to Step B, any type of scanning may be considered to find the pixels matching criteria of the third list.

[0149] Step Cl : A first pixel from the third list is selected as the current pixel and the value of said current pixel is in the third list is defined according to a third predetermined function as Fc (values of all surrounding pixels}. Following this, the current pixel is considered occupied.

[0150] Step C2: As a result of defining a value for the first (or any other current pixel), a new pixel matching the criteria of the second list (step B) may be created when current pixel’s status is changed to occupied. Therefore, any such new pixel, which in this example is surrounded by three occupied pixels, is dealt with similarly to step Bl .

[0151] Furthermore, as a result of defining a value for the first (or any other current pixel) in steps Cl or C2, a new pixel matching the criteria of the third list (step) may be created when current pixel’s status is changed to occupied. Therefore, any such new pixel, which in this example is surrounded by two occupied pixels, is dealt with similarly, using step Cl . When no new pixels matching the criteria of the third list are created, next pixel in the third list is considered as the current pixel. The current pixel may be occupied due to the previous steps performed after step Cl . In such case, the next pixel in the third list is considered as the current pixel. Similar process is performed until the current pixel is un occupied. Following this, the current pixel is processed according to step Cl.

[0152] Step D

[0153] In step D, a fourth list is determined, comprising all un-occupied pixels surrounded, according to any definition of the adjacent/neighbour pixels given above, by all minus three possible occupied pixels. In this particular example, the fourth list comprises all un-occupied pixels which are surrounded from one side by an occupied pixel by an arbitrary scanning direction e.g. top left to bottom right.

[0154] Similarly to Steps B and C, any type of scanning may be considered to find the pixels matching criteria of the fourth list. It should be noted that the scanning method used for Steps A, B, C, and D may be different.

[0155] Step Dl : A first pixel from the fourth list is selected as the current pixel.

Considering the location of the current pixel and its adjacent pixel (i.e. the pixel which has made the current pixel to fall into criteria D), opposite direction to the location of the adjacent pixel is used as the direction to find a second occupied pixel. The second occupied pixel may belong to the same block or to another block. The other block does not necessarily have to be adjacent to the current block. If the second occupied pixel is found, then the value of current pixel is defined according to a fourth predetermined function as FD (values of adjacent pixel and second pixel}. Following this, that pixel is considered occupied.

[0156] An example of finding the second occupied pixel is depicted in Figure 13. In Figure 13, the current pixel refers to the current pixel, such as the first pixel, fetched from the fourth list. The adjacent pixel is defined as the occupied pixel causing the current pixel to fall into criteria D, i.e. an un-occupied pixel which is surrounded from one side by an occupied pixel. The second occupied pixel is searched from the direction opposite to the adjacent pixel. In this example, the second occupied pixel is found in the neighboring block. The values of the adjacent pixel and the second occupied pixel are used in the fourth predetermined function to give value to the current pixel.

[0157] It may happen that no second occupied pixel is found. This may happen, for example, in the cases where the current pixel is adjacent to borders of the 2D grid, where the patches are located on the 2D grid. Generally, for any location where there is no occupied pixel between that pixel and the border of the image, in the specific direction, the second occupied pixel is not found.

[0158] According to an embodiment, in such cases, the current pixel is given a value using one of the following methods:

Copy the value of the adjacent pixel and use it as the value of current pixel.

Average the value of all occupied pixels in the current block and set the value of current pixel by said average value.

Find the median value of all occupied pixels in the current block and set the value of current pixel by said median value.

[0159] Following this, that pixel is considered occupied.

[0160] It should be noted that a different method may be considered for any pixels. The selection of different methods may depend on a rate distortion optimization (RDO) criteria. Such RDO may target lower required bitrate for compression of the current content. [0161] In step Dl, it is possible that the process to find the second pixel is limited to the current block. This means that the padding process in completely done independently for each block. Alternatively, if such limitation to find the second pixel in criteria Dl is not applied, the padding may also depend on other blocks of the image.

[0162] Step D2: As a result of defining a value for the first (or any other current pixel) according to step Dl, a new pixel matching the criteria of the second list (step B) may be created when current pixel’s status is changed to occupied. Therefore, any such new pixel, which in this example is surrounded by three occupied pixels, is dealt with similarly to step Bl.

[0163] Step D3 : As a result of defining a value for the first (or any other current pixel) in steps Dl or D2, a new pixel matching the criteria of the third list (step C) may be created when current pixel’s status is changed to occupied. Therefore, any such new pixel, which in this example is surrounded by two occupied pixels, is dealt with similarly, using step Cl.

[0164] Furthermore, as a result of defining a value for the first (or any other current pixel) in steps Dl, D2 or D3, a new pixel matching the criteria of the fourth list (step D) may be created when current pixel’s status is changed to occupied. Therefore, any such new pixel, which in this example is surrounded by two occupied pixels, is dealt with similarly, using step Dl.

[0165] When no new pixels matching the criteria of the fourth list are created, next pixel in the fourth list is considered as the current pixel. The current pixel may be occupied due to the previous steps performed after step Dl . In such case, the next pixel in the fourth list is considered as the current pixel. Similar process is performed until the current pixel is un-occupied. Following this, the current pixel is processed according to step Dl.

[0166] According to an embodiment, any of said predetermined (first, second, third, fourth, etc.) functions Fx { ... } , X e (1,2,..., maximum number of lists of un-occupied pixels} is one of the following:

Mean(...)

Median(...)

- Max(...)

- Min(...) Weighted mean (...)

Bilateral mean (...)

[0167] Furthermore, any other similar function may be used herein. It is noted that the weighted mean may be advantageous to be used in step Dl.

[0168] Any RDO may decide which function to select for different criteria or different pixels falling to one criteria. Such RDO may work based on the similarities to surrounding pixels or based on the compression efficiency RDO.

[0169] According to an embodiment, the adjacent/neighbouring pixels are not limited to the surrounding pixels having a boundary/ comer point (so-called first layer pixels) with the current pixel, such as the ones shown in Figures 11a and 1 lb, but the

adjacent/neighbouring pixels may also include the surrounding pixels of the adjacent/ neighbouring pixels (so-called second layer pixels) shown in Figuresl la and 1 lb. This is referred to as a layered adjacent/neighbouring pixel definition, whereupon the similar criteria introduced above for the surrounding pixels having a boundary/ comer point with the current pixel may be used again for an extended set of the surrounding pixels and all the found pixels to be considered in the calculations.

[0170] Figures 14a and 14b illustrate a definition of the adjacent/neighbouring pixels respective to Figure 11a and l ib with second layer pixels clarified. There is no limit to how many layers could be considered. The weighted average function, or bilateral averaging, may be used for this embodiment where the higher layer pixels receive a lower weight compared to the first layer pixels.

[0171] Figures 14c and 14d illustrate further possible definitions of the

adjacent/neighbouring pixels. Any of such definition may be utilized in the functions to calculate the value of the current pixel.

[0172] According to an embodiment, more than two layers of adjacent pixels are considered for the calculations. Similar pixel location definitions as in Figures 14a - 14d may be defined for this embodiment.

[0173] The functions for different criteria may or may not be the same. For example, it may be beneficial to have a weighted mean or a bilateral filter to be used in step Dl meaning that the weight of adjacent pixel of the current block is higher than the weight of the second pixel found. [0174] After the steps A to D are completed, all pixels in the current 2D grid are occupied.

[0175] In the case that one block in the 2D grid is completely filled with un-occupied pixels, one pixel on the top-left of the block will be filled from surrounding occupied pixels in other adjacent blocks with any of the selected functions. Following this, similar steps with criteria A to D will be applied to the block. If none of the surrounding pixels in adjacent blocks are occupied, the closest occupied pixel will be considered for the process in step Dl.

[0176] The above embodiments may be implemented, for example, in an apparatus configured to carry out the compression process according to Figure 8a. Such an apparatus may comprise an input unit configured to input a point cloud frame in an encoder; a projecting unit configured to project a 3D scene to at least one projection plane, where at least two patches from at least one object in the scene is created; an allocation unit configured to allocate the at least two patches to a 2D grid; a partitioning unit configured to partition the 2D patch into blocks of a predetermined size along a predetermined block grid; and for processing any block of the predetermined size, the apparatus may comprise at least one determination unit configured to: determine a first list of unoccupied pixels having all neighboring pixels as occupied; determine values of the unoccupied pixels in the first list according to a first predetermined function; determine a second and any subsequent list of unoccupied pixels having one and subsequently a number added by one neighboring pixels as unoccupied; determine values of the unoccupied pixels in the second list according to a second predetermined function and values of the unoccupied pixels in any subsequent list according to a subsequent predetermined function.

[0177] In the above, some embodiments have been described with reference to encoding. It needs to be understood that said encoding may comprise one or more of the following: encoding source image data into a bitstream, encapsulating the encoded bitstream in a container file and/or in packet(s) or stream(s) of a communication protocol, and announcing or describing the bitstream in a content description, such as the Media Presentation Description (MPD) of ISO/IEC 23009-1 (known as MPEG-DASH) or the IETF Session Description Protocol (SDP). Similarly, some embodiments have been described with reference to decoding. It needs to be understood that said decoding may comprise one or more of the following: decoding image data from a bitstream,

decapsulating the bitstream from a container file and/or from packet(s) or stream(s) of a communication protocol, and parsing a content description of the bitstream.

[0178] In the above, some embodiments have been described with reference to encoding or decoding texture pictures, geometry pictures, projection geometry information, and (optionally) attribute pictures into or from a single bitstream. It needs to be understood that embodiments can be similarly realized when encoding or decoding texture pictures, geometry pictures, projection geometry information, and (optionally) attribute pictures into or from several bitstreams that are associated with each other, e.g. by metadata in a container file or media presentation description for streaming.

[0179] In general, the various embodiments of the invention may be implemented in hardware or special purpose circuits or any combination thereof. While various aspects of the invention may be illustrated and described as block diagrams or using some other pictorial representation, it is well understood that these blocks, apparatus, systems, techniques or methods described herein may be implemented in, as non-limiting examples, hardware, software, firmware, special purpose circuits or logic, general purpose hardware or controller or other computing devices, or some combination thereof.

[0180] Embodiments of the inventions may be practiced in various components such as integrated circuit modules. The design of integrated circuits is by and large a highly automated process. Complex and powerful software tools are available for converting a logic level design into a semiconductor circuit design ready to be etched and formed on a semiconductor substrate.

[0181] Programs, such as those provided by Synopsys, Inc. of Mountain View,

California and Cadence Design, of San Jose, California automatically route conductors and locate components on a semiconductor chip using well established rules of design as well as libraries of pre stored design modules. Once the design for a semiconductor circuit has been completed, the resultant design, in a standardized electronic format (e.g., Opus, GDSII, or the like) may be transmitted to a semiconductor fabrication facility or "fab" for fabrication.

[0182] The foregoing description has provided by way of exemplary and non- limiting examples a full and informative description of the exemplary embodiment of this invention. However, various modifications and adaptations may become apparent to those skilled in the relevant arts in view of the foregoing description, when read in conjunction with the accompanying drawings and the appended claims. However, all such and similar modifications of the teachings of this invention will still fall within the scope of this invention.