• 沒有找到結果。

Frame-Layer Constant-Quality Rate Control of Regions of Interest for Multiple Encoders With Single Video Source

N/A
N/A
Protected

Academic year: 2021

Share "Frame-Layer Constant-Quality Rate Control of Regions of Interest for Multiple Encoders With Single Video Source"

Copied!
11
0
0

加載中.... (立即查看全文)

全文

(1)

Frame-Layer Constant-Quality Rate Control

of Regions of Interest for Multiple Encoders

With Single Video Source

Ping-Hao Wu and Homer H. Chen, Fellow, IEEE

Abstract—In this work, we develop a constant-quality rate control algorithm for a surveillance system which consists of one “base encoder” that encodes a down-sampled full-view version of the input video sequence, and one “region of interest (ROI) encoder” that encodes the region of interest of the input video at the original resolution. Exploiting the inter-relationship between these two independent encoders, the algorithm allocates the bits for the ROI encoder according to the distortion obtained from the corresponding region in the base encoder. Simulation results show that the proposed algorithm can achieve significant reduction in the image quality variation. Compared to the rate control algorithm in JM 8.4, the overall quality is improved and the bit rate is saved.

Index Terms—Bit allocation, H.264/AVC, rate control, surveil-lance, video coding.

I. INTRODUCTION

F

UELED by the rapid development of international digital video coding standards [1]–[6], various visual information processing and communication systems have been developed. Rate control plays an important role in any video communica-tion system. It deals with control mechanisms for determining the date rate of compressed video so that successful delivery of video streams and best visual quality can be achieved.

According to the bit rate characteristics of the compressed video, rate control can be either constant bit rate (CBR) or vari-able bit rate (VBR). CBR video has been widely adopted in many digital video applications, like digital TV broadcast or video conferencing, that are subject to the constraint imposed by constant channel bandwidth. However, due to the non-sta-tionary nature of video signals, it is almost impossible to achieve constant video quality with CBR encoding. On the other hand, VBR encoding is able to provide constant video quality.

Manuscript received July 25, 2006; revised January 31, 2007. This work was supported in part by the National Science Council of Taiwan, R.O.C., under con-tracts NSC 94-2752-E-002-006-PAE and NSC 94-2219-1-002-016 and in part by the Industrial Technology Research Institute under contract T1-94081-10. This paper was recommended by Associate Editor M. Comer.

P.-H. Wu was with the Graduate Institute of Communication Engineering, National Taiwan University, Taipei 10617, Taiwan, R.O.C. He is now with the Department of Electrical Engineering, University of Southern California, Los Angeles, CA 90089 USA.

H. H. Chen is with the Department of Electrical Engineering, Graduate Insti-tute of Communication Engineering, and Graduate InstiInsti-tute of Networking and Multimedia, National Taiwan University, Taipei 10617, Taiwan, R.O.C. (e-mail: [email protected]).

Color versions of one or more of the figures in this paper are available online at http://ieeexplore.ieee.org.

Digital Object Identifier 10.1109/TCSVT.2007.899605

Fig. 1. A high-resolution camera and the base and ROI encoders.

Many constant-quality rate control algorithms have been pro-posed [9]–[16], [22], [23]. Adaptive algorithms such as the one proposed in [9] vary the quantization step size according to the properties of an image sequence. However, they cannot guar-antee to meet the constraint on storage size. Two-pass algo-rithms [11]–[13] generate constant-quality video in the second-pass of the encoding process according to the information ob-tained from the first-pass encoding. Such algorithms perform effectively, but the computational complexity and the two-pass nature make them unsuitable for real-time applications. To solve this problem, several single-pass constant-quality rate control algorithms have been developed [14]–[16], [22], [23]. In these algorithms, the quantization parameter for a frame is selected according to the statistics gathered from previously encoded frames. The information of the current frame is not available since it is not encoded yet, which is not the case for the problem considered here.

In this paper, we consider an application scenario where mul-tiple video encoders are employed in a surveillance system to encode the full view as well as the regions of interest (ROI) of the scene and the input videos of these video encoders come from a single camera, as shown in Fig. 1. Since the video en-coders share a common video source, the inter-relationship be-tween these encoders can be exploited to improve the rate con-trol. With the information of the current frame and the previous frames obtained during the encoding process of the base coder, the output bit rate and the video quality of the ROI en-coders can be better controlled. Constant output video quality can be achieved without pre-analysis of the whole video se-quence while information of the current frame is available. With the proposed algorithm, video quality fluctuates less, and the

(2)

Fig. 2. Video surveillance system with one single video source, one down-sampler, and one ROI detector.

overall performance is also significantly improved in terms of average peak-signal-to-noise-ratio (PSNR) and output bit rate.

This paper is organized as follows. Section II describes the video surveillance system that consists of one single camera and multiple video encoders. The proposed rate control algorithm is described in Section III. Section IV shows the simulation results, followed by a conclusion in Section V.

II. MULTIPLEENCODERSWITHSINGLEVIDEOSOURCE

With the high compression efficiency brought by the digital video coding standards, wide deployment of video surveillance systems is coming of age. For security reasons, some regions of the video, called the ROI, are often required to be shown in more details than other regions. Usually, lower resolution is sufficient for the full-view video, while the ROI video needs higher reso-lution so that the details can be clearly seen. However, conven-tional surveillance systems are unable to provide both full-view and ROI videos at the same time to meet different resolution requirements.

Though multiple cameras can solve the problem, the cost is an issue. Besides, the synchronization problem between different cameras is not trivial. To avoid these problems, the system con-sidered in the paper uses one high-definition camera to capture the video. The full-view video is obtained by down-sampling the captured video, while the ROI videos are encoded at the original resolution.

For simplicity, only one ROI video is considered in this work, as shown in Fig. 2. The system consists of two video encoders: one base encoder that encodes the full-view video at a low res-olution and one ROI encoder that encodes the ROI video at the original resolution. In this system, the high-resolution frame is down-sampled horizontally and vertically by a factor of two prior to being fed into the base encoder. The ROI region is extracted from the original frame and then encoded by the ROI encoder. The next frame is processed after the current frame is encoded. Note that the ROI contains the same content as its corre-sponding region in the base sequence. The only difference tween them is the resolution. Therefore, certain correlations be-tween the ROI sequence and its corresponding region in the base sequence can be expected. By exploiting such correlations, the rate control of the ROI sequence can be improved, as described in the following section. The work described in [17] is related

to ours in that it adaptively skips non-ROI area during bit allo-cation to improve overall subjective quality.

The choice of separate base and ROI encoders in the coding framework described in this paper is the result of a tradeoff be-tween cost and performance. It is well recognized that conven-tional surveillance systems fail to offer images at the level of quality needed for critical missions such as the crime investiga-tion of a bank robbery. With a high-resoluinvestiga-tion camera, images with detailed content can be captured. However, the requirement for large transmission bandwidth and storage capacity becomes a problem. Although the problem may be resolved in the long run when bandwidth and storage cost is dropped, the applica-tion scheme described in this work represents a plausible solu-tion that is applicable now and in the future.

III. PROPOSEDRATECONTROLALGORITHM FOR THE

REGION OFINTEREST

Because the ROI sequence and its corresponding region in the base sequence have similar content but at different resolutions, information obtained through the encoding of the base video can be used to improve the encoding of the ROI video, which is dif-ferent from the case of a single video encoder. Our previous work described in [18] shows that the mode information obtained from the base sequence can be used to predict the mode in the ROI se-quence. In this paper, the statistics of the base sequence are used to better control the bit rate and the quality of the ROI sequence. As suggested by the name, ROI are often needed to be shown in more details. By employing a constant-quality encoding al-gorithm, each frame of the ROI sequence can be encoded at the same quality level, avoiding unnecessarily high PSNR of the low-activity frames and saving more bits for the high-low-activity frames. Since constant video quality is not needed for the base video, the base video in the surveillance system is encoded with a CBR rate control algorithm which has relatively low computations compared to VBR algorithms. The statistics of the base encoder collected during the encoding are used to estimate how many bits are needed for a frame in the ROI video to achieve constant quality.

The proposed algorithm can be divided into five parts: initial quantization parameter (QP) determination, mean absolute dif-ference (MAD) prediction, remaining bits estimation, target bit allocation, and QP determination. We describe each of them in the following subsections.

(3)

A. Initial QP Determination

We start with the determination of the initial quantization pa-rameter. In one-pass encoding systems, statistics of the video sequence cannot be obtained, which makes the initial QP deter-mination difficult. In MPEG-2 TM5 [8], a fixed initial QP at the beginning of the encoding is selected, whereas in JM 8.4 [7], which is the reference software of H.264, the initial QP is se-lected among several predefined QPs

(1)

where is recommended for QCIF

size video, is recommended for

CIF size video, and for video

with frame size larger than CIF. In (1)

(2) where denote the target bit rate and is the total number of pixels in a frame. For example, for a YUV 4:2:0 sequence of CIF size.

This approach maps the average bits per pixel into four pos-sible initial quantization parameters. The rate control algorithm is thus inflexible because it considers only four candidates.

To solve the problem, an analytical model with a logarithm form is proposed in [20]

(3) where denotes the initial .

In our experiments, we find that the model

(4) is more accurate than the logarithm model. Typical values for and are 14 and , respectively, for CIF size sequences according to our experiments. Specifically, this model is empir-ically determined by data fitting using 12 CIF sequences that are encoded using JM 8.4 [7] at 8 different bit rates, and the av-erage QP versus avav-erage bits per pixel is plotted. Fig. 3(a) is the case when the sequence contains no B-frame, and Fig. 3(b) is the case of two B-frames between two I- or P-frames. From the figures we can see that (4) is a much better approximation to the actual data than (3). In this way, the initial QP is not restricted to a few candidates any more. An appropriate initial QP can be selected according to the encoding setting.

B. Mean Absolute Difference (MAD) Prediction

H.264 adopts the rate-distortion optimization (RDO) to op-timally select the mode and motion vectors, which makes the task of rate control for H.264 much harder than the previous standards. The reason is that the quantization parameter is in-volved in both rate control and RDO. RDO needs the QP to cal-culate the Lagrange multiplier and the number of bits required to encode the frame or macroblock. Different QPs may result in different motion vectors and modes, which implies that the QP must be determined first by the rate control. However, the

Fig. 3. Average QP-bpp curve of 12 CIF sequences encoded at 8 different bit rates, (a)N = 30 and M = 1, (b) N = 30 and M = 3, where N is the GOP size andM the sub-GOP size.

MAD between the original and the motion-compensated block, which is needed to calculate QP before RDO [19], is only avail-able after performing the RDO. Consequently, a chicken and egg dilemma arises.

In the rate control of H.264 [7], this chicken and egg dilemma is solved by linearly predicting the MAD of the current frame from the MAD of the previous frame

(5) where denotes the predicted MAD of the current frame,

denotes the actual MAD of the previous frame, and and are model parameters that are updated through linear regression by using the encoding statistics of the previous frame. Obviously, if scene change occurs, this approach would fail. To prevent the failure, we avoid using the previous ROI-frame and propose to predict the MAD of the current frame in the ROI sequence from the corresponding region in the base sequence. The MAD prediction by linear regression becomes

(4)

Fig. 4. MAD curves of Foreman.

where denotes the MAD of the current frame in the ROI sequence and denotes the MAD of the corresponding region in the base sequence.

Fig. 4 shows the MAD curves of the CIF size and the QCIF size Foreman encoded at 76 and 128 kbps, respectively, using JM 8.4. Only the first frame is set as the intra frame. From the figure, we can see that the MAD curves of these two sequences, which contain similar content at different resolutions, are very similar in trend.

C. Remaining Bits Estimation

Remaining bits are allocated to each picture type according to the corresponding complexity measure. In the proposed algo-rithm, the complexity measure of MPEG-2 TM5 [8] is adopted (7) where denotes the complexity, the actual number of bits, the quantization parameter, and the frame type. However, unlike previous standards where the relationship between QP and the quantization step size ( ) is linear,1H.264 adopts an exponential relationship

(8) as shown in Fig. 5. We use the quantization step size instead of the quantization parameter for in (7) to determine the com-plexity of the picture since the quantization step size is the true value used to quantize the discrete cosine transform (DCT) co-efficients while the quantization parameter indirectly indicates the step size.

The remaining bits are allocated according to the formula

(9)

1Taking H.263 for example, the quantization step size is computed by

Q = 2 2 QP.

Fig. 5. Quantization step size versus quantization parameter.

where is the number of remaining bits for frame type , is the total number of remaining bits, is the av-erage complexity for frame type , and is the number of remaining frames of type .

The average complexity is updated using the average number of bits and the average quantization step size

of previously encoded frames of type

(10) where and are the actual number of bits and the average quantization step size for the th type- frame, respec-tively, and denotes the number of coded frames of type . The window length is computed by

(11) where is the upper bound of the window length.

D. Target Bit Allocation

Because the content is the same but at different resolutions, it can be expected that the ROI sequence and its corresponding region in the base sequence have similar picture quality trends. As an illustration, Fig. 6 shows the PSNR curves of the CIF size and the QCIF size Table Tennis sequences encoded at target bit rate 768 and 128 kbps, respectively. Different bitrate settings produce similar results. We can see that the PSNR curves of these two sequences are very similar except at the first GOP. Based on this observation, we use the distortion obtained from the base sequence to allocate bits for the ROI video.

To allocate bits for the current frame so that constant quality can be achieved, a frame complexity measure is defined ac-cording to the distortion of the corresponding region in the base sequence. Let denote the distortion of the th

(5)

type-Fig. 6. PSNR curves of Table Tennis.

frame obtained from the corresponding region of the base se-quence. Then the frame complexity is defined as

(12) and

(13)

where is the distortion of the current frame and denotes the average distortion of the previous frames ob-tained from the corresponding region in the base sequence. The distortion is computed using the MAD between the original and the reconstructed pixels (luminance only)

(14) where denotes the pixel in the original frame and the pixel in the reconstructed frame. in (13) is the window length, which is computed by

(15) where is the upper bound of the window length.

With the frame complexity measure defined in (12), the number of bits allocated to the current frame is then computed according to the average bits actually produced

(16)

where represents the bits needed for the current frame to achieve the average quality of previous frames. If the cur-rent distortion of the corresponding region in the base sequence is larger than the average distortion of previous frames in the base sequence, would be larger than 1, and thus more bits are allocated to the current frame so that constant quality can be achieved.

Fig. 7. PSNR curves of the ROI and the base sequence at different quality levels.

However, in this way, the remaining number of bits is not taken into consideration, and the target bit rate constraint may not be satisfied. In storage applications, this may cause unnec-essary waste of the storage space; even worse, the size of the entire bitstream may exceed the total available storage space. To handle the target bit rate constraint, the target number of bits is then modified as

Average remaining bits

(17) Because the rates of the remaining bits and the used bits both should be close to the target bit rate, it is reasonable to replace the average used bits with the average remaining bits. This way, the target bit rate constraint can be achieved more nicely.

This approach is based on the assumption that the quality trends of the corresponding regions between the base sequence and the ROI sequence are similar, which is reasonable since they represent the same scene at different resolutions. However, this does not take the speed of quality change into consideration. If the base sequence and the ROI sequence are encoded to be at different quality levels, one of them may change faster in terms of PSNR than the other one does. As illustrated in Fig. 7, the PSNR of the base sequence drops much faster than that of the ROI sequence. This may make the mechanism described by (17) to allocate too many bits to the current frame.

To solve this problem, we propose to monitor the distortion variation of more than one previous frame in the ROI sequence. Similar to (5), the distortion of the current frame in the ROI sequence can be linearly predicted by exploiting the locally sta-tionary property

(18) where is the distortion of frame ,

is the linear prediction of the distortion of frame , and and are the model parameters that are updated by linear regression after the current frame is coded. Then, similar to , the ad-justment factor for the target bits is calculated as follows:

(6)

and

(20)

where denotes the average distortion of previous frames. If the predicted distortion of the current frame is larger than the average distortion of previously encoded frames, more bits are allocated to the current frame, and vice versa.

The frame complexity measure for the current frame is ad-justed by the factor calculated in (19)

(21) To avoid allocating too many or too few bits, is further bounded

(22) where and are the upper and lower bound of the frame complexity measure, respectively.

Finally, the target number of bits for the current frame is com-puted by (17), except that is replaced with the adjusted and bounded frame complexity . That is

(23)

E. QP Determination

We now discuss how the quantization parameters of I- and P-frames are determined. For simplicity, the quantization pa-rameter for B-frames is determined in the same way as the one in JM 8.4.

1) QPs of I-Frames: In the rate control algorithm [19]

adopted in H.264 JM, the quantization parameters for I-frames are determined by the average of quantization parameters for all P-frames in the previous GOP and are bounded within , where is the quantization parameter of the previous I-frame. Since the scene may have already changed after one GOP, it is unnecessary and unrealistic to put restriction on the difference of quantization parameters between the two I-frames of successive GOPs.

Furthermore, the quantization parameter for I-frame in [19] is usually set too small. Although an I-frame with better quality can reduce the bits needed to encode the following frames at the same quality level, it may overuse its bit budget if the quan-tization parameter is set too small, causing quality degradation for the following inter frames. Therefore, an appropriate quan-tization parameter for I-frame is needed to ensure that the inter frames of this GOP have a reference with sufficient quality and to avoid spending too many bits on this reference frame.

Based on these observations, the quantization parameter for I-frame is modified from [19] as follows:

(24)

(25)

where denotes the quantization step size of the first frame (an I-frame) in the th GOP, is the sum of quantization step sizes of all P-frames in the previous GOP, and to denotes the function that converts a quantization step size to a quantization parameter. The result of the division operation in (25) is truncated to integer.

Note that, compared to the original scheme [19], the quantiza-tion step sizes instead of quantizaquantiza-tion parameters are used to de-termine the quantization parameter for the current I-frame. Note also that the maximum adjustment is 1, as shown in the second term on the right-hand side of (25), instead of 2. This prevents the I-frame from overusing its bit budget while still providing reference frames with sufficient quality. Furthermore, smaller adjustment helps to maintain uniform picture quality.

2) QPs of P-Frames: The quantization parameter for

P-frames is determined according to three different

quantiza-tion parameters, , , and , which are

computed with different considerations and are described in detail in the following.

In [22], a one-pass VBR control algorithm based on the av-erage coding complexity is proposed

(26)

where denotes the quantization parameter, denotes the target bit rate, and is the average complexity of all coded frame calculated by (7). Instead of using the target bit rate in (26), Song et al. [23] proposed to use the average of the re-maining number of bits. That is

(27)

To produce constant video quality, it is usually needed to pre-an-alyze the whole video sequence or to encode the video several times. By using the long-term average of the coding complexi-ties, these one-pass VBR rate control algorithms achieve nearly uniform picture quality without pre-analysis. Note that uniform quality can be achieved by keeping constant quantization pa-rameter. Because is close to the actual average complexity of the whole sequence and is close to the target bit rate, the resulting approaches to a constant which is the actual average quantization parameter. Base on this concept, is deter-mined by

(28)

Note that, unlike [22] and [23], in the proposed algorithm is calculated using the quantization step sizes rather than the quantization parameters. The resulting quantization step size, which would be close to the actual average step size of the whole sequence, is mapped to a quantization parameter by the function

(7)

Fig. 8. Transition from a high-activity scene to a low-activity scene.

The quantization parameter for the current frame is computed by

(29) where is the quantization parameter computed according to the CBR rate control algorithm described in [19], and the distortion-based quantization parameter is computed by the quadratic model described in [21] with the target bits allocated according to the distortion of the base sequence and the ROI sequence.

The three quantization parameters have different purposes. is calculated for the purpose of ensuring the current frame to have the same quality as the average quality of previous frames, and is for producing almost constant quanti-zation parameter to eliminate quality fluctuation.

Consider the case of a transition from a scene with high ac-tivity (low PSNR) to a scene with low acac-tivity (high PSNR) as shown in Fig. 8. The solid line represents the PSNR curve of the base sequence, the dashed line and the bold line, represent the PSNR curves of the ROI sequence obtained by a CBR rate con-trol algorithm and the proposed algorithm, respectively. Recall that the proposed algorithm aims at producing constant-quality video. However, when the PSNR of the current frame in the base sequence is higher than the average PSNR of the previous frames, the allocated bits calculated by (17) would be unnec-essarily fewer than the channel can provide. Furthermore, the adjustment factor introduced in (19), which takes advantages of the local stationary property, prevents the distortion of the ROI video from changing too drastically. As a result, the quality level would not rise as the activity becomes lower.

To solve this problem, we introduce the quantization pa-rameter of the CBR rate control algorithm, , into the algorithm. If the scene is changing from high activity to low activity, the quantization parameter selection mechanism will choose instead of other values so that the output quality level can match the changing of the scene activity.

On the other hand, consider the case shown in Fig. 9 where there is a transition from a scene with low activity (high PSNR) to a scene with high activity (low PSNR). If the ROI video is encoded with a CBR rate control algorithm, the resulting curve is shown by the dashed line. Because of the constant channel bandwidth constraint, a sudden drop of the quality arises. To

Fig. 9. Transition from a low-activity scene to a high-activity scene.

solve this problem, the quantization parameter is in-troduced to prevent the PSNR from dropping suddenly. The re-sulting PSNR would change smoothly to the new quality level as indicated by the bold line in Fig. 9.

Based on the selected quantization parameter, RDO motion estimation and mode decision can then be performed.

IV. SIMULATIONRESULTS

To evaluate its performance, the proposed rate control algo-rithm is implemented on the H.264 reference software JM 8.4 [7] which serves as the test benchmark. The output video quality and the quality variation of the proposed algorithm are com-pared with those of JM 8.4.

To simulate the surveillance system that consists of multiple video encoders with single video source, two sets of sequences, QCIF size and CIF size, are used to represent the base sequences and the ROI sequences, respectively. The CIF size sequences represent the input sequences at the original resolution, while the QCIF size sequences represent the down-sampled version of the corresponding regions in the input video sequences.

There are eight sequences used in the simulations: Container,

Foreman, Mobile & Calendar, Mother & Daughter, Salesman, Silent, Stefan, and Table Tennis. They all consist of 300 frames

at 30 fps. The base sequences are encoded by JM 8.4, and after coding the current frame in the base sequence, the reconstructed distortion and the MAD are input to the ROI encoder for MAD prediction and bit allocation.

Two sets of simulations are performed. The first one is baseline profile simulation, where no B-frame is involved. The second one is main profile simulation with an [IBBPBBP…] GOP structure. Both sets of simulations have a GOP size of 30. The ROI encoder is configured to have five reference frames, a search range of 16, and quarter-pel motion vector resolution. Rate-distortion optimization and the Hadamard transform are turned on. In the baseline profile simulation, CAVLC is used for symbol coding, while CABAC is used in the main profile simulation. The parameters , , , and in the proposed algorithm are set to 30, 40, 1.2, and 0.8, respectively.

The performance of rate control is measured in terms of the average output bit rate, the average PSNR, and the variance of PSNR for the whole sequence. Note that the PSNR values are measured on the luminance component only. Table I shows the encoding results of JM 8.4 and the proposed algorithm in the

(8)

TABLE I

PERFORMANCECOMPARISON FOR[IPPP…] GOP STRUCTURE

TABLE II

PERFORMANCECOMPARISON FOR[IPPP…] GOP STRUCTURE

baseline profile simulation. From the values of the PSNR vari-ance, we can see that the quality variation between frames for our algorithm is considerably less than the JM 8.4 rate con-trol algorithm. In addition, the proposed rate concon-trol algorithm saves about 0.52 kbps in bit rate, while the overall quality is on average improved by 0.2 dB. All together, the proposed algo-rithm can achieve significant overall-quality improvement, less

quality fluctuation, and bit rate saving. The encoding results of the main profile simulation shown in Table II also show that the quality variation between frames for our algorithm is reduced significantly. Besides, it gains an average of 0.2 dB in PSNR and 1.43 kbps in bit rate over the rate control algorithm in JM 8.4.

Several sequences are selected to demonstrate the transient behavior. The plots of PSNR versus frame number of sequence

(9)

Fig. 10. PSNR curves of JM 8.4 and the proposed algorithm for [IPPP…] GOP structure.

Stefan, Foreman, and Silent with [IPPP…] GOP structure are

shown in Fig. 10. The dashed line represents the PSNR curve of the JM 8.4 rate control algorithm while the solid line represents that of the proposed algorithm. We can see that quality variation of the proposed algorithm is much smaller than that of the JM 8.4. Similar behaviors are also observed in the second set of sim-ulations. The plots of PSNR versus frame number of sequence

Container, Foreman, and Mother & Daughter with [IBBP…]

GOP structure are shown in Fig. 11.

Since constant-quality rate control cannot guarantee constant output bit rate, it is necessary to ensure that buffer overflow does not occur. Fig. 12 shows the virtual buffer fullness. As can be seen, constant video quality achieved by the proposed algorithm comes at the cost of higher buffer level. However, frame drop-ping would not occur since the buffer fullness of the proposed algorithm is within the buffer size constraint.

Fig. 11. PSNR curves of JM 8.4 and the proposed algorithm for [IBBP…] GOP structure.

V. CONCLUSION

A constant-quality rate control algorithm for multiple video encoders with single video source has been presented in this paper. With the additional information obtained from the base encoder, the proposed algorithm can calculate the bits that are needed to encode the current frame of the ROI sequence at the same quality level as the previous frames. The performance of the proposed algorithm is evaluated by comparing with the JM 8.4 rate control algorithm. The simulation results show that the proposed algorithm significantly outperforms JM 8.4 by achieving an average of 38% reduction in the PSNR variation, 0.2-dB gain in the overall PSNR, and 0.97 kbps reduction in the overall bit rate. The proposed algorithm operates in the frame layer. However, it can be applied to macroblock-layer QP adaptation as well.

(10)

Fig. 12. Buffer fullness curves of JM 8.4 and the proposed algorithm for [IPPP…] GOP structure.

In this work, we explore the inter-relationship between two independent encoders that encode the same content at different image resolutions and exploit such inter-relationship to better control the quality of the ROI encoder. To extend the proposed rate control algorithm to a multilayer video coding scheme such as SVC [24]–[27] with inter-layer prediction, the R-D charac-teristic of the residual signal in each layer has to be studied. An accurate R-D model for the residual signal is needed. Then the bits can be allocated according to the new frame complexity measure calculated based on the new R-D model.

REFERENCES

[1] Information Technology-Coding of Moving Pictures and Associated

Audio for Digital Storage Media at Up to About 1.5 Mbit/s-Part 2: Video, ISO/IEC 11172-2, 1993.

[2] Information Technology-Generic Coding of Moving Pictures and

As-sociated Audio Information-Part 2: Video, ISO/IEC 13818-2, 1995.

[3] Information Technology-Coding of Audio/Visual Objects, ISO/IEC 14496-2, 1999.

[4] Video Codec for Audio Visual Services atp2 64 Kbits/s, ITU-T Rec. H.261, 1990.

[5] Video Coding for Low Bit Rate Communication, ITU-T Rec. H.263, Jan. 1998.

[6] Draft ITU-T Recommendation and Final Draft International Standard

of Joint Video Specification, ITU-T Rec. H.264|ISO/IEC 14496-10

AVC, 2003.

[7] Joint Model Reference Software Version 8.4. JVT of ISO/IEC MPEG and ITU-T VCEG.

[8] Test Model 5, ISO/IEC JTC1/SC29/WG11/N0400, Apr. 1993. [9] M. R. Pickering and J. F. Arnold, “A perceptually efficient VBR rate

control algorithm,” IEEE Trans. Image Process., vol. 3, pp. 527–532, Sep. 1994.

[10] T. V. Lakshman, A. Ortega, and A. R. Reibman, “VBR video: Trade-offs and potentials,” Proc. IEEE, vol. 86, no. 5, pp. 952–972, May 1998. [11] Y. Yu, J. Zhou, Y. Wang, and C. W. Chen, “A novel two pass VBR coding algorithm for fixed-size storage application,” IEEE Trans.

Cir-cuits Syst. Video Technol., vol. 11, no. 3, pp. 345–356, Mar. 2001.

[12] P. H. Westerink, R. Rajagopalan, and C. A. Gonzales, “Two-pass MPEG-2 variable-bit rate coding,” IBM J. Res. Develop, vol. 43, no. 4, pp. 471–488, Jul. 1999.

[13] H. B. Yin, X. Z. Fang, L. Chen, and J. Hou, “A practical consistent-quality two-pass VBR video coding algorithm for digital storage appli-cation,” IEEE Trans. Consum. Electron., vol. 50, no. 4, pp. 1142–1150, Nov. 2004.

[14] D. Bagni, B. Biffi, and R. Ramalho, “A constant-quality, single-pass VBR control for DVD recorders,” IEEE Trans. Consum. Electron., vol. 49, no. 3, pp. 653–662, Aug. 2003.

[15] A. Jagmohan and K. Ratakonda, “MPEG-4 one-pass VBR rate control for digital storage,” IEEE Trans. Circuits Syst. Video Technol., vol. 13, no. 5, pp. 447–452, 2003.

[16] S. Kondo and H. Fukuda, “A real-time variable bit rate MPEG2 video coding method for digital storage media,” IEEE Trans. Consum.

Elec-tron., vol. 43, no. 3, pp. 537–543, Aug. 1997.

[17] Y. J. Liang, H. Wang, and L. El-Maleh, “Design and implementation of content-adaptive background skipping for wireless video,” in Proc.

IEEE Int. Symp. Circuits Syst., Kos, Greece, May 2006, pp. 2865–2868.

[18] Y.-L. Lin, S.-F. Lin, Y.-F. Hsu, and H. H. Chen, “Improving the coding of regions of interest,” in IEEE Int. Symp. Circuits Syst., Kos, Greece, May 2006, pp. 4313–4316.

[19] Z. G. Li et al., “Adaptive rate control with HRD consideration,” pre-sented at the 8th JVT Meeting, Geneva, Switzerland, May 2003, JVT-H014.

[20] J. Yang, Q. Dai, W. Xu, and R. Ding, “A rate control algorithm for MPEG-2 to H.264 real-time transcoding,” in Proc. SPIE Vis.Commun.

Image Process., Beijing, China, Jul. 2005, pp. 1995–2003.

[21] H.-J. Lee, T. Chiang, and Y.-Q. Zhang, “Scalable rate control for MPEG-4 video,” IEEE Trans. Circuits Syst. Video Technol., vol. 10, no. 6, pp. 878–894, Sep. 2000.

[22] Y. Yokoyama and Y. Ooi, “A scene-adaptive one-pass variable bit rate video coding method for storage media,” in Proc. IEEE Int. Conf.

Image Process., Oct. 1999, vol. 3, pp. 827–831.

[23] B. C. Song and K. W. Chun, “A one-pass variable bit rate video coding for storage media,” IEEE Trans. Consum. Electron., vol. 49, no. 3, pp. 689–692, Aug. 2003.

[24] H. Schwarz, D. Marpe, and T. Wiegand, Subband Extension of H.264/

AVC, 2004, ISO/IEC JTC1/SC29/WG11 MPEG04/M10569/S03.

[25] J.-R. Ohm, Complexity and Delay Analysis of MCTF Interframe

Wavelet Structures, 2002, ISO/IEC JTC1/WG11 Doc. M8520.

[26] M. Flierl and B. Girod, “Video coding with motion-compensated lifted wavelet transforms,” in Proc. PCS, Apr. 2003, pp. 59–62.

[27] L. Xu, S. Ma, D. Zhao, and W. Gao, “Rate control for scalable video model,” in Proc. SPIE Vis. Commun. Image Process., Jul. 2005, vol. 5960, pp. 525–534.

Ping-Hao Wu received the B.S. degree in electrical

engineering and the M.S. degree in communication engineering from National Taiwan University, Taiwan, R.O.C., in 2004 and 2006, respectively.

He is currently a graduate student in the De-partment of Electrical Engineering, University of Southern California, Los Angeles. His research interests include digital signal processing and video coding.

(11)

Homer H. Chen (S’83–M’86–SM’01–F’03)

re-ceived the Ph.D. degree in electrical and computer engineering from University of Illinois at Ur-bana-Champaign.

Since August 2003, he has been with the College of Electrical Engineering and Computer Science, National Taiwan University, Taiwan, R.O.C., where he is Irving T. Ho Chair Professor. Prior to that, he had held various research and development management and engineering positions in leading US companies including AT&T Bell Labs, Rockwell

Science Center, iVast, and Digital Island over a period of 17 years. He was a US delegate of the ISO and ITU standards committees and contributed to the development of many new interactive multimedia technologies that are now part of the MPEG-4 and JPEG-2000 standards. His research interests lie in the broad area of multimedia processing and communications.

Dr. Chen is an Associate Editor of IEEE TRANSACTIONS ONCIRCUITS AND SYSTEMS FORVIDEOTECHNOLOGY. He served as Associate Editor for IEEE TRANSACTIONS ONIMAGEPROCESSINGfrom 1992 to 1994, Guest Editor for IEEE TRANSACTIONS ONCIRCUITS ANDSYSTEMS FORVIDEOTECHNOLOGYin 1999, and Editorial Board Member for Pattern Recognition from 1989 to 1999.

數據

Fig. 1. A high-resolution camera and the base and ROI encoders.
Fig. 2. Video surveillance system with one single video source, one down-sampler, and one ROI detector.
Fig. 3. Average QP-bpp curve of 12 CIF sequences encoded at 8 different bit rates, (a) N = 30 and M = 1, (b) N = 30 and M = 3, where N is the GOP size and M the sub-GOP size.
Fig. 4. MAD curves of Foreman.
+6

參考文獻

相關文件

6 《中論·觀因緣品》,《佛藏要籍選刊》第 9 冊,上海古籍出版社 1994 年版,第 1

The first row shows the eyespot with white inner ring, black middle ring, and yellow outer ring in Bicyclus anynana.. The second row provides the eyespot with black inner ring

You are given the wavelength and total energy of a light pulse and asked to find the number of photons it

好了既然 Z[x] 中的 ideal 不一定是 principle ideal 那麼我們就不能學 Proposition 7.2.11 的方法得到 Z[x] 中的 irreducible element 就是 prime element 了..

Wang, Solving pseudomonotone variational inequalities and pseudocon- vex optimization problems using the projection neural network, IEEE Transactions on Neural Networks 17

volume suppressed mass: (TeV) 2 /M P ∼ 10 −4 eV → mm range can be experimentally tested for any number of extra dimensions - Light U(1) gauge bosons: no derivative couplings. =>

Define instead the imaginary.. potential, magnetic field, lattice…) Dirac-BdG Hamiltonian:. with small, and matrix

incapable to extract any quantities from QCD, nor to tackle the most interesting physics, namely, the spontaneously chiral symmetry breaking and the color confinement.. 