|
1.IntroductionDue to increased demand in video broadcasting/streaming over heterogeneous networks, video content has to be broadcasted/streamed to multiple users with different display and networking capabilities. The scalable extension of the H.264/AVC standard, called scalable video coding (SVC), provides a state-of-the-art solution to this problem. In the SVC scenario, the video signal is split into several layers, and a receiver may decode a part of the bitstream due to its resource constraint.1–3 Intra-prediction is an efficient method to reduce spatial redundancy in coded video data.4 Both H.264/AVC and SVC adopt the line-by-line intra-prediction scheme.5 The prediction signal is constructed by extrapolating pixels of neighboring blocks that precede the target block in the coding order. The intra-prediction is applied to , , or blocks for the luma component while it is applied only to the macroblock (MB) for the chroma components. Since the base layer (BL) of SVC is compatible with the H.264/AVC specifications, the intra-prediction scheme of H.264/AVC is utilized to encode frames of the BL. In SVC, a frame of the enhancement layer (EL) can be predicted using frames of a lower layer as well as the current layer. The SVC standard adopts several interlayer prediction schemes to improve the EL coding performance. Among them, the interlayer intra-prediction (ILIP) scheme introduces an additional coding mode, denoted by I_BL, to encode the EL MB of an intra frame. When an EL MB is encoded with mode I_BL, its prediction is obtained by upsampling the BL block at the co-located position.2,6 It has been shown that I_BL improves the coding efficiency of the EL significantly. Here we attempt to improve the performance of the existing intra-prediction by developing a spatial and interlayer hybrid intra-prediction (SILHIP) scheme. The proposed SILHIP scheme exploits the spatial correlation as well as the interlayer correlation between the BL and the EL adaptively. To implement the SILHIP scheme, we partition an MB into two regions with an edge map and allow different types of prediction schemes to be used in different regions. It is shown by experimental results that the proposed scheme can reduce the bit rate by 1.67 to 8.22%. The rest of this paper is organized as follows. Related previous work is reviewed, and our basic idea is presented in Sec. 2. The edge map construction is examined in Sec. 3. The SILHIP scheme is described in Sec. 4. Experimental results are shown in Sec. 5, and concluding remarks are given in Sec. 6. 2.Review of Previous Work and Basic IdeaGenerally speaking, the farther a pixel is away from the block boundary of a target MB, the less accurate the prediction is, which results in coding efficiency loss.4 Moreover, the prediction accuracy degrades significantly if a target block is located in the edge region of an object. Although the line-by-line intra-prediction tries to take the edge effect into account by specifying a couple of edge orientations, the number of the preset edge orientations is limited. Besides, an object may have a curved boundary. Several techniques7,8 have been proposed to improve the intra-prediction performance of H.264/AVC by exploiting local features of a frame. Although these techniques can be potentially applied to each layer of SVC separately, their application may not produce satisfactory results since the interlayer correlation was not exploited.7,8 It was pointed out by Wang et al.9 that, when encoding blocks in slice boundaries, pixels of their neighboring blocks are not available. They proposed a new intra-coding scheme to encode an intra-frame of the EL to overcome this difficulty. They use pixels of the BL to improve prediction accuracy for the EL MB. However, since their method does not consider local features of a frame, the performance gain is limited. Liu et al.10 introduced a new method that improves the intra-prediction of the EL. This method constructs the prediction signal of the EL by adaptively allowing interlayer prediction for each block. More recently, Park et al.11 proposed an improved interlayer intra-prediction (ILIP) algorithm based on the displacement vector (DV). By observing a phase shift between the BL and the EL, they proposed to signal the DV to indicate the phase difference. However, the intra-prediction scheme of SVC remains the same.11 The basic idea of the proposed SILHIP scheme is illustrated in Fig. 1 by an example. Due to the existence of the object boundary, there are two regions denoted by and in the target MB as given in Fig. 1. The left and the top boundaries of region are surrounded by pixels that have already been reconstructed. It seems natural to encode region by exploiting the spatial correlation. In contrast, we have little information about region from the same layer and should exploit the interlayer correlation. For this purpose, we need to determine whether there exists an object boundary for each MB. This can be achieved by edge detection and connection that will be detailed in Sec. 3. Then, we will discuss how to choose the spatial line-prediction or the interlayer prediction dynamically. 3.Edge Map ConstructionDetecting salient boundaries in an image involves two steps: edge detection and edge connection.12 In the first step, we construct a set of segments by running an edge detector on the input image and approximating detected edges with a set of segments, which are referred to as detected edge segments. Since detected edge segments are often disconnected from one another, we need to fill in gaps between them to form a closed contour. In the second step, we connect all relevant pairs of endpoints of different detected segments. Finally, a boundary is defined as a straight or curved line that traverses a set of detected and gap-filled segments alternately. We describe these two steps in detail below. 3.1.Edge Segment DetectionThe proposed SILHIP method predicts the edge in a target EL block using the corresponding BL block. We use and to denote the target EL MB to be coded and the upsampled MB using the BL block corresponding to , respectively. In SVC, is obtained using the one-dimensional 4-tap FIR filter for the luma component and the bi-linear filter for the chroma components.2 Edge detection is essentially to find a high intensity gradient in a certain region. Here we calculate the intensity gradient at each pixel for horizontal and vertical directions separately. We will discuss the process along the horizontal direction only. The same procedure can be conducted in the vertical direction too. We compute the intensity gradient in the horizontal direction as where is the pixel coordinates in . Then we determine the binary edge map, , representing the locations of the detected edge segments aswhere is a threshold.We remove isolated points that might occur due to image noise, quantization error, etc.13 Let be the set of all pixels satisfying . Then we define a pixel in as an isolated one if none of its eight neighbors is an element in . For example, the single pixel in the upper-left corner of Fig. 2 is an isolated one. After removing isolated pixels, the remaining pixels in can be clustered into several connected segments. In the ideal case where a single edge exists inside the target block, we can simply obtain the outermost object boundary using the detected edge information. However, if there is a complicate edge, e.g., cross edge, the target block may contain multiple edge lines. Thus we extract the line segments at the outermost object boundary by removing all pixels from except the outermost pixels. For example, if there are two pixels, and , satisfying , , and , the final edge map contains only , i.e., the pixel is removed from . Then, finally contains the line segments at the outermost object boundary in the target block. 3.2.Edge Segment ConnectionAfter constructing line segments, we need to fill the gaps between detected line segments to form a complete boundary between regions. Let be detected line segments in the target MB and be the set of endpoints belonging to . The endpoints of edge segments can be easily detected using the morphological filter. Figure 2 shows an example of and , where is the set of pixels in the block boundary. In the example, since one of the endpoints of is belonging to , has only one endpoint (). In case of , since it locates inside the target MB, the number of endpoints is equal to 2 (). After constructing line segments and their endpoints, the proposed method finds gap-filling line segment between the detected line segments. In this study, we introduce a gap-filling cost (GFC) to connect the detected line segments. Basically, among all possible gap-filling line segments connecting and , we find the best one that minimizes the GFC. Let be the ’th line segment filling the gap between and . At first, for all possible paths between and , we calculate the GFCs of ’s based on the intensity gradient as Then, among all possible ’s, we choose the best one which has the minimum GFC asIf there are multiple paths sharing the same minimum cost, we choose the one with the shortest two-dimensional Euclidean distance. And the two endpoints, and , if present, are connected with one of the pixels in . The proposed gap-filling process is illustrated in Fig. 3. Note that, in the proposed method, even if the original object does not reach the block boundary, the proposed method finds the shortest path between the object and block boundary and then constructs the edge map as if the block reached the boundary.14,15 This gap-filling process is repeated until all endpoints in the target MB are connected. Finally, we obtain the closed binary edge map, , of the target MB, which will serve as the input to the hybrid intra-prediction process. Since we construct the edge map by considering the local feature of the image, the proposed approach is generally applicable than the traditional line-by-line intra-prediction. For example, it can handle curved boundaries. One can obtain the closed binary edge map, , for the vertical direction in a similar fashion. Note that the proposed SILHIP adopts a relatively simple gradient-based edge-detection method. In addition, since the edge connection for an endpoint is performed only between the endpoint and the closest one of another edge segment, the complexity is not increased significantly. In the experiment, we measure the encoding-time increment due to the proposed SILHIP. 4.Proposed Hybrid Intra-PredictionThe conventional intra-prediction method is applied to , , or blocks. The proposed SILHIP method can also be applied to , , or blocks. For simplicity, we focus our discussion on the SILHIP method for the in this section. The other two cases can be easily generalized. 4.1.Prediction Signal ConstructionWhen the target block is at the edge of moving objects or on the boundary between two objects with different characteristics, the spatial correlation is not strong enough to predict the target block, leading to the degradation of the prediction accuracy. To address this issue, we divide a target MB into two regions, and , where and represent the regions to be predicted based on spatial correlation and interlayer correlation, respectively. For the MB containing an object boundary, the connected edge segments divide the target MB into two disjoint regions. By scanning a row from left to right (or a column from top to down), we may fill the segment that goes beyond the edge point with 1’s and denote such an operation by . Then, using the binary edge maps, and , we have Then, the remaining pixels are assigned to . After dividing the target MB into and , the hybrid prediction signal is constructed using the information of the BL and EL. At the decoder, the following parsing process is performed:
4.2.Enhanced Horizontal and Vertical Modes in SILHIPIn many video sequences, most of the texture directions are vertical and horizontal. Thus, it was shown that the vertical and horizontal modes are dominant among all intra-prediction modes.16,17 In order to reduce the computational complexity and improve the coding efficiency of the proposed method, we introduce an improved prediction method for the horizontal and vertical modes. We will explain the details of the proposed method only for the horizontal mode. Similarly, the prediction signal for the vertical mode can be obtained. In the horizontal mode, the prediction signal is constructed by simply copying the column immediately to the left of the target MB. Thus, in this case, we define as follows Figure 4 shows an example of the proposed prediction signal construction process for the horizontal mode.In Ref. 9, an interpolation-based intra-prediction scheme was proposed. The intra-prediction signal is constructed by using the reconstructed pixels of the lower layer. Similarly, we can improve the performance of the proposed method for the vertical and horizontal modes. Let and be the column vectors immediately to the left and right of the target MB, respectively, as shown in Fig. 4(b). When the target EL MB is encoded, all pixels of the preceding EL MB in the raster scan order have already been reconstructed. Thus, we can set to values of the previously reconstructed EL block in the left. Although we do not have the value of , we can use the upsampled BL block in the right for its prediction. Then the prediction signal for the horizontal mode can be constructed by a linear interpolation of values of and . Note that this prediction scheme is not applied to the row of the target MB, which includes any edge pixels. 5.Experimental ResultsIn the experiments, we used the joint scalable video model (JSVM) 9.17 reference software,18 and evaluated the performance of the proposed SILHIP method by utilizing several sequences with CIF, 4CIF, and 1080p formats. We calculated the average bitrate and the PSNR value of the EL for test video sequences consisting of 100 frames. It is observed that the coding efficiency of the proposed SILHIP method can be enhanced by adaptively adjusting threshold for edge detection in Eq. (2). Thus, we added a parameter to indicate threshold to each slice header. We implemented the proposed SILHIP scheme by modifying the original intra-prediction scheme in the SVC standard, i.e., the original intra-prediction scheme is not used at the EL in the proposed method. Test conditions are summarized in Table 1. Tables 2 and 3 represent the simulation results, where and denote the average bitrate reduction and the PSNR change of the proposed SILHIP method, respectively. And, indicates the increase of the encoding time for given . Table 1Encoder configurations.
Table 2Performance comparison of the conventional and proposed SILHIP methods for CIF and 4CIF sequences.
Table 3Performance comparison of the conventional and proposed SILHIP methods for 1080p sequences.
We compare the SILHIP method with Liu’s intra-prediction algorithm.10 Table 2 shows the measured simulation results of the SILHIP and Liu’s algorithms for the CIF and 4CIF sequences. For the QP sets (28,22), (32,26), and (36,30), average bitrate reduction of Liu’s method is 1.17% and the averaged PSNR value is almost the same as JSVM. The proposed SILHIP reduces the average bitrate by 3.27% and the average PSNR is slightly decreased by 0.05 dB. This result indicates that the proposed method shows better performance than Lin’s method in terms of the rate-distortion performance. Table 2 also shows that the SILHIP tends to achieve the better performance at low bitrate than at high bitrate. For example, when the QP set is (28,22), the average bitrate reduction of all sequences is 2.35%. And it increases to 4.26% for the QP set (36,30). Table 3 shows the simulation results for the 1080p sequences. The proposed method reduces the average bitrates of the factory, pedestrian, sunflower, and rush hour sequences by 2.54%, 4.03%, 6.04%, and 4.61%, respectively. Note that, in the sunflower sequence, the proposed method reduces the bitrate by up to 8.22% and, in addition, increases the average PSNR by 0.02 dB. Table 3 shows that the proposed SILHIP and Liu’s methods reduce the average bitrate of all sequences by 2.08% and 4.30%, respectively. To understand the rate and distortion tradeoff better, we present the rate-distortion curves of the four 1080p sequences in Fig. 5. We see clearly that the proposed SILHIP method outperforms Liu’s method in the rate-distortion curves. We also measured the encoding time of the proposed SILHIP method. Simulation results shows that the complexity of the proposed method varies depending on the sequences. In Table 2, the average encoding time of the CIF and 4CIF sequences is slightly increased by 13.78%. And, for the 1080p sequences, the average encoding time is increased by 14.72%. We can see that the encoding time increase of the proposed SILHIP method is slightly higher at the high resolution sequences. 6.ConclusionA new SILHIP scheme to improve the coding efficiency of the EL coding of the SVC video was proposed. To adapt to the local features of an image block, the proposed SILHIP scheme calculates an edge map of the target block using the intensity gradient. Then a hybrid intra-prediction signal is constructed by using the edge map. Simulation results showed that the proposed SILHIP algorithm outperforms the state-of-the-art EL prediction in the SVC standard. ReferencesT. Wiegandet al.,
“Joint draft 11 of SVC amendment,”
(2007). Google Scholar
H. SchwarzD. MarpeT. Wiegand,
“Overview of the scalable video coding extension of the H.264/AVC standard,”
IEEE Trans. Circuits Syst. Video Technol., 17
(9), 1103
–1120
(2007). http://dx.doi.org/10.1109/TCSVT.2007.905532 ITCTEM 1051-8215 Google Scholar
T. H. Wanget al.,
“Computation-scalable algorithm for scalable video coding,”
IEEE Trans. Consum. Electron., 57
(3), 1194
–1202
(2011). http://dx.doi.org/10.1109/TCE.2011.6018874 ITCEDA 0098-3063 Google Scholar
C. Daiet al.,
“Geometry-adaptive block partitioning for intra-prediction in image & video coding,”
in IEEE Int. Conf. on Image Process.,
85
–88
(2007). Google Scholar
T. Wiegandet al.,
“Overview of the H.264/AVC video coding standard,”
IEEE Trans. Circuits Syst. Video Technol., 13
(7), 560
–576
(2003). http://dx.doi.org/10.1109/TCSVT.2003.815165 ITCTEM 1051-8215 Google Scholar
C. S. ParkC. K. ParkS. J. Ko,
“Generalization of interlayer intra-prediction for scalable video coding,”
Electron. Lett., 44
(5), 337
–338
(2008). http://dx.doi.org/10.1049/el:20083114 ELLEAK 0013-5194 Google Scholar
D. Liuet al.,
“Edge-oriented uniform intra-prediction,”
IEEE Trans. Image Process., 17
(10), 1827
–1836
(2008). http://dx.doi.org/10.1109/TIP.2008.2002835 IIPRE4 1057-7149 Google Scholar
K. BharanitharanB. D. LiuJ. F. Yang,
“An efficient region based intra-prediction algorithm for H.264/Advanced video coding,”
in Int. Conf. on Computer and Electrical Eng.,
393
–397
(2008). Google Scholar
Z. Wanget al.,
“Inter layer intra-prediction using lower layer information for spatial scalability,”
Lecture Notes Control Inform. Sci., 345 303
–311
(2006). http://dx.doi.org/10.1007/978-3-540-37258-5 0170-8643 Google Scholar
Y. LiuG. RathC. Guillemot,
“Improved intra-prediction for H.264/AVC scalable extension,”
in IEEE 9th Workshop on Multimedia Signal Processing. MMSP 2007 ,
247
–250
(2007). Google Scholar
C. S. Parket al.,
“Estimation-based interlayer intra-prediction for scalable video coding,”
IEEE Trans. Circuits Syst. Video Technol., 19
(12), 1902
–1907
(2009). http://dx.doi.org/10.1109/TCSVT.2009.2026945 ITCTEM 1051-8215 Google Scholar
J. S. StahlS. Wang,
“Edge grouping combining boundary and region information,”
IEEE Trans. Image Process., 16
(10), 2590
–2606
(2007). http://dx.doi.org/10.1109/TIP.2007.904463 IIPRE4 1057-7149 Google Scholar
F. DestrempesM. Mignotte,
“A statistical model for contours in images,”
IEEE Trans. Pattern Anal. Mach. Intell., 26
(5), 626
–638
(2004). http://dx.doi.org/10.1109/TPAMI.2004.1273940 ITPIDJ 0162-8828 Google Scholar
H. LiK. N. NganZ. Wei,
“Fast and efficient method for block edge classification and its application in H.264/AVC video coding,”
IEEE Trans. Circuits Syst. Video Technol., 18
(6), 756
–768
(2008). http://dx.doi.org/10.1109/TCSVT.2008.918778 ITCTEM 1051-8215 Google Scholar
O. Divorraet al.,
“Geometry-adaptive block partitioning for video coding,”
in Proc. ICASSP,
657
–660
(2007). Google Scholar
Y. L. LeeK. H. HanG. J. Sullivan,
“Improved lossless intra coding for H.264/MPEG-4 AVC,”
IEEE Trans. Image Process., 15
(9), 2610
–2616
(2006). http://dx.doi.org/10.1109/TIP.2006.877396 IIPRE4 1057-7149 Google Scholar
H. HuangT. Y. CaoX. W. Zhang,
“The enhanced intra-prediction algorithm for H.264,”
in Congress on Image and Signal Processing. CISP ’08,
161
–165
(2008). Google Scholar
J. ReichelH. SchwarzM. Wien,
(2007). Google Scholar
|