Next Article in Journal
Health Monitoring of Conveyor Belt Using UHF RFID and Multi-Class Neural Networks
Previous Article in Journal
Remote Heart Rate Estimation by Pulse Signal Reconstruction Based on Structural Sparse Representation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

All Directional Search Motion Estimation Algorithm

Lendi Institute of Engineering & Technology (A), Jonnada 535005, India
*
Author to whom correspondence should be addressed.
Electronics 2022, 11(22), 3736; https://doi.org/10.3390/electronics11223736
Submission received: 12 October 2022 / Revised: 7 November 2022 / Accepted: 11 November 2022 / Published: 15 November 2022
(This article belongs to the Section Electrical and Autonomous Vehicles)

Abstract

:
The search performance of block-matching motion estimation algorithms, i.e., search speed and motion estimation quality, mainly depends on the shape and size of the search pattern. Most motion estimation algorithms employ search patterns of square, diamond, hexagonal, cross diamond or cross hexagonal shapes. These search patterns achieve good results for video sequences with simple motion activity, but unfavourable results for video sequences with complex motion activity. After a thorough investigation of the effect of search pattern on search performance, this paper proposes an all-direction search (ADS) pattern, which searches for the best block in all possible directions. For further improvement in search speed, a half way stop technique is applied in search process. The results show that the proposed ADS algorithm outperforms other state-of-the-art and eminent motion estimation algorithms. The higher the direction complexity in the neighbouring motion vectors, the better the prediction quality of ADS, which is further proved by the simulation results.

1. Introduction

In this digital universe, the amount of video data that is to be stored or transmitted through the internet is growing rapidly and it leads to many challenges in video coding techniques. Motion Estimation (ME) plays an important role in having an effective video compression performance in video coding. The block-matching motion estimation algorithms in video encoders are mainly employed for estimating the motion of objects between successive pictures of a video sequence. However, these algorithms demand huge computation when compared to the remaining processes of the video encoder. Hence, researchers have concentrated on developing fast block-matching motion estimation algorithms to enhance the search speed.
The full-search (FS) algorithm gives the utmost quality i.e., high peak signal to noise ratio (PSNR), but it takes an enormous amount of computation. In order to alleviate this problem, many block-matching motion estimation algorithms have been developed [1]. These algorithms are classified as fast-full-search block-matching motion-estimation algorithms (FFSB-ME) [2,3,4,5,6,7,8,9,10] and fast-search block-matching motion-estimation algorithms (FSB-ME) [11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]. In the first category, the algorithms estimate motion with a PSNR which is equal to that of the FS algorithm. The computational cost of these algorithms is definitely less than that of FS but greater than that of second category algorithms. The second category algorithms estimate motion with fewer computations when compared to FFSB-ME algorithms, but the PSNR yielded is less than that of FS.
The motion information between reference and current frames of a video sequence is characterized with motion vectors. The motion vectors are found by selecting the best candidate blocks or search points in the reference frame. The current frame is portioned into non-overlapping equal sized blocks (macro blocks). It is required to find the motion of each block of a current frame with respect to a best matched block in a predefined search area of reference frame. The spatial difference between the coordinators of a macro block and a best matched candidate block is given by the motion vector. The complete description of the motion estimation process is depicted in Figure 1. The error measurement for finding the best matched candidate block is given by the sum of absolute difference (SAD). The SAD between a macro block A and a candidate block B is given by Equation (1).
S A D = i = 0 M 1 j = 0 N 1 | A ( i ,   j ) B   ( i ,   j ) |
where M and N represent the number of rows and columns of the blocks A and B.
The most popular block-matching motion estimation algorithm in the first category is the successive elimination algorithm (SEA) [1]. This algorithm calculates a boundary, i.e., a sum norm difference (SND), before calculating the full distortion measure, i.e., SAD. This SND boundary is a partial distortion measure which takes fewer computations when compared to SAD computations. Each candidate block (search point) is tested with SND to check the possibility of the search point being the best one. If any search point is decided as being an impossible search point, then it is skipped from the calculation of SAD. In this way, many computations are saved without loss in PSNR. Many enhancements to the SEA are proposed in the literature and these algorithms improve the speed of the search process.
The algorithms in the second category [11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31] check only the most promising search points instead of all the search points, as in fast full search algorithms. The most promising motion vectors are selected by various search patterns. Since only a few search points are checked, the resulting motion vectors may not be optimum. Thus, the second category algorithms are sub-optimal motion estimation algorithms. These sub-optimal motion estimation algorithms generally employ a coarse search pattern and a fine search pattern. At first, a coarse search pattern is applied continuously until a search centre becomes the best search point. The fine search pattern is applied once at the search centre to obtain the final motion vector.
The algorithms in [11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31] were developed to improve both the search speed and prediction quality (PSNR). The search patterns in these algorithms are directional search algorithms. If at any search step, there is a wrong direction, it leads to a local minimum. This is mainly because of directional search patterns. This paper proposes an all directional search (ADS) pattern. The proposed ADS searches for minimum search points in all eight possible directions. The rest of the paper is organized as follows: Section 2 briefs on fast search block-matching motion estimation algorithms. The proposed algorithm is presented in Section 3. Results and conclusions are given in Section 4 and Section 5, respectively.

2. Remarks on Fast Search Block-Matching Motion Estimation Algorithms

The algorithm that is highly suitable for finding the motion vectors with large motion is the three-step search (TSS) algorithm [10]. The coarse search pattern is in the shape of a rectangle. There are nine search points in this coarse search. Firstly, if the search range is ±7 then the eight search points at distance of 4 (ceil (7/2)) from the centre are checked in the first step, as shown in Figure 2a. Next, in the second step, the eight new search points are checked at a distance of (4/2) = 2 from the minimum search point in the first step, as shown in Figure 2b. Finally, the third step checks the eight new search points which are located at a distance of (2/2) = 1 from the minimum search point in the second step, as shown in Figure 2c. If the search range is ±s then, in total, the TSS takes log2(s + 1) search steps and has 1 + 8[log2(s + 1)] checking points.
The most popular sub-optimal motion estimation algorithm is the diamond search (DS) algorithm [12,13]. The coarse search pattern of the DS is a large diamond search pattern (LDSP) and the fine search pattern is a small diamond search pattern (SDSP). The DS algorithm applies the LDSP at the centre of the search window as shown in Figure 3a. If the minimum distortion search point is not the centre of the search window, then this LDSP is applied at a minimum distortion search point to find the new minimum distortion search point, as shown in Figure 3b. This process is continued until the minimum distortion search point is the centre of the LDSP. At any search step, if the minimum distortion search point is the centre of the LDSP then it applies the SDSP at the centre of the LDSP as shown in Figure 3c. The minimum distortion search point of this SDSP is the final motion vector.
The new three step search (NTSS) algorithm [14] is an improved version of the TSS. At the first search step, the eight search points around the search window centre and eight search points at distance of ceil (s/2) from the search window centre are checked, as shown in Figure 4a. If the minimum distortion point is at the search window centre then the search stops and the final motion vector is the search window centre. If the minimum distortion point is any one of the eight search points around the search window centre, then eight search points around the minimum distortion point are checked to find the final motion vector. If the minimum distortion point is any one of the eight search points at distance of ceil (s/2) from the search window centre, then the next two search steps of the TSS continue. The hexagon search (HS) algorithm [15] is an improved version of the DS. The coarse search pattern and fine search pattern in the HS are a large hexagon search pattern and small hexagon search pattern, respectively. The large HS pattern shape is closer to the circle.
The LDSP shape is not closer to the circle and so, the results obtained by the HS are more accurate than those of the DS. Figure 4b shows an example of searching for the motion vector by the HS algorithm. The cross-diamond search (CDS) algorithm [16] shows better performance when compared to DS. At first, it employs a cross shaped pattern (CSP) before applying the search patterns of the DS. A small amount of a motion vector related block within 5 × 5 search window is found by the CSP. This algorithm also uses a halfway-stop technique in order to locate the blocks that have a small amount of motion. The cross-diamond-hexagonal search (CDHS) [17] shows better performance when compared to the HS. At first, it employs a cross shaped pattern before applying the search patterns of the HS. A small amount of motion vector related blocks within 5 × 5 search window are found by the cross shaped pattern. This algorithm also uses a halfway-stop technique in order to locate the blocks that have a small amount of motion. A star-diamond (SD) search pattern is proposed in [23]. This algorithm applies a star shaped search pattern with nine search points for coarse search and applies a small diamond pattern for fine search. It provides better performance than the diamond search algorithm. In [24], the authors have proposed a diamond–hexagon search algorithm which provides the benefits of both diamond and hexagonal search patterns for better results. The authors of [25] have proposed a prediction-biased motion estimation algorithm by employing the diamond search pattern. This algorithm provides reduced computational cost with good image quality. In [26], an enhanced adaptive threshold motion estimation algorithm is described, which assigns a weight adaptively to the search for better performance in terms of computational cost.

3. All Directional Search (ADS) Pattern

This paper proposes a search pattern which searches for the best point in all possible eight directions as shown Figure 5. These eight possible search directions are given by 0, π/4, π/2, 3π/4, π, 5π/4, 3π/2, and 7π/4. There are two search points in each search direction. In total, 16 search points enclose the search window centre evenly. The main aim of the ADS is to search for the minimum search point in all directions. Thus, the possibility of being trapping into a local optimum is reduced. The way to find a motion vector by using the ADS is effective and simple. First, the ADS is applied at the search window centre. The new ADS is placed at the minimum search point, which is obtained in the previous search step. This procedure is repeated until the search centre becomes the minimum search point. This minimum search point is the final motion vector. The procedure for finding a motion vector by using the ADS is summarized as follows.
  • The ADS is applied at the search window centre.
  • Calculate the SAD values at the all the search points and find the minimum SAD among them.
  • If the minimum SAD point is in the centre go to step 5.
  • Apply the ADS at the minimum SAD point and go to step 2.
  • The minimum SAD point at the centre is the final motion vector.
When the ADS is continuously applied, some search points are common in two consecutive search steps. The common search points are not checked and non-common search points are checked in the new search step. The procedure for searching the motion vector with the ADS is shown in Figure 6. The ADS searches slightly more search points: but it attains nearly as much PSNR as the FS does. In order to reduce the number of search points, a half way stop technique is employed in this paper. First, check the eight search points around the search window centre. If the minimum SAD point is at the centre, then stop the search i.e., the remaining search points of the ADS are eliminated from checking. In this way, the computational cost is saved with an insignificant PSNR drop.

4. Results

The simulation results from the proposed algorithm and other famous motion estimation algorithms are obtained with the experimental arrangement as follows: The PSNR measurement is used to check the error between the current frame and predicted frame. The computational cost is represented by the average number of operations including additions, subtractions and absolute operations per block. The first 100 frames of various video sequences are considered and these sample frames of test video sequences are shown in Figure 7. The block size and search range are set to 16 × 16 and ±15, respectively.
The average number of operations per block (ANOB) and average PSNR values for the proposed ADS algorithm and other state-of-the-art and well-known motion estimation algorithms for various videos are summarized in Table 1 and Table 2, respectively. It can be observed from Table 1 and Table 2 that the proposed ADS algorithm shows better PSNR performance with a lesser computational cost performance when compared with other famous motion estimation algorithms. As the ADS searches in all the directions, the average PSNR achieved with the ADS is larger than that achieved by the NTSS, DS, HS, CD, CDHS SDS, DHS and PDS. It can be observed from Table 1 that, on average, the proposed ADS algorithm achieves 47.85%, 38.27%, 33.53%, 28.31% and 23.96% of computation reduction when compared to well-known motion estimation algorithms such as NTSS, DS, HS, CD and CDHS, respectively. Similarly, 19.66%, 14.91% and 10.98% of computation reduction is achieved when compared to state-of-the-art motion estimation algorithms such as SDS, DHS and PDS.
For the Mobile video sequence which contains complex motions, i.e., motion in all directions, the proposed ADS algorithm achieves a maximum of 2.54 dB and a minimum of 0.26 dB better PSNR when compared with other algorithms. For the Rhinos and Boat video sequences which contain large motion, the proposed ADS algorithm achieves a better PSNR of maximum 4.18 dB and 3.28 dB and minimum 1.46 dB and 0.72 dB, respectively, compared to other algorithms.
For video sequences which contain medium motion such as the Foreman, Suzie, Cricket, Flower and News Flash video sequences, the proposed ADS algorithm achieves a better PSNR of maximum 3.56 dB, 1.37 dB, 5.62 dB, 4.39 dB and 2.72 dB and minimum 0.57 dB, 0.22 dB, 0.9 dB, 0.1 dB and 0.96 dB, respectively, compared to other algorithms. For other video sequences with small motion, the PSNR values of all the algorithms are almost the same, but the ADS has a slightly better PSNR.
To more clearly understand the comparative results shown in Table 1 and Table 2, a frame by-frame comparison of ANOB and PSNR of all the algorithms for various videos is shown in Figure 8 and Figure 9, respectively. In these figures, the X-axis represents the sequence number of each frame in the video sequence. Figure 8a–j clearly shows that the proposed ADS algorithm demands less computational cost compared to other algorithms. For the Mobile, Rhinos and Boat video sequences with complex motions and large motion, the proposed ADS algorithm substantially reduces the computations compared to other algorithms at each frame as shown in Figure 8b, Figure 8c, Figure 8d, respectively. As the ADS searches in all the directions, it can obtain a good motion prediction quality for video sequences with complex motions and large motion such as in the Mobile, Rhinos and Boat video sequences. This can be clearly observed from Figure 9b–d, where the average PSNR achieved with the ADS is larger than that obtained by other algorithms for the Mobile, Rhinos and Boat video sequences, respectively. For other video sequences with small and medium motion, the PSNR values of all the algorithms are almost same at each frame, but the ADS shows a slightly better PSNR as shown in Figure 9, and a computational reduction, as shown in Figure 8.

5. Conclusions

An efficient block-matching motion estimation algorithm using an all directional search (ADS) pattern is developed in this paper. The ADS algorithm demonstrates a substantial improvement in motion prediction quality, i.e., PSNR over the CDS, CDHS, SDS, DHS and PDS algorithms, while reducing computational cost. It is clear that the proposed ADS algorithm has a more reliably good quality performance than the CDHS and PDS, irrespective of large amounts of motion or small amounts of motion or medium amounts of motion or completely no motion. Furthermore, for video sequences with large amounts of motion, the ADS will possibly achieve much higher PSNR than that of the CDHS and PDS algorithms, while reducing computational cost.

Author Contributions

Conceptualization, P.A.V.; methodology, P.A.V.; software, P.A.V. and N.K.D.; validation, P.A.V., N.K.D. and S.B.; formal analysis S.S.; investigation, P.A.V.; resources, N.K.D. and S.S.; data curation, S.B. and S.S.; writing—original draft preparation; P.A.V. and N.K.D.; writing—review and editing, S.B. and S.S.; visualization, N.K.D. and S.B.; supervision, N.K.D., S.B. and S.S.; project administration, P.A.V., and N.K.D.; funding acquisition, N.K.D. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Acknowledgments

The authors would like to acknowledge the ECE staff for their timely cooperation and full support in taking results at the Central R & D Laboratory of Lendi IET (A). We would also like to thank the Principal and Management of Lendi IET (A) for the valuable moral support.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Srinivas Rao, K.; Paramkusam, A.V. Block Matching Algorithms for the Estimation of Motion in Image Sequences: Analysis. Pattern. Recognit. Image Anal. 2022, 32, 33–44. [Google Scholar] [CrossRef]
  2. Li, W.; Salari, E. Successive elimination algorithm for motion estimation. IEEE Trans. Image Process. 1995, 4, 105–107. [Google Scholar] [CrossRef] [PubMed]
  3. Lee, C.; Chen, L.H. A fast motion estimation algorithm based on the block sum pyramid. IEEE Trans. Image Process. 1997, 6, 1587–1591. [Google Scholar] [PubMed]
  4. Gao, X.Q.; Duanmu, C.J.; Zou, C.R. A Multilevel Successive Elimination Algorithm for block matching motion estimation. IEEE Trans. Image Process. 2000, 9, 501–504. [Google Scholar] [CrossRef]
  5. Zhu, C.; Qi, W.S.; Ser, W. Predictive Fine Granularity Successive Elimination for fast optimal block matching motion estimation. IEEE Trans. Image Process. 2005, 14, 213–221. [Google Scholar] [CrossRef]
  6. Liu, S.W.; Wei, S.D.; Lai, S.H. Fast Optimal Motion Estimation Based On Gradient-Based Adaptive Multilevel Successive Elimination. IEEE Trans. Circuits Syst. Video Technol. 2008, 18, 156–160. [Google Scholar]
  7. Song, B.C.; Chun, K.W.; Ra, J.B. A rate-constrained fast full-search algorithm based on block sum pyramid. IEEE Trans. Image Process. 2005, 14, 308–311. [Google Scholar] [CrossRef]
  8. Kim, J.N.; Kang, D.K.; Byun, S.C.; Lee, I.L.; Ahn, B.H. A fast full-search motion estimation algorithm using sequential rejection of candidates from hierarchical decision structure. IEEE Trans. Broadcast. 2002, 48, 43–46. [Google Scholar]
  9. Huang, Y.W.; Chien, S.Y.; Hsieh, B.Y.; Chen, L.G. Chen Global elimination algorithm and architecture design for fast block matching motion estimation. IEEE Trans. Circuits Syst. Video Technol. 2004, 14, 898–907. [Google Scholar] [CrossRef]
  10. Jung, J.; Lee, H.W.; Lee, J.H.; Park, D. A Novel Template Matching Scheme for Fast full-search Boosted by an Integral Image. IEEE Signal Process. Lett. 2010, 17, 107–110. [Google Scholar] [CrossRef]
  11. Koga, T.; Linuma, K.; Hirano, A.; Iijima, Y.; Ishiguro, T. Motion compensated inter frame coding for video conferencing. Proc. Nat. Telecommun. Conf. 1981, C9.6.1–C9.6.5. Available online: https://cir.nii.ac.jp/crid/1570854174952214656 (accessed on 6 October 2022).
  12. Tham, J.Y.; Ranganath, S.; Ranganath, M.; Kassim, A.A. A Novel Unrestricted Center-biased Diamond Search Algorithm for Block Motion Estimation. IEEE Trans. Circuits Syst. Video Technol. 1998, 8, 369–377. [Google Scholar] [CrossRef] [Green Version]
  13. Zhu, S.; Ma, K.K. A New Diamond Search Algorithm for Fast Block-matching Motion Estimation. IEEE Trans. Image Process. 2000, 9, 287–290. [Google Scholar] [CrossRef] [PubMed]
  14. Li, R.; Zeng, B.; Liou, M.L. A New Three-step Search Algorithm for Block Motion Estimation. IEEE Trans. Circuits Syst. Video Technol. 1994, 4, 438–442. [Google Scholar]
  15. Zhu, C.; Lin, X.; Chau, L.P. Hexagon-based Search Pattern for Fast Block Motion Estimation. IEEE Trans. Circuits Syst. Video Technol. 2002, 12, 349–355. [Google Scholar] [CrossRef] [Green Version]
  16. Cheung, C.-H.; Po, L.-M. A novel Cross-Diamond Search algorithm for fast block motion estimation. IEEE Trans. Circuits Syst. Video Technol. 2002, 12, 1168–1177. [Google Scholar] [CrossRef]
  17. Cheung, C.-H.; Po, L.-M. Novel Cross-Diamond-Hexagonal Search Algorithms for Fast Block Motion Estimation. IEEE Trans. Multimedia 2005, 7, 16–22. [Google Scholar] [CrossRef]
  18. Pan, Z.; Lei, J.; Zhang, Y.; Sun, X.; Kwong, S. Fast motion estimation based on content property for low-complexity H.265/HEVC encoder. IEEE Trans. Broadcast 2016, 62, 675–684. [Google Scholar] [CrossRef]
  19. Fan, R.; Zhang, Y.; Li, B. Motion Classification-Based Fast Motion Estimation for High-Efficiency Video Coding. IEEE Trans. Multimed. 2017, 19, 893–907. [Google Scholar] [CrossRef]
  20. Dong, L.; Pan, Z. Fast motion estimation algorithm using multilevel distortion search in Walsh–Hadamard domain. IET Image Process. 2017, 11, 22–30. [Google Scholar] [CrossRef]
  21. Shinde, T.S.; Tiwari, A.K. Efficient direction-oriented search algorithm for block motion estimation. IET Image Process. 2018, 12, 1557–1566. [Google Scholar] [CrossRef]
  22. Porto, R.; Perleberg, M.; Afonso, V.; Zatt, B.; Roma, N.; Agostini, L.; Porto, M. Fast and energy efficient approximate motion estimation architecture for real time 4 k uhd processing. J. Real Time Image Process. 2020, 18, 723–737. [Google Scholar] [CrossRef]
  23. Kerfa, D.; Belbachir, M.F. Star diamond: An efficient algorithm for fast block matching motion estimation in h264/avc video codec. Multimed. Tools Appl. 2016, 75, 3161–3175. [Google Scholar] [CrossRef]
  24. Priyadarshi, R.; Nath, V. A novel diamond-hexagon search algorithm for motion estimation. Microsyst. Technol. 2019, 25, 4587–4591. [Google Scholar] [CrossRef]
  25. Chatterjee, S.K.; Vittapu, S.K.; Kundu, S. Prediction-biased diamond search algorithm: A new approach to reduce motion estimation complexity. Microsyst. Technol. 2021, 27, 2027–2032. [Google Scholar] [CrossRef]
  26. Mishra, A.K.; Kohli, N. Enhanced adaptive threshold algorithm with weighted search points for fast motion estimation. Int. J. Inf. Tecnol. 2022, 1–13. [Google Scholar] [CrossRef]
  27. Agha, S.; Khan, M.; Jan, F. Efficient fast motion estimation algorithm for real-time applications. J. Real-Time Image Proc. 2022, 19, 403–413. [Google Scholar] [CrossRef]
  28. Kerfa, D.; Saidane, A. An efficient algorithm for fast block matching motion estimation using an adaptive threshold scheme. Multimed. Tools Appl. 2020, 79, 24173–24184. [Google Scholar] [CrossRef]
  29. Arnaudov, P.; Ogunfunmi, T. Artificially Intelligent Adaptive Search Fast Motion Estimation Algorithm for HD Video. J. Sign. Process Syst. 2020, 92, 389–408. [Google Scholar] [CrossRef]
  30. Lin, L.; Wey, I.-C.; Ding, J.-H. Fast predictive motion estimation algorithm with adaptive search mode based on motion type classification. Signal Image Video Process. 2016, 10, 171–180. [Google Scholar] [CrossRef]
  31. Arnaudov, P.; Ogunfunmi, T. Dynamically Adaptive Fast Motion Estimation Algorithm for HD Video. J. Sign. Process Syst. 2020, 92, 1115–1131. [Google Scholar] [CrossRef]
Figure 1. The basic idea of motion estimation.
Figure 1. The basic idea of motion estimation.
Electronics 11 03736 g001
Figure 2. The rectangular search patterns of TSS at (a) first search step (assume s = ±7), (b) second search step, a rectangular search pattern is placed around the minimum search point of the first search step and the step size is half of the first step, (c) third search step, a rectangular search pattern is placed around the minimum search point of the second step and the step size is half of the second step. The minimum search point at any search step is highlighted with red colour.
Figure 2. The rectangular search patterns of TSS at (a) first search step (assume s = ±7), (b) second search step, a rectangular search pattern is placed around the minimum search point of the first search step and the step size is half of the first step, (c) third search step, a rectangular search pattern is placed around the minimum search point of the second step and the step size is half of the second step. The minimum search point at any search step is highlighted with red colour.
Electronics 11 03736 g002
Figure 3. (a) A large diamond search pattern (LDSP) at search window centre, (b) new LDSPs are applied at minimum distortion search points if the minimum distortion search point is not at the centre of the LDSP, (c) a small diamond search pattern (SDSP) at the centre of the LDSP. The minimum search point at any search step is highlighted with red colour.
Figure 3. (a) A large diamond search pattern (LDSP) at search window centre, (b) new LDSPs are applied at minimum distortion search points if the minimum distortion search point is not at the centre of the LDSP, (c) a small diamond search pattern (SDSP) at the centre of the LDSP. The minimum search point at any search step is highlighted with red colour.
Electronics 11 03736 g003
Figure 4. Motion vector searching procedure with an example, (a) using NTSS at (2, 2), (b) using HS (3, −2). Each search point is identified by a step number and a point with red colour indicates the minimum search point.
Figure 4. Motion vector searching procedure with an example, (a) using NTSS at (2, 2), (b) using HS (3, −2). Each search point is identified by a step number and a point with red colour indicates the minimum search point.
Electronics 11 03736 g004
Figure 5. The All-Directional Search (ADS) pattern.
Figure 5. The All-Directional Search (ADS) pattern.
Electronics 11 03736 g005
Figure 6. An illustration of an ADS search algorithm and procedure for searching for the motion vector (−4, −2). Each search point is identified by a step number and a point with red colour indicates the minimum search point.
Figure 6. An illustration of an ADS search algorithm and procedure for searching for the motion vector (−4, −2). Each search point is identified by a step number and a point with red colour indicates the minimum search point.
Electronics 11 03736 g006
Figure 7. Sample frames of test video sequences used for simulation of the proposed ADS algorithm and other state-of-the-art and well-known motion estimation algorithms: (a) Foreman, (b) Mobile, (c) Rhinos, (d) Robot boat, (e) Suzie, (f) Akiyo, (g) Cricket, (h) Flower, (i) Kari-Jobe, (j) News Flash.
Figure 7. Sample frames of test video sequences used for simulation of the proposed ADS algorithm and other state-of-the-art and well-known motion estimation algorithms: (a) Foreman, (b) Mobile, (c) Rhinos, (d) Robot boat, (e) Suzie, (f) Akiyo, (g) Cricket, (h) Flower, (i) Kari-Jobe, (j) News Flash.
Electronics 11 03736 g007
Figure 8. Computational cost comparison of the proposed ADS algorithm and other state-of-the-art and well-known motion estimation algorithms in terms of average number of operations per block (ANOB) for various video sequences: (a) Foreman, (b) Mobile, (c) Rhinos, (d) Robot boat, (e) Suzie (f) Akiyo, (g) Cricket, (h) Flower, (i) Kari-Jobe, and (j) News Flash.
Figure 8. Computational cost comparison of the proposed ADS algorithm and other state-of-the-art and well-known motion estimation algorithms in terms of average number of operations per block (ANOB) for various video sequences: (a) Foreman, (b) Mobile, (c) Rhinos, (d) Robot boat, (e) Suzie (f) Akiyo, (g) Cricket, (h) Flower, (i) Kari-Jobe, and (j) News Flash.
Electronics 11 03736 g008aElectronics 11 03736 g008bElectronics 11 03736 g008c
Figure 9. Motion prediction quality comparison of the proposed ADS algorithm and other state-of-the-art and well-known motion estimation algorithms in terms of the peak signal-to-noise ratio (PSNR) for various video sequences: (a) Foreman, (b) Mobile, (c) Rhinos, (d) Robot boat, (e) Suzie, (f) Akiyo, (g) Cricket, (h) Flower, (i) Kari-Jobe, and (j) News Flash.
Figure 9. Motion prediction quality comparison of the proposed ADS algorithm and other state-of-the-art and well-known motion estimation algorithms in terms of the peak signal-to-noise ratio (PSNR) for various video sequences: (a) Foreman, (b) Mobile, (c) Rhinos, (d) Robot boat, (e) Suzie, (f) Akiyo, (g) Cricket, (h) Flower, (i) Kari-Jobe, and (j) News Flash.
Electronics 11 03736 g009aElectronics 11 03736 g009bElectronics 11 03736 g009c
Table 1. The average number of operations per block in each algorithm.
Table 1. The average number of operations per block in each algorithm.
Video SequenceAll Directional Search (ADS)
Proposed
New Three-Step Search (NTSS)
[13]
Diamond Search (DS)
[12]
Hexagon-Based Search (HS)
[14]
Cross-Diamond Search (CDS)
[15]
Cross-Diamond Hexagonal Search (CDHS)
[16]
Star-Diamond Search
(SDS)
[22]
Diamond-Hexagon Search
(DHS)
[23]
Prediction-Biased Diamond Search
(PDS)
[24]
Foreman786217,44914,17912,01511,30810,86410,03292068741
Mobile10,24817,00616,15315,63413,78113,01712,41111,79111,064
Rhinos12,85020,53718,44417,79017,07316,57216,03415,53014,987
Boat13,69721,20120,45819,02518,37517,42616,70516,09315,673
Suzie872315,73213,91212,69411,57110,632990691009020
Akiyo652014,1629813943689148367791873096983
Cricket757216,91313,88512,54510,5809633921988078008
Flower715017,09515,05313,83212,35311,69210,38095599005
Kari Jobe11,16719,99116,42815,28214,82814,02913,63313,03112,796
Rocket720318,24412,34011,66110,94110,064951088658187
Table 2. The degree of motion prediction quality of every algorithm with respect to the full search algorithm.
Table 2. The degree of motion prediction quality of every algorithm with respect to the full search algorithm.
Video SequenceAll Directional Search (ADS)
Proposed
New Three-Step Search (NTSS)
[13]
Diamond Search (DS)
[12]
Hexagon-Based Search (HS)
[14]
Cross-Diamond Search (CDS)
[15]
Cross-Diamond Hexagonal Search (CDHS)
[16]
Star-Diamond Search
(SDS)
[22]
Diamond-Hexagon Search
(DHS)
[23]
Prediction-Biased Diamond Search
(PDS)
[24]
Foreman28.8625.3028.1527.6428.0328.1928.2628.2828.29
Mobile24.2521.7123.5223.3523.8523.8923.9123.9523.99
Rhinos30.2126.0327.6227.3127.8128.4928.6628.7328.75
Boat30.5827.3029.2128.1329.1029.5129.6329.7929.86
Suzie35.8634.4935.0234.7835.1035.1935.3335.5335.64
Akiyo44.1643.8544.1644.1644.1644.1644.1644.1644.16
Cricket35.8830.2633.6632.5933.9534.1334.5534.9634.98
Flower33.6529.2633.0231.1933.1933.3133.4733.5133.55
Kari Jobe44.6839.0543.1542.2143.2143.3043.4543.6843.73
Rocket launch38.9236.2037.5336.6937.6937.8337.9237.9537.96
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

A.V., P.; Darimireddy, N.K.; B., S.; Siripurapu, S. All Directional Search Motion Estimation Algorithm. Electronics 2022, 11, 3736. https://doi.org/10.3390/electronics11223736

AMA Style

A.V. P, Darimireddy NK, B. S, Siripurapu S. All Directional Search Motion Estimation Algorithm. Electronics. 2022; 11(22):3736. https://doi.org/10.3390/electronics11223736

Chicago/Turabian Style

A.V., Paramkusam, Naresh K. Darimireddy, Sridhar B., and Sridhar Siripurapu. 2022. "All Directional Search Motion Estimation Algorithm" Electronics 11, no. 22: 3736. https://doi.org/10.3390/electronics11223736

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop