Flexible viewpoint access-oriented light field image scalable coding method
By dividing the viewpoint array of the light field image into multiple layers and using viewpoint synthesis technology, the problem of insufficient viewpoint scalability and random access in the existing technology is solved, flexible viewpoint access and quality control are achieved, and coding efficiency and randomness are improved. Access performance.
Patent Information
- Application Number
- CN202410707606.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-09-13
AI Technical Summary
Existing light field image coding methods have shortcomings in viewpoint scalability, viewpoint random access, and quality scalability, making it difficult to meet flexible viewpoint access and different quality requirements.
Divide the viewpoint array of the light field image into four viewpoint layers, perform standard video encoding respectively, and use viewpoint synthesis technology to generate synthetic viewpoints, support flexible transmission and decoding of different viewpoint layers, and adapt to different angle resolution and quality requirements.
It achieves good coding efficiency and view access flexibility, supports different numbers of view transmission and quality control, and improves view random access performance.
Smart Images

Figure CN118646889A
Abstract
Description
Technical Field
[0001] The invention relates to a light field image coding method, in particular to a light field image scalable coding method oriented to flexible viewpoint access. Background Art
[0002] As an emerging imaging technology, light field imaging can simultaneously record the intensity and direction of light, and is one of the important technologies for realizing immersive media. Special data structures can support many novel post-processing of light field images, such as refocusing, target detection, autonomous robot vision, etc. However, the rich scene information also brings a huge amount of data, so light field images need to be effectively compressed and encoded.
[0003] Existing light field image coding methods can be divided into two categories:
[0004] The first category is the coding method based on the traditional encoder. Among this type of method, the most common is the light field image coding method based on the pseudo video sequence, which represents the light field image as a sub-aperture image (SAI) array, and then regards the SAI as a video frame, arranges it into a pseudo video sequence in a certain order, and then uses the existing video encoder to compress and encode the pseudo video sequence. In addition, some scholars have improved the traditional encoder, such as adding a prediction method that is more in line with the light field image structure to the existing video encoder to improve the coding performance.
[0005] The second type is based on viewpoint synthesis. Before encoding, this type of method first represents the light field image as a sub-aperture image (SAI) array, performs sparse sampling on the viewpoint (SAI) array, selects only some viewpoints for compression encoding, and uses a reconstruction algorithm on the decoder to reconstruct the complete viewpoint array. This type of method can effectively reduce the amount of data that needs to be compressed through sparse sampling operations, and combined with efficient reconstruction on the decoder side, it can further improve encoding performance.
[0006] Although existing light field image coding methods have achieved certain light field image compression effects, they are still insufficient in scalability. In particular, there is still room for improvement in viewpoint scalability, viewpoint random access and quality scalability. Summary of the invention
[0007] The technical problem to be solved by the present invention is to provide a scalable coding method for light field images oriented to flexible viewpoint access, which can provide scalability while maintaining good coding efficiency.
[0008] The technical solution adopted by the present invention to solve the above technical problems is: a scalable coding method for light field images oriented to flexible viewpoint access, characterized by comprising the following steps:
[0009] Step 1: For any light field image, set the size of the SAI array, i.e., the viewpoint array, used to represent the light field image to 9×9, and divide the viewpoint array into four viewpoint layers. The first viewpoint layer contains 1 viewpoint with an angle coordinate of (5,5); the second viewpoint layer contains 8 viewpoints with angle coordinates of (1,1), (1,5), (1,9), (5,1), (5,9), (9,1), (9,5), (9,9); the third viewpoint layer contains 16 viewpoints. , the angular coordinates are (1,3), (1,7), (3,1), (3,3), (3,5), (3,7), (3,9), (5,3), (5,7), (7,1), (7,3), (7,5), (7,7), (7,9), (9,3), (9,7); the fourth viewpoint layer contains a total of 56 viewpoints, and the angular coordinates are (1,2), (1,4), (1,6), (1,8), (2,1), (2,2), (2,3), (2,4), (2,5), (2,6), (2,7), (2,8), (2,9), (3,2), (3,4), (3,6), (3,8), (4,1), (4,2), (4,3), (4,4), (4,5), (4,6), (4,7), (4,8), (4,9), (5,2), (5,4), (5,6), (5,8), (6,1), (6,2), (6,3), (6,4), (6,5) , (6,6), (6,7), (6,8), (6,9), (7,2), (7,4), (7,6), (7,8), (8,1), (8,2), (8,3), (8,4), (8,5), (8,6), (8,7), (8,8), (8,9), (9,2), (9,4), (9,6), (9,8); where the angular coordinate (u,v) represents the position of the u-th row and v-th column in the viewpoint array, 1≤u≤9, 1≤v≤9;
[0010] Step 2: At the encoding end, for the first viewpoint layer, the viewpoints in the first viewpoint layer are input as intra-frame coding frames into a standard video encoder for compression coding;
[0011] Step 3: At the encoding end, for the second viewpoint layer, each viewpoint in the second viewpoint layer is input as an inter-frame coding frame into a standard video encoder for compression coding, wherein, during compression coding, the reference frames in the reference image list of each viewpoint in the second viewpoint layer only have the viewpoints in the first viewpoint layer;
[0012] Step 4: At the encoding end, for the third viewpoint layer, each viewpoint in the third viewpoint layer is input as an inter-frame coding frame into a standard video encoder for compression coding, wherein, during compression coding, the reference frames in the reference image list of each viewpoint in the third viewpoint layer have 3 or 4 reference frames, and the reference frames in the reference image list of any viewpoint in the third viewpoint layer are as follows:
[0013] Step 4.1: 2 reference frames come from the coded viewpoints in the first two viewpoint layers;
[0014] Step 4.2: One reference frame is a synthetic viewpoint generated by using the viewpoint synthesis technology based on the two reference frames in step 4.1;
[0015] Step 4.3: If one of the two reference frames in step 4.1 is a viewpoint that has been encoded in the first viewpoint layer, no more reference frames are added; if none of the two reference frames in step 4.1 is a viewpoint that has been encoded in the first viewpoint layer, the viewpoint that has been encoded in the first viewpoint layer is used as the fourth reference frame;
[0016] Step 5: At the encoding end, for the fourth viewpoint layer, each viewpoint in the fourth viewpoint layer is input as an inter-frame coding frame into a standard video encoder for compression coding, wherein, during compression coding, the reference frames in the reference image list of each viewpoint in the fourth viewpoint layer have 3 or 4 reference frames, and the reference frames in the reference image list of any viewpoint in the fourth viewpoint layer are as follows:
[0017] Step 5.1: 2 reference frames come from the coded viewpoints in the first three viewpoint layers;
[0018] Step 5.2: one reference frame is a synthetic viewpoint generated by using the viewpoint synthesis technology based on the two reference frames in step 5.1; wherein the viewpoint synthesis technology used is required to be consistent with the viewpoint synthesis technology used in step 4.2;
[0019] Step 5.3: If one of the two reference frames in step 5.1 is a viewpoint that has been encoded in the first viewpoint layer, no more reference frames are added; if none of the two reference frames in step 5.1 is a viewpoint that has been encoded in the first viewpoint layer, the viewpoint that has been encoded in the first viewpoint layer is used as the fourth reference frame;
[0020] Step 6: At the decoding end, a standard video encoder is used to decode all viewpoints in the four viewpoint layers, and the final decoded light field image is used as the enhanced quality decoded light field image.
[0021] The two reference frames in step 4.1 are determined according to the angular coordinates of the current viewpoint to be encoded, and the corresponding relationship is as follows: when the angular coordinates of the current viewpoint to be encoded are (1,3), the two reference frames are the encoded viewpoints with angular coordinates of (1,1) and (1,5) respectively; when the angular coordinates of the current viewpoint to be encoded are (1,7), the two reference frames are the encoded viewpoints with angular coordinates of (1,5) and (1,9) respectively; when the angular coordinates of the current viewpoint to be encoded are (3,1), the two reference frames are the encoded viewpoints with angular coordinates of (1,1) and (5,1) respectively; when the angular coordinates of the current viewpoint to be encoded are (3,3), the two reference frames are the encoded viewpoints with angular coordinates of (1,1) and (5,1) respectively. The reference frames are the coded viewpoints with angular coordinates of (1,1) and (5,5) respectively; when the angular coordinate of the current viewpoint to be coded is (3,5), the two reference frames are the coded viewpoints with angular coordinates of (1,5) and (5,5) respectively; when the angular coordinate of the current viewpoint to be coded is (3,7), the two reference frames are the coded viewpoints with angular coordinates of (1,9) and (5,5) respectively; when the angular coordinate of the current viewpoint to be coded is (3,9), the two reference frames are the coded viewpoints with angular coordinates of (1,9) and (5,9) respectively; when the angular coordinate of the current viewpoint to be coded is (5,3), the two reference frames are the coded viewpoints with angular coordinates The angular coordinates of the current viewpoint to be encoded are (5,1) and (5,5), which are already encoded viewpoints; when the angular coordinates of the current viewpoint to be encoded are (5,7), the two reference frames are the coded viewpoints with angular coordinates of (5,5) and (5,9), respectively; when the angular coordinates of the current viewpoint to be encoded are (7,1), the two reference frames are the coded viewpoints with angular coordinates of (5,1) and (9,1), respectively; when the angular coordinates of the current viewpoint to be encoded are (7,3), the two reference frames are the coded viewpoints with angular coordinates of (5,5) and (9,1), respectively; when the angular coordinates of the current viewpoint to be encoded are (7,5), the two reference frames are the coded viewpoints with angular coordinates of (5,5) and (9, 5); when the angular coordinates of the current viewpoint to be encoded are (7,7), the two reference frames are the encoded viewpoints with angular coordinates of (5,5) and (9,9); when the angular coordinates of the current viewpoint to be encoded are (7,9), the two reference frames are the encoded viewpoints with angular coordinates of (5,9) and (9,9); when the angular coordinates of the current viewpoint to be encoded are (9,3), the two reference frames are the encoded viewpoints with angular coordinates of (9,1) and (9,5); when the angular coordinates of the current viewpoint to be encoded are (9,7), the two reference frames are the encoded viewpoints with angular coordinates of (9,5) and (9,9).
[0022] The two reference frames in step 5.1 are determined according to the angular coordinates of the current viewpoint to be encoded, and the corresponding relationship is as follows: when the angular coordinates of the current viewpoint to be encoded are (n, 2), the two reference frames are the encoded viewpoints with angular coordinates of (n, 1) and (n, 3) respectively; when the angular coordinates of the current viewpoint to be encoded are (n, 4), the two reference frames are the encoded viewpoints with angular coordinates of (n, 3) and (n, 5) respectively; when the angular coordinates of the current viewpoint to be encoded are (n, 6), the two reference frames are the encoded viewpoints with angular coordinates of (n, 5) and (n, 7) respectively; when the angular coordinates of the current viewpoint to be encoded are (n, 8), the two reference frames are the encoded viewpoints with angular coordinates of (n, 7) and (n, 9) respectively; wherein the value of n is 1, 3, 5, 7, 9;
[0023] When the angle coordinate of the viewpoint to be encoded is (2, m), the two reference frames are the encoded viewpoints with angle coordinates of (1, m) and (3, m); when the angle coordinate of the viewpoint to be encoded is (4, m), the two reference frames are the encoded viewpoints with angle coordinates of (3, m) and (5, m); when the angle coordinate of the viewpoint to be encoded is (6, m), the two reference frames are the encoded viewpoints with angle coordinates of (5, m) and (7, m); when the angle coordinate of the viewpoint to be encoded is (8, m), the two reference frames are the encoded viewpoints with angle coordinates of (7, m) and (9, m); wherein the value of m is 1, 3, 5, 7, 9;
[0024] When the angle coordinate of the viewpoint to be encoded is (2,2), the two reference frames are the encoded viewpoints with angle coordinates of (1,1) and (3,3); when the angle coordinate of the viewpoint to be encoded is (2,4), the two reference frames are the encoded viewpoints with angle coordinates of (1,3) and (3,5); when the angle coordinate of the viewpoint to be encoded is (2,6), the two reference frames are the encoded viewpoints with angle coordinates of (1,7) and (3,5); when the angle coordinate of the viewpoint to be encoded is (2,8), the two reference frames are the encoded viewpoints with angle coordinates of (1,9) and (3,7); When the angle coordinate of the current viewpoint to be encoded is (4,2), the two reference frames are the encoded viewpoints with angle coordinates of (3,1) and (5,3); when the angle coordinate of the current viewpoint to be encoded is (4,4), the two reference frames are the encoded viewpoints with angle coordinates of (3,3) and (5,5); when the angle coordinate of the current viewpoint to be encoded is (4,6), the two reference frames are the encoded viewpoints with angle coordinates of (3,7) and (5,5); when the angle coordinate of the current viewpoint to be encoded is (4,8), the two reference frames are the encoded viewpoints with angle coordinates of (3,9) and (5,7); When the angle coordinate of the current viewpoint to be encoded is (6,2), the two reference frames are the encoded viewpoints with angle coordinates of (5,3) and (7,1); when the angle coordinate of the current viewpoint to be encoded is (6,4), the two reference frames are the encoded viewpoints with angle coordinates of (5,5) and (7,3); when the angle coordinate of the current viewpoint to be encoded is (6,6), the two reference frames are the encoded viewpoints with angle coordinates of (5,5) and (7,7); when the angle coordinate of the current viewpoint to be encoded is (6,8), the two reference frames are the encoded viewpoints with angle coordinates of (5,7) and (7,9); When the angular coordinates of the current viewpoint to be encoded are (8,2), the two reference frames are the encoded viewpoints with angular coordinates of (7,3) and (9,1); when the angular coordinates of the current viewpoint to be encoded are (8,4), the two reference frames are the encoded viewpoints with angular coordinates of (7,5) and (9,3); when the angular coordinates of the current viewpoint to be encoded are (8,6), the two reference frames are the encoded viewpoints with angular coordinates of (7,5) and (9,7); when the angular coordinates of the current viewpoint to be encoded are (8,8), the two reference frames are the encoded viewpoints with angular coordinates of (7,7) and (9,9).
[0025] The viewpoint synthesis technology is a video interpolation network or a classic interpolation algorithm.
[0026] A scalable coding method for light field images for flexible viewpoint access, characterized by comprising the following steps:
[0027] Step S1: For any light field image, the size of the SAI array, i.e., the viewpoint array, used to represent the light field image is set to 9×9, and the viewpoint array is divided into four viewpoint layers. The first viewpoint layer contains 1 viewpoint with an angular coordinate of (5,5); the second viewpoint layer contains 8 viewpoints with angular coordinates of (1,1), (1,5), (1,9), (5,1), (5,9), (9,1), (9,5), (9,9); the third viewpoint layer contains 16 viewpoints. The angular coordinates of the points are (1,3), (1,7), (3,1), (3,3), (3,5), (3,7), (3,9), (5,3), (5,7), (7,1), (7,3), (7,5), (7,7), (7,9), (9,3), (9,7); the fourth viewpoint layer contains a total of 56 viewpoints, and the angular coordinates are (1,2), (1,4), (1,6), (1,8), (2,1), (2,2), (2,3) 、(2,4)、(2,5)、(2,6)、(2,7)、(2,8)、(2,9)、(3,2)、(3,4)、(3,6)、(3,8)、(4,1)、(4,2)、(4,3)、(4,4)、(4,5)、(4,6)、(4,7)、(4,8)、(4,9)、(5,2)、(5,4)、(5,6)、(5,8)、(6,1)、(6,2)、(6,3)、(6,4)、(6,5) , (6,6), (6,7), (6,8), (6,9), (7,2), (7,4), (7,6), (7,8), (8,1), (8,2), (8,3), (8,4), (8,5), (8,6), (8,7), (8,8), (8,9), (9,2), (9,4), (9,6), (9,8); where the angular coordinate (u,v) represents the position of the u-th row and v-th column in the viewpoint array, 1≤u≤9, 1≤v≤9;
[0028] Step S2: at the encoding end, for the first viewpoint layer, the viewpoints in the first viewpoint layer are input as intra-frame coding frames into a standard video encoder for compression coding;
[0029] Step S3: at the encoding end, for the second viewpoint layer, each viewpoint in the second viewpoint layer is input as an inter-frame coding frame into a standard video encoder for compression coding, wherein during compression coding, the reference frames in the reference image list of each viewpoint in the second viewpoint layer only include the viewpoints in the first viewpoint layer;
[0030] Step S4: at the decoding end, a standard video encoder is used to decode all viewpoints in the first viewpoint layer and the second viewpoint layer; then, for each viewpoint in the third viewpoint layer, a viewpoint synthesis technique is used to generate the viewpoints according to two decoded viewpoints from the first two viewpoint layers; and then, for each viewpoint in the fourth viewpoint layer, a viewpoint synthesis technique is used to generate the viewpoints according to two decoded viewpoints from the first three viewpoint layers; and the decoded and synthesized light field image finally obtained is used as the basic quality decoded light field image.
[0031] In step S4, for each viewpoint in the third viewpoint layer, the angular coordinates of the viewpoint generated when the viewpoint synthesis technology is used are determined by the angular coordinates of the two decoded viewpoints from the first two viewpoint layers, and the corresponding relationship is as follows: when the angular coordinates of the two decoded viewpoints are (1,1) and (1,5) respectively, the angular coordinates of the generated viewpoint are (1,3); when the angular coordinates of the two decoded viewpoints are (1,5) and (1,9) respectively, the angular coordinates of the generated viewpoint are (1,7); when the angular coordinates of the two decoded viewpoints are (1,1) and (5,1) respectively, the angular coordinates of the generated viewpoint are (1,1) and (5,1) respectively. The angular coordinates of the generated viewpoint are (3,1); when the angular coordinates of the two decoded viewpoints are (1,1) and (5,5), the angular coordinates of the generated viewpoint are (3,3); when the angular coordinates of the two decoded viewpoints are (1,5) and (5,5), the angular coordinates of the generated viewpoint are (3,5); when the angular coordinates of the two decoded viewpoints are (1,9) and (5,5), the angular coordinates of the generated viewpoint are (3,7); when the angular coordinates of the two decoded viewpoints are (1,9) and (5,9), the angular coordinates of the generated viewpoint are (3,9); When the angle coordinates of the two decoded viewpoints are (5,1) and (5,5), the angle coordinates of the generated viewpoint are (5,3); when the angle coordinates of the two decoded viewpoints are (5,5) and (5,9), the angle coordinates of the generated viewpoint are (5,7); when the angle coordinates of the two decoded viewpoints are (5,1) and (9,1), the angle coordinates of the generated viewpoint are (7,1); when the angle coordinates of the two decoded viewpoints are (5,5) and (9,1), the angle coordinates of the generated viewpoint are (7,3); when the angle coordinates of the two decoded viewpoints are (5,5) and (9,5 ), the angular coordinates of the generated viewpoint are (7,5); when the angular coordinates of the two decoded viewpoints are (5,5) and (9,9), the angular coordinates of the generated viewpoint are (7,7); when the angular coordinates of the two decoded viewpoints are (5,9) and (9,9), the angular coordinates of the generated viewpoint are (7,9); when the angular coordinates of the two decoded viewpoints are (9,1) and (9,5), the angular coordinates of the generated viewpoint are (9,3); when the angular coordinates of the two decoded viewpoints are (9,5) and (9,9), the angular coordinates of the generated viewpoint are (9,7).
[0032] In step S4, for each viewpoint in the fourth viewpoint layer, the angle coordinate of the viewpoint generated by the viewpoint synthesis technology is determined by the angle coordinates of two decoded viewpoints from the first three viewpoint layers, and the corresponding relationship is as follows:
[0033] When the angular coordinates of the two decoded viewpoints are (n, 1) and (n, 3) respectively, the angular coordinates of the generated viewpoint are (n, 2); when the angular coordinates of the two decoded viewpoints are (n, 3) and (n, 5) respectively, the angular coordinates of the generated viewpoint are (n, 4); when the angular coordinates of the two decoded viewpoints are (n, 5) and (n, 7) respectively, the angular coordinates of the generated viewpoint are (n, 6); when the angular coordinates of the two decoded viewpoints are (n, 7) and (n, 9) respectively, the angular coordinates of the generated viewpoint are (n, 8); where the value of n is 1, 3, 5, 7, 9;
[0034] When the angular coordinates of the two decoded viewpoints are (1,m) and (3,m), the angular coordinates of the generated viewpoints are
[0035] (2,m); when the angular coordinates of the two decoded viewpoints are (3,m) and (5,m), the angular coordinates of the generated viewpoint are (4,m); when the angular coordinates of the two decoded viewpoints are (5,m) and (7,m), the angular coordinates of the generated viewpoint are (6,m); when the angular coordinates of the two decoded viewpoints are (7,m) and (9,m), the angular coordinates of the generated viewpoint are (8,m); where the value of m is 1, 3, 5, 7, 9;
[0036] When the angular coordinates of the two decoded viewpoints are (1,1) and (3,3) respectively, the angular coordinates of the generated viewpoint are (2,2); when the angular coordinates of the two decoded viewpoints are (1,3) and (3,5) respectively, the angular coordinates of the generated viewpoint are (2,4); when the angular coordinates of the two decoded viewpoints are (1,7) and (3,5) respectively, the angular coordinates of the generated viewpoint are (2,6); when the angular coordinates of the two decoded viewpoints are (1,9) and (3,7) respectively, the angular coordinates of the generated viewpoint are (2,8); When the angular coordinates of the two decoded viewpoints are (3,1) and (5,3), the angular coordinates of the generated viewpoint are (4,2); when the angular coordinates of the two decoded viewpoints are (3,3) and (5,5), the angular coordinates of the generated viewpoint are (4,4); when the angular coordinates of the two decoded viewpoints are (3,7) and (5,5), the angular coordinates of the generated viewpoint are (4,6); when the angular coordinates of the two decoded viewpoints are (3,9) and (5,7), the angular coordinates of the generated viewpoint are (4,8); When the angular coordinates of the two decoded viewpoints are (5,3) and (7,1) respectively, the angular coordinates of the generated viewpoint are (6,2); when the angular coordinates of the two decoded viewpoints are (5,5) and (7,3) respectively, the angular coordinates of the generated viewpoint are (6,4); when the angular coordinates of the two decoded viewpoints are (5,5) and (7,7) respectively, the angular coordinates of the generated viewpoint are (6,6); when the angular coordinates of the two decoded viewpoints are (5,7) and (7,9) respectively, the angular coordinates of the generated viewpoint are (6,8); When the angular coordinates of the two decoded viewpoints are (7,3) and (9,1) respectively, the angular coordinates of the generated viewpoint are (8,2); when the angular coordinates of the two decoded viewpoints are (7,5) and (9,3) respectively, the angular coordinates of the generated viewpoint are (8,4); when the angular coordinates of the two decoded viewpoints are (7,5) and (9,7) respectively, the angular coordinates of the generated viewpoint are (8,6); when the angular coordinates of the two decoded viewpoints are (7,7) and (9,9) respectively, the angular coordinates of the generated viewpoint are (8,8).
[0037] The viewpoint synthesis technology is a video interpolation network or a classic interpolation algorithm.
[0038] Compared with the prior art, the advantages of the present invention are:
[0039] The method of the present invention takes into account the different resolution requirements of the viewpoint array at the decoding end, and divides the viewpoint array (i.e., the sub-aperture image array) used to represent the light field image into four viewpoint layers. Users can flexibly transmit different viewpoint layers according to their needs. For example, users who only need decoded light field images with an angular resolution of 1×1, 3×3 or 5×5 no longer need to transmit all viewpoints, and can transmit only the first layer, the first two layers, or the first three layers of viewpoint layers respectively.
[0040] The method of the present invention takes into account the demand for random access of viewpoints, constructs different reference image lists for different viewpoints, improves the flexibility of random access of viewpoints, and adds additional synthetic viewpoints to the reference image lists of some viewpoints to improve encoding efficiency.
[0041] The method of the present invention takes into account the quality scalability requirements and supports the transmission of two qualities. When the bandwidth is limited or only the decoded light field image of the basic quality is needed, only the first two viewpoint layers can be transmitted, and the decoding end uses the viewpoint synthesis technology to synthesize the remaining viewpoints; when the bandwidth is sufficient or the decoded light field image of enhanced quality is needed, all viewpoint layers can be encoded and transmitted.
[0042] Experimental results show that the method of the present invention can support users to flexibly access viewpoints while maintaining good coding efficiency, such as transmitting different numbers of viewpoints, consuming different bit rates to transmit light field images of different qualities, and flexibly accessing viewpoints at different locations. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1a It is a flowchart of the overall implementation of the method of the present invention when transmitting with enhanced quality;
[0044] Figure 1b It is a flowchart of the overall implementation of the method of the present invention when transmitting with basic quality;
[0045] Figure 2a Schematic diagram of the positions of viewpoints (shown in gray) included in the first viewpoint layer in the sub-aperture image array, i.e., the viewpoint array;
[0046] Figure 2b is a schematic diagram of the positions of the viewpoints (shown in gray) included in the second viewpoint layer in the sub-aperture image array, i.e., the viewpoint array;
[0047] Figure 2c is a schematic diagram of the positions of the viewpoints (shown in gray) included in the third viewpoint layer in the sub-aperture image array, i.e., the viewpoint array;
[0048] Figure 2d Schematic diagram of the positions of viewpoints (shown in gray) included in the fourth viewpoint layer in the sub-aperture image array, i.e., the viewpoint array. DETAILED DESCRIPTION
[0049] The present invention is further described in detail below with reference to the accompanying drawings.
[0050] Embodiment 1:
[0051] This embodiment proposes a scalable coding method for light field images oriented to flexible viewpoint access, and its overall implementation flow chart is as follows: Figure 1a As shown, it includes the following steps:
[0052] Step 1: For any light field image L org , the size of the SAI array, i.e., the viewpoint array, used to represent the light field image is set to 9×9, and the viewpoint array is divided into four viewpoint layers. The first viewpoint layer contains 1 viewpoint with an angle coordinate of (5,5); the second viewpoint layer contains 8 viewpoints with angle coordinates of (1,1), (1,5), (1,9), (5,1), (5,9), (9,1), (9,5), (9,9); the third viewpoint layer contains 16 viewpoints with angle coordinates of (1, 3), (1,7), (3,1), (3,3), (3,5), (3,7), (3,9), (5,3), (5,7), (7,1), (7,3), (7,5), (7,7), (7,9), (9,3), (9,7); the fourth viewpoint layer contains 56 viewpoints, and their angular coordinates are (1,2), (1,4), (1,6), (1,8), (2,1), (2,2), (2,3), (2,4), ( 2,5), (2,6), (2,7), (2,8), (2,9), (3,2), (3,4), (3,6), (3,8), (4,1), (4,2), (4,3), (4,4), (4,5), (4,6), (4,7), (4,8), (4,9), (5,2), (5,4), (5,6), (5,8), (6,1), (6,2), (6,3), (6,4), (6,5), (6, 6), (6,7), (6,8), (6,9), (7,2), (7,4), (7,6), (7,8), (8,1), (8,2), (8,3), (8,4), (8,5), (8,6), (8,7), (8,8), (8,9), (9,2), (9,4), (9,6), (9,8); where the angular coordinate (u,v) represents the position of the u-th row and v-th column in the viewpoint array, 1≤u≤9, 1≤v≤9.
[0053] Figure 2a The figure shows the positions of the viewpoints (shown in gray) contained in the first viewpoint layer in the sub-aperture image array. Figure 2b The figure shows the positions of the viewpoints (shown in gray) contained in the second viewpoint layer in the sub-aperture image array. Figure 2c The figure shows the positions of the viewpoints (shown in gray) contained in the third viewpoint layer in the sub-aperture image array. Figure 2d The positions of the viewpoints (shown in gray) contained in the fourth viewpoint layer in the sub-aperture image array are shown.
[0054] Step 2: At the encoding end, for the first viewpoint layer, the viewpoints in the first viewpoint layer are input as intra-coded frames into a standard video encoder for compression encoding.
[0055] In this implementation case, the standard video encoder used is the HEVC official encoder, which has two types of encoding: intra-frame encoding and inter-frame encoding.
[0056] Step 3: At the encoding end, for the second viewpoint layer, each viewpoint in the second viewpoint layer is input as an inter-frame coded frame into the standard video encoder for compression encoding, wherein, during compression encoding, the reference frames in the reference image list of each viewpoint in the second viewpoint layer only include the viewpoints in the first viewpoint layer.
[0057] Step 4: At the encoding end, for the third viewpoint layer, each viewpoint in the third viewpoint layer is input as an inter-frame coding frame into a standard video encoder for compression coding, wherein, during compression coding, the reference frames in the reference image list of each viewpoint in the third viewpoint layer have 3 or 4 reference frames, and the reference frames in the reference image list of any viewpoint in the third viewpoint layer are as follows:
[0058] Step 4.1: The two reference frames come from the coded views in the first two view layers.
[0059] In this embodiment, the two reference frames in step 4.1 are determined according to the angular coordinates of the current viewpoint to be encoded, and the corresponding relationship is as follows: when the angular coordinates of the current viewpoint to be encoded are (1,3), the two reference frames are the encoded viewpoints with angular coordinates of (1,1) and (1,5) respectively; when the angular coordinates of the current viewpoint to be encoded are (1,7), the two reference frames are the encoded viewpoints with angular coordinates of (1,5) and (1,9) respectively; when the angular coordinates of the current viewpoint to be encoded are (3,1), the two reference frames are the encoded viewpoints with angular coordinates of (1,1) and (5,1) respectively; the angular coordinates of the current viewpoint to be encoded are (3,3) When the angular coordinates of the current viewpoint to be encoded are (3,5), the two reference frames are the coded viewpoints with angular coordinates of (1,5) and (5,5); when the angular coordinates of the current viewpoint to be encoded are (3,7), the two reference frames are the coded viewpoints with angular coordinates of (1,9) and (5,5); when the angular coordinates of the current viewpoint to be encoded are (3,9), the two reference frames are the coded viewpoints with angular coordinates of (1,9) and (5,9); when the angular coordinates of the current viewpoint to be encoded are (5,3), the two reference frames are the coded viewpoints with angular coordinates of (1,5) and (5,5). The angular coordinates of the current viewpoint to be encoded are (5,1) and (5,5) which have been encoded; when the angular coordinates of the current viewpoint to be encoded are (5,7), the two reference frames are the coded viewpoints with angular coordinates of (5,5) and (5,9) respectively; when the angular coordinates of the current viewpoint to be encoded are (7,1), the two reference frames are the coded viewpoints with angular coordinates of (5,1) and (9,1) respectively; when the angular coordinates of the current viewpoint to be encoded are (7,3), the two reference frames are the coded viewpoints with angular coordinates of (5,5) and (9,1) respectively; when the angular coordinates of the current viewpoint to be encoded are (7,5), the two reference frames are the coded viewpoints with angular coordinates of (5,5) and (9,1) respectively. 9,5); when the angular coordinates of the current viewpoint to be encoded are (7,7), the two reference frames are the coded viewpoints with angular coordinates of (5,5) and (9,9); when the angular coordinates of the current viewpoint to be encoded are (7,9), the two reference frames are the coded viewpoints with angular coordinates of (5,9) and (9,9); when the angular coordinates of the current viewpoint to be encoded are (9,3), the two reference frames are the coded viewpoints with angular coordinates of (9,1) and (9,5); when the angular coordinates of the current viewpoint to be encoded are (9,7), the two reference frames are the coded viewpoints with angular coordinates of (9,5) and (9,9).
[0060] Step 4.2: One reference frame is a synthetic viewpoint generated based on the two reference frames in step 4.1 and using the existing viewpoint synthesis technology.
[0061] In this embodiment, the viewpoint synthesis technology is an existing video interpolation network or an existing classic interpolation algorithm.
[0062] Step 4.3: If one of the two reference frames in step 4.1 is a viewpoint that has been encoded in the first viewpoint layer, no further reference frames are added; if none of the two reference frames in step 4.1 is a viewpoint that has been encoded in the first viewpoint layer, the viewpoint that has been encoded in the first viewpoint layer is used as the fourth reference frame.
[0063] Step 5: At the encoding end, for the fourth viewpoint layer, each viewpoint in the fourth viewpoint layer is input as an inter-frame coding frame into a standard video encoder for compression coding, wherein, during compression coding, the reference frames in the reference image list of each viewpoint in the fourth viewpoint layer have 3 or 4 reference frames, and the reference frames in the reference image list of any viewpoint in the fourth viewpoint layer are as follows:
[0064] Step 5.1: Two reference frames come from the coded views in the first three view layers.
[0065] In this embodiment, the two reference frames in step 5.1 are determined according to the angular coordinates of the current viewpoint to be encoded, and the corresponding relationship is as follows: when the angular coordinates of the current viewpoint to be encoded are (n, 2), the two reference frames are the encoded viewpoints with angular coordinates of (n, 1) and (n, 3); when the angular coordinates of the current viewpoint to be encoded are (n, 4), the two reference frames are the encoded viewpoints with angular coordinates of (n, 3) and (n, 5); when the angular coordinates of the current viewpoint to be encoded are (n, 6), the two reference frames are the encoded viewpoints with angular coordinates of (n, 5) and (n, 7); when the angular coordinates of the current viewpoint to be encoded are (n, 8), the two reference frames are the encoded viewpoints with angular coordinates of (n, 7) and (n, 8). n,9) of the coded viewpoints, where n is 1, 3, 5, 7, 9; when the angular coordinate of the current viewpoint to be coded is (2,m), the two reference frames are the coded viewpoints with angular coordinates of (1,m) and (3,m); when the angular coordinate of the current viewpoint to be coded is (4,m), the two reference frames are the coded viewpoints with angular coordinates of (3,m) and (5,m); when the angular coordinate of the current viewpoint to be coded is (6,m), the two reference frames are the coded viewpoints with angular coordinates of (5,m) and (7,m); when the angular coordinate of the current viewpoint to be coded is (8,m), the two reference frames are the coded viewpoints with angular coordinates of (7,m) and (9,m), where m The values are 1, 3, 5, 7, and 9; when the angle coordinate of the current viewpoint to be encoded is (2,2), the two reference frames are the encoded viewpoints with angle coordinates of (1,1) and (3,3); when the angle coordinate of the current viewpoint to be encoded is (2,4), the two reference frames are the encoded viewpoints with angle coordinates of (1,3) and (3,5); when the angle coordinate of the current viewpoint to be encoded is (2,6), the two reference frames are the encoded viewpoints with angle coordinates of (1,7) and (3,5); when the angle coordinate of the current viewpoint to be encoded is (2,8), the two reference frames are the encoded viewpoints with angle coordinates of (1,9) and (3,7); when the angle coordinate of the current viewpoint to be encoded is (4,2) , the two reference frames are the coded viewpoints with angle coordinates of (3,1) and (5,3); when the angle coordinate of the current viewpoint to be coded is (4,4), the two reference frames are the coded viewpoints with angle coordinates of (3,3) and (5,5); when the angle coordinate of the current viewpoint to be coded is (4,6), the two reference frames are the coded viewpoints with angle coordinates of (3,7) and (5,5); when the angle coordinate of the current viewpoint to be coded is (4,8), the two reference frames are the coded viewpoints with angle coordinates of (3,9) and (5,7); when the angle coordinate of the current viewpoint to be coded is (6,2), the two reference frames are the coded viewpoints with angle coordinates of (5,3) and (7,1);When the angle coordinates of the current viewpoint to be encoded are (6,4), the two reference frames are the encoded viewpoints with angle coordinates of (5,5) and (7,3); when the angle coordinates of the current viewpoint to be encoded are (6,6), the two reference frames are the encoded viewpoints with angle coordinates of (5,5) and (7,7); when the angle coordinates of the current viewpoint to be encoded are (6,8), the two reference frames are the encoded viewpoints with angle coordinates of (5,7) and (7,9); when the angle coordinates of the current viewpoint to be encoded are (8,2), the two reference frames are The two reference frames are the coded viewpoints with angle coordinates of (7,3) and (9,1) respectively; when the angle coordinate of the current viewpoint to be coded is (8,4), the two reference frames are the coded viewpoints with angle coordinates of (7,5) and (9,3) respectively; when the angle coordinate of the current viewpoint to be coded is (8,6), the two reference frames are the coded viewpoints with angle coordinates of (7,5) and (9,7) respectively; when the angle coordinate of the current viewpoint to be coded is (8,8), the two reference frames are the coded viewpoints with angle coordinates of (7,7) and (9,9) respectively. ;
[0066] Step 5.2: One reference frame is a synthetic viewpoint generated based on the two reference frames in step 5.1 and using the existing viewpoint synthesis technology; wherein the viewpoint synthesis technology used is required to be consistent with the viewpoint synthesis technology used in step 4.2.
[0067] Step 5.3: If one of the two reference frames in step 5.1 is a viewpoint that has been encoded in the first viewpoint layer, no further reference frames are added; if none of the two reference frames in step 5.1 is a viewpoint that has been encoded in the first viewpoint layer, the viewpoint that has been encoded in the first viewpoint layer is used as the fourth reference frame.
[0068] Step 6: At the decoding end, a standard video encoder is used to decode all viewpoints in the four viewpoint layers, and the resulting decoded light field image is used as the enhanced quality decoded light field image L rec .
[0069] Embodiment 2:
[0070] This embodiment proposes a scalable coding method for light field images oriented to flexible viewpoint access, and its overall implementation flow chart is as follows: Figure 1b As shown, it includes the following steps:
[0071] Step S1: For any light field image L org, the size of the SAI array, i.e., the viewpoint array, used to represent the light field image is set to 9×9, and the viewpoint array is divided into four viewpoint layers. The first viewpoint layer contains 1 viewpoint with an angle coordinate of (5,5); the second viewpoint layer contains 8 viewpoints with angle coordinates of (1,1), (1,5), (1,9), (5,1), (5,9), (9,1), (9,5), (9,9); the third viewpoint layer contains 16 viewpoints with angle coordinates of (1, 3), (1,7), (3,1), (3,3), (3,5), (3,7), (3,9), (5,3), (5,7), (7,1), (7,3), (7,5), (7,7), (7,9), (9,3), (9,7); the fourth viewpoint layer contains 56 viewpoints, and their angular coordinates are (1,2), (1,4), (1,6), (1,8), (2,1), (2,2), (2,3), (2,4), ( 2,5), (2,6), (2,7), (2,8), (2,9), (3,2), (3,4), (3,6), (3,8), (4,1), (4,2), (4,3), (4,4), (4,5), (4,6), (4,7), (4,8), (4,9), (5,2), (5,4), (5,6), (5,8), (6,1), (6,2), (6,3), (6,4), (6,5), (6, 6), (6,7), (6,8), (6,9), (7,2), (7,4), (7,6), (7,8), (8,1), (8,2), (8,3), (8,4), (8,5), (8,6), (8,7), (8,8), (8,9), (9,2), (9,4), (9,6), (9,8); where the angular coordinate (u,v) represents the position of the u-th row and v-th column in the viewpoint array, 1≤u≤9, 1≤v≤9.
[0072] Step S2: At the encoding end, for the first viewpoint layer, the viewpoints in the first viewpoint layer are input as intra-coded frames into a standard video encoder for compression encoding.
[0073] Step S3: At the encoding end, for the second viewpoint layer, each viewpoint in the second viewpoint layer is input as an inter-frame coded frame into the standard video encoder for compression encoding, wherein, during compression encoding, the reference frames in the reference image list of each viewpoint in the second viewpoint layer only include the viewpoints in the first viewpoint layer.
[0074] Step S4: At the decoding end, a standard video encoder is used to decode all viewpoints in the first viewpoint layer and the second viewpoint layer; then, for each viewpoint in the third viewpoint layer, an existing viewpoint synthesis technology is used to generate the viewpoint; and for each viewpoint in the fourth viewpoint layer, an existing viewpoint synthesis technology is used to generate the viewpoint according to the two decoded viewpoints from the first three viewpoint layers; the decoded and synthesized light field image finally obtained is used as the basic quality decoded light field image L rec .
[0075] In this embodiment, in step S4, for each viewpoint in the third viewpoint layer, the angular coordinates of the viewpoint generated when the viewpoint synthesis technology is used are determined by the angular coordinates of the two decoded viewpoints from the first two viewpoint layers, and the corresponding relationship is as follows: when the angular coordinates of the two decoded viewpoints are (1,1) and (1,5) respectively, the angular coordinates of the generated viewpoint are (1,3); when the angular coordinates of the two decoded viewpoints are (1,5) and (1,9) respectively, the angular coordinates of the generated viewpoint are (1,7); when the angular coordinates of the two decoded viewpoints are (1,1) and (5,1) respectively, the angular coordinates of the generated viewpoint are (1,1) and (5,1) respectively. The angular coordinates of the generated viewpoint are (3,1); when the angular coordinates of the two decoded viewpoints are (1,1) and (5,5), the angular coordinates of the generated viewpoint are (3,3); when the angular coordinates of the two decoded viewpoints are (1,5) and (5,5), the angular coordinates of the generated viewpoint are (3,5); when the angular coordinates of the two decoded viewpoints are (1,9) and (5,5), the angular coordinates of the generated viewpoint are (3,7); when the angular coordinates of the two decoded viewpoints are (1,9) and (5,9), the angular coordinates of the generated viewpoint are (3,9); When the angular coordinates of the two decoded viewpoints are (5,1) and (5,5) respectively, the angular coordinates of the generated viewpoint are (5,3); when the angular coordinates of the two decoded viewpoints are (5,5) and (5,9) respectively, the angular coordinates of the generated viewpoint are (5,7); when the angular coordinates of the two decoded viewpoints are (5,1) and (9,1) respectively, the angular coordinates of the generated viewpoint are (7,1); when the angular coordinates of the two decoded viewpoints are (5,5) and (9,1) respectively, the angular coordinates of the generated viewpoint are (7,3); when the angular coordinates of the two decoded viewpoints are (5,5) and (9, 5), the angular coordinates of the generated viewpoint are (7,5); when the angular coordinates of the two decoded viewpoints are (5,5) and (9,9), the angular coordinates of the generated viewpoint are (7,7); when the angular coordinates of the two decoded viewpoints are (5,9) and (9,9), the angular coordinates of the generated viewpoint are (7,9); when the angular coordinates of the two decoded viewpoints are (9,1) and (9,5), the angular coordinates of the generated viewpoint are (9,3); when the angular coordinates of the two decoded viewpoints are (9,5) and (9,9), the angular coordinates of the generated viewpoint are (9,7).
[0076] In this embodiment, in step S4, for each viewpoint in the fourth viewpoint layer, the angular coordinates of the viewpoint generated when the viewpoint synthesis technology is used are determined by the angular coordinates of two decoded viewpoints from the first three viewpoint layers, and the corresponding relationship is as follows: when the angular coordinates of the two decoded viewpoints are (n, 1) and (n, 3) respectively, the angular coordinates of the generated viewpoint are (n, 2); when the angular coordinates of the two decoded viewpoints are (n, 3) and (n, 5) respectively, the angular coordinates of the generated viewpoint are (n, 4); when the angular coordinates of the two decoded viewpoints are (n, 5) and (n, 7) respectively, the angular coordinates of the generated viewpoint are (n, 6); the angular coordinates of the two decoded viewpoints are (n, 7) and (n, 9) respectively. When , the angular coordinates of the generated viewpoint are (n, 8); where n is 1, 3, 5, 7, 9; when the angular coordinates of the two decoded viewpoints are (1, m) and (3, m) respectively, the angular coordinates of the generated viewpoint are (2, m); when the angular coordinates of the two decoded viewpoints are (3, m) and (5, m) respectively, the angular coordinates of the generated viewpoint are (4, m); when the angular coordinates of the two decoded viewpoints are (5, m) and (7, m) respectively, the angular coordinates of the generated viewpoint are (6, m); when the angular coordinates of the two decoded viewpoints are (7, m) and (9, m) respectively, the angular coordinates of the generated viewpoint are (8, m); where m is 1, 3, 5, 7, 9; the angular coordinates of the two decoded viewpoints are When the angular coordinates of the two decoded viewpoints are (1,1) and (3,3) respectively, the angular coordinates of the generated viewpoint are (2,2); when the angular coordinates of the two decoded viewpoints are (1,3) and (3,5) respectively, the angular coordinates of the generated viewpoint are (2,4); when the angular coordinates of the two decoded viewpoints are (1,7) and (3,5) respectively, the angular coordinates of the generated viewpoint are (2,6); when the angular coordinates of the two decoded viewpoints are (1,9) and (3,7) respectively, the angular coordinates of the generated viewpoint are (2,8); when the angular coordinates of the two decoded viewpoints are (3,1) and (5,3) respectively, the angular coordinates of the generated viewpoint are (4,2); when the angular coordinates of the two decoded viewpoints are (3,3) and (5,5) respectively , the angular coordinates of the generated viewpoint are (4,4); when the angular coordinates of the two decoded viewpoints are (3,7) and (5,5) respectively, the angular coordinates of the generated viewpoint are (4,6); when the angular coordinates of the two decoded viewpoints are (3,9) and (5,7) respectively, the angular coordinates of the generated viewpoint are (4,8); when the angular coordinates of the two decoded viewpoints are (5,3) and (7,1) respectively, the angular coordinates of the generated viewpoint are (6,2); when the angular coordinates of the two decoded viewpoints are (5,5) and (7,3) respectively, the angular coordinates of the generated viewpoint are (6,4); when the angular coordinates of the two decoded viewpoints are (5,5) and (7,7) respectively, the angular coordinates of the generated viewpoint are (6,6);When the angular coordinates of the two decoded viewpoints are (5,7) and (7,9), the angular coordinates of the generated viewpoint are (6,8); when the angular coordinates of the two decoded viewpoints are (7,3) and (9,1), the angular coordinates of the generated viewpoint are (8,2); when the angular coordinates of the two decoded viewpoints are (7,5) and (9,3), the angular coordinates of the generated viewpoint are (8,4); when the angular coordinates of the two decoded viewpoints are (7,5) and (9,7), the angular coordinates of the generated viewpoint are (8,6); when the angular coordinates of the two decoded viewpoints are (7,7) and (9,9), the angular coordinates of the generated viewpoint are (8,8). ;
[0077] In this embodiment, the viewpoint synthesis technology is an existing video interpolation network or an existing classic interpolation algorithm.
[0078] In order to further illustrate the performance of the method of the present invention, the method of the present invention was tested.
[0079] Four real scenes "Bikes", "Danger de Mort", "StonePillars Outside", and "Fountain&Vincent 2" were selected from the EPFL light field database, and four synthetic scenes "Herbs", "Rosemary", "Bicycle", and "Origam" were selected from the HCI light field database for testing. For real scenes, the angular resolution was cropped to 9×9 and the spatial resolution was cropped to 432×624. For synthetic scenes, the original resolution was maintained. Experiments were conducted in the HEVC reference software HM16.20. The target bit rates were 0.02bpp, 0.1bpp, 0.35bpp, and 0.75bpp.
[0080] Table 1 lists the specific information of the “Bikes”, “Danger de Mort”, “Stone Pillars Outside”, “Fountain&Vincent 2”, “Herbs”, “Rosemary”, “Bicycle” and “Origam” light field images used for testing.
[0081] Table 1 Detailed information of the tested light field images
[0082] Light field images Angular resolution Spatial resolution Bikes 9×9 432×624 Danger de Mort 9×9 432×624 Stone Pillars Outside 9×9 432×624 Fountain&Vincent 2 9×9 432×624 Herbs 9×9 512×512 Rosemary 9×9 512×512 Bicycle 9×9 512×512 Origam 9×9 512×512
[0083] In order to illustrate the performance of the method of the present invention, the method of the present invention is compared with two existing light field image coding methods. The first light field image coding method is to arrange all sub-aperture images into a pseudo video sequence in a spiral order, and then encode them using the low-latency mode of HEVC, which is abbreviated as RSM; the second light field image coding method is to only encode the central sub-aperture image with an angle coordinate of (5,5) as intra-frame encoding, and all other sub-aperture images are inter-frame predictive encoding only with reference to the central sub-aperture image, which is abbreviated as CV.
[0084] Table 2 lists the coding performance comparison of the light field images listed in Table 1 using the method of the present invention, the RSM method and the CV method, wherein the coding performance is compared using BD-BR ( Delta Bit Rate) and BD-PSNR ( Delta PSNR) measurement.
[0085] Table 2 Comparison of encoding performance of the light field images listed in Table 1 using the method of the present invention and RSM and CV
[0086]
[0087]
[0088] As can be seen from Table 2, compared with the RSM method, the method of the present invention can achieve an average 8.066% BD-BR saving and a 0.3dB BD-PSNR improvement; compared with the CV method, the method of the present invention can achieve an average 59.931% BD-BR saving and a 2.87dB BD-PSNR improvement. This shows that the method of the present invention can achieve good coding efficiency.
[0089] Table 3 shows the bit rates consumed by the method of the present invention at different viewpoint layers when the target bit rate is 0.75bpp.
[0090] Table 3 The percentage of bit rate consumption of each viewpoint layer under the target bit rate of 0.75bpp by the method of the present invention
[0091]
[0092] As can be seen from Table 3, the first viewpoint layer contains only 1 viewpoint, but because it is intra-frame coding, it consumes about 5% of the bit rate; the second viewpoint layer contains 8 viewpoints, which consumes about 5% to 20%. Therefore, in the case of insufficient bandwidth, only about 20% to 25% of the bit rate is needed to obtain a decoded light field of lower quality. The third viewpoint layer contains 16 viewpoints, which consumes about 20% of the bit rate, and can form a 5×5 light field image together with the first two viewpoint layers. The fourth viewpoint layer contains 56 viewpoints. Due to the large number of viewpoints, this layer consumes the most bit rate and consumes about 50% to 60% of the bit rate. This viewpoint scalability allows users to decide the number of viewpoint layers to be transmitted according to their needs.
[0093] Table 4 shows the relative random access penalty of the method of the present invention under four target bit rates. The value represents the maximum bit rate percentage required to access a viewpoint. The smaller the value, the better the random access performance.
[0094] Table 4 Relative random access penalty of the method of the present invention under four target code rates
[0095]
[0096] As can be seen from Table 4, the method of the present invention achieves an average relative random access penalty of 34.970%, 21.350%, 15.426% and 12.712% respectively under four target bit rates. Under low bit rates, the method of the present invention needs to consume nearly one-third of the bit rate to achieve random access of viewpoints. This is because the viewpoints of the first viewpoint layer and the second viewpoint layer under low bit rates have no synthetic viewpoints to refer to, and a higher proportion of bit rates need to be consumed. It should be noted that under low bit rates, even if the relative random access penalty is large, the actual consumed bit rate is still small, and the impact on random access is small. Under high bit rates that pay more attention to proportion, the method of the present invention consumes at most 12.712% of the bit rate to access any viewpoint. It should be emphasized that this is achieved while the coding performance is better than that of the RSM method. It can be seen that the method of the present invention can better balance the relationship between coding efficiency and random access, and ensure good compression efficiency while achieving better random access performance.
Claims
1. A scalable coding method for light field images for flexible viewpoint access, characterized in that The following steps are involved: Step 1: For any light field image, set the size of the SAI array, i.e., the viewpoint array, used to represent the light field image to 9×9, and divide the viewpoint array into four viewpoint layers. The first viewpoint layer contains 1 viewpoint with an angle coordinate of (5,5); the second viewpoint layer contains 8 viewpoints with angle coordinates of (1,1), (1,5), (1,9), (5,1), (5,9), (9,1), (9,5), (9,9); the third viewpoint layer contains 16 viewpoints. , the angular coordinates are (1,3), (1,7), (3,1), (3,3), (3,5), (3,7), (3,9), (5,3), (5,7), (7,1), (7,3), (7,5), (7,7), (7,9), (9,3), (9,7); the fourth viewpoint layer contains a total of 56 viewpoints, and the angular coordinates are (1,2), (1,4), (1,6), (1,8), (2,1), (2,2), (2,3), (2,4), (2,5), (2,6), (2,7), (2,8), (2,9), (3,2), (3,4), (3,6), (3,8), (4,1), (4,2), (4,3), (4,4), (4,5), (4,6), (4,7), (4,8), (4,9), (5,2), (5,4), (5,6), (5,8), (6,1), (6,2), (6,3), (6,4), (6,5) , (6,6), (6,7), (6,8), (6,9), (7,2), (7,4), (7,6), (7,8), (8,1), (8,2), (8,3), (8,4), (8,5), (8,6), (8,7), (8,8), (8,9), (9,2), (9,4), (9,6), (9,8); where the angular coordinate (u,v) represents the position of the u-th row and v-th column in the viewpoint array, 1≤u≤9, 1≤v≤9; Step 2: At the encoding end, for the first viewpoint layer, the viewpoints in the first viewpoint layer are input as intra-frame coding frames into a standard video encoder for compression coding; Step 3: At the encoding end, for the second viewpoint layer, each viewpoint in the second viewpoint layer is input as an inter-frame coding frame into a standard video encoder for compression coding, wherein, during compression coding, the reference frames in the reference image list of each viewpoint in the second viewpoint layer only have the viewpoints in the first viewpoint layer; Step 4: At the encoding end, for the third viewpoint layer, each viewpoint in the third viewpoint layer is input as an inter-frame coding frame into a standard video encoder for compression coding, wherein, during compression coding, the reference frames in the reference image list of each viewpoint in the third viewpoint layer have 3 or 4 reference frames, and the reference frames in the reference image list of any viewpoint in the third viewpoint layer are as follows: Step 4.1: 2 reference frames come from the coded viewpoints in the first two viewpoint layers; Step 4.2: One reference frame is a synthetic viewpoint generated by using the viewpoint synthesis technology based on the two reference frames in step 4.1; Step 4.3: If one of the two reference frames in step 4.1 is a viewpoint that has been encoded in the first viewpoint layer, no more reference frames are added; if none of the two reference frames in step 4.1 is a viewpoint that has been encoded in the first viewpoint layer, the viewpoint that has been encoded in the first viewpoint layer is used as the fourth reference frame; Step 5: At the encoding end, for the fourth viewpoint layer, each viewpoint in the fourth viewpoint layer is input as an inter-frame coding frame into a standard video encoder for compression coding, wherein, during compression coding, the reference frames in the reference image list of each viewpoint in the fourth viewpoint layer have 3 or 4 reference frames, and the reference frames in the reference image list of any viewpoint in the fourth viewpoint layer are as follows: Step 5.1: 2 reference frames come from the coded viewpoints in the first three viewpoint layers; Step 5.2: one reference frame is a synthetic viewpoint generated by using the viewpoint synthesis technology based on the two reference frames in step 5.1; wherein the viewpoint synthesis technology used is required to be consistent with the viewpoint synthesis technology used in step 4.2; Step 5.3: If one of the two reference frames in step 5.1 is a viewpoint that has been encoded in the first viewpoint layer, no more reference frames are added; if none of the two reference frames in step 5.1 is a viewpoint that has been encoded in the first viewpoint layer, the viewpoint that has been encoded in the first viewpoint layer is used as the fourth reference frame; Step 6: At the decoding end, a standard video encoder is used to decode all viewpoints in the four viewpoint layers, and the final decoded light field image is used as the enhanced quality decoded light field image.
2. The method for scalable coding of light field images for flexible viewpoint access according to claim 1, characterized in that The two reference frames in step 4.1 are determined according to the angular coordinates of the current viewpoint to be encoded, and the corresponding relationship is as follows: when the angular coordinates of the current viewpoint to be encoded are (1,3), the two reference frames are the encoded viewpoints with angular coordinates of (1,1) and (1,5) respectively; when the angular coordinates of the current viewpoint to be encoded are (1,7), the two reference frames are the encoded viewpoints with angular coordinates of (1,5) and (1,9) respectively; when the angular coordinates of the current viewpoint to be encoded are (3,1), the two reference frames are the encoded viewpoints with angular coordinates of (1,1) and (5,1) respectively; when the angular coordinates of the current viewpoint to be encoded are (3,3), the two reference frames are the encoded viewpoints with angular coordinates of (1,1) and (5,1) respectively. The reference frames are the coded viewpoints with angular coordinates of (1,1) and (5,5) respectively; when the angular coordinate of the current viewpoint to be coded is (3,5), the two reference frames are the coded viewpoints with angular coordinates of (1,5) and (5,5) respectively; when the angular coordinate of the current viewpoint to be coded is (3,7), the two reference frames are the coded viewpoints with angular coordinates of (1,9) and (5,5) respectively; when the angular coordinate of the current viewpoint to be coded is (3,9), the two reference frames are the coded viewpoints with angular coordinates of (1,9) and (5,9) respectively; when the angular coordinate of the current viewpoint to be coded is (5,3), the two reference frames are the coded viewpoints with angular coordinates The angular coordinates of the current viewpoint to be encoded are (5,1) and (5,5), which are already encoded viewpoints; when the angular coordinates of the current viewpoint to be encoded are (5,7), the two reference frames are the coded viewpoints with angular coordinates of (5,5) and (5,9), respectively; when the angular coordinates of the current viewpoint to be encoded are (7,1), the two reference frames are the coded viewpoints with angular coordinates of (5,1) and (9,1), respectively; when the angular coordinates of the current viewpoint to be encoded are (7,3), the two reference frames are the coded viewpoints with angular coordinates of (5,5) and (9,1), respectively; when the angular coordinates of the current viewpoint to be encoded are (7,5), the two reference frames are the coded viewpoints with angular coordinates of (5,5) and (9, 5); when the angular coordinates of the current viewpoint to be encoded are (7,7), the two reference frames are the encoded viewpoints with angular coordinates of (5,5) and (9,9); when the angular coordinates of the current viewpoint to be encoded are (7,9), the two reference frames are the encoded viewpoints with angular coordinates of (5,9) and (9,9); when the angular coordinates of the current viewpoint to be encoded are (9,3), the two reference frames are the encoded viewpoints with angular coordinates of (9,1) and (9,5); when the angular coordinates of the current viewpoint to be encoded are (9,7), the two reference frames are the encoded viewpoints with angular coordinates of (9,5) and (9,9).
3. The method for scalable coding of light field images for flexible viewpoint access according to claim 1, characterized in that The two reference frames in step 5.1 are determined according to the angular coordinates of the current viewpoint to be encoded, and the corresponding relationship is as follows: when the angular coordinates of the current viewpoint to be encoded are (n, 2), the two reference frames are the encoded viewpoints with angular coordinates of (n, 1) and (n, 3) respectively; when the angular coordinates of the current viewpoint to be encoded are (n, 4), the two reference frames are the encoded viewpoints with angular coordinates of (n, 3) and (n, 5) respectively; when the angular coordinates of the current viewpoint to be encoded are (n, 6), the two reference frames are the encoded viewpoints with angular coordinates of (n, 5) and (n, 7) respectively; when the angular coordinates of the current viewpoint to be encoded are (n, 8), the two reference frames are the encoded viewpoints with angular coordinates of (n, 7) and (n, 9) respectively; wherein the value of n is 1, 3, 5, 7, 9; When the angle coordinate of the viewpoint to be encoded is (2, m), the two reference frames are the encoded viewpoints with angle coordinates of (1, m) and (3, m); when the angle coordinate of the viewpoint to be encoded is (4, m), the two reference frames are the encoded viewpoints with angle coordinates of (3, m) and (5, m); when the angle coordinate of the viewpoint to be encoded is (6, m), the two reference frames are the encoded viewpoints with angle coordinates of (5, m) and (7, m); when the angle coordinate of the viewpoint to be encoded is (8, m), the two reference frames are the encoded viewpoints with angle coordinates of (7, m) and (9, m); wherein the value of m is 1, 3, 5, 7, 9; When the angle coordinate of the viewpoint to be encoded is (2,2), the two reference frames are the encoded viewpoints with angle coordinates of (1,1) and (3,3); when the angle coordinate of the viewpoint to be encoded is (2,4), the two reference frames are the encoded viewpoints with angle coordinates of (1,3) and (3,5); when the angle coordinate of the viewpoint to be encoded is (2,6), the two reference frames are the encoded viewpoints with angle coordinates of (1,7) and (3,5); when the angle coordinate of the viewpoint to be encoded is (2,8), the two reference frames are the encoded viewpoints with angle coordinates of (1,9) and (3,7); When the angle coordinate of the current viewpoint to be encoded is (4,2), the two reference frames are the encoded viewpoints with angle coordinates of (3,1) and (5,3); when the angle coordinate of the current viewpoint to be encoded is (4,4), the two reference frames are the encoded viewpoints with angle coordinates of (3,3) and (5,5); when the angle coordinate of the current viewpoint to be encoded is (4,6), the two reference frames are the encoded viewpoints with angle coordinates of (3,7) and (5,5); when the angle coordinate of the current viewpoint to be encoded is (4,8), the two reference frames are the encoded viewpoints with angle coordinates of (3,9) and (5,7); When the angle coordinate of the current viewpoint to be encoded is (6,2), the two reference frames are the encoded viewpoints with angle coordinates of (5,3) and (7,1); when the angle coordinate of the current viewpoint to be encoded is (6,4), the two reference frames are the encoded viewpoints with angle coordinates of (5,5) and (7,3); when the angle coordinate of the current viewpoint to be encoded is (6,6), the two reference frames are the encoded viewpoints with angle coordinates of (5,5) and (7,7); when the angle coordinate of the current viewpoint to be encoded is (6,8), the two reference frames are the encoded viewpoints with angle coordinates of (5,7) and (7,9); When the angular coordinates of the current viewpoint to be encoded are (8,2), the two reference frames are the encoded viewpoints with angular coordinates of (7,3) and (9,1); when the angular coordinates of the current viewpoint to be encoded are (8,4), the two reference frames are the encoded viewpoints with angular coordinates of (7,5) and (9,3); when the angular coordinates of the current viewpoint to be encoded are (8,6), the two reference frames are the encoded viewpoints with angular coordinates of (7,5) and (9,7); when the angular coordinates of the current viewpoint to be encoded are (8,8), the two reference frames are the encoded viewpoints with angular coordinates of (7,7) and (9,9).
4. The method for scalable coding of light field images for flexible viewpoint access according to claim 1, characterized in that The viewpoint synthesis technology is a video interpolation network or a classic interpolation algorithm.
5. A scalable coding method for light field images for flexible viewpoint access, characterized in that The following steps are involved: Step S1: For any light field image, the size of the SAI array, i.e., the viewpoint array, used to represent the light field image is set to 9×9, and the viewpoint array is divided into four viewpoint layers. The first viewpoint layer contains 1 viewpoint with an angular coordinate of (5,5); the second viewpoint layer contains 8 viewpoints with angular coordinates of (1,1), (1,5), (1,9), (5,1), (5,9), (9,1), (9,5), (9,9); the third viewpoint layer contains 16 viewpoints. The angular coordinates of the points are (1,3), (1,7), (3,1), (3,3), (3,5), (3,7), (3,9), (5,3), (5,7), (7,1), (7,3), (7,5), (7,7), (7,9), (9,3), (9,7); the fourth viewpoint layer contains a total of 56 viewpoints, and the angular coordinates are (1,2), (1,4), (1,6), (1,8), (2,1), (2,2), (2,3) 、(2,4)、(2,5)、(2,6)、(2,7)、(2,8)、(2,9)、(3,2)、(3,4)、(3,6)、(3,8)、(4,1)、(4,2)、(4,3)、(4,4)、(4,5)、(4,6)、(4,7)、(4,8)、(4,9)、(5,2)、(5,4)、(5,6)、(5,8)、(6,1)、(6,2)、(6,3)、(6,4)、(6,5) , (6,6), (6,7), (6,8), (6,9), (7,2), (7,4), (7,6), (7,8), (8,1), (8,2), (8,3), (8,4), (8,5), (8,6), (8,7), (8,8), (8,9), (9,2), (9,4), (9,6), (9,8); where the angular coordinate (u,v) represents the position of the u-th row and v-th column in the viewpoint array, 1≤u≤9, 1≤v≤9; Step S2: at the encoding end, for the first viewpoint layer, the viewpoints in the first viewpoint layer are input as intra-frame coding frames into a standard video encoder for compression coding; Step S3: at the encoding end, for the second viewpoint layer, each viewpoint in the second viewpoint layer is input as an inter-frame coding frame into a standard video encoder for compression coding, wherein during compression coding, the reference frames in the reference image list of each viewpoint in the second viewpoint layer only include the viewpoints in the first viewpoint layer; Step S4: at the decoding end, a standard video encoder is used to decode all viewpoints in the first viewpoint layer and the second viewpoint layer; then, for each viewpoint in the third viewpoint layer, a viewpoint synthesis technique is used to generate the viewpoints according to two decoded viewpoints from the first two viewpoint layers; and then, for each viewpoint in the fourth viewpoint layer, a viewpoint synthesis technique is used to generate the viewpoints according to two decoded viewpoints from the first three viewpoint layers; and the decoded and synthesized light field image finally obtained is used as the basic quality decoded light field image.
6. The method for scalable coding of light field images for flexible viewpoint access according to claim 5, characterized in that In step S4, for each viewpoint in the third viewpoint layer, the angular coordinates of the viewpoint generated when the viewpoint synthesis technology is used are determined by the angular coordinates of the two decoded viewpoints from the first two viewpoint layers, and the corresponding relationship is as follows: when the angular coordinates of the two decoded viewpoints are (1,1) and (1,5) respectively, the angular coordinates of the generated viewpoint are (1,3); when the angular coordinates of the two decoded viewpoints are (1,5) and (1,9) respectively, the angular coordinates of the generated viewpoint are (1,7); when the angular coordinates of the two decoded viewpoints are (1,1) and (5,1) respectively, the angular coordinates of the generated viewpoint are (1,1) and (5,1) respectively. The angular coordinates of the generated viewpoint are (3,1); when the angular coordinates of the two decoded viewpoints are (1,1) and (5,5), the angular coordinates of the generated viewpoint are (3,3); when the angular coordinates of the two decoded viewpoints are (1,5) and (5,5), the angular coordinates of the generated viewpoint are (3,5); when the angular coordinates of the two decoded viewpoints are (1,9) and (5,5), the angular coordinates of the generated viewpoint are (3,7); when the angular coordinates of the two decoded viewpoints are (1,9) and (5,9), the angular coordinates of the generated viewpoint are (3,9); When the angle coordinates of the two decoded viewpoints are (5,1) and (5,5), the angle coordinates of the generated viewpoint are (5,3); when the angle coordinates of the two decoded viewpoints are (5,5) and (5,9), the angle coordinates of the generated viewpoint are (5,7); when the angle coordinates of the two decoded viewpoints are (5,1) and (9,1), the angle coordinates of the generated viewpoint are (7,1); when the angle coordinates of the two decoded viewpoints are (5,5) and (9,1), the angle coordinates of the generated viewpoint are (7,3); when the angle coordinates of the two decoded viewpoints are (5,5) and (9,5 ), the angular coordinates of the generated viewpoint are (7,5); when the angular coordinates of the two decoded viewpoints are (5,5) and (9,9), the angular coordinates of the generated viewpoint are (7,7); when the angular coordinates of the two decoded viewpoints are (5,9) and (9,9), the angular coordinates of the generated viewpoint are (7,9); when the angular coordinates of the two decoded viewpoints are (9,1) and (9,5), the angular coordinates of the generated viewpoint are (9,3); when the angular coordinates of the two decoded viewpoints are (9,5) and (9,9), the angular coordinates of the generated viewpoint are (9,7).
7. The method for scalable coding of light field images for flexible viewpoint access according to claim 5, characterized in that In step S4, for each viewpoint in the fourth viewpoint layer, the angle coordinate of the viewpoint generated by the viewpoint synthesis technology is determined by the angle coordinates of two decoded viewpoints from the first three viewpoint layers, and the corresponding relationship is as follows: When the angular coordinates of the two decoded viewpoints are (n, 1) and (n, 3) respectively, the angular coordinates of the generated viewpoint are (n, 2); when the angular coordinates of the two decoded viewpoints are (n, 3) and (n, 5) respectively, the angular coordinates of the generated viewpoint are (n, 4); when the angular coordinates of the two decoded viewpoints are (n, 5) and (n, 7) respectively, the angular coordinates of the generated viewpoint are (n, 6); when the angular coordinates of the two decoded viewpoints are (n, 7) and (n, 9) respectively, the angular coordinates of the generated viewpoint are (n, 8); where the value of n is 1, 3, 5, 7, 9; When the angular coordinates of the two decoded viewpoints are (1, m) and (3, m) respectively, the angular coordinates of the generated viewpoint are (2, m); when the angular coordinates of the two decoded viewpoints are (3, m) and (5, m) respectively, the angular coordinates of the generated viewpoint are (4, m); when the angular coordinates of the two decoded viewpoints are (5, m) and (7, m) respectively, the angular coordinates of the generated viewpoint are (6, m); when the angular coordinates of the two decoded viewpoints are (7, m) and (9, m) respectively, the angular coordinates of the generated viewpoint are (8, m); where the value of m is 1, 3, 5, 7, 9; When the angular coordinates of the two decoded viewpoints are (1,1) and (3,3) respectively, the angular coordinates of the generated viewpoint are (2,2); when the angular coordinates of the two decoded viewpoints are (1,3) and (3,5) respectively, the angular coordinates of the generated viewpoint are (2,4); when the angular coordinates of the two decoded viewpoints are (1,7) and (3,5) respectively, the angular coordinates of the generated viewpoint are (2,6); when the angular coordinates of the two decoded viewpoints are (1,9) and (3,7) respectively, the angular coordinates of the generated viewpoint are (2,8); When the angular coordinates of the two decoded viewpoints are (3,1) and (5,3), the angular coordinates of the generated viewpoint are (4,2); when the angular coordinates of the two decoded viewpoints are (3,3) and (5,5), the angular coordinates of the generated viewpoint are (4,4); when the angular coordinates of the two decoded viewpoints are (3,7) and (5,5), the angular coordinates of the generated viewpoint are (4,6); when the angular coordinates of the two decoded viewpoints are (3,9) and (5,7), the angular coordinates of the generated viewpoint are (4,8); When the angular coordinates of the two decoded viewpoints are (5,3) and (7,1) respectively, the angular coordinates of the generated viewpoint are (6,2); when the angular coordinates of the two decoded viewpoints are (5,5) and (7,3) respectively, the angular coordinates of the generated viewpoint are (6,4); when the angular coordinates of the two decoded viewpoints are (5,5) and (7,7) respectively, the angular coordinates of the generated viewpoint are (6,6); when the angular coordinates of the two decoded viewpoints are (5,7) and (7,9) respectively, the angular coordinates of the generated viewpoint are (6,8); When the angular coordinates of the two decoded viewpoints are (7,3) and (9,1) respectively, the angular coordinates of the generated viewpoint are (8,2); when the angular coordinates of the two decoded viewpoints are (7,5) and (9,3) respectively, the angular coordinates of the generated viewpoint are (8,4); when the angular coordinates of the two decoded viewpoints are (7,5) and (9,7) respectively, the angular coordinates of the generated viewpoint are (8,6); when the angular coordinates of the two decoded viewpoints are (7,7) and (9,9) respectively, the angular coordinates of the generated viewpoint are (8,8).
8. The method for scalable coding of light field images for flexible viewpoint access according to claim 5, characterized in that The viewpoint synthesis technology is a video interpolation network or a classic interpolation algorithm.
