|
1.IntroductionMotion estimation is an essential part of most video coding standards. Although the full search (FS) method gives the best performance, it incurs enormous computational complexity. Thus, many low-complexity motion estimation algorithms have been proposed, including the one-bit transform (1BT), two-bit transform (2BT), and constrained 1BT (C1BT) methods.1–3 These low-complexity methods greatly reduce the complexity, but they lead to very low peak signal-to-noise ratio (PSNR) values. In order to solve this problem, many hybrid methods have been proposed that combine the low-complexity methods with the FS method. For example, the modified 1BT (M1BT) method combines the 1BT method with the FS method.4 The modified 2BT (M2BT) and modified C1BT (MC1BT) methods also combine low-complexity methods with the FS method.5,6 This paper proposes an efficient search scheme that not only reduces the complexity, but also improves the performance of these conventional hybrid methods. 2.Conventional Hybrid MethodsThe FS method is based on the sum of absolute differences (SAD) measure, which is defined as follows: where and represent the current and reference images, respectively, is the size of a macroblock, and represents the motion vector. The 1BT method has been proposed to reduce the high computational complexity of the FS method.1 It uses a filter kernel to filter the original image and to obtain a filtered image .7,8 The filtered image is compared with the original image to obtain a binary image as follows:Instead of using the SAD measure, the 1BT method uses the number of non-matching points (NNMP) measure, which is defined as follows: where and represent the current and reference binary images, respectively, represents the 1-bit XOR operation, and determines the search range. The 2BT and C1BT methods are also based on 1-bit operations although they use slightly different NNMP measures.2,3 Although the 1BT, 2BT, and C1BT methods are all low-complexity solutions, they lead to relatively very low PSNR values when compared with the FS method.Thus, Ref. 4 proposed a hybrid method, called the M1BT algorithm, which combines the low-complexity 1BT algorithm with the high-accuracy FS algorithm. In the first stage of the M1BT method, two motion vectors, and , are selected, which have the lowest and second lowest NNMP values. Then, the SAD of the motion vector is computed. If it is less than a threshold value , is selected as the final motion vector. Otherwise, the SAD of the second motion vector is computed. If it is smaller than , is selected as the final motion vector. If not, the search process goes on to the second stage. The second stage consists of two steps, as shown in Fig. 1. In the first step of the second stage, the SAD values of four additional points (in addition to the center point) are computed, and then the point with the minimum SAD is selected as the center point for the second step. In the second step, the SAD values of eight additional points (i.e., the square-shaped points in Fig. 1) are computed. The two steps are applied for and , and the point with the minimum SAD is selected as the final motion vector. The M1BT method leads to a good tradeoff between performance and complexity, and as a result, several similar approaches have been proposed. For example, the 2BT and C1BT methods have been combined with the FS method to yield the M2BT5 and MC1BT6 methods, respectively. 3.Proposed MethodThe SAD computation in Eq. (1) requires relatively complex full-bit operations, whereas the NNMP computation in Eq. (3) uses only simple 1-bit operations. In order to reduce the complexity of the SAD operation, it is possible to use some subsampled SAD (SSAD) measures as follows:4 The SSAD computation, however, is still much more complex than the NNMP computation. Thus, it is important to reduce the number of search points that require SAD (or SSAD) computations. It is possible to use only one of or in order to reduce the number of search points, but this will lead to considerable performance degradation. However, after analyzing extensive simulation results, we found that and are, in most cases, located very close to each other. Table 1 shows the probability distribution of Euclidean distance (ED) between and for various video sequences. As can be seen from the table, is very small in most cases. Table 1Euclidean distance between mv1 and mv2 in M1BT.
Here, it is important to note that the search areas around and mostly overlap when is very small. Thus, the proposed method will search only one search area without checking the other one if is less than or equal to 4. To be more precise, the proposed method will check only the search points around , where represents either or , whichever has a smaller SAD value (it should be noted that the SAD of may be smaller than that of , even though the NNMP of is always smaller than that of ). This new scheme will significantly decrease the number of search points at the expense of slight PSNR degradation, and the simulation results will be given in the next section. The M1BT method performs well when either or is located near , where represents the optimal motion vector determined by the FS method. This is usually the case, but sometimes, both and can become quite large. On the other hand, all of the search points in the M1BT method are located within very small areas around and . To be more precise, for every search point around , is always less than or equal to 4, as can be seen in Fig. 1. The same is true for and every search point around . Thus, when both and are quite large, will also be quite large, leading to significant PSNR degradation, where represents the final motion vector determined by the M1BT method. After analyzing diverse simulation results, we found that and are quite large when the area around the current macroblock contains high motion. Thus, the proposed method will adaptively determine and (in Fig. 1), based on the degree of motion (it should be mentioned that and are fixed to 2 and 1, respectively, in the original M1BT method). In order to account for the degree of motion, we use the information of the co-located macroblock (i.e., the macroblock at the same position in the previous frame) as follows: where represents the motion vector of the co-located macroblock, is a scaling constant, and LB and UB represent the lower and upper bounds for . The values of , LB, and UB in Eq. (5) have been determined to be 6, 3, and 24, respectively, based on extensive simulation results. After is decided, we will determine (i.e., the between search points) in such a way that all of the search points are located evenly within the search area. Thus, we determine as follows:It should be emphasized that the proposed dynamic search range method does not increase the number of search points even if and are larger than the original values. Instead, it just checks a different set of search points. In other words, the proposed method skips some of the search points around the search center, but checks some additional search points that are far from the search center (when and are large). Finally, it should be noted that there are some frames that do not have motion vector information for the co-located macroblocks. For example, the first two frames in a video sequence with an IPPP… structure are such cases. For frames like this, and will be used, which are values that have also been determined based on extensive simulation results. We will call the proposed method the dynamic M1BT (DM1BT) method since the number of search points and the search area are dynamically determined. 4.Comparison with the Conventional MethodsTable 2 compares the proposed DM1BT method with the conventional 1BT and M1BT methods in terms of the PSNR and the total number of search points that require SSAD computation. Both the macroblock size and the search range were set to 16, and the SSAD measure in Eq. (4) was used in the simulation. As mentioned in the previous section, the DM1BT method is based on two techniques. First, it reduces the complexity by checking only one of two neighboring search areas. Second, it improves the performance by adaptively deciding and . In order to examine the effect of each technique, Table 2 shows three kinds of results for the proposed method, where the method uses only the first technique, the method uses only the second technique, and the DM1BT method uses both techniques. Table 2Comparison with the 1BT and M1BT methods.
First of all, we can see that the method uses a much smaller number of search points than M1BT. As mentioned, this is because the method checks only one of the two search areas when the distance between and is small. On average, the method reduces the number of search points by 36.1%. On the other hand, the PSNR degradation is negligible. This is because the final motion vectors of are, in most cases, the same as those of M1BT. The hit rate in Table 2 represents the probability that the final motion vectors of and M1BT are the same. As can be seen, the hit rates of the method for various test sequences are quite high. Table 2 also shows that the method significantly improves the PSNR performance of the M1BT method. As explained in the previous section, this is because the method adaptively increases the search range when a video sequence contains high motion. It should be noted that the method uses a slightly smaller number of search points than the M1BT method. This is because some of the candidate search points in the method go beyond the boundary of the frame when and are large. As expected, we can see that the DM1BT method, which is based on both techniques, not only decreases the number of search points, but also improves the PSNR performance. On average, the DM1BT method increases the PSNR of M1BT by 0.36dB and reduces the number of search points by 37.3%. It can also be seen that the hit rates of DM1BT (as compared with ) are very high although they are slightly smaller than the hit rates of (as compared with M1BT). Finally, it should be mentioned that the proposed search scheme can be easily applied to other hybrid search methods, such as the M2BT5 and MC1BT6 methods, which also use two search centers and fixed search ranges. Table 3 compares the proposed DM2BT method with the conventional 2BT and M2BT methods, whereas Table 4 compares the proposed DMC1BT method with the conventional C1BT and MC1BT methods. As can be seen, the DM2BT and DMC1BT methods also efficiently enhance the conventional M2BT and MC1BT methods in terms of both PSNR performance and computational complexity. Table 3Comparison with the 2BT and M2BT methods.
Table 4Comparison with the C1BT and MC1BT methods.
5.ConclusionsWe proposed a new low-complexity block motion estimation method. Using the fact that the two search centers are closely located in most cases, the proposed method significantly reduces the number of search points and hence the overall complexity. It also improves the PSNR performance by using an adaptive search scheme based on the motion vector information of the co-located macroblock. The proposed search scheme can be easily applied to many hybrid motion estimation methods. AcknowledgmentsThis research was supported by the Chung-Ang University excellent freshman scholarship grants in 2012, the Ministry of Knowledge Economy (MKE), Korea, under the Information Technology Research Center support program (NIPA-2012-H0301-12-4004) supervised by the National IT Industry Promotion Agency, and the Human Resources Development of the Korea Institute of Energy Technology Evaluation and Planning grant funded by the Korea government MKE (No. 20104010100570). ReferencesB. NatarajanV. BhaskaranK. Konstantinides,
“Low-complexity block-based motion estimation via one-bit transform,”
IEEE Trans. Circ. Syst. Video Tech., 7
(4), 702
–706
(1997). http://dx.doi.org/10.1109/76.611181 ITCTEM 1051-8215 Google Scholar
A. ErtürkS. Ertürk,
“Two-bit transform for binary block motion estimation,”
IEEE Trans. Circ. Syst. Video Tech., 15
(7), 938
–946
(2005). http://dx.doi.org/10.1109/TCSVT.2005.848340 ITCTEM 1051-8215 Google Scholar
O. Urhan,
“Constrained one-bit transform for low complexity block motion estimation,”
IEEE Trans. Circ. Syst. Video Tech., 17
(4), 478
–482
(2007). http://dx.doi.org/10.1109/TCSVT.2007.893828 ITCTEM 1051-8215 Google Scholar
P. H. W. WongO. C. Au,
“Modified one-bit transform for motion estimation,”
IEEE Trans. Circ. Syst. Video Tech., 9
(7), 1020
–1024
(1999). http://dx.doi.org/10.1109/76.795055 ITCTEM 1051-8215 Google Scholar
B. DemirS. Ertürk,
“Block motion estimation using modified two-bit transform,”
Lect. Notes Comput. Sci., 4263 522
–531
(2006). http://dx.doi.org/10.1007/11902140 LNCSD9 0302-9743 Google Scholar
H. Y. Ohet al.,
“Modified constrained one-bit transform based fast block motion estimation,”
IEEE Trans. Consum. Electron., 53
(3), 1093
–1097
(2007). http://dx.doi.org/10.1109/TCE.2007.4341590 ITCEDA 0098-3063 Google Scholar
O. Urhan,
“Constrained one-bit transform-based motion estimation using predictive hexagonal pattern,”
J. Electron. Imag., 16
(3), 033019
(2007). http://dx.doi.org/10.1117/1.2769321 JEIME5 1017-9909 Google Scholar
S. Ertürk,
“Multiplication-free one-bit transform for low-complexity block-based motion estimation,”
IEEE Signal Proc. Lett., 14
(2), 109
–112
(2007). http://dx.doi.org/10.1109/LSP.2006.882088 IESPEJ 1070-9908 Google Scholar
BiographySojeong Lim received her BS degree in electrical and electronics engineering from Chung-Ang University, Seoul, Korea in 2012. She is currently working toward an MS degree in electrical and electronics engineering from Chung-Ang University. Her research interests include video compression algorithms for H.264/AVC and HEVC. Jungwoo Kim received his BS degree in electrical and electronics engineering from Chung-Ang University, Seoul, Korea in 2012. He is currently working toward an MS degree in electrical and electronics engineering from Chung-Ang University. His research interests include video compression algorithms for H.264/AVC and HEVC. Sungwook Yu received his BS degree in electrical engineering from Seoul National University, Seoul, Korea, in 1992. He received his MS and PhD degrees in electrical and computer engineering from the University of Texas at Austin, in 1996 and 2000, respectively. From 1999 to 2000, he worked at SiLogiX in Austin, TX, and from 2000 to 2004, he worked at Intel Corp. in Austin, TX. He worked for a year at Samsung Semiconductor Inc. in Korea before joining the faculty of electrical and electronics engineering department in Chung-Ang University, Seoul, Korea in 2005. His research interests are in the area of ASIC design for image and video processing applications. |